/* ============================================================
   OUR SERVICES — PRODUCTION (Multi-step Form + Page)
   File: /assets/css/pages/our-services.css

   Goals:
   - Mobile-first, responsive (phone → tablet → desktop)
   - Consistent with main layout tokens (gold + black glass)
   - Accessible tap targets, readable spacing, safe overflow
   - Multi-step wizard styles + graceful no-JS fallback
============================================================ */

/* ============================================================
   PAGE-SCOPED TOKENS
   - If your global theme already defines --gold-light/--gold-dark/--black,
     we rely on them here.
============================================================ */
:root {
  --os-border: rgba(245, 221, 102, 0.22);
  --os-border-strong: rgba(245, 221, 102, 0.5);
  --os-text: rgba(255, 255, 255, 0.9);
  --os-text-muted: rgba(255, 255, 255, 0.68);
  --os-card: rgba(0, 0, 0, 0.82);
  --os-card-2: rgba(15, 23, 42, 0.96);
  --os-radius: 18px;

  --os-focus: rgba(245, 221, 102, 0.18);
  --os-focus-border: rgba(245, 221, 102, 0.45);

  --os-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
  --os-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.55);

  --os-step-gap: 0.9rem;
  --os-ring: 0 0 0 3px var(--os-focus);
}

/* Container aligned with home page */
.os-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Prevent image overflow surprises */
.os-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Better default text rendering */
.os-page-shell,
.os-hero {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ============================================================
   HERO
============================================================ */
.os-hero {
  position: relative;
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(245, 221, 102, 0.28),
      transparent 60%
    ),
    url("/assets/img/our-services/hero-bg.jpg") center/cover no-repeat,
    #000;
  padding: 3.5rem 0 3.3rem;
  overflow: hidden;
}

.os-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.65));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.os-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: center;
}

.os-hero-text {
  max-width: 760px;
}

.os-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid var(--os-border);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--os-text-muted);
  margin-bottom: 0.9rem;
}

.os-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.os-hero-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 850;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(245, 221, 102, 0.48);
  margin-bottom: 0.6rem;
}

.os-hero-subtitle {
  font-size: 0.98rem;
  color: var(--os-text);
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.os-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.os-hero-meta {
  font-size: 0.9rem;
  color: var(--os-text-muted);
}

/* Hero media card */
.os-hero-media {
  width: 100%;
}

.os-hero-media-card {
  width: 100%;
  border-radius: var(--os-radius);
  overflow: hidden;
  border: 1px solid var(--os-border);
  background: rgba(0, 0, 0, 0.85);
  box-shadow: var(--os-shadow);
}

.os-hero-media-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transform: scale(1.02);
}

.os-hero-media-caption {
  padding: 0.95rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.os-hero-media-title {
  color: #fff;
  font-weight: 800;
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.os-hero-media-sub {
  color: var(--os-text-muted);
  font-size: 0.86rem;
}

/* ============================================================
   BUTTONS (shared)
============================================================ */
.os-cta-btn {
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.os-cta-btn i {
  width: 16px;
  height: 16px;
}

.os-cta-btn:focus-visible {
  outline: none;
  box-shadow: var(--os-ring);
  border-color: var(--os-focus-border);
}

.os-cta-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black);
  border-color: var(--os-border-strong);
  box-shadow: 0 12px 30px rgba(245, 221, 102, 0.38);
}

.os-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(245, 221, 102, 0.5);
}

.os-cta-secondary {
  background: rgba(0, 0, 0, 0.7);
  color: var(--gold-light);
  border-color: var(--os-border-strong);
}

.os-cta-secondary:hover {
  background: rgba(245, 221, 102, 0.1);
  transform: translateY(-2px);
}

.os-cta-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--os-border-strong);
}

.os-cta-outline:hover {
  background: rgba(245, 221, 102, 0.08);
  transform: translateY(-2px);
}

/* ============================================================
   PAGE SHELL / SECTIONS
============================================================ */
.os-page-shell {
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 221, 102, 0.1), transparent 60%),
    #020617;
  color: #fff;
  padding-bottom: 0;
}

.os-section {
  padding: 3.2rem 0;
  position: relative;
}

.os-section + .os-section {
  border-top: 1px solid rgba(15, 23, 42, 0.85);
}

.os-section-header {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.os-section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--os-text-muted);
}

.os-section-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(245, 221, 102, 0.35);
}

.os-section-subtitle {
  font-size: 0.95rem;
  color: var(--os-text-muted);
  max-width: 760px;
}

/* ============================================================
   ALERTS
============================================================ */
.os-alert {
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.55);
}

