:root {
  --primary: #040832;
  --secondary: #02041a;
  --accent: #adcb56;
  --accent-hover: #9bb74d;
  --accent-bg: rgba(173, 203, 86, .06);
  --accent-border: rgba(173, 203, 86, .15);
  --accent-shadow: rgba(173, 203, 86, .12);
  --yellow: #adcb56;
  --yellow-hover: #9bb74d;
  --grad-blue: linear-gradient(135deg, #040832 0%, #02041a 100%);
  --grad-yellow: linear-gradient(135deg, #adcb56 0%, #c4db7a 100%);
  --text-dark: #1a1c1e;
  --text-secondary: #484B4F;
  --text-muted: #71717A;
  --text-label: #52525B;
  --border: #E4E4E7;
  --bg-page: #ffffff;
  --bg-cream: #f9f9fa;
  --font-h: 'Montserrat', sans-serif;
  --font-main: 'Open Sans', sans-serif;
  --radius-lg: 24px;
  --radius-md: 8px;
  --gutter: 24px;
  --section-padding: 100px;
}

* { box-sizing: border-box; }

body {
  font-size: 18px;
  margin: 0; font-family: var(--font-main); color: var(--text-dark);
  background: var(--bg-page); -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─── Header ─── */
.main-header {
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-h);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: #fff;
  background: var(--primary);
  display: flex;
}

.hero-text-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 40px;
  background: var(--primary);
  z-index: 10;
}

.hero-content {
  max-width: 500px;
  padding: 0;
}

.hero-image-side {
  flex: 1.2;
  position: relative;
  z-index: 1;
  background: var(--primary);
}

.hero-image-mask {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 400px 0 0 400px;
  box-shadow: -20px 0 40px rgba(0,0,0,0.2);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, var(--primary) 0%, rgba(4, 8, 50, 0) 100%);
  z-index: 2;
  display: none; /* We use the border-radius mask instead */
}

.hero-wrapper {
  display: none; /* Removed in favor of hero-text-side */
}

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-transform: none;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.btn-primary {
  padding: 16px 36px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.btn-secondary {
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid #fff;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.features-section {
  padding: var(--section-padding) 20px;
  background: #fff;
}

.features-container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
}

