@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --mist: #e9eff6;
  --porcelain: #f7fafc;
  --white: #ffffff;
  --accent: #9db4c4;
  --accent-strong: #2f6478;
  --ink: #101826;
  --ink-soft: #46566b;
  --stone: #69798d;
  --line: rgba(16, 24, 38, 0.1);
  --line-strong: rgba(16, 24, 38, 0.18);
  --panel: rgba(255, 255, 255, 0.7);
  --shadow-soft: 0 24px 70px rgba(16, 24, 38, 0.08);
  --shadow-card: 0 20px 50px rgba(16, 24, 38, 0.11);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(157, 180, 196, 0.24), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(47, 100, 120, 0.14), transparent 20%),
    linear-gradient(180deg, #eef3f8 0%, #e3eaf2 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(16, 24, 38, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 38, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

a {
  color: inherit;
}

.page-shell {
  padding: 22px;
}

.page-frame {
  position: relative;
  max-width: 1340px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 27, 0.08);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(233, 239, 246, 0.98)),
    var(--white);
  box-shadow: 0 35px 90px rgba(21, 23, 27, 0.1);
}

.page-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 14%, rgba(255, 255, 255, 0.7), transparent 16%),
    radial-gradient(circle at 80% 80%, rgba(157, 180, 196, 0.16), transparent 18%);
}

.site-nav,
.hero,
.confidence-strip,
.section-shell,
.process-section,
.cta-section,
.quote-main,
.legal-main,
.site-footer {
  position: relative;
  z-index: 1;
  animation: fade-up 0.7s ease both;
}

.site-nav {
  padding: 28px 32px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(21, 23, 27, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 35px rgba(21, 23, 27, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink), #22314b);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(16, 24, 38, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
.brand-copy small {
  white-space: nowrap;
}

.brand-copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy small {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-links .nav-phone {
  border: 1px solid rgba(21, 23, 27, 0.08);
  background: rgba(157, 180, 196, 0.22);
  color: var(--ink);
}

.nav-links .nav-phone:hover {
  background: var(--accent-strong);
  color: var(--white);
  border-color: transparent;
}

.hero,
.section-shell,
.cta-section,
.quote-main,
.legal-main {
  padding-left: 40px;
  padding-right: 40px;
}

.hero {
  padding-top: 42px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  padding: 26px 8px 26px 0;
}

.eyebrow,
.card-kicker,
.confidence-label,
.service-index,
.step-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--stone);
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1,
.interior-hero h1,
.legal-card h1,
.section-heading h2,
.hero-card h2,
.service-card h3,
.process-step h3,
.info-card h2,
.confidence-item h3,
.signature-panel h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.5rem, 7vw, 6.15rem);
  line-height: 0.9;
}

.hero-lead,
.body-copy p,
.hero-card p,
.service-card p,
.process-step p,
.confidence-item h3,
.cta-copy,
.cta-note,
.legal-card p,
.legal-card li,
.info-card p,
.small-note {
  color: var(--ink-soft);
  line-height: 1.85;
}

.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 182px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--ink), #24344f);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(16, 24, 38, 0.2);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid rgba(21, 23, 27, 0.14);
  background: rgba(255, 255, 255, 0.74);
}

.button-primary:hover,
.button-secondary:hover,
.card-button:hover {
  transform: translateY(-2px);
}

.hero-points,
.detail-list,
.compact-list,
.legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-points li {
  padding: 12px 16px;
  border: 1px solid rgba(21, 23, 27, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  color: var(--stone);
  box-shadow: 0 10px 24px rgba(21, 23, 27, 0.04);
}

.hero-card,
.statement-card,
.service-card,
.confidence-item,
.info-card,
.legal-card,
.quote-form-frame,
.signature-panel {
  border: 1px solid rgba(21, 23, 27, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #101826 0%, #20314a 100%);
  color: var(--white);
}

.hero-card::before {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 180, 196, 0.34), transparent 68%);
}

.hero-card h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.95;
  color: var(--white);
}

.hero-card p,
.hero-card li {
  color: rgba(255, 255, 255, 0.78);
}

.card-kicker {
  color: rgba(157, 180, 196, 0.95);
}

.detail-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.detail-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.75;
}

.detail-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-list span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-contact {
  margin-top: 26px;
}

.card-contact a {
  color: var(--white);
  text-decoration-color: rgba(157, 180, 196, 0.7);
}

.confidence-strip {
  padding: 0 40px 56px;
}

.confidence-grid,
.services-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

.confidence-grid,
.services-grid,
.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.confidence-item {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.confidence-label,
.service-index {
  color: var(--accent-strong);
}

.confidence-item h3 {
  font-size: 1.14rem;
  font-weight: 700;
}

.section-shell {
  padding-bottom: 56px;
}

.section-shell-tight {
  padding-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.signature-panel h2,
.legal-card h1,
.interior-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 0.95;
}

.section-heading-tight {
  max-width: 660px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 20px;
  align-items: start;
}

.body-copy p {
  margin: 0 0 18px;
}

.statement-card,
.signature-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
}

