:root {
  --bg: #f5f1e8;
  --paper: #ffffff;
  --ink: #172d38;
  --muted: #566b74;
  --line: #ded4c5;
  --brand: #0f7d73;
  --brand-dark: #095c55;
  --max: 1160px;
  --shadow: 0 12px 30px rgba(21, 43, 53, 0.1);
}

.calculator-hero {
  background:
    linear-gradient(rgba(9, 37, 48, 0.78), rgba(9, 37, 48, 0.78)),
    url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.calculator-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.calculator-tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.65rem 0.95rem;
  background: #fff;
  color: #27434d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calculator-tab.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.calculator-shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calculator-card {
  display: none;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1fr) minmax(240px, 0.8fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.calculator-card.active {
  display: grid;
}

.calculator-fields {
  display: grid;
  gap: 0.8rem;
}

.calculator-fields label {
  display: grid;
  gap: 0.35rem;
  color: #193742;
  font-weight: 800;
  font-size: 0.9rem;
}

.calculator-fields input {
  width: 100%;
  border: 1px solid #cfc4b5;
  border-radius: 4px;
  padding: 0.72rem 0.78rem;
  font: inherit;
}

.calculator-result {
  border-radius: 8px;
  background: #0d2b35;
  color: #fff;
  padding: 1rem;
}

.calculator-result span,
.calculator-result small {
  display: block;
  color: #cfe0df;
}

.calculator-result strong {
  display: block;
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.calculator-disclaimer {
  margin-top: 1rem;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .calculator-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .calculator-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.55rem 0.8rem;
  color: #fff;
  background: #102a35;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.top-strip {
  background: #0d2b35;
  color: #e8f5f4;
  font-size: 0.9rem;
}

.top-strip-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-links a {
  text-decoration: none;
}

.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 3px 14px rgba(23, 45, 56, 0.06);
}

.header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand img {
  width: 58px;
  height: auto;
}

.amfi-line {
  text-align: center;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.98rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.68rem 1rem;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-outline {
  color: var(--brand);
  border-color: var(--brand);
  background: #fff;
}

.main-nav {
  background: #f9f6ef;
  border-bottom: 1px solid var(--line);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
  min-height: 48px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #27434d;
  font-weight: 700;
  font-size: 0.94rem;
}

.main-nav a[aria-current="page"] {
  color: var(--brand);
}

.hero {
  background:
    linear-gradient(rgba(9, 37, 48, 0.72), rgba(9, 37, 48, 0.72)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
}

.hero-inner {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-content {
  max-width: 720px;
}

.page-hero {
  background: #0d2b35;
  color: #fff;
  padding: clamp(3.2rem, 7vw, 5.4rem) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero.about-hero {
  background:
    linear-gradient(rgba(13, 43, 53, 0.82), rgba(13, 43, 53, 0.82)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.page-hero.planning-hero {
  background:
    linear-gradient(rgba(13, 43, 53, 0.82), rgba(13, 43, 53, 0.82)),
    url("https://images.unsplash.com/photo-1496317899792-9d7dbcd928a1?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.page-hero.products-hero {
  background:
    linear-gradient(rgba(13, 43, 53, 0.82), rgba(13, 43, 53, 0.82)),
    url("https://images.unsplash.com/photo-1483721310020-03333e577078?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.inquiry-hero {
  background:
    linear-gradient(rgba(9, 37, 48, 0.78), rgba(9, 37, 48, 0.78)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 2rem;
  align-items: center;
}

.hero-callout {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 1.2rem;
  color: #fff;
  backdrop-filter: blur(4px);
}

.hero-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffe2a4;
  font-size: 1.1rem;
}

.hero-callout span {
  color: #edf7f6;
}

.page-hero.calculator-hero {
  background:
    linear-gradient(rgba(9, 37, 48, 0.78), rgba(9, 37, 48, 0.78)),
    url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #ffe2a4;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.16;
  color: inherit;
}

h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  color: #142d38;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.16rem;
  margin-bottom: 0.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.hero p,
.page-hero p {
  color: #edf7f6;
  font-size: 1.12rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.light,
.contact-section,
.inquiry-steps {
  background: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.welcome-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
}

.intro-card,
.service-card,
.contact-panel,
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.intro-card {
  padding: 1.4rem;
}

.intro-card strong {
  display: block;
  color: var(--brand);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.1rem;
}

.service-card h3 {
  color: #142d38;
}

.read-more {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(15, 125, 115, 0.1), rgba(255, 255, 255, 0.85));
  border: 1px solid rgba(15, 125, 115, 0.18);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #142d38;
}

.metrics-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(140px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.metric-highlight,
.metric-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 1.5rem;
  padding: 1.2rem 1.25rem;
}

.metric-highlight h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--brand-dark);
}

.metric-highlight p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.metric-card {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 145px;
}

.metric-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 0.65rem;
}

.metric-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.metrics-section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.metrics-section + .section {
  padding-top: 1.6rem;
}

.soft-band {
  background: #0d2b35;
  color: #eaf7f5;
}

.soft-band h2,
.soft-band h3 {
  color: #fff;
}

.soft-band p,
.soft-band li {
  color: #cfe0df;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.steps-row div {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: #fff;
}

.steps-row strong {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.steps-row span {
  color: #23404a;
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: clamp(1.2rem, 2.8vw, 2rem);
}

.contact-panel-rich {
  background: linear-gradient(180deg, #f9f6ef, #ffffff);
}

.contact-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-item h3 {
  color: var(--brand);
}

.inquiry-form {
  border-top: 4px solid var(--brand);
}

.form-heading {
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #193742;
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfc4b5;
  border-radius: 4px;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: #172d38;
  background: #fff;
}

.field textarea {
  min-height: 122px;
  resize: vertical;
}

.contact-form.was-validated .field input:invalid,
.contact-form.was-validated .field select:invalid,
.contact-form.was-validated .field textarea:invalid {
  border-color: #b42318;
  background: #fff7f7;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  display: none;
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.78rem;
  border-radius: 4px;
  font-weight: 700;
}

.form-status.is-show {
  display: block;
}

.form-status.is-error {
  color: #b42318;
  background: #fdecec;
  border: 1px solid #f1b2b0;
}

.progress-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.progress-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(23, 45, 56, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(2px);
}

.progress-overlay.is-active {
  display: flex;
}

.progress-modal {
  background: var(--paper);
  border-radius: 12px;
  padding: 2.4rem 1.8rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(21, 43, 53, 0.25);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.progress-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--brand);
}

.progress-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.progress-track {
  flex: 1;
  height: 10px;
  background: #e8ecec;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transition: width 0.2s ease;
}

.progress-label {
  color: var(--ink);
  font-weight: 700;
  min-width: 48px;
  text-align: right;
  font-size: 0.9rem;
}

.contact-form.is-submitting {
  display: none;
}

  .hidden-iframe {
    width: 0;
    height: 0;
    border: 0;
    position: absolute;
    left: -9999px;
    visibility: hidden;
  }
.footer p {
  color: #c5d3d2;
}

.risk-note {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  font-size: 0.82rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(5, 31, 24, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(5, 31, 24, 0.3);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0.9rem 0;
  }

  .brand {
    justify-content: center;
  }

  .welcome-grid,
  .contact-grid,
  .page-hero-grid,
  .service-grid,
  .steps,
  .steps-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .top-strip-inner,
  .contact-links {
    justify-content: center;
    text-align: center;
  }

  .hero-inner {
    min-height: 450px;
  }

  .hero-actions .btn,
  .header .btn,
  .form-submit {
    width: 100%;
  }

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

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float svg {
    width: 25px;
    height: 25px;
  }
}

body {
  background:
    radial-gradient(900px 360px at 100% -120px, rgba(15, 125, 115, 0.12), transparent 60%),
    var(--bg);
}

a,
button,
input,
select,
textarea {
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 125, 115, 0.28);
  outline-offset: 3px;
}

.top-strip {
  font-size: 0.86rem;
}

.header {
  backdrop-filter: blur(10px);
}

.brand span {
  white-space: nowrap;
}

.main-nav {
  position: sticky;
  top: 82px;
  z-index: 19;
}

.main-nav .container {
  gap: 0.35rem;
  justify-content: center;
  padding: 0.35rem 1rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand);
  background: #e9f5f2;
}

.btn {
  border-radius: 6px;
}

.btn:hover,
.calculator-tab:hover,
.read-more:hover {
  transform: translateY(-1px);
}

.hero,
.page-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-content,
.page-hero-grid > div:first-child {
  padding-block: 0.4rem;
}

.section {
  scroll-margin-top: 150px;
}

.intro-card,
.service-card,
.contact-panel,
.contact-form,
.calculator-shell {
  border-color: rgba(222, 212, 197, 0.9);
}

.service-card,
.intro-card,
.contact-panel {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.intro-card:hover,
.contact-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(21, 43, 53, 0.14);
}

.service-card-body {
  min-height: 178px;
  display: flex;
  flex-direction: column;
}

.service-card-body .read-more {
  margin-top: auto;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.calculator-fields input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15, 125, 115, 0.12);
  outline: none;
}

.calculator-tabs {
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(21, 43, 53, 0.06);
}

.calculator-tab {
  border-radius: 6px;
}

.calculator-result {
  position: sticky;
  top: 150px;
}

.footer {
  padding-bottom: 4.2rem;
}

@media (max-width: 900px) {
  .main-nav {
    top: 0;
    position: relative;
  }

  .main-nav .container {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .calculator-result {
    position: static;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  h1 {
    font-size: clamp(2rem, 13vw, 3.1rem);
  }

  .page-hero,
  .hero-inner {
    padding-block: 3rem;
  }

  .header-inner {
    gap: 0.75rem;
  }

  .amfi-line {
    font-size: 0.9rem;
  }

  .steps-row div {
    min-height: 74px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
}

.calculator-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.calculator-intro h2 {
  margin-bottom: 0;
}

.calculator-intro p:last-child {
  margin-bottom: 0;
}

.calculator-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.calculator-tab {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 0.18rem;
  text-align: left;
  border-radius: 8px;
  padding: 0.8rem;
  box-shadow: 0 8px 18px rgba(21, 43, 53, 0.06);
}

.calculator-tab strong {
  display: block;
  font-size: 0.98rem;
}

.calculator-tab span {
  color: #647981;
  font-size: 0.82rem;
  font-weight: 700;
}

.calculator-tab.active span {
  color: #dff7f1;
}

.calculator-shell {
  border-radius: 10px;
}

.calculator-card {
  grid-template-columns: minmax(220px, 0.75fr) minmax(300px, 1fr) minmax(260px, 0.85fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.calculator-copy {
  align-self: stretch;
  padding: 0.3rem 0;
}

.calculator-tips {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.calculator-tips li + li {
  margin-top: 0.35rem;
}

.calculator-fields {
  gap: 0.95rem;
}

.calculator-fields label {
  background: #faf7f0;
  border: 1px solid #eadfce;
  border-radius: 8px;
  padding: 0.75rem;
}

.calculator-fields input {
  min-height: 46px;
  background: #fff;
  font-weight: 700;
}

.calculator-fields .range-field span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 0.75rem;
  align-items: center;
}

.calculator-fields input[type="range"] {
  min-height: 0;
  padding: 0;
  border: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.calculator-fields .mini-input {
  min-height: 40px;
  padding: 0.45rem 0.5rem;
  text-align: center;
}

.calculator-result {
  padding: 1.25rem;
  background:
    linear-gradient(160deg, rgba(15, 125, 115, 0.88), rgba(8, 37, 48, 0.98)),
    #0d2b35;
}

.calculator-result span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
}

.calculator-result small {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.calculator-result small + small {
  margin-top: 0.45rem;
}

.calculator-disclaimer {
  background: #fff8e8;
  border: 1px solid #ebd7ab;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: #65480f;
}

@media (max-width: 1100px) {
  .calculator-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .calculator-intro,
  .calculator-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .calculator-tabs {
    grid-template-columns: 1fr;
  }

  .calculator-tab {
    min-height: 68px;
  }

  .calculator-fields .range-field span {
    grid-template-columns: 1fr 68px;
    gap: 0.55rem;
  }
}

.footer {
      padding: 1.6rem 0 2.3rem;
      text-align: center;
      color: #556871;
      font-size: 0.9rem;
      background-color: black;
    }