/* Homepage — extracted from inline <style> */

/* ── Homepage local styles ── */

/* HERO */
.hp-hero { position: relative; min-height: 100vh; max-height: 1000px; display: flex; align-items: stretch; overflow: hidden; isolation: isolate; }
.hp-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hp-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); filter: saturate(1.18) contrast(1.06) brightness(0.72); animation: dHeroBreathe 26s ease-in-out infinite alternate; }
.hp-hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 35%, rgba(8,22,4,0.0) 0%, rgba(8,22,4,0.45) 55%, rgba(6,16,2,0.86) 100%),
    linear-gradient(180deg, rgba(8,22,4,0.55) 0%, rgba(8,22,4,0.15) 28%, rgba(8,22,4,0.25) 60%, rgba(6,16,2,0.78) 100%),
    linear-gradient(90deg, rgba(6,16,2,0.55) 0%, rgba(6,16,2,0.0) 35%, rgba(6,16,2,0.0) 65%, rgba(6,16,2,0.55) 100%);
}
.hp-hero-bg .hp-hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.7  0 0 0 0 0.78  0 0 0 0 0.4  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
}
.hp-hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 120px 56px 100px;
  display: grid; grid-template-columns: 1fr 500px; gap: 56px; align-items: center;
  color: #fff;
}
.hp-hero-copy { display: flex; flex-direction: column; max-width: 640px; }
@media (max-width: 1080px) {
  .hp-hero { min-height: auto; max-height: none; }
  .hp-hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 56px; }
}

