/* Solarys Hotels — landing. Una sola identidad (azul de la marca sobre papel claro, secciones en azul noche), sin tema oscuro automático. */
:root {
  --ink: #0a1230;
  --ink-2: #1d2747;
  --muted: #55607f;
  --paper: #f6f7fc;
  --card: #ffffff;
  --line: rgba(10, 18, 48, .1);
  --blue: #2563eb;
  --blue-deep: #0369a1;
  --indigo: #4f46e5;
  --sol: #ffb020;
  --soft: rgba(37, 99, 235, .09);
  --ok: #10b981;
  --f-display: 'Outfit', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .88em; background: var(--soft); color: var(--blue-deep); padding: 1px 6px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .55); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap-estrecho { width: min(780px, 100% - 40px); }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.saltar:focus { top: 12px; }

/* ── Botones y etiquetas ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 600 15.5px/1 var(--f-body); color: #fff; padding: 15px 24px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--indigo)); box-shadow: 0 12px 28px rgba(37, 99, 235, .3); transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37, 99, 235, .4); filter: brightness(1.05); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 12px; box-shadow: 0 8px 20px rgba(37, 99, 235, .25); }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .45), 0 10px 24px rgba(10, 18, 48, .08); filter: none; }
.btn-grande { width: 100%; padding: 17px 24px; font-size: 16.5px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.etiqueta { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-body); letter-spacing: .13em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.etiqueta-clara { color: var(--sol); }
.punto { width: 8px; height: 8px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--muted); max-width: 58ch; }

/* ── Navegación ── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.fijo { background: rgba(246, 247, 252, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { width: min(1160px, 100% - 40px); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.marca-logo { width: 38px; height: 38px; }
.marca span { display: flex; flex-direction: column; line-height: 1.05; padding-top: 3px; }
.marca strong { font: 400 24px/1.25 'Permanent Marker', var(--f-display); letter-spacing: .01em; }
.marca em { font: 700 10.5px var(--f-body); font-style: normal; letter-spacing: .15em; text-transform: uppercase; color: var(--blue); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 6px 0; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease), color .2s; }
.nav-links a:hover { background-size: 100% 2px; color: var(--blue); }

/* ── Hero ── */
.hero { position: relative; padding: 132px 0 112px; overflow: clip; background: radial-gradient(900px 520px at 88% -8%, rgba(255, 176, 32, .2), transparent 62%), radial-gradient(900px 600px at -6% 30%, rgba(37, 99, 235, .12), transparent 60%), var(--paper); }
.hero-sol { position: absolute; width: min(900px, 120vw); height: min(900px, 120vw); right: -14%; top: -30%; opacity: .1; animation: gira 140s linear infinite; pointer-events: none; }
.hero-halo { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(10, 18, 48, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 18, 48, .035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 30% 30%, #000 10%, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero h1 { font-size: clamp(40px, 5.1vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, var(--blue-deep) 5%, var(--indigo) 55%, #9b5cf0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-hechos { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--muted); }
.hero-hechos li { position: relative; padding-left: 20px; }
.hero-hechos li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

@keyframes gira { to { transform: rotate(360deg); } }

/* Ventana del producto */
.hero-vista { position: relative; }
.ventana { background: #fff; border-radius: 22px; box-shadow: 0 50px 90px -30px rgba(10, 18, 48, .35), 0 0 0 1px var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .5s var(--ease); }
.hero-vista:hover .ventana { transform: perspective(1400px) rotateY(0) rotateX(0); }
.ventana-barra { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 12px; }
.ventana-barra i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.ventana-barra span { margin-left: 10px; font-weight: 500; }
.ventana-cuerpo { display: grid; grid-template-columns: 52px 1fr; }
.ventana-lateral { background: #f0f3fb; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ventana-lateral b { width: 24px; height: 24px; border-radius: 8px; background: rgba(10, 18, 48, .1); }
.ventana-lateral b.on { background: var(--blue); box-shadow: 0 6px 14px rgba(37, 99, 235, .4); }
.ventana-main { padding: 18px; min-width: 0; }
.vm-cab { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.vm-cab strong { display: block; font: 700 17px var(--f-display); }
.vm-cab small { color: var(--muted); font-size: 12px; }
.pastilla { font-size: 11.5px; font-weight: 600; color: var(--blue); background: var(--soft); padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.cuartos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cuarto { border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 1px; border: 1px solid transparent; transition: background .5s, border-color .5s, color .5s; }
.cuarto b { font: 700 15px var(--f-display); }
.cuarto small { font-size: 10.5px; font-weight: 500; }
.cuarto.libre { background: #e8f8f1; color: #0b7a55; border-color: #c4ecdb; }
.cuarto.ocupada { background: #e7efff; color: #1e46b8; border-color: #c9d9fb; }
.cuarto.reservada { background: #efeaff; color: #5b3fc4; border-color: #dcd3fb; }
.cuarto.limpieza { background: #fff4de; color: #a56500; border-color: #fbe1ad; }
.cuarto.mant { background: #eef0f5; color: #5d6679; border-color: #dde1ea; }
.cuarto.pulso { animation: pulso 1.2s var(--ease); }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, .55); } 100% { box-shadow: 0 0 0 14px rgba(139, 92, 246, 0); } }
.linea { margin-top: 16px; }
.linea-dias { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 10.5px; font-weight: 600; color: var(--muted); text-align: center; padding-bottom: 6px; }
.linea-fila { position: relative; height: 22px; margin-bottom: 6px; border-radius: 8px; background: repeating-linear-gradient(90deg, #f0f3fb 0 calc(100% / 7 - 2px), transparent calc(100% / 7 - 2px) calc(100% / 7)); }
.linea-fila i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100% / 7 + 2px); width: calc(var(--l) * 100% / 7 - 4px); border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--indigo)); }
.linea-fila i.alt { background: linear-gradient(90deg, #14b8a6, #0d9488); }
.linea-fila i.nueva { background: repeating-linear-gradient(135deg, #a78bfa 0 6px, #8b5cf6 6px 12px); opacity: 0; transform: scaleX(.3); transform-origin: left; transition: opacity .5s, transform .6s var(--ease); }
.linea-fila i.nueva.ya { opacity: 1; transform: none; }

.aviso { position: absolute; left: -36px; bottom: -50px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 13px 18px 13px 13px; box-shadow: 0 24px 50px -12px rgba(10, 18, 48, .35), 0 0 0 1px var(--line); opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); max-width: 300px; }
.aviso.ya { opacity: 1; transform: none; }
.aviso-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--sol), #ff8a1f); color: #fff; display: grid; place-items: center; }
.aviso strong { display: block; font-size: 13px; line-height: 1.3; }
.aviso small { font-size: 12px; color: var(--muted); }

/* ── Hechos ── */
.hechos { background: var(--ink); color: #fff; }
.hechos-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hechos-grid > div { padding: 30px 26px; border-left: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 6px; }
.hechos-grid > div:first-child { border-left: 0; padding-left: 0; }
.hechos strong { font: 700 18px var(--f-display); }
.hechos span { font-size: 14px; color: rgba(255, 255, 255, .65); line-height: 1.5; }
.hechos code { background: rgba(255, 255, 255, .1); color: #bcd2ff; }

/* ── Secciones ── */
.seccion { padding: 112px 0; }
.seccion-suave { background: linear-gradient(180deg, #eef1fa, var(--paper)); }
.seccion-cab { max-width: 720px; margin-bottom: 52px; }
.seccion-cab h2, .portal h2, .contacto h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.seccion-cab .lead { margin-top: 18px; }

/* Funciones */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tarjeta { position: relative; background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); overflow: hidden; }
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(37, 99, 235, .3), 0 24px 40px -20px rgba(10, 18, 48, .2); }
.tarjeta h3 { font-size: 21px; font-weight: 700; }
.tarjeta p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.t-grande { grid-column: span 2; }
.t-oscura { background: var(--ink); color: #fff; box-shadow: none; }
.t-oscura p { color: rgba(255, 255, 255, .7); }
.t-oscura:hover { box-shadow: 0 24px 40px -20px rgba(10, 18, 48, .5); }
.mini-cal { margin-top: 26px; display: grid; gap: 8px; }
.mc-fila { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mc-fila > div { position: relative; height: 24px; border-radius: 8px; background: repeating-linear-gradient(90deg, #f0f3fb 0 calc(100% / 7 - 2px), transparent calc(100% / 7 - 2px) calc(100% / 7)); }
.mc-fila i { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100% / 7 + 2px); width: calc(var(--l) * 100% / 7 - 4px); border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--indigo)); transform-origin: left; }
.mc-fila i.b { background: linear-gradient(90deg, #14b8a6, #0d9488); }
.mc-fila i.c { background: repeating-linear-gradient(135deg, #a78bfa 0 6px, #8b5cf6 6px 12px); }
.barras { margin-top: 26px; height: 92px; display: flex; align-items: flex-end; gap: 9px; }
.barras i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--sol), rgba(255, 176, 32, .25)); transform-origin: bottom; }
.chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 8px 15px; border-radius: 99px; }

/* Portal */
.portal { position: relative; background: var(--ink); color: #fff; padding: 112px 0; overflow: clip; }
.portal::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 420px at 90% 10%, rgba(37, 99, 235, .35), transparent 65%), radial-gradient(520px 320px at 5% 95%, rgba(255, 176, 32, .12), transparent 65%); pointer-events: none; }
.portal-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.portal .lead { color: rgba(255, 255, 255, .72); margin-top: 20px; }
.portal code { background: rgba(255, 255, 255, .1); color: #bcd2ff; }
.lista-check { margin-top: 26px; display: grid; gap: 12px; }
.lista-check li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .85); font-size: 15.5px; }
.lista-check li::before { content: ''; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: rgba(16, 185, 129, .2); }
.lista-check li::after { content: ''; position: absolute; left: 6px; top: .55em; width: 8px; height: 5px; border-left: 2px solid #34d399; border-bottom: 2px solid #34d399; transform: rotate(-45deg); }
.temas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.tema { display: inline-flex; align-items: center; gap: 9px; font: 600 14px var(--f-body); color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); padding: 10px 16px; border-radius: 99px; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.tema:hover { background: rgba(255, 255, 255, .12); }
.tema:active { transform: scale(.97); }
.tema i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.tema.on { background: #fff; color: var(--ink); border-color: #fff; }

/* Teléfono con temas */
.portal-vista { display: grid; place-items: center; }
.telefono { --acc: #00d632; --bg: #f5eddc; --tx: #2b1503; --card: #f9f4ec; --on: #fff; --fd: 'Outfit', sans-serif; --rad: 18px;
  position: relative; width: min(300px, 100%); aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 10px; background: #0b1020; box-shadow: 0 0 0 2px #1d2747, 0 50px 80px -20px rgba(0, 0, 0, .6); }
.telefono[data-tema='costa'] { --acc: #0b7a9e; --bg: #eef6f8; --tx: #0a2533; --card: #fff; --fd: 'Fraunces', serif; --rad: 14px; }
.telefono[data-tema='boutique'] { --acc: #c9a46a; --bg: #15110e; --tx: #f2eadf; --card: #211b16; --on: #15110e; --fd: 'Cormorant Garamond', serif; --rad: 4px; }
.telefono[data-tema='urbano'] { --acc: #2f46ff; --bg: #f5f5f3; --tx: #101114; --card: #fff; --fd: 'Inter', sans-serif; --rad: 8px; }
.tel-notch { position: absolute; z-index: 3; top: 16px; left: 50%; width: 76px; height: 20px; border-radius: 99px; background: #0b1020; transform: translateX(-50%); }
.tel-pantalla { height: 100%; border-radius: 33px; overflow: hidden; background: var(--bg); color: var(--tx); transition: background .45s, color .45s; display: flex; flex-direction: column; font-family: var(--f-body); }
.tel-barra { display: flex; align-items: center; justify-content: space-between; padding: 44px 18px 12px; font: 600 13px var(--fd); }
.tel-logo { width: 22px; height: 22px; border-radius: 50%; background: var(--acc); transition: background .45s; }
.tel-menu { width: 18px; height: 10px; border-top: 2px solid var(--tx); border-bottom: 2px solid var(--tx); position: relative; }
.tel-menu::after { content: ''; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid var(--tx); }
.tel-hero { padding: 14px 18px 18px; }
.tel-hero small { font-size: 10.5px; opacity: .65; letter-spacing: .05em; }
.tel-hero h4 { font-family: var(--fd); font-size: 27px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; margin: 8px 0 14px; transition: font-family .2s; }
.tel-fechas { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 6px; }
.tel-fechas span { background: var(--card); border-radius: var(--rad); padding: 7px 9px; font-size: 9.5px; opacity: .95; display: flex; flex-direction: column; box-shadow: 0 0 0 1px color-mix(in srgb, var(--tx) 10%, transparent); transition: background .45s, border-radius .3s; }
.tel-fechas b { font-size: 12.5px; font-weight: 600; }
.tel-boton { margin-top: 10px; text-align: center; background: var(--acc); color: var(--on); font-weight: 600; font-size: 12.5px; padding: 11px; border-radius: var(--rad); transition: background .45s, border-radius .3s; }
.telefono[data-tema='terra'] .tel-boton { color: #fff; }
.tel-cuartos { padding: 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tel-cuartos > div { background: var(--card); border-radius: var(--rad); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px color-mix(in srgb, var(--tx) 10%, transparent); transition: background .45s, border-radius .3s; }
.tel-cuartos b { font: 600 12px var(--fd); padding: 8px 10px 0; }
.tel-cuartos small { font-size: 10px; color: var(--acc); font-weight: 600; padding: 0 10px 9px; transition: color .45s; }
.foto { height: 86px; background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 55%, #fff), color-mix(in srgb, var(--acc) 90%, #000)); position: relative; transition: background .45s; }
.foto::after { content: ''; position: absolute; left: 14%; right: 14%; bottom: 0; height: 38%; border-radius: 6px 6px 0 0; background: rgba(255, 255, 255, .35); }
.f2 { filter: hue-rotate(18deg) saturate(.9); }

/* Pasos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: p; position: relative; }
.pasos li { position: relative; }
.pasos li:not(:last-child)::after { content: ''; position: absolute; top: 25px; left: 66px; right: -22px; border-top: 2px dashed rgba(37, 99, 235, .3); }
.paso-n { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 21px var(--f-display); color: #fff; background: linear-gradient(135deg, var(--blue), var(--indigo)); box-shadow: 0 10px 22px rgba(37, 99, 235, .3); }
.pasos h3 { font-size: 23px; margin: 22px 0 10px; font-weight: 700; }
.pasos p { color: var(--muted); font-size: 15.5px; max-width: 34ch; }

/* Planes */
.planes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 880px; }
.plan { position: relative; background: #fff; border-radius: 24px; padding: 34px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-size: 26px; font-weight: 700; }
.plan > p { color: var(--muted); font-size: 15.5px; }
.plan ul { display: grid; gap: 9px; margin: 6px 0 12px; font-size: 15px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan-dest { background: var(--ink); color: #fff; box-shadow: 0 30px 50px -24px rgba(10, 18, 48, .55); }
.plan-dest > p { color: rgba(255, 255, 255, .72); }
.plan-sello { position: absolute; top: 22px; right: 22px; font: 700 11px var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--sol); padding: 6px 12px; border-radius: 99px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 0 0 1px rgba(37, 99, 235, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font: 600 17px var(--f-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; max-width: 62ch; }
.faq a { color: var(--blue); }

/* Contacto */
.contacto { position: relative; background: linear-gradient(160deg, #0a1230, #14245a 70%, #1b2f78); color: #fff; padding: 112px 0; overflow: clip; }
.contacto::before { content: ''; position: absolute; width: 760px; height: 760px; right: -280px; bottom: -380px; background: radial-gradient(circle, rgba(255, 176, 32, .28), transparent 62%); pointer-events: none; }
.contacto-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contacto .lead { color: rgba(255, 255, 255, .75); margin-top: 20px; }
.contacto-alt { margin-top: 30px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.contacto-alt a { color: #fff; font-weight: 600; }
.form { background: #fff; color: var(--ink); border-radius: 26px; padding: 30px; display: grid; gap: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.campo { display: grid; gap: 7px; }
.campo-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo label { font-size: 13.5px; font-weight: 600; }
.campo label small { color: var(--muted); font-weight: 400; }
.campo input, .campo select, .campo textarea { width: 100%; font: 400 15.5px var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.campo textarea { resize: vertical; min-height: 84px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.campo.error input { border-color: #e5484d; background: #fff6f6; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nota { font-size: 13px; color: var(--muted); text-align: center; min-height: 20px; }
.form-nota.ok { color: #0b7a55; font-weight: 600; }
.form-nota.mal { color: #c4262b; font-weight: 500; }
.form.enviado .campo, .form.enviado .campo-2, .form.enviado .btn { display: none; }

/* Pie */
.pie { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 38px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.pie-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.marca-clara strong { color: #fff; }
.marca-clara em { color: #8fb2ff; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.pie nav a { text-decoration: none; }
.pie nav a:hover { color: #fff; }
.pie p { font-size: 13px; width: 100%; }

/* Revelado al hacer scroll (solo si hay JS) */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rv].visto { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero { padding: 112px 0 72px; }
  .hero-grid, .portal-grid, .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-vista { max-width: 560px; margin-inline: auto; width: 100%; }
  .aviso { left: 8px; }
  .nav-links { display: none; }
  .hechos-grid { grid-template-columns: 1fr 1fr; }
  .hechos-grid > div { border-left: 0; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hechos-grid > div:nth-child(-n+2) { border-top: 0; }
  .hechos-grid > div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .bento { grid-template-columns: 1fr 1fr; }
  .pasos { grid-template-columns: 1fr; gap: 34px; }
  .pasos li:not(:last-child)::after { display: none; }
  .seccion, .portal, .contacto { padding: 80px 0; }
}
@media (max-width: 640px) {
  .bento, .planes { grid-template-columns: 1fr; }
  .t-grande { grid-column: auto; }
  .campo-2 { grid-template-columns: 1fr; }
  .hechos-grid { grid-template-columns: 1fr; }
  .hechos-grid > div, .hechos-grid > div:nth-child(even) { border-left: 0; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .hechos-grid > div:first-child { border-top: 0; }
  .form { padding: 22px; }
  .ventana { transform: none; }
  .cuartos { grid-template-columns: repeat(3, 1fr); }
  .cuarto:nth-child(n+10) { display: none; }
  .aviso { position: relative; left: 0; bottom: 0; margin-top: 14px; max-width: none; }
  .btn:not(.btn-sm) { width: 100%; }
  .nav .btn-sm { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sol { animation: none; }
  .js [data-rv] { opacity: 1; transform: none; transition: none; }
  .ventana, .tarjeta, .btn, .aviso { transition: none; }
  .cuarto.pulso { animation: none; }
}