.statement-card p:last-child {
  margin-bottom: 0;
}

.services-grid {
  margin-top: 8px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 242, 248, 0.94));
}

.service-index,
.step-number {
  margin-bottom: 18px;
}

.service-card h3,
.process-step h3 {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 14px;
}

.process-section {
  padding: 0 40px 56px;
}

.process-wrap {
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(140deg, #101826 0%, #21344f 100%);
  box-shadow: 0 28px 70px rgba(16, 24, 38, 0.2);
}

.section-heading-on-dark h2,
.process-step h3,
.process-step p,
.process-step .step-number {
  color: var(--white);
}

.process-step {
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.signature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.96fr);
  gap: 28px;
  align-items: start;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(236, 242, 248, 0.96));
}

.signature-list {
  display: grid;
  gap: 14px;
}

.signature-list p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(21, 23, 27, 0.08);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink-soft);
  line-height: 1.7;
}

.cta-section {
  padding-bottom: 66px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding: 34px;
  border-radius: 32px;
  border: 1px solid rgba(21, 23, 27, 0.08);
  background: linear-gradient(125deg, rgba(157, 180, 196, 0.36) 0%, rgba(236, 242, 248, 0.96) 48%, rgba(255, 255, 255, 0.94) 100%);
  box-shadow: var(--shadow-card);
}

.cta-copy {
  max-width: 640px;
  margin: 16px 0 0;
}

.cta-actions {
  margin-top: 0;
}

.cta-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

.quote-main {
  padding-top: 38px;
  padding-bottom: 42px;
}

.interior-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 26px;
}

.interior-copy {
  max-width: 700px;
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.info-card h2 {
  font-size: 2rem;
  line-height: 0.98;
  margin-bottom: 14px;
}

.info-card p {
  margin: 0 0 12px;
}

.card-button {
  width: 100%;
  margin-top: 12px;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 22px;
  align-items: start;
}

.quote-form-frame {
  padding: 18px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
}

.quote-form-frame iframe {
  display: block;
  width: 100%;
  min-height: 1180px;
  border: 0;
  border-radius: 20px;
  background: var(--white);
}

.compact-list {
  display: grid;
  gap: 12px;
}

.compact-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(233, 239, 246, 0.88);
  line-height: 1.65;
  color: var(--ink-soft);
}

.small-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.quote-card {
  max-width: 100%;
}

.quote-disclaimer-section {
  margin-top: 26px;
}

.quote-disclaimer {
  margin: 0;
}

.legal-main {
  padding-top: 38px;
  padding-bottom: 60px;
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 38px clamp(22px, 4vw, 48px);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.84);
}

.legal-card h2 {
  margin: 32px 0 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
  margin: 0 0 14px;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.legal-list li {
  margin: 0;
  padding-left: 18px;
  position: relative;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  transform: translateY(-50%);
}

.legal-back-link {
  margin-top: 28px;
}

.legal-back-link a,
.cta-note a,
.site-footer a,
.info-card a,
.legal-card a,
.hero-card a {
  text-decoration-color: rgba(47, 100, 120, 0.55);
  text-underline-offset: 0.16em;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 40px 34px;
  border-top: 1px solid rgba(21, 23, 27, 0.08);
}

.site-footer p {
  margin: 0 0 6px;
  color: var(--stone);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .split-layout,
  .interior-hero,
  .quote-layout,
  .signature-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }

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

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 12px;
  }

  .site-nav,
  .hero,
  .section-shell,
  .cta-section,
  .quote-main,
  .legal-main,
  .confidence-strip,
  .process-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav {
    padding-top: 18px;
  }

  .nav-inner {
    padding: 16px;
  }

  .brand-copy strong,
  .brand-copy small {
    white-space: normal;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    max-width: none;
  }

  .confidence-grid,
  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-wrap,
  .cta-panel,
  .statement-card,
  .signature-panel,
  .legal-card,
  .hero-card,
  .service-card,
  .info-card,
  .confidence-item {
    padding: 22px;
  }

  .site-footer {
    padding-bottom: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .button-primary,
  .button-secondary,
  .card-button {
    width: 100%;
  }

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

  .hero-points li,
  .compact-list li {
    width: 100%;
  }

  .quote-form-frame iframe {
    min-height: 1320px;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  body::before,
  .site-nav,
  .site-footer {
    display: none !important;
  }

  .page-shell {
    padding: 0;
  }

  .page-frame {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: #ffffff;
  }

  .legal-main {
    padding: 0;
  }

  .legal-card {
    box-shadow: none;
    border: 0;
    padding: 0;
    max-width: 100%;
    background: #ffffff;
  }
}
