/* ==========================================================
   MAYTA MOBILIARIO — Web corporativa
   Paleta extraída del manual de marca:
   - Teal profundo  #0E5E5C   (fondo destacado / textos)
   - Teal medio     #1F8480   (paneles producto)
   - Teal mint      #3BB6A8   (acentos / placeholder)
   - Amarillo       #FFC628   (CTA / acentos geométricos)
   - Crema fondo    #F6F1E7
   - Texto oscuro   #0F2E2C
   ========================================================== */

:root {
  --teal-900: #0E3D3B;
  --teal-800: #0E5E5C;
  --teal-700: #178584;
  --teal-600: #20A5A6;   /* brand — matches logo background */
  --teal-500: #3BB6A8;
  --teal-300: #8FD8CE;
  --yellow:   #FFC628;
  --yellow-d: #E5B016;
  --cream:    #F6F1E7;
  --cream-2:  #EFE9D9;
  --ink:      #0F2E2C;
  --ink-soft: #4B6360;
  --line:     #E0D9C6;
  --white:    #ffffff;

  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 60px -28px rgba(14, 62, 60, 0.35);
  --shadow-card: 0 30px 80px -36px rgba(14, 62, 60, 0.55);

  --container: 1240px;
  --gutter: 32px;

  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* clip (not hidden) kills any horizontal overflow without turning the
     root into a scroll container, so the sticky header keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: min(var(--container), 100% - calc(var(--gutter) * 2));
  margin-inline: auto;
}

/* ============================================================
   HEADER  —  flotante con dos paneles teal + acento amarillo
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(246, 241, 231, 0.85) 70%, rgba(246, 241, 231, 0));
  backdrop-filter: blur(8px);
}

.nav-shell {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 105px;
  background: #20A5A6;
}

/* Diagonal seam: light teal (logo) | yellow | white | dark teal (nav)
   matches the brand banner — stripes lean down-to-the-right (~38deg) */
.seam {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.seam-yellow { background: var(--yellow); clip-path: polygon(200px 0%, 211px 0%, 295px 100%, 284px 100%); }
.seam-white  { background: #ffffff;     clip-path: polygon(211px 0%, 241px 0%, 325px 100%, 295px 100%); }
.seam-dark   { background: var(--teal-800); clip-path: polygon(241px 0%, 100% 0%, 100% 100%, 325px 100%); }

.nav-brand {
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 56px 0 30px;
  position: relative;
  z-index: 2;
  height: 105px;
}
.nav-brand .logo {
  height: 58px;
  width: auto;
  display: block;
}

.nav-right {
  flex: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 18px;
  gap: 38px;
  position: relative;
  z-index: 2;
}

/* (legacy seam removed — replaced by .seam layers above) */

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 4px;
  position: relative;
  transition: color .2s;
}
.nav-list a:hover { color: var(--yellow); }

/* Dropdown submenu */
.has-submenu { position: relative; }
.has-submenu > a { display: inline-flex; align-items: center; gap: 6px; }
.has-submenu > a .caret { transition: transform .2s; opacity: .85; }
.has-submenu:hover > a .caret,
.has-submenu:focus-within > a .caret { transform: rotate(180deg); }
.submenu {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, 6px);
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 280px;
  background: var(--teal-900, #0e3a3a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1000;
}
.submenu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.submenu li { list-style: none; }
.submenu a {
  display: block;
  padding: 11px 14px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.submenu a:hover { background: rgba(255,255,255,0.06); color: var(--yellow); }
.nav-list a.active::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.nav-cta {
  background: var(--yellow);
  color: var(--teal-900);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nav-cta:hover {
  background: #FFD24F;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(255, 198, 40, 0.7);
}

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--teal-900);
  align-items: center; justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 198, 40, 0.22);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-600);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; bottom: 6px;
  height: 14px;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.55;
}