.os-alert i {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.os-alert-success {
  border-color: rgba(34, 197, 94, 0.35);
}

.os-alert-success i {
  color: #22c55e;
}

.os-alert-error {
  border-color: rgba(239, 68, 68, 0.35);
}

.os-alert-error i {
  color: #ef4444;
}

/* ============================================================
   MULTI-STEP WIZARD (new)
   - Form container remains .os-inquiry-form
   - Wizard root also has .os-wizard
============================================================ */
.os-inquiry-form {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--os-border);
  border-radius: var(--os-radius);
  padding: 1.1rem;
  box-shadow: var(--os-shadow-soft);
  position: relative;
}

.os-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Wizard header */
.os-wizard-top {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.os-wizard-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.01em;
}

.os-wizard-title i {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

/* Progress bar */
.os-wizard-progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 221, 102, 0.12);
  overflow: hidden;
}

.os-wizard-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(245, 221, 102, 0.25);
  transition: width 0.25s ease;
}

/* Step pills */
.os-wizard-steps {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.os-step-pill {
  border: 1px solid rgba(245, 221, 102, 0.22);
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.86);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 850;
  cursor: pointer;
  transition: 0.2s ease;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

.os-step-pill-label {
  font-weight: 800;
  letter-spacing: 0.01em;
  opacity: 0.9;
}

.os-step-pill:hover {
  background: rgba(245, 221, 102, 0.08);
  transform: translateY(-1px);
}

.os-step-pill:focus-visible {
  outline: none;
  box-shadow: var(--os-ring);
  border-color: var(--os-focus-border);
}

.os-step-pill.is-active {
  background: rgba(245, 221, 102, 0.12);
  border-color: var(--os-border-strong);
  color: #fff;
}

/* Wizard error box */
.os-wizard-error {
  margin: 0.9rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.os-wizard-error i {
  width: 18px;
  height: 18px;
  color: #ef4444;
  margin-top: 2px;
}

.os-wizard-error-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
}

/* Steps: show only active when JS is running.
   - Default (no JS): all steps visible. */
.os-wizard-step {
  border: 0;
  padding: 0;
  margin: 0;
}

.os-wizard-step + .os-wizard-step {
  margin-top: 1.2rem; /* no-JS spacing */
}

.os-wizard-step legend {
  padding: 0;
}

/* Active-only rendering */
.os-wizard .os-wizard-step {
  display: none;
}

.os-wizard .os-wizard-step.is-active {
  display: block;
}

/* Legend block */
.os-wizard-legend {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.os-wizard-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--os-text-muted);
}

.os-wizard-h {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.os-wizard-sub {
  font-size: 0.92rem;
  color: var(--os-text-muted);
  max-width: 720px;
}

/* Wizard actions */
.os-wizard-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* No-script note */
.os-noscript {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 221, 102, 0.18);
  background: rgba(245, 221, 102, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

/* ============================================================
   FORM FIELDS
============================================================ */
.os-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.os-form-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 1.1rem;
}

/* Wizard split variant spacing */
.os-form-split-wizard {
  margin-top: 0.4rem;
}

.os-form-field label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.os-required {
  color: var(--gold-light);
  margin-left: 0.15rem;
}

.os-field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.os-form-field input,
.os-form-field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(245, 221, 102, 0.16);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.7rem 0.8rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.os-form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.os-form-field input::placeholder,
.os-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.os-form-field input:focus,
.os-form-field textarea:focus {
  border-color: var(--os-focus-border);
  box-shadow: var(--os-ring);
}

/* JS adds .os-invalid to inputs */
.os-invalid {
  border-color: rgba(239, 68, 68, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16) !important;
}

/* Checkboxes */
.os-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.os-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem 0.7rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.os-check:hover {
  background: rgba(245, 221, 102, 0.06);
  border-color: rgba(245, 221, 102, 0.16);
  transform: translateY(-1px);
}

.os-check input {
  margin-top: 0.15rem;
  accent-color: var(--gold-light);
}

.os-check span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.35;
}

.os-check small {
  display: inline-block;
  margin-left: 0.35rem;
  color: rgba(255, 255, 255, 0.6);
}

.os-catalog-picks {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.os-catalog-title {
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}

.os-catalog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

/* Budget helper grid */
.os-budget-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

/* Tip card */
.os-tip-card {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 221, 102, 0.18);
  background: rgba(245, 221, 102, 0.06);
}

.os-tip-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.35rem;
}

.os-tip-title i {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.os-tip-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Form footnote */
.os-form-footnote {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
}

/* Summary (Step 4) */
.os-summary {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(245, 221, 102, 0.16);
  border-radius: var(--os-radius);
  padding: 1rem 1rem 1.1rem;
  height: fit-content;
}

.os-summary-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
}

.os-summary-title i {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
}

.os-summary-body {
  display: grid;
  gap: 0.65rem;
}

