/* ============================================================
   SolrX — Premium hospitality energy diagnostic
   Design tokens
   ============================================================ */
:root {
  --bg: #F7F3EC;
  --bg-tint: #FBF8F2;
  --surface: #FFFFFF;
  --surface-soft: #FAF6EE;
  --border: rgba(15, 25, 45, 0.07);
  --border-strong: rgba(15, 25, 45, 0.14);

  --ink: #0E1B33;
  --ink-2: #2A3754;
  --muted: #5C6B85;
  --muted-2: #8A95AB;

  --gold: #C28A2C;
  --gold-deep: #A8741F;
  --gold-soft: #F4E8CE;
  --gold-tint: #FBF4E1;

  --teal: #2E827A;
  --teal-soft: #D7EAE6;
  --teal-tint: #EAF4F1;

  --wa: #2BB573;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 25, 45, 0.04);
  --shadow-md: 0 6px 24px rgba(15, 25, 45, 0.05), 0 1px 2px rgba(15, 25, 45, 0.04);
  --shadow-lg: 0 24px 60px rgba(15, 25, 45, 0.08), 0 2px 8px rgba(15, 25, 45, 0.04);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 18px rgba(194, 138, 44, 0.18);
}
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-soft); }
.btn-ghost-wa {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
  padding: 11px 18px;
  font-weight: 600;
}
.btn-ghost-wa .wa-glyph { width: 18px; height: 18px; color: var(--wa); }
.btn-ghost-wa:hover { background: var(--surface); }
.btn-wa {
  background: var(--wa);
  color: #FFFFFF;
}
.btn-wa:hover { background: #259a61; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 16px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 25, 45, 0.05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark { width: 28px; height: 28px; color: var(--gold); }
.brand-name {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 56px 0 64px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 90% 0%, rgba(46, 130, 122, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(194, 138, 44, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-content { max-width: 540px; }
.hero-title {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 10px 16px 10px 12px;
  box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-icon svg { width: 16px; height: 16px; }
.trust-icon--gold { background: var(--gold-tint); color: var(--gold-deep); }
.trust-icon--teal { background: var(--teal-tint); color: var(--teal); }
.trust-icon--navy { background: rgba(14, 27, 51, 0.08); color: var(--ink); }
.trust-label { font-size: 13px; font-weight: 500; color: var(--ink-2); }

/* Estimate card */
.hero-card-wrap { display: flex; justify-content: flex-end; }
.estimate-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.estimate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.estimate-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-tint);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--r-pill);
}
.rec-pill svg { width: 14px; height: 14px; }

.system-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 16px 8px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.sys-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px;
}
.sys-glyph {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sys-glyph svg { width: 22px; height: 22px; }
.sys-glyph--solar { background: var(--gold-tint); color: var(--gold-deep); }
.sys-glyph--battery { background: var(--teal-tint); color: var(--teal); }
.sys-glyph--inverter { background: rgba(14, 27, 51, 0.06); color: var(--ink); }
.sys-value {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  line-height: 1;
}
.sys-unit { font-size: 13px; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 500; }
.sys-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

.estimate-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
.ek {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.ek-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.ek-value {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.ek-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.reassurance svg { width: 13px; height: 13px; }

/* ============================================================
   Config section
   ============================================================ */
.config-section { padding: 24px 0 32px; }
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.card-header { margin-bottom: 22px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'Fraunces', serif;
}
.card-title .step { color: var(--gold-deep); margin-right: 4px; }
.card-hint { font-size: 13px; color: var(--muted); }

/* Property type bar */
.ptype-bar {
  display: inline-flex;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px;
  margin-bottom: 22px;
}
.ptype-bar button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.ptype-bar button.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Input row */
.input-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.input-row:first-of-type { border-top: none; padding-top: 4px; }
.input-row.toggle-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.input-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.input-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.input-help { font-size: 12px; color: var(--muted); margin-top: 2px; }
.input-value {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 4px 12px;
  min-width: 64px;
  text-align: center;
}

/* Sliders */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal) var(--p, 50%), rgba(15, 25, 45, 0.08) var(--p, 50%));
  border-radius: var(--r-pill);
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  box-shadow: 0 2px 6px rgba(15, 25, 45, 0.12);
  cursor: grab;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.05); }
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  box-shadow: 0 2px 6px rgba(15, 25, 45, 0.12);
  cursor: grab;
}

