/* ============================================================
   UstaLine Construction — Design System
   ============================================================ */

:root {
  --bg: #8e9299;
  --surface: rgba(55, 57, 62, 0.94);
  --surface-strong: #3a3d42;
  --surface-dark: #2f3237;
  --text: #f1f1f1;
  --muted: #a8adb6;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f29a38;
  --accent-light: rgba(242, 154, 56, 0.13);
  --accent-strong: #cf7419;
  --forest: #273140;
  --forest-light: rgba(255, 255, 255, 0.06);
  --sand: #4c5058;
  --shadow-sm: 0 4px 16px rgba(10, 12, 16, 0.14);
  --shadow: 0 12px 40px rgba(10, 12, 16, 0.2);
  --shadow-lg: 0 24px 64px rgba(10, 12, 16, 0.28);
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 34px;
  --hero-glow: rgba(255, 255, 255, 0.06);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(140deg, rgba(255,255,255,0.08) 0 12%, transparent 12% 100%),
    linear-gradient(320deg, rgba(255,255,255,0.07) 0 10%, transparent 10% 100%),
    linear-gradient(180deg, #8e9299 0%, #878c94 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  padding-top: 24px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
input, select, textarea { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p { margin: 0; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ===== SCROLL PROGRESS ===== */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #f5c07a, var(--forest));
  z-index: 100;
  transition: width 60ms linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

/* ===== FLOATING CTA ===== */
.float-cta {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.float-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.float-cta-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 18px;
  background: rgba(22, 40, 50, 0.96);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255,255,255,0.07) inset;
  color: #fff;
}

.float-cta-label {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 3px;
}

.float-cta-price {
  font-size: 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.float-cta-btn {
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.86rem !important;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 60;
  padding: 13px 22px;
  background: #172126;
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(22, 37, 48, 0.22);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 3px;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(142, 146, 153, 0.78);
  backdrop-filter: blur(20px) saturate(1.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  max-width: 260px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(20, 25, 34, 0.62);
  transition: color 150ms, background 150ms;
}

.nav-links a:hover {
  color: #1c2129;
  background: rgba(255, 255, 255, 0.26);
}

.nav-cta { min-height: 44px; }

/* ===== QUICK NAV ===== */
.quick-nav {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  display: grid;
  gap: 8px;
}

.quick-nav a {
  display: block;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 53, 64, 0.09);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  font-size: 0.88rem;
  color: #1d242d;
  transition: transform 150ms, box-shadow 150ms, color 150ms;
}

.quick-nav a:hover {
  transform: translateX(-3px);
  color: var(--accent-strong);
  box-shadow: var(--shadow);
}

/* ===== SHARED TYPOGRAPHY ===== */
.hero h1,
.hero h2,
.section-head h2,
.calculator-copy h2,
.experience h2,
.process h2,
.contact h2,
.contact-form-title {
  font-family: "Space Grotesk", sans-serif;
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 110px;
}

section { padding: 56px 0; }

.hero-blob {
  position: absolute;
  top: -160px; right: -160px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,154,56,0.08) 0%, transparent 65%);
  animation: floatBlob 11s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-28px, 22px) scale(1.05); }
  66%       { transform: translate(14px, -18px) scale(0.96); }
}

.hero-grid,
.calculator-layout,
.process-grid,
.contact-box,
.experience-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.hero-grid {
  padding: 54px;
  border-radius: 34px;
  background: linear-gradient(180deg, #35383d 0%, #33363b 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(255,255,255,0.05) 62% 68%, transparent 68% 100%),
    linear-gradient(315deg, transparent 0 82%, rgba(255,255,255,0.05) 82% 88%, transparent 88% 100%);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.hero-text {
  max-width: 60ch;
  margin: 20px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-light);
  border: 1px solid rgba(242, 154, 56, 0.22);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-strip span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 0.84rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms, box-shadow 200ms;
}

.hero-metrics li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.hero-metrics strong {
  display: block;
  font-size: 1.55rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.64);
  font-size: 0.82rem;
  line-height: 1.3;
}

.hero-panel { display: grid; gap: 14px; }

.floating-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: -6px;
}

