:root {
  --bg: #f4fbf6;
  --bg-2: #e8f7ed;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --border: rgba(18, 90, 52, 0.12);
  --text: #123222;
  --muted: #5f7b69;
  --green-1: #136a39;
  --green-2: #1b8f4d;
  --green-3: #32b86b;
  --green-4: #d8f5e3;
  --shadow: 0 18px 50px rgba(17, 72, 43, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --red-1: #c44b4b;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(50, 184, 107, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(19, 106, 57, 0.16), transparent 28%),
    linear-gradient(180deg, #f7fdf8 0%, var(--bg) 100%);
}

.page-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 106, 57, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 106, 57, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 100%);
}

.app {
  width: min(1280px, calc(100% - 32px));
  margin: 32px auto 56px;
  position: relative;
  z-index: 1;
}

.hero,
.panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: calc(var(--radius-xl) + 4px);
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--green-4);
  color: var(--green-1);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 0 rgba(9, 33, 22, 0.08);
}

.hero p,
.panel-head p,
.hero-badge small {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-copy { max-width: 980px; }
.hero-copy p {
  max-width: 1000px;
  font-size: clamp(1.08rem, 1.7vw, 1.25rem);
}

.hero-badge {
  min-width: 260px;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(19, 106, 57, 0.95), rgba(32, 144, 80, 0.92));
  color: white;
}

.badge-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.leaf {
  position: absolute;
  display: block;
  border-radius: 100% 0 100% 0;
  transform: rotate(45deg);
  background: rgba(255,255,255,0.95);
}

.leaf-1 { width: 18px; height: 18px; left: 14px; top: 18px; }
.leaf-2 { width: 16px; height: 16px; left: 23px; top: 10px; opacity: 0.9; }
.leaf-3 { width: 14px; height: 14px; left: 28px; top: 24px; opacity: 0.75; }

.badge-copy {
  display: grid;
  gap: 4px;
}

.badge-copy strong {
  font-size: 1.02rem;
  line-height: 1.1;
}

.badge-copy small {
  color: rgba(255,255,255,0.84);
  font-size: 0.86rem;
}

.grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  margin-bottom: 22px;
}

