:root {
  --navy-950: #05101f;
  --navy-900: #07162c;
  --navy-800: #0a2342;
  --navy-700: #123862;
  --gold-500: #c9a35f;
  --gold-400: #ddbd7c;
  --gold-200: #f2e2bd;
  --ink: #142033;
  --muted: #617087;
  --line: #dfe5ec;
  --paper: #f7f5f0;
  --white: #fff;
  --shadow: 0 25px 65px rgba(5, 16, 31, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(5, 16, 31, .94);
  border-color: rgba(255, 255, 255, .1);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 189, 124, .6);
  border-radius: 50%;
}
.brand-mark svg { width: 27px; }
.brand-mark path {
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a {
  position: relative;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s ease;
}
.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width .25s ease;
}
.main-nav > a:hover { color: var(--white); }
.main-nav > a:hover::after { width: 100%; }
.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(221, 189, 124, .75);
  border-radius: 999px;
}
.nav-cta:hover { color: var(--navy-950) !important; background: var(--gold-400); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 790px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 36%, rgba(201, 163, 95, .13), transparent 23%),
    linear-gradient(120deg, var(--navy-950) 0%, var(--navy-900) 56%, #0b2849 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -58% auto;
  width: 760px;
  aspect-ratio: 1;
  border: 1px solid rgba(221, 189, 124, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(221, 189, 124, .035), 0 0 0 180px rgba(221, 189, 124, .025);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: linear-gradient(to right, black, transparent 70%);
  mask-image: linear-gradient(to right, black, transparent 70%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 76px;
  padding-top: 110px;
  padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-400); }
.hero h1 {
  max-width: 780px;
  margin: 25px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--gold-400); }
.hero-lead {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 19px;
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { color: var(--navy-950); background: var(--gold-400); box-shadow: 0 12px 30px rgba(201, 163, 95, .18); }
.btn-primary:hover { background: #e8ca8b; box-shadow: 0 16px 34px rgba(201, 163, 95, .25); }
.btn-secondary { color: var(--white); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.05); }
.btn-secondary:hover { background: rgba(255,255,255,.1); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 29px; }
.hero-meta span {
  padding: 7px 12px;
  color: rgba(255,255,255,.69);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
}
.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.justice-emblem {
  position: relative;
  z-index: 2;
  width: min(76%, 370px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221,189,124,.12), rgba(221,189,124,.02) 63%, transparent 64%);
  filter: drop-shadow(0 35px 55px rgba(0,0,0,.22));
}
.justice-emblem svg { width: 100%; }
.emblem-ring { fill: none; stroke: rgba(221, 189, 124, .34); stroke-width: 1; stroke-dasharray: 2 7; }
.emblem-lines { fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; animation: spin 28s linear infinite; }
.orbit-one::before, .orbit-two::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; background: var(--gold-400); border-radius: 50%; box-shadow: 0 0 22px var(--gold-400); }
.orbit-two { width: 500px; height: 500px; border-style: dashed; animation: spin 42s linear infinite reverse; }
.orbit-two::before { top: 50%; left: -4px; width: 6px; height: 6px; }
@keyframes spin { to { transform: rotate(360deg); } }
.visual-label {
  position: absolute;
  z-index: 3;
  padding: 10px 17px;
  color: var(--gold-200);
  background: rgba(5,16,31,.78);
  border: 1px solid rgba(221,189,124,.28);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.label-top { top: 70px; right: 5px; }
.label-bottom { bottom: 74px; left: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; z-index: 4; width: 28px; height: 46px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 4px; height: 7px; background: var(--gold-400); border-radius: 99px; transform: translateX(-50%); animation: scroll 1.8s ease infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, -4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 15px); } }