/* Glassmorphic calculator on hero */
.hp-hero .hp-calc {
  background: rgba(15,28,8,0.45);
  backdrop-filter: blur(7px) saturate(140%);
  -webkit-backdrop-filter: blur(7px) saturate(140%);
  border: 1px solid rgba(200,228,77,0.22);
  border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.08);
  color: #fff; gap: 18px;
  align-self: start; margin-top: -60px;
}
.hp-hero .hp-calc .c-calc-head { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 14px; }
.hp-hero .hp-calc .c-calc-head h3 { color: #fff; font-size: 18px; }
.hp-hero .hp-calc .c-calc-head .live { color: var(--qft-lime); }
.hp-hero .hp-calc .c-calc-head .live::before { background: var(--qft-lime); box-shadow: 0 0 8px rgba(200,228,77,0.6); }
.hp-hero .hp-calc .c-calc-row label { color: rgba(255,255,255,0.62); margin-bottom: 8px; }
.hp-hero .hp-calc .c-calc-chip {
  background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  flex: 0 0 auto; padding: 9px 14px; font-size: 12px;
}
.hp-hero .hp-calc .c-calc-chip:hover { background: rgba(255,255,255,0.12); border-color: rgba(200,228,77,0.35); }
.hp-hero .hp-calc .c-calc-chip.on { background: var(--qft-lime); border-color: var(--qft-lime); color: #0E1B02; }
.hp-hero .hp-calc .c-calc-slider { padding-top: 8px; padding-bottom: 8px; }
.hp-hero .hp-calc .c-calc-slider .val { color: #fff; font-size: 28px; }
.hp-hero .hp-calc .c-calc-slider .val em { color: rgba(255,255,255,0.55); font-size: 14px; }
.hp-hero .hp-calc .c-calc-slider input[type=range] { background: rgba(255,255,255,0.18); }
.hp-hero .hp-calc .c-calc-slider input[type=range]::-webkit-slider-thumb { background: var(--qft-lime); border-color: rgba(20,28,12,0.9); box-shadow: 0 0 0 4px rgba(200,228,77,0.18); }
.hp-hero .hp-calc .c-calc-slider input[type=range]::-moz-range-thumb { background: var(--qft-lime); border-color: rgba(20,28,12,0.9); }
.hp-hero .hp-calc .c-calc-slider .ticks { color: rgba(255,255,255,0.4); }
.hp-hero .hp-calc .c-calc-estimate {
  border: 1px solid rgba(200,228,77,0.24);
  grid-template-columns: 1fr; gap: 14px; padding: 18px 20px;
}
.hp-hero .hp-calc .c-calc-estimate .range { font-size: 36px; }
.hp-hero .hp-calc .c-calc-estimate .range em { font-size: 24px; }
.hp-hero .hp-calc .c-calc-estimate button { width: 100%; justify-content: center; }
.hp-hero-inner p { color: var(--fg-on-dark); }
.hp-hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-accent); margin-bottom: 24px; }
.hp-hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cc-accent); flex-shrink: 0; }
.hp-hero-h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 1.0; letter-spacing: -.035em; margin: 0 0 24px; max-width: 820px; text-wrap: pretty; color: var(--fg-on-dark); }
.hp-hero-h1 em { font-style: normal; color: var(--cc-accent); }
.hp-hero-sub { font-size: clamp(1rem, 1.5vw, 1.1875rem); opacity: .82; max-width: 560px; line-height: 1.6; margin: 0 0 40px; }
.hp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hp-hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.15); grid-column: 1 / -1; justify-content: space-between; }
.hp-stat { }
.hp-stat-num { font-size: 2rem; font-weight: 600; line-height: 1; color: #fff; }
.hp-stat-num span { font-size: 1rem; vertical-align: super; }
.hp-stat-label { font-size: .75rem; color: rgba(255,255,255,.55); letter-spacing: .05em; text-transform: uppercase; margin-top: 4px; }

/* SERVICES GRID */
.hp-services { background: var(--cc-bg, #f6f4ef); }
.hp-services-inner { max-width: 1120px; margin: 0 auto; padding: 80px 40px; }
.hp-section-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cc-accent); margin-bottom: 10px; }
.hp-section-h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 8px; line-height: 1.1; letter-spacing: -.02em; }
.hp-section-h2 em { font-style: normal; color: var(--cc-accent); }
.hp-section-sub { font-size: 1rem; color: #555; line-height: 1.65; max-width: 600px; margin: 0 0 48px; }
.hp-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 600px) { .hp-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hp-services-grid { grid-template-columns: 1fr; } }
.hp-svc { border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.hp-svc:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.hp-svc-img { aspect-ratio: 16/10; overflow: hidden; }
.hp-svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hp-svc:hover .hp-svc-img img { transform: scale(1.05); }
.hp-svc-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.hp-svc-title { font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.hp-svc-desc { font-size: .8125rem; color: #666; line-height: 1.5; flex: 1; margin: 0 0 12px; }
.hp-svc-link { font-size: .75rem; font-weight: 600; color: var(--cc-accent); display: flex; align-items: center; gap: 4px; }
.hp-svc-link svg { transition: transform .18s; }
.hp-svc:hover .hp-svc-link svg { transform: translateX(3px); }

/* WHY US */
.hp-why { background: var(--cc-dark, #1a1e15); color: #fff; }
.hp-why .hp-section-h2 { color: #fff; }
.hp-why .hp-section-sub { color: rgba(255,255,255,.55); }
.hp-why .hp-why-item-text h4 { color: #fff; }
.hp-why .hp-why-item-text p { color: rgba(255,255,255,.55); }
.hp-why .has-dark-text { color: rgba(255,255,255,.7); }
.hp-why-inner { max-width: 1120px; margin: 0 auto; padding: 80px 40px; display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: center; }
@media (max-width: 600px) { .hp-why-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px; } }
.hp-why-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.hp-why-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.hp-why-item { display: flex; gap: 14px; align-items: flex-start; }
.hp-why-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--cc-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hp-why-icon svg { width: 18px; height: 18px; color: #fff; }
.hp-why-item-text h4 { font-size: .9375rem; font-weight: 600; margin: 0 0 4px; }
.hp-why-item-text p { font-size: .875rem; color: #666; line-height: 1.55; margin: 0; }

/* PROCESS STRIP */
.hp-process { background: var(--cc-bg, #f6f4ef); }
.hp-process-inner { max-width: 1120px; margin: 0 auto; padding: 80px 40px; }
.hp-process-head { margin-bottom: 48px; }
.hp-process-head .hp-section-eyebrow { color: var(--cc-accent); }
.hp-process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 768px) { .hp-process-steps { grid-template-columns: 1fr 1fr; } }
.hp-proc-step { }
.hp-proc-n { font-size: 2.5rem; font-weight: 600; color: var(--qft-green-ink); opacity: 1; line-height: 1; margin-bottom: 12px; }
.hp-proc-h { font-size: .9375rem; font-weight: 600; margin-bottom: 6px; }
.hp-proc-p { font-size: .8125rem; color: #666; line-height: 1.55; margin: 0; }
.hp-process-cta { margin-top: 48px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hp-process-cta p { color: #555; margin: 0; font-size: .9375rem; }
.hp-process-cta p em { font-style: normal; color: var(--cc-accent); font-weight: 600; }

/* REVIEWS */
.hp-reviews { background: var(--cc-dark, #1a1e15); color: #fff; }
.hp-reviews .hp-section-h2 { color: #fff; }
.hp-reviews .hp-section-sub { color: rgba(255,255,255,.55); }
.hp-reviews p { color: rgba(255,255,255,.8); }
.hp-reviews-inner { max-width: 1120px; margin: 0 auto; padding: 80px 40px; }
.hp-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 768px) { .hp-reviews-grid { grid-template-columns: 1fr; } }
.hp-review { background: rgba(255,255,255,.06); border-radius: 14px; padding: 28px 28px 24px; box-shadow: none; display: flex; flex-direction: column; gap: 14px; }
.hp-review-stars { display: flex; gap: 3px; }
.hp-review-stars span { font-size: .875rem; color: #f59e0b; }
.hp-review-text { font-size: .9375rem; line-height: 1.65; color: rgba(255,255,255,.8); flex: 1; font-style: italic; }
.hp-review-author { font-size: .8125rem; font-weight: 600; color: #fff; }
.hp-review-source { font-size: .75rem; color: rgba(255,255,255,.45); margin-top: 2px; }

/* CTA BAND */
.hp-cta { position: relative; overflow: hidden; }
.hp-cta-bg { position: absolute; inset: 0; }
.hp-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.hp-cta-bg::after { content: ''; position: absolute; inset: 0; background: rgba(12,18,10,.78); }
.hp-cta-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 100px 40px; text-align: center; color: #fff; }
.hp-cta-inner p { color: var(--fg-on-dark); }
.hp-cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 0 0 16px; line-height: 1.05; letter-spacing: -.03em; color: var(--fg-on-dark); }
.hp-cta-inner h2 em { font-style: normal; color: var(--cc-accent); }
.hp-cta-inner p { font-size: 1.0625rem; opacity: .78; margin: 0 0 36px; line-height: 1.6; }
.hp-cta-inner .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
