:root {
  --navy: #0b1f3a;
  --gold: #c8a96a;
  --gold-deep: #aa884a;
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text: #0f1726;
  --muted: #526070;
  --line: rgba(11, 31, 58, 0.08);
  --shadow-soft: 0 20px 60px rgba(11, 31, 58, 0.08);
  --shadow-strong: 0 30px 90px rgba(11, 31, 58, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --heading-font: "Cormorant Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf9f5 38%, #f8f7f3 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

svg {
  width: 24px;
  height: 24px;
}

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

button {
  font: inherit;
}

.page-shell {
  overflow-x: clip;
}

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

.section {
  padding: 110px 0;
}

.section-tight {
  padding: 0 0 70px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  width: 40px;
  height: 38px;
}

.brand-person {
  position: relative;
  display: inline-block;
  width: 11px;
  height: 30px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, #d9bb7b 0%, #b78f46 100%);
}

.brand-person::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e2c98f 0%, #bc9346 100%);
}

.brand-house {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 26px;
  border-left: 6px solid var(--navy);
  border-right: 6px solid var(--navy);
  border-bottom: 6px solid transparent;
}

.brand-house::before,
.brand-house::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 16px;
  height: 6px;
  background: var(--navy);
}

.brand-house::before {
  left: -3px;
  transform: rotate(-34deg);
  transform-origin: left center;
}

.brand-house::after {
  right: -3px;
  transform: rotate(34deg);
  transform-origin: right center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  letter-spacing: 0;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.brand-copy span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

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

.site-nav a.is-active {
  color: var(--navy);
  font-weight: 600;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--gold);
}

.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.nav-cta {
  padding: 15px 23px;
  border-radius: 8px;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--navy);
}

.hero {
  padding-top: 34px;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 54px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: end;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
}

.hero-copy-inner {
  max-width: 560px;
  padding: 36px 0 84px 64px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

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

.hero h1,
.statement h2,
.section-heading h2,
.feature-copy h2,
.cta-panel h2 {
  margin: 0;
  letter-spacing: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--navy);
}

.hero h1 {
  max-width: 10.8ch;
  font-size: clamp(4.4rem, 5.9vw, 5.7rem);
  line-height: 0.86;
  color: var(--navy);
}

.hero-line {
  display: block;
}

.hero h1 span span,
.feature-copy h2 span {
  color: var(--gold);
}

.hero-text,
.feature-copy p,
.cta-panel p {
  margin: 24px 0 0;
  max-width: 390px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
}

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

.button-primary,
.button-gold {
  background: linear-gradient(180deg, #d4b374 0%, #b9924f 100%);
  color: #fff;
  box-shadow: 0 16px 28px rgba(193, 150, 77, 0.2);
}

.button-secondary {
  border: 1px solid rgba(11, 31, 58, 0.14);
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
}

.hero .button {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 0.94rem;
}

.button-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  background: transparent;
}

.hero-rating {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #4d5a69;
  font-size: 0.8rem;
  white-space: nowrap;
}

.hero-rating strong {
  color: var(--navy);
  font-size: 0.86rem;
}

.rating-badges {
  display: inline-flex;
  gap: 3px;
}

.rating-badges span {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: #00b67a;
}

.trustpilot-word {
  color: #00b67a;
  font-weight: 600;
}

.hero-stage {
  position: relative;
  min-height: 720px;
  border-radius: 30px;
  overflow: hidden;
  background:
    #d8dde4;
  box-shadow: 0 24px 72px rgba(11, 31, 58, 0.12);
}

.hero-stage-panel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  bottom: 0;
  width: auto;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(247, 244, 239, 0.92) 0%, rgba(247, 244, 239, 0.84) 23%, rgba(247, 244, 239, 0.42) 42%, rgba(247, 244, 239, 0.12) 58%, rgba(247, 244, 239, 0.02) 72%, rgba(247, 244, 239, 0) 100%);
}

.hero-window-video {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  display: block;
  border: 0;
  filter: saturate(0.88) brightness(0.98);
  opacity: 1;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 30%, rgba(11, 31, 58, 0.12) 100%);
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 28%),
    radial-gradient(ellipse at center bottom, rgba(11, 31, 58, 0.16) 0%, rgba(11, 31, 58, 0) 34%);
}

.trust-bar-card,
.service-card,
.calculator-card,
.testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-soft);
}

.trust-bar-card {
  display: grid;
  gap: 26px;
  padding: 32px 34px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 169, 106, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 100%);
  position: relative;
}

.trust-bar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
}

