:root {
  --navy: #18233f;
  --navy-2: #0e1629;
  --gold: #d8b762;
  --gold-2: #f0d487;
  --paper: #fbfaf6;
  --cream: #f2eee5;
  --ink: #171a21;
  --muted: #6c7280;
  --line: rgba(24, 35, 63, 0.12);
  --line-gold: rgba(216, 183, 98, 0.36);
  --radius: 22px;
  --shadow: 0 22px 60px rgba(14, 22, 41, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.lang-copy {
  display: none;
}

body[data-current-lang="en"] .lang-copy[data-lang="en"],
body[data-current-lang="es"] .lang-copy[data-lang="es"] {
  display: block;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 22, 41, 0.94);
  color: #fff;
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: 52px;
  height: 28px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav a {
  padding: 27px 0 23px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover,
.nav a.is-current {
  color: #fff;
  border-color: var(--gold);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switch button.is-active {
  background: var(--gold);
  color: var(--navy-2);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: end;
  background: var(--navy-2);
  color: #fff;
}

.page-hero--home {
  min-height: 760px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.86;
  transform: scale(1.04);
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 22, 41, 0.92), rgba(14, 22, 41, 0.58) 48%, rgba(14, 22, 41, 0.08)),
    linear-gradient(0deg, rgba(14, 22, 41, 0.68), transparent 45%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 110px 0 80px;
}

.kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
.large-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  margin: 0;
  color: #fff8df;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.34);
  font-size: clamp(3rem, 6.3vw, 6.2rem);
}

.page-hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(14, 22, 41, 0.18);
}

.button--gold {
  background: var(--gold);
  color: var(--navy-2);
}

.button--dark {
  background: var(--navy);
  color: #fff;
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.section {
  padding: 96px 0;
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: var(--navy);
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head h2,
.split h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy-2);
  font-size: clamp(2.15rem, 4vw, 4.2rem);
}

.section--navy .section-head h2,
.section--navy .split h2 {
  color: #fff8df;
}

.section-head p,
.split p,
.card p,
.text-block p,
.contact-panel p {
  color: var(--muted);
}

.section--navy p,
.section--navy .card p {
  color: rgba(255, 255, 255, 0.7);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.text-block p {
  margin: 0 0 20px;
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(14, 22, 41, 0.06);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 183, 98, 0.38);
  box-shadow: 0 28px 70px rgba(14, 22, 41, 0.12);
}

.section--navy .card {
  border-color: rgba(216, 183, 98, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.card__body {
  padding: 28px;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 0.5s ease;
}

.card:hover img {
  transform: scale(1.035);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy-2);
  font-size: 1.18rem;
  line-height: 1.25;
}

.section--navy .card h3 {
  color: #fff;
}

.card p {
  margin: 0;
}

.clean-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  color: #384052;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.note {
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(216, 183, 98, 0.12);
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.media-split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: rgba(216, 183, 98, 0.4);
  box-shadow: 0 16px 38px rgba(14, 22, 41, 0.08);
}

.step strong {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 46px;
  padding: 42px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-box {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: calc(var(--radius) - 4px);
  background: var(--navy);
  color: #fff;
  font-style: normal;
}

.contact-box a,
.contact-box span {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 183, 98, 0.24);
}

.footer {
  padding: 32px 0;
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer strong {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.hero-card {
  width: min(520px, 100%);
  margin-top: 38px;
  padding: 22px;
  border: 1px solid rgba(216, 183, 98, 0.28);
  border-radius: var(--radius);
  background: rgba(14, 22, 41, 0.62);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-card__row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(216, 183, 98, 0.2);
}

.hero-card__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-card__row:last-child {
  padding-bottom: 0;
}

.hero-card strong {
  color: var(--gold-2);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.stat-strip__item {
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}

.stat-strip__item:first-child {
  border-left: 0;
}

.stat-strip strong {
  display: block;
  color: var(--navy-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 0.9;
}

.stat-strip span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.premium-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 183, 98, 0.25);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.premium-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 15% 0%, rgba(216, 183, 98, 0.18), transparent 28rem);
}

.premium-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  padding: 48px;
}

.premium-panel h2 {
  margin: 0;
  color: #fff8df;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.premium-panel p,
.premium-panel li {
  color: rgba(255, 255, 255, 0.72);
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  padding: 20px 22px;
  border: 1px solid rgba(216, 183, 98, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.service-item h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1rem;
}

.service-item p {
  margin: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.timeline__item {
  padding: 28px;
  background: #fff;
}

.timeline__item strong {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.timeline__item h3 {
  margin: 16px 0 8px;
  color: var(--navy-2);
}

.timeline__item p {
  margin: 0;
  color: var(--muted);
}

.signature-strip {
  padding: 34px 0;
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.72);
}

.signature-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.signature-strip strong {
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.signature-strip span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-note-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.page-note-grid .note {
  min-height: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes topbarIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  from {
    opacity: 0.58;
    transform: scale(1.055);
  }
  to {
    opacity: 0.72;
    transform: scale(1.04);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .topbar__inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 12px 0;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    padding: 0 0 8px;
    white-space: nowrap;
  }

  .split,
  .media-split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .stat-strip,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .premium-panel__inner,
  .page-note-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    display: none;
  }

  .brand {
    font-size: 0.92rem;
  }

  .page-hero,
  .page-hero--home {
    min-height: 640px;
  }

  .page-hero__content {
    padding: 76px 0 54px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .section {
    padding: 72px 0;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 24px;
  }

  .footer .container {
    flex-direction: column;
  }

  .stat-strip,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stat-strip__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-strip__item:first-child {
    border-top: 0;
  }

  .premium-panel__inner {
    padding: 28px;
  }
}
