/* ==========================================================================
   KO Inmigración USA — Sitio web
   Sistema de diseño basado en el Brand Book v1.0 (oro sobre beige, barra negra)
   ========================================================================== */

:root {
  --negro: #000000;
  --onyx: #0B0B0C;
  --grafito: #1C1B19;
  --gris: #8B857A;
  --oro-brillante: #7A5608;   /* sobre beige: tono oscuro; en zonas negras se restaura (ver .dark) */
  --champagne: #8A6410;
  --oro: #A47A16;
  --oro-clasico: #A47A16;
  --oro-profundo: #B08010;
  --bronce: #7A5608;
  --marfil: #FAF6EA;
  --fondo: #F2E9D8;           /* beige de fondo */
  --tinta: #1C1B19;           /* texto oscuro */
  --t: 28, 27, 25;            /* rgb del texto: oscuro sobre beige, claro sobre negro */
  --arena: #E6D9BC;
  --liberty: #14233B;
  --whatsapp: #25D366;

  --gold-grad: linear-gradient(120deg, #A87A0E 0%, #E1BE5A 28%, #FEEC9A 50%, #D3AC45 72%, #A87A0E 100%);
  --gold-text: linear-gradient(120deg, #7A5608 0%, #A47A16 30%, #C9A23F 50%, #A47A16 70%, #7A5608 100%);
  --line: rgba(164, 122, 22, .30);
  --line-strong: rgba(164, 122, 22, .55);

  --f-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans: 'Poppins', 'Century Gothic', Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 96px;
}

/* Zonas negras: encabezado, CTA final, pie y barra móvil */
.dark, .site-header, .cta-band, .site-footer, .mobile-bar {
  --t: 250, 246, 234;
  --oro-brillante: #FEEC9A; --champagne: #F0E090; --oro: #E1BE5A; --oro-clasico: #C9A23F;
  --line: rgba(225, 190, 90, .22); --line-strong: rgba(225, 190, 90, .45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
::selection { background: var(--oro); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--oro); color: var(--negro); padding: 10px 16px; font-weight: 500;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: .04em; line-height: 1.12; }
h1 { font-size: clamp(38px, 6.4vw, 84px); font-weight: 500; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: .12em; text-transform: uppercase; }

.gold-text {
  background: var(--gold-text);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--oro);
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold-grad); }

.quote {
  font-family: var(--f-serif); font-style: italic; font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--champagne);
}
.lead { font-size: clamp(16px, 1.3vw, 18px); max-width: 60ch; color: rgba(var(--t), .9); }
.muted { color: rgba(var(--t), .75); }

/* Doble filete dorado del logo */
.rule {
  position: relative; height: 7px; width: min(220px, 60%);
  border-top: 2px solid var(--oro-clasico); border-bottom: 1px solid var(--oro-profundo);
}
.rule::after {
  content: ""; position: absolute; top: -4px; left: 30%; width: 60px; height: 8px;
  background: radial-gradient(ellipse at center, rgba(254, 236, 154, .95), transparent 70%);
  filter: blur(1px);
}
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  --pad: 16px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--pad); min-height: 52px;
  font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold-grad); background-size: 200% auto; color: var(--negro); }
.btn-gold:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(164, 122, 22, .55); }
.btn-outline { border-color: var(--line-strong); color: rgb(var(--t)); background: transparent; }
.btn-outline:hover { border-color: var(--oro); color: var(--oro-brillante); background: rgba(164, 122, 22, .08); transform: translateY(-2px); }
/* WhatsApp: mismo dorado que "Agendar cita" */
.btn-wa { background: var(--gold-grad); background-size: 200% auto; color: var(--negro); }
.btn-wa:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(164, 122, 22, .55); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--oro);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Header: barra negra en forma de flecha con el logo ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(242, 233, 216, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-left: calc(var(--gutter) + 14px); padding-right: calc(var(--gutter) + 56px);
  filter: drop-shadow(0 10px 14px rgba(28, 27, 25, .22));
}
.site-header .wrap::before { /* la barra: lado derecho en punta de flecha + filete dorado inferior */
  content: ""; position: absolute; z-index: 0; left: var(--gutter); right: var(--gutter); top: 16px; bottom: 16px;
  background:
    linear-gradient(90deg, transparent, #C9A23F 18%, #E1BE5A 50%, #C9A23F 82%, transparent) 130px calc(100% - 7px) / calc(100% - 230px) 1px no-repeat,
    #0B0B0C;
  clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 50%, calc(100% - 44px) 100%, 0 100%);
}
.site-header .wrap > .brand, .site-header .wrap > .menu-toggle { position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand img {
  width: 88px; height: 88px; border-radius: 50%; flex: none;
  border: 3px solid #B8923A; background: #000; box-shadow: 0 12px 26px rgba(0, 0, 0, .45);
}
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .22em; color: var(--oro); }
.brand small { font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(var(--t), .8); }

