/* Home page — design matching reference layout */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  --navy: #1a3d45;
  --navy-dark: #0f2a30;
  --accent: #0e7490;
  --accent-light: #22a0b8;
  --accent-hover: #0a5c73;
  --green: #15803d;
  --green-bg: #ecfdf3;
  --green-border: #bbf7d0;
  --page-bg: #f2f6f5;
  --card: #ffffff;
  --muted: #5c6b73;
  --text: #122026;
  --border: #d9e4e6;
  --border-accent: rgba(14, 116, 144, 0.24);
  --link: #0e7490;
  --shadow-sm: 0 2px 10px rgba(15, 42, 48, 0.07);
  --shadow-md: 0 10px 32px rgba(15, 42, 48, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 42, 48, 0.12);
  --shadow-glow: 0 8px 28px rgba(14, 116, 144, 0.18);
  --gradient-page: linear-gradient(165deg, #ffffff 0%, #f3f8f7 42%, #e8f1f0 100%);
  --gradient-hero: linear-gradient(145deg, #ffffff 0%, #f7fbfb 55%, #eaf4f3 100%);
  --gradient-topbar: linear-gradient(90deg, #123338 0%, #1a3d45 50%, #1f4a54 100%);
  --gradient-accent: linear-gradient(135deg, #14a0b8 0%, #0e7490 45%, #0a5c73 100%);
  --gradient-card: linear-gradient(160deg, #ffffff 0%, #f7fbfb 100%);
  --gradient-section: linear-gradient(180deg, #f2f6f5 0%, #e6efee 100%);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

body.home-page {
  margin: 0;
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--gradient-page);
  background-attachment: fixed;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ─── Premium surface cards ─── */
.surface-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.surface-card--elevated {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg), var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.surface-card:hover {
  border-color: rgba(14, 116, 144, 0.28);
  box-shadow: var(--shadow-md), 0 4px 20px rgba(14, 116, 144, 0.08);
}

.surface-card--elevated:hover {
  box-shadow: var(--shadow-lg), 0 12px 36px rgba(14, 116, 144, 0.16);
}

.home-page a { color: inherit; text-decoration: none; }
.home-page img { max-width: 100%; height: auto; display: block; }

.home-page .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Top bar ─── */
.topbar {
  background: var(--gradient-topbar);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(15, 35, 71, 0.25);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  min-height: 40px;
}

.topbar-title { opacity: 0.95; line-height: 1.3; }

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.topbar-phone svg { flex-shrink: 0; opacity: 0.85; }

.topbar-phone-label {
  font-weight: 500;
  opacity: 0.8;
  display: none;
}

@media (min-width: 640px) {
  .topbar-phone-label { display: inline; }
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 116, 144, 0.1);
  box-shadow: 0 4px 24px rgba(15, 42, 48, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  min-height: var(--header-h);
}

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

.brand-logo {
  width: 44px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.brand-tagline {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.2;
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.nav a {
  padding: 6px 0;
  transition: color 0.15s;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-block {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.header-phone {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.header-phone-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  white-space: nowrap;
  font-family: inherit;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #22a0b8 0%, #0e7490 50%, #0a5c73 100%);
  box-shadow: 0 6px 22px rgba(14, 116, 144, 0.45);
}

.btn-outline {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-color: var(--border);
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.btn-outline:hover {
  border-color: #93c5fd;
  color: var(--accent);
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 10px;
}

/* Hamburger */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
}

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

.mobile-nav a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

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

.mobile-nav .btn-primary {
  margin-top: 8px;
  width: 100%;
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .header-phone-block { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

@media (max-width: 1023px) {
  .header-right .btn-primary { display: none; }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 36px 0 52px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 116, 144, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}

.badge-official {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #ecfdf3 0%, #d1fae5 100%);
  border: 1px solid var(--green-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  box-shadow: 0 2px 10px rgba(22, 163, 74, 0.12);
}

.badge-official .check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399 0%, #22c55e 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.35);
}

.hero h1 {
  margin: 16px 0 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #0f2a30 0%, #1a3d45 55%, #0e7490 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--navy);
}

.hero-subtitle {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

.hero-subtitle-muted {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.stat-highlight {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.stat-topic-text {
  display: block;
  transition: opacity 0.25s ease;
}

.stat-topic-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
}

.phone-box {
  margin-top: 20px;
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border-color: rgba(14, 116, 144, 0.12);
}

.phone-box-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.phone-box-number a { color: inherit; }
.phone-box-number a:hover { color: var(--accent); }

.phone-box-note {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

.phone-box-channel {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

.stat-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}

.stat-label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

/* FAQ rotator */
.faq-block.surface-card {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: var(--radius-xl);
  border-color: rgba(14, 116, 144, 0.14);
}

.faq-rotator {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(15, 42, 48, 0.04);
  overflow: hidden;
}

.faq-rotator-viewport {
  position: relative;
  min-height: 22px;
}

.faq-rotator-text {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-rotator-text.is-active {
  opacity: 1;
  transform: translateY(0);
}

.faq-rotator-text.is-leaving {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(-8px);
}

.faq-rotator-text.is-entering {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.faq-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pill:hover,
.pill.is-active {
  border-color: rgba(14, 116, 144, 0.45);
  color: var(--accent);
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 2px 10px rgba(14, 116, 144, 0.12);
}

/* Form card */
.form-card {
  border-radius: var(--radius-xl);
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-card h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.form-card .form-sub {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.form-card label {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.form-card label .req { color: #ef4444; }

.form-card input,
.form-card textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-card textarea {
  resize: vertical;
  min-height: 100px;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.12);
}

.form-card .btn-primary {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 15px;
}

.form-privacy {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.form-privacy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
}

.status-ok { background: #ecfdf5; border: 1px solid #bbf7d0; color: #065f46; }
.status-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.hidden { display: none !important; }
.opacity-60 { opacity: 0.6; }
.pointer-events-none { pointer-events: none; }

/* ─── Sections ─── */
.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--gradient-section);
  border-top: 1px solid rgba(14, 116, 144, 0.08);
  border-bottom: 1px solid rgba(14, 116, 144, 0.06);
}

.section-title--sub {
  margin-top: 40px;
  margin-bottom: 24px;
}

.section-title--sub h2 {
  font-size: clamp(20px, 2.5vw, 26px);
}

.section-title {
  text-align: center;
  margin-bottom: 32px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-title p {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

/* Topic cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  border-color: rgba(14, 116, 144, 0.14);
}

.topic-card:hover {
  border-color: rgba(14, 116, 144, 0.32);
  transform: translateY(-2px);
}

.topic-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.topic-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic-card li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--link);
  line-height: 1.4;
  transition: color 0.15s;
}

.topic-card li a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Rights cards with buttons */
.rights-card .rights-sub {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.rights-card ul {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 1.6;
}

.rights-card .card-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Document cards */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.doc-card {
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(14, 116, 144, 0.1);
}

.doc-card:hover {
  background: linear-gradient(160deg, #ffffff 0%, #f8faff 100%);
  border-color: rgba(14, 116, 144, 0.28);
  transform: translateY(-2px);
}

.doc-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}

.doc-card-desc {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  flex: 1;
}

.doc-card-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.doc-format {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.section-footnote {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Help section */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.help-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(14, 116, 144, 0.1);
}

.help-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.help-card ul {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  color: #475569;
  line-height: 1.7;
}

.help-card-note {
  margin-top: 12px;
  font-size: 12px;
  font-style: italic;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.help-features {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: rgba(14, 116, 144, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 116, 144, 0.25);
}

.feature-card h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.feature-card p {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.help-region {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.why-card {
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.step-card {
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.15) 0%, rgba(14, 116, 144, 0.08) 100%);
  border: 1px solid rgba(14, 116, 144, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.12);
}

.why-card h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.step-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}

/* CTA bottom */
.cta-bottom {
  background: linear-gradient(135deg, #123338 0%, #1a3d45 40%, #1f4a54 100%);
  color: #fff;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.cta-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-list {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.cta-list strong {
  font-weight: 800;
  color: #fff;
}

.cta-form-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.cta-form-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}

.cta-form label {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cta-form input {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  outline: none;
}

.cta-form input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.25);
}

.cta-form .btn-primary {
  width: 100%;
  margin-top: 16px;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(14, 116, 144, 0.1);
  padding: 40px 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-rotator-text,
  .surface-card,
  .topic-card,
  .doc-card,
  .feature-card {
    transition: none !important;
  }
}

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

.footer-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.footer-muted {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.55;
}

.footer-links {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: color 0.15s;
}

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

.footer-phone {
  font-weight: 800;
  color: var(--navy);
}

.footer-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 40px 0; }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .grid-3,
  .doc-grid,
  .help-grid,
  .help-features,
  .why-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 13px; }
  .brand-tagline { font-size: 11px; }
  .phone-box-number { font-size: 20px; }
  .pill-row { gap: 6px; }
  .pill { font-size: 12px; padding: 8px 12px; }
}

@media (max-width: 480px) {
  .home-page .container { padding: 0 16px; }
  .form-card { padding: 20px 18px; }
  .topbar-title { font-size: 11px; }
  .topbar-phone { font-size: 12px; }
}

@media (min-width: 400px) and (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 11px; }
}
