/* =====================================================================
   JARDINERÍA LAS BUGAMBILIAS — style.css
   Diseño: Scrapbook/Collage 60% · Kinetic Typography 30% · Arcade 10%
   Fuentes: Public Sans + Bitter + Press Start 2P (Google Fonts, OFL)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Bitter:ital,wght@0,300..900;1,300..900&family=Press+Start+2P&display=swap');

/* ─── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --c-primary:    hsl(122,68%,42%);
  --c-secondary:  hsl(222,55%,36%);
  --c-accent:     hsl(18,80%,58%);
  --c-bg:         hsl(122,18%,8%);
  --c-text:       hsl(0,0%,96%);
  --c-bugambilia: hsl(330,78%,62%);
  --c-paper:      hsl(45,28%,90%);
  --c-paper-dark: hsl(45,22%,78%);
  --c-tape:       hsla(48,80%,75%,0.72);
  --c-tape2:      hsla(122,55%,60%,0.55);

  --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body:    'Public Sans', system-ui, -apple-system, sans-serif;
  --font-pixel:   'Press Start 2P', monospace;

  --sidebar-w:  268px;
  --gap:        1.5rem;
  --r:          4px;
  --shadow-photo: 5px 8px 24px hsla(0,0%,0%,.55);
  --shadow-card:  3px 4px 14px hsla(0,0%,0%,.4);
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-bugambilia); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); line-height: 1.2; }

/* ─── SIDEBAR ────────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: hsl(122,22%,5%);
  border-right: 2px solid var(--c-primary);
  display: flex;
  flex-direction: column;
  z-index: 900;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-primary) transparent;
  transition: transform .3s ease;
}
.sidebar-logo {
  padding: 1.5rem 1.2rem 1rem;
  border-bottom: 1px solid hsl(122,30%,18%);
}
.sidebar-logo img, .sidebar-logo svg { width: 140px; height: auto; }
.sidebar-logo .biz-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-top: .5rem;
  line-height: 1.3;
}
.sidebar-nav { flex: 1; padding: 1rem 0; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.2rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-text);
  border-left: 3px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.sidebar-nav a:hover,
.sidebar-nav a[aria-current="page"] {
  background: hsla(122,68%,42%,.12);
  border-left-color: var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
}
.sidebar-nav .nav-icon { width: 18px; flex-shrink: 0; opacity: .75; }
.sidebar-nav .nav-section {
  font-size: .65rem;
  font-family: var(--font-pixel);
  color: var(--c-primary);
  padding: 1rem 1.2rem .3rem;
  opacity: .7;
  letter-spacing: .05em;
}
.sidebar-contact {
  padding: 1rem 1.2rem;
  border-top: 1px solid hsl(122,30%,18%);
  font-size: .78rem;
  color: hsl(0,0%,70%);
  line-height: 1.7;
}
.sidebar-contact a { color: var(--c-primary); font-size: .78rem; }
.sidebar-contact strong { color: var(--c-text); display: block; margin-bottom: .25rem; }

/* ─── HAMBURGER ──────────────────────────────────────────────────── */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 1001;
  width: 44px; height: 44px;
  background: var(--c-bg);
  border: 2px solid var(--c-primary);
  border-radius: var(--r);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
}
.hamburger-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: hsla(0,0%,0%,.55);
  z-index: 850;
}
.sidebar-overlay.active { display: block; }

/* ─── MAIN CONTENT ───────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
}

/* ─── GLOBAL SEARCH BAR ──────────────────────────────────────────── */
.global-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: hsl(122,18%,11%);
  border-bottom: 1px solid hsl(122,25%,16%);
  position: sticky; top: 0; z-index: 100;
}
.global-search input {
  flex: 1; max-width: 380px;
  background: hsl(122,15%,15%);
  border: 1px solid hsl(122,30%,22%);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: .88rem;
  padding: .5rem .9rem;
  border-radius: 999px;
  outline: none;
  transition: border-color .2s;
}
.global-search input:focus { border-color: var(--c-primary); }
.global-search input::placeholder { color: hsl(0,0%,55%); }
.global-search-btn {
  background: var(--c-primary);
  color: hsl(122,15%,10%);
  font-weight: 700;
  font-size: .8rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  transition: background .2s;
}
.global-search-btn:hover { background: hsl(122,68%,52%); }

