/* =========================================================
   Ferretería LANIN — estilos
   Mobile-first. Paleta tomada del afiche "Nuevo horario".
   ========================================================= */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Identidad */
  --yellow: #FFBD17;       /* afiche: #FCBB16 (medido); se mantiene el valor aprobado */
  --yellow-dark: #F0A800;
  --ink: #171717;          /* negro estructural */
  --ink-2: #0F0F0F;
  --white: #FFFFFF;
  --paper: #F5F5F2;        /* gris claro de fondos secundarios */
  --line: #E2E2DC;
  --muted: #55554F;        /* texto secundario sobre claro (contraste AA) */
  --wa: #25D366;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 64px;
  --radius: 6px;
  --gutter: 16px;
  --maxw: 1200px;
  --section-y: clamp(56px, 9vw, 112px);
  --shadow-hard: 6px 6px 0 var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, p, li, dt, dd, address { overflow-wrap: break-word; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 2px; }
section[id] { scroll-margin-top: var(--header-h); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--yellow); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --header-h: 76px; --gutter: 32px; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon, .btn svg { width: 22px; height: 22px; }
.btn--lg { min-height: 56px; padding-inline: 26px; font-size: 1.0625rem; }
.btn--primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--primary:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); }
.btn--ghost { background: rgba(23, 23, 23, .35); color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-2); color: var(--yellow); }


.text-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.text-link:hover { text-decoration-color: var(--ink); }
.text-link .icon { width: 18px; height: 18px; }

/* ---------- Títulos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; background: var(--yellow); }
.section-title {
  font-weight: 800; font-size: clamp(1.875rem, 1.2rem + 3.2vw, 3.25rem); line-height: 1.05;
  text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance;
}
.lead { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: #33332F; max-width: 40ch; }

.section { padding-block: var(--section-y); }
.section--light { background: var(--paper); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- A. Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h); background: var(--ink); color: var(--white);
  border-bottom: 3px solid var(--yellow);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--white); line-height: 1; padding: 4px 0; }
.logo-kicker { font-weight: 800; font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; padding-left: 2px; }
.logo .brand-lanin-trazado { height: 36px; width: auto; color: var(--yellow); margin-top: 3px; }
@media (min-width: 960px) {
  .logo-kicker { font-size: .8125rem; }
  .logo .brand-lanin-trazado { height: 42px; }
}

.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.menu-toggle svg { width: 28px; height: 28px; }
.menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: block; }

.main-nav ul { list-style: none; }
.main-nav a { text-decoration: none; font-weight: 600; }

/* Menú móvil desplegable (solo con JavaScript) */
@media (max-width: 959.98px) {
  .js .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--ink); border-bottom: 3px solid var(--yellow);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .js .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { padding: 8px var(--gutter) 20px; }
  .main-nav a { display: flex; align-items: center; min-height: 54px; font-size: 1.125rem; border-bottom: 1px solid #2C2C2A; }
  .main-nav a:hover, .main-nav a[aria-current="true"]:not(.nav-cta) { color: var(--yellow); }
  .main-nav .nav-cta { margin-top: 16px; justify-content: center; border: 0; border-radius: var(--radius); background: var(--yellow); color: var(--ink); }
  .main-nav .nav-cta:hover { color: var(--ink); background: var(--yellow-dark); }
  /* Sin JS: el menú se muestra abierto debajo del encabezado */
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; }
  html:not(.js) .main-nav a { min-height: 44px; border: 0; font-size: 1rem; }
}
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .main-nav ul { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
  .main-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-size: .9375rem; color: var(--white); }
  .main-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--yellow);
    transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .main-nav a:not(.nav-cta):hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }
  .main-nav .nav-cta { padding: 0 18px; border-radius: var(--radius); background: var(--yellow); color: var(--ink); }
  .main-nav .nav-cta:hover { background: var(--yellow-dark); }
}