.nav { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(var(--t), .85); padding: 8px 0; transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--oro-brillante); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { --pad: 12px 20px; min-height: 42px; font-size: 11.5px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius); cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 1.5px; background: var(--oro); content: "";
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(176, 128, 16, .14), transparent 70%),
    var(--fondo);
}
.hero::before { /* grano sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: center; position: relative; }
.hero h1 { margin: 22px 0 26px; }
.hero h1 .line { display: block; }
.hero .quote { margin-bottom: 22px; }
.hero .lead { margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; font-size: 13px; letter-spacing: .01em; color: rgba(var(--t), .78); display: flex; gap: 10px; align-items: flex-start; max-width: 52ch; }
.hero-note svg { width: 16px; flex: none; margin-top: 3px; color: var(--oro-clasico); }

/* Marco en arco dorado (evoca el nicho de la Estatua de la Libertad): lo llevan TODAS las fotos */
.arch {
  position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 440px; margin-left: auto;
  border-radius: 999px 999px 4px 4px; padding: 10px;
  background: var(--gold-grad);
  box-shadow: 0 30px 70px -28px rgba(168, 122, 14, .55);
}
.arch::before { content: ""; position: absolute; inset: 4px; border-radius: inherit; background: var(--negro); }
.arch picture, .arch img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 2px 2px; }
.arch img { filter: saturate(.95) contrast(1.02); }
.arch-hero::after { /* solo la foto de portada (con el sello) lleva velo inferior */
  content: ""; position: absolute; inset: 10px; border-radius: 999px 999px 2px 2px; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35));
}
.medallion {
  position: absolute; left: -54px; bottom: 48px; width: 132px; height: 132px; z-index: 2;
  border-radius: 50%; box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
}
.medallion img { width: 100%; height: 100%; border-radius: 50%; }
.medallion::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(164, 122, 22, .6); animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 1px; height: 54px; background: linear-gradient(var(--oro), transparent); overflow: hidden;
}
.hero-scroll::after { content: ""; position: absolute; top: -20px; left: 0; width: 1px; height: 20px; background: var(--oro-brillante); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { to { top: 60px; } }

/* Entrada escalonada */
.rise { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .4s; }
.d4 { animation-delay: .55s; } .d5 { animation-delay: .7s; } .d6 { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Franja de confianza ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #E9DDC4; }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li {
  display: flex; align-items: center; gap: 14px; padding: 26px 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta);
}
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { width: 26px; height: 26px; color: var(--oro); flex: none; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 { margin: 18px 0 22px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: var(--gold-grad); }
.section-head.center .lead { margin: 0 auto; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(44px, 6vw, 72px); }
.split-head .section-head { margin-bottom: 0; }

/* Marfil (sección clara) */
.ivory { background: var(--marfil); color: var(--grafito); }
.ivory .eyebrow { color: var(--bronce); }
.ivory .lead, .ivory .muted { color: rgba(28, 27, 25, .75); }
.ivory h2, .ivory h3 { color: var(--negro); }
.ivory .quote { color: var(--bronce); }
.ivory .link-arrow { color: var(--bronce); }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  position: relative; padding: 38px 34px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .5s var(--ease); overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.service:hover { background: linear-gradient(180deg, rgba(164, 122, 22, .09), transparent 70%); }
.service:hover::before { transform: scaleX(1); }
.service .num { position: absolute; right: 26px; top: 26px; font-family: var(--f-display); font-size: 13px; letter-spacing: .1em; color: rgba(164, 122, 22, .6); }
.service svg { width: 40px; height: 40px; color: var(--oro); margin-bottom: 26px; stroke-width: 1.3; }
.service h3 { margin-bottom: 12px; color: rgb(var(--t)); }
.service p { font-size: 15.5px; color: rgba(var(--t), .7); }
.service .tag { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--oro-clasico); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--bronce), transparent); }
.step { text-align: center; padding: 0 18px; position: relative; }
.step .dot {
  width: 68px; height: 68px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--marfil); border: 1px solid var(--bronce);
  font-family: var(--f-display); font-size: 22px; color: var(--bronce); position: relative;
}
.step .dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(122, 86, 8, .25); }
.step h3 { margin-bottom: 10px; font-size: 16px; }
.step p { font-size: 15.5px; color: rgba(28, 27, 25, .75); }