.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
}
.btn-primary {
  background: var(--yellow);
  color: var(--teal-900);
  box-shadow: 0 14px 28px -16px rgba(255, 198, 40, 0.75);
}
.btn-primary:hover { background: #FFD24F; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--teal-900);
  border: 1.5px solid var(--teal-900);
}
.btn-ghost:hover { background: var(--teal-900); color: #fff; }
.btn-small {
  padding: 12px 22px;
  font-size: 12.5px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--teal-800);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat .label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* Hero visual — collaged composition with geometric accents */
.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.hero-panel {
  position: absolute;
  inset: 0;
  background: var(--teal-800);
  border-radius: var(--radius-xl);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 78% 100%, 0 100%);
  box-shadow: var(--shadow-card);
}
.hero-panel img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}
.hero-tri-yellow {
  position: absolute;
  left: -34px; top: 36%;
  width: 96px; height: 280px;
  background: var(--yellow);
  transform: skewY(-32deg);
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 20px 40px -22px rgba(255, 198, 40, 0.65);
}
.hero-tri-mint {
  position: absolute;
  right: -28px; bottom: -28px;
  width: 220px; height: 220px;
  background: var(--teal-500);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  border-radius: 14px;
  z-index: 1;
}
.hero-badge {
  position: absolute;
  right: -18px; top: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-badge .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid; place-items: center;
  color: var(--teal-900);
}
.hero-badge .txt {
  font-size: 13px;
  line-height: 1.3;
}
.hero-badge .txt strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--teal-900);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 130px 0 0;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 26px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: 0 18px 40px -32px rgba(14, 62, 60, 0.4);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item .ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid; place-items: center;
  color: var(--teal-700);
  flex-shrink: 0;
}
.trust-item h4 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--teal-900);
  font-weight: 700;
}
.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section {
  padding: 130px 0 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 130px;
}
.section-head .eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
  display: block;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  margin: 0;
  max-width: 720px;
}
.section-head .desc {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* ============================================================
   CATEGORIES — alternating wide cards
   ============================================================ */
.cats { display: grid; gap: 130px; }

.cat {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 72px;
}
.cat--right { grid-template-columns: 1.15fr 1fr; }
.cat--right .cat-text { order: 2; padding-left: 0; }
.cat--right .cat-visual { order: 1; }

.cat-text { padding-right: 0; }
.cat-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--teal-600);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-num::before {
  content: "";
  width: 38px; height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}
.cat-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--teal-800);
  margin: 0 0 18px;
}
.cat-text p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 440px;
  margin: 0 0 26px;
}
.cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.cat-tag {
  background: rgba(59, 182, 168, 0.12);
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.cat-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  background: var(--teal-800);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cat-visual .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* notched corner like the mockup */
  clip-path: polygon(0 0, 100% 0, 100% 78%, 70% 100%, 0 100%);
}
.cat-visual .tri-mint {
  position: absolute;
  left: -10%;
  bottom: -8%;
  width: 65%; height: 75%;
  background: var(--teal-500);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  z-index: 1;
  opacity: 0.95;
}
.cat-visual .tri-yellow {
  position: absolute;
  left: 38%;
  top: -6%;
  width: 18px;
  height: 130%;
  background: var(--yellow);
  transform: rotate(18deg);
  border-radius: 4px;
  z-index: 2;
}
.cat-visual .photo-on-top {
  z-index: 3;
}
.cat-visual .label {
  position: absolute;
  right: 24px; top: 24px;
  background: rgba(255,255,255,0.94);
  color: var(--teal-900);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 4;
}

/* Mirror direction for right-aligned cards */
.cat--right .cat-visual .photo {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 78%);
}
.cat--right .cat-visual .tri-mint {
  left: auto;
  right: -10%;
  clip-path: polygon(100% 100%, 0 100%, 100% 0);
}
.cat--right .cat-visual .tri-yellow {
  left: auto;
  right: 38%;
  transform: rotate(-18deg);
}

/* Product cutouts (transparent PNG) — no teal box, no shadow, no frame.
   The product floats over the cream page; brand accents stay behind it. */
.cat:has(.cat-visual--cutout) { align-items: center; }
/* Colchones is a flat, wide product — give it a shorter box so the row
   hugs the content and the trailing gap before the CTA stays ~160px. */
