:root {
  --navy-950: #0b1730;
  --navy-900: #10213f;
  --navy-800: #1b3157;
  --navy-700: #29466f;
  --gold-600: #b99135;
  --gold-500: #d0aa51;
  --gold-200: #f0dfb1;
  --cream: #f8f5ed;
  --soft: #f3f5f8;
  --white: #ffffff;
  --text: #263247;
  --muted: #657085;
  --border: #dfe4ec;
  --success: #1e8a59;
  --shadow: 0 18px 48px rgba(11, 23, 48, 0.1);
  --shadow-small: 0 8px 28px rgba(11, 23, 48, 0.08);
  --radius: 18px;
  --radius-small: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  line-height: 1.14;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(223, 228, 236, 0.75);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

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

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 8px 20px rgba(16, 33, 63, 0.2);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.brand strong {
  color: var(--navy-950);
  font-size: 1.05rem;
}

.brand small {
  color: var(--gold-600);
  font-size: 0.7rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav > a:not(.button) {
  position: relative;
  color: var(--navy-900);
  font-size: 0.93rem;
  font-weight: 700;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after,
.main-nav > a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  width: 46px;
  height: 42px;
  display: none;
  padding: 8px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--navy-900);
  transition: 180ms ease;
}

/* Buttons */

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  color: var(--navy-950);
  border: 1px solid var(--gold-500);
  border-radius: 10px;
  background: var(--gold-500);
  box-shadow: 0 10px 24px rgba(185, 145, 53, 0.18);
  font-size: 0.93rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  background: #dbb861;
  box-shadow: 0 14px 30px rgba(185, 145, 53, 0.28);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0.65rem 1rem;
}

.button-dark {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
  box-shadow: 0 10px 24px rgba(11, 23, 48, 0.18);
}

.button-dark:hover {
  background: var(--navy-800);
}

.button-outline {
  color: var(--navy-900);
  border-color: var(--navy-900);
  background: transparent;
  box-shadow: none;
}

.button-outline:hover {
  color: var(--white);
  background: var(--navy-900);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  box-shadow: none;
}

.button-outline-light:hover {
  color: var(--navy-950);
  background: var(--white);
}

.button-full {
  width: 100%;
}

/* Common */

.section {
  padding: 100px 0;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p {
  font-size: 1.06rem;
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--gold-600);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--gold-200);
}

.light-heading h2,
.light-heading p {
  color: var(--white);
}

.text-link {
  color: var(--navy-900);
  font-weight: 800;
}

.text-link:hover {
  color: var(--gold-600);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(208, 170, 81, 0.22), transparent 30%),
    linear-gradient(135deg, #f7f8fb, #ffffff);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -180px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(208, 170, 81, 0.25);
  border-radius: 50%;
  content: "";
}

.hero-grid,
.split-layout {
  display: grid;
  align-items: center;
  gap: clamp(50px, 7vw, 95px);
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
}

.hero-lead {
  max-width: 650px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-checks {
  display: grid;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  gap: 11px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-checks li {
  position: relative;
  padding-left: 28px;
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-checks li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  content: "✓";
  background: var(--success);
  font-size: 0.7rem;
}

/* Image placeholders */

.image-placeholder {
  position: relative;
  min-height: 430px;
  display: grid;
  overflow: hidden;
  place-items: center;
  padding: 40px;
  color: var(--white);
  border: 1px solid rgba(208, 170, 81, 0.45);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(208, 170, 81, 0.22), transparent),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow);
  text-align: center;
}

.image-placeholder::before,
.image-placeholder::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.image-placeholder::before {
  top: -80px;
  right: -60px;
  width: 270px;
  height: 270px;
}

.image-placeholder::after {
  bottom: -90px;
  left: -70px;
  width: 250px;
  height: 250px;
}

.image-placeholder span,
.image-placeholder small {
  position: relative;
  z-index: 1;
  display: block;
}

.image-placeholder span {
  font-size: 1.35rem;
  font-weight: 900;
}

.image-placeholder small {
  margin-top: 8px;
  color: var(--gold-200);
}

.hero-placeholder {
  min-height: 520px;
}

.portrait-placeholder {
  min-height: 560px;
}

.team-placeholder {
  min-height: 450px;
}

/* Trust */

.trust-strip {
  color: var(--white);
  background: var(--navy-950);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--gold-500);
  font-size: 1.6rem;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

/* Cards */

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

.service-card,
.stats-grid article,
.testimonial-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-small);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover,
.stats-grid article:hover,
.testimonial-card:hover {
  border-color: var(--gold-200);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  margin-bottom: 25px;
  place-items: center;
  color: var(--navy-950);
  border-radius: 10px;
  background: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 900;
}

.price {
  display: block;
  margin-top: 18px;
  color: var(--gold-600);
}

/* Feature and process lists */

.feature-list {
  display: grid;
  margin: 30px 0;
  gap: 20px;
}

.feature-list article {
  display: grid;
  gap: 14px;
  grid-template-columns: 34px 1fr;
}

.feature-list article > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--success);
  font-weight: 900;
}