.panel {
  border-radius: var(--radius-xl);
  padding: 26px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-head h2 {
  margin: 0 0 4px;
  font-size: 1.22rem;
}

.form-grid,
.result-grid {
  display: grid;
  gap: 16px;
}

.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field:last-child { grid-column: 1 / -1; }

.field {
  display: grid;
  gap: 8px;
}

.field span,
.result-label {
  font-size: 0.92rem;
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

.input-wrap::before,
.input-wrap::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.input-percent::after { content: "%"; right: 16px; }
.input-years::after { content: "let"; right: 16px; }
.input-currency::after { content: "Kč"; right: 16px; }

input {
  width: 100%;
  padding: 17px 52px 17px 16px;
  border: 1px solid rgba(18, 90, 52, 0.15);
  border-radius: 16px;
  background: white;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus {
  border-color: rgba(27, 143, 77, 0.55);
  box-shadow: 0 0 0 5px rgba(50, 184, 107, 0.14);
  transform: translateY(-1px);
}

.result-grid { grid-template-columns: 1fr; }

.result-card {
  border-radius: 18px;
  padding: 20px 18px;
  background: linear-gradient(180deg, #effcf3, #dff8e7);
  border: 1px solid rgba(50, 184, 107, 0.18);
  display: grid;
  gap: 8px;
}

.result-card strong {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  color: var(--green-1);
  line-height: 1.15;
}

.chart-panel,
.table-panel { margin-bottom: 22px; }

.chart-head {
  align-items: center;
}

.legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-1 { background: #c44b4b; }
.dot-2 { background: #1b8f4d; }
.dot-3 { background: #2ea866; }

.chart-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(234, 248, 239, 0.8));
  border-radius: 24px;
  padding: 14px;
  border: 1px solid rgba(18, 90, 52, 0.08);
}

canvas {
  width: 100%;
  height: auto;
  display: block;
}

.table-head {
  align-items: center;
}

.toggle-btn {
  border: 1px solid rgba(18, 90, 52, 0.18);
  background: linear-gradient(180deg, #effcf3, #dff8e7);
  color: var(--green-1);
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(17, 72, 43, 0.08);
  border-color: rgba(18, 90, 52, 0.28);
}

.table-wrap {
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(18, 90, 52, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
  background: rgba(255,255,255,0.8);
}

thead th {
  background: #ecf8f0;
  color: var(--green-1);
  text-align: left;
  font-size: 0.86rem;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(18, 90, 52, 0.08);
}

tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(18, 90, 52, 0.06);
  font-size: 0.94rem;
}

tbody tr:nth-child(even) {
  background: rgba(238, 251, 242, 0.66);
}

@media (max-width: 980px) {
  .hero,
  .grid-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    gap: 18px;
  }

  .hero-badge {
    min-width: 100%;
  }
}

@media (max-width: 720px) {
  .app {
    width: min(100% - 18px, 1280px);
    margin: 16px auto 32px;
  }

  .hero,
  .panel {
    padding: 18px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field:last-child {
    grid-column: auto;
  }

  .panel-head,
  .chart-head,
  .table-head {
    flex-direction: column;
    align-items: flex-start;
  }
}


.hero-badge-image {
  background: transparent;
  padding: 0;
  min-width: 300px;
  border-radius: 0;
}

.hero-badge-image img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
}

@media (max-width: 980px) {
  .hero-badge-image img {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .hero-badge-image {
    min-width: 100%;
  }

  .hero-badge-image img {
    max-width: 100%;
  }
}

.hero-badge-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dce8da;
  padding: 14px;
}

.hero-badge-image img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
}

.teaser {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
}

.teaser-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.teaser-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 56ch;
}

.before-after {
  position: relative;
}

.before-after-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 420px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(18, 90, 52, 0.12);
  box-shadow: 0 24px 56px rgba(17, 72, 43, 0.14);
  background: #dbe6dc;
  user-select: none;
}

.before-after-layer {
  position: absolute;
  inset: 0;
}

.before-after-layer img {
  position: absolute;
  top: 0;
  width: 200%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.before-layer img {
  left: 0;
}

.after-layer {
  width: var(--split, 50%);
  overflow: hidden;
}

.after-layer img {
  left: -100%;
}

.before-after-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 0;
  transform: translateX(-1px);
  border-left: 3px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 1px rgba(18, 50, 34, 0.04);
  pointer-events: none;
}

.before-after-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--green-1);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 90, 52, 0.12);
  box-shadow: 0 18px 34px rgba(17, 72, 43, 0.16);
  font-size: 1.25rem;
  font-weight: 800;
}

.before-after-chip {
  position: absolute;
  top: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-1);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(17, 72, 43, 0.12);
}

.before-chip { left: 18px; }
.after-chip { right: 18px; }

.before-after-range {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--green-2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.dot-1 { background: #c44b4b; }
.dot-2 { background: #1b8f4d; }
.dot-3 { background: #2ea866; }

.chart-frame {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(232, 247, 237, 0.72));
  border: 1px solid rgba(18, 90, 52, 0.08);
}

.chart-frame canvas {
  display: block;
  width: 100%;
  height: auto;
}

.table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(18, 90, 52, 0.08);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  background: rgba(255,255,255,0.8);
}

.table-wrap th,
.table-wrap td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(18, 90, 52, 0.08);
  font-size: 0.94rem;
}

.table-wrap th {
  background: rgba(232, 247, 237, 0.85);
  position: sticky;
  top: 0;
}

.toggle-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(180deg, var(--green-2), var(--green-1));
  color: white;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(17, 72, 43, 0.18);
}

.toggle-btn:hover {
  filter: brightness(1.03);
}

