/* =========================================================
   Cerrajeros Lloret de Mar — Sistema de diseño
   Rediseño editorial cálido: "latón + tinta + papel"
   Tipografía: Fraunces (display) + Hanken Grotesk (texto/UI)
   (Se conservan TODOS los nombres de clase y variables.)
   ========================================================= */

:root {
  /* Tinta cálida (antes "navy") — base oscura */
  --navy-900: #18140d;   /* tinta más profunda (fondos, titulares) */
  --navy-800: #211c14;
  --navy-700: #2e271c;
  --navy-600: #423a2b;

  /* Neutros cálidos (texto / líneas) */
  --slate-500: #6a6051;  /* texto secundario sobre papel */
  --slate-400: #938876;
  --slate-300: #c9bda4;  /* texto claro sobre tinta */

  /* Papel cálido */
  --paper:   #f4ede0;    /* crema de sección */
  --paper-2: #ece2d0;
  --white:   #fffdf7;    /* blanco cálido (tarjetas / base) */
  --line:    #e6dcc8;    /* línea cálida */

  /* Latón (el acento "llave") — un solo acento */
  --amber:      #c2923a; /* latón */
  --amber-dark: #8c6410; /* latón oscuro para texto/enlaces sobre crema (AA) */
  --amber-soft: #f3e7cd; /* lavado de latón */

  /* Rojo de urgencia (uso puntual) */
  --red:      #bb3a2b;
  --red-dark: #9a2c20;
  --green:    #3f7d52;

  /* Tipografía */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;     /* display */
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif; /* texto + UI */

  /* Radios variados (contenedor suave, interior más ajustado) */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  /* Sombras teñidas (cálidas, no negro puro) */
  --shadow-sm: 0 1px 2px rgba(40,30,12,.05), 0 3px 10px -2px rgba(40,30,12,.06);
  --shadow-md: 0 10px 28px -10px rgba(40,30,12,.18), 0 4px 10px -4px rgba(40,30,12,.10);
  --shadow-lg: 0 30px 60px -22px rgba(24,20,13,.40);

  --container: 1180px;

  /* Grano sutil reutilizable */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grano sutil sobre toda la página — rompe la planitud digital */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: var(--grain); background-size: 180px 180px;
  opacity: .035;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--amber-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.08;
  font-weight: 600;
  margin: 0 0 .6em;
  letter-spacing: -.015em;
  text-wrap: balance;
}
/* Subtítulos pequeños en grotesca para mantener legibilidad y ritmo */
h3, h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; text-wrap: pretty; }

.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }

/* ---------------- Utility ---------------- */
.muted { color: var(--slate-500); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--amber); }
.center .eyebrow, .section-head:not(.left) .eyebrow { justify-content: center; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tint { background: var(--paper); }
.section--navy { position: relative; background: var(--navy-900); color: var(--paper); overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fffdf7; }
.section--navy::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--grain); background-size: 180px 180px; opacity: .06;
}
.section--navy > * { position: relative; z-index: 1; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { font-size: 1.12rem; color: var(--slate-500); margin-bottom: 0; }
.section--navy .section-head p { color: var(--slate-300); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.1;
  padding: .92rem 1.55rem; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s cubic-bezier(.22,.7,.25,1), box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; letter-spacing: .005em;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--amber); color: var(--navy-900); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 22px -10px rgba(140,100,16,.7); }
