/* ── Reset & variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg:           #f8f7f4;
  --surface:      #ffffff;
  --surface2:     #f2ede6;
  --border:       #e5ddd0;
  --accent:       #2563eb;
  --accent-glow:  rgba(37,99,235,0.14);
  --accent-dim:   rgba(37,99,235,0.07);
  --text:         #1c1a2e;
  --text-muted:   #5c5870;
  --text-subtle:  #a09898;
  --saving-color: #2563eb;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: min(100% - 3rem, 1200px);
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 3rem, 800px);
  margin-inline: auto;
}
.section {
  padding: clamp(72px, 8vw, 104px) 0;
}
.section-bg      { background: var(--bg); }
.section-surface { background: var(--surface); }

/* ── Nav ────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled, .site-nav.menu-open {
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.nav-inner {
  width: min(100% - 3rem, 1200px);
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -0.02em;
}
.nav-brand em { color: var(--accent); font-style: normal; }
.nav-links {
  display: flex; gap: 36px; align-items: center;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: white !important;
  border-radius: 10px; padding: 10px 22px;
  font-size: 14px; font-weight: 600;
  transition: opacity 0.2s, transform 0.15s !important;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.2s;
}
.site-nav.menu-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.site-nav.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  background: rgba(248,247,244,0.95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  flex-direction: column;
  padding: 0 clamp(24px, 5vw, 64px);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.nav-mobile.open {
  max-height: 320px;
  padding: 24px clamp(24px, 5vw, 64px) 28px;
}
.nav-mobile a {
  color: var(--text); text-decoration: none;
  font-size: 18px; font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-cta {
  margin-top: 12px;
  background: var(--accent); color: white !important;
  border-radius: 10px; padding: 14px !important;
  font-size: 15px; font-weight: 600;
  text-align: center; border-bottom: none !important;
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 0;
  display: flex; align-items: center;
  padding: clamp(92px, 10vh, 128px) 0 28px;
  background: var(--bg);
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: clamp(48px, 7vw, 6px);
  row-gap: 20px;
}
.hero-text { flex: 1; min-width: min(560px, 100%); }
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.accent { color: var(--accent); }
.hero-sub {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.7; max-width: 500px;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap; margin-bottom: 28px;
}
.btn-primary {
  background: var(--accent); color: white;
  border: none; border-radius: 12px;
  padding: 16px 34px; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 24px var(--accent-glow);
  text-decoration: none; display: inline-block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px var(--accent-glow); }
.btn-ghost {
  color: var(--text-muted); text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }
.hero-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding-top: 32px;
  border-top: 1px solid var(--border);
  justify-items: center;
  text-align: center;
}
.stat-val {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 700;
  color: var(--text); letter-spacing: -0.025em; line-height: 1;
}
.stat-label {
  display: block;
  font-size: 13px; color: var(--text-muted); margin-top: 5px;
}

/* Home visual */
.hero-visual {
  flex: 0 0 clamp(320px, 40vw, 480px);
  position: relative;
}
.photo-placeholder {
  width: 100%; padding-bottom: 72%;
  border-radius: 20px; overflow: hidden;
  position: relative;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-hatch {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--surface2) 0px, var(--surface2) 12px,
    var(--border) 12px, var(--border) 13px
  );
}
.photo-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.photo-label span {
  font-size: 11px; color: var(--text-subtle);
  font-family: monospace; letter-spacing: 0.04em;
}
.savings-card {
  position: absolute; bottom: -16px; left: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  min-width: 200px;
}
.savings-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.savings-amount { display: flex; align-items: baseline; gap: 8px; }
.savings-figure {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px; font-weight: 700;
  color: var(--saving-color); letter-spacing: -0.03em;
}
.savings-unit { font-size: 13px; color: var(--text-muted); }
.savings-bar {
  margin-top: 10px; height: 5px;
  border-radius: 100px; background: var(--surface2);
}
.savings-bar-fill {
  width: 76%; height: 100%;
  border-radius: 100px;
  background: var(--saving-color); opacity: 0.75;
}
.tariff-badge {
  position: absolute; top: 20px; right: -12px;
  background: var(--accent); color: white;
  border-radius: 10px; padding: 10px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  text-align: center;
}
.tariff-label { font-size: 11px; opacity: 0.65; margin-bottom: 2px; }
.tariff-rate {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700;
}
.tariff-rate span { font-size: 12px; font-weight: 400; }

