:root {
  --ink: #16211f;
  --muted: #5d6a66;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dce2dd;
  --green: #1e6b58;
  --green-dark: #124838;
  --clay: #b66d48;
  --gold: #d7ad62;
  --blue: #355c7d;
  --shadow: 0 24px 60px rgba(22, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.88);
  box-shadow: 0 12px 40px rgba(22, 33, 31, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.nav-links a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: #fff;
  color: var(--ink);
}

.icon-button,
.primary-action,
.secondary-action,
.schedule-main-action,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 800;
}

.icon-button {
  justify-self: end;
  padding: 0.55rem 0.9rem;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8.5rem 1rem 3.25rem;
}

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

.hero-media {
  background-image: url("assets/hero-consultation.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.96) 0%, rgba(251, 250, 246, 0.78) 38%, rgba(251, 250, 246, 0.16) 72%),
    linear-gradient(0deg, rgba(22, 33, 31, 0.52) 0%, rgba(22, 33, 31, 0) 45%);
}

.hero-inner {
  position: relative;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-bottom: 4vh;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 10vw, 7.8rem);
}

h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h3 {
  margin: 0;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 580px;
  margin: 1.3rem 0 0;
  color: #32413d;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.logo-hero {
  min-height: auto;
  align-items: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 7rem 1rem 2.75rem;
  background: #071f37;
}

.hero-plan-image {
  display: block;
  width: min(620px, 100%);
  border: 1px solid rgba(215, 173, 98, 0.7);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.hero-plan-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px;
}

.logo-hero .hero-actions {
  justify-content: center;
  width: min(760px, 100%);
  margin-top: 0;
}

.logo-hero .secondary-action {
  background: rgba(255, 255, 255, 0.96);
}

.primary-action,
.schedule-main-action,
.contact-form button {
  border: 0;
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 28px rgba(30, 107, 88, 0.24);
}

.primary-action {
  padding: 0.9rem 1.2rem;
}

.schedule-main-action {
  width: fit-content;
  margin-top: 1.25rem;
  padding: 0.9rem 1.2rem;
}

.secondary-action {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(22, 33, 31, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.plan-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 2.5rem;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5rem 0;
}

.plan-preview-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.06rem;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.plan-preview-image {
  display: block;
  max-height: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.plan-preview-image img {
  display: block;
  width: 100%;
  height: auto;
}

.section,
.results-section,
.contact-section,
.plans-section,
.fees-section,
.payment-section,
.client-section,
.upload-section,
.schedule-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6rem 0;
}

.section-heading {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card,
.plan-card {
  min-height: 280px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 38px rgba(22, 33, 31, 0.06);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4rem;
  border-radius: 50%;
  background: #edf4ef;
  color: var(--green);
}

.service-card p,
.results-copy p,
.payment-copy p,
.schedule-copy p,
.upload-copy p,
.fees-copy p,
.process p,
.contact-section p {
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.plan-card h3 {
  margin-top: 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}

.plan-card h3 span {
  color: var(--muted);
  font-size: 1rem;
}

.plan-label,
.plan-sub,
.best-for {
  margin: 0;
}

.plan-label {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.plan-sub {
  color: var(--muted);
  font-weight: 700;
}

.plan-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.35rem 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 1.55rem;
  color: #33423e;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green);
}

.featured-plan {
  border-color: rgba(30, 107, 88, 0.45);
  box-shadow: 0 24px 60px rgba(30, 107, 88, 0.12);
}

.gold-plan .plan-label,
.gold-plan li::before {
  color: var(--clay);
  background: var(--gold);
}

.best-for {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.plan-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.payment-section,
.upload-section,
.schedule-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.payment-panel,
.upload-panel,
.schedule-panel {
  display: grid;
  gap: 0.8rem;
}

.payment-panel a,
.schedule-panel a,
.upload-action,
.document-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 33, 31, 0.07);
}

.payment-panel a,
.schedule-panel a,
.upload-action {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.payment-panel strong,
.schedule-panel strong,
.upload-action strong,
.document-card strong {
  color: var(--green);
}

.payment-panel span,
.schedule-panel span,
.upload-action span,
.document-card span {
  color: #33423e;
  font-weight: 900;
}

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

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.document-card {
  min-height: 190px;
  align-content: start;
}

.document-card svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 2rem;
  color: var(--blue);
}

.fees-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.fees-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.fees-table div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.fees-table div:last-child {
  border-bottom: 0;
}

.fees-table span {
  color: #33423e;
  font-weight: 700;
}

.fees-table strong {
  white-space: nowrap;
  color: var(--green);
}

.commitment-band {
  padding: 5rem 1rem;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.commitment-band blockquote {
  width: min(900px, 100%);
  margin: 0 auto;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.commitment-band p {
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.contact-details {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.3rem;
  color: var(--ink);
  font-style: normal;
  font-weight: 800;
}

.results-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: 4rem;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-copy p {
  max-width: 640px;
  font-size: 1.06rem;
}

.results-list {
  display: grid;
  gap: 0.8rem;
}

.results-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 104px;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(22, 33, 31, 0.07);
}

.results-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3e6d8;
  color: var(--clay);
  font-weight: 800;
}

.results-list p {
  margin: 0;
  color: #33423e;
  font-weight: 700;
}

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

.timeline article {
  min-height: 240px;
  padding: 1.25rem;
  background: #fff;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 3.5rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.quote-band {
  padding: 5rem 1rem;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.quote-band blockquote {
  width: min(900px, 100%);
  margin: 0 auto;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.quote-band p {
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: #33423e;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cad4ce;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(30, 107, 88, 0.16);
}

.contact-form button {
  width: fit-content;
  min-width: 168px;
  padding: 0.9rem 1.1rem;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 850px) {
  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 24px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.95) 0%, rgba(251, 250, 246, 0.86) 52%, rgba(251, 250, 246, 0.3) 100%),
      linear-gradient(0deg, rgba(22, 33, 31, 0.42) 0%, rgba(22, 33, 31, 0) 48%);
  }

  .plan-preview,
  .service-grid,
  .plan-grid,
  .document-grid,
  .results-section,
  .payment-section,
  .upload-section,
  .schedule-section,
  .fees-section,
  .timeline,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }

  .section,
  .plan-preview,
  .results-section,
  .plans-section,
  .payment-section,
  .client-section,
  .upload-section,
  .schedule-section,
  .fees-section,
  .contact-section {
    padding: 4rem 0;
  }

  .results-section,
  .payment-section,
  .upload-section,
  .schedule-section,
  .fees-section,
  .contact-section {
    gap: 2rem;
  }

  .card-icon,
  .timeline span {
    margin-bottom: 2rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .hero {
    padding-inline: 0.75rem;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    justify-content: center;
  }

  .plan-preview,
  .section,
  .results-section,
  .plans-section,
  .payment-section,
  .client-section,
  .upload-section,
  .schedule-section,
  .fees-section,
  .contact-section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .payment-panel a,
  .schedule-panel a,
  .upload-action,
  .fees-table div {
    grid-template-columns: 1fr;
    display: grid;
  }
}
