:root {
  --navy: #12385a;
  --ink: #1c3d5a;
  --muted: #5d7890;
  --blue: #1b6fb3;
  --sky: #3ba3e0;
  --sky-2: #67bcec;
  --ice: #e7f4fc;
  --mist: #f4fbff;
  --white: #ffffff;
  --line: #cfe6f5;
  --shadow: 0 18px 40px rgba(18, 56, 90, 0.08);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

body {
  font-family: Outfit, sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: linear-gradient(180deg, #ffffff 0%, var(--ice) 100%);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  margin-top: 0;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.2rem;
}

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

.accent {
  color: var(--sky);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 251, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(18, 56, 90, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: #3ba3e0;
  color: #fff;
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 38, 64, 0.88) 8%, rgba(27, 111, 179, 0.55) 58%, rgba(10, 38, 64, 0.35) 100%),
    url("../images/hero.jpg") center/cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 72px 0 88px;
}

.hero h1 {
  color: #fff;
}

.hero .accent {
  color: #9edcff;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 16px 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.rating-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 10px 14px;
  min-width: 140px;
}

.rating-pill strong {
  display: block;
  font-size: 1.05rem;
}

.rating-pill span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.stars {
  color: #ffd56a;
  letter-spacing: 1px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.price-box {
  background: var(--ice);
  border-radius: 16px;
  padding: 14px;
}

.price-box b {
  display: block;
  color: var(--blue);
  font-size: 1.3rem;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-list li {
  display: flex;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  font-size: 0.8rem;
}

.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chip {
  background: var(--ice);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.about-grid,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.photo-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-copy .eyebrow {
  margin-bottom: 8px;
}


.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}

.mini-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat b {
  display: block;
  font-size: 1.8rem;
  color: var(--blue);
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(18, 56, 90, 0.04);
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.card h3 {
  margin-bottom: 8px;
}

.levels {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin: 28px 0 18px;
}

.level {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 8px;
  text-align: center;
}

.level b {
  display: block;
  color: var(--blue);
}

.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.tab.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  background: var(--ice);
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--line);
}

.num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--sky), var(--blue));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}

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

.writer {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.writer img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.writer-body {
  padding: 18px;
}

.writer-body ul {
  margin: 10px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--navy);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap h3 {
  margin-bottom: 12px;
}

.offer-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 24px;
  padding: 28px 32px;
}

.offer-banner h3 {
  color: #fff;
  margin: 4px 0 8px;
}

.offer-banner p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
}

.offer-banner b {
  font-size: 2rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 20px;
}

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

.referral-flow {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.referral-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.95rem;
}

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

.review {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--line);
}

.review header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.review p {
  margin-bottom: 16px;
}

.review footer {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item button::after {
  content: "+";
  color: var(--blue);
  font-size: 1.3rem;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-item .answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-item.is-open .answer {
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-card {
  background: linear-gradient(160deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 28px;
  padding: 32px;
}

.contact-card p,
.contact-card a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-card h2 {
  color: #fff;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
}

.contact-list span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.75;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 28px;
}

.site-footer {
  background: var(--navy);
  color: #d7e8f5;
  padding: 42px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.7fr) minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

.footer-brand {
  min-width: 0;
}

.footer-brand p {
  margin-top: 14px;
  color: #d7e8f5;
  max-width: 42ch;
}

.footer-col {
  min-width: 0;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer a {
  color: #d7e8f5;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-links a {
  display: inline-block;
}

.site-footer .logo {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
}

.site-footer .logo img {
  height: 52px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .split,
  .contact-grid,
  .why-grid,
  .grid-4,
  .writers,
  .reviews,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .levels,
  .stats,
  .steps,
  .steps-4,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 78px 16px auto;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .btn {
    width: 100%;
  }

  .hero-grid,
  .about-grid,
  .split,
  .contact-grid,
  .why-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .writers,
  .reviews,
  .stats,
  .steps,
  .steps-4,
  .levels,
  .price-row,
  .about-points,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 28px;
  }

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

  .hero {
    min-height: auto;
  }

  .section {
    padding: 64px 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}
