/* savings.css — /savings calculator page styles */

/* =====================
   HERO
   ===================== */
.sav-hero {
  background: var(--sage);
  padding: 80px 64px 72px;
}

.sav-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.sav-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin-bottom: 20px;
}

.sav-h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 400;
  color: #F5F3EE;
  line-height: 1.15;
  margin-bottom: 20px;
}

.sav-lede {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 620px;
}

/* =====================
   CALCULATOR SECTION
   ===================== */
.sav-calc-section {
  background: var(--bg);
  padding: 72px 64px;
}

.sav-calc-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* INPUTS PANEL */
.sav-inputs-panel {
  background: white;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(45,74,62,0.12);
}

.sav-inputs-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  color: var(--sage);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.3;
}

.sav-field {
  margin-bottom: 36px;
}

.sav-field:last-child {
  margin-bottom: 0;
}

.sav-field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.sav-field-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.sav-field-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  color: var(--sage);
  font-weight: 400;
  line-height: 1;
}

.sav-field-value span {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px;
  color: var(--warm-grey);
  font-weight: 500;
  margin-left: 4px;
}

.sav-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(45,74,62,0.15);
  outline: none;
  cursor: pointer;
  position: relative;
}

.sav-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45,74,62,0.25);
  transition: transform 0.1s;
}

.sav-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sav-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(45,74,62,0.25);
}

.sav-slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.sav-slider-range span {
  font-size: 11px;
  color: var(--warm-grey);
  font-weight: 500;
}

.sav-field-hint {
  font-size: 12px;
  color: var(--warm-grey);
  margin-top: 10px;
  line-height: 1.5;
}

/* ASSUMPTIONS FOOTNOTE */
.sav-assumptions {
  background: rgba(45,74,62,0.05);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 28px;
  border-left: 3px solid rgba(45,74,62,0.2);
}

.sav-assumptions p {
  font-size: 11px;
  color: var(--warm-grey);
  line-height: 1.6;
  margin: 0;
}

.sav-assumptions strong {
  color: #5A5854;
  font-weight: 600;
}

/* RESULTS PANEL */
.sav-results-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* BREAKEVEN CALLOUT */
.sav-breakeven {
  background: var(--sage);
  border-radius: 14px;
  padding: 28px 32px;
  color: white;
  text-align: center;
}

.sav-breakeven-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 10px;
}

.sav-breakeven-val {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  color: #F5F3EE;
}

.sav-breakeven-val em {
  color: #A8D5B2;
  font-style: italic;
}

/* SAVINGS CARDS */
.sav-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sav-card {
  background: white;
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(45,74,62,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sav-card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 3px;
}

.sav-card-sub {
  font-size: 11px;
  color: var(--warm-grey);
}

.sav-card-amount {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--sage);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.sav-card-amount.sav-card-highlight {
  color: var(--terracotta);
}

/* PLANET CARD */
.sav-planet-card {
  background: #F0F7F3;
  border-radius: 12px;
  padding: 24px 28px;
  border: 1px solid rgba(45,74,62,0.12);
  display: flex;
  align-items: center;
  gap: 16px;
}

.sav-planet-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.sav-planet-text {
  flex: 1;
}

.sav-planet-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  color: var(--sage);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

.sav-planet-desc {
  font-size: 12px;
  color: #5A8070;
  line-height: 1.5;
}

/* CTA STRIP */
.sav-cta-strip {
  background: var(--terracotta);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.sav-cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: white;
  font-weight: 400;
  line-height: 1.3;
}

.sav-cta-btn {
  display: inline-block;
  background: white;
  color: var(--terracotta);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s, transform 0.15s;
  width: 100%;
  text-align: center;
}

.sav-cta-btn:hover {
  background: #FFF5F2;
  transform: translateY(-1px);
}

/* SHARE BUTTON */
.sav-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 2px solid rgba(45,74,62,0.18);
  color: var(--sage);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}

.sav-share-btn:hover {
  border-color: var(--sage);
  background: rgba(45,74,62,0.04);
}

.sav-share-btn svg {
  flex-shrink: 0;
}

.sav-copy-msg {
  font-size: 12px;
  color: var(--sage);
  text-align: center;
  height: 16px;
  font-weight: 500;
  transition: opacity 0.3s;
  opacity: 0;
}

.sav-copy-msg.visible {
  opacity: 1;
}

/* =====================
   WHY IT MATTERS
   ===================== */
.sav-why-section {
  background: #F2EDE6;
  padding: 80px 64px;
}

.sav-why-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sav-why-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 600;
  margin-bottom: 20px;
}

.sav-why-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 42px);
  color: var(--sage);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.sav-why-body {
  font-size: 16px;
  color: #6B6560;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.sav-why-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 40px;
}

.sav-why-stat {
  flex: 1;
  padding: 0 32px;
}

.sav-why-stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 8px;
}

.sav-why-stat-label {
  font-size: 13px;
  color: #8C8884;
  line-height: 1.5;
}

.sav-why-divider {
  width: 1px;
  height: 60px;
  background: rgba(45,74,62,0.15);
  align-self: center;
}

/* =====================
   FINAL CTA
   ===================== */
.sav-final-cta {
  background: var(--sage);
  padding: 80px 64px;
  text-align: center;
}

.sav-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sav-final-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: #F5F3EE;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.sav-final-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.sav-final-btn {
  display: inline-block;
  background: #F5F3EE;
  color: var(--sage);
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.15s, transform 0.15s;
}

.sav-final-btn:hover {
  background: white;
  transform: translateY(-1px);
}

/* =====================
   FOOTER
   ===================== */
.sav-footer {
  background: var(--charcoal);
  padding: 48px 64px;
}

.sav-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.sav-footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: #F5F3EE;
  font-weight: 400;
  margin-bottom: 8px;
}

.sav-footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}

.sav-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.sav-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}

.sav-footer-links a:hover {
  color: rgba(255,255,255,0.8);
}

.sav-footer-active {
  color: rgba(255,255,255,0.7) !important;
  font-weight: 600;
}

/* Count-up animation state */
.sav-counting {
  transition: none;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .sav-calc-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sav-why-stats {
    flex-direction: column;
    gap: 32px;
  }

  .sav-why-divider {
    display: none;
  }

  .sav-why-stat {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .sav-hero,
  .sav-calc-section,
  .sav-why-section,
  .sav-final-cta,
  .sav-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .g-nav {
    padding: 16px 32px;
  }
}

@media (max-width: 480px) {
  .sav-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .sav-calc-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .sav-inputs-panel {
    padding: 28px 24px;
  }

  .sav-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .sav-footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .sav-footer-links {
    align-items: flex-start;
  }
}
