/* ==========================================================================
   portatilreparado.com — hoja de estilos principal
   ========================================================================== */

:root {
  --navy: #0f3557;
  --navy-dark: #0a2540;
  --blue: #1f6fb2;
  --blue-light: #4fa3d9;
  --green: #5fb544;
  --green-dark: #4a9435;
  --orange: #f5a623;
  --bg: #f5f8fb;
  --surface: #ffffff;
  --border: #dfe7ef;
  --text: #16232f;
  --text-muted: #55677a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(15, 53, 87, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(15, 53, 87, 0.18);
  --container: 1180px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-navy { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #b9c9d9; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(31, 111, 178, .1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(95, 181, 68, .55);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 5px;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-word {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-word span { color: var(--green); }
.brand-word small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .1em; color: var(--text-muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 22px; flex-shrink: 1; min-width: 0; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .9rem;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav .mobile-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: .92rem; white-space: nowrap; flex-shrink: 0; }
.header-phone svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; width: 20px; height: 2px; background: var(--navy); }
.nav-toggle span::after { position: absolute; top: 6px; width: 20px; height: 2px; background: var(--navy); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto -10%;
  height: 640px;
  background: radial-gradient(ellipse at 30% 20%, rgba(31,111,178,.12), transparent 60%),
              radial-gradient(ellipse at 80% 10%, rgba(95,181,68,.12), transparent 55%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 100px; font-size: .82rem; font-weight: 600;
  color: var(--navy); box-shadow: var(--shadow-sm);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub { font-size: 1.1rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 26px; }
.hero-microcopy { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--text-muted); }
.hero-microcopy svg { width: 16px; height: 16px; color: var(--orange); }

.hero-visual {
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}
.hero-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,178,.28), rgba(95,181,68,.14) 55%, transparent 72%);
  filter: blur(10px);
  transition: transform .25s ease-out;
  z-index: 0;
}
.hero-laptop-wrap {
  position: relative; z-index: 2;
  animation: floatY 5s ease-in-out infinite;
  transform-style: preserve-3d;
}
.hero-laptop {
  width: min(480px, 90%);
  filter: drop-shadow(0 35px 40px rgba(10, 37, 64, .35));
  transition: transform .12s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.floating-icon {
  position: absolute;
  width: 54px; height: 54px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: transform .18s ease-out;
}
.floating-icon svg { width: 26px; height: 26px; }
.icon-wrench { top: 6%; left: 2%; color: var(--blue); animation: bob 4.5s ease-in-out infinite; }
.icon-screwdriver { bottom: 12%; left: -2%; color: var(--orange); animation: bob 5.5s ease-in-out infinite 1s; }
.icon-chip { top: 12%; right: 0%; color: var(--green); animation: bob 5s ease-in-out infinite .5s; }
.icon-shield { bottom: 6%; right: 4%; color: var(--navy); animation: bob 6s ease-in-out infinite 1.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.floating-badge {
  position: absolute;
  bottom: 16%; left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 7px;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: pop 3s ease-in-out infinite;
}
.floating-badge svg { width: 14px; height: 14px; color: var(--green); }
@keyframes pop { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.05); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); padding: 22px 0; }
.trust-strip ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.trust-strip li { display: flex; align-items: center; gap: 10px; color: #dce8f2; font-size: .88rem; font-weight: 600; }
.trust-strip svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; }

/* ---------- Grids genéricos ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Servicios ---------- */
.services-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.service-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.service-panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.service-panel-head .icon-badge { background: var(--blue); }
.service-panel.mac .icon-badge { background: var(--navy); }
.icon-badge {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; }
.service-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: .95rem;
  color: var(--text);
}
.service-list li:last-child { border-bottom: none; }
.service-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.not-repair-box {
  background: #fff6ea;
  border: 1px solid #f3d9ab;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: flex-start;
}
.not-repair-box .icon-badge { background: var(--orange); }
.not-repair-box h3 { margin-bottom: 10px; }
.not-repair-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px; margin-top: 10px; }
.not-repair-grid li { font-size: .92rem; color: var(--text); display: flex; gap: 8px; }
.not-repair-grid li::before { content: '✕'; color: #c0392b; font-weight: 700; }
.not-repair-note { font-size: .88rem; margin-top: 14px; color: var(--text-muted); }

/* ---------- Proceso ---------- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 24px; border: 1px solid var(--border); }
.process-step .step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-family: 'Poppins', sans-serif;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: .9rem; margin: 0; }
.process-arrow { display: none; }

/* ---------- Marcas ---------- */
.brand-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
}