.floating-card {
  --base-y: 0px;
  --base-r: 0deg;
  --hover-x: 0px;
  --hover-y: 0px;
  --hover-r: 0deg;
  --hover-lift: 0px;
  --card-scale: 1;
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: 26px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  transform: translate3d(var(--hover-x), calc(var(--base-y) + var(--hover-y) + var(--hover-lift)), 0)
             rotate(calc(var(--base-r) + var(--hover-r))) scale(var(--card-scale));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.floating-card:hover {
  --hover-lift: -12px;
  --card-scale: 1.03;
  box-shadow: 0 26px 55px rgba(10, 12, 16, 0.34);
}

.card-left {
  --base-y: 28px;
  --base-r: -5deg;
}

.card-center {
  z-index: 2;
  --card-scale: 1.02;
}

.card-right {
  --base-y: 34px;
  --base-r: 4deg;
}

.floating-card-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.18) contrast(1.02);
  transform: scale(1.02);
  transition: transform 520ms ease, filter 320ms ease;
}

.floating-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,22,0.04), rgba(16,18,22,0.72));
}

.floating-card:hover .floating-card-media {
  transform: scale(1.08);
  filter: grayscale(0) contrast(1.04);
}

.floating-card-copy {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}

.floating-card-copy span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.floating-card-copy strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
}

/* Hero card */
.hero-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  padding: 28px;
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -50px; bottom: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 68%);
  pointer-events: none;
}

.hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #34c878;
  flex-shrink: 0;
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 200, 120, 0.5); }
  60%       { box-shadow: 0 0 0 7px rgba(52, 200, 120, 0); }
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.hero-card p {
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.65;
}

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

.timeline div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.timeline p {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  padding-top: 10px;
  line-height: 1.5;
}

/* Mini cards */
.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow-sm);
}

.mini-card strong {
  display: block;
  font-size: 0.97rem;
  margin-bottom: 6px;
}

.mini-card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.84rem;
  line-height: 1.5;
}

.mini-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Quick calc card */
.quick-calc-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: linear-gradient(145deg, #fff, rgba(219, 230, 229, 0.6));
}

.qc-type-row { display: flex; gap: 6px; }

.qc-btn {
  flex: 1;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 160ms ease;
}

.qc-btn.active {
  background: var(--forest);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(31, 77, 86, 0.25);
}

.qc-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qc-slider-row span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--forest);
  min-width: 58px;
}

.qc-slider-row input {
  flex: 1;
  accent-color: var(--accent);
  cursor: pointer;
}

.qc-price {
  font-size: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.qc-link {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--forest);
  transition: color 150ms;
}

.qc-link:hover { color: var(--accent-strong); }

/* ===== SERVICES ===== */
.section-head { margin-bottom: 28px; }

.section-head h2,
.calculator-copy h2,
.experience h2,
.process h2,
.contact h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.service-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.chip {
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.66);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.chip:hover { background: rgba(255,255,255,0.1); color: #fff; }
.chip.active { background: linear-gradient(135deg, var(--forest), #294a6d); color: #fff; border-color: transparent; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(55,57,62,0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.info-card.is-hidden {
  opacity: 0.25;
  transform: scale(0.97);
  pointer-events: none;
}

.info-card h3 {
  margin: 10px 0 8px;
  font-size: 1.02rem;
}

.info-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.info-card h3 { color: #fff; }
.info-card p { color: rgba(255,255,255,0.62); font-size: 0.9rem; line-height: 1.6; }

.info-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--forest);
  transition: gap 150ms, color 150ms;
}

.info-card a:hover { color: var(--accent-strong); gap: 8px; }

.service-icon { display: none; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item:nth-child(2) { transition-delay: 90ms; }
.reveal-item:nth-child(3) { transition-delay: 180ms; }
.reveal-item:nth-child(4) { transition-delay: 270ms; }

/* ===== CALCULATOR ===== */
.calculator-section {
  padding: 64px 0;
  position: relative;
}

.calculator-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(219,123,57,0.05), transparent),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(31,77,86,0.06), transparent);
  pointer-events: none;
}

.calculator-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: 36px;
  align-items: start;
}

.calculator-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 52ch;
}

.preset-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.preset-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(34,53,64,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  color: #1d242d;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 180ms ease;
}

