/* =========================================================
   LAVADERO LOS AROMOS — style.css
   =========================================================
   PALETA DE COLORES
   -------------------------------------------------------
   Negro + celeste tomados directamente del isotipo real
   ("LA" — ver assets/img/logo.png). Todo el sitio consume
   estas variables, así que cualquier ajuste de marca se hace
   editando solo este bloque (:root).
   ========================================================= */

:root {
  /* Fondo — negro tomado directamente del isotipo */
  --color-bg: #0a0c0f;              /* fondo principal (negro, premium) */
  --color-bg-alt: #12151a;          /* fondo secundario / secciones alternas */
  --color-surface: #171b21;         /* tarjetas, paneles */
  --color-surface-alt: #1d222a;     /* tarjetas sobre fondo alterno */

  /* Texto */
  --color-text: #f4f6f8;            /* texto principal sobre fondo oscuro */
  --color-text-muted: #aab2bd;      /* texto secundario */
  --color-text-inverse: #0a0c0f;    /* texto sobre superficies claras/acento */

  /* Acento — celeste/azul tomado del isotipo "LA" */
  --color-accent: #19a7e0;          /* elementos destacados, links, iconos */
  --color-accent-strong: #4fc3ec;   /* hover de acento */
  --color-accent-soft: rgba(25, 167, 224, 0.14);

  /* Botones */
  --color-btn-bg: #19a7e0;
  --color-btn-bg-hover: #4fc3ec;
  --color-btn-text: #0a0c0f;

  --color-btn-secondary-border: rgba(244, 246, 248, 0.28);
  --color-btn-secondary-text: #f4f6f8;

  /* WhatsApp (se mantiene reconocible, integrado a la paleta) */
  --color-whatsapp: #4caf6a;
  --color-whatsapp-hover: #5fc47d;

  /* Bordes / detalles */
  --color-border: rgba(244, 246, 248, 0.10);
  --color-border-strong: rgba(244, 246, 248, 0.18);

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);

  /* Tipografía */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container-max: 1180px;
  --header-height: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
}

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--color-text-muted); }

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

section { padding: 88px 0; }

@media (max-width: 640px) {
  section { padding: 64px 0; }
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
}

/* Focus visibility (accesibilidad) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-btn-bg);
  color: var(--color-btn-text);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-btn-bg-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-btn-secondary-text);
  border-color: var(--color-btn-secondary-border);
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  box-shadow: var(--shadow-md);
}

/* Variante "fantasma" — para cuando WhatsApp acompaña a un CTA principal
   (Hero, CTA final) y no debe competir visualmente con él. */
.btn-whatsapp-ghost {
  background: transparent;
  color: var(--color-whatsapp-hover);
  border-color: rgba(76, 175, 106, 0.4);
}
.btn-whatsapp-ghost:hover {
  background: rgba(76, 175, 106, 0.1);
  border-color: var(--color-whatsapp-hover);
  color: var(--color-whatsapp-hover);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.02rem;
}

.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(15, 18, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--color-text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav-desktop a:hover { color: var(--color-text); }

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease);
}

.nav-desktop a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.header-actions-top .btn-secondary {
  display: none;
}

/* En mobile/tablet el header queda solo con marca + hamburguesa;
   el WhatsApp del top bar reaparece en desktop (hay botón flotante
   y CTA en el menú mobile para esos tamaños). */
.header-actions-top {
  display: none;
}

/* Botón hamburguesa */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú mobile desplegable */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 20px 24px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 999;
}

.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-mobile ul { display: flex; flex-direction: column; }

