:root {
  --primary: #073763;
  --primary-dark: #03243f;
  --primary-strong: #0b4f86;
  --primary-soft: #eef7ff;
  --primary-soft-2: #f6fbff;
  --accent: #25a6a0;
  --accent-soft: #e8f7f5;
  --gold: #cda35a;
  --text: #142033;
  --text-soft: #324156;
  --text-muted: #6b7788;
  --background: #fbfdff;
  --surface: #ffffff;
  --surface-soft: #f4f8fc;
  --surface-blue: #edf7ff;
  --border: #dce7f1;
  --border-strong: #c8d8e7;
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow-xs: 0 8px 22px rgba(15, 35, 58, 0.06);
  --shadow: 0 22px 60px rgba(15, 35, 58, 0.1);
  --shadow-strong: 0 34px 90px rgba(7, 55, 99, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(37, 166, 160, 0.11), transparent 30rem),
    linear-gradient(180deg, #fbfdff 0%, #f7fbff 42%, #ffffff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 166, 160, 0.45);
  outline-offset: 4px;
}

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

.section {
  padding: clamp(72px, 8vw, 122px) 0;
}

main {
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(220, 231, 241, 0.72);
  background: rgba(251, 253, 255, 0.83);
  backdrop-filter: blur(22px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(220, 231, 241, 0.9);
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

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

.brand strong {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.93rem;
  font-weight: 760;
}

.primary-nav a {
  padding: 11px 13px;
  border-radius: 999px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.primary-nav a:hover {
  background: rgba(37, 166, 160, 0.1);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 850;
  text-align: center;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 16px 34px rgba(7, 55, 99, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 22px 45px rgba(7, 55, 99, 0.24);
}

.btn-pulse {
  animation: ctaPulse 2.25s ease-in-out infinite;
}

.btn-pulse:hover {
  animation-play-state: paused;
}

.btn-secondary {
  border: 1px solid rgba(7, 55, 99, 0.15);
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  box-shadow: 0 12px 28px rgba(15, 35, 58, 0.06);
}

.btn-secondary:hover {
  border-color: rgba(37, 166, 160, 0.38);
  color: var(--primary-dark);
  box-shadow: 0 18px 36px rgba(15, 35, 58, 0.09);
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 18px 38px rgba(2, 20, 38, 0.16);
}

.btn-large {
  min-height: 56px;
  padding: 16px 27px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--primary);
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.lazy-section.is-lazy-loaded {
  content-visibility: visible;
  contain-intrinsic-size: none;
}

.hero {
  order: 1;
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 8vw, 116px);
  padding-bottom: clamp(54px, 7vw, 88px);
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 166, 160, 0.13), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(7, 55, 99, 0.12), transparent 26rem),
    linear-gradient(135deg, #fbfdff 0%, #f3faff 48%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -18rem;
  bottom: -24rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: rgba(37, 166, 160, 0.08);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.86fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(37, 166, 160, 0.18);
  border-radius: 999px;
  background: rgba(232, 247, 245, 0.9);
  padding: 8px 13px;
  color: #157d78;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(3rem, 7.3vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.78;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  border: 1px solid rgba(7, 55, 99, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 9px 13px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

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

.hero-visual {
  position: relative;
  min-height: 580px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px 8px 44px 44px;
  border-radius: 48px;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.9), transparent 9rem),
    linear-gradient(145deg, rgba(232, 247, 245, 0.95), rgba(238, 247, 255, 0.96));
  transform: rotate(-4deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(220, 231, 241, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-photo-card {
  top: 10px;
  right: 18px;
  left: 34px;
  overflow: hidden;
  padding: 0;
  border-radius: 44px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: center;
}

.hero-photo-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 14px;
  box-shadow: 0 18px 40px rgba(15, 35, 58, 0.12);
  backdrop-filter: blur(20px);
}

.hero-photo-caption p {
  margin: 0 0 3px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 720;
}

.hero-photo-caption strong {
  color: var(--primary-dark);
  font-size: 1rem;
}

.shield-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: 0 14px 26px rgba(7, 55, 99, 0.25);
}

.shield-mark svg {
  width: 32px;
  height: 32px;
}

.shield-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visual-card-small,
.visual-card-side {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
}

.visual-card-small {
  right: 0;
  bottom: 28px;
  max-width: 312px;
}

.visual-card-side {
  left: 0;
  bottom: 132px;
  max-width: 296px;
}

.visual-card-small strong,
.visual-card-side strong {
  color: var(--primary-dark);
  font-size: 0.96rem;
}

.visual-card-small p,
.visual-card-side p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.icon-dot {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #157d78;
  font-weight: 900;
}

.icon-dot svg,
.trust-item svg,
.card-icon svg,
.note-lock svg,
.thanks-icon svg {
  width: 20px;
  height: 20px;
}

.icon-dot path,
.trust-item path,
.card-icon path,
.note-lock path,
.thanks-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-dot-gold {
  background: rgba(205, 163, 90, 0.16);
  color: #90651c;
}

.trust-strip {
  order: 3;
  border: 0;
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 28px 0;
}

.trust-item {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(220, 231, 241, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  color: var(--text-soft);
  font-size: 0.98rem;
  box-shadow: var(--shadow-xs);
}

.trust-item span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.contact-copy h2,
.cta-panel h2,
.form-header h2,
.legal-page h1,
.thank-you h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading p,
.contact-copy p,
.cta-panel p,
.legal-page .intro,
.thank-you p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.services-section {
  order: 4;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 166, 160, 0.08), transparent 22rem),
    #fff;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.service-card {
  min-height: 288px;
  padding: 28px;
  border: 1px solid rgba(220, 231, 241, 0.92);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.98)),
    #fff;
  box-shadow: var(--shadow-xs);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 166, 160, 0.32);
  background: #fff;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--primary-soft), #fff);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(7, 55, 99, 0.06);
}