.feature-list h3,
.feature-list p {
  margin-bottom: 4px;
}

.process-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 78px;
  padding: 0 0 25px 72px;
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  border-radius: 50%;
  content: counter(process);
  background: var(--gold-500);
  font-weight: 900;
}

.process-list li::after {
  position: absolute;
  top: 52px;
  bottom: 4px;
  left: 23px;
  width: 2px;
  content: "";
  background: var(--gold-200);
}

.process-list li:last-child::after {
  display: none;
}

/* Subjects */

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

.subject-grid span {
  position: relative;
  padding: 17px 18px 17px 46px;
  color: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--white);
  font-weight: 700;
}

.subject-grid span::before {
  position: absolute;
  top: 50%;
  left: 17px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 4px;
  content: "✓";
  background: var(--gold-500);
  font-size: 0.65rem;
  transform: translateY(-50%);
}

/* Offers */

.offer-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(208, 170, 81, 0.2), transparent 30%),
    var(--navy-950);
}

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

.offer-grid article {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.offer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-500);
  font-size: 1.55rem;
}

.offer-grid h3 {
  color: var(--white);
}

.offer-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
}

/* CTA */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(38px, 6vw, 68px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(208, 170, 81, 0.25), transparent 35%),
    var(--navy-900);
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-bottom: 8px;
  color: var(--white);
}

.cta p {
  max-width: 630px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
  flex: 0 0 auto;
  margin: 0;
}

/* Page hero */

.page-hero {
  padding: 90px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(208, 170, 81, 0.23), transparent 28%),
    linear-gradient(130deg, var(--navy-950), var(--navy-800));
}

.page-hero-content {
  max-width: 880px;
}

.page-hero h1 {
  max-width: 840px;
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
}

/* Table */

.table-wrapper {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.pricing-table th,
.pricing-table td {
  padding: 22px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.pricing-table th {
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-table th:nth-child(1) {
  width: 25%;
}

.pricing-table th:nth-child(2) {
  width: 18%;
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--cream);
}

.pricing-table td:first-child {
  color: var(--navy-900);
  font-weight: 800;
}

.pricing-table td strong {
  color: var(--gold-600);
}

.integrity-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold-500);
  background: var(--cream);
  font-size: 0.9rem;
}

/* Stats and testimonials */

.stats-grid article {
  text-align: center;
}

.stats-grid article > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-600);
  font-size: 2.3rem;
}

.testimonial-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card blockquote {
  margin: 18px 0 26px;
  color: var(--text);
  font-size: 1.02rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
}

.testimonial-card footer strong {
  color: var(--navy-900);
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 0.83rem;
}

.testimonial-wide {
  grid-column: 1 / -1;
}

.stars {
  color: var(--gold-500);
  letter-spacing: 0.08em;
}

/* Contact */

.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(40px, 7vw, 80px);
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
}

.contact-card-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--white);
  transition: 180ms ease;
}

.contact-card:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.contact-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--white);
  border-radius: 10px;
  background: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-card strong,
.contact-card small {
  display: block;
}

.contact-card small {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.quote-panel {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  margin-bottom: 17px;
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: 0;
  background: var(--white);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(208, 170, 81, 0.17);
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.76rem;
  text-align: center;
}

/* Footer */

.site-footer {
  padding: 70px 0 22px;
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-grid > div > a:not(.brand) {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-grid > div > a:not(.brand):hover {
  color: var(--gold-500);
}

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

.footer-brand strong {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
}

/* Responsive */

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    height: max-content;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 28px;
    background: var(--white);
    box-shadow: -16px 30px 50px rgba(11, 23, 48, 0.14);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

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

  .main-nav > a:not(.button) {
    padding: 13px 8px;
  }

  .main-nav > a:not(.button)::after {
    bottom: 5px;
  }

  .main-nav .button {
    margin-top: 10px;
  }

  .hero-grid,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-placeholder {
    min-height: 430px;
  }

  .portrait-placeholder {
    min-height: 480px;
  }

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

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

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

  .reverse-mobile > .image-placeholder {
    order: 2;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 65px 0;
  }

  .brand small {
    display: none;
  }

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

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

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .card-grid,
  .stats-grid,
  .subject-grid,
  .offer-grid,
  .testimonial-grid,
  .contact-card-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-wide {
    grid-column: auto;
  }

  .image-placeholder,
  .hero-placeholder,
  .portrait-placeholder,
  .team-placeholder {
    min-height: 390px;
  }

  .page-hero {
    padding: 70px 0;
  }

  .table-wrapper {
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
  }

  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .pricing-table tr {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: var(--white);
    box-shadow: var(--shadow-small);
  }

  .pricing-table td {
    position: relative;
    padding: 16px 16px 16px 44%;
    border-bottom: 1px solid var(--border);
  }

  .pricing-table td::before {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 35%;
    color: var(--navy-900);
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.55rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

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

  .trust-grid strong {
    font-size: 1.35rem;
  }

  .contact-layout {
    display: block;
  }

  .quote-panel {
    margin-top: 50px;
  }
}