@media (max-width: 1024px) {
  .hero,
  .teaser,
  .grid-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    align-items: stretch;
  }

  .hero-badge {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .app {
    width: min(100% - 20px, 1280px);
    margin-top: 20px;
    margin-bottom: 34px;
  }

  .hero,
  .panel {
    padding: 20px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .teaser-copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .before-after-frame {
    min-height: 300px;
  }

  .before-after-chip {
    top: 12px;
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .before-after-handle {
    width: 48px;
    height: 48px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field:last-child {
    grid-column: auto;
  }

  .panel-head,
  .chart-head,
  .table-head {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* --- Web refresh 2026 --- */
body {
  background:
    radial-gradient(circle at top left, rgba(50, 184, 107, 0.12), transparent 22%),
    radial-gradient(circle at bottom right, rgba(19, 106, 57, 0.10), transparent 24%),
    linear-gradient(180deg, #fbfdfb 0%, #f2f7f3 100%);
}

.page-shell {
  background-image: none;
  mask-image: none;
}

.app {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto 56px;
}

.hero-web {
  align-items: center;
  gap: 32px;
  padding: 30px 34px;
  margin-bottom: 18px;
}

.hero-copy-web {
  max-width: 760px;
}

.hero-web h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-shadow: none;
  margin-bottom: 14px;
}

.hero-web p {
  max-width: 760px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: #506657;
}

.hero-side {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 0 0 280px;
}

.hero-badge-image {
  min-width: 0;
  width: min(280px, 100%);
  padding: 0;
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(17, 72, 43, 0.08);
}

.hero-badge-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary-btn {
  background: linear-gradient(180deg, #239953, #17753e);
  color: white;
  box-shadow: 0 14px 30px rgba(23, 117, 62, 0.18);
}

.ghost-btn {
  border: 1px solid rgba(18, 90, 52, 0.14);
  background: white;
  color: var(--green-1);
}

.primary-btn:hover, .ghost-btn:hover {
  transform: translateY(-1px);
}

.teaser-static {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  align-items: center;
  gap: 28px;
  margin-bottom: 18px;
}

.teaser-static h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  margin: 0 0 12px;
}

.teaser-static p {
  font-size: 1rem;
  color: #56705f;
  margin: 0;
}

.teaser-figure {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(18, 90, 52, 0.08);
  box-shadow: 0 18px 42px rgba(17, 72, 43, 0.1);
  background: #f5f5f5;
}

.teaser-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.before-after, .before-after-frame, .before-after-layer, .before-after-divider, .before-after-range, .before-after-chip, .before-after-handle {
  display: none !important;
}

.section-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 10px 12px 0;
}

.section-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-intro p {
  margin: 0;
  color: #5c7463;
  line-height: 1.6;
}

.panel-head h2 {
  font-size: 1.35rem;
}

.grid-layout {
  margin-bottom: 18px;
}

.panel {
  padding: 24px;
}

.chart-panel, .table-panel {
  margin-bottom: 18px;
}

@media (max-width: 920px) {
  .hero-web {
    flex-direction: column;
  }

  .hero-side {
    width: 100%;
    justify-content: flex-start;
  }

  .teaser-static {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app { width: min(100% - 20px, 1180px); }
  .hero, .panel { padding: 20px; }
  .hero-web h1 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
  .section-intro { margin-bottom: 18px; }
}


html { scroll-behavior: smooth; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 8%, rgba(19,106,57,0.08), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(50,184,107,0.07), transparent 22%),
    url("valka-consulting.svg") center 120px / min(78vw, 920px) no-repeat;
  opacity: 0.12;
  filter: grayscale(1);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid rgba(18, 90, 52, 0.08);
}

.nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.9);
  color: var(--green-1);
  transform: translateY(-1px);
}

.hero-web {
  position: relative;
  overflow: hidden;
}

.hero-web::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-side {
  align-items: center;
}

.hero-badge-image {
  width: min(320px, 100%);
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.hero-badge-image img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(17, 72, 43, 0.08));
}

@media (max-width: 920px) {
  .nav-inner {
    min-height: 68px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
}

@media (max-width: 720px) {
  body::before {
    background: radial-gradient(circle at top, rgba(19,106,57,0.08), transparent 28%);
    opacity: 1;
  }

  .site-nav {
    position: static;
  }

  .nav-inner {
    width: min(100% - 20px, 1180px);
    min-height: auto;
    padding: 14px 0 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand img {
    height: 28px;
  }

  .nav-links {
    width: 100%;
    overflow: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .hero-badge-image img {
    max-width: 250px;
  }
}


/* --- Refresh v3 tweaks --- */
.hero-web {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 20px 8px 16px;
}

.hero-web::after {
  display: none;
}

.hero-side {
  flex: 0 0 220px;
}

.hero-badge-image {
  width: min(220px, 100%);
}

.hero-badge-image img {
  max-width: 220px;
}

.form-note {
  margin: 14px 4px 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-note a {
  color: var(--green-1);
  font-weight: 700;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.site-footer {
  margin: 28px auto 56px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  align-items: start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-card a {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(180deg, #effcf3, #dff8e7);
  border: 1px solid rgba(50, 184, 107, 0.18);
}

.contact-card a span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-card a strong {
  font-size: 1.15rem;
  color: var(--green-1);
}

@media (max-width: 920px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero-web {
    padding: 10px 0 12px;
  }

  .hero-side {
    flex-basis: auto;
  }

  .hero-badge-image,
  .hero-badge-image img {
    max-width: 180px;
    width: 100%;
  }

  .footer-inner {
    width: min(100% - 20px, 1180px);
    padding: 22px 20px;
  }
}


/* --- Refresh v4 tweaks --- */
.result-grid {
  grid-template-columns: 1fr;
}

.result-card-negative {
  background: linear-gradient(180deg, #fff3f1, #ffe8e5);
  border: 1px solid rgba(196, 75, 75, 0.18);
}

.result-card-negative .result-label,
.result-card-negative strong {
  color: #8f2f2f;
}

.result-card-positive {
  background: linear-gradient(180deg, #effcf3, #dff8e7);
  border: 1px solid rgba(50, 184, 107, 0.18);
}

.result-card-installment {
  background: linear-gradient(180deg, #eef8f1, #dcf1e2);
  border: 1px solid rgba(50, 184, 107, 0.14);
}

.result-card-installment strong {
  color: var(--green-1);
}

.dot-3 { background: #2f7de1 !important; }

/* HARD remove all cards / boxes */
.card, .box, .section, .graph-container, .contact-container {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* also inner wrappers */
.graph, .contact, .result-box {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* FORCE remove rounded containers for graph + contact */
.section,
.section > div,
.graph-section,
.contact-section,
.section-box,
.box,
.card,
.container-card {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
}

/* remove large rounded wrapper specifically */
div[style*="border-radius"],
[class*="radius"] {
  border-radius: 0 !important;
}


/* exact de-boxing for graph + contact */
.chart-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

.chart-frame {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.site-footer {
  margin: 28px auto 56px;
}

.footer-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.site-footer .eyebrow {
  margin-bottom: 12px;
}


/* spacing polish after de-boxing */
.chart-panel,
.site-footer {
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 0 20px;
}

.chart-panel .section-header,
.site-footer .footer-inner {
  margin-bottom: 18px;
}

.chart-frame {
  margin-top: 18px;
}

.site-footer {
  margin: 56px auto 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-copy {
  max-width: 720px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 6px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d5f45;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.contact-link:hover {
  color: #124432;
}

.contact-label {
  color: #6a8476;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 72px;
}

.contact-value {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-links {
    padding-top: 0;
  }
}


/* targeted contact alignment */
.contact-links {
  padding-top: 54px;
}
@media (max-width: 900px) {
  .contact-links {
    padding-top: 8px;
  }
}


/* teaser eyebrow spacing */
.teaser-copy .eyebrow {
  margin-bottom: 20px;
  display: inline-block;
}

/* anchor offset for sticky menu */
html {
  scroll-padding-top: 96px;
}
section[id], footer[id], main[id], div[id] {
  scroll-margin-top: 96px;
}

/* savings column in detail table */
.table-wrap tbody td:last-child {
  color: #177245;
  font-weight: 700;
}