.trust-heading {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.trust-item {
  display: grid;
  gap: 12px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: 0 20px 40px rgba(11, 31, 58, 0.05);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon,
.process-icon,
.calculator-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: 1px solid rgba(200, 169, 106, 0.24);
  background: linear-gradient(180deg, rgba(200, 169, 106, 0.16) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.trust-item strong,
.service-card h3,
.calculator-card h3,
.testimonial-card h3,
.process-step h3,
.footer-links h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
}

.trust-item p,
.service-card p,
.calculator-card p,
.testimonial-card p,
.process-step p,
.footer-brand p,
.footer-base p,
.footer-links a {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.statement-wrap {
  text-align: center;
  max-width: 900px;
}

.statement h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96;
}

.feature-copy h2,
.section-heading h2,
.cta-panel h2 {
  font-size: clamp(3rem, 4.8vw, 4.7rem);
  line-height: 0.92;
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 42px;
}

.feature-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(11, 31, 58, 0.12);
}

.feature-media img {
  aspect-ratio: 1.22 / 0.64;
  object-fit: cover;
}

.feature-video {
  display: block;
  width: 100%;
  aspect-ratio: 1.22 / 0.64;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.services-grid,
.calculator-grid,
.testimonials-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.calculator-card,
.testimonial-card {
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.service-card:hover,
.calculator-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(200, 169, 106, 0.22);
}

.service-card img {
  aspect-ratio: 1 / 0.68;
  object-fit: cover;
  transition: transform 0.45s ease;
  transform-origin: center center;
}

.service-card:hover img {
  transform: scale(1.06);
}

.card-body {
  display: grid;
  gap: 11px;
  padding: 18px 16px 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.text-link::after {
  content: "->";
  color: var(--gold);
}

.text-link-gold {
  margin-top: 20px;
}

.process-section {
  color: #fff;
  background:
    linear-gradient(180deg, #07233b 0%, #041b31 100%);
}

.process-section .section-heading h2,
.process-section .process-step h3 {
  color: #fff;
}

.process-section .section-heading p,
.process-section .process-step p {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(200, 169, 106, 0.7) 38%, rgba(200, 169, 106, 0) 0);
  background-size: 7px 1px;
  background-repeat: repeat-x;
}

.process-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  padding: 0 10px;
}

.process-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
}

.process-step .step-index {
  font-size: 1.65rem;
  line-height: 1;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--gold);
}

.calculator-card {
  min-height: 216px;
}

.calculator-card .card-body {
  height: 100%;
  align-content: start;
}

.testimonial-card {
  min-height: 194px;
}

.stars {
  color: #00b67a;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.quote-mark {
  color: var(--gold);
  font-family: var(--heading-font);
  font-size: 2.5rem;
  line-height: 0.7;
  display: inline-block;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.testimonial-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(11, 31, 58, 0.14);
  background: transparent;
}

.testimonial-dots .is-active {
  background: var(--gold);
  border-color: var(--gold);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 28px 34px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #0e2648 0%, #08182b 100%);
  box-shadow: var(--shadow-strong);
}

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

.site-footer {
  padding: 26px 0 16px;
  background: #08172b;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr));
  gap: 34px;
  padding-bottom: 22px;
}

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

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h3 {
  margin: 0 0 6px;
  color: #fff;
}

.footer-links a {
  font-size: 0.92rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  color: rgba(255, 255, 255, 0.82);
}

.footer-icon svg {
  width: 16px;
  height: 16px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social-links svg {
  width: 15px;
  height: 15px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #d4b374 0%, #b9924f 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 24px 44px rgba(11, 31, 58, 0.16);
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal-delay {
  transition-delay: 0.12s;
}

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

@media (max-width: 1100px) {
  .feature-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .calculator-grid,
  .testimonials-grid,
  .trust-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .timeline {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .timeline::-webkit-scrollbar {
    display: none;
  }

  .hero-stage {
    min-height: 620px;
  }

  .hero-copy-inner {
    max-width: 560px;
    padding: 24px 0 72px 44px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 88px 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .feature-grid {
    gap: 32px;
  }

  .hero-copy-inner {
    max-width: 100%;
    padding: 18px 28px 34px;
    }

  .hero-actions,
  .hero-rating {
    flex-wrap: wrap;
    white-space: normal;
  }

  .hero-stage {
    min-height: 520px;
    border-radius: 24px;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.07);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .statement h2 {
    font-size: clamp(2.3rem, 10vw, 4rem);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .services-grid,
  .calculator-grid,
  .testimonials-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .feature-copy h2,
  .section-heading h2,
  .cta-panel h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-text,
  .feature-copy p,
  .cta-panel p {
    font-size: 1rem;
  }

  .trust-bar-card,
  .cta-panel {
    padding: 28px 22px;
  }

  .hero-rating {
    gap: 8px;
  }

  .hero-stage {
    min-height: 460px;
    border-radius: 20px;
  }

  .footer-base {
    flex-direction: column;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }

  .sticky-cta {
    display: inline-flex;
  }

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