:root {
  --bg: #07101d;
  --bg-soft: #0d1726;
  --panel: #101c2c;
  --panel-light: #f4f1ea;
  --text: #edf1f5;
  --muted: #9aa6b5;
  --ink: #18202b;
  --accent: #c7a76c;
  --accent-bright: #e1c58e;
  --line: rgba(255,255,255,.11);
  --shadow: 0 24px 70px rgba(0,0,0,.22);
  --radius-lg: 34px;
  --radius-md: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(199,167,108,.12), transparent 28%),
    linear-gradient(180deg, #07101d 0%, #091322 45%, #07101d 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.page-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .1;
  pointer-events: none;
  z-index: -1;
}
.page-glow-one { background: var(--accent); top: 18%; left: -210px; }
.page-glow-two { background: #436d9f; right: -240px; bottom: 12%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(7,16,29,.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border-radius: 14px 4px 14px 4px;
  font-weight: 800;
  letter-spacing: .03em;
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: .95rem; letter-spacing: .01em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .76rem; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 10px 13px; color: #c9d1dc; font-size: .9rem; border-radius: 999px; transition: .2s ease; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.main-nav .nav-highlight { border: 1px solid rgba(199,167,108,.34); color: var(--accent-bright); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03); color: #fff; padding: 0; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: .25s ease; }

.section-shell { min-height: 100vh; display: flex; align-items: center; padding: 150px 0 80px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-bright); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 750; }
.eyebrow > span { width: 34px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .availability-copy h2, .closing-card h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .99;
}
.hero h1 { max-width: 780px; font-size: clamp(3.5rem, 7vw, 7.3rem); }
.hero h1 em { color: var(--accent-bright); font-style: normal; }
.hero-lead { margin: 26px 0 0; font-size: clamp(1.15rem, 2vw, 1.55rem); color: #dbe1e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; font-size: .9rem; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, var(--accent-bright), var(--accent)); color: #0b1420; }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #fff; }
.hero-pills { margin-top: 34px; display: flex; gap: 9px; flex-wrap: wrap; }
.hero-pills span { padding: 8px 12px; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; font-size: .78rem; }

.hero-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.legal-orbit { position: absolute; border: 1px solid rgba(199,167,108,.16); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; animation: orbitSpin 26s linear infinite; }
.orbit-two { width: 310px; height: 310px; border-style: dashed; animation: orbitSpin 18s linear infinite reverse; }
.hero-card { position: relative; width: min(330px, 88%); aspect-ratio: .86; display: flex; flex-direction: column; justify-content: center; padding: 34px; overflow: hidden; }
.glass-card { background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.15); border-radius: 30px; box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.hero-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(199,167,108,.12); right: -80px; top: -80px; }
.hero-card-icon { width: 72px; height: 72px; color: var(--accent-bright); }
.hero-card-kicker { margin: 30px 0 6px; color: var(--muted); font-size: .83rem; text-transform: uppercase; letter-spacing: .14em; }
.hero-card h2 { margin: 0; font-family: Georgia, serif; font-size: 4rem; font-weight: 500; }
.hero-card > p:not(.hero-card-kicker) { margin: 0; color: #d6dce5; }
.availability-line { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: #bac3ce; font-size: .85rem; }
.availability-line span { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; margin-right: 8px; box-shadow: 0 0 0 6px rgba(199,167,108,.11); }

.quick-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick-grid article { min-height: 128px; display: flex; flex-direction: column; justify-content: center; padding: 20px 28px; border-right: 1px solid var(--line); }
.quick-grid article:last-child { border-right: 0; }
.quick-grid strong { font-family: Georgia, serif; color: var(--accent-bright); font-size: 1.45rem; font-weight: 500; }
.quick-grid span { margin-top: 5px; color: var(--muted); font-size: .8rem; }

.content-section { padding: 120px 0; }
.section-heading { max-width: 720px; }
.section-heading h2 { font-size: clamp(2.8rem, 5.5vw, 5.6rem); }
.section-heading p { color: var(--muted); margin: 20px 0 0; max-width: 560px; }
.area-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; margin-top: 54px; }
.area-card { position: relative; min-height: 360px; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.02)); overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.area-card:hover { transform: translateY(-6px); border-color: rgba(199,167,108,.38); }
.area-card::after { content: ""; position: absolute; inset: auto -70px -90px auto; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(199,167,108,.15); }
.card-number { position: absolute; right: 34px; top: 28px; font-family: Georgia, serif; color: rgba(255,255,255,.14); font-size: 5rem; line-height: 1; }
.line-icon { width: 64px; height: 64px; color: var(--accent-bright); }
.area-card h3 { margin: 52px 0 0; font-family: Georgia, serif; font-size: 2.6rem; font-weight: 500; }
.area-card p { color: var(--muted); }
.service-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service-list li { padding: 8px 12px; border-radius: 999px; background: rgba(199,167,108,.09); border: 1px solid rgba(199,167,108,.16); color: #d9c398; font-size: .82rem; }

.section-contrast { background: var(--panel-light); color: var(--ink); }
.section-contrast .eyebrow { color: #8e6d32; }
.section-contrast .section-heading p { color: #69707a; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.service-card { min-height: 280px; position: relative; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid rgba(16,28,44,.09); box-shadow: 0 18px 48px rgba(15,25,40,.07); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 26px 60px rgba(15,25,40,.11); }
.service-index { position: absolute; top: 24px; right: 28px; color: #a2a7ad; font-size: .74rem; letter-spacing: .14em; }
.service-icon { width: 58px; height: 58px; color: #8e6d32; }
.service-card h3 { margin: 78px 0 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }

.coverage-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.coverage-panel { position: relative; min-height: 410px; padding: 42px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(145deg, #101d2f, #0a1421); display: grid; align-content: center; gap: 20px; }
.coverage-panel article { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.coverage-panel article div { display: grid; }
.coverage-panel small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.coverage-panel strong { margin-top: 4px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 500; }
.location-dot { width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 8px rgba(199,167,108,.1); }
.map-lines { position: absolute; inset: 0; opacity: .35; }
.route { position: absolute; display: block; border: 1px solid rgba(199,167,108,.34); border-radius: 50%; }
.route-one { width: 380px; height: 260px; top: -70px; left: 18%; transform: rotate(-18deg); }
.route-two { width: 320px; height: 230px; bottom: -80px; right: -50px; transform: rotate(24deg); }
.route-three { width: 160px; height: 160px; top: 32%; left: 5%; border-style: dashed; }

.availability-section { padding: 110px 0; position: relative; background: linear-gradient(130deg, #b7955a, #d5b87e); color: #101722; overflow: hidden; }
.availability-section::before { content: ""; position: absolute; inset: -40% auto auto 48%; width: 650px; height: 650px; border: 1px solid rgba(16,23,34,.12); border-radius: 50%; }
.availability-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.eyebrow-light { color: #36404c; }
.availability-copy h2 { max-width: 720px; font-size: clamp(3rem, 6vw, 6.2rem); }
.availability-copy h2 strong { font-weight: 500; color: #fff; text-shadow: 0 6px 28px rgba(0,0,0,.16); }
.availability-copy p { font-size: 1.1rem; }
.clock-visual { display: grid; place-items: center; }
.clock-ring { width: min(330px, 70vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(16,23,34,.2); display: grid; place-items: center; position: relative; animation: pulseRing 4s ease-in-out infinite; }
.clock-ring::before, .clock-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(16,23,34,.12); }
.clock-ring::before { inset: 22px; }
.clock-ring::after { inset: 50px; }
.clock-center { width: 130px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; background: #0c1624; color: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.clock-center strong { font-family: Georgia, serif; font-size: 3.7rem; line-height: 1; font-weight: 500; }
.clock-center span { margin-top: 7px; color: var(--accent-bright); font-size: .68rem; letter-spacing: .18em; }

.closing-section { padding: 100px 0; }
.closing-card { padding: 54px; border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.closing-card h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.closing-card p { color: var(--muted); }
.closing-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; max-width: 360px; }
.closing-meta span { padding: 9px 12px; border-radius: 999px; color: #d7dee6; border: 1px solid var(--line); font-size: .78rem; }

.site-footer { padding: 34px 0 42px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-grid > div { display: grid; }
.footer-grid strong { color: #e6ebf1; font-size: .9rem; }
.footer-grid span { font-size: .78rem; }
.footer-info { text-align: right; }

/* El contenido es visible por defecto. Las animaciones solo se activan si main.js carga correctamente. */
.reveal { opacity: 1; transform: none; }
.animations-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.animations-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes pulseRing { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

@media (max-width: 920px) {
  .hero-grid, .coverage-grid, .availability-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; }
  .hero h1 { font-size: clamp(3.3rem, 12vw, 6.2rem); }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid article:nth-child(2) { border-right: 0; }
  .quick-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .area-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .service-card h3 { margin-top: 54px; }
  .closing-card { align-items: flex-start; flex-direction: column; }
  .closing-meta { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 76px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: .84rem; }
  .brand-copy small { font-size: .68rem; }
  .menu-toggle { display: block; z-index: 3; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 90px 28px 40px;
    background: rgba(7,16,29,.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .25s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { font-family: Georgia, serif; font-size: 1.7rem; padding: 10px 16px; }
  .main-nav .nav-highlight { font-family: inherit; font-size: .95rem; margin-top: 8px; }
  .section-shell { padding-top: 118px; }
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.9rem); }
  .hero-visual { min-height: 390px; }
  .orbit-one { width: 330px; height: 330px; }
  .orbit-two { width: 250px; height: 250px; }
  .hero-card { width: min(290px, 88%); padding: 28px; }
  .hero-card h2 { font-size: 3.4rem; }
  .quick-grid article { min-height: 110px; padding: 18px; }
  .quick-grid strong { font-size: 1.2rem; }
  .content-section { padding: 90px 0; }
  .section-heading h2 { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  .area-card { min-height: 320px; padding: 28px; }
  .area-card h3 { font-size: 2.2rem; }
  .card-number { font-size: 4rem; right: 26px; }
  .coverage-panel { min-height: 340px; padding: 26px; }
  .availability-section { padding: 88px 0; }
  .availability-copy h2 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .closing-section { padding: 80px 0; }
  .closing-card { padding: 34px 26px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-info { text-align: left; }
}

@media (max-width: 430px) {
  .brand-copy small { display: none; }
  .hero h1 { font-size: 3.15rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-grid article:last-child { border-bottom: 0; }
  .hero-visual { min-height: 360px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 220px; height: 220px; }
}

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