@media (max-width: 767px) {
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-visual { width: 100%; max-width: none; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}

/* ── Trust bar ──────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-inner {
  width: min(100% - 3rem, 1200px); margin-inline: auto;
  display: flex; align-items: center;
  justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-muted); font-weight: 500;
}

/* ── Section headers ────────────────────────────────────── */
.section-header { max-width: 600px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-header-narrow { max-width: 520px; margin-bottom: clamp(40px, 5vw, 56px); }
.section-header-center { text-align: center; max-width: 440px; margin-inline: auto; margin-bottom: clamp(40px, 5vw, 56px); }
.section-header-full { max-width: none; }
.eyebrow {
  font-size: 13px; color: var(--accent); font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 16px;
  text-transform: uppercase;
}
h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 16px; line-height: 1.1;
}
.section-sub {
  color: var(--text-muted); font-size: 17px; line-height: 1.65;
}

/* ── Cards ──────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1023px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
  margin-bottom: 8px; line-height: 1.2;
}
.card-sub {
  font-size: 14px; color: var(--accent);
  font-weight: 600; margin-bottom: 16px;
}
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── Cost table ─────────────────────────────────────────── */
.table-wrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow-x: auto;
  background: var(--surface);
}
.cost-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.cost-table th,
.cost-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.cost-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface2);
}
.cost-table td {
  font-size: 15px;
  color: var(--text-muted);
}
.cost-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 767px) {
  .cost-table th,
  .cost-table td {
    padding: 14px 14px;
    font-size: 14px;
  }
}

