@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@500;700;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --glass-blur: 20px;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.35);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --input-bg: rgba(255, 255, 255, 0.08);
  --input-border: rgba(255, 255, 255, 0.15);
  --input-focus: rgba(0, 212, 255, 0.4);
  --success: #34d399;
  --error: #f87171;
  --price-gold: #fbbf24;
  --top-bar-logo-size: clamp(1.6rem, 5vw, 2.8rem);
  --space-section: 2rem;
  --space-block: 1.5rem;
  --space-control: 1rem;
  --header-gap: 2rem;
  --control-height: 46px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  text-transform: uppercase;
  -webkit-text-size-adjust: 100%;
}

img, svg, input, textarea, select, button {
  max-width: 100%;
}

* {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Make sure inputs and textareas allow regular typing */
input, textarea {
  text-transform: none;
}

/* Placeholders inherit normal casing from inputs, but we can ensure they are explicitly normal */
input::placeholder, textarea::placeholder {
  text-transform: none;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg,
      #0a1628 0%,
      #0d2137 18%,
      #0f3460 35%,
      #1a5276 48%,
      #1f6f8b 58%,
      #2d8f7b 68%,
      #48b89f 80%,
      #7ec8a0 92%,
      #a8e6cf 100%
    );
  overflow: hidden;
}

.bg-scene::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(72, 184, 159, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(15, 52, 96, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 10%, rgba(168, 230, 207, 0.3) 0%, transparent 40%);
  animation: bgDrift 25s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(30px, -20px) rotate(2deg); }
}

/* Subtle light flare */
.bg-scene::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: flare 18s ease-in-out infinite alternate;
}

@keyframes flare {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(-80px, 80px) scale(1.3); opacity: 0.8; }
}

/* ===== LAYOUT ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem 4rem;
}

/* ===== TOP BAR ===== */
.top-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--header-gap);
  padding: 1.2rem 2rem 0;
  margin-top: 0.3rem;
  margin-bottom: var(--header-gap);
  width: 100%;
  max-width: 760px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 170px;
  flex-shrink: 0;
}

.top-bar-logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  margin: 0;
  font-size: var(--top-bar-logo-size);
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
  max-width: 100%;
  text-shadow:
    0 0 20px rgba(0, 212, 255, 0.4),
    0 0 60px rgba(0, 212, 255, 0.15);
}

.top-bar-credit {
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.13em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  white-space: nowrap;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 12px var(--accent-glow);
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  background: rgba(0, 20, 40, 0.4);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-link:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
  color: #fff;
}

.phone-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ===== HERO / SLOGAN ===== */
.hero {
  text-align: center;
  margin-bottom: var(--space-section);
}

.slogan {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 20px rgba(0, 212, 255, 0.4),
    0 0 60px rgba(0, 212, 255, 0.15);
  margin-bottom: 0.6rem;
  margin-top: 0;
  max-width: 100%;
  margin-inline: auto;
  line-height: 1.1;
  text-wrap: balance;
}

.hero-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  white-space: normal;
  line-height: 1.5;
}

.slogan-placement {
  width: 100%;
  max-width: 640px;
  margin-top: 1.5rem;
  text-align: center;
}

/* ===== PRICE BADGE ===== */
.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  backdrop-filter: blur(10px);
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 600;
  color: var(--price-gold);
  letter-spacing: 0.04em;
  max-width: 100%;
  text-align: center;
}

.price-badge .price {
  font-family: 'Orbitron', monospace;
  font-size: 1.3rem;
  font-weight: 800;
}

/* ===== LINE ART (inside glass card) ===== */
.lineart-bg {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  opacity: 0.12;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

/* ===== GLASS CARD ===== */
.glass-card {
  width: 100%;
  max-width: 640px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow:
    var(--glass-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: visible;
}

/* Subtle inner light highlight */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.3) 50%, transparent 90%);
}

#quoteForm {
  position: relative;
  z-index: 1;
}


.form-section {
  margin-bottom: var(--space-section);
}

.form-section:last-of-type {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-block);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ===== FORM GRID ===== */
.form-row {
  display: grid;
  gap: var(--space-control);
  margin-bottom: var(--space-control);
}

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

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

/* ===== INPUT GROUPS ===== */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.input-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.input-group label .required {
  color: var(--error);
  margin-left: 2px;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  height: var(--control-height);
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: var(--text-muted);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.06);
  box-shadow: 0 0 0 3px var(--input-focus), 0 0 16px rgba(0, 212, 255, 0.08);
}

