/* ===========================
   Light Theme (Navy) — Dorian’s Auto Spa
   Mantiene tus clases y HTML tal cual.
=========================== */
:root{
  /* Paleta clara con azul marino */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --text: #0f172a;           /* navy-900 */
  --muted: #475569;          /* slate-600 */
  --brand: #0b3b63;          /* navy */
  --brand-600: #0a3356;      /* navy oscuro */
  --brand-200: #e6eff7;      /* fondo suave */
  --accent: #1e90ff;         /* azul vivo para precios/llamados */
  --border: rgba(2, 6, 23, 0.08);

  --radius-lg: 16px; --radius-md: 12px; --radius-sm: 10px;
  --shadow-1: 0 8px 24px rgba(2, 6, 23, 0.08);
  --shadow-2: 0 14px 32px rgba(2, 6, 23, 0.12);

  --container: 1240px; --gap: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ===========================
   Base
=========================== */
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Gill Sans", "Gill Sans MT","Trebuchet MS", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
}

/* ===========================
   Sección principal
=========================== */
.cuarto{
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px 18px 36px;
  text-align: center;
  background: var(--bg);
}

.cuarto h2{
  font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.3rem);
  font-weight: 900;
  letter-spacing: .2px;
  margin: 0 0 12px;
  color: var(--brand);
}

.content{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
  background: transparent;
}
.show{ opacity: 1; transform: translateY(0); }

/* ===========================
   Grid de vehículos (visual-list)
=========================== */
.visual-list{
  display: grid;
  grid-template-columns: repeat(1, minmax(220px, 1fr));
  gap: 18px;
  justify-items: center;
  margin: 14px 0 22px;
  padding: 0;
}
@media (min-width: 560px){ .visual-list{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px){ .visual-list{ grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px){ .visual-list{ grid-template-columns: repeat(6, 1fr); } }

.visual-item{
  position: relative;
  width: 100%;
  max-width: 180px;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  cursor: pointer;
}
.visual-item:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: rgba(11, 59, 99, .22);
  background: linear-gradient(180deg, #ffffff 0%, #eef3f9 100%);
}

.visual-item img{
  width: 100%;
  height: 60%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .3s ease;
}
.visual-item:hover img{ transform: scale(1.04); filter: brightness(0.96); }

.visual-item p{
  margin: 0;
  padding: 10px 10px 0;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

/* halo suave */
.visual-item::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background: radial-gradient(600px 220px at 12% 0%, rgba(30,144,255,.10), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.visual-item:hover::before{ opacity: 1; }

/* ===========================
   Contenedor de productos (por grupo)
=========================== */
.todopromocion{
  display: block;
  margin-top: 16px;
  text-align: center;
}

/* grid interno por grupo (#basic/#medio/…) */
#basic, #medio, #minivan, #pickup, #grande, #driway{
  display: grid;
  grid-template-columns: repeat(1, minmax(260px, 1fr));
  gap: 16px;
  justify-items: center;
  margin: 8px 0 10px;
}
@media (min-width: 680px){
  #basic, #medio, #minivan, #pickup, #grande, #driway{
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}
@media (min-width: 1080px){
  #basic, #medio, #minivan, #pickup, #grande, #driway{
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

/* ===========================
   Card de producto/paquete
=========================== */
/* por defecto ocultas; tu JS las muestra según el vehículo */
.productos{
  width: 100%;
  max-width: 360px;
  min-height: 420px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: none;
  margin: 4px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  background: #fff;
  text-align: left;
}

.informacion{
  display: block;
  text-align: left;
  padding: 16px 16px 0;
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--text);
}
.informacion p{ margin:0; }

.costo{
  display: block;
  text-align: left;
  color: var(--accent);
  font-size: 1.22rem;
  font-weight: 900;
  margin: 6px 16px 0;
}

.tiempo{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  margin: 10px 16px;
  font-size: .96rem;
}
.reloj{ width: 20px; height: 20px; object-fit: contain; }

.servicio{
  display: block;
  color: #0f172a;
  margin: 6px 16px 14px;
  line-height: 1.55;
  font-size: .98rem;
}
.servicio ul{ margin: 8px 0 0 18px; }
.servicio li{ margin: 6px 0; }

/* ===========================
   Botón Appointment (CTA)
=========================== */
.appointment{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-600) 100%);
  font-size: 15px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,.04);
  margin: 0 16px 18px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(11,59,99,.20);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.appointment:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(11,59,99,.26);
  filter: saturate(1.05);
}