/* Segmented control */
.segmented {
  display: inline-flex;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px;
  flex-shrink: 0;
}
.segmented button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
}
.segmented button.active {
  background: var(--surface);
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

/* Select pill */
.select-pill {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C6B85' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  min-width: 180px;
}
.select-pill:focus { outline: none; border-color: var(--teal); }

/* Advanced details */
.advanced {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 18px;
}
.advanced summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  user-select: none;
}
.advanced summary::-webkit-details-marker { display: none; }
.advanced .chev { width: 16px; height: 16px; transition: transform 0.2s ease; }
.advanced[open] .chev { transform: rotate(180deg); }
.advanced-body { padding-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.adv-block { display: flex; flex-direction: column; gap: 10px; }
.adv-block-label { font-size: 13px; font-weight: 600; color: var(--ink); }
.adv-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--surface-soft);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--muted);
}
.adv-meta strong { color: var(--ink); font-family: 'Fraunces', serif; font-size: 16px; }

/* Pill group (appliance pills) */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}
.pill:hover { background: var(--surface-soft); border-color: var(--border-strong); }
.pill.active {
  background: var(--teal-tint);
  color: var(--teal);
  border-color: var(--teal-soft);
}
.pill .ico { font-size: 14px; }

/* Auto-update note */
.autoupdate-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.autoupdate-note svg { width: 14px; height: 14px; }

/* ============================================================
   Chart card
   ============================================================ */