.btn--primary:hover { background: #b1812c; color: var(--navy-900); }
.btn--call { background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 22px -10px rgba(155,44,32,.75); }
.btn--call:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy-900); border-color: rgba(40,30,12,.28); }
.btn--ghost:hover { background: var(--navy-900); color: var(--paper); border-color: var(--navy-900); }
.btn--light { background: var(--white); color: var(--navy-900); border-color: var(--line); }
.btn--light:hover { background: var(--paper); border-color: var(--amber); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,253,247,.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--navy-900); color: var(--paper);
  font-size: .82rem; letter-spacing: .01em;
}
.topbar .container { display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; padding: .5rem 0; }
.topbar a { color: var(--paper); font-variant-numeric: tabular-nums; }
.topbar a:hover { color: var(--amber); }
.topbar__left { display: flex; gap: 1.4rem; align-items: center; }
.topbar__badge { display: inline-flex; align-items: center; gap: .45rem; color: var(--amber); font-weight: 600; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63,125,82,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(63,125,82,.55);} 70%{box-shadow:0 0 0 8px rgba(63,125,82,0);} 100%{box-shadow:0 0 0 0 rgba(63,125,82,0);} }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; color: var(--navy-900); line-height: 1.05; }
.brand:hover { color: var(--navy-900); }
.brand__mark { display: flex; align-items: center; flex: none; }
.brand__mark img, .brand__img { height: 38px; width: auto; display: block; }
.brand__mark svg { width: 22px; height: 22px; }
/* En el pie (fondo oscuro) el emblema va sobre una placa clara para que se lea */
.footer-brand .brand__mark { background: var(--paper); border-radius: 11px; padding: 7px 12px; box-shadow: var(--shadow-sm); }
.footer-brand .brand__mark img, .footer-brand .brand__img { height: 30px; }
/* Lema oculto: el emblema + el nombre ya identifican la marca y evita que envuelva.
   La info de "cerrajería profesional · Costa Brava" sigue en el texto del pie. */
.brand small { display: none; }

.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--navy-800);
  padding: .5rem .85rem; border-radius: var(--radius-sm); white-space: nowrap; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 1.5px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--navy-900); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--navy-900); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(194,146,58,.20), transparent 60%),
    radial-gradient(760px 520px at 8% 115%, rgba(66,58,43,.6), transparent 60%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.4rem; align-items: center; padding: clamp(3.4rem, 7vw, 6.5rem) 0; }
.hero h1 { color: #fffdf7; font-size: clamp(2.6rem, 5.6vw, 4.3rem); letter-spacing: -.02em; }
.hero h1 .hl { color: var(--amber); font-style: italic; font-weight: 500; }
.hero__lead { font-size: 1.2rem; color: var(--slate-300); max-width: 42ch; line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.3rem 2.2rem; margin-top: 2.4rem; padding-top: 1.7rem; border-top: 1px solid rgba(255,253,247,.14); }
.hero__trust div { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--slate-300); }
.hero__trust strong { color: #fffdf7; font-weight: 600; }
.hero__trust svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

.hero-card {
  background: linear-gradient(180deg, #fffdf7, #f4ede0);
  color: var(--navy-800); border-radius: var(--radius-lg);
  padding: 1.9rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,253,247,.12);
}
.hero-card h3 { font-size: 1.18rem; }
.hero-card__row { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.hero-card__row:last-child { border-bottom: 0; }
.hero-card__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--amber-soft); color: var(--amber-dark); display: grid; place-items: center; flex: none; }
.hero-card__ic svg { width: 22px; height: 22px; }
.hero-card__row b { display: block; font-family: var(--font-body); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.hero-card__row span { font-size: .86rem; color: var(--slate-500); }

/* ---------------- Trust strip ---------------- */
.strip { position: relative; background: var(--navy-800); color: var(--paper); padding: 1.15rem 0; overflow: hidden; }
.strip::after { content:""; position:absolute; inset:0; background: var(--grain); background-size:180px 180px; opacity:.05; pointer-events:none; }
.strip .container { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.8rem; }
.strip span { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--slate-300); font-weight: 500; }
.strip svg { width: 18px; height: 18px; color: var(--amber); }