/* ---------- Nosotros / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.photo-stack { position: relative; padding: 0 40px 60px 0; }
.photo-stack .arch { margin: 0; max-width: none; }
.photo-stack .arch.p1 { width: 100%; }
.photo-stack .arch.p1:only-child { max-width: 460px; margin: 0 auto; }
.photo-stack:has(.p1:only-child) { padding: 0; }
.photo-stack .arch.p2 { position: absolute; right: 0; bottom: 0; width: 44%; z-index: 2; }

.values { display: grid; gap: 26px; margin-top: 38px; }
.value { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.value .roman { font-family: var(--f-display); font-size: 28px; line-height: 1; color: var(--oro); padding-top: 4px; }
.ivory .value .roman { color: var(--bronce); }
.value h3 { font-size: 15px; margin-bottom: 6px; }
.value p { font-size: 15.5px; opacity: .8; }

/* ---------- Aviso ---------- */
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start;
  padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(255, 253, 248, .85), rgba(250, 246, 234, .6));
}
.notice svg { width: 42px; height: 42px; color: var(--oro); }
.notice h3 { margin-bottom: 10px; color: var(--oro-brillante); }
.notice p { font-size: 15.5px; color: rgba(var(--t), .8); max-width: 90ch; }

/* ---------- CTA final ---------- */
.cta-band {
  position: relative; text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 50% 120%, rgba(225, 190, 90, .22), transparent 70%),
    var(--onyx);
  color: rgb(var(--t));
  border-top: 1px solid var(--line);
}
.cta-band .gold-text { background-image: var(--gold-grad); }
.cta-band .btn-outline { background: rgba(0, 0, 0, .35); }
.cta-band h2 { margin: 18px auto 20px; max-width: 18ch; }
.cta-band .lead { margin: 0 auto 38px; }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .bg-logo { position: absolute; width: 540px; opacity: .05; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }

/* ---------- Page hero (interiores) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(50px, 8vw, 110px)) 0 clamp(60px, 8vw, 100px);
  background:
    radial-gradient(ellipse 55% 70% at 85% 0%, rgba(176, 128, 16, .16), transparent 70%),
    var(--fondo);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(36px, 5.4vw, 68px); margin: 20px 0 22px; }
.breadcrumb { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(var(--t), .5); margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--oro); }

/* ---------- Detalle de servicios ---------- */
.service-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr auto; gap: 32px; align-items: start;
  padding: 38px 0; border-bottom: 1px solid var(--line);
}
.service-row .num { font-family: var(--f-display); font-size: 30px; color: rgba(164, 122, 22, .6); line-height: 1; }
.service-row h3 { font-size: clamp(18px, 1.7vw, 22px); color: rgb(var(--t)); }
.service-row h3 small { display: block; margin-top: 8px; font-family: var(--f-sans); font-size: 12px; letter-spacing: .22em; color: var(--oro-clasico); }
.service-row p { color: rgba(var(--t), .74); font-size: 16px; }
.service-row ul { margin-top: 12px; display: grid; gap: 6px; }
.service-row li { font-size: 15px; color: rgba(var(--t), .7); padding-left: 20px; position: relative; }
.service-row li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: var(--oro); }
.service-row .btn { --pad: 12px 18px; min-height: 44px; font-size: 11.5px; }

