@import "./tokens.css";

/* ==========================================================================
   Quality Mechanical Services — Main Stylesheet (styles.css)
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-sky-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-navy);
  text-decoration: underline;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: var(--color-navy);
  color: var(--color-text-inverse);
  padding: var(--space-md) var(--space-lg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
  border-bottom: 2px solid var(--color-sky);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-inverse);
  text-decoration: none;
}

.brand-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.license-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sky);
  color: var(--color-navy-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.header-cta:hover {
  background: var(--color-sky-light);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ==========================================================================
   Landing Page Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, #0540a8 100%);
  color: var(--color-text-inverse);
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-tagline-badge {
  display: inline-block;
  background: rgba(0, 191, 255, 0.16);
  border: 1px solid rgba(0, 191, 255, 0.35);
  color: var(--color-sky-light);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 780px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-sky);
  color: var(--color-navy-dark);
  font-size: 1.2rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 191, 255, 0.35);
  transition: all var(--transition-bounce);
}

.hero-cta-btn:hover {
  background: var(--color-sky-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 191, 255, 0.5);
  text-decoration: none;
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  list-style: none;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-proof-list li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero-proof-list li span.check {
  color: var(--color-sky);
  font-weight: 700;
}

/* ==========================================================================
   Education Layout & Content Blocks (from WP-06)
   ========================================================================== */
.section {
  padding: var(--space-3xl) var(--space-lg);
}

.section-white {
  background-color: #ffffff;
}

.section-subtle {
  background-color: var(--color-bg-subtle);
}

.container-narrow {
  max-width: 920px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1160px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  font-family: var(--font-mono);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin: var(--space-sm) auto 0;
}

/* Tiers Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.tier-card {
  background: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.tier-card.tier-value { border-color: var(--tier-value-border); }
.tier-card.tier-good  { border-color: var(--tier-good-border); }
.tier-card.tier-better{ border-color: var(--tier-better-border); }
.tier-card.tier-best  { border-color: var(--tier-best-border); }

.tier-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.tier-name {
  font-size: 1.3rem;
  font-weight: 800;
}

.tier-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.tier-value .tier-name { color: var(--tier-value-amber); }
.tier-value .tier-badge { background: var(--tier-value-bg); color: var(--tier-value-text); }

.tier-good .tier-name { color: var(--tier-good-green); }
.tier-good .tier-badge { background: var(--tier-good-bg); color: var(--tier-good-text); }

.tier-better .tier-name { color: var(--tier-better-blue); }
.tier-better .tier-badge { background: var(--tier-better-bg); color: var(--tier-better-text); }

.tier-best .tier-name { color: var(--tier-best-pink); }
.tier-best .tier-badge { background: var(--tier-best-bg); color: var(--tier-best-text); }

.tier-body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Brands Grid */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.brand-card {
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.brand-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Verified Install & Sample Report Card */
.verified-install-box {
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 860px) {
  .verified-install-box {
    grid-template-columns: 1fr;
  }
}

.report-checklist {
  list-style: none;
  margin-top: var(--space-md);
}

.report-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.report-checklist li strong {
  color: var(--color-text-main);
}

.report-checklist li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 800;
  margin-right: 4px;
}

/* Stylized Sample Commissioning Report Card */
.sample-report-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-family: var(--font-sans);
}

.sample-report-header {
  background: var(--color-navy);
  color: #ffffff;
  padding: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sample-report-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.sample-report-badge {
  background: var(--color-success);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.sample-report-body {
  padding: var(--space-md);
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sample-report-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.sample-report-row:last-child {
  border-bottom: none;
}

.sample-report-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-navy);
}

/* 5-Step Strip: What Happens After You Order */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.step-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--color-navy);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.step-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.step-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Install Day & Warranty Split Cards */
.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .split-cards {
    grid-template-columns: 1fr;
  }
}