/* ---------------- Grid / cards ---------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .22s cubic-bezier(.22,.7,.25,1), box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(194,146,58,.5); }
.card__ic { width: 52px; height: 52px; border-radius: 13px; background: var(--navy-900); color: var(--amber); display: grid; place-items: center; margin-bottom: 1.15rem; box-shadow: inset 0 0 0 1px rgba(194,146,58,.28); }
.card__ic svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--slate-500); }
.card .link-more { margin-top: auto; font-family: var(--font-body); font-weight: 600; color: var(--amber-dark); display: inline-flex; align-items: center; gap: .4rem; padding-top: .9rem; }
.card .link-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .link-more svg { transform: translateX(4px); }

/* Service detail block (Landing servicios) */
.svc-block { display: grid; grid-template-columns: 56px 1fr; gap: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.svc-block .card__ic { margin-bottom: 0; }
.svc-block h3 { margin-bottom: .45rem; }
.svc-block p { color: var(--slate-500); font-size: .99rem; }

/* Feature / why list */
.feature { display: flex; gap: 1.1rem; }
.feature__ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--amber-soft); color: var(--amber-dark); display: grid; place-items: center; }
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.feature p { font-size: .95rem; color: var(--slate-500); margin: 0; }
.section--navy .feature p { color: var(--slate-300); }
.section--navy .feature__ic { background: rgba(194,146,58,.16); color: var(--amber); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; align-items: start; }
.step__n { counter-increment: step; width: 56px; height: 56px; border-radius: 14px; background: transparent; color: var(--amber); font-family: var(--font-head); font-weight: 500; font-size: 1.8rem; display: grid; place-items: center; border: 1.5px solid rgba(194,146,58,.45); font-variant-numeric: tabular-nums; }
.step__n::before { content: counter(step); }
.step h3 { font-size: 1.14rem; margin-bottom: .3rem; }
.step p { font-size: .96rem; color: var(--slate-500); margin: 0; }
.section--navy .step p { color: var(--slate-300); }

/* Coverage chips */
.chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem; font-size: .9rem; font-weight: 500; color: var(--navy-800); display: inline-flex; align-items: center; gap: .45rem; }
.chip svg { width: 15px; height: 15px; color: var(--amber-dark); }
.section--navy .chip { background: rgba(255,253,247,.06); border-color: rgba(255,253,247,.16); color: var(--paper); }
.section--navy .chip svg { color: var(--amber); }

/* Pricing / transparency cards */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: var(--shadow-sm); }
.price-card .from { font-size: .78rem; color: var(--amber-dark); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.price-card .amount { font-family: var(--font-head); font-weight: 500; font-size: 2.6rem; color: var(--navy-900); line-height: 1.05; margin: .35rem 0 .55rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-card .amount small { font-size: 1rem; color: var(--slate-500); font-weight: 400; font-family: var(--font-body); }
.price-card p { font-size: .93rem; color: var(--slate-500); margin: 0; }

/* Brands marquee */
.brands { display: flex; flex-wrap: wrap; gap: .7rem 1rem; justify-content: center; }
.brands span { font-family: var(--font-body); font-weight: 600; color: var(--slate-400); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .55rem 1.1rem; font-size: .94rem; letter-spacing: .02em; }

/* Prose (article body) */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 1.9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .55rem; }
.prose li::marker { color: var(--amber-dark); }
.prose .lead { font-size: 1.22rem; line-height: 1.6; color: var(--navy-700); font-weight: 400; }
.callout {
  background: var(--amber-soft); border: 1px solid #e7d3a4; border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; margin: 1.7rem 0;
}
.callout strong { color: var(--navy-900); }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.15rem 1.35rem; margin: 1.7rem 0; font-size: .97rem; }