/* ─── TYPOGRAPHY / KINETIC ───────────────────────────────────────── */
.kinetic-hero {
  position: relative;
  padding: 3rem 2rem 2rem;
  overflow: hidden;
}
.kinetic-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.02em;
  color: var(--c-text);
}
.kinetic-tagline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(-2deg);
  animation: wordReveal .6s ease forwards;
}
.kinetic-tagline .word:nth-child(2) { animation-delay: .15s; }
.kinetic-tagline .word:nth-child(3) { animation-delay: .30s; }
.kinetic-tagline .word:nth-child(4) { animation-delay: .45s; }
.kinetic-tagline .word:nth-child(5) { animation-delay: .60s; }
.kinetic-tagline .word.green { color: var(--c-primary); }
.kinetic-tagline .word.pink  { color: var(--c-bugambilia); }
.kinetic-tagline .word.orange{ color: var(--c-accent); }

@keyframes wordReveal {
  to { opacity: 1; transform: none; }
}

.kinetic-sub {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: hsl(0,0%,75%);
  margin-top: 1rem;
  max-width: 540px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp .7s .7s ease forwards;
}
.kinetic-cta {
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeUp .6s 1s ease forwards;
}
@keyframes fadeUp {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: none; }
}

.marquee-strip {
  background: var(--c-primary);
  color: hsl(122,15%,8%);
  padding: .6rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-pixel);
  font-size: .65rem;
  letter-spacing: .08em;
}
.marquee-inner {
  display: inline-block;
  animation: marqueeScroll 28s linear infinite;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-sep { margin: 0 1.5rem; color: var(--c-bugambilia); }

/* ─── SCRAPBOOK COMPONENTS ───────────────────────────────────────── */
.scrap-section {
  position: relative;
  padding: 3rem 2rem;
}
.scrap-card {
  background: var(--c-paper);
  color: hsl(122,15%,12%);
  border-radius: 3px;
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-photo);
  position: relative;
}
.scrap-card.rotate-neg { transform: rotate(-1.2deg); }
.scrap-card.rotate-pos { transform: rotate(0.9deg); }
.scrap-card.rotate-neg2 { transform: rotate(-2.1deg); }
.scrap-card.rotate-pos2 { transform: rotate(1.6deg); }

/* Tape strips */
.tape-h {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 22px;
  background: var(--c-tape);
  border-radius: 2px;
  box-shadow: inset 0 1px 3px hsla(0,0%,0%,.15);
  opacity: .85;
}
.tape-h.green { background: var(--c-tape2); }
.tape-h.pink  { background: hsla(330,70%,70%,.6); }
.tape-corner-tl {
  position: absolute;
  top: -8px; left: 8px;
  width: 36px; height: 18px;
  background: var(--c-tape);
  transform: rotate(-30deg);
  border-radius: 2px;
  opacity: .8;
}
.tape-corner-tr {
  position: absolute;
  top: -8px; right: 8px;
  width: 36px; height: 18px;
  background: var(--c-tape);
  transform: rotate(30deg);
  border-radius: 2px;
  opacity: .8;
}

/* Photo frames */
.photo-frame {
  background: white;
  padding: 8px 8px 32px;
  box-shadow: var(--shadow-photo);
  display: inline-block;
  position: relative;
}
.photo-frame img, .photo-frame svg { display: block; }
.photo-frame .caption {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .7rem;
  color: hsl(0,0%,40%);
}

.sticky-note {
  background: hsl(60,95%,88%);
  color: hsl(0,0%,20%);
  padding: 1rem 1rem 1.5rem;
  border-radius: 2px;
  box-shadow: 3px 5px 14px hsla(0,0%,0%,.3);
  font-family: var(--font-display);
  font-style: italic;
  position: relative;
}
.sticky-note::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: hsl(48,80%,65%);
  border-radius: 2px 2px 0 0;
}
.sticky-note.green { background: hsl(122,55%,87%); }
.sticky-note.green::before { background: var(--c-primary); }
.sticky-note.pink { background: hsl(330,65%,90%); }
.sticky-note.pink::before { background: var(--c-bugambilia); }

