/* Lex Corporativo — sitio estático listo para Cloudflare */
:root {
  --navy: #081326;
  --navy-2: #0d1f3e;
  --navy-3: #13294d;
  --gold: #c6a15b;
  --gold-light: #e1c98f;
  --cream: #f5f1e8;
  --paper: #fbfaf7;
  --ink: #152033;
  --muted: #697386;
  --line: #ddd9cf;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(8, 19, 38, .12);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  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; }

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

button, a { -webkit-tap-highlight-color: transparent; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(8, 19, 38, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(8, 19, 38, .96);
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225,201,143,.7);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: .08em;
}

.brand-text small {
  margin-top: 5px;
  font-size: 9px;
  color: rgba(255,255,255,.64);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  font-weight: 600;
}

.main-nav > a:not(.nav-call) {
  position: relative;
  padding: 28px 0;
}

.main-nav > a:not(.nav-call)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 1px;
  background: var(--gold-light);
  transition: right .25s ease;
}

.main-nav > a:not(.nav-call):hover::after { right: 0; }

.nav-call {
  padding: 12px 17px;
  border: 1px solid rgba(225,201,143,.5);
  border-radius: 999px;
  color: var(--gold-light);
  transition: background .25s ease, color .25s ease;
}

.nav-call:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 1.5px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}

/* Shared */
.section { padding: 112px 0; }

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow-dark { color: #907238; }

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2,
.documents-copy h2,
.statement-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.025em;
}

.section-heading h2,
.documents-copy h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
}

.heading-line {
  width: 74px;
  height: 1px;
  margin-top: 26px;
  background: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  min-height: 790px;
  padding: 180px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(20deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  width: 500px;
  height: 500px;
  right: -150px;
  top: 100px;
  background: radial-gradient(circle, rgba(198,161,91,.19), transparent 68%);
}

.hero-glow-two {
  width: 420px;
  height: 420px;
  left: -220px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(47,82,130,.28), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  align-items: center;
  gap: 76px;
}

.hero-copy { max-width: 730px; }

.hero h1 {
  margin: 0;
  max-width: 790px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.6vw, 92px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-primary {
  color: var(--navy);
  background: var(--gold-light);
}

.btn-primary:hover { background: #ead7a7; }

.btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}

.btn-secondary:hover { background: rgba(255,255,255,.09); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.hero-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
}

.hero-panel {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  border: 1px solid rgba(225,201,143,.22);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.015)),
    rgba(255,255,255,.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px rgba(0,0,0,.18);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -120px;
  bottom: 50px;
  border: 1px solid rgba(225,201,143,.14);
  border-radius: 50%;
}

.monogram {
  position: relative;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  border: 1px solid rgba(225,201,143,.38);
  border-radius: 50%;
  color: var(--gold-light);
}

.monogram::before,
.monogram::after {
  content: "";
  position: absolute;
  width: 116%;
  height: 1px;
  background: rgba(225,201,143,.18);
  transform: rotate(45deg);
}

.monogram::after { transform: rotate(-45deg); }

.monogram span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 1;
}

.hero-panel-copy {
  position: relative;
  z-index: 1;
}

.panel-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-panel-copy strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
}

.hero-panel-copy p {
  max-width: 340px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

/* Quick info */
.quick-info {
  position: relative;
  z-index: 3;
  margin-top: -36px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-card {
  min-height: 155px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 30px;
}

.quick-card + .quick-card { border-left: 1px solid var(--line); }

.quick-number {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.quick-card small,
.footer-block small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.quick-card p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 245px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(198,161,91,.6);
  box-shadow: 0 22px 44px rgba(8,19,38,.09);
}

.service-card.featured {
  color: var(--white);
  border-color: var(--navy-3);
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198,161,91,.32);
  border-radius: 50%;
  color: var(--gold);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 44px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

/* Documents */
.documents-section {
  background: var(--cream);
}

.documents-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.documents-copy {
  position: sticky;
  top: 120px;
}

.documents-copy h2 { max-width: 460px; }

.documents-note {
  display: inline-flex;
  margin: 24px 0 0;
  padding: 9px 13px;
  border: 1px solid rgba(144,114,56,.3);
  border-radius: 999px;
  color: #7e6739;
  font-size: 12px;
  font-weight: 700;
}

.documents-list { border-top: 1px solid #cec8bb; }

.document-item {
  min-height: 98px;
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #cec8bb;
}

.document-item > span {
  color: #9f8450;
  font-family: Georgia, "Times New Roman", serif;
}

.document-item h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.document-item i {
  color: #9f8450;
  font-style: normal;
  font-size: 20px;
  transition: transform .2s ease;
}

.document-item:hover i { transform: translate(4px, -4px); }

/* Statement */
.statement { padding: 108px 0; }

.statement-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.statement-brand {
  min-height: 380px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225,201,143,.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(198,161,91,.12), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,.04), transparent);
}

.statement-mark {
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(225,201,143,.4);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(84px, 12vw, 160px);
  letter-spacing: -.08em;
  opacity: .9;
}

.statement-copy h2 {
  max-width: 650px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
}

.statement-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(225,201,143,.5);
  color: var(--gold-light);
  font-weight: 700;
}