/* ===== CUSTOM SELECT (CYBERPUNK) ===== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  height: var(--control-height);
  padding: 0.7rem 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  user-select: none;
}
.custom-select-trigger:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.custom-select-trigger.open {
  border-color: var(--accent);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}
.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
  z-index: 9999;
  display: none;
  flex-direction: column;
}
.custom-select-options.open {
  display: flex;
}
.custom-option {
  padding: 0.8rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}
.custom-option:hover {
  background: rgba(0, 212, 255, 0.1);
  color: #fff;
  border-left: 2px solid var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}
.custom-option.selected {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.05);
}
/* Cyberpunk scrollbar for options */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}
.custom-select-options::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
.custom-select-options::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.input-group select.hidden-select {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  border: none;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.input-group textarea {
  resize: vertical;
  min-height: 80px;
}

/* Cyberpunk resize handle */
.input-group textarea::-webkit-resizer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cline x1='4' y1='10' x2='10' y2='4' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='8' y1='10' x2='10' y2='8' stroke='%2300d4ff' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0% 0%;
  background-size: 60%;
  background-color: transparent;
}

/* Date picker — light calendar popup matching site palette */
.input-group input[type="date"] {
  color-scheme: light;
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.6) sepia(1) saturate(3) hue-rotate(160deg);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.input-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ===== RADIO / CHECKBOX GROUPS ===== */
.radio-group,
.checkbox-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.radio-option,
.checkbox-option {
  position: relative;
}

.radio-option input,
.checkbox-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label,
.checkbox-option label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

.radio-option label:hover,
.checkbox-option label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== SUBMIT BUTTON ===== */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes sheenSweep {
  0% {
    transform: translateX(-150%);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(150%);
    opacity: 0;
  }
}

.submit-btn {
  width: 100%;
  height: var(--control-height);
  padding: 0.65rem 1.5rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a1628;
  background: linear-gradient(135deg, var(--accent) 0%, #48b89f 45%, var(--accent) 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
  animation: gradientShift 8s ease-in-out infinite alternate;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.45);
}

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

.submit-btn::after {
  content: '';
  position: absolute;
  inset: -80% -30% -80% -30%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.16) 18%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.16) 82%, transparent 100%);
  transform: translateX(-150%);
  animation: sheenSweep 7s ease-in-out infinite;
  filter: blur(10px);
}

.submit-btn.back-btn {
  background: rgba(255, 255, 255, 0.08);
  background-image: none;
  background-size: auto;
  background-position: 0% 50%;
  color: var(--text-secondary);
  box-shadow: none;
  animation: none;
}

.submit-btn.back-btn:hover,
.submit-btn.back-btn:active {
  transform: none;
  box-shadow: none;
}

.submit-btn.back-btn::after {
  animation: none;
  opacity: 0;
  display: none;
}

/* ===== FOOTER ===== */
.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.48rem;
  color: var(--text-muted);
  line-height: 1.45;
  letter-spacing: 0.03em;
  max-width: 620px;
}

.form-footer a {
  color: var(--accent);
  text-decoration: none;
}

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

/* ===== STEP INDICATOR ===== */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-section);
  width: 100%;
  max-width: 640px;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.step.active {
  color: var(--accent);
}

.step.completed {
  color: var(--success);
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1.5px solid var(--text-muted);
  background: transparent;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 1px; /* Optical adjustment for font centering */
}

@keyframes pulseActive {
  0% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5), 0 0 10px var(--accent-glow); }
  70% { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0), 0 0 10px var(--accent-glow); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0), 0 0 10px var(--accent-glow); }
}

.step.active .step-num {
  border-color: var(--accent);
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: pulseActive 2s infinite;
}

.step.completed .step-num {
  border-color: var(--success);
  background: rgba(52, 211, 153, 0.15);
  color: var(--success);
}

.step-line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.step.completed + .step-line {
  background: var(--success);
}

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

/* --- Tablet & small desktop --- */
@media (max-width: 700px) {
  :root {
    --space-section: 1.5rem;
    --space-block: 1.25rem;
  }

  .page-wrapper {
    padding: 1.25rem 0.75rem 3rem;
  }

  .top-bar {
    gap: var(--header-gap);
    align-items: center;
    padding: 0.8rem 1rem 0;
    margin-bottom: var(--header-gap);
    width: min(100%, 520px);
  }

  .brand-block {
    min-width: 0;
    width: 100%;
  }

  .top-bar-credit {
    font-size: 0.46rem;
    letter-spacing: 0.1em;
  }

  .phone-link {
    max-width: 100%;
    width: fit-content;
    margin-top: 0;
    white-space: nowrap;
    text-align: center;
    justify-content: center;
    line-height: 1.2;
    font-size: clamp(0.77rem, 2.2vw, 0.96rem);
  }

  .glass-card {
    padding: 1.75rem 1.4rem;
    border-radius: 20px;
  }

  .hero {
    width: min(100%, 520px);
  }

  .form-row.cols-2,
  .form-row.cols-3 {
    grid-template-columns: 1fr;
  }

  /* Steps: compact column layout at tablet/mobile */
  .steps {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .step {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.15rem;
    font-size: 0.65rem;
    flex-shrink: 0;
  }

  .step-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.1;
  }

  .step-num {
    width: 26px;
    height: 26px;
    font-size: 0.65rem;
  }

  .step-line {
    width: auto;
    flex: 1;
    min-width: 16px;
    align-self: center;
    margin-top: -0.9rem;
  }
}