/* Torn-top edge */
.torn-top {
  position: relative;
}
.torn-top::before {
  content: '';
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
  background: var(--c-paper);
  clip-path: polygon(0% 100%,2% 20%,5% 85%,8% 10%,11% 70%,14% 0%,17% 80%,20% 15%,23% 90%,26% 5%,29% 75%,32% 20%,35% 85%,38% 0%,41% 70%,44% 30%,47% 90%,50% 10%,53% 80%,56% 0%,59% 75%,62% 20%,65% 90%,68% 5%,71% 65%,74% 15%,77% 85%,80% 0%,83% 70%,86% 25%,89% 80%,92% 10%,95% 75%,98% 20%,100% 100%);
}

/* Grid scrapbook layout */
.scrap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem 2rem;
  align-items: start;
}
.scrap-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.scrap-editorial {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

/* ─── SECTION HEADINGS ───────────────────────────────────────────── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.section-heading::after {
  content: '';
  display: block;
  width: 55%;
  height: 4px;
  background: var(--c-primary);
  margin-top: .4rem;
  border-radius: 2px;
}
.section-heading.center { display: block; text-align: center; }
.section-heading.center::after { margin: .4rem auto 0; }

/* ─── ARCADE STYLE ELEMENTS ──────────────────────────────────────── */
.arcade-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: .55rem;
  background: hsl(0,0%,5%);
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
  padding: .35rem .6rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-shadow: 0 0 8px var(--c-accent);
  box-shadow: 0 0 8px hsla(18,80%,58%,.35), inset 0 0 6px hsla(18,80%,58%,.1);
}
.arcade-badge.green {
  color: var(--c-primary);
  border-color: var(--c-primary);
  text-shadow: 0 0 8px var(--c-primary);
  box-shadow: 0 0 8px hsla(122,68%,42%,.35), inset 0 0 6px hsla(122,68%,42%,.1);
}
.arcade-badge.pink {
  color: var(--c-bugambilia);
  border-color: var(--c-bugambilia);
  text-shadow: 0 0 8px var(--c-bugambilia);
  box-shadow: 0 0 8px hsla(330,78%,62%,.35);
}

.neon-price {
  font-family: var(--font-pixel);
  font-size: .85rem;
  color: var(--c-primary);
  text-shadow: 0 0 10px var(--c-primary), 0 0 20px hsla(122,68%,42%,.5);
  letter-spacing: .04em;
}

.blink {
  animation: blinkAnim 1.1s step-end infinite;
}
@keyframes blinkAnim { 50% { opacity: 0; } }

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.5rem;
  border-radius: var(--r);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--c-primary);
  color: hsl(122,15%,8%);
  box-shadow: 0 4px 16px hsla(122,68%,42%,.35);
}
.btn-primary:hover { background: hsl(122,68%,52%); color: hsl(122,15%,8%); box-shadow: 0 6px 22px hsla(122,68%,42%,.45); }
.btn-secondary {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn-secondary:hover { background: hsla(122,68%,42%,.12); color: var(--c-primary); }
.btn-wa {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 16px hsla(134,61%,41%,.4);
}
.btn-wa:hover { background: #1ebe5a; color: white; }
.btn-accent {
  background: var(--c-accent);
  color: white;
  box-shadow: 0 4px 16px hsla(18,80%,58%,.35);
}
.btn-accent:hover { background: hsl(18,80%,48%); color: white; }

/* ─── PRODUCT / SERVICE CARDS ────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: hsl(122,18%,12%);
  border: 1px solid hsl(122,25%,18%);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px hsla(0,0%,0%,.4); }
.product-card__img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  background: hsl(122,20%,16%);
}
.product-card__body { padding: 1rem; }
.product-card__cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-primary);
  margin-bottom: .35rem;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.product-card__price {
  font-family: var(--font-pixel);
  font-size: .78rem;
  color: var(--c-primary);
  text-shadow: 0 0 8px hsla(122,68%,42%,.5);
}
.product-card__desc { font-size: .82rem; color: hsl(0,0%,70%); margin-top: .4rem; line-height: 1.5; }

/* ─── CATALOG CONTROLS ───────────────────────────────────────────── */
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  padding: 1.5rem 2rem 1rem;
}
.catalog-search {
  flex: 1; min-width: 200px; max-width: 340px;
  background: hsl(122,15%,14%);
  border: 1px solid hsl(122,30%,22%);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: .88rem;
  padding: .55rem 1rem;
  border-radius: var(--r);
  outline: none;
}
.catalog-search:focus { border-color: var(--c-primary); }
.filter-btn {
  padding: .45rem .9rem;
  border-radius: var(--r);
  font-size: .8rem;
  font-weight: 600;
  background: hsl(122,18%,14%);
  color: hsl(0,0%,75%);
  border: 1px solid hsl(122,25%,20%);
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--c-primary);
  color: hsl(122,15%,8%);
  border-color: var(--c-primary);
}
.sort-select {
  background: hsl(122,15%,14%);
  border: 1px solid hsl(122,30%,22%);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: .82rem;
  padding: .45rem .75rem;
  border-radius: var(--r);
  cursor: pointer;
  outline: none;
}