.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(4px, -4px); }

/* Coverage */
.split-heading {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}

.split-heading > p {
  max-width: 350px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.coverage-card {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(140deg, transparent 58%, rgba(198,161,91,.07)),
    var(--white);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.coverage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198,161,91,.55);
}

.coverage-card span {
  color: rgba(21,32,51,.12);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
}

.coverage-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

/* Contact */
.contact-section {
  padding: 34px 0 90px;
}

.contact-card {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding: clamp(32px, 6vw, 70px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(198,161,91,.22), transparent 28%),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  font-size: clamp(42px, 6vw, 72px);
}

.contact-phone {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
}

.contact-hours {
  margin: 12px 0 0;
  color: rgba(255,255,255,.6);
}

.btn-large { min-height: 58px; padding-inline: 24px; }

/* Footer */
.site-footer {
  padding: 48px 0;
  color: rgba(255,255,255,.66);
  background: #050d1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr .9fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.footer-block p,
.footer-block a {
  margin: 0;
  font-size: 13px;
}

.footer-block a {
  color: var(--gold-light);
  font-weight: 700;
}

.footer-block p + p,
.footer-block a + p { margin-top: 7px; }

/* Floating phone button */
.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  min-height: 50px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: var(--navy);
  background: var(--gold-light);
  box-shadow: 0 14px 30px rgba(8,19,38,.23);
  font-size: 13px;
  font-weight: 800;
}

.floating-call svg {
  width: 18px;
  fill: currentColor;
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.animate-in {
  animation: revealUp .62s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@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; animation: none !important; }
}

/* Tablet */
@media (max-width: 980px) {
  .menu-toggle { display: grid; }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    height: calc(100vh - 82px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px 34px;
    background: rgba(8,19,38,.985);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav > a:not(.nav-call) {
    padding: 18px 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
  }

  .main-nav > a:not(.nav-call)::after { display: none; }

  .nav-call {
    margin-top: 24px;
    text-align: center;
    font-size: 16px;
  }

  .menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-panel {
    min-height: 360px;
    max-width: 680px;
    width: 100%;
  }

  .quick-grid { grid-template-columns: 1fr; }
  .quick-card + .quick-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) { grid-column: auto; }

  .documents-wrap,
  .statement-grid { grid-template-columns: 1fr; gap: 50px; }

  .documents-copy { position: static; }

  .coverage-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .floating-call { display: inline-flex; }
}

/* Mobile */
@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

  .nav-wrap { min-height: 74px; }
  .main-nav { top: 74px; height: calc(100vh - 74px); }

  .brand-mark { width: 38px; height: 38px; font-size: 21px; }
  .brand-text strong { font-size: 18px; }

  .hero {
    padding: 132px 0 72px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 66px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-panel {
    min-height: 310px;
    padding: 25px;
    border-radius: 22px;
  }

  .monogram {
    width: 130px;
    height: 130px;
  }

  .monogram span { font-size: 65px; }

  .hero-panel-copy strong { font-size: 30px; }

  .quick-info { margin-top: -24px; }

  .quick-card {
    min-height: 120px;
    padding: 22px;
  }

  .section { padding: 82px 0; }

  .services-grid { grid-template-columns: 1fr; }

  .service-card {
    min-height: 190px;
    padding: 24px;
  }

  .service-card h3 { margin-top: 28px; }

  .document-item {
    grid-template-columns: 36px 1fr 22px;
    gap: 12px;
  }

  .document-item h3 { font-size: 21px; }

  .statement {
    padding: 82px 0;
  }

  .statement-brand { min-height: 270px; }

  .split-heading {
    display: block;
  }

  .split-heading > p {
    margin-top: 18px;
    text-align: left;
  }

  .coverage-grid { grid-template-columns: 1fr; }

  .coverage-card { min-height: 190px; }

  .contact-section { padding-bottom: 80px; }

  .contact-card {
    min-height: 390px;
    grid-template-columns: 1fr;
    align-items: end;
    padding: 30px 24px;
    border-radius: 22px;
  }

  .contact-action .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .site-footer { padding-bottom: 96px; }

  .floating-call {
    right: 14px;
    bottom: 14px;
  }
}