.preset-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.preset-chip.active {
  background: var(--forest);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(31, 77, 86, 0.25);
}

.journey-steps {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.journey-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.94);
  transition: background 250ms ease, border-color 250ms ease, transform 350ms ease, opacity 350ms ease;
}

.journey-step.active {
  background: rgba(255,252,247,0.98);
  border-color: rgba(219,123,57,0.22);
}

.journey-step span {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--sand);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background 250ms ease, color 250ms ease;
  flex-shrink: 0;
}

.journey-step.active span {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(219,123,57,0.3);
}

.journey-step strong {
  font-size: 0.9rem;
  color: #1f2630;
  line-height: 1.3;
  opacity: 1;
}

/* Calculator card */
.calculator-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  padding: 16px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #35383d 0%, #33363b 100%);
  box-shadow: var(--shadow-lg);
  align-items: start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.price-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  min-width: 0;
  width: 100%;
}

.form-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.form-section-head h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
}

.form-section-head p {
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 0.86rem;
}

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

.field label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  opacity: 1;
}

.addons legend {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.field input[type="number"],
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.94);
  color: #18202a;
  transition: border-color 160ms, box-shadow 160ms;
  -webkit-appearance: none;
}

.field input[type="number"]:focus,
.field select:focus {
  outline: none;
  border-color: rgba(219,123,57,0.5);
  box-shadow: 0 0 0 3px rgba(219,123,57,0.1);
}

.field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
  height: 5px;
}

.option-grid { display: grid; gap: 10px; }
.two-col   { grid-template-columns: repeat(2, 1fr); }
.three-col { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.option-card {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.96);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  min-width: 0;
  align-content: start;
}

.option-card:hover { transform: translateY(-2px); }

.option-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.option-card.selected {
  border-color: rgba(219,123,57,0.5);
  box-shadow: 0 0 0 3px rgba(219,123,57,0.08), 0 8px 24px rgba(219,123,57,0.1);
  background: rgba(255,252,248,0.98);
}

.option-title {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  color: #1c232d;
  opacity: 1;
  text-shadow: none;
}

.option-copy {
  color: #6b7280;
  font-size: 0.84rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  opacity: 1;
  text-shadow: none;
}

.compact {
  min-height: 0;
}

.addons {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 8px;
}

.addon-row {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.96);
  border: 1.5px solid rgba(255,255,255,0.08);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 140ms, border-color 140ms;
  color: #1c232d;
  line-height: 1.45;
  opacity: 1;
}

.addon-row:hover {
  background: rgba(219,123,57,0.04);
  border-color: rgba(219,123,57,0.22);
}

.addon-row input {
  accent-color: var(--accent);
  cursor: pointer;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.addon-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  background: rgba(34,53,64,0.05);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 1;
}

/* ===== RESULT PANEL ===== */
.result-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(160deg, #20364f 0%, #13263b 100%);
  box-shadow: 0 20px 60px rgba(12, 28, 38, 0.35), 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: sticky;
  top: 88px;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

/* === Result panel: All text explicitly white/light === */
.result-panel * { color: inherit; }

.result-label {
  margin: 0;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.result-price {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
}

@keyframes priceFlash {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.03); color: #f5c07a; }
  100% { transform: scale(1); color: #ffffff; }
}

.result-price.is-flashing { animation: priceFlash 400ms ease; }

.result-note {
  margin: 0;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-size: 0.86rem;
}

.insight-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.insight-row > div {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
}

.insight-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  margin-bottom: 6px;
  line-height: 1.4;
}

.insight-row > div > strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}

/* Donut chart */
.cost-chart {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}

.donut-svg {
  width: 80px; height: 80px;
  flex-shrink: 0;
  transform: rotate(-90deg);
  overflow: visible;
}

.donut-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 13;
}

.donut-seg {
  fill: none;
  stroke-width: 13;
  stroke-linecap: butt;
  stroke-dasharray: 0 283;
  transition: stroke-dasharray 550ms ease, stroke-dashoffset 550ms ease;
}