.nav-mobile a {
  display: block;
  padding: 14px 4px;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.nav-mobile .header-actions {
  margin-top: 16px;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .nav-toggle, .nav-mobile { display: none; }
  .header-actions-top .btn-secondary { display: inline-flex; }
  .header-actions-top { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  background:
    radial-gradient(ellipse at top right, rgba(25, 167, 224, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-bg) 0%, #0c0e0c 100%);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-content { max-width: 620px; }

.hero-content .eyebrow { color: var(--color-accent); }

.hero-content h1 {
  font-size: clamp(2.35rem, 7vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content .lede {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero-highlight svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-visual {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero .container {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .hero-visual {
    height: 520px;
    aspect-ratio: auto;
    box-shadow: var(--shadow-lg);
  }
}

/* =========================================================
   SERVICIOS
   ========================================================= */
.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0 32px 36px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.service-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.service-card.is-featured {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, var(--color-accent-soft), var(--color-surface) 40%);
  position: relative;
}

.service-card-media {
  position: relative;
  margin: -1px -33px 28px;
  aspect-ratio: 16 / 8;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 15, 0) 45%, var(--color-surface) 100%);
}

.service-card.is-featured .service-card-media::after {
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.05) 40%, var(--color-accent-soft) 85%, var(--color-surface) 100%);
}

.service-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  background: var(--color-accent);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.service-card .service-desc {
  margin-bottom: 10px;
}

.service-highlight {
  font-size: 0.98rem;
  color: var(--color-text);
  background: var(--color-accent-soft);
  border-left: 2px solid var(--color-accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.service-highlight strong { color: var(--color-accent-strong); }

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--color-text);
}

.service-card li svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-bottom: 0;
}

.price-disclaimer {
  text-align: center;
  max-width: 560px;
  margin: 36px auto 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* =========================================================
   CONFIGURADOR / FLUJO DE CONSULTA
   ========================================================= */
.configurator {
  margin-top: 64px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 720px) {
  .configurator { padding: 48px 56px; }
}

.configurator-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

.configurator-header h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

/* Progreso del wizard */
.wizard-progress {
  margin-bottom: 32px;
}

.wizard-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.wizard-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.wizard-dot-line {
  width: 18px;
  height: 2px;
  background: var(--color-border-strong);
  flex-shrink: 0;
  transition: background-color 0.25s var(--ease);
}

.wizard-dot.is-current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
  transform: scale(1.15);
}

.wizard-dot.is-done {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.wizard-dot-line.is-done { background: var(--color-accent); }

.wizard-step-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0;
}

/* Pasos */
.wizard-step {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.wizard-step.is-entering {
  opacity: 0;
  transform: translateY(10px);
}

.wizard-question {
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.wizard-step-hint {
  text-align: center;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.wizard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.wizard-nav .wizard-next,
.wizard-nav #configuratorWaBtn {
  margin-left: auto;
}

.wizard-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.wizard-note svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 1px;
}

.wizard-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 560px) {
  .wizard-nav { flex-direction: column-reverse; align-items: stretch; }
  .wizard-nav .wizard-next,
  .wizard-nav .wizard-back,
  .wizard-nav #configuratorWaBtn {
    margin-left: 0;
    width: 100%;
  }
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.option-grid[hidden] { display: none; }

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px 16px 18px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.option-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.option-card svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: color 0.2s var(--ease);
}

.option-card-emoji {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.option-card[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.option-card[aria-pressed="true"] svg { color: var(--color-accent); }

/* Variante con subtítulo (paso Servicio) */
.option-card.has-subtext {
  align-items: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}

.option-card.has-subtext svg { margin-top: 2px; }

.option-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.option-card-text strong {
  font-size: 0.96rem;
  font-weight: 600;
}

.option-card-text small {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.option-card[aria-pressed="true"]::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230a0c0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/9px no-repeat;
}

.date-picker-wrap {
  margin-top: 14px;
}

.date-picker-wrap[hidden] { display: none; }

.date-picker-wrap input[type="date"] {
  width: 100%;
  max-width: 280px;
  padding: 13px 16px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.95rem;
  font-family: inherit;
  color-scheme: dark;
}

/* Paso Vehículo — campo de texto libre + detección de categoría */
.vehicle-input-wrap {
  margin-bottom: 8px;
}

.vehicle-input {
  width: 100%;
  padding: 15px 18px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease);
}

.vehicle-input::placeholder { color: var(--color-text-muted); }

.vehicle-input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.vehicle-category-detect {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-md);
}

.vehicle-category-detect[hidden] { display: none; }

.vehicle-category-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
}