/* ===========================
   Chips / Badges (opcional)
=========================== */
.badge{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--brand);
  background: var(--brand-200);
  border: 1px solid rgba(11,59,99,.15);
}

/* ===========================
   Ajustes y accesibilidad
=========================== */
a{ color: inherit; }
img{ max-width: 100%; height: auto; display: block; }

:focus-visible{
  outline: 3px solid rgba(30,144,255,.55);
  outline-offset: 3px;
  border-radius: 10px;
}

/* Driveway: descripción y precio */
.descripcion p{
  color: var(--muted);
  margin: 8px 16px 0;
}
.precio-promocion{
  color: var(--accent);
  font-weight: 900;
}

/* Estados para cuando quieras mostrar 3 opciones extra (si las agregas) */
.plan-options{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 10px;
  margin: 0 16px 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  background: var(--brand-200);
  border: 1px dashed rgba(11,59,99,.18);
  border-radius: 12px;
  padding: 0 10px;
}
@media (min-width: 560px){
  .plan-options{ grid-template-columns: repeat(3, 1fr); }
}
.productos.is-active .plan-options{
  max-height: 320px;
  opacity: 1;
  padding: 10px;
}
.option-btn{
  border: 1px solid rgba(11,59,99,.2);
  background: #fff;
  color: var(--text);
  padding: 10px 10px;
  text-align: center;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.option-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(30,144,255,.35);
  background: #f8fbff;
}
.option-btn.is-selected{
  background: linear-gradient(180deg, #eef6ff 0%, #fff 100%);
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(30,144,255,.18);
}

/* Responsive fino */
@media (max-width: 420px){
  .visual-item{ height: 208px; }
  .productos{ max-width: 100%; }
  .appointment{ width: auto; min-width: 60%; }
}


/* ===== Footer (light navy theme) ===== */
:root{
  --footer-bg: #121a27;       /* navy muy oscuro */
  --footer-text: #e8eef8;     /* texto claro */
  --footer-muted: #9fb0c7;    /* texto secundario */
  --footer-border: rgba(255,255,255,0.08);
}

.site-footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 40px;
}

.footer-container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 880px){
  .footer-container{
    grid-template-columns: 1.2fr 1fr 1.2fr; /* 3 columnas */
    align-items: start;
  }
}

.footer-col h3{
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 0.8rem + 1vw, 1.6rem);
  font-weight: 900;
}

.footer-col .muted{
  color: var(--footer-muted);
  margin: 0 0 16px;
}

/* Redes */
.social-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  gap: 16px;
}
.social-list a{
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  border: 1px solid var(--footer-border);
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.social-list a:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
}
.social-list i{ font-size: 18px; }