.info-box {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.info-box-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.info-box-list {
  list-style: none;
}

.info-box-list li {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.info-box-list li::before {
  content: '•';
  color: var(--color-sky-dark);
  font-weight: 800;
  position: absolute;
  left: 4px;
}

/* Who We Are (Anonymous Trust Block) */
.who-we-are-card {
  background: linear-gradient(135deg, #001845 0%, var(--color-navy) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.who-we-are-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.who-we-are-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 740px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.license-link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-sky-light);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.license-link-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
}

/* License Strip Footer */
.license-footer-strip {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg);
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.license-footer-strip a {
  color: var(--color-sky);
}

/* Agent Widget Launcher Visual Slot */
.agent-widget-launcher-slot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90; /* below modal overlay (1000) and sticky proposal bar (200) */
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-sky);
  border: 2px solid var(--color-sky);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: transform var(--transition-bounce);
}

.agent-widget-launcher-slot:hover {
  transform: scale(1.08);
}

@media (max-width: 600px) {
  .agent-widget-launcher-slot {
    bottom: 80px; /* offset clear of mobile sizer buttons */
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* ==========================================================================
   Sizer Quiz Modal & Steps (Restyled, 100% HOOK COMPATIBLE)
   ========================================================================== */
.modal-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 24, 69, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
  animation: fadeIn var(--transition-fast);
}

.modal-container {
  background: var(--color-bg-surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
}

.close-modal {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-text-light);
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.close-modal:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text-main);
}

.close-modal:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Progress Tracking */
.progress-container {
  margin-bottom: var(--space-lg);
}

.progress-steps {
  display: none;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-navy), var(--color-sky));
  width: 0%;
  transition: width var(--transition-normal);
}

.step-info {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.step-counter {
  display: none;
}

.step-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 800;
  color: var(--color-navy);
  margin: 0;
}

/* Questions and Form */
form {
  margin: 0;
}

.question {
  display: none;
  min-height: 260px;
}

.question.active {
  display: block;
  animation: fadeIn var(--transition-fast);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-sm);
}

legend {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text-main);
}

.help-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

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

.field-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-md);
}

/* Welcome Question (Q0) */
.welcome-content {
  text-align: center;
  padding: var(--space-md) 0;
}

.welcome-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sky-dark);
  margin-bottom: var(--space-xs);
}

.welcome-headline {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
}

.welcome-sub {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto var(--space-lg);
}

.welcome-points {
  list-style: none;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  text-align: left;
}

.welcome-points li {
  font-size: 0.95rem;
  color: var(--color-text-main);
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.welcome-points li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 800;
}

.welcome-start, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  max-width: 380px;
}

.welcome-start:hover, .cta-btn:hover {
  background: var(--color-navy-light);
  transform: translateY(-1px);
}

/* Touch-Friendly Option Selectors */
.options {
  display: grid;
  gap: var(--space-sm);
}

.option {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 56px;
}

.option:hover {
  border-color: var(--color-sky-dark);
  background: var(--color-bg-subtle);
}

.option.selected {
  border-color: var(--color-navy);
  background: #f0f6ff;
  box-shadow: 0 0 0 1px var(--color-navy);
}

.option input[type="radio"],
.option input[type="checkbox"] {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  accent-color: var(--color-navy);
  cursor: pointer;
  flex-shrink: 0;
}

.label-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.label-content label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-main);
  cursor: pointer;
}

.label-content .desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Form Row & Input Controls */
.form-row {
  margin-bottom: var(--space-md);
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text-main);
}

.input-container {
  position: relative;
}

.text-input, .number-input {
  width: 100%;
  min-height: 48px;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text-main);
  background: var(--color-bg-surface);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.text-input:focus, .number-input:focus {
  outline: none;
  border-color: var(--color-sky-dark);
  box-shadow: var(--focus-ring);
}

.hint {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* Address Dropdown */
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 220px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}

.address-suggestions[aria-expanded="true"] {
  display: block;
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--color-bg-subtle);
}

.suggestion-item:hover, .suggestion-item.active {
  background: #eff6ff;
  color: var(--color-navy);
}

/* Property details & error states */
.property-details {
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

#address-confirmation {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.inline-error {
  color: var(--color-error);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.inline-error:not(:empty) {
  display: block;
}

.success-message {
  background: var(--color-success-bg);
  color: var(--color-success);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: var(--space-sm);
  display: none;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 35, 102, 0.2);
  border-top-color: var(--color-navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  position: absolute;
  right: 14px;
  top: 14px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

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

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back {
  background: var(--color-bg-subtle);
  color: var(--color-text-muted);
}

.btn-back:hover {
  background: #e2e8f0;
  color: var(--color-text-main);
}

.btn-next {
  background: var(--color-navy);
  color: #ffffff;
  margin-left: auto;
}

.btn-next:hover {
  background: var(--color-navy-light);
}

.btn-submit {
  background: var(--color-sky-dark);
  color: #ffffff;
  margin-left: auto;
}

.btn-submit:hover {
  background: var(--color-navy);
}

@media (max-width: 480px) {
  .modal-container {
    padding: var(--space-md);
  }
  .nav-buttons {
    flex-direction: column-reverse;
  }
  .btn {
    width: 100%;
  }
}