/* Two-col layout with sticky aside */
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 3.4rem; align-items: start; }
.aside { position: sticky; top: 120px; display: grid; gap: 1.2rem; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card--cta { background: var(--navy-900); color: var(--paper); border-color: var(--navy-700); }
.aside-card--cta h3 { color: #fffdf7; }
.aside-card--cta p { color: var(--slate-300); font-size: .92rem; }
.aside-card h3 { font-size: 1.06rem; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.aside-list li:last-child { border-bottom: 0; }
.aside-list a { display: flex; align-items: center; gap: .5rem; }
.aside-list svg { width: 16px; height: 16px; color: var(--amber-dark); flex: none; }

/* Breadcrumb */
.crumbs { font-size: .84rem; color: var(--slate-300); padding: 1.1rem 0 0; letter-spacing: .01em; }
.crumbs a { color: var(--slate-300); }
.crumbs a:hover { color: var(--amber); }
.crumbs span { margin: 0 .45rem; opacity: .6; }

/* Page hero (interior) */
.page-hero { background: var(--navy-900); color: var(--paper); position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(720px 400px at 86% -20%, rgba(194,146,58,.18), transparent 60%); }
.page-hero .container { position: relative; padding: clamp(2.6rem,5.5vw,4.2rem) 0 clamp(3rem,5.5vw,4.4rem); max-width: 880px; }
.page-hero h1 { color: #fffdf7; }
.page-hero .page-lead { font-size: 1.2rem; color: var(--slate-300); margin-bottom: 1.7rem; line-height: 1.6; }
.page-hero .hero__cta { margin-top: 0; }
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.badge { background: rgba(255,253,247,.07); border: 1px solid rgba(255,253,247,.18); color: var(--paper); border-radius: 999px; padding: .4rem .95rem; font-size: .82rem; font-weight: 500; display: inline-flex; gap: .45rem; align-items: center; }
.badge svg { width: 15px; height: 15px; color: var(--amber); }

/* FAQ accordion */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: .7rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item.open { border-color: rgba(194,146,58,.5); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1.06rem; color: var(--navy-900);
  padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q:hover { color: var(--amber-dark); }
.faq-q .ic { width: 24px; height: 24px; flex: none; transition: transform .3s cubic-bezier(.22,.7,.25,1); color: var(--amber-dark); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 1.4rem 1.3rem; color: var(--slate-500); font-size: .99rem; }
.faq-item.open .faq-a { max-height: 640px; }

/* CTA band */
.cta-band { background: linear-gradient(130deg, var(--navy-900), var(--navy-700)); color: var(--paper); border-radius: var(--radius-lg); padding: clamp(2.6rem,5.5vw,4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(560px 340px at 82% 120%, rgba(194,146,58,.24), transparent 60%); }
.cta-band::after { content:""; position:absolute; inset:0; background: var(--grain); background-size:180px 180px; opacity:.06; pointer-events:none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fffdf7; }
.cta-band p { color: var(--slate-300); max-width: 560px; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; background: var(--navy-900); color: var(--slate-300); padding: 4rem 0 1.6rem; font-size: .94rem; overflow: hidden; }
.site-footer::after { content:""; position:absolute; inset:0; background: var(--grain); background-size:180px 180px; opacity:.05; pointer-events:none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
.site-footer h4 { color: #fffdf7; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: var(--amber); }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-brand .brand { color: #fffdf7; margin-bottom: 1rem; }
.footer-brand .brand small { color: var(--slate-400); }
.footer-contact { display: grid; gap: .65rem; }
.footer-contact a, .footer-contact span { display: flex; gap: .55rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--amber); flex: none; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,253,247,.1); margin-top: 2.6rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .85rem; color: var(--slate-400); }

/* Floating mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none; gap: .6rem; padding: .6rem; background: rgba(24,20,13,.96); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,253,247,.12); }
.callbar .btn { flex: 1; }

/* ---------------- Responsive ---------------- */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.2rem; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links, .nav-actions .btn--call { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: .15rem;
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white);
    border-bottom: 1px solid var(--line); padding: 1rem; box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { padding: .85rem 1rem; }
  .site-header.open .nav-links a::after { display: none; }
  .topbar__left .topbar__phone-hide { display: none; }
  .callbar { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; }
  .strip .container { gap: .8rem 1.5rem; }
}

/* =========================================================
   Animaciones y micro-interacciones
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.7,.25,1), transform .7s cubic-bezier(.22,.7,.25,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes glowPulse { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero .eyebrow { animation: fadeUp .6s both .05s; }
.hero h1 { animation: fadeUp .7s both .15s; }
.hero__lead { animation: fadeUp .7s both .3s; }
.hero .hero__cta { animation: fadeUp .7s both .42s; }
.hero__trust { animation: fadeUp .75s both .54s; }
.hero-card { animation: fadeUp .85s both .4s; }
.hero::before { animation: glowPulse 9s ease-in-out infinite; }

.page-hero .badge-row { animation: fadeUp .6s both .08s; }
.page-hero h1 { animation: fadeUp .7s both .18s; }
.page-hero .page-lead { animation: fadeUp .7s both .32s; }
.page-hero .hero__cta { animation: fadeUp .7s both .44s; }
.page-hero::before { animation: glowPulse 9s ease-in-out infinite; }

.hero-card__ic svg { animation: floaty 5s ease-in-out infinite; }

.btn--primary:hover, .btn--call:hover, .btn--light:hover, .btn--ghost:hover { transform: translateY(-2px); }
.card__ic, .feature__ic { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .25s ease, color .25s ease; }
.card:hover .card__ic { transform: translateY(-3px) rotate(-4deg); }
.feature:hover .feature__ic { transform: scale(1.08); }
.chip { transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease; }
.chip:hover { transform: translateY(-2px); border-color: var(--amber); }
.brands span { transition: transform .2s ease, color .2s ease, border-color .2s ease; }
.brands span:hover { transform: translateY(-2px); color: var(--navy-700); border-color: var(--amber); }
.svc-block { transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-block:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(194,146,58,.5); }
.aside-card { transition: transform .2s ease, box-shadow .25s ease; }

.callbar { transition: transform .3s ease; }

/* Foco visible accesible */
a:focus-visible, .btn:focus-visible, .faq-q:focus-visible, .nav-toggle:focus-visible, .nav-sub-btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Red de seguridad móvil — sin scroll horizontal
   ========================================================= */
html { overflow-x: clip; }
body { overflow-x: clip; max-width: 100%; overflow-wrap: break-word; }
.container { max-width: 100%; }
.layout > *, .prose, .card, .svc-block, .aside-card { min-width: 0; }

@media (max-width: 820px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="gap:3rem"] { gap: 2rem !important; }
}

@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; white-space: normal; }
  .brand { font-size: 1.08rem; gap: .55rem; }
  .brand small { display: none; }
  .brand__mark img, .brand__img { height: 32px; }
  .callbar { overflow: hidden; }
  .callbar .btn { flex: 1; min-width: 0; padding: .8rem .55rem; font-size: .94rem; }
  .callbar .btn--call { flex: 1.45; }
  .hero__trust { gap: .8rem 1.4rem; }
  .section-head p { font-size: 1.02rem; }
}

/* =========================================================
   Aviso de cookies + enlaces legales del pie
   ========================================================= */
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy-900); color: var(--paper);
  border-top: 1px solid rgba(255,253,247,.14);
  box-shadow: 0 -8px 30px rgba(24,20,13,.32);
  padding: 1rem 1.2rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .8rem 1.6rem;
}
.cookiebar p { margin: 0; font-size: .92rem; line-height: 1.55; max-width: 64ch; color: var(--slate-300); }
.cookiebar a { color: var(--amber); text-decoration: underline; }
.cookiebar a:hover { color: #d9ad55; }
.cookiebar__actions { display: flex; gap: .6rem; flex: none; }
.cookiebar__btn { padding: .6rem 1.35rem; font-size: .95rem; }
.cookiebar .btn--ghost { color: var(--paper); border-color: rgba(255,253,247,.4); }
.cookiebar .btn--ghost:hover { background: rgba(255,253,247,.1); color: #fff; border-color: rgba(255,253,247,.6); }
@media (max-width: 820px) {
  .cookiebar { bottom: 66px; flex-direction: column; align-items: stretch; text-align: center; gap: .8rem; }
  .cookiebar__actions { justify-content: center; }
}

.legal-links { flex-basis: 100%; order: 5; padding-top: .9rem; margin-top: .5rem; border-top: 1px solid rgba(255,253,247,.1); font-size: .85rem; }
.legal-links a { color: var(--slate-400); }
.legal-links a:hover { color: var(--amber); }

/* =========================================================
   Fotografías — componentes de imagen
   ========================================================= */
.figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--paper-2);
}
.figure img { display: block; width: 100%; height: auto; }
.figure--cover { aspect-ratio: 4 / 3; }
.figure--cover img { height: 100%; object-fit: cover; }
.figure figcaption { font-size: .85rem; color: var(--slate-500); padding: .75rem 1rem; text-align: center; background: var(--white); }
.section--navy .figure figcaption { background: var(--navy-800); color: var(--slate-300); }

