:root {
  --calc-bg: #0c1318;
  --calc-bg-soft: #111a21;
  --calc-light: #f3f0e8;
  --calc-light-2: #e7dfd1;
  --calc-text: #f5f7f2;
  --calc-text-dark: #121a1f;
  --calc-muted: #b8c0c4;
  --calc-border: rgba(255, 255, 255, 0.1);
  --calc-border-dark: rgba(18, 26, 31, 0.08);
  --calc-accent: #69b945;
  --calc-accent-strong: #68bd45;
  --calc-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

body.calc-modern-body {
  background:
    radial-gradient(circle at top left, rgba(105, 185, 69, 0.12), transparent 26%),
    linear-gradient(180deg, #0c1318 0%, #111a21 28%, #ffffff 28%, #ffffff 100%);
  color: var(--calc-text-dark);
  font-family: "Montserrat", sans-serif;
}

.calc-modern-body h1,
.calc-modern-body h2,
.calc-modern-body h3,
.calc-modern-body h4,
.calc-modern-body h5,
.calc-modern-body h6 {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.03em;
}

.calc-modern-body #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0 0;
  background: transparent;
  box-shadow: none;
}

.calc-modern-body #header .container {
  align-items: center;
  gap: 26px;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(12, 19, 24, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.calc-modern-body #header .logo img {
  height: 60px;
}

.calc-modern-body .nav-menu {
  flex: 1;
}

.calc-modern-body .nav-menu > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.calc-modern-body .nav-menu > ul > li + li {
  padding-left: 18px;
}

.calc-modern-body .nav-menu a,
.calc-modern-body .mobile-nav a {
  color: var(--calc-text);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.calc-modern-body .nav-menu a:hover,
.calc-modern-body .nav-menu .active > a,
.calc-modern-body .nav-menu li:hover > a,
.calc-modern-body .mobile-nav a:hover,
.calc-modern-body .mobile-nav .active > a,
.calc-modern-body .mobile-nav li:hover > a {
  color: var(--calc-accent-strong);
}

.calc-modern-body .nav-menu__fundusze a {
  margin-left: 14px;
  padding: 0;
}

.calc-modern-body .nav-menu__fundusze img {
  width: 78px;
  border-radius: 12px;
  opacity: 0.92;
}

.calc-modern {
  overflow: clip;
}

.calc-hero {
  position: relative;
  padding: 174px 0 88px;
  background:
    linear-gradient(140deg, rgba(8, 13, 17, 0.98) 0%, rgba(10, 17, 22, 0.94) 52%, rgba(15, 24, 29, 0.92) 100%),
    linear-gradient(180deg, #0c1318 0%, #111b21 100%);
}

.calc-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.56), transparent 92%);
  opacity: 0.35;
}

.calc-hero .container,
.calc-form-section .container {
  position: relative;
  z-index: 1;
}

.calc-hero__copy {
  max-width: 620px;
  color: var(--calc-text);
}

.calc-hero__kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--calc-accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.calc-hero__kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  margin-right: 12px;
  background: rgba(104, 189, 69, 0.55);
}

.calc-hero__copy h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 5vw, 5.3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.calc-hero__copy p {
  margin: 0;
  max-width: 540px;
  color: var(--calc-muted);
  font-size: 1rem;
  line-height: 1.9;
}

.calc-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.calc-hero__badges span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe6d5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calc-hero__visual {
  position: relative;
  min-height: 560px;
}

.calc-hero__frame {
  position: absolute;
  inset: 20px 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(105, 185, 69, 0.14), transparent 52%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--calc-shadow);
}

.calc-hero__frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(105, 185, 69, 0.2);
}

.calc-hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 22%, rgba(105, 185, 69, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, #132026 0%, #1b272e 100%);
  overflow: hidden;
}

.calc-hero__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.34;
}

.calc-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
}

.calc-hero__orb--one {
  width: 240px;
  height: 240px;
  left: 20%;
  top: 8%;
  background: rgba(105, 185, 69, 0.14);
}

.calc-hero__orb--two {
  width: 170px;
  height: 170px;
  right: 8%;
  bottom: 18%;
  background: rgba(104, 189, 69, 0.09);
}

.calc-hero__grid {
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-hero__base {
  position: absolute;
  left: 50%;
  bottom: 44px;
  width: 340px;
  height: 62px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 185, 69, 0.32), rgba(105, 185, 69, 0.05) 58%, transparent 74%);
  filter: blur(16px);
}