/* ─── BLOG ───────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}
.blog-card {
  background: hsl(122,18%,11%);
  border: 1px solid hsl(122,25%,18%);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px hsla(0,0%,0%,.4); }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: hsl(122,20%,16%); }
.blog-card__body { padding: 1.2rem; }
.blog-card__meta { font-size: .75rem; color: hsl(0,0%,55%); margin-bottom: .5rem; }
.blog-card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; color: var(--c-text); }
.blog-card__excerpt { font-size: .85rem; color: hsl(0,0%,70%); line-height: 1.6; }
.blog-card__link { display: inline-block; margin-top: .75rem; font-size: .82rem; font-weight: 700; color: var(--c-primary); }

/* ─── GALLERY ────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  padding: 2rem;
}
.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background: hsl(122,20%,14%);
  position: relative;
}
.gallery-item img, .gallery-item svg {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img, .gallery-item:hover svg { transform: scale(1.06); }
.gallery-item__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, hsla(0,0%,0%,.75));
  color: white;
  padding: .5rem .75rem;
  font-size: .8rem;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover .gallery-item__caption { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: hsla(0,0%,0%,.92);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 4px; box-shadow: 0 0 40px hsla(0,0%,0%,.8); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 2.2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { color: var(--c-bugambilia); }

/* ─── ACCORDION FAQ ──────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid hsl(122,25%,18%); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .2s;
}
.faq-question:hover { color: var(--c-primary); }
.faq-question svg { flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { padding: 0 1rem 1.2rem; font-size: .9rem; color: hsl(0,0%,78%); line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ─── TABLE ──────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th {
  background: hsl(122,25%,14%);
  color: var(--c-primary);
  font-weight: 700;
  text-align: left;
  padding: .75rem 1rem;
  font-family: var(--font-display);
}
.data-table td { padding: .65rem 1rem; border-bottom: 1px solid hsl(122,20%,16%); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: hsla(122,30%,42%,.07); }

/* ─── FORMS ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: hsl(0,0%,82%); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: hsl(122,15%,13%);
  border: 1px solid hsl(122,25%,22%);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .65rem .9rem;
  border-radius: var(--r);
  outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--c-primary); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: .78rem; color: hsl(0,75%,65%); margin-top: .25rem; display: none; }
.form-input.invalid + .form-error, .form-textarea.invalid + .form-error { display: block; }
.form-input.invalid, .form-textarea.invalid { border-color: hsl(0,75%,65%); }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  background: hsl(122,22%,5%);
  border-top: 2px solid var(--c-primary);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--c-primary);
  margin-bottom: .75rem;
  font-weight: 700;
}
.footer-col p, .footer-col address { font-size: .83rem; color: hsl(0,0%,66%); line-height: 1.7; font-style: normal; }
.footer-col a { color: hsl(0,0%,66%); font-size: .83rem; }
.footer-col a:hover { color: var(--c-primary); }
.footer-col ul li + li { margin-top: .3rem; }

/* Social icons */
.social-group { margin-top: 1rem; }
.social-group h5 { font-size: .7rem; color: hsl(0,0%,50%); margin-bottom: .6rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.social-links { display: flex; gap: .75rem; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: hsl(122,18%,12%);
  border: 1px solid hsl(122,25%,20%);
  color: hsl(0,0%,75%);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social-link:hover { transform: translateY(-3px); text-decoration: none; }
.social-link.fb:hover  { background: #1877f2; border-color: #1877f2; color: white; }
.social-link.ig:hover  { background: #e1306c; border-color: #e1306c; color: white; }
.social-link.tt:hover  { background: #010101; border-color: #69c9d0; color: #69c9d0; }

.footer-bottom {
  border-top: 1px solid hsl(122,25%,14%);
  padding-top: 1.2rem;
  font-size: .77rem;
  color: hsl(0,0%,50%);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom a { color: hsl(0,0%,55%); }
.footer-bottom a:hover { color: var(--c-primary); }

/* ─── FLOATING BUTTONS ───────────────────────────────────────────── */
.float-wa, .float-tel {
  position: fixed;
  z-index: 800;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px hsla(0,0%,0%,.4);
  transition: transform .2s, box-shadow .2s;
  color: white;
}
.float-wa:hover, .float-tel:hover { transform: scale(1.1); text-decoration: none; }
.float-wa { background: #25D366; bottom: 5.5rem; right: 1.5rem; }
.float-wa:hover { background: #1da851; color: white; }
.float-tel { background: var(--c-secondary); bottom: 9.5rem; right: 1.5rem; }
.float-tel:hover { background: hsl(222,55%,46%); color: white; }
.float-wa svg, .float-tel svg { width: 24px; height: 24px; }

/* ─── COOKIE BANNER ──────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: var(--sidebar-w); right: 0;
  background: hsl(122,22%,10%);
  border-top: 2px solid var(--c-primary);
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  z-index: 700;
  font-size: .82rem;
}
.cookie-banner.hidden { display: none; }
.cookie-banner p { flex: 1; min-width: 200px; color: hsl(0,0%,78%); }
.cookie-banner a { color: var(--c-primary); }
.cookie-actions { display: flex; gap: .5rem; }
.cookie-btn {
  padding: .45rem .9rem;
  border-radius: var(--r);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background .2s;
}
.cookie-accept { background: var(--c-primary); color: hsl(122,15%,8%); }
.cookie-accept:hover { background: hsl(122,68%,52%); }
.cookie-reject { background: hsl(122,18%,20%); color: var(--c-text); }
.cookie-reject:hover { background: hsl(122,18%,26%); }

/* ─── CHATBOT ────────────────────────────────────────────────────── */
.chatbot-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 800;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--c-secondary);
  color: white;
  box-shadow: 0 4px 18px hsla(0,0%,0%,.4);
  display: flex; align-items: center; justify-content: center;
  border: none;
  transition: transform .2s, background .2s;
}
.chatbot-btn:hover { transform: scale(1.1); background: hsl(222,55%,46%); }
.chatbot-btn svg { width: 24px; height: 24px; }

.chatbot-panel {
  position: fixed;
  bottom: 6.5rem; right: 1.5rem;
  z-index: 800;
  width: 300px;
  background: hsl(122,18%,10%);
  border: 1px solid hsl(122,30%,22%);
  border-radius: 10px;
  box-shadow: 0 8px 32px hsla(0,0%,0%,.5);
  overflow: hidden;
}
.chatbot-panel[hidden] { display: none; }
.chatbot-header {
  background: var(--c-secondary);
  color: white;
  padding: .8rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-close { background: none; border: none; color: white; font-size: 1.1rem; cursor: pointer; line-height: 1; }
.chatbot-body { padding: 1rem; }
.chatbot-msg {
  background: hsl(122,18%,14%);
  border-radius: 8px;
  padding: .65rem .85rem;
  font-size: .83rem;
  color: hsl(0,0%,80%);
  margin-bottom: .75rem;
  line-height: 1.5;
}
.chatbot-faqs { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.chatbot-faq-btn {
  background: hsl(122,18%,16%);
  border: 1px solid hsl(122,25%,22%);
  color: var(--c-text);
  font-size: .78rem;
  text-align: left;
  padding: .5rem .75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.chatbot-faq-btn:hover { background: hsla(122,68%,42%,.15); border-color: var(--c-primary); }
.chatbot-wa-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: #25D366;
  color: white;
  padding: .6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: .83rem;
  text-decoration: none;
  transition: background .2s;
}
.chatbot-wa-link:hover { background: #1da851; color: white; text-decoration: none; }
.chatbot-answer { font-size: .8rem; color: hsl(0,0%,75%); margin-bottom: .6rem; padding: .5rem; background: hsl(122,20%,15%); border-radius: 6px; line-height: 1.55; display: none; }

/* ─── PAGE SECTIONS ──────────────────────────────────────────────── */
.page-hero {
  padding: 2.5rem 2rem 1.5rem;
  background: hsl(122,20%,10%);
  border-bottom: 1px solid hsl(122,25%,16%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.page-hero .sub { font-size: 1rem; color: hsl(0,0%,72%); max-width: 520px; line-height: 1.6; }
.content-section { padding: 2.5rem 2rem; }
.content-section + .content-section { border-top: 1px solid hsl(122,20%,14%); }

.info-box {
  background: hsl(122,18%,12%);
  border: 1px solid hsl(122,25%,20%);
  border-left: 4px solid var(--c-primary);
  border-radius: 0 4px 4px 0;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
  font-size: .88rem;
  color: hsl(0,0%,80%);
  line-height: 1.7;
}
.info-box.accent { border-left-color: var(--c-accent); }
.info-box.pink { border-left-color: var(--c-bugambilia); }

.highlight-strip {
  background: linear-gradient(135deg, hsla(122,68%,42%,.15), hsla(330,78%,62%,.08));
  border: 1px solid hsla(122,68%,42%,.25);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

/* ─── MAP EMBED ──────────────────────────────────────────────────── */
.map-wrap { border-radius: 6px; overflow: hidden; border: 2px solid hsl(122,25%,20%); }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: none; }

/* ─── LEGAL PAGES ────────────────────────────────────────────────── */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.2rem; color: var(--c-primary); margin: 1.5rem 0 .6rem; }
.legal-content h3 { font-size: 1rem; color: var(--c-text); margin: 1.2rem 0 .4rem; }
.legal-content p { font-size: .9rem; color: hsl(0,0%,75%); line-height: 1.75; margin-bottom: .8rem; }
.legal-content ul { margin: .5rem 0 .8rem 1.2rem; list-style: disc; }
.legal-content ul li { font-size: .9rem; color: hsl(0,0%,75%); margin-bottom: .3rem; line-height: 1.6; }

/* ─── 404 PAGE ───────────────────────────────────────────────────── */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
}
.error-page .big-num {
  font-family: var(--font-pixel);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--c-primary);
  text-shadow: 0 0 20px hsla(122,68%,42%,.6);
  line-height: 1;
  display: block;
}
.error-page h2 { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.error-page p { color: hsl(0,0%,65%); margin-bottom: 2rem; }

/* ─── UTILITY CLASSES ────────────────────────────────────────────── */
.text-primary  { color: var(--c-primary); }
.text-accent   { color: var(--c-accent); }
.text-pink     { color: var(--c-bugambilia); }
.text-muted    { color: hsl(0,0%,60%); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .hamburger-btn { display: flex; }
  .cookie-banner { left: 0; }
  .scrap-grid-3 { grid-template-columns: 1fr 1fr; }
  .scrap-editorial { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kinetic-hero { padding: 2rem 1.2rem; }
  .content-section { padding: 1.8rem 1.2rem; }
  .scrap-grid-3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .catalog-controls { padding: 1rem 1.2rem; }
  .blog-grid { padding: 1.2rem; }
  .gallery-grid { padding: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .global-search { padding: .5rem 1rem; }
  .page-hero { padding: 1.5rem 1.2rem; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .marquee-inner { animation: none; }
}