.chart-card { display: flex; flex-direction: column; }
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}
.leg { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 500; }
.sw { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.sw-solar { background: rgba(214, 168, 84, 0.85); }
.sw-battery { background: rgba(72, 154, 145, 0.85); }
.sw-grid { background: rgba(180, 188, 202, 0.85); }
.sw-gen { background: rgba(46, 60, 91, 0.85); }
.sw-load { background: transparent; border: 1.5px dashed var(--ink); height: 0; border-radius: 0; width: 18px; }
.leg-load { color: var(--ink-2); }

.chart-wrap {
  position: relative;
  width: 100%;
  height: 320px;
}

.bill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.bill-tile {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}
.bill-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.bill-value {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.bill-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.bill-highlight {
  background: var(--teal-tint);
  border: 1px solid var(--teal-soft);
}
.bill-highlight .bill-value { color: var(--teal); }
.bill-highlight .bill-sub { color: var(--teal); font-weight: 600; }

/* ============================================================
   Strategy section
   ============================================================ */
.strategy-section { padding: 48px 0 32px; }
.section-head { text-align: left; margin-bottom: 28px; max-width: 720px; }
.section-title { font-size: 28px; font-weight: 600; }
.section-title .step { color: var(--gold-deep); margin-right: 4px; }
.section-sub { color: var(--muted); margin-top: 8px; font-size: 15px; }

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.strategy-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px 24px;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.strategy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.strategy-card.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 130, 122, 0.1), var(--shadow-md);
}
.strategy-recommended {
  border-color: var(--teal-soft);
  box-shadow: 0 12px 30px rgba(46, 130, 122, 0.08);
}
.strat-banner {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.strat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.strat-icon svg { width: 24px; height: 24px; }
.strat-icon--gold { background: var(--gold-tint); color: var(--gold-deep); }
.strat-icon--teal { background: var(--teal-tint); color: var(--teal); }
.strat-icon--navy { background: rgba(14, 27, 51, 0.07); color: var(--ink); }
.strategy-card h3 { font-size: 21px; font-weight: 600; }
.strategy-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.strat-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ss { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ss strong {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ss span { font-size: 11px; color: var(--muted); }
.strat-foot { font-size: 12px; color: var(--muted); }

/* ============================================================
   Report section
   ============================================================ */
.report-section { padding: 48px 0 64px; }
.report-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.report-preview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.report-mockup {
  position: relative;
  background: linear-gradient(160deg, #0F2A40 0%, #1A4A5B 100%);
  border-radius: var(--r-xl);
  padding: 28px 24px 32px;
  color: #F4F6FA;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.report-mockup::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(194, 138, 44, 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.mock-band {
  width: 36px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.mock-logo { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; color: #F4F6FA; }
.mock-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.15;
  margin-top: 8px;
}
.mock-loc { font-size: 13px; color: rgba(244,246,250,0.7); margin-top: auto; }
.mock-foot {
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(244, 246, 250, 0.06) 100%);
  border-radius: var(--r-md);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.report-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.report-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}
.rb-tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.rb-tick svg { width: 12px; height: 12px; }

.report-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.report-form-wrap .card-title { font-size: 26px; margin-bottom: 8px; }
.form-sub { color: var(--muted); margin-bottom: 24px; font-size: 15px; max-width: 540px; }

.report-form { display: flex; flex-direction: column; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.field .req { color: var(--gold-deep); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: var(--muted-2); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C6B85' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46, 130, 122, 0.12);
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.form-privacy svg { width: 13px; height: 13px; }

/* Success state */
.success-card {
  display: none;
  text-align: center;
  padding: 32px 24px;
}
body.revealed .success-card { display: block; }
body.revealed .report-form { display: none; }
body.revealed .report-form-wrap .card-title,
body.revealed .form-sub { display: none; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg { width: 32px; height: 32px; }
.success-card h3 { font-size: 24px; margin-bottom: 8px; }
.success-card p { color: var(--muted); max-width: 480px; margin: 0 auto 8px; font-size: 15px; }
.next-steps { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.foot-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.foot-col li, .foot-col p { font-size: 13px; color: var(--muted); line-height: 1.55; }
.foot-col a { color: var(--muted); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-contact { margin-top: 8px; }
.foot-contact a { color: var(--teal); font-weight: 500; }
.foot-fine { font-size: 12px; color: var(--muted-2); margin-top: 12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { max-width: 100%; }
  .hero-card-wrap { justify-content: stretch; }
  .estimate-card { max-width: 100%; }
  .config-grid { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .report-mockup { aspect-ratio: 16 / 9; max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .hero { padding: 32px 0 40px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .estimate-card { padding: 20px; border-radius: 20px; }
  .estimate-kpis { grid-template-columns: 1fr 1fr; }
  .system-row { gap: 6px; padding: 12px 0; }
  .sys-glyph { width: 32px; height: 32px; }
  .sys-value { font-size: 16px; }
  .card { padding: 22px; border-radius: 22px; }
  .card-title { font-size: 20px; }
  .input-row.toggle-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .select-pill { width: 100%; }
  .bill-grid { grid-template-columns: 1fr; }
  .strategy-section { padding: 36px 0 16px; }
  .strategy-card { padding: 22px 20px 20px; }
  .report-form-wrap { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .chart-wrap { height: 260px; }
  .chart-legend { gap: 10px; }
  .nav-actions .btn-ghost-wa span { display: none; }
  .nav-actions .btn-primary { padding: 10px 16px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  .nav-actions .btn-ghost-wa { padding: 10px 12px; }
  .nav-actions .btn-primary { padding: 10px 14px; font-size: 13px; }
  .brand-name { font-size: 19px; }
  .hero-title { font-size: 28px; }
  .ek-value { font-size: 22px; }
  .bill-value { font-size: 22px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