/* Info (Email / Phone) */
.info-block{
  margin: 10px 0 18px;
}
.label{
  display:block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--footer-text);
  margin-bottom: 6px;
}
.value a{
  color: var(--footer-muted);
  text-decoration: none;
}
.value a:hover{ color: #ffffff; }

/* Form */
.input-row{
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  padding: 0 12px;
  display: flex;
  align-items: center;
}
.input-row input{
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 12px 0;
  font-size: 0.98rem;
}
.input-row input::placeholder{ color: rgba(255,255,255,0.65); }

.footer-btn{
  margin-top: 12px;
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--brand, #0b3b63) 0%, var(--brand-600, #0a3356) 100%);
  box-shadow: 0 10px 22px rgba(11,59,99,.25);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.footer-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(11,59,99,.34);
}

/* Bottom line */
.footer-bottom{
  border-top: 1px solid var(--footer-border);
  padding: 16px 18px 26px;
  text-align: left;
  color: var(--footer-muted);
}
.footer-bottom p{
  max-width: 1240px;
  margin: 0 auto;
}




/*estilos para la session  faqs*/



/* ===== FAQs Section (light navy) ===== */
.faq-section{
  max-width: var(--container, 1240px);
  margin: 0 auto;
  padding: 32px 18px 48px;
  background: var(--bg, #fff);
  color: var(--text, #0f172a);
}

.faq-header h2{
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 14px;
  color: var(--brand, #0b3b63);
}

/* Grid principal: 2 columnas en desktop */
.faq-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 48px;
  align-items: start;
}
@media (min-width: 900px){
  .faq-grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* Ítems (details/summary) = acordeón accesible */
.faq-item{
  border: 1px solid var(--border, rgba(2,6,23,.08));
  border-radius: 12px;
  background: #fff;
  padding: 0;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
  transition: box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
  margin-bottom: 16px;
}
.faq-item[open]{
  box-shadow: 0 12px 24px rgba(2,6,23,.10);
  border-color: rgba(11,59,99,.18);
}

.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 1.05rem;
  position: relative;
  outline: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }

/* caret */
.faq-item summary::after{
  content: "▸";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .25s ease;
  color: var(--brand, #0b3b63);
  font-weight: 900;
}
.faq-item[open] summary::after{
  transform: translateY(-50%) rotate(90deg);
}

.faq-item p{
  margin: 0;
  padding: 0 18px 16px 18px;
  color: var(--muted, #475569);
  line-height: 1.6;
}

/* Imagen lateral opcional */
.faq-image{
  margin: 30px 0 0;
  display: none; /* oculto en mobile */
}
.faq-image img{
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(2,6,23,.18);
}
@media (min-width: 1200px){
  .faq-image{
    display: block;
    position: absolute;
    right: max(24px, calc((100vw - var(--container, 1240px))/2));
    /* coloca la imagen a la derecha del grid */
  }
  .faq-section{ position: relative; }
}

/* Focus accesible */
.faq-item summary:focus-visible{
  outline: 3px solid rgba(30,144,255,.45);
  outline-offset: 4px;
  border-radius: 8px;
}


/* estilos   para el header css */

/* ===== Header (solo logo + hamburguesa) ===== */
:root{
  --nav-h: 72px;
  --nav-text: #0f172a;
  --nav-border: rgba(2,6,23,.08);
}

.nav{
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--nav-border);
}
.nav-wrap{
  max-width: 1240px; margin: 0 auto;
  height: var(--nav-h);
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 1fr;   /* logo | espacio */
  align-items: center; gap: 12px;
}
.nav-logo img{ height: 40px; width: auto; display: block; }

/* Botón hamburguesa SIEMPRE visible y a la derecha */
.nav-toggle{
  justify-self: end;            /* lo manda a la derecha */
  display: block;               /* siempre visible en desktop y móvil */
  border: 0; background: transparent;
  font-size: 28px; line-height: 1; cursor: pointer;
  color: var(--nav-text);
}

/* Menú oculto por defecto; aparece como overlay al abrir */
.nav-menu{
  position: fixed;
  inset: var(--nav-h) 0 auto 0; /* debajo del header */
  background: #fff;
  border-top: 1px solid var(--nav-border);
  display: none;                /* oculto hasta .show */
  flex-direction: column;
  gap: 0;
  padding: 8px 12px;
  box-shadow: 0 20px 40px rgba(2,6,23,.08);
}
.nav-menu.show{ display: flex; }

.nav-link{
  position: relative;
  text-decoration: none;
  color: var(--nav-text);
  font-weight: 600;
  padding: 14px 10px;
  border-radius: 10px;
}
.nav-link:hover{ background: #f6f8fb; }

/* Subrayado solo para estado activo (sin animación en overlay) */
.nav-link.is-active{
  box-shadow: inset 0 -2px 0 #111;
}

/* Anclas con margen bajo header */
[id]{ scroll-margin-top: calc(var(--nav-h) + 12px); }










/*estilos de los logo de los iconos de x facebook etc*/



.social{
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;     /* ✅ fondo circular */
  overflow: hidden;       /* ✅ asegura círculo */
  background: #f1f5f9;    /* opcional: gris suave */
  transition: background .2s ease, transform .2s ease;
}

.social li a:hover {
  background: #e2e8f0;    /* hover */
  transform: scale(1.05);
}

.social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform .2s ease, opacity .2s ease;
}

.social img:hover {
  transform: scale(1.12);
  opacity: .9;
}