.trust-card {
  background: var(--bg-cream);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-card:hover {
  transform: translateY(-8px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(4, 8, 50, 0.08);
  border-color: rgba(4, 8, 50, 0.05);
}

.trust-mascot {
  height: 100px; width: 100px; margin-bottom: 32px;
  object-fit: contain;
  filter: hue-rotate(25deg) saturate(0.8) brightness(1.1);
}

.trust-card h4 {
  margin: 0 0 16px; font-size: 24px; font-family: var(--font-h);
  color: var(--primary); font-weight: 700;
}

.trust-card p {
  margin: 0; font-size: 16px; line-height: 1.7; color: var(--primary);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero { height: auto; padding: 120px 20px 80px; }
  .hero-wrapper { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .features-container { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Trustpilot ─── */
.trustpilot-section {
  padding: var(--section-padding) 20px;
  background: var(--secondary);
  color: #fff;
}

.trustpilot-section .section-title,
.trustpilot-section .section-sub {
  color: #fff;
}

.trustpilot-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: var(--gutter);
}

.tp-container {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tp-stars {
  color: #00b67a;
  font-size: 32px;
  margin-bottom: 20px;
}

.tp-text {
  font-size: 20px;
  margin: 0 0 12px;
}

.tp-logo { font-weight: 700; }
.tp-star-logo { color: #00b67a; }

.tp-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.tp-reviews {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.tp-review-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.tp-review-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.tp-review-stars {
  color: #00b67a;
  font-size: 20px;
  margin-bottom: 16px;
}

.tp-review-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-h);
}

.tp-review-body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.tp-review-author {
  font-size: 14px;
  color: var(--yellow);
  font-weight: 500;
}

@media (max-width: 900px) {
  .trustpilot-wrapper { flex-direction: column; }
  .tp-reviews { grid-template-columns: 1fr; }
}

/* ─── How it works ─── */
.how-it-works-section {
  padding: var(--section-padding) 20px;
  background: var(--grad-blue);
  color: #ffffff;
}

.how-it-works-section .section-title,
.how-it-works-section .section-sub {
  color: #fff;
}

.how-it-works-section .section-sub {
  color: rgba(255, 255, 255, 0.85);
}

.hiw-container {
  max-width: 1280px;
  margin: 0 auto;
}

.hiw-header {
  text-align: center;
  margin-bottom: 48px;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.hiw-step {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hiw-step:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.hiw-number {
  background: var(--accent);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-h);
  margin: 0 auto 24px;
}

.hiw-step p {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 900px) {
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .hiw-steps { grid-template-columns: 1fr; }
}

/* ─── Layout & Typography ─── */
.container { max-width: 720px; margin: -40px auto 60px; padding: 0 20px; }

.section-title, .step-title {
  font-family: var(--font-h); font-size: 36px; font-weight: 800;
  text-align: center; margin: 0 0 12px;
  color: var(--primary);
}

.section-sub, .step-sub {
  font-size: 18px; color: var(--text-secondary); text-align: center; margin-bottom: 48px;
}

/* ─── Components ─── */
.offer-card, .lead-card { background: #fff; border-radius: var(--radius-lg); }

.offer-card {
  background: #fff;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(4, 8, 50, 0.05);
  color: var(--text-dark);
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(4, 8, 50, 0.1);
  border-color: var(--accent);
}

.offer-card-ribbon {
  background: var(--grad-blue); color: #fff;
  font-size: 11px; font-weight: 700; padding: 6px 14px; text-align: center;
}

.offer-card-body { padding: 20px; }

.offer-card-header { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

.offer-price { font-size: 36px; font-weight: 800; color: var(--accent); }

.offer-card .offer-provider { color: var(--text-secondary); }
.offer-card .offer-price-unit { color: var(--text-muted); }
.offer-card .offer-price-detail { color: var(--text-muted); }
.offer-card .offer-tag { background: #f1f5f9; color: var(--text-label); }

.offer-saving {
  display: inline-block; background: rgba(22,163,74,.08); color: #16a34a;
  font-size: 15px; font-weight: 700; padding: 4px 12px; border-radius: 8px; margin: 12px 0;
}

.offer-tag {
  font-size: 13px; color: var(--text-label); background: #f1f5f9;
  padding: 4px 10px; border-radius: 6px; margin-right: 4px;
}

/* ─── Form Elements ─── */
.input, .btn-cta, .btn-submit { font-family: inherit; transition: all .15s; }

.input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-md);
  border: 2px solid var(--border); outline: none;
}

.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(5, 150, 105, .18); }

.btn-cta, .btn-submit {
  border: none; background: var(--grad-yellow);
  color: var(--text-dark); font-weight: 800; cursor: pointer; width: 100%;
}

.btn-cta:hover, .btn-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(241, 151, 17, 0.3); filter: brightness(1.1); }

.btn-submit { padding: 16px; border-radius: 14px; margin-top: 8px; }

.btn-submit:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }

.fascia-btn {
  flex: 1; padding: 10px; border-radius: 10px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-weight: 600;
}

.fascia-btn.selected { border-color: var(--accent); background: var(--accent-bg); color: var(--accent); }

.field-error { font-size: 14px; color: #dc2626; min-height: 16px; margin-top: 4px; }

.consent-label {
  display: flex; gap: 8px; font-size: 12px; color: #334155; margin-bottom: 8px; cursor: pointer;
}

.price-disclaimer { font-size: 13px; color: var(--text-muted); text-align: center; padding: 20px; }

/* ─── Footer ─── */
.main-footer {
  background: var(--secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 20px 40px;
  margin-top: 100px;
  color: #fff;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: var(--gutter);
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-h);
  color: #fff;
  font-size: 18px;
  margin: 0 0 20px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 16px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1100px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }
  .footer-links {
    gap: 40px;
    flex-direction: column;
  }
}

.about-section {
  padding: 120px 20px;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px 0;
}

.circular-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  border: 15px solid var(--accent-bg);
}

.serif-title {
  font-family: var(--font-h);
}