/* ---------- B. Portada ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: calc(100svh - var(--header-h)); max-height: 980px;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,23,23,.6) 0%, rgba(23,23,23,.25) 22%, rgba(23,23,23,.72) 42%, rgba(23,23,23,.93) 62%, var(--ink) 100%);
}
.hero-deco { display: none; }
.hero-content { padding-block: 40px 44px; }
.hero-title { display: flex; flex-direction: column; gap: 14px; }
.hero-brand { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.hero-kicker { font-weight: 800; font-size: clamp(.875rem, .8rem + .6vw, 1.25rem); letter-spacing: .34em; text-transform: uppercase; padding-left: 3px; }
.hero-brand .brand-lanin-trazado { height: clamp(81px, 16.6vw, 133px); width: auto; color: var(--yellow); margin-top: 2px; filter: drop-shadow(0 2px 12px rgba(0,0,0,.35)); }
.hero-claim {
  display: block; max-width: 17ch; font-weight: 800; line-height: 1.04; letter-spacing: -.015em;
  font-size: clamp(2rem, 1.2rem + 4vw, 3.75rem); text-wrap: balance;
}
.hero-sub { margin-top: 16px; max-width: 38ch; font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); color: #ECECE8; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.hero-address { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .9375rem; color: #D9D9D4; }
.hero-address .icon { color: var(--yellow); }

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 960px) {
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 42%);
    align-items: center; min-height: min(calc(100svh - var(--header-h)), 860px);
  }
  .hero-media {
    position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; align-self: stretch;
    border-left: 8px solid var(--yellow);
  }
  .hero-media::after { background: linear-gradient(90deg, rgba(23,23,23,.25), transparent 30%); }
  .hero-img { position: absolute; inset: 0; object-position: 80% 46%; }
  .hero-content {
    grid-column: 1; grid-row: 1; max-width: 700px; position: relative; z-index: 1;
    margin-left: max(0px, calc((100vw - var(--maxw)) / 2)); padding-block: 64px; padding-right: 48px;
  }
  .hero-deco { display: block; position: absolute; inset: 0 42% 0 0; z-index: 0; color: var(--yellow); opacity: .1; pointer-events: none; }
  .hero-deco svg { position: absolute; }
  .hero-deco .brand-serrucho { width: 200px; right: 6%; top: -20px; transform: rotate(8deg); }
  .hero-deco .brand-taladro { width: 210px; right: 2%; bottom: 12%; }
  .hero-deco .brand-martillo { width: 150px; left: -36px; bottom: -40px; }
}

/* ---------- C. Nuestra ferretería + carrusel ---------- */
.about { display: grid; gap: 40px; }
.about > * { min-width: 0; }
.about-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.about-tags li { padding: 6px 12px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px; }
@media (min-width: 960px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 72px; }
}

.carousel { width: 100%; max-width: 560px; justify-self: center; }
@media (min-width: 960px) { .carousel { justify-self: end; } }
.carousel-frame {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--yellow);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.carousel-track { list-style: none; position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.slide-img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.carousel-arrow {
  position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--yellow); color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: background-color .2s;
}
.carousel-arrow:hover { background: var(--white); }
.carousel-arrow svg { width: 26px; height: 26px; }
.carousel-arrow--prev { left: 10px; }
.carousel-arrow--next { right: 10px; }
.carousel-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.carousel-dots { display: flex; gap: 2px; }
.dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot::before { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 6px; translate: 0 -50%; border-radius: 3px; background: #BDBDB6; transition: background-color .25s; }
.dot:hover::before { background: var(--muted); }
.dot[aria-current="true"]::before { background: var(--ink); }
.carousel-pause { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); cursor: pointer; }
.pause-icon { width: 12px; height: 14px; border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
.carousel.is-paused .pause-icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); margin-left: 3px; }