#segBase    { stroke: #e09655; }
#segQuality { stroke: #5aaccb; }
#segTimeline{ stroke: #6ec47e; }
#segAddons  { stroke: #b08fe0; }

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donut-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-base    { background: #e09655; }
.dot-quality { background: #5aaccb; }
.dot-timeline{ background: #6ec47e; }
.dot-addons  { background: #b08fe0; }

/* Breakdown */
.result-breakdown { display: grid; gap: 8px; }

.breakdown-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.breakdown-item span:first-child {
  color: rgba(255,255,255,0.68);
  font-size: 0.85rem;
  line-height: 1.45;
}

.breakdown-item span:last-child {
  text-align: right;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  white-space: nowrap;
}

.scroll-animate,
.parallax-soft {
  will-change: transform, opacity;
}

.scroll-animate {
  --parallax-y: 0px;
  --delay: 0ms;
  opacity: 0;
  transform: translate3d(0, calc(34px + var(--parallax-y)), 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 800ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay);
}

.scroll-animate.is-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y), 0) scale(1);
  filter: blur(0);
}

.scroll-animate.from-left {
  transform: translate3d(-46px, calc(20px + var(--parallax-y)), 0) scale(0.985);
}

.scroll-animate.from-right {
  transform: translate3d(46px, calc(20px + var(--parallax-y)), 0) scale(0.985);
}

.scroll-animate.from-left.is-visible,
.scroll-animate.from-right.is-visible {
  transform: translate3d(0, var(--parallax-y), 0) scale(1);
}

.scroll-animate.clip-reveal {
  opacity: 1;
  filter: none;
  clip-path: inset(0 100% 0 0 round 0);
  transform: translate3d(0, calc(14px + var(--parallax-y)), 0);
  transition:
    clip-path 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay);
}

.scroll-animate.clip-reveal.is-visible {
  clip-path: inset(0 0 0 0 round 0);
  transform: translate3d(0, var(--parallax-y), 0);
}

.motion-panel,
.package-card,
.info-card,
.faq-list details,
.feature-card {
  position: relative;
  overflow: hidden;
}

