/* Evergreen Cali Clean — shared styles */
:root {
  --deep: #0f2c25;
  --deep2: #13362c;
  --light: #f4f6f2;
  --card: #ffffff;
  --ink: #11201b;
  --mint: #5fbf9b;
  --mint-dk: #2e8f6e;
  --mint-soft: #e3efe9;
  --faint: rgba(17,32,27,0.6);
  --on-deep: rgba(244,246,242,0.74);
  --line: rgba(17,32,27,0.11);
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--light); color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow { font: 12px ui-monospace, monospace; letter-spacing: 1.8px; text-transform: uppercase; color: var(--mint-dk); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 8px; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; padding: 16px 28px; transition: transform .12s ease, opacity .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-deep { background: var(--deep); color: var(--light); }
.btn-mint { background: var(--mint); color: var(--deep); }
.btn-ghost-light { background: transparent; color: var(--light); border: 1.5px solid rgba(244,246,242,0.5); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-sm { padding: 12px 22px; border-radius: 6px; font-size: 14.5px; }

/* ---------- nav ---------- */
header.nav { background: var(--card); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.nav-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.4px; color: var(--ink); }
nav.links { display: flex; gap: 34px; font-size: 15px; color: var(--faint); font-weight: 500; }
nav.links a:hover, nav.links a.active { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-phone { font-size: 15px; font-weight: 600; color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: none; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; padding: 4px 8px; }
.mobile-menu { display: none; flex-direction: column; padding: 8px var(--pad) 20px; border-top: 1px solid var(--line); background: var(--card); }
.mobile-menu a { padding: 13px 0; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu.open { display: flex; }

/* ---------- generic sections ---------- */
section.block { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.head-center h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 700; letter-spacing: -1.2px; margin-top: 12px; }
.head-center p { font-size: 18px; color: var(--faint); margin-top: 14px; line-height: 1.55; }

/* page hero (interior pages) */
.page-hero { background: var(--deep); color: var(--light); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.page-hero .eyebrow { color: var(--mint); }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.0; letter-spacing: -2px; font-weight: 700; margin-top: 22px; text-wrap: balance; }
.page-hero p { font-size: clamp(17px, 2.4vw, 20px); line-height: 1.55; color: var(--on-deep); max-width: 560px; margin-top: 22px; font-weight: 450; }
.page-hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- home hero ---------- */
.hero { background: var(--deep); color: var(--light); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: clamp(28px, 4vw, 56px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(95,191,155,0.14); color: var(--mint); padding: 8px 15px; border-radius: 40px; font-size: 13.5px; font-weight: 600; margin-bottom: 28px; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); line-height: 1.0; letter-spacing: -2px; font-weight: 700; text-wrap: balance; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 19.5px); line-height: 1.55; color: var(--on-deep); max-width: 470px; margin: 24px 0 34px; font-weight: 450; }
.ticks { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.tick { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }

/* estimate teaser panel (home) */
.quote-card { background: var(--light); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgba(15,44,37,0.22); }
.quote-card h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 4px; }
.quote-card .sub { font-size: 14px; color: var(--faint); margin-bottom: 20px; }
.seg { display: flex; gap: 10px; margin-bottom: 14px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 13px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 1.5px solid var(--line); color: var(--faint); background: var(--card); cursor: pointer; transition: all .12s; }
.seg input:checked + span { border-color: var(--mint-dk); color: var(--mint-dk); background: var(--mint-soft); }

/* ---------- form controls ---------- */
.field-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.input, select.input, textarea.input {
  width: 100%; height: 52px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 16px; font-size: 15px; font-family: inherit; color: var(--ink); transition: border-color .12s, box-shadow .12s;
  appearance: none; -webkit-appearance: none;
}
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.input:focus, select.input:focus, textarea.input:focus { outline: none; border-color: var(--mint-dk); box-shadow: 0 0 0 3px rgba(46,143,110,0.15); }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232e8f6e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.input::placeholder, textarea.input::placeholder { color: var(--faint); }
.input.invalid, select.input.invalid, textarea.input.invalid { border-color: #c0492f; box-shadow: 0 0 0 3px rgba(192,73,47,0.12); }
.err { display: none; color: #c0492f; font-size: 13px; margin-top: 6px; }
.err.show { display: block; }
.quote-card form .field { margin-bottom: 12px; }

/* ---------- cards / grids ---------- */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.scard { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(15,44,37,0.06); }
.scard .photo { height: 200px; border-radius: 12px; overflow: hidden; }
.scard .photo img { width: 100%; height: 100%; object-fit: cover; }
.scard .body { padding: 20px 8px 10px; }
.scard h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px; }
.scard p { font-size: 16px; line-height: 1.5; color: var(--faint); margin-bottom: 18px; }
.more { font-size: 15px; font-weight: 600; color: var(--mint-dk); }

/* feature list (two-col text rows) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 40px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 6px; }
.feature p { font-size: 15.5px; line-height: 1.5; color: var(--faint); }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split .photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -1px; line-height: 1.05; margin-bottom: 18px; }
.split p { font-size: 17px; line-height: 1.6; color: var(--faint); margin-bottom: 14px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.checklist div { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }

/* process */
.process { background: var(--card); }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.step .num { width: 52px; height: 52px; border-radius: 26px; background: var(--mint-soft); color: var(--deep); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--faint); max-width: 240px; }

/* reviews */
.reviews-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -1px; }
.reviews-head .rating { font-size: 16px; font-weight: 600; color: var(--mint-dk); }
.rcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rcard { background: var(--card); border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px rgba(15,44,37,0.05); }
.rcard p { font-size: 17px; line-height: 1.5; margin: 16px 0 22px; font-weight: 450; }
.rcard .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 20px; background: var(--mint-soft); flex: 0 0 auto; }
.rcard .name { font-size: 14.5px; font-weight: 600; }
.rcard .meta { font-size: 13.5px; color: var(--faint); }

/* cta band */
.cta { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.cta-inner { background: var(--deep); border-radius: 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(32px, 5vw, 52px) clamp(28px, 5vw, 56px); flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; letter-spacing: -1px; color: var(--light); }
.cta-inner p { font-size: 18px; color: var(--on-deep); margin-top: 12px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer.site { background: var(--deep); color: var(--light); padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-about p { font-size: 15px; color: var(--on-deep); max-width: 280px; line-height: 1.55; margin-top: 16px; }
.foot-col .h { font: 11px ui-monospace, monospace; letter-spacing: 1.4px; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 15px; color: var(--on-deep); margin-bottom: 11px; }
.foot-col a:hover { color: var(--light); }
.foot-bar { border-top: 1px solid rgba(244,246,242,0.16); padding: 20px 0; margin-top: 48px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: rgba(244,246,242,0.5); }

/* ---------- quote page ---------- */
.quote-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote-form-card { background: var(--card); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 16px 50px rgba(15,44,37,0.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--mint-dk); margin: 28px 0 16px; }
.form-section-title:first-child { margin-top: 0; }
.quote-aside .panel { background: var(--deep); color: var(--light); border-radius: 18px; padding: 32px; margin-bottom: 20px; }
.quote-aside .panel h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
.quote-aside .panel .row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 15.5px; color: var(--on-deep); line-height: 1.45; }
.quote-aside .panel .row b { color: var(--light); font-weight: 600; }
.success { display: none; text-align: center; padding: 40px 20px; }
.success.show { display: block; }
.success .tick-big { width: 72px; height: 72px; border-radius: 36px; background: var(--mint-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success h2 { font-size: 30px; font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.success p { font-size: 17px; color: var(--faint); line-height: 1.55; max-width: 420px; margin: 0 auto; }
form.submitting { opacity: 0.6; pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quote-card { max-width: 460px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .rcards { grid-template-columns: 1fr; max-width: 560px; }
  .foot-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .quote-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .photo { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  nav.links { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { height: 70px; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-phone { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
}