#cat-colchones .cat-visual--cutout { aspect-ratio: 12 / 7; }
#cat-colchones .cat-visual--cutout .photo { transform: scale(1.06); }
/* Armchair (Mobiliario Mopal) — fixed image height per request, centered vs text. */
#cat-mobiliario .cat-visual--cutout { aspect-ratio: auto; height: 430px; }
.cat-visual--cutout {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
  aspect-ratio: 10 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-visual--cutout .photo,
.cat--right .cat-visual--cutout .photo {
  clip-path: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(1.04);
}
.cat-visual--cutout .tri-mint {
  opacity: 0.7;
  z-index: 1;
}
.cat-visual--cutout .tri-yellow {
  opacity: 0.9;
  z-index: 1;
}

/* ============================================================
   PDF CATALOGUES — 4 equal cards in one row
   ============================================================ */
.pdf-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.pdf-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease;
}
.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.pdf-card-logo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-2);
}
.pdf-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pdf-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 28px;
}
.pdf-card-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 8px;
}
.pdf-card-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--teal-900);
  margin: 0 0 12px;
}
.pdf-card-body p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 0 0 22px;
}
/* Push the button to the bottom so all cards line up. */
.pdf-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta {
  margin: 130px 0 0;
}
.cta-card {
  background: var(--teal-800);
  border-radius: 36px;
  padding: 76px 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-card::before {
  /* yellow divider — runs exactly along the light-teal triangle's diagonal edge */
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%; height: 110%;
  background: var(--yellow);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  transform: translate(-9px, -13px);
  z-index: 0;
}
.cta-card::after {
  /* lighter teal triangle, bottom-right corner */
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%; height: 110%;
  background: var(--teal-700);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 0;
}
.cta-card > * { position: relative; z-index: 2; }

.cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.cta p {
  font-size: 17px;
  margin: 0 0 28px;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
}
.cta-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta .btn-ghost:hover { background: #fff; color: var(--teal-900); border-color: #fff; }

.cta-info {
  display: grid;
  gap: 14px;
}
.cta-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.cta-info-row .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--teal-900);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cta-info-row .lbl {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
}
.cta-info-row .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--cream);
  color: var(--ink-soft);
  /* Extra bottom space so the floating WhatsApp button (position:fixed,
     bottom-right) never overlaps the legal links at full scroll. */
  padding: 130px 0 104px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: start;
}
.footer-brand .logo {
  width: 208px;
  height: auto;
  margin-bottom: 24px;
  display: block;
}
.footer-brand p {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 320px;
  color: var(--ink-soft);
}
.footer h5 {
  font-family: var(--font-display);
  color: var(--teal-900);
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav, .footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
}
.footer-nav a, .footer-links a { transition: color .2s; }
.footer-nav a:hover, .footer-links a:hover { color: var(--teal-700); }

