:root {
  color-scheme: light;
  --orange: #ff8c19;
  --green: #087d00;
  --blue: #3158a5;
  --red: #b42318;
  --yellow: #9a6700;
  --ink: #08111f;
  --body: #263244;
  --muted: #667085;
  --line: rgba(49, 88, 165, 0.16);
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --shadow: 0 22px 58px rgba(25, 44, 79, 0.14);
  --blur: blur(22px) saturate(1.3);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 140, 25, 0.12), transparent 28%),
    linear-gradient(245deg, rgba(8, 125, 0, 0.1), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #edf4ff 44%, #f8fbff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(49, 88, 165, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 88, 165, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.72), transparent 84%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.calculator-topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(1240px, calc(100vw - 32px));
  min-height: 66px;
  margin: 18px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,255,255,0.46));
  box-shadow: 0 18px 46px rgba(20, 43, 84, 0.18), inset 0 1px 0 rgba(255,255,255,0.95);
  backdrop-filter: var(--blur);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  min-width: 0;
  font-weight: 700;
}

.brand img {
  width: 58px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.mobile-current-page,
.mobile-menu-toggle {
  display: none;
}

.calculator-nav {
  --glass-x: 0px;
  --glass-y: 0px;
  --glass-w: 0px;
  --glass-h: 42px;
  --glass-opacity: 0;
  position: relative;
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 0;
  overflow: visible;
  scrollbar-width: none;
  isolation: isolate;
}

.calculator-nav::before,
.calculator-nav::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: var(--glass-w);
  height: var(--glass-h);
  border-radius: 999px;
  pointer-events: none;
  opacity: var(--glass-opacity);
  transform: translate3d(var(--glass-x), var(--glass-y), 0);
  transition:
    transform 780ms cubic-bezier(.16,1,.3,1),
    width 780ms cubic-bezier(.16,1,.3,1),
    height 780ms cubic-bezier(.16,1,.3,1),
    opacity 300ms ease;
}

.calculator-nav::before {
  z-index: 0;
  background:
    radial-gradient(78% 120% at 50% 48%, rgba(255,255,255,0.08) 0 42%, rgba(255,255,255,0.28) 57%, rgba(255,255,255,0.1) 74%, transparent 100%),
    linear-gradient(90deg, rgba(255,255,255,0.7), rgba(255,255,255,0.16) 18%, rgba(255,255,255,0.055) 50%, rgba(255,255,255,0.18) 82%, rgba(255,255,255,0.72)),
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow:
    inset 13px 0 18px rgba(255,255,255,0.52),
    inset -13px 0 18px rgba(255,255,255,0.54),
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -12px 22px rgba(12,32,68,0.16),
    0 18px 34px rgba(12,32,68,0.18);
  backdrop-filter: blur(17px) saturate(1.65) contrast(1.1);
  -webkit-backdrop-filter: blur(17px) saturate(1.65) contrast(1.1);
}

.calculator-nav::after {
  z-index: 1;
  background:
    linear-gradient(100deg, transparent 26%, rgba(255,255,255,0.3) 44%, rgba(255,255,255,0.04) 55%, transparent 72%),
    radial-gradient(90% 120% at 50% 0%, rgba(255,255,255,0.28), transparent 58%);
  opacity: calc(var(--glass-opacity) * 0.35);
  filter: blur(0.2px);
}

.calculator-nav::-webkit-scrollbar {
  display: none;
}

.calculator-nav a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  color: #132036;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  text-align: center;
  transition: background 220ms ease, color 220ms ease;
}

.calculator-nav .mobile-nav-only {
  display: none;
}

.calculator-nav a:hover {
  color: #07142a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.calculator-nav a[href="#calculator"] {
  color: var(--orange);
  font-weight: 760;
  animation: estimatorGlow 2.7s ease-in-out infinite;
}

main {
  position: relative;
  z-index: 1;
}

.hero-shell,
.section-block,
.calculator-footer {
  width: min(1120px, calc(100vw - 24px));
  margin-right: auto;
  margin-left: auto;
}

.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 999px;
  color: white;
  background: #25d366;
  box-shadow: 0 12px 26px rgba(8, 17, 31, 0.22), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 32px rgba(8, 17, 31, 0.24), inset 0 1px 0 rgba(255,255,255,0.5);
}

.whatsapp-float svg {
  width: 33px;
  height: 33px;
  fill: currentColor;
}

@keyframes estimatorGlow {
  0%,
  100% {
    color: var(--orange);
    text-shadow: 0 0 0 rgba(255,140,25,0);
  }
  50% {
    color: #ff7a00;
    text-shadow: 0 0 14px rgba(255,140,25,0.54), 0 0 28px rgba(255,140,25,0.22);
  }
}

.hero-shell {
  display: grid;
  gap: 20px;
  padding: 58px 0 42px;
}

.hero-copy,
.calculator-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.84), rgba(255,255,255,0.5)),
    linear-gradient(315deg, rgba(49,88,165,0.1), rgba(8,125,0,0.07), rgba(255,140,25,0.08));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: var(--blur);
}

.hero-copy {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 46px);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: hidden;
}