.calc-hero__product {
  position: absolute;
  left: 50%;
  bottom: 56px;
  z-index: 2;
  width: auto;
  max-width: 62%;
  max-height: 76%;
  transform: translateX(-50%);
  filter: drop-shadow(0 34px 48px rgba(0, 0, 0, 0.42));
}

.calc-hero__dimension {
  position: absolute;
  z-index: 3;
  color: #d7e5cf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.calc-hero__dimension span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 16, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.calc-hero__dimension::before,
.calc-hero__dimension::after {
  content: "";
  position: absolute;
  background: rgba(105, 185, 69, 0.55);
}

.calc-hero__dimension--height {
  left: 20%;
  top: 16%;
  width: 22px;
  height: 56%;
}

.calc-hero__dimension--height::before {
  left: 10px;
  top: 0;
  width: 2px;
  height: 100%;
}

.calc-hero__dimension--height::after {
  left: 4px;
  top: 0;
  width: 14px;
  height: 2px;
  box-shadow: 0 calc(100% - 2px) 0 rgba(105, 185, 69, 0.55);
}

.calc-hero__dimension--height span {
  left: -14px;
  top: 50%;
  transform: translate(-100%, -50%) rotate(-90deg);
  transform-origin: center;
}

.calc-hero__dimension--width {
  left: 34%;
  bottom: 54px;
  width: 36%;
  height: 16px;
}

.calc-hero__dimension--width::before {
  left: 0;
  top: 7px;
  width: 100%;
  height: 2px;
}

.calc-hero__dimension--width::after {
  left: 0;
  top: 1px;
  width: 2px;
  height: 14px;
  box-shadow: calc(100% - 2px) 0 0 rgba(105, 185, 69, 0.55);
}

.calc-hero__dimension--width span {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

.calc-hero__dimension--depth {
  right: 15%;
  top: 36%;
  width: 96px;
  height: 96px;
}

.calc-hero__dimension--depth::before {
  right: 10px;
  top: 10px;
  width: 2px;
  height: 76px;
  transform: rotate(38deg);
  transform-origin: top center;
}

.calc-hero__dimension--depth::after {
  right: 0;
  top: 0;
  width: 14px;
  height: 2px;
  transform: rotate(38deg);
  transform-origin: top right;
  box-shadow: -60px 54px 0 rgba(105, 185, 69, 0.55);
}

.calc-hero__dimension--depth span {
  right: -8px;
  top: -18px;
}

.calc-hero__techsheet {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 13, 17, 0.44);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.calc-hero__techsheet span,
.calc-hero__techsheet small {
  display: block;
}

.calc-hero__techsheet span {
  margin-bottom: 6px;
  color: #cfe5c2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calc-hero__techsheet strong {
  display: block;
  color: #f4f7f2;
  font-size: 0.96rem;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.calc-hero__techsheet small {
  margin-top: 6px;
  color: #b8c0c4;
  font-size: 0.78rem;
}

.calc-hero__stat,
.calc-hero__readout {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 13, 17, 0.44);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.calc-hero__stat span,
.calc-hero__readout span {
  display: block;
  margin-bottom: 6px;
  color: #cfe5c2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calc-hero__stat strong,
.calc-hero__readout strong {
  display: block;
  color: #f4f7f2;
  font-size: 1rem;
  line-height: 1.2;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.calc-hero__stat--left {
  left: 26px;
  top: 34px;
}

.calc-hero__stat--right {
  right: 26px;
  top: 66px;
}

.calc-hero__readout {
  right: 30px;
  bottom: 30px;
  min-width: 184px;
}

.calc-hero__note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  max-width: 240px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(12, 19, 24, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-hero__note span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--calc-accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calc-hero__note strong {
  display: block;
  color: var(--calc-text);
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.calc-form-section {
  position: relative;
  padding: 0 0 110px;
  margin-top: -18px;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
  gap: 28px;
  align-items: start;
}

.calc-sidebar {
  padding: 38px 34px;
  border-radius: 30px;
  background: #182228;
  color: var(--calc-text);
  box-shadow: var(--calc-shadow);
}

.calc-sidebar__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(105, 185, 69, 0.14);
  color: var(--calc-accent-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calc-sidebar h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.calc-sidebar p {
  margin-bottom: 26px;
  color: var(--calc-muted);
  line-height: 1.82;
}

.calc-sidebar__tips {
  display: grid;
  gap: 14px;
}

.calc-tip {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-tip strong {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(105, 185, 69, 0.14);
  color: var(--calc-accent-strong);
  font-size: 1rem;
}

.calc-tip span {
  color: #edf1ee;
  line-height: 1.55;
}

.calc-panel {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fbf8f3 0%, #efe8dc 100%);
  border: 1px solid var(--calc-border-dark);
  box-shadow: 0 22px 56px rgba(22, 26, 31, 0.12);
}

.calc-panel__header {
  margin-bottom: 24px;
}

.calc-panel__kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #4d7f31;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.calc-panel__header h3 {
  margin: 0;
  color: var(--calc-text-dark);
  font-size: clamp(2.2rem, 3vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.calc-fields {
  margin-bottom: 8px;
}

.calc-field {
  margin-bottom: 18px;
}

.calc-field label,
.calc-result label {
  display: block;
  margin-bottom: 10px;
  color: #263139;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calc-modern .form-control {
  height: auto;
  min-height: 66px;
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(18, 26, 31, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--calc-text-dark);
  font-size: 1rem;
  box-shadow: none;
}

.calc-modern .form-control:focus {
  border-color: rgba(105, 185, 69, 0.42);
  box-shadow: 0 0 0 4px rgba(105, 185, 69, 0.1);
}

.calc-result {
  margin-top: 6px;
  padding: 24px;
  border-radius: 24px;
  background: #182228;
}

.calc-result label {
  color: var(--calc-accent-strong);
}

.calc-result__value {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.calc-result__value p {
  margin: 0 !important;
  color: var(--calc-text) !important;
  font-size: 2rem !important;
  font-weight: 700;
  line-height: 1.1 !important;
}

.calc-actions {
  padding-top: 18px;
}

.calc-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 18px 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--calc-accent) 0%, var(--calc-accent-strong) 100%);
  color: var(--calc-text-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 20px 40px rgba(105, 185, 69, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.calc-submit:hover {
  transform: translateY(-3px);
}

.calc-modern-body #footer,
.calc-modern-body #footer .footer-top {
  background: #0c1318;
}

.calc-modern-body #footer h4,
.calc-modern-body #footer a,
.calc-modern-body #footer strong,
.calc-modern-body #footer p,
.calc-modern-body #footer li {
  color: #eef4ef !important;
}

.calc-modern-body #footer h4 {
  color: var(--calc-accent-strong) !important;
}

.calc-modern-body #footer .btn-green {
  color: #10171d !important;
}

.calc-modern-body #footer .social-links a {
  background: var(--calc-accent);
}

@media (max-width: 1199px) {
  .calc-hero__visual {
    min-height: 500px;
    margin-top: 34px;
  }

  .calc-hero__stage {
    min-height: 390px;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .calc-modern-body #header .container {
    border-radius: 24px;
  }

  .calc-hero {
    padding-top: 156px;
  }
}

@media (max-width: 767px) {
  .calc-hero {
    padding-top: 140px;
  }

  .calc-hero__visual {
    min-height: 420px;
  }

  .calc-hero__frame {
    inset: 10px 0 0;
    padding: 22px;
    border-radius: 26px;
  }

  .calc-hero__stage {
    min-height: 330px;
  }

  .calc-hero__product {
    max-width: 68%;
    max-height: 72%;
    bottom: 62px;
  }

  .calc-hero__dimension,
  .calc-hero__techsheet {
    display: none;
  }

  .calc-hero__stat--left,
  .calc-hero__stat--right,
  .calc-hero__readout {
    transform: scale(0.9);
  }

  .calc-hero__stat--left {
    transform-origin: top left;
  }

  .calc-hero__stat--right,
  .calc-hero__readout {
    transform-origin: top right;
  }

  .calc-hero__note {
    right: 18px;
    left: 18px;
    bottom: 18px;
    max-width: none;
  }

  .calc-panel,
  .calc-sidebar {
    padding: 22px;
    border-radius: 24px;
  }

  .calc-submit {
    width: 100%;
    min-width: 0;
  }
}

/* Dekoracyjna wizualizacja hero (kociol + plakietki + "Krok 1") jest zbedna
   na mobile — chowamy ja, zostaje wlasciwy formularz kalkulatora ponizej. */
@media (max-width: 991px) {
  .calc-hero__visual {
    display: none !important;
  }
}

/* Calculator hero cleanup: consistent heading and one clear visual frame. */
.calc-hero__copy h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 4.4vw, 5.35rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.calc-hero__frame {
  min-height: 540px;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
}

.calc-hero__frame::before,
.calc-hero__grid,
.calc-hero__dimension,
.calc-hero__readout,
.calc-hero__note {
  display: none;
}

.calc-hero__stage {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
}

.calc-hero__stage::before {
  opacity: 0.18;
}

.calc-hero__product {
  bottom: 98px;
  max-width: 56%;
  max-height: 62%;
}

.calc-hero__base {
  bottom: 82px;
  width: 300px;
}

.calc-hero__stat {
  top: 24px;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: rgba(8, 13, 17, 0.62);
  box-shadow: none;
  backdrop-filter: none;
}

.calc-hero__stat--left {
  left: 24px;
}

.calc-hero__stat--right {
  right: 24px;
}

.calc-hero__techsheet {
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: rgba(8, 13, 17, 0.68);
  box-shadow: none;
  backdrop-filter: none;
}

.calc-hero__techsheet span,
.calc-hero__techsheet small {
  margin: 0;
}

.calc-hero__techsheet strong {
  font-size: 0.9rem;
}

.calc-hero__techsheet small {
  text-align: right;
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .calc-hero__visual {
    min-height: 520px;
  }

  .calc-hero__frame {
    min-height: 500px;
  }

  .calc-hero__techsheet {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .calc-hero__techsheet small {
    text-align: left;
  }

  .calc-hero__product {
    bottom: 118px;
    max-height: 56%;
  }
}

/* Open product cutout: no card, labels or nested decorative panels. */
.calc-hero__frame {
  inset: 0;
  min-height: 0;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.calc-hero__stage {
  overflow: visible;
  border-radius: 0;
}

.calc-hero__stage::before {
  inset: 5% 0 3%;
  background: radial-gradient(
    ellipse at center,
    rgba(105, 185, 69, 0.22) 0%,
    rgba(105, 185, 69, 0.1) 34%,
    rgba(105, 185, 69, 0.03) 52%,
    transparent 72%
  );
  filter: blur(8px);
  opacity: 1;
}

.calc-hero__orb--one {
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: rgba(105, 185, 69, 0.1);
  filter: blur(34px);
}

.calc-hero__orb--two,
.calc-hero__stat,
.calc-hero__techsheet {
  display: none;
}

.calc-hero__product {
  bottom: 42px;
  max-width: 68%;
  max-height: 84%;
  filter: drop-shadow(0 42px 54px rgba(0, 0, 0, 0.5));
}

.calc-hero__base {
  bottom: 10px;
  width: 68%;
  max-width: 380px;
  height: 88px;
  background: radial-gradient(
    ellipse,
    rgba(105, 185, 69, 0.34),
    rgba(105, 185, 69, 0.08) 54%,
    transparent 74%
  );
  filter: blur(20px);
}

/* Calculator form typography aligned with the rest of the modern theme. */
.calc-form-section,
.calc-form-section h2,
.calc-form-section h3,
.calc-form-section p,
.calc-form-section span,
.calc-form-section label,
.calc-form-section input,
.calc-form-section select,
.calc-form-section textarea,
.calc-form-section button,
.calc-form-section option {
  font-family: "Montserrat", sans-serif;
}

.calc-sidebar h2,
.calc-panel__header h3 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.calc-sidebar__eyebrow,
.calc-panel__kicker,
.calc-field label,
.calc-result label,
.calc-submit {
  font-weight: 800;
}

.calc-sidebar p,
.calc-tip span,
.calc-modern .form-control {
  font-weight: 500;
}

/* White calculator workspace and a centered primary action. */
.calc-form-section {
  padding-top: 42px;
  background: #ffffff;
}

.calc-panel {
  background: #ffffff;
}

.calc-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 26px;
}

.calc-submit {
  position: relative;
  min-width: 286px;
  min-height: 60px;
  padding: 18px 34px;
  cursor: pointer;
  border: 1px solid rgba(44, 116, 25, 0.16);
  background: linear-gradient(135deg, #7bd957 0%, #62bf40 56%, #50aa32 100%);
  color: #0d171b;
  box-shadow:
    0 18px 38px rgba(77, 165, 45, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.calc-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #86e361 0%, #69c946 56%, #56b137 100%);
  color: #091216;
  box-shadow:
    0 22px 44px rgba(77, 165, 45, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.calc-submit:active {
  transform: translateY(0);
}

.calc-submit:focus-visible {
  outline: 3px solid rgba(105, 185, 69, 0.34);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .calc-form-section {
    padding-top: 34px;
  }

  .calc-submit {
    width: 100%;
    min-width: 0;
  }
}
