:root {
  --navy: #0c1628;
  --navy-mid: #152642;
  --navy-soft: #1e3354;
  --gold: #e5a019;
  --gold-light: #f4c956;
  --gold-dim: #c8870f;
  --cream: #faf6ef;
  --cream-dark: #efe8dc;
  --ink: #1a2433;
  --muted: #5c6575;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(12, 22, 40, 0.12);
  --font-sans: "Nunito", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--gold-dim);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 22, 40, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
}

.site-head-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  margin-right: auto;
}

.brand span {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.head-tools a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  overflow: hidden;
}

.lang-toggle button {
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.lang-toggle button.is-on {
  background: var(--gold);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--cream);
  font-size: 1.25rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Hero full bleed */
.hero-bleed {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  background: var(--navy) url("../img/hero.jpg") center / cover no-repeat;
}

.hero-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 22, 40, 0.55) 0%,
    rgba(12, 22, 40, 0.82) 55%,
    rgba(12, 22, 40, 0.95) 100%
  );
}

.hero-bleed .shell {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 3rem;
  width: 100%;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.hero-bleed h1 {
  color: var(--cream);
  max-width: 14ch;
  margin: 0 0 1rem;
}

.hero-lead {
  color: rgba(250, 246, 239, 0.92);
  max-width: 38rem;
  font-size: 1.12rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--navy);
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

.btn.ghost {
  background: transparent;
  color: var(--cream);
}

.btn.ghost:hover {
  background: rgba(229, 160, 25, 0.15);
  color: var(--gold-light);
}

/* Meta ribbon */
.meta-ribbon {
  background: var(--gold);
  color: var(--navy);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.15rem 0;
}

.meta-grid div span {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.meta-grid b {
  font-size: 0.98rem;
}

.meta-grid a {
  color: var(--navy);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section.alt {
  background: var(--cream-dark);
}

.section.navy-block {
  background: var(--navy-mid);
  color: var(--cream);
}

.section.navy-block h2,
.section.navy-block h3 {
  color: var(--gold-light);
}

.section.navy-block p,
.section.navy-block li {
  color: rgba(250, 246, 239, 0.88);
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

figure.frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
}

figure.frame figcaption {
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  background: var(--white);
  color: var(--muted);
}

/* Honeycomb band */
.honey-band {
  padding: 2.5rem 0;
  background:
    radial-gradient(circle at 12% 40%, rgba(229, 160, 25, 0.12) 0%, transparent 45%),
    var(--cream);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.card p:last-child {
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.layer-list {
  display: grid;
  gap: 0.75rem;
}

.layer-list li {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold);
  padding: 0.65rem 0.85rem;
  border-radius: 0 8px 8px 0;
  list-style: none;
}

.section.navy-block .layer-list {
  padding-left: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(229, 160, 25, 0.18);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.section.navy-block .pill {
  background: rgba(244, 201, 86, 0.2);
  color: var(--gold-light);
}

.cta-band {
  text-align: center;
  padding: 3.5rem 1.25rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
}

.cta-band h2 {
  color: var(--gold-light);
}

.cta-band p {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Page hero (inner) */
.page-hero {
  padding: 3rem 0 2rem;
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--cream);
}

.page-hero h1 {
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 40rem;
  color: rgba(250, 246, 239, 0.9);
}

.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even) > * {
  direction: ltr;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.contact-card strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.faq details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 16px rgba(12, 22, 40, 0.06);
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
  color: var(--navy);
}

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

form#form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

form#form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}

form#form input,
form#form select,
form#form textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--cream);
}

form#form button[type="submit"] {
  margin-top: 0.25rem;
}

/* Footer */
.site-foot {
  background: var(--navy);
  color: rgba(250, 246, 239, 0.75);
  padding: 2rem 0;
  font-size: 0.92rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.foot-links a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.foot-links a:hover {
  text-decoration: underline;
}

/* Privacy */
.privacy-prose {
  max-width: 42rem;
}

.privacy-prose section {
  margin-bottom: 2rem;
}

.privacy-prose h2 {
  font-size: 1.45rem;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 22, 40, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal-box {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  max-width: 22rem;
  width: 100%;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
  text-align: center;
}

.modal-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.modal-box p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.modal-close {
  width: 100%;
}

@media (max-width: 960px) {
  .meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .service-block,
  .form-wrap,
  .two-col-list {
    grid-template-columns: 1fr;
  }

  .split.reverse,
  .service-block:nth-child(even) {
    direction: ltr;
  }

  .card-grid,
  .steps,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 0.75rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .head-tools {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 520px) {
  .meta-grid {
    grid-template-columns: 1fr;
  }
}