.hero-copy::before {
  content: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: 74px;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 14px;
  font-size: 46px;
  line-height: 1;
  overflow-wrap: anywhere;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead,
.section-heading p {
  color: var(--body);
  font-size: 20px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.section-block {
  padding: 46px 0;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 26px;
}

.compact-heading {
  max-width: 680px;
}

.calculator-section {
  padding-top: 16px;
}

.calculator-card {
  position: relative;
  padding: clamp(18px, 4vw, 36px);
  overflow: hidden;
}

.calculator-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.5), transparent 34%),
    radial-gradient(circle at 8% 12%, rgba(255,140,25,0.13), transparent 24%),
    radial-gradient(circle at 92% 6%, rgba(49,88,165,0.16), transparent 30%),
    radial-gradient(circle at 76% 92%, rgba(8,125,0,0.12), transparent 30%);
}

.calculator-card > * {
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.field-group {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 126px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.68), rgba(255,255,255,0.34)),
    linear-gradient(315deg, rgba(49,88,165,0.05), rgba(8,125,0,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 14px 28px rgba(25,44,79,0.06);
  backdrop-filter: blur(14px) saturate(1.18);
}

label {
  color: #1b283d;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

label span {
  color: var(--green);
  font-weight: 850;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(49, 88, 165, 0.18);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86);
  font-size: 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus {
  border-color: rgba(49, 88, 165, 0.56);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 0 0 4px rgba(49, 88, 165, 0.1), inset 0 1px 0 rgba(255,255,255,0.9);
}

.field-group.has-error input {
  border-color: rgba(180, 35, 24, 0.72);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.field-error,
.field-notice {
  min-height: 18px;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.field-error {
  color: var(--red);
  font-weight: 700;
}

.field-error.advisory {
  color: var(--yellow);
}

.field-group.has-advisory {
  border-color: rgba(154, 103, 0, 0.28);
}

.field-notice {
  color: var(--yellow);
  font-weight: 720;
}

.hidden-cost-toggle {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}

.hidden-cost-toggle input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 18px 0 0;
  accent-color: var(--green);
}

.calculate-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: linear-gradient(135deg, var(--blue), #1e7a54 54%, var(--orange));
  box-shadow: 0 18px 42px rgba(49, 88, 165, 0.24), inset 0 1px 0 rgba(255,255,255,0.28);
  cursor: pointer;
  font-weight: 820;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.calculate-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: translateX(-100%);
  transition: transform 520ms ease;
}

.calculate-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow: 0 24px 58px rgba(49, 88, 165, 0.28), inset 0 1px 0 rgba(255,255,255,0.32);
}

.calculate-button:hover::before {
  transform: translateX(100%);
}

.result-area {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.hidden-cost-note,
.result-card {
  margin: 0;
  border-radius: var(--radius);
}

.hidden-cost-note {
  padding: 16px;
  border: 1px solid rgba(8, 125, 0, 0.22);
  color: #05603a;
  background: rgba(236, 253, 243, 0.72);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hidden-cost-note.excluded {
  border-color: rgba(154, 103, 0, 0.26);
  color: var(--yellow);
  background: rgba(255, 248, 219, 0.78);
}

.result-card {
  position: relative;
  padding: 20px;
  border: 1px solid transparent;
  font-size: 28px;
  line-height: 1.22;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.result-card.profit {
  border-color: rgba(8, 125, 0, 0.3);
  color: #05603a;
  background: linear-gradient(135deg, rgba(236,253,243,0.9), rgba(255,255,255,0.74));
}

.result-card.profit.sparkle::before,
.result-card.profit.sparkle::after {
  content: "";
  position: absolute;
  inset: -35%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(244,184,46,0.68) 0 1.8px, transparent 3.4px),
    radial-gradient(circle, rgba(255,214,102,0.56) 0 1.6px, transparent 3.2px),
    radial-gradient(circle, rgba(255,140,25,0.34) 0 1.5px, transparent 3px),
    radial-gradient(circle, rgba(8,125,0,0.26) 0 1.4px, transparent 3px);
  background-size: 76px 76px, 104px 104px, 128px 128px, 152px 152px;
  background-position: 8px 16px, 44px 72px, 92px 34px, 28px 108px;
  opacity: 0;
  animation: profitSparkle 4s ease-out forwards;
}

.result-card.profit.sparkle::after {
  filter: blur(2.5px);
  transform: rotate(18deg);
  animation-duration: 4s;
}

.result-card.loss {
  border-color: rgba(180, 35, 24, 0.32);
  color: var(--red);
  background: linear-gradient(135deg, rgba(254,243,242,0.92), rgba(255,255,255,0.74));
}

.calculator-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 22px 0 36px;
  color: var(--muted);
  border-top: 1px solid rgba(49, 88, 165, 0.14);
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  .calculator-nav {
    justify-content: flex-end;
    margin-left: auto;
    overflow: visible;
  }

  .hero-shell {
    padding-top: 78px;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wide-field {
    grid-column: span 2;
  }

  .calculate-button {
    width: auto;
  }

  .calculator-footer {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1040px) {
  .calculator-card {
    padding: 38px;
  }
}

@media (max-width: 900px) {
  .calculator-topbar {
    position: sticky;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    top: 10px;
    width: min(100vw - 20px, 680px);
    min-height: 58px;
    margin: 10px auto 0;
    padding: 8px 10px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 48px;
    height: 42px;
  }

  .brand span {
    display: none;
  }

  .mobile-current-page {
    display: block;
    color: #132036;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 760;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    appearance: none;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,255,255,0.42)),
      linear-gradient(315deg, rgba(49,88,165,0.08), rgba(255,140,25,0.05));
    box-shadow: 0 12px 26px rgba(20,43,84,0.13), inset 0 1px 0 rgba(255,255,255,0.9);
    cursor: pointer;
  }

  .mobile-menu-toggle img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 220ms ease;
  }

  .calculator-topbar.menu-open .mobile-menu-toggle img {
    transform: rotate(90deg) scale(0.94);
  }

  .calculator-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: auto;
    max-width: none;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.94)),
      linear-gradient(315deg, rgba(49,88,165,0.08), rgba(8,125,0,0.05), rgba(255,140,25,0.06));
    box-shadow: 0 22px 52px rgba(20,43,84,0.2), inset 0 1px 0 rgba(255,255,255,0.98);
    backdrop-filter: blur(34px) saturate(1.55);
    -webkit-backdrop-filter: blur(34px) saturate(1.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.16,1,.3,1);
  }

  .calculator-topbar.menu-open .calculator-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .calculator-nav::before,
  .calculator-nav::after {
    display: none;
  }

  .calculator-nav a {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(49,88,165,0.1);
    background: rgba(255,255,255,0.68);
    font-size: 14px;
    white-space: normal;
  }

  .calculator-nav .mobile-nav-only {
    display: inline-flex;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .lead,
  .section-heading p {
    font-size: 18px;
  }

  .result-card {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .calculator-topbar,
  .hero-shell,
  .section-block,
  .calculator-footer {
    width: min(100vw - 20px, 440px);
  }

  .brand span {
    display: none;
  }

  .calculator-topbar {
    position: sticky;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }

  .brand img {
    width: 48px;
    height: 42px;
  }

  .brand {
    width: auto;
  }

  .mobile-current-page {
    display: block;
    color: #132036;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 760;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    appearance: none;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.72);
    border-radius: 999px;
    background:
      linear-gradient(145deg, rgba(255,255,255,0.86), rgba(255,255,255,0.42)),
      linear-gradient(315deg, rgba(49,88,165,0.08), rgba(255,140,25,0.05));
    box-shadow: 0 12px 26px rgba(20,43,84,0.13), inset 0 1px 0 rgba(255,255,255,0.9);
    cursor: pointer;
  }

  .mobile-menu-toggle img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 220ms ease;
  }

  .calculator-topbar.menu-open .mobile-menu-toggle img {
    transform: rotate(90deg) scale(0.94);
  }

  .calculator-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: auto;
    max-width: none;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,255,0.94)),
      linear-gradient(315deg, rgba(49,88,165,0.08), rgba(8,125,0,0.05), rgba(255,140,25,0.06));
    box-shadow: 0 22px 52px rgba(20,43,84,0.2), inset 0 1px 0 rgba(255,255,255,0.98);
    backdrop-filter: blur(34px) saturate(1.55);
    -webkit-backdrop-filter: blur(34px) saturate(1.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(.16,1,.3,1);
  }

  .calculator-topbar.menu-open .calculator-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .calculator-nav::before,
  .calculator-nav::after {
    display: none;
  }

  .calculator-nav a {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(49,88,165,0.1);
    background: rgba(255,255,255,0.68);
    font-size: 14px;
    white-space: normal;
  }

  .hero-shell {
    padding: 34px 0 28px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.03;
  }

  h2 {
    font-size: 32px;
    line-height: 1.05;
  }

  .eyebrow {
    font-size: 12px;
    line-height: 1.35;
  }

  .lead,
  .section-heading p {
    font-size: 17px;
  }

  .section-block {
    padding: 30px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .calculator-card {
    padding: 12px;
    border-radius: 8px;
  }

  .form-grid {
    gap: 12px;
  }

  .field-group {
    min-height: 0;
    padding: 12px;
    gap: 7px;
  }

  input {
    min-height: 50px;
    padding: 0 12px;
  }

  .calculate-button {
    min-height: 54px;
    padding: 8px 14px;
  }

  .hidden-cost-note,
  .result-card {
    padding: 14px;
  }

  .result-card {
    font-size: 21px;
  }

  .calculator-footer {
    padding-bottom: 28px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .calculator-topbar,
  .hero-shell,
  .section-block,
  .calculator-footer {
    width: min(100vw - 16px, 360px);
  }

  .brand img {
    width: 48px;
    height: 42px;
  }

  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 29px;
  }

  label {
    font-size: 13px;
  }

  .field-error,
  .field-notice {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes profitSparkle {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  24% {
    opacity: 0.82;
  }

  100% {
    opacity: 0;
    transform: translateY(-22px) scale(1.04);
  }
}
