:root {
  --ink: #071b3a;
  --ink-soft: #30496f;
  --cream: #f7f3eb;
  --paper: #fffdf8;
  --line: #e6dfd2;
  --gold: #c9a24d;
  --gold-dark: #9b742b;
  --mint: #f3ead7;
  --teal: #071b3a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(20, 33, 61, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(230, 223, 210, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), var(--teal));
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 30px rgba(23, 107, 104, 0.24);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline {
  color: var(--teal);
  border: 1px solid rgba(23, 107, 104, 0.34);
  background: transparent;
  width: 100%;
}

.button.compact {
  width: fit-content;
}

.button.light {
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.95) 0%, rgba(20, 33, 61, 0.74) 43%, rgba(20, 33, 61, 0.18) 100%),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(20, 33, 61, 0) 76%, var(--paper) 100%),
    radial-gradient(circle at 20% 24%, rgba(200, 157, 88, 0.22), transparent 34%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 112px);
  padding: 96px 0 120px;
}

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

.hero h1,
.section h2,
.cta-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(560px, 100%);
  margin: 46px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--white);
  font-weight: 800;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 36px));
  margin: -72px auto 0;
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.trust-band div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.trust-band div:last-child {
  border-right: 0;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--teal);
  background: var(--mint);
  font-weight: 900;
}

.trust-band strong,
.service-card h3,
.plan-card h3,
.process-list h3 {
  display: block;
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.trust-band p,
.service-card p,
.plan-card p,
.process-list p,
.section-copy,
.split-content p,
.footer p {
  margin: 0;
  color: var(--ink-soft);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
  scroll-margin-top: 110px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.section-heading h2,
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-copy {
  font-size: 1.08rem;
}

.service-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.plan-card,
.process-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  padding: 26px;
}

.service-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.portrait-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}

.portrait-panel img {
  width: 100%;
  height: clamp(420px, 56vw, 620px);
  object-fit: cover;
  object-position: center 18%;
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content p + p {
  margin-top: 18px;
}

.split-content .button {
  margin-top: 30px;
}

.plans {
  width: 100%;
  max-width: none;
  background: var(--cream);
  padding-left: max(18px, calc((100% - 1180px) / 2));
  padding-right: max(18px, calc((100% - 1180px) / 2));
}

.center {
  text-align: center;
  width: min(720px, 100%);
  margin: 0 auto 42px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
}

.plan-card.featured {
  border-color: rgba(23, 107, 104, 0.45);
  box-shadow: var(--shadow);
}

.badge {
  width: fit-content;
  margin: -6px 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--mint);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-label {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.plan-card .button {
  margin-top: auto;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

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

.process-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  padding: 24px;
}

.process-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.process-list h3 {
  margin-top: 2px;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto clamp(72px, 9vw, 110px);
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(20, 33, 61, 0.96), rgba(23, 107, 104, 0.9)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-section p {
  max-width: 650px;
  margin: 16px 0 0;
}

.footer {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 34px;
  padding: 46px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-brand {
  margin-bottom: 18px;
}

.footer address,
.footer div {
  font-style: normal;
}

.footer strong {
  display: block;
  margin-bottom: 12px;
}

.footer a,
.footer span {
  display: block;
  color: var(--ink-soft);
}

.footer a:hover {
  color: var(--teal);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(20, 33, 61, 0.96), rgba(20, 33, 61, 0.6)),
      url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1400&q=82") center / cover;
  }

  .trust-band,
  .service-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .trust-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-band div:last-child {
    border-bottom: 0;
  }

  .intro,
  .split,
  .process,
  .footer {
    grid-template-columns: 1fr;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .header-cta {
    width: 100%;
  }

  .nav {
    gap: 18px;
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    margin: 0 auto;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .cta-section .button,
  .button.compact {
    width: 100%;
  }

  .trust-band {
    margin-top: -44px;
  }

  .section,
  .plans {
    padding-top: 66px;
    padding-bottom: 66px;
    scroll-margin-top: 22px;
  }

  .service-card,
  .plan-card,
  .process-list article {
    padding: 22px;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .process-list span {
    margin-bottom: 14px;
  }
}
