:root {
  --bg: #f3f5fb;
  --bg-soft: #e9efff;
  --surface: rgba(255,255,255,.88);
  --surface-solid: #ffffff;
  --surface-alt: #f7f9ff;
  --primary: #123d7a;
  --primary-dark: #0d2950;
  --primary-soft: #dfe9ff;
  --accent: #edf3ff;
  --text: #18263b;
  --muted: #586579;
  --line: rgba(18,61,122,.12);
  --success: #edf8f1;
  --error: #fff2f2;
  --shadow: 0 20px 60px rgba(12, 29, 49, .12);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(129,164,255,.18), transparent 32%),
    linear-gradient(180deg, #fbfcff 0%, #f2f6ff 100%);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.1; letter-spacing: -.02em; }
h1 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); }
h3 { font-size: 1.2rem; }
.container { width: min(100% - 40px, 1180px); margin: 0 auto; }
.container.narrow { width: min(100% - 40px, 820px); }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  padding: 14px 0;
  backdrop-filter: blur(20px);
  background: rgba(248,250,255,.78);
  border-bottom: 1px solid rgba(18,61,122,.08);
}
.nav-wrap {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  min-height: 78px; padding: 12px 18px;
  border-radius: 28px; background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.76); box-shadow: 0 18px 46px rgba(12,29,49,.08);
}
.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; display: inline-grid; place-items: center;
  border-radius: 14px; background: linear-gradient(135deg, var(--primary), #275fb4);
  color: white; box-shadow: 0 12px 24px rgba(18,61,122,.25); flex: 0 0 auto;
}
.brand-copy { display: grid; gap: 2px; min-width: 0; }
.brand-text { font-size: 1rem; }
.brand-sub { font-size: .78rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav {
  display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--muted);
}
.nav a { padding: 10px 0; font-weight: 600; }
.nav a:hover { color: var(--primary); }
.header-actions { display: inline-flex; align-items: center; gap: 12px; }
.language-switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(18,61,122,.08); box-shadow: inset 0 0 0 1px rgba(18,61,122,.08);
}
.language-switch a {
  min-width: 48px; padding: 8px 14px; border-radius: 999px; text-align: center;
  font-size: .88rem; font-weight: 700; color: var(--muted); transition: all .18s ease;
}
.language-switch a.active {
  background: #fff; color: var(--primary-dark); box-shadow: 0 8px 18px rgba(12,29,49,.08);
}
.nav-app-link { padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.hero {
  padding: 72px 0 52px;
}
.hero-app { position: relative; overflow: hidden; }
.hero-app::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 20%, rgba(129,164,255,.16), transparent 24%), radial-gradient(circle at 10% 12%, rgba(18,61,122,.06), transparent 28%); pointer-events: none; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: rgba(18,61,122,.08); color: var(--primary);
  font-size: .88rem; font-weight: 700; margin-bottom: 20px;
}
.eyebrow-light { background: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.lead { font-size: 1.12rem; max-width: 680px; color: #42546f; }
.hero-microcopy { margin: 0; font-size: .95rem; color: #5a6c87; font-weight: 600; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px; border-radius: 16px; border: 0;
  background: linear-gradient(135deg, var(--primary), #1a56a3);
  color: #fff; font-weight: 700; letter-spacing: -.01em; box-shadow: 0 18px 34px rgba(18,61,122,.18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 22px 40px rgba(18,61,122,.22); }
.btn:hover { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }
.btn,
.btn:link,
.btn:visited,
.btn span,
.btn strong,
.btn svg {
  color: white;
}
.btn-secondary, .btn-outline {
  background: gray;
}
.btn-secondary:hover,
.btn-outline:hover,
.btn-cream:hover {
  color: #fff;
}
.btn-secondary:hover,
.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 22px 40px rgba(18,61,122,.22), inset 0 0 0 1px transparent;
}
.btn-cream { background: rgba(255,255,255,.92); color: black !important; }
.btn-cream:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.btn-small { min-height: 42px; padding: 0 16px; }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(18,61,122,.14), 0 18px 34px rgba(18,61,122,.18);
}
.btn-block { width: 100%; }
.trust-list {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.trust-list li, .contact-card, .info-card, .step, .message-box, .content-page, .pricing-card, .hero-visual-card {
  border: 1px solid rgba(255,255,255,.7);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.trust-list li {
  padding: 10px 14px; border-radius: 999px; color: var(--text); font-weight: 600;
}
.hero-visual-card {
  border-radius: 32px; padding: 24px; display: grid; gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(240,245,255,.86));
  box-shadow: 0 28px 60px rgba(18,61,122,.14);
}
.hero-app-panel {
  background: linear-gradient(180deg, rgba(18,61,122,.98), rgba(11,33,68,.98));
  color: #fff; padding: 26px; border-radius: 24px;
}
.hero-app-panel p, .hero-app-panel .stat-label { color: rgba(255,255,255,.76); }
.stat-label { display: block; margin-bottom: 10px; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; }
.offer-pill {
  display: inline-flex; margin-top: 10px; padding: 10px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff; font-weight: 800;
}
.offer-subline { margin-top: 10px; font-weight: 600; color: rgba(255,255,255,.78); }
.hero-phone-stack { position: relative; min-height: 320px; }
.phone-card {
  position: absolute; width: 72%; border-radius: 28px; padding: 24px; background: #fff;
  border: 1px solid rgba(18,61,122,.1); box-shadow: 0 28px 50px rgba(18,61,122,.16);
}
.phone-card.primary { top: 0; left: 0; z-index: 2; }
.phone-card.secondary { right: 0; bottom: 0; width: 58%; background: linear-gradient(180deg, #eff4ff, #fff); }
.phone-top { width: 44%; height: 12px; border-radius: 999px; background: #dbe6ff; margin-bottom: 22px; }
.phone-line { height: 12px; border-radius: 999px; background: #eef3ff; margin-bottom: 14px; }
.phone-line.short { width: 62%; }
.phone-checklist { display: grid; gap: 10px; margin-top: 20px; }
.phone-checklist span {
  display: block; padding: 12px 14px; border-radius: 14px; background: #f4f7ff; color: var(--primary-dark); font-weight: 600;
}
.phone-price { font-size: 2rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 18px; }
.section { padding: 84px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(233,239,255,.65)); }
.section-contrast { background: rgba(255,255,255,.58); }
.section-light { background: linear-gradient(180deg, #f8faff 0%, #eef4ff 100%); }
.section-darkband {
  background: linear-gradient(135deg, #0f223f, #123d7a);
}
.section-darkquote {
  background: linear-gradient(180deg, #eef4ff 0%, #dfe8fb 100%);
}
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading-light h2, .section-heading-light p { color: #fff; }
.two-col-copy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
.section-heading.left { margin-bottom: 0; }
.card-grid, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card, .step, .pricing-card { padding: 28px; border-radius: var(--radius); }
.card-light { background: rgba(255,255,255,.95); }
.bullet-card h3 { margin-bottom: 16px; }
.bullet-list {
  margin: 0; padding-left: 20px; color: var(--muted); line-height: 1.8;
}
.bullet-list li + li { margin-top: 6px; }
.bullet-list.compact li + li { margin-top: 2px; }
.emphasis-card {
  display: flex; align-items: center; justify-content: center; min-height: 100%;
}
.emphasis-card p { font-size: 1.12rem; color: var(--text); font-weight: 600; }
.emphasis-strong { background: linear-gradient(180deg, #123d7a, #0f223f); }
.emphasis-strong p { color: #fff; }
.step span {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  margin-bottom: 18px; border-radius: 14px; background: var(--accent); color: var(--primary); font-weight: 800;
}
.pricing-grid {
  display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: center;
}
.pricing-card {
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(245,249,255,.94));
}
.pricing-amount { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: var(--primary-dark); line-height: 1; }
.pricing-period { margin: 10px 0 18px; }
.cta-panel {
  padding: 40px; border-radius: 32px; background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow);
}
.cta-panel-strong {
  background: linear-gradient(135deg, rgba(18,61,122,.98), rgba(12,34,66,.98));
}
.cta-panel-strong h2,
.cta-panel-strong p { color: #fff; }
.cta-panel-strong .eyebrow {
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
}
.cta-panel-dark-soft {
  background: linear-gradient(135deg, rgba(18,61,122,.92), rgba(47,89,155,.92));
}
.cta-panel-dark-soft h2, .cta-panel-dark-soft p { color: #fff; }
.section-cta-row { margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: start; }
.contact-copy { max-width: 540px; }
.contact-card { padding: 24px; border-radius: var(--radius); margin-top: 24px; }

.contact-grid-clean { grid-template-columns: .9fr 1.1fr; }
.support-card { display: grid; gap: 18px; }
.support-card h3 { margin-bottom: 0; }
.support-actions { display: grid; gap: 12px; }
.support-details { padding-top: 4px; border-top: 1px solid var(--line); }
.support-details p:last-child { margin-bottom: 0; }
.legal-content h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.legal-content h2 { font-size: clamp(1rem, 1.6vw, 1.35rem); margin-top: 24px; margin-bottom: 8px; }
.legal-content p, .legal-content li { font-size: .98rem; line-height: 1.7; }

.site-footer { padding: 20px 0 38px; background: #0f1d31; }
.footer-shell {
  padding: 28px; border-radius: 32px; background: linear-gradient(180deg, #0f1d31, #11243d);
  color: rgba(255,255,255,.9); box-shadow: 0 30px 60px rgba(8,16,28,.24);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .7fr .7fr .7fr .9fr; gap: 24px;
}
.footer-grid h3, .footer-grid h4 { color: #fff; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.72); }
.footer-lead { max-width: 22rem; }
.footer-address { margin-bottom: 18px; }
.footer-app-cta { margin-top: 4px; }
.footer-company-block p strong { color: rgba(255,255,255,.96); }
.footer-bottom {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09);
  color: #bcc7d7; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.page-simple { padding: 60px 0 80px; }
.message-box, .content-page { padding: 32px; border-radius: 28px; }
.message-box.success { background: var(--success); }
.message-box.error { background: var(--error); }
.lang-switch { min-width: 64px; }
.language-page {
  min-height: 100vh; display: grid; place-items: center; padding: 32px 0;
}
.language-wrap { display: flex; justify-content: center; }
.language-card {
  width: min(760px, 100%); padding: 40px; border-radius: 32px; background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow); backdrop-filter: blur(16px); text-align: center;
}
.language-card p { max-width: 560px; margin: 0 auto; }
.language-actions { display:flex; gap:16px; justify-content:center; margin-top:28px; flex-wrap:wrap; }
@media (max-width: 980px) {
  .hero-grid, .contact-grid, .card-grid, .steps, .footer-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero-phone-stack { min-height: 280px; }
  .nav-wrap { grid-template-columns: 1fr; justify-items: start; }
  .header-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding-top: 40px; }
  .two-col, .mini-grid, .two-col-copy { grid-template-columns: 1fr; }
  .container { width: min(100% - 24px, 1180px); }
  h1 { font-size: 2.6rem; }
  .phone-card { position: relative; width: 100%; }
  .phone-card.secondary { width: 86%; margin-left: auto; margin-top: -36px; }
}

@media (max-width: 760px) {
  .hero-microcopy { max-width: 30rem; }
}

.hero .lead { max-width: 720px; }
.onboarding-card, .validity-card { background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(243,247,255,.94)); }
.onboarding-card h3, .validity-card h3 { color: var(--primary-dark); }
.validity-closer { color: var(--text); font-weight: 600; max-width: 46rem; }
.hero-actions .btn-secondary { background: rgba(255,255,255,.82); }
.contact-card strong { color: var(--primary-dark); }
.content-page h2 { margin-top: 28px; }
.content-page p + p { margin-top: 12px; }

@media (max-width: 760px) {
  .site-header { padding: 10px 0; }
  .nav-wrap { padding: 14px; gap: 14px; }
  .brand-sub { white-space: normal; }
  .header-actions { flex-wrap: wrap; gap: 10px; }
  .language-switch { order: 2; }
  .nav-app-link { width: 100%; justify-content: center; }
  .footer-shell { padding: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* Final visual QA pass: header, hero, footer */
.site-header {
  padding: 12px 0;
  background: rgba(248,250,255,.84);
  box-shadow: 0 1px 0 rgba(18,61,122,.04);
}

.nav-wrap {
  min-height: 74px;
  padding: 12px 16px;
  border-radius: 24px;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .18s ease, transform .18s ease;
}

.nav a:hover::after {
  opacity: .9;
  transform: scaleX(1);
}

.language-switch {
  background: rgba(18,61,122,.07);
}

.language-switch a:hover {
  color: var(--primary-dark);
  background: rgba(255,255,255,.72);
}

.nav-app-link {
  min-width: 126px;
}

.hero {
  padding: 82px 0 60px;
}

.hero-grid {
  gap: 48px;
}

.hero-actions {
  margin: 32px 0 18px;
}

.hero-visual-card {
  padding: 28px;
  border-radius: 30px;
}

.hero-app-panel,
.cta-panel-strong,
.cta-panel-dark-soft {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.btn-secondary,
.btn-outline,
.btn-cream {
  border: 1px solid rgba(18,61,122,.10);
}

.btn-secondary:hover,
.btn-outline:hover,
.btn-cream:hover,
.section-darkband .btn:hover,
.section-darkband .btn-secondary:hover,
.section-darkband .btn-outline:hover,
.site-footer .btn:hover {
  color: #fff;
}

.section-darkband .btn-secondary,
.section-darkband .btn-outline {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.22);
  box-shadow: none;
}

.section-darkband .btn-secondary:hover,
.section-darkband .btn-outline:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 18px 34px rgba(4,12,24,.18);
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-shell {
  padding: 30px;
}

.footer-grid {
  align-items: start;
}

.footer-brand-block,
.footer-company-block {
  min-width: 0;
}

.footer-grid p,
.footer-grid a {
  line-height: 1.7;
}

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

.footer-company-block p {
  margin-bottom: 8px;
}

.footer-app-cta {
  color: var(--primary-dark);
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

.footer-app-cta:hover {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 16px 34px rgba(3,10,22,.16);
}

.footer-bottom {
  align-items: center;
}

@media (max-width: 980px) {
  .nav-wrap {
    gap: 16px;
  }

  .header-actions {
    align-items: center;
  }

  .footer-grid {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 46px 0 42px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn,
  .section-cta-row .btn,
  .footer-app-cta {
    width: 100%;
  }

  .language-switch {
    width: auto;
  }

  .footer-shell {
    padding: 22px 18px;
  }
}


/* Digicodicil logo navigation */
.site-header {
  --nav-logo-height: 100px;
  --nav-shell-height: 128px;
  --nav-shell-padding-y: 14px;
  --nav-shell-radius: 26px;
  transition: padding 2s ease, background 2s ease, border-color 2s ease, box-shadow 2s ease;
}

.site-header.is-scrolled {
  --nav-logo-height: 60px;
  --nav-shell-height: 76.8px;
  --nav-shell-padding-y: 8.4px;
  --nav-shell-radius: 20px;
  padding: 7.2px 0;
}

.nav-wrap {
  min-height: var(--nav-shell-height);
  padding-top: var(--nav-shell-padding-y);
  padding-bottom: var(--nav-shell-padding-y);
  border-radius: var(--nav-shell-radius);
  transition: min-height 2s ease, padding 2s ease, border-radius 2s ease, background 2s ease, box-shadow 2s ease;
}

.brand {
  line-height: 0;
}

.brand-logo {
  display: block;
  height: var(--nav-logo-height);
  width: auto;
  max-width: min(42vw, 300px);
  object-fit: contain;
  transition: height 2s ease, max-width 2s ease;
}

.site-header.is-scrolled .brand-logo {
  max-width: min(42vw, 180px);
}

@media (max-width: 760px) {
  .site-header {
    --nav-shell-height: 128px;
    --nav-shell-padding-y: 12px;
  }

  .site-header.is-scrolled {
    --nav-shell-height: 76.8px;
    --nav-shell-padding-y: 7.2px;
  }

  .brand-logo {
    max-width: min(86vw, 300px);
  }

  .site-header.is-scrolled .brand-logo {
    max-width: min(86vw, 180px);
  }
}

/* Homepage hero image + contained parallax fix */
.hero-photo {
  --hero-parallax-y: 0px;
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background: #0d2950;
}

.hero-photo-bg {
  position: absolute;
  inset: -90px 0;
  z-index: 0;
  background-image: url('/assets/img/hero-couple-sixties.png');
  background-size: cover;
  background-position: center center;
  transform: translate3d(0, var(--hero-parallax-y), 0) scale(1.1);
  transform-origin: center center;
  will-change: transform;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 20, 42, .9) 0%, rgba(11, 34, 68, .78) 34%, rgba(13, 41, 80, .54) 58%, rgba(13, 41, 80, .22) 100%),
    radial-gradient(circle at 12% 24%, rgba(18, 61, 122, .34), transparent 36%);
}

.hero-photo .container,
.hero-photo .hero-grid {
  position: relative;
  z-index: 2;
}

.hero-photo .hero-grid {
  width: min(100% - 40px, 1180px);
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(0, 720px);
  justify-content: start;
}

.hero-content {
  max-width: 720px;
}

.hero-content h1,
.hero-content .lead,
.hero-content .hero-microcopy {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.hero-content .lead {
  color: rgba(255,255,255,.9);
}

.hero-content .hero-microcopy {
  color: rgba(255,255,255,.8);
}

/* Bootstrap-like badge treatment for small labels, not button-like pills */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,61,122,.14);
  background: rgba(18,61,122,.08);
  color: var(--primary);
  font-size: .74rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  box-shadow: none;
}

.eyebrow-light,
.cta-panel-strong .eyebrow {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
}

.eyebrow-hero {
  border-color: rgba(247,236,217,.26);
  background: rgba(247,236,217,.14);
  color: #f7ecd9;
}

.trust-list li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,61,122,.14);
  background: rgba(18,61,122,.07);
  color: var(--primary-dark);
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-photo .trust-list li {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.94);
}

/* Safer hero buttons on the dark/photo hero */
.hero-photo .btn-cream {
  background: #f7ecd9;
  color: var(--primary-dark) !important;
  border: 1px solid rgba(247,236,217,.28);
  box-shadow: 0 18px 34px rgba(3,10,22,.18);
}

.hero-photo .btn-cream:hover {
  background: #fff;
  color: #000 !important;
  box-shadow: 0 22px 40px rgba(3,10,22,.22);
}

/* Lower-page support image */
.intro-media-grid {
  align-items: stretch;
}

.intro-copy-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  max-width: 560px;
}

.intro-copy-stack .section-heading {
  max-width: 100%;
}

.intro-copy-stack .bullet-card {
  width: 100%;
}

.image-card {
  padding: 0;
  overflow: hidden;
  min-height: 440px;
}

.image-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contrast cleanup */
.section-heading p,
.bullet-list,
.info-card p,
.step p,
.pricing-period,
.contact-copy,
.support-details p {
  color: #475872;
}

.section-heading-light p,
.cta-panel-strong p,
.cta-panel-dark-soft p {
  color: rgba(255,255,255,.9);
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255,255,255,.82);
}

@media (max-width: 980px) {
  .hero-photo .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-photo {
    min-height: auto;
    padding: 56px 0 46px;
  }

  .hero-photo-bg {
    inset: 0;
    transform: none !important;
    background-position: 62% center;
  }

  .hero-photo .hero-grid {
    width: min(100% - 24px, 1180px);
  }
  .image-card {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-bg {
    transform: none !important;
  }
}


/* Lightweight motion pass */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroBgSettle {
  from {
    transform: translate3d(0, calc(var(--hero-parallax-y, 0px) - 14px), 0) scale(1.045);
  }
  to {
    transform: translate3d(0, var(--hero-parallax-y, 0px), 0) scale(1.035);
  }
}

.hero-photo-bg {
  animation: heroBgSettle 1.4s cubic-bezier(.2,.7,.2,1) both;
}

.hero-photo .hero-grid > *,
.hero-photo .hero-actions,
.hero-photo .trust-list {
  animation: heroContentIn .8s cubic-bezier(.2,.7,.2,1) both;
}

.hero-photo .hero-grid > *:nth-child(1) { animation-delay: .06s; }
.hero-photo .hero-actions { animation-delay: .18s; }
.hero-photo .trust-list { animation-delay: .28s; }

.js .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.info-card,
.step,
.pricing-card,
.cta-panel,
.contact-card,
.image-card {
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.info-card:hover,
.step:hover,
.pricing-card:hover,
.contact-card:hover,
.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(12, 29, 49, .15);
  border-color: rgba(18,61,122,.16);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 42%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .65s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.nav a,
.footer-grid a,
.contact-copy a,
.support-details a {
  transition: color .25s ease, opacity .25s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .info-card:hover,
  .step:hover,
  .pricing-card:hover,
  .contact-card:hover,
  .image-card:hover {
    transform: none;
  }
}


@media (max-width: 760px) {
  .intro-copy-stack {
    max-width: none;
    justify-content: flex-start;
  }

  .intro-copy-stack .section-heading {
    margin-bottom: 0;
  }
}