/* Banda: imagen + texto */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media__figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: var(--paper-2);
}
.media__figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,.7,.25,1); will-change: transform; }
.media__figure:hover img { transform: scale(1.05); }
.media__body > :first-child { margin-top: 0; }
.media__body > :last-child { margin-bottom: 0; }
.media--reverse .media__figure { order: 2; }
.section--navy .media__figure { border-color: rgba(255,253,247,.14); }

@media (max-width: 820px) {
  .media { grid-template-columns: 1fr; gap: 1.7rem; }
  .media--reverse .media__figure { order: 0; }
  .media__figure { order: -1; }
  .media__body { order: 0; }
}

/* Galería responsive */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.photo-grid .figure { border-radius: var(--radius); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.photo-grid .figure img { height: 100%; object-fit: cover; transition: transform .6s ease; will-change: transform; }
.photo-grid .figure:hover img { transform: scale(1.06); }
@media (max-width: 820px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .photo-grid { grid-template-columns: 1fr; } }

/* Foto de fondo en el hero interior */
.page-hero--photo .page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero--photo .page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero--photo .page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,20,13,.95) 0%, rgba(24,20,13,.88) 42%, rgba(24,20,13,.6) 100%);
}
.page-hero--photo::before { z-index: 1; }
.page-hero--photo .container { position: relative; z-index: 2; }
@media (max-width: 820px) {
  .page-hero--photo .page-hero__media::after { background: linear-gradient(180deg, rgba(24,20,13,.84) 0%, rgba(24,20,13,.94) 100%); }
}