/* ---------- Formularios ---------- */
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.panel { background: #FAF6EA; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); position: relative; }
.panel::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold-grad); }
.form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--oro); }
.field label .opt { color: rgba(var(--t), .45); letter-spacing: .1em; text-transform: none; font-weight: 400; }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: #FFFDF8; border: 1px solid rgba(var(--t), .22); border-radius: var(--radius);
  color: rgb(var(--t)); font-size: 16px; font-weight: 400; transition: border-color .3s, box-shadow .3s;
}
.input::placeholder { color: rgba(var(--t), .35); }
.input:hover { border-color: rgba(164, 122, 22, .55); }
.input:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(164, 122, 22, .18); }
textarea.input { min-height: 130px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A47A16' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
select.input option { background: #FFFDF8; }
.field.invalid .input { border-color: #b3402a; }
.field .error { font-size: 13px; color: #b3402a; min-height: 0; display: none; }
.field.invalid .error, .check.invalid + .error { display: block; }
.check + .error { font-size: 13px; color: #b3402a; display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1px solid rgba(var(--t), .18); border-radius: 999px; cursor: pointer;
  font-size: 14px; transition: all .25s;
}
.chip span svg { width: 16px; height: 16px; color: var(--oro); }
.chip input:checked + span { border-color: var(--oro); background: rgba(164, 122, 22, .12); color: var(--oro-brillante); }
.chip input:focus-visible + span { outline: 2px solid var(--oro); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: rgba(var(--t), .72); cursor: pointer; line-height: 1.55; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--oro); cursor: pointer; }
.check a { color: var(--oro); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: 18px 20px; border: 1px solid var(--line-strong); font-size: 15px; }
.form-status.show { display: block; }
.form-status.ok { border-color: rgba(30, 140, 80, .55); background: rgba(37, 211, 102, .10); }
.form-status.err { border-color: rgba(224, 121, 91, .6); background: rgba(224, 121, 91, .08); }
.form-status strong { display: block; font-family: var(--f-display); letter-spacing: .08em; margin-bottom: 6px; color: var(--oro-brillante); }
.form-status .btn { margin-top: 14px; }

.contact-cards { display: grid; gap: 14px; margin-top: 36px; }
.contact-card {
  display: grid; grid-template-columns: 50px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 20px; border: 1px solid var(--line); transition: border-color .3s, background .3s;
}
.contact-card:hover { border-color: var(--oro); background: rgba(164, 122, 22, .07); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--oro); }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: rgba(var(--t), .55); }
.contact-card b { font-weight: 400; font-size: 16px; word-break: break-word; }
.contact-card .go { color: var(--oro); font-size: 20px; }
.contact-card.wa .ic { background: var(--gold-grad); color: var(--negro); border-color: transparent; }

/* ---------- Agenda ---------- */
.booking-steps { display: grid; gap: 34px; }
.bstep-title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.bstep-title .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--oro); font-family: var(--f-display); font-size: 14px; color: var(--oro); flex: none; }
.bstep-title h3 { font-size: 14px; }

.date-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
.date-btn, .slot-btn {
  border: 1px solid rgba(var(--t), .16); background: #FFFDF8; border-radius: var(--radius);
  cursor: pointer; transition: all .25s; color: rgb(var(--t));
}
.date-btn { padding: 12px 6px; text-align: center; display: grid; gap: 2px; }
.date-btn small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(var(--t), .55); }
.date-btn b { font-family: var(--f-display); font-weight: 500; font-size: 22px; line-height: 1.1; }
.date-btn:hover, .slot-btn:hover { border-color: rgba(164, 122, 22, .7); }
.date-btn[aria-pressed="true"], .slot-btn[aria-pressed="true"] { background: var(--gold-grad); color: var(--negro); border-color: transparent; }
.date-btn[aria-pressed="true"] small { color: rgba(0, 0, 0, .75); }
.date-btn:disabled, .slot-btn:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.slot-btn { min-height: 46px; font-size: 15px; }
.slot-empty { font-size: 15px; color: rgba(var(--t), .55); padding: 14px 0; }
.booking-summary {
  display: none; padding: 18px 20px; border: 1px dashed var(--line-strong); font-size: 15px;
  background: rgba(164, 122, 22, .07);
}
.booking-summary.show { display: block; }
.booking-summary b { color: var(--oro-brillante); font-weight: 500; }
.embed-wrap { background: var(--marfil); border: 1px solid var(--line); min-height: 720px; }
.embed-wrap iframe { width: 100%; height: 760px; border: 0; display: block; }

.side-list { display: grid; gap: 22px; margin-top: 34px; }
.side-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 15.5px; color: rgba(var(--t), .78); }
.side-list svg { width: 22px; height: 22px; color: var(--oro); margin-top: 2px; }
.side-list b { display: block; font-weight: 600; color: rgb(var(--t)); letter-spacing: .02em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(28, 27, 25, .15); }
.faq details { border-bottom: 1px solid rgba(28, 27, 25, .15); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: .04em; color: var(--negro);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-sans); font-weight: 200; font-size: 30px; color: var(--bronce); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 75ch; color: rgba(28, 27, 25, .78); }