/* ---------- Cobertura ciudades ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px 16px;
  margin-top: 10px;
}
.city-grid span { font-size: .88rem; color: #cddcea; }
.coverage-note {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .92rem;
  color: #dce8f2;
}
.coverage-note svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; }

/* ---------- Tarjetas dobles (remoto / envíos) ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card .icon-badge { margin-bottom: 18px; width: 52px; height: 52px; border-radius: 14px; }
.feature-card .icon-badge svg { width: 26px; height: 26px; }
.feature-card.remote .icon-badge { background: var(--blue); }
.feature-card.shipping .icon-badge { background: var(--green); }
.feature-price { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); margin: 6px 0 4px; }
.feature-price small { font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.feature-card ul { margin: 16px 0 22px; }
.feature-card ul li { display: flex; gap: 8px; font-size: .92rem; padding: 6px 0; color: var(--text); }
.feature-card ul li svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.feature-card .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1rem; color: var(--navy);
}
.faq-q svg { width: 20px; height: 20px; color: var(--blue); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 0 20px; margin: 0; font-size: .95rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: 90px 0; }
.cta-final h2 { color: #fff; }
.cta-final .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c9d9; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: .9rem; }
.footer-grid ul li a { color: #b9c9d9; }
.footer-grid ul li a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { background: rgba(255,255,255,.08); }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word small { color: #7d93a8; }
.footer-note { font-size: .85rem; color: #7d93a8; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: #7d93a8;
}
.footer-bottom a { color: #7d93a8; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Botón flotante Telegram ---------- */
.float-actions {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #2AABEE; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(42,171,238,.6);
  transition: transform .18s ease;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 28px; height: 28px; }
.float-btn.call { background: var(--green); box-shadow: 0 10px 24px -6px rgba(95,181,68,.6); }

/* ---------- Page header (páginas internas) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; padding: 70px 0 60px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #cddcea; max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; color: #9fb6c8; margin-bottom: 16px; }
.breadcrumb a { color: #9fb6c8; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Bloques de contenido genérico (envíos / remoto) ---------- */
.content-block { max-width: 820px; margin: 0 auto; }
.content-block h2 { margin-top: 46px; }
.content-block h2:first-child { margin-top: 0; }
.step-list { counter-reset: pkg; margin: 24px 0; }
.step-list li {
  position: relative; padding: 18px 0 18px 56px; border-bottom: 1px solid var(--border);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  counter-increment: pkg; content: counter(pkg);
  position: absolute; left: 0; top: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center;
}
.step-list h4 { margin: 0 0 6px; color: var(--navy); font-size: 1.02rem; }
.step-list p { margin: 0; font-size: .94rem; }