.os-summary-row {
  display: grid;
  gap: 0.2rem;
}

.os-summary-k {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

.os-summary-v {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-word;
}

/* ============================================================
   SERVICES GRID
============================================================ */
.os-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}

.os-service-card {
  background: var(--os-card);
  border-radius: var(--os-radius);
  overflow: hidden;
  border: 1px solid var(--os-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.os-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(245, 221, 102, 0.26);
  border-color: var(--os-border-strong);
}

.os-service-image-wrapper {
  position: relative;
  overflow: hidden;
}

.os-service-image-wrapper img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

.os-service-card:hover .os-service-image-wrapper img {
  transform: scale(1.08);
}

.os-service-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid var(--os-border-strong);
  font-size: 0.78rem;
  color: var(--gold-light);
}

.os-service-content {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.os-service-content h3 {
  font-size: 1.05rem;
  font-weight: 850;
  color: #fff;
}

.os-service-content p {
  font-size: 0.92rem;
  color: var(--os-text);
}

.os-service-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.35rem;
}

.os-service-list li {
  font-size: 0.86rem;
  color: var(--os-text-muted);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.os-service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-light);
}

/* Inline CTA row */
.os-section-cta-row {
  margin-top: 1.9rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--os-card-2);
  border: 1px solid var(--os-border);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.os-section-inline-text {
  font-size: 0.95rem;
  color: var(--os-text);
}

.os-section-inline-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

/* ============================================================
   HOW IT WORKS
============================================================ */
.os-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.os-step {
  background: var(--os-card);
  border-radius: var(--os-radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.15rem 1.05rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.os-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0% 0%,
    rgba(245, 221, 102, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.os-step:hover::before {
  opacity: 1;
}

.os-step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--os-border);
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 850;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.os-step h3,
.os-step p {
  position: relative;
  z-index: 1;
}

.os-step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 850;
}

.os-step p {
  font-size: 0.9rem;
  color: var(--os-text-muted);
}

/* ============================================================
   FINAL CTA
============================================================ */
.os-final-cta {
  padding: 3.4rem 0 3.8rem;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(245, 221, 102, 0.18),
      transparent 65%
    ),
    #000;
}

.os-final-inner {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.os-final-text h2 {
  font-size: 1.7rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.os-final-text p {
  font-size: 0.95rem;
  color: var(--os-text);
  max-width: 620px;
}

.os-final-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* ============================================================
   STICKY MOBILE CTA
============================================================ */
.os-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem 0.6rem;
  background: rgba(0, 0, 0, 0.96);
  border-top: 1px solid rgba(31, 41, 55, 1);
  display: none;
  justify-content: center;
  gap: 0.9rem;
  z-index: 40;
}

.os-sticky-link {
  flex: 1;
  max-width: 220px;
  min-height: 46px;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--os-border-strong);
  background: rgba(15, 23, 42, 0.9);
  color: var(--gold-light);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.os-sticky-link i {
  width: 16px;
  height: 16px;
}

/* ============================================================
   RESPONSIVE (Tablet+ and Desktop)
============================================================ */
@media (min-width: 640px) {
  .os-hero-title {
    font-size: 2.3rem;
  }

  .os-hero-ctas {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .os-wizard-actions,
  .os-section-inline-ctas,
  .os-final-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .os-wizard-actions .os-cta-btn,
  .os-section-inline-ctas .os-cta-btn,
  .os-final-buttons .os-cta-btn {
    width: auto;
  }

  .os-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-catalog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-budget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .os-hero-inner {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
    gap: 2.2rem;
  }

  .os-hero-media-card img {
    height: 320px;
  }

  .os-section-title {
    font-size: 1.85rem;
  }

  .os-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-form-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .os-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-section-cta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .os-wizard-top {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .os-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .os-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Step 4 summary feels nicer with more space on desktop */
  .os-summary {
    position: sticky;
    top: 110px; /* safe under sticky header if you have one */
  }
}

/* ============================================================
   MOBILE ONLY
============================================================ */
@media (max-width: 640px) {
  /* Ensure sticky CTA doesn't overlap the last section on small screens */
  .os-page-shell {
    padding-bottom: 78px;
  }

  .os-sticky-cta {
    display: flex;
  }

  .os-step-pill {
    flex: 1;
    justify-content: center;
  }
}

/* ============================================================
   REDUCED MOTION (accessibility)
============================================================ */
@media (prefers-reduced-motion: reduce) {
  .os-cta-btn,
  .os-service-card,
  .os-check,
  .os-step-pill,
  .os-wizard-bar {
    transition: none !important;
  }

  .os-service-card:hover,
  .os-cta-btn:hover,
  .os-check:hover,
  .os-step-pill:hover {
    transform: none !important;
  }
}