/* Sin JS: las fotos se recorren deslizando */
html:not(.js) .carousel-frame { aspect-ratio: auto; }
html:not(.js) .carousel-track { position: static; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .slide { position: relative; flex: 0 0 100%; aspect-ratio: 3 / 4; opacity: 1; visibility: visible; scroll-snap-align: start; }
html:not(.js) .carousel-arrow, html:not(.js) .carousel-bar { display: none; }

/* ---------- D. Productos ---------- */
.cats { list-style: none; display: grid; gap: 14px; }
.cat {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  background: var(--white); border: 2px solid var(--ink); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.cat:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--yellow); }
.cat-icon { display: grid; place-items: center; flex: none; width: 60px; height: 60px; background: var(--yellow); border-radius: 4px; color: var(--ink); }
.cat-icon svg { width: 32px; height: 32px; stroke-width: 1.75; }
.cat-name { font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; }
.cats-note { margin-top: 32px; font-size: 1.0625rem; }

@media (min-width: 480px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { flex-direction: column; justify-content: center; text-align: center; gap: 18px; padding: 28px 16px; }
  .cat:last-child { grid-column: 1 / -1; }
  .cat-icon { width: 76px; height: 76px; }
  .cat-icon svg { width: 40px; height: 40px; }
}
@media (min-width: 720px) {
  .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .cat { grid-column: span 2; }
  .cat:nth-child(4) { grid-column: 2 / span 2; }
  .cat:last-child { grid-column: 4 / span 2; }
}
@media (min-width: 1024px) {
  .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cat, .cat:nth-child(4), .cat:last-child { grid-column: auto; }
  .cat { padding: 36px 12px; aspect-ratio: 1 / 1.05; }
  .cat-icon { width: 88px; height: 88px; }
  .cat-icon svg { width: 46px; height: 46px; }
  .cat-name { font-size: clamp(1rem, .7rem + .5vw, 1.1875rem); }
}

/* ---------- E. Horarios ---------- */
.hours { position: relative; isolation: isolate; overflow: hidden; background: var(--yellow); }
.hours-deco { position: absolute; inset: 0; z-index: -1; color: var(--ink); pointer-events: none; }
.hours-deco svg { position: absolute; height: auto; }
.hours-deco .brand-llave-destornillador { width: 60px; right: -6px; top: 10px; }
.hours-deco .brand-mano-llave { width: 58px; left: -14px; top: 12px; }
.hours-deco .brand-cinta-metrica { display: none; }
.hours-deco .brand-clavos { width: 64px; left: 10px; bottom: -14px; }
.hours-deco .brand-pincel { display: none; }
.hours-deco .brand-lata { width: 76px; right: -8px; bottom: -18px; }
.hours-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hours-title {
  position: relative; max-width: 11ch; padding-bottom: 18px; margin: 48px 0 44px;
  font-weight: 800; font-size: clamp(2.125rem, 1.2rem + 4.6vw, 4.5rem); line-height: .98; text-transform: uppercase; letter-spacing: -.02em;
}
.hours-title::after { content: ""; position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: min(100%, 440px); height: 6px; background: var(--ink); }