.sede {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.sede .name {
  font-family: var(--font-display);
  color: var(--teal-900);
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sede .name::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.sede .row {
  display: flex; gap: 8px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.sede .row svg { flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-soft);
}
.footer-bottom .legal {
  display: flex; gap: 22px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--teal-800);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s, transform .15s;
}
.socials a:hover { background: var(--yellow); color: var(--teal-900); transform: translateY(-2px); }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px 14px 14px;
  box-shadow: 0 20px 50px -20px rgba(37, 211, 102, 0.7), 0 8px 20px -10px rgba(0,0,0,0.35);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 60px -22px rgba(37, 211, 102, 0.8), 0 12px 24px -12px rgba(0,0,0,0.4);
  color: #fff;
}
.wa-fab .wa-ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  margin-right: 10px;
  flex-shrink: 0;
}
.wa-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .cat, .cat--right { grid-template-columns: 1fr; gap: 40px; }
  .cat--right .cat-text { order: 0; padding: 0; }
  .cat--right .cat-visual { order: 1; }
  .cat-text { padding: 0; }
  .cats { gap: 100px; }
  .pdf-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .section { padding: 100px 0 0; }
  .trust-card { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 56px 36px; }
  /* Stacked cards go full-width — keep the cutout products in proportion. */
  #cat-mobiliario .cat-visual--cutout { height: 380px; }
}
/* ----------------------------------------------------------------
   Tablet & mobile — collapse the bar into a hamburger menu.
   Kicks in at 900px so the 768px tablet uses the compact header
   instead of the cramped, overlapping full nav.
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  body { font-size: 16px; }

  /* Compact header: logo left, burger right, equal side margins. */
  .seam { display: none; }
  .nav-shell {
    height: 64px;
    background: #20A5A6;
    overflow: visible;        /* let the dropdown panel escape the bar */
    align-items: center;
    padding: 0 16px;
  }
  .nav-brand { padding: 0; height: 64px; }
  .nav-brand .logo { height: 38px; }
  .nav-burger {
    display: flex;
    margin-left: auto;        /* push the burger to the right edge */
  }

  /* Full nav is hidden until the burger toggles it open. */
  .nav-right { display: none; }
  .site-header.nav-open .nav-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px;
    background: var(--teal-800);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    z-index: 60;
  }
  .site-header.nav-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }
  .site-header.nav-open .nav-list > li { width: 100%; }
  .site-header.nav-open .nav-list a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .site-header.nav-open .nav-list a:hover { background: rgba(255, 255, 255, 0.07); }
  .site-header.nav-open .nav-list a.active::after { display: none; }
  .site-header.nav-open .has-submenu > a { justify-content: space-between; }

  /* Catálogos submenu — expanded inline inside the panel (no fixed pop-up). */
  .site-header.nav-open .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    margin: 2px 0 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 0;
    box-shadow: none;
  }
  .site-header.nav-open .submenu a {
    white-space: normal;
    padding: 10px 14px;
    font-size: 11.5px;
  }
  .site-header.nav-open .nav-cta {
    display: block;
    text-align: center;
    margin-top: 6px;
    padding: 14px 20px;
  }

  /* Layout */
  .section { padding: 80px 0 0; }
  .cats { gap: 80px; }
  .hero { padding: 48px 0 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .trust-card { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .trust-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 44px 24px; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .wa-fab .wa-label { display: none; }
  .wa-fab { padding: 12px; }
  .wa-fab .wa-ic { margin-right: 0; }

  /* Product cutouts — smaller so they sit nicely on narrow screens. */
  #cat-mobiliario .cat-visual--cutout { height: 320px; }
  #cat-colchones .cat-visual--cutout { aspect-ratio: 12 / 8; }
  .cat-visual--cutout .photo,
  .cat--right .cat-visual--cutout .photo,
  #cat-colchones .cat-visual--cutout .photo { transform: scale(1); }
}

/* Small phones — PDF catalogue cards stack to a single column. */
@media (max-width: 560px) {
  .pdf-cards { grid-template-columns: 1fr; }
}

/* subtle entry — animates on .in class only; default state is visible */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal.in {
  animation: revealUp .7s ease both;
}

/* Hero badge — keep inside rounded panel on narrow stacked layouts */
@media (max-width: 1080px) {
  .hero-badge { right: 12px; top: 16px; }
}

/* ============================================================
   LEGAL PAGES — Aviso legal · Privacidad · Cookies
   ============================================================ */
.legal-section { padding: 56px 0 110px; }
.legal-crumb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 22px;
}
.legal-crumb a { color: var(--ink-soft); transition: color .2s; }
.legal-crumb a:hover { color: var(--teal-700); }
.legal-crumb .sep { opacity: 0.45; }
.legal-head { max-width: 820px; margin-bottom: 48px; }
.legal-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--teal-900);
  margin: 0 0 16px;
}
.legal-head .updated {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--teal-900);
  margin: 48px 0 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--teal-800);
  margin: 28px 0 10px;
}
.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.legal-body ul { margin: 0 0 16px; padding-left: 1.3em; }
.legal-body li { margin-bottom: 8px; }
.legal-body a {
  color: var(--teal-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { color: var(--teal-600); }
.legal-body strong { color: var(--ink); font-weight: 700; }

/* Identification data card */
.legal-data {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 30px;
  margin: 4px 0 16px;
}
.legal-data dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 10px 24px;
  margin: 0;
}
.legal-data dt {
  font-weight: 700;
  color: var(--teal-900);
  font-size: 14.5px;
}
.legal-data dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Cookie / data tables */
.legal-table-wrap { overflow-x: auto; margin: 4px 0 20px; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}
.legal-table th {
  background: var(--cream-2);
  color: var(--teal-900);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.legal-table tr:last-child td { border-bottom: 0; }

@media (max-width: 600px) {
  .legal-data dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal-data dt { margin-top: 10px; }
  .legal-data dd { margin-bottom: 6px; }
}