.motion-panel::before,
.package-card::before,
.info-card::before,
.faq-list details::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(100deg, transparent 36%, rgba(255,255,255,0.09) 50%, transparent 64%);
  transform: translateX(-130%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.motion-panel.is-visible::before,
.package-card.is-visible::before,
.info-card.is-visible::before,
.faq-list details.is-visible::before,
.feature-card.is-visible::before {
  animation: panelSweep 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes panelSweep {
  0% {
    opacity: 0;
    transform: translateX(-130%) skewX(-18deg);
  }
  18% {
    opacity: 0.18;
  }
  100% {
    opacity: 0;
    transform: translateX(125%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-panel::before,
  .package-card::before,
  .info-card::before,
  .faq-list details::before,
  .feature-card::before {
    animation: none !important;
  }
}

/* Progress */
.progress-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
}

.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.progress-copy > span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}

.progress-copy > strong {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  text-align: right;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 56%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #f5c07a);
  transition: width 600ms ease;
  box-shadow: 0 0 10px rgba(219,123,57,0.4);
}

.full-width { width: 100%; }

/* ===== PACKAGES ===== */
.package-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(55,57,62,0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms, box-shadow 200ms;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.package-card.featured {
  background: linear-gradient(160deg, rgba(219,123,57,0.08), rgba(255,252,248,0.98));
  border-color: rgba(219,123,57,0.2);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.package-card.featured:hover { transform: translateY(-10px); }

.package-name {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.package-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
}

.package-card > p {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pkg-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #d3864f);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(219,123,57,0.3);
}

.pkg-features {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  flex: 1;
}

.pkg-features li {
  font-size: 0.87rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.pkg-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 800;
}

.package-card.featured .pkg-features li::before { color: var(--accent-strong); }

.pkg-btn {
  margin-top: 22px;
  justify-content: center;
}

/* ===== EXPERIENCE ===== */
.experience-grid { align-items: start; }

.section-copy {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 52ch;
}

.feature-stack { display: grid; gap: 14px; }

.feature-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(55,57,62,0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms, box-shadow 180ms;
}

.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.feature-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 7px;
}

.feature-card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ===== PROCESS ===== */
.steps { display: grid; gap: 14px; }

.steps article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(55,57,62,0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms, box-shadow 180ms;
}

.steps article:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.steps span {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--sand);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.steps h3 { margin: 0 0 6px; font-size: 1rem; }
.steps p  { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.steps h3 { color: #fff; }
.steps p  { color: rgba(255,255,255,0.62); font-size: 0.88rem; line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 10px; }

.faq-list details {
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(55,57,62,0.94);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 180ms;
}

.faq-list details[open] {
  box-shadow: var(--shadow);
}

.faq-list details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.97rem;
  color: #fff;
  list-style: none;
  transition: background 150ms;
}

.faq-list details summary::-webkit-details-marker { display: none; }
.faq-list details summary:hover { background: rgba(34,53,64,0.025); }

.faq-chevron {
  font-size: 1rem;
  transition: transform 280ms ease;
  color: var(--muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(34,53,64,0.05);
}

details[open] .faq-chevron { transform: rotate(180deg); }

.faq-list details p {
  padding: 0 24px 20px;
  color: rgba(255,255,255,0.64);
  font-size: 0.92rem;
  line-height: 1.7;
  animation: revealDown 200ms ease;
}

@keyframes revealDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== CONTACT ===== */
.contact-box {
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #35383d 0%, #33363b 100%);
  box-shadow: var(--shadow-lg);
}

.contact-info-col {
  display: grid;
  align-content: start;
  gap: 20px;
}

.contact-info-col h2 { margin: 0; }

.contact-info-col > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-cards { display: grid; gap: 10px; }

.contact-cards div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(34, 53, 64, 0.08);
  color: #1d242d;
}

.contact-cards span {
  font-size: 0.84rem;
  color: #7a838f;
  font-weight: 600;
}

.contact-cards strong {
  font-size: 0.94rem;
  font-weight: 800;
  color: #1d242d;
}

/* Contact form */
.contact-form {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1.5px solid rgba(34,53,64,0.08);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  color: #1d242d;
}

.contact-form-title {
  margin: 0 0 2px;
  font-size: 1.3rem;
  color: #1d242d;
}

.contact-form-sub {
  margin: 0;
  color: #69727d;
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-form .field label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #49525c;
}

.contact-form .field input,
.contact-form .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(34,53,64,0.11);
  background: #fff;
  font: inherit;
  color: #1d242d;
  resize: vertical;
  transition: border-color 160ms, box-shadow 160ms;
  -webkit-appearance: none;
}

.contact-form .field textarea { min-height: auto; }

.contact-form .field input:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: rgba(219,123,57,0.5);
  box-shadow: 0 0 0 3px rgba(219,123,57,0.1);
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: rgba(90, 102, 112, 0.7);
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #f29a38, #d97a21);
  box-shadow: 0 8px 24px rgba(242, 154, 56, 0.34);
}

.button-primary:hover {
  box-shadow: 0 12px 32px rgba(242, 154, 56, 0.42);
}

.button-secondary {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(36,64,56,0.16);
  color: var(--forest);
}

.button-secondary:hover {
  background: rgba(255,255,255,0.95);
}

/* ===== RESPONSIVE ===== */

/* Large screens: result panel sticky */
@media (min-width: 1181px) {
  .result-panel {
    position: sticky;
    top: 88px;
  }
}

@media (max-width: 1180px) {
  .calculator-layout { grid-template-columns: 1fr; }
  .calculator-card   { grid-template-columns: 1fr; }
  .calculator-copy   { max-width: 720px; }
  .result-panel      { position: static; }
}

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

  .calculator-copy {
    max-width: 760px;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .process-grid,
  .contact-box,
  .experience-grid,
  .card-grid,
  .package-grid { grid-template-columns: 1fr; }

  .hero h1 { max-width: none; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .package-card.featured { transform: none; }
  .package-card.featured:hover { transform: translateY(-4px); }
  main { padding-top: 18px; }
  .floating-gallery { grid-template-columns: 1fr; }
  .card-left,
  .card-center,
  .card-right { transform: none; }
}

@media (max-width: 900px) {
  .three-col,
  .two-col,
  .insight-row { grid-template-columns: 1fr; }
  .compact { min-height: 0; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }

  .site-header { top: 0; }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 12px;
  }

  .brand {
    max-width: 210px;
  }

  .nav-links {
    width: 100%;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 11px;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .nav-cta { display: none; }

  main { padding-top: 10px; }

  .hero { padding: 18px 0 30px; }
  section { padding: 34px 0; }

  .hero-grid {
    padding: 24px;
    border-radius: 26px;
    gap: 22px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    line-height: 0.98;
    max-width: 100%;
  }

  .hero-text {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .floating-gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    margin: 0 -2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .floating-gallery::-webkit-scrollbar {
    display: none;
  }

  .floating-card {
    flex: 0 0 min(78vw, 320px);
    min-height: 150px;
    --base-y: 0px;
    --base-r: 0deg;
    --hover-x: 0px;
    --hover-y: 0px;
    --hover-r: 0deg;
    --card-scale: 1;
    scroll-snap-align: start;
  }

  .hero-card,
  .mini-card,
  .quick-calc-card,
  .package-card,
  .feature-card,
  .steps article {
    border-radius: 22px;
  }

  .quick-nav {
    right: 10px;
    left: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    z-index: 55;
  }

  .quick-nav a {
    text-align: center;
    padding: 10px 8px;
    font-size: 0.8rem;
    min-height: 42px;
    display: grid;
    place-items: center;
  }

  .preset-bar { display: grid; grid-template-columns: 1fr; }

  .calculator-section {
    padding: 36px 0;
  }

  .calculator-layout {
    gap: 22px;
  }

  .calculator-copy h2,
  .section-head h2,
  .experience h2,
  .process h2,
  .contact h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .calculator-card {
    border-radius: 24px;
    gap: 12px;
  }

  .price-form  { padding: 16px; }
  .result-panel { padding: 18px; }
  .form-section { padding: 16px; }
  .journey-step {
    grid-template-columns: 38px 1fr;
    padding: 12px 14px;
  }

  .journey-step span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

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

  .addon-row {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    min-height: 0;
    padding: 13px 14px;
  }

  .addon-badge {
    align-self: center;
  }

  .result-price {
    font-size: clamp(2.1rem, 12vw, 3rem);
    overflow-wrap: anywhere;
  }

  .breakdown-item { grid-template-columns: 1fr; gap: 3px; }
  .breakdown-item span:last-child { text-align: left; }

  .float-cta {
    display: none;
  }

  .toast {
    width: calc(100% - 28px);
    bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .contact-form { padding: 22px; }
  .contact-box  { padding: 22px; }

  .contact-cards div {
    display: grid;
    gap: 4px;
    justify-content: stretch;
  }

  .contact-cards strong {
    overflow-wrap: anywhere;
  }

  .cost-chart { flex-direction: column; align-items: flex-start; }
  .donut-legend { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }

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

  .brand {
    max-width: 188px;
  }

  .nav-links a {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .hero-badge {
    width: 100%;
    min-height: 0;
    padding: 9px 12px;
    border-radius: 14px;
    line-height: 1.35;
  }

  .trust-strip span {
    width: 100%;
    text-align: center;
  }

  .floating-card {
    flex-basis: 82vw;
    min-height: 138px;
  }

  .calculator-card {
    padding: 8px;
    border-radius: 20px;
  }
  .price-form { padding: 12px; }
  .form-section { padding: 12px; }
  .option-card { padding: 13px; }

  .form-section-head h3 {
    font-size: 0.96rem;
  }

  .button {
    width: 100%;
    white-space: normal;
    min-height: 48px;
    padding: 0 16px;
  }

  .quick-nav a {
    font-size: 0.72rem;
    padding: 8px 5px;
  }

  .contact-box,
  .contact-form {
    padding: 18px;
    border-radius: 22px;
  }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 18px); }

  .hero-grid,
  .contact-box,
  .contact-form {
    padding: 16px;
  }

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

  .calculator-copy h2,
  .section-head h2,
  .experience h2,
  .process h2,
  .contact h2 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .quick-nav {
    left: 8px;
    right: 8px;
    gap: 4px;
  }

  .quick-nav a {
    font-size: 0.68rem;
    min-height: 40px;
  }

  .result-panel {
    padding: 15px;
  }
}