.hours-card {
  position: relative; isolation: isolate; width: 100%; max-width: 520px;
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px);
  background: var(--ink); color: var(--white); margin-bottom: 40px;
}
/* Marco "regla" inspirado en el recuadro del afiche */
.hours-card::before {
  content: ""; position: absolute; inset: -12px; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 46px) top / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 46px) bottom / 100% 12px no-repeat,
    repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 46px) left / 12px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 46px) right / 12px 100% no-repeat;
}
.hours-clock { display: inline-grid; place-items: center; color: var(--yellow); margin-bottom: 20px; }
.hours-clock svg { width: 64px; height: 64px; stroke-width: 2.4; }
.hours-list { margin: 0; display: grid; gap: 30px; }
.hours-row dt { font-weight: 800; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 4px; }
.hours-row dd { margin: 0; font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.625rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.hours-row + .hours-row { padding-top: 30px; border-top: 2px solid rgba(255, 189, 23, .45); }

@media (min-width: 720px) {
  .hours-deco .brand-llave-destornillador { width: 120px; right: 4%; top: 32px; }
  .hours-deco .brand-mano-llave { width: 110px; left: 2%; top: 40px; }
  .hours-deco .brand-cinta-metrica { display: block; width: 104px; right: -14px; top: 44%; }
  .hours-deco .brand-clavos { width: 100px; left: 5%; bottom: -16px; }
  .hours-deco .brand-lata { width: 120px; right: 4%; bottom: -24px; }
}
@media (min-width: 1100px) {
  .hours-deco .brand-llave-destornillador { width: 150px; right: 10%; top: 48px; }
  .hours-deco .brand-mano-llave { width: 150px; left: 8%; top: 64px; }
  .hours-deco .brand-cinta-metrica { width: 140px; right: 3%; top: 40%; }
  .hours-deco .brand-clavos { width: 130px; left: 10%; bottom: -20px; }
  .hours-deco .brand-pincel { display: block; width: 130px; left: 2%; top: 42%; }
  .hours-deco .brand-lata { width: 160px; right: 12%; bottom: -30px; }
}

/* ---------- F. Ubicación ---------- */
.location { display: grid; gap: 40px; }
.address { margin-top: 24px; font-size: 1.1875rem; line-height: 1.6; padding-left: 18px; border-left: 5px solid var(--yellow); }
.address strong { font-weight: 800; }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.map {
  position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--yellow);
  background: #E8E8E2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d6d6cf' stroke-width='1'/%3E%3C/svg%3E");
}
.map::before { content: "Cargando mapa…"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.map iframe { position: relative; width: 100%; height: 100%; border: 0; }
/* Al entrar con Tab al mapa, el foco pasa al documento de Google (otro origen) y ninguna
   pseudoclase de foco se aplica al iframe: main.js agrega .has-focus para marcar el mapa. */
.map:focus-within, .map.has-focus { outline: 3px solid var(--ink); outline-offset: 4px; }
.map-fallback { margin-top: 18px; font-size: .9375rem; color: var(--muted); }
@media (min-width: 960px) {
  .location { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 72px; }
  .map { aspect-ratio: 16 / 11; }
}

/* ---------- G. Contacto ---------- */
.contact-card {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px);
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 10px; box-shadow: var(--shadow-hard);
}
.contact-deco { position: absolute; z-index: -1; right: -24px; top: -20px; width: 120px; color: var(--ink); opacity: .14; }
.contact-title { font-weight: 800; font-size: clamp(1.875rem, 1.2rem + 3.2vw, 3.25rem); line-height: 1.05; text-transform: uppercase; text-wrap: balance; }
.contact-text { margin: 16px auto 32px; max-width: 34ch; font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); }
@media (min-width: 1100px) { .contact-deco { width: 220px; right: 3%; top: 50%; translate: 0 -50%; opacity: .16; } }

/* ---------- H. Pie ---------- */
.site-footer { background: var(--ink-2); color: #D8D8D3; padding-top: 56px; padding-bottom: 96px; border-top: 6px solid var(--yellow); }
.footer-grid { display: grid; gap: 36px; }
.logo--footer { margin-bottom: 16px; }
.logo--footer .brand-lanin-trazado { height: 50px; }
.footer-title { margin-bottom: 12px; font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.footer-list { list-style: none; display: grid; gap: 4px; margin-bottom: 6px; }
.footer-list strong { color: var(--white); font-weight: 600; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; color: #D8D8D3; text-decoration: underline; text-decoration-color: rgba(255,189,23,.6); text-underline-offset: 4px; }
.footer-link:hover { color: var(--yellow); }
.footer-bottom { padding-right: 84px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #2A2A28; font-size: .875rem; color: #A9A9A3; }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 60px; height: 60px; padding: 0;
  border: 3px solid var(--white); border-radius: 50%; cursor: pointer; text-decoration: none;
  background: var(--wa); color: var(--white); box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  transition: transform .2s, opacity .2s, visibility .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.menu-open .wa-float { opacity: 0; visibility: hidden; }

/* ---------- Animaciones discretas ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cat:hover { transform: none; }
}

@media print {
  .site-header, .wa-float, .carousel-arrow, .carousel-bar, .map { display: none !important; }
}