/* Foto de fondo en el hero principal (home) */
.hero--photo .hero__media { position: absolute; inset: 0; z-index: 0; }
.hero--photo .hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--photo .hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,20,13,.94) 0%, rgba(24,20,13,.82) 46%, rgba(24,20,13,.55) 100%);
}
.hero--photo::before { z-index: 1; }
.hero--photo .container { position: relative; z-index: 2; }
@media (max-width: 940px) {
  .hero--photo .hero__media::after { background: linear-gradient(180deg, rgba(24,20,13,.82) 0%, rgba(24,20,13,.9) 60%, rgba(24,20,13,.96) 100%); }
}

/* Banda de imagen ancha */
.photo-band { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); aspect-ratio: 21 / 9; background: var(--navy-800); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 620px) { .photo-band { aspect-ratio: 16 / 11; } }

.prose .figure { margin: 1.9rem 0; }
.prose .figure--cover { aspect-ratio: 16 / 9; }

/* =========================================================
   Submenú móvil — "Servicios disponibles"
   ========================================================= */
.nav-links li:has(> a[href="zonas.html"]),
.nav-links li:has(> a[href="contacto.html"]) { display: none; }

.nav-sub-toggle { display: none; }
.nav-sub-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; color: var(--navy-800);
  padding: .5rem .85rem; border-radius: var(--radius-sm);
}
.nav-sub-btn:hover { background: var(--paper); color: var(--navy-900); }
.nav-sub-ic { width: 18px; height: 18px; flex: none; color: var(--slate-500); transition: transform .25s ease; }

@media (max-width: 820px) {
  .site-header.open .nav-sub-toggle { display: block; }
  .site-header.open .nav-sub-btn { padding: .85rem 1rem; font-size: 1rem; }
  .site-header.open .nav-links .nav-secondary { display: none; }
  .site-header.open .nav-links.subopen .nav-secondary { display: block; }
  .site-header.open .nav-links.subopen .nav-sub-ic { transform: rotate(180deg); }
  .site-header.open .nav-links.subopen .nav-secondary a { padding-left: 1.7rem; }
}

/* Miniatura superior en tarjetas (.card) */
.card-media {
  margin: -1.8rem -1.8rem 1.2rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; will-change: transform; }
.card:hover .card-media img { transform: scale(1.05); }

/* =========================================================
   Price Table (AEO Rich Snippet Optimization)
   ========================================================= */
.price-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 2.2rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.price-table th {
  background: var(--navy-900);
  color: var(--amber);
  font-weight: 600;
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display, inherit);
}

.price-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--navy-800);
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table tr:nth-child(even) td {
  background: var(--paper-2);
}

.price-table strong {
  color: var(--navy-900);
}

.price-table .price-value {
  font-weight: 700;
  color: var(--navy-900);
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-table th.price-val-header {
  text-align: right;
}