.service-card h3 {
  margin: 24px 0 10px;
  color: var(--primary-dark);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.benefits-section {
  order: 5;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(238, 247, 255, 0.95), rgba(248, 252, 255, 0.98)),
    var(--surface-soft);
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: -14rem;
  left: -10rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: rgba(37, 166, 160, 0.1);
}

.benefits-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(220, 231, 241, 0.95);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(14px);
}

.benefit-item > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 900;
}

.benefit-item h3 {
  margin: 0 0 7px;
  color: var(--primary-dark);
  font-size: 1.12rem;
}

.benefit-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.cta-band {
  order: 6;
  background: #fff;
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: clamp(52px, 6vw, 78px);
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 52px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 84% 18%, rgba(37, 166, 160, 0.25), transparent 16rem),
    linear-gradient(135deg, var(--primary-dark), var(--primary-strong));
  box-shadow: var(--shadow-strong);
}

.cta-panel::before {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -7rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.cta-panel > * {
  position: relative;
}

.cta-panel .eyebrow {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.11);
  color: #d9fffb;
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel p {
  max-width: 660px;
  opacity: 0.86;
}

.contact-section {
  order: 2;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(37, 166, 160, 0.11), transparent 24rem),
    linear-gradient(180deg, #f8fcff 0%, #ffffff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(340px, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.lead-form {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(220, 231, 241, 0.95);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.98)),
    #fff;
  box-shadow: var(--shadow-strong);
}

.lead-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.form-header {
  margin-bottom: 26px;
}

.form-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.form-header p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.68;
}