/* ── Steps ──────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 44px);
}
.step:not(:last-child) { border-right: 1px solid var(--border); }
@media (max-width: 767px) {
  .step:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 15px; color: white;
  margin-bottom: 28px;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 600;
  color: var(--text); letter-spacing: -0.01em;
  margin-bottom: 16px; line-height: 1.25;
}
.step p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ── Products ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
}
@media (max-width: 1023px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px; padding: 40px 36px;
  position: relative;
}
.product-card--featured {
  background: var(--accent);
  border-color: transparent;
  transform: scale(1.04);
  box-shadow: 0 20px 56px var(--accent-glow);
}
@media (max-width: 767px) { .product-card--featured { transform: none; } }

.product-popular {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent); color: white;
  padding: 5px 16px; border-radius: 100px;
  font-size: 11px; font-weight: 700;
  white-space: nowrap; letter-spacing: 0.04em;
}
.product-card--featured .product-popular { background: rgba(255,255,255,0.25); }

.product-tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.product-card--featured .product-tag { color: rgba(255,255,255,0.6); }

.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 4px;
}
.product-card--featured .product-name { color: white; }

.product-cap {
  font-size: 15px; color: var(--text-muted); margin-bottom: 28px;
}
.product-card--featured .product-cap { color: rgba(255,255,255,0.65); }

.product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px; font-weight: 700;
  letter-spacing: -0.035em; color: var(--text);
  padding-bottom: 24px; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.product-card--featured .product-price {
  color: white; border-color: rgba(255,255,255,0.15);
}
.product-price span {
  font-size: 13px; font-weight: 400;
  color: var(--text-muted); margin-left: 8px;
}
.product-card--featured .product-price span { color: rgba(255,255,255,0.5); }

.product-saving {
  font-size: 14px; font-weight: 600;
  color: var(--saving-color); margin-bottom: 24px;
}
.product-card--featured .product-saving { color: rgba(255,255,255,0.8); }

.product-features {
  list-style: none; margin-bottom: 36px;
}
.product-features li {
  display: flex; gap: 11px;
  margin-bottom: 12px; font-size: 14px;
  color: var(--text-muted); line-height: 1.5;
}
.product-card--featured .product-features li { color: rgba(255,255,255,0.8); }
.product-features li::before {
  content: '';
  display: block; flex-shrink: 0; margin-top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent-dim);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7l2 2 3-3' stroke='%232563eb' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.product-card--featured .product-features li::before {
  background-color: rgba(255,255,255,0.15);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7l2 2 3-3' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.btn-outline {
  display: block; width: 100%;
  text-align: center; text-decoration: none;
  background: var(--accent); color: white;
  border: none; border-radius: 12px;
  padding: 15px; font-size: 15px; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}
.btn-outline:hover { opacity: 0.85; }

.btn-featured {
  display: block; width: 100%;
  text-align: center; text-decoration: none;
  background: white; color: var(--accent);
  border: none; border-radius: 12px;
  padding: 15px; font-size: 15px; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}
.btn-featured:hover { opacity: 0.85; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list { margin-top: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left;
  background: none; border: none; cursor: pointer;
  padding: 24px 0;
  display: flex; justify-content: space-between;
  align-items: center; gap: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px; font-weight: 600;
  color: var(--text); line-height: 1.3;
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; line-height: 1;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, transform 0.22s;
}
.faq-item.open .faq-icon {
  background: var(--accent); color: white;
  border-color: transparent; transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 15px; color: var(--text-muted); line-height: 1.8;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 28px; }

/* ── CTA section ────────────────────────────────────────── */
.cta-block {
  background: var(--accent); border-radius: 24px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 6vw, 80px);
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 260px; }
.cta-text h2 {
  color: white; margin-bottom: 14px;
}
.cta-text p {
  color: rgba(255,255,255,0.72);
  font-size: 16px; line-height: 1.65; max-width: 440px;
}
.cta-action {
  display: flex; flex-direction: column;
  gap: 12px; align-items: flex-start;
}
.btn-cta {
  background: white; color: var(--accent);
  border: none; border-radius: 12px;
  padding: 18px 40px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  white-space: nowrap; text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
  display: inline-block;
}
.btn-cta:hover { transform: translateY(-2px); opacity: 0.92; }
.cta-phone {
  color: rgba(255,255,255,0.65);
  font-size: 14px; text-decoration: none;
}

/* ── Contact form ───────────────────────────────────────── */
.contact-header { margin-bottom: 40px; }
.contact-header h1 {
  font-size: clamp(32px, 4vw, 52px);
}
.contact-form { margin-top: 40px; }
.form-row { display: grid; gap: 20px; }
.form-row-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
label {
  font-size: 14px; font-weight: 600; color: var(--text);
}
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.req { color: var(--accent); }
.form-hint { font-weight: 400; color: var(--text-muted); }
input, select, textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea { resize: vertical; line-height: 1.6; }
.input-file {
  padding: 10px 14px;
  cursor: pointer;
}
.btn-submit {
  background: var(--accent); color: white;
  border: none; border-radius: 12px;
  padding: 16px 40px; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  box-shadow: 0 4px 24px var(--accent-glow);
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 8px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 36px var(--accent-glow); }

/* Notices */
.notice {
  border-radius: 10px; padding: 14px 18px;
  margin-bottom: 24px; font-weight: 500; font-size: 15px;
}
.notice-success {
  color: #166534; background: #f0fdf4; border: 1px solid #86efac;
}
.notice-error {
  color: #991b1b; background: #fef2f2; border: 1px solid #fca5a5;
}

/* Inline validation errors from JS */
.field-error {
  font-size: 13px; color: #991b1b; margin-top: 4px;
}
input.invalid, select.invalid, textarea.invalid {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  width: min(100% - 3rem, 1200px); margin-inline: auto;
  display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 12px; color: var(--text-subtle); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 12px; color: var(--text-subtle); text-decoration: none;
}
.footer-links a:hover { color: var(--text-muted); }