.vehicle-category-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

#categoryGrid { margin-top: 16px; }

/* Resumen final (paso 5) */
.wizard-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.wizard-summary-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.wizard-summary-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.wizard-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.wizard-summary-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.wizard-summary-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  overflow-wrap: break-word;
}

.wizard-edit {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 4px;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.wizard-edit:hover { color: var(--color-accent-strong); text-decoration: underline; }

/* =========================================================
   SERVICIOS ESPECIALES
   ========================================================= */
.specials-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .specials-grid { grid-template-columns: 1fr 1fr; }
}

.special-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.special-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.special-card h3 { font-size: 1.25rem; margin-bottom: 0; }

.special-card .special-note {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.special-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.special-card ul li::before {
  content: '— ';
  color: var(--color-accent);
}

.special-card .btn { margin-top: auto; align-self: flex-start; }

/* =========================================================
   TRABAJOS — Comparador antes/después
   ========================================================= */
.works-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}

.work-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider .ba-after {
  z-index: 1;
}

.ba-slider .ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  top: 12px;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 18, 16, 0.65);
  color: #fff;
  backdrop-filter: blur(4px);
}

.ba-label.ba-label-before { left: 12px; }
.ba-label.ba-label-after { right: 12px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230f1210' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='8 7 3 12 8 17'%3E%3C/polyline%3E%3Cpolyline points='16 7 21 12 16 17'%3E%3C/polyline%3E%3C/svg%3E") center/22px no-repeat;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.work-caption {
  padding: 18px 20px;
}

.work-caption h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.work-caption p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.works-more-note {
  text-align: center;
  margin-top: 40px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* =========================================================
   NOSOTROS
   ========================================================= */
.about-wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-wrap { grid-template-columns: 0.9fr 1.1fr; }
}

.about-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-points {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .about-points { grid-template-columns: 1fr 1fr; }
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-point svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-point h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.about-point p { font-size: 0.88rem; margin-bottom: 0; }

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location-wrap {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .location-wrap { grid-template-columns: 1fr 1.2fr; }
}

.location-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.location-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-item h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.location-item p { font-size: 0.9rem; margin-bottom: 0; }

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

/* =========================================================
   INSTAGRAM STRIP
   ========================================================= */
.instagram-strip {
  padding: 56px 0;
}

.instagram-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 44px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.instagram-card svg {
  width: 34px;
  height: 34px;
  color: var(--color-accent);
}

.instagram-card h3 { font-size: 1.3rem; margin-bottom: 0; }
.instagram-card p { margin-bottom: 8px; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.final-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg));
}

.final-cta h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  max-width: 680px;
  margin: 0 auto 14px;
}

.final-cta p {
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 1.02rem;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 720px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-text);
}

.footer-brand img { height: 30px; }

.footer-tagline {
  font-size: 0.88rem;
  margin-top: 8px;
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (min-width: 720px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP (mobile-friendly)
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.whatsapp-float:hover {
  background: var(--color-whatsapp-hover);
  transform: scale(1.06);
}

.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }

/* =========================================================
   REVEAL ANIMATIONS (fade-in sutil)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

/* Stagger sutil dentro de grillas — refuerza que las cards pertenecen
   al mismo sistema sin que la animación se sienta repetitiva. */
.services-grid > .reveal:nth-child(2),
.specials-grid > .reveal:nth-child(2),
.about-points > .reveal:nth-child(2),
.about-points > .reveal:nth-child(4) {
  transition-delay: 0.08s;
}

.about-points > .reveal:nth-child(3) {
  transition-delay: 0.04s;
}

.works-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.works-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

/* =========================================================
   UTILIDADES
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2000;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 12px; }