.form-field {
  margin-top: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 850;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #fff;
  padding: 15px 17px;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-field textarea {
  min-height: 104px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #98a4b3;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow:
    0 0 0 5px rgba(37, 166, 160, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.consent-box {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(220, 231, 241, 0.95);
  border-radius: 22px;
  background: linear-gradient(180deg, #fbfdff, #f5faff);
}

.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-row input {
  width: 21px;
  height: 21px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent-box p {
  margin: 13px 0 0 34px;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.consent-box a {
  color: var(--primary);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.submit-btn {
  width: 100%;
  min-height: 60px;
  margin-top: 24px;
  font-size: 1rem;
}

.submit-btn.is-loading {
  pointer-events: none;
  opacity: 0.78;
}

.btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.submit-btn.is-loading .btn-loader {
  display: inline-block;
}

.success-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: min(420px, calc(100% - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.success-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.success-popup-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(198, 246, 213, 0.8);
  border-radius: 22px;
  background: #0f8f55;
  padding: 18px;
  color: #fff;
  box-shadow: 0 24px 60px rgba(15, 143, 85, 0.26);
}

.success-popup-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.success-popup-icon svg {
  width: 22px;
  height: 22px;
}

.success-popup-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-popup strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.success-popup p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

.success-popup-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.form-note {
  display: flex;
  gap: 9px;
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.note-lock {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--primary);
}

.hidden-field {
  display: none;
}

.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 166, 160, 0.12), transparent 20rem),
    var(--primary-dark);
  color: #dceaf7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  padding: 50px 0 30px;
}

.footer-brand strong,
.footer-brand small {
  color: #fff;
}

.site-footer p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(220, 234, 247, 0.78);
  line-height: 1.72;
}

.footer-contact {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: rgba(220, 234, 247, 0.82);
  font-style: normal;
  line-height: 1.55;
}

.footer-contact a:hover {
  color: #fff;
}

.site-footer nav {
  display: grid;
  gap: 12px;
  min-width: 240px;
}

.site-footer nav a {
  color: rgba(220, 234, 247, 0.88);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer nav a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-bottom {
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(220, 234, 247, 0.72);
  font-size: 0.92rem;
}

.legal-page,
.thank-you {
  background:
    radial-gradient(circle at top left, rgba(37, 166, 160, 0.1), transparent 24rem),
    var(--surface-soft);
}

.legal-shell,
.thanks-shell {
  max-width: 900px;
  padding: clamp(64px, 8vw, 96px) 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: #157d78;
  font-weight: 850;
}

.legal-card,
.thanks-card {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(220, 231, 241, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-xs);
}

.legal-card h2 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.legal-card p,
.legal-card li,
.legal-card dd {
  color: var(--text-muted);
  line-height: 1.72;
}

.legal-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.legal-card .legal-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.legal-card .legal-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-card dt {
  color: var(--primary-dark);
  font-weight: 850;
}

.legal-card dd {
  margin: 0;
}

.thanks-card {
  text-align: center;
}

.thanks-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: var(--accent-soft);
  color: #157d78;
}

.thanks-icon svg {
  width: 36px;
  height: 36px;
}

.thanks-actions {
  margin-top: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(7, 55, 99, 0.2);
    filter: brightness(1);
  }

  50% {
    box-shadow:
      0 16px 34px rgba(7, 55, 99, 0.2),
      0 0 0 7px rgba(37, 166, 160, 0.13);
    filter: brightness(1.05);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
    order: 3;
    margin-left: 0;
  }

  .header-cta {
    order: 2;
    min-height: 44px;
    margin-left: auto;
    padding: 10px 15px;
    white-space: nowrap;
  }

  .primary-nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: none;
    margin: 0;
    border: 1px solid rgba(220, 231, 241, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 14px 13px;
    border-radius: 15px;
  }

  .primary-nav a:hover {
    background: var(--primary-soft);
  }

  .hero-grid,
  .benefits-grid,
  .contact-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-visual {
    min-height: 560px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .contact-copy {
    position: static;
  }

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

  .cta-panel {
    align-items: stretch;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 72px;
  }

  html {
    scroll-padding-top: 86px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .section {
    padding: 66px 0;
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .primary-nav {
    inset: 76px 12px auto 12px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.05rem);
  }

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

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    font-size: 0.84rem;
    padding: 8px 11px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-visual::before {
    inset: 30px 0 58px 18px;
    border-radius: 34px;
  }

  .hero-photo-card {
    top: 0;
    right: 0;
    left: 0;
    border-radius: 32px;
  }

  .hero-photo {
    aspect-ratio: 0.86;
  }

  .hero-photo-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    border-radius: 20px;
  }

  .visual-card-small,
  .visual-card-side {
    max-width: 260px;
    padding: 15px;
  }

  .visual-card-small {
    right: 0;
    bottom: 8px;
  }

  .visual-card-side {
    left: 0;
    bottom: 86px;
  }

  .trust-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 10px;
    padding: 18px 0 26px;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .benefit-item {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .cta-panel,
  .lead-form {
    border-radius: 26px;
  }

  .success-popup {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .cta-panel {
    padding: 28px;
  }

  .consent-box p {
    margin-left: 0;
  }

  .legal-card .legal-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-grid {
    gap: 28px;
  }

}

@media (max-width: 390px) {
  .header-cta {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

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

  .visual-card-small,
  .visual-card-side {
    max-width: 236px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn-pulse {
    animation: none;
  }
}