/* --- Mobile phones --- */
@media (max-width: 480px) {
  .page-wrapper {
    padding: 1rem 0.5rem 2.5rem;
  }

  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: var(--header-gap);
    margin-bottom: var(--header-gap);
    padding: 0.5rem 0.25rem 0;
  }

  .brand-block {
    width: 100%;
  }

  .top-bar-logo {
    --top-bar-logo-size: clamp(1.3rem, 7vw, 2rem);
    letter-spacing: 0.06em;
    line-height: 1;
    transform: none;
    transform-origin: center;
  }

  .top-bar-credit {
    font-size: 0.42rem;
    letter-spacing: 0.08em;
  }

  .phone-link {
    width: auto;
    min-width: 0;
    margin-top: 0;
    font-size: clamp(0.68rem, 3vw, 0.92rem);
    padding: 0.5rem 0.8rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1.2;
    justify-content: center;
    text-align: center;
  }

  /* Hero */
  .hero {
    margin-bottom: 1.4rem;
    max-width: 100%;
  }

  .slogan {
    font-size: clamp(1.3rem, 7vw, 2rem);
    letter-spacing: 0.08em;
    line-height: 1.08;
    max-width: 100%;
  }

  .hero-sub {
    font-size: 0.9rem;
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .price-badge {
    font-size: 0.88rem;
    padding: 0.5rem 1.2rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .price-badge .price {
    font-size: 1.1rem;
  }

  .price-badge > span:last-child {
    display: inline;
    margin-left: 0;
    white-space: normal;
  }

  /* Phone link */
  .phone-link {
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  /* ---- Steps: numbered circles with labels below ---- */
  .steps {
    flex-wrap: nowrap;
    gap: 0;
    margin-bottom: 1.5rem;
    padding: 0 0.75rem;
    width: 100%;
    max-width: 100%;
  }

  .step {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0;
    font-size: 0.6rem;
    flex-shrink: 0;
  }

  .step-label {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.1;
  }

  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.65rem;
  }

  .step-line {
    width: auto;
    flex: 1;
    min-width: 12px;
    align-self: center;
    margin-top: -0.8rem;
  }

  /* Glass card */
  .glass-card {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .glass-card::before {
    display: none;
  }

  /* Section titles */
  .section-title {
    font-size: 0.68rem;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
  }

  /* Inputs */
  .input-group label {
    font-size: 0.75rem;
  }

  .input-group input,
  .input-group select,
  .input-group textarea {
    padding: 0.6rem 0.75rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  /* Radio & checkbox groups — vertical stack on mobile */
  .radio-group,
  .checkbox-group {
    flex-direction: column;
    gap: 0.45rem;
  }

  .radio-option label,
  .checkbox-option label {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 9px;
    width: 100%;
    justify-content: flex-start;
  }

  /* Buttons */
  .submit-btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    border-radius: 12px;
  }

  /* Footer */
  .form-footer {
    font-size: 0.55rem;
    line-height: 1.45;
    padding: 0 0.5rem;
  }

  /* Success message */
  .success-message {
    padding: 2rem 1rem;
  }

  .success-message h2 {
    font-size: 1.15rem;
  }

  .success-message p {
    font-size: 0.88rem;
  }
}

/* --- Very small screens (320px–360px) --- */
@media (max-width: 360px) {
  .top-bar {
    padding: 0.5rem 0.4rem 0;
  }

  .phone-link {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.6rem;
  }

  .steps {
    padding: 0 0.35rem;
  }

  .step {
    gap: 0.15rem;
    padding: 0.2rem 0;
  }

  .step-label {
    font-size: 0.5rem;
  }

  .step-num {
    width: 20px;
    height: 20px;
    font-size: 0.55rem;
  }

  .step-line {
    min-width: 8px;
  }

  .slogan {
    font-size: clamp(1.15rem, 8vw, 1.7rem);
  }

  .hero-sub {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .price-badge {
    padding: 0.45rem 0.8rem;
    font-size: 0.76rem;
  }

  .glass-card {
    padding: 1.5rem 0.85rem;
  }
}

/* ===== SUCCESS STATE ===== */
.success-message {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 2px solid var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--success);
}

.success-message h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  color: var(--success);
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.success-message p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

/* ===== LOADING SHIMMER ===== */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.submit-btn.loading::after {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