.section { padding: 118px 0; }
.section-heading { max-width: 700px; margin-bottom: 53px; }
.section-heading h2, .coverage-copy h2, .contact-copy h2 {
  margin: 16px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.7vw, 58px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.services { background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 315px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 31px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(10,35,66,.08);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 35px rgba(7,22,44,.05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card.featured { grid-column: span 3; }
.service-card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(201,163,95,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(201,163,95,.035), 0 0 0 44px rgba(201,163,95,.025);
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(201,163,95,.42); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scale(1.18); }
.card-number { position: absolute; top: 24px; right: 25px; color: rgba(10,35,66,.13); font-family: Georgia, "Times New Roman", serif; font-size: 43px; font-weight: 700; line-height: 1; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--gold-500); background: #fbf7ee; border-radius: 14px; }
.service-icon svg { width: 27px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 27px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; }
.service-card p { margin: 0 0 25px; color: var(--muted); }
.service-card a { position: relative; z-index: 2; width: max-content; margin-top: auto; color: var(--navy-700); font-size: 14px; font-weight: 700; }
.service-card a span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.service-card a:hover span { transform: translateX(4px); }

.coverage {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}
.coverage::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -12%;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(221,189,124,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(221,189,124,.025), 0 0 0 160px rgba(221,189,124,.018);
}
.coverage-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 80px; }
.coverage-copy p { max-width: 560px; margin: 0; color: rgba(255,255,255,.66); font-size: 17px; }
.location-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.location-tags span { min-width: 74px; padding: 10px 16px; text-align: center; color: var(--gold-200); border: 1px solid rgba(221,189,124,.28); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.coverage-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.map-lines { width: 100%; opacity: .75; }
.map-lines path { fill: none; stroke: rgba(221,189,124,.29); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-lines path:nth-child(n+2) { stroke-dasharray: 5 9; }
.map-lines circle { fill: var(--gold-400); filter: drop-shadow(0 0 8px rgba(221,189,124,.8)); }
.coverage-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  display: grid;
  place-content: center;
  padding: 28px;
  text-align: center;
  background: rgba(5,16,31,.83);
  border: 1px solid rgba(221,189,124,.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(9px);
  box-shadow: 0 24px 65px rgba(0,0,0,.28), inset 0 0 0 8px rgba(221,189,124,.035);
}
.coverage-stamp span, .coverage-stamp small { color: var(--gold-400); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.coverage-stamp strong { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.1; }

.social { background: var(--white); }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.social-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.social-card:hover { transform: translateY(-6px); border-color: rgba(201,163,95,.48); box-shadow: var(--shadow); }
.social-icon { width: 55px; height: 55px; display: grid; place-items: center; color: var(--navy-800); background: var(--paper); border-radius: 50%; }
.social-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .fill { fill: currentColor; stroke: none; }
.social-card > span:nth-child(2) { min-width: 0; display: grid; }
.social-card small { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.social-card strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 16px; }
.social-card b { color: var(--gold-500); font-size: 22px; }

.contact { padding: 0 0 95px; background: linear-gradient(to bottom, var(--white) 50%, var(--paper) 50%); }
.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 65px;
  padding: 56px;
  color: var(--white);
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 75px rgba(5,16,31,.22);
}
.contact-copy p { margin: 0; color: rgba(255,255,255,.63); }
.contact-options { display: grid; gap: 12px; }
.phone-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 15px;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.phone-card:hover { transform: translateX(5px); background: rgba(255,255,255,.11); border-color: rgba(221,189,124,.3); }
.phone-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--navy-950); background: var(--gold-400); border-radius: 50%; }
.phone-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-card span:nth-child(2) { display: grid; }
.phone-card small { color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.phone-card strong { margin-top: 2px; font-size: 20px; }
.phone-card b { color: var(--gold-400); font-size: 22px; }

.site-footer { padding: 45px 0; background: var(--paper); border-top: 1px solid rgba(10,35,66,.07); }
.footer-layout { display: grid; grid-template-columns: 1.3fr auto auto; align-items: center; gap: 40px; }
.footer-brand { display: grid; }
.footer-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.footer-brand span, .site-footer p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 22px; color: var(--muted); font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: var(--navy-800); }
.mobile-contact-bar { display: none; }

/* El contenido siempre permanece visible. JavaScript solo mejora la navegación. */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .main-nav { gap: 18px; }
  .hero-layout { grid-template-columns: 1fr; gap: 15px; padding-top: 150px; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 430px; }
  .justice-emblem { width: 310px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 420px; height: 420px; }
  .label-top { right: 12%; }
  .label-bottom { left: 12%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.featured { grid-column: span 1; }
  .service-card:last-child { grid-column: 1 / -1; }
  .coverage-layout { grid-template-columns: 1fr; gap: 35px; }
  .coverage-art { min-height: 360px; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 110px; }
  .contact-panel { grid-template-columns: 1fr; gap: 35px; }
  .footer-layout { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header { background: rgba(5,16,31,.94); border-color: rgba(255,255,255,.08); backdrop-filter: blur(15px); }
  .nav-wrap { min-height: 74px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { display: none; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
  }
  .menu-toggle span { width: 21px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    inset: 74px 0 auto;
    height: calc(100dvh - 74px);
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 30px;
    background: var(--navy-950);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { padding: 15px 12px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav > a::after { display: none; }
  .nav-cta { border: 0; border-radius: 0; }
  .hero-layout { padding-top: 125px; padding-bottom: 50px; }
  .hero h1 { margin-top: 20px; font-size: clamp(44px, 14vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .hero-meta { margin-top: 22px; }
  .hero-visual { min-height: 330px; }
  .justice-emblem { width: 230px; }
  .orbit-one { width: 270px; height: 270px; }
  .orbit-two { width: 325px; height: 325px; }
  .visual-label { padding: 8px 12px; font-size: 9px; }
  .label-top { top: 25px; right: 3px; }
  .label-bottom { bottom: 30px; left: 4px; }
  .scroll-cue { display: none; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2, .coverage-copy h2, .contact-copy h2 { font-size: 38px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card.featured, .service-card:last-child { grid-column: auto; min-height: 280px; padding: 26px; }
  .coverage { padding-bottom: 74px; }
  .coverage-art { min-height: 290px; }
  .coverage-stamp { width: 180px; height: 180px; }
  .coverage-stamp strong { font-size: 20px; }
  .social-card { grid-template-columns: auto minmax(0, 1fr) auto; padding: 19px; }
  .social-icon { width: 48px; height: 48px; }
  .contact { padding-bottom: 70px; }
  .contact-panel { padding: 32px 22px; border-radius: 22px; }
  .phone-card { padding: 13px; gap: 12px; }
  .phone-icon { width: 43px; height: 43px; }
  .phone-card strong { font-size: 17px; }
  .site-footer { padding-bottom: 105px; }
  .footer-links { flex-wrap: wrap; }
  .mobile-contact-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    color: var(--navy-950);
    background: var(--gold-400);
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(5,16,31,.28);
  }
  .mobile-contact-bar a { padding: 13px 8px; text-align: center; font-size: 13px; font-weight: 800; }
  .mobile-contact-bar a + a { border-left: 1px solid rgba(5,16,31,.2); }
}

@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; }
}