.warning-box {
  background: #fdeceb;
  border: 1px solid #f3b8b3;
  border-left: 5px solid #c0392b;
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 30px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.warning-box svg { width: 28px; height: 28px; color: #c0392b; flex-shrink: 0; }
.warning-box h4 { color: #a93226; margin: 0 0 6px; }
.warning-box p { margin: 0; font-size: .93rem; color: #6b2c26; }

.tip-box {
  background: #eef8ec;
  border: 1px solid #c7e8bd;
  border-left: 5px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 30px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.tip-box svg { width: 26px; height: 26px; color: var(--green); flex-shrink: 0; }
.tip-box h4 { color: var(--green-dark); margin: 0 0 6px; }
.tip-box p { margin: 0; font-size: .93rem; }

.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; margin: 20px 0; }
.checklist-grid li { display: flex; gap: 10px; font-size: .93rem; align-items: flex-start; }
.checklist-grid.good li::before { content: '✓'; color: var(--green); font-weight: 800; }
.checklist-grid.bad li::before { content: '✕'; color: #c0392b; font-weight: 800; }

/* ---------- Diagnóstico remoto: cómo funciona ---------- */
.remote-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0; }
.remote-flow .flow-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; text-align: center; }
.remote-flow .icon-badge { margin: 0 auto 14px; background: var(--blue); }
.price-hero {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 34px; box-shadow: var(--shadow-sm); margin: 20px 0;
}
.price-hero .amount { font-family: 'Poppins', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--navy); }
.price-hero .vat { color: var(--text-muted); font-size: 1rem; }

/* ---------- Formulario multi-paso ---------- */
.wizard { max-width: 760px; margin: 0 auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.wizard-progress { display: flex; background: var(--bg); padding: 26px 32px 0; }
.wizard-progress .p-step { flex: 1; text-align: center; position: relative; }
.wizard-progress .p-step .dot {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-weight: 700; color: var(--text-muted);
  font-family: 'Poppins', sans-serif; font-size: .9rem; transition: all .2s ease; position: relative; z-index: 2;
}
.wizard-progress .p-step .label { font-size: .72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.wizard-progress .p-step::before {
  content: ''; position: absolute; top: 17px; left: -50%; width: 100%; height: 2px; background: var(--border); z-index: 1;
}
.wizard-progress .p-step:first-child::before { display: none; }
.wizard-progress .p-step.active .dot, .wizard-progress .p-step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.wizard-progress .p-step.active .label, .wizard-progress .p-step.done .label { color: var(--navy); }
.wizard-progress .p-step.done::before, .wizard-progress .p-step.active::before { background: var(--green); }
.wizard-body { padding: 40px; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.form-group .hint { font-size: .78rem; color: var(--text-muted); margin-top: 5px; }
.form-control {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: .95rem; font-family: inherit; background: #fbfdfe; transition: border-color .15s ease;
}
.form-control:focus { outline: none; border-color: var(--blue); background: #fff; }
textarea.form-control { resize: vertical; min-height: 110px; }

.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
.symptom-chip { position: relative; }
.symptom-chip input { position: absolute; opacity: 0; }
.symptom-chip label {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; font-weight: 500;
  cursor: pointer; color: var(--text); transition: all .15s ease;
}
.symptom-chip input:checked + label { border-color: var(--green); background: #eef8ec; color: var(--navy); font-weight: 600; }

.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 36px 20px; text-align: center;
  background: #fbfdfe; cursor: pointer; transition: border-color .15s ease;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--blue); }
.upload-zone svg { width: 38px; height: 38px; color: var(--blue); margin-bottom: 10px; }
.upload-zone p { margin: 0; font-size: .92rem; }
.upload-zone .hint { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
#fileInput { display: none; }
.file-preview-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.file-chip {
  display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 14px; font-size: .82rem; color: var(--navy);
}
.file-chip button { background: none; border: none; color: #c0392b; font-weight: 700; font-size: 1rem; line-height: 1; }

.checkbox-line { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); margin-bottom: 16px; }
.checkbox-line input { margin-top: 4px; }

.summary-box { background: var(--bg); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 24px; }
.summary-box dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 14px; margin: 0; }
.summary-box dt { font-size: .82rem; color: var(--text-muted); font-weight: 600; }
.summary-box dd { margin: 0; font-size: .92rem; color: var(--navy); font-weight: 500; }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; padding: 0 40px 36px; }
.wizard-nav .spacer { flex: 1; }

.success-box { text-align: center; padding: 30px 10px; }
.success-box .check-circle {
  width: 76px; height: 76px; border-radius: 50%; background: #eef8ec; color: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.success-box .check-circle svg { width: 38px; height: 38px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-columns, .grid-2, .grid-3, .remote-flow { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .not-repair-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 10px; }
  .header-actions .btn-primary { padding: 11px 16px; font-size: .85rem; }
  .main-nav .mobile-cta { display: inline-flex; margin-top: 6px; }
  .site-header.nav-open .main-nav {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
}
@media (max-width: 720px) {
  .trust-strip ul { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row, .symptom-grid, .checklist-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-body, .wizard-nav { padding-left: 22px; padding-right: 22px; }
  .wizard-progress { padding: 20px 16px 0; }
  .wizard-progress .label { display: none; }
  .summary-box dl { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .header-actions .btn-primary { display: none; }
}