/* ---------- Footer ---------- */
.site-footer { background: var(--negro); border-top: 1px solid var(--line); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 44px; }
.footer-brand img { width: 96px; border-radius: 50%; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: rgba(var(--t), .62); max-width: 34ch; }
.footer-brand .quote { font-size: 20px; margin-top: 16px; }
.site-footer h4 { font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--oro); margin-bottom: 20px; }
.site-footer li { margin-bottom: 10px; font-size: 15px; }
.site-footer li a { color: rgba(var(--t), .72); transition: color .3s; }
.site-footer li a:hover { color: var(--oro-brillante); }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--oro); transition: all .3s;
}
.socials a:hover { background: var(--oro); color: var(--negro); border-color: var(--oro); }
.socials svg { width: 18px; height: 18px; }
.footer-legal { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.footer-legal .disclaimer { font-size: 13px; line-height: 1.6; color: rgba(var(--t), .55); max-width: 110ch; }
.footer-legal .disclaimer b { color: rgba(var(--t), .8); font-weight: 500; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; letter-spacing: .12em; color: rgba(var(--t), .45); }
.footer-bottom a:hover { color: var(--oro); }

/* ---------- WhatsApp flotante + barra móvil ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
}
.wa-float .bubble {
  background: var(--marfil); color: var(--grafito); padding: 10px 16px; border-radius: 18px 18px 4px 18px;
  font-size: 14px; font-weight: 400; box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateX(10px); transition: all .4s var(--ease); pointer-events: none;
}
.wa-float:hover .bubble, .wa-float.hint .bubble { opacity: 1; transform: none; }
.wa-float .fab {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--negro); box-shadow: 0 12px 34px rgba(168, 122, 14, .5);
  position: relative; transition: transform .3s var(--ease);
}
.wa-float .fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #C9A23F; animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-float .fab:hover { transform: scale(1.07); }
.wa-float .fab svg { width: 32px; height: 32px; }

.mobile-bar { display: none; }

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .12s; } .reveal.delay-2 { transition-delay: .24s; } .reveal.delay-3 { transition-delay: .36s; }

/* ---------- Prosa (aviso legal) ---------- */
.prose { max-width: 78ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 50px 0 16px; color: var(--bronce); }
.prose p, .prose li { color: rgba(var(--t), .8); margin-bottom: 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { color: var(--oro); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row > p, .service-row > div, .service-row > .btn { grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 40px;
    background: rgba(0, 0, 0, .97); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto;
  }
  .menu-open .nav { transform: none; }
  .menu-open .site-header { background: var(--fondo); }
  .nav a:not(.btn) { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .1em; text-transform: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 28px; min-height: 54px; }
  .brand img { width: 68px; height: 68px; border-width: 2px; }
  .site-header .wrap { padding-right: calc(var(--gutter) + 50px); gap: 12px; filter: none; } /* filter rompería el menú fijo */
  .site-header .wrap::before { top: 14px; bottom: 14px; background: #0B0B0C; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%); }
  .menu-toggle { width: 42px; height: 42px; }
  .menu-toggle span { top: 20px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual .arch { max-width: 300px; margin: 0 auto; }
  .medallion { width: 96px; height: 96px; left: -20px; bottom: 30px; }
  .hero-scroll { display: none; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .split, .form-layout { grid-template-columns: 1fr; }
  .photo-stack { max-width: 520px; }

  .wa-float { bottom: 84px; right: 16px; }
  .wa-float .fab { width: 56px; height: 56px; }
  .wa-float .bubble { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 95;
    background: rgba(0, 0, 0, .95); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .mobile-bar .btn { min-height: 48px; font-size: 12px; letter-spacing: .16em; --pad: 12px 10px; }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust li { padding: 20px 12px; font-size: 11px; letter-spacing: .14em; gap: 10px; }
  .trust svg { width: 22px; height: 22px; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .notice { grid-template-columns: 1fr; }
  .photo-stack { padding: 0 24px 44px 0; }
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row > * { grid-column: 1 !important; }
  .contact-card { grid-template-columns: 44px 1fr; }
  .contact-card .go { display: none; }
  .contact-card .ic { width: 44px; height: 44px; }
  .cta-band .bg-logo { width: 360px; }
  .brand small { letter-spacing: .26em; }
}

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