:root {
  --brand: #e1112b;
  --brand-dark: #b70d23;
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --ok: #16a34a;
  --warn: #f59e0b;
  --err: #dc2626;
}

/* RESET BÁSICO */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* CONTENEDOR GENERAL */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 56px 0;
}

/* HEADER + NAV */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #e1112b;      /* rojo VTO */
  color: #ffffff;
  border-bottom: 1px solid #eee;
}


header nav .links a {
  color: #ffffff;
  font-weight: 500;
}

header nav .links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}




nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

nav .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav img.logo {
  height: 70px;          /* logo más grande */
  width: auto;
}



.logo {
  height: 20px;          /* tamaño del logo */
  width: auto;
  background: #ffffff;   /* círculo blanco detrás */
  border-radius: 999px;
  padding: 4px;          /* espacio entre el logo y el borde blanco */
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}




nav a.brand {
  font-weight: 800;
  font-size: 18px;
  color: #111;
  text-decoration: none;
}

nav .links {
  display: flex;
  align-items: center;
  gap: 18px;
}



header nav .brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

header nav .brand:hover {
  opacity: 0.9;
}



nav .links a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 14px;
}

nav .links a:hover {
  color: var(--brand);
}

/* Menú móvil */
.menu-btn {
  background: #ffffff;
  color: #e1112b;
  border-radius: 999px;
  border: none;
  padding: 6px 14px;
  font-weight: 500;
}

.menu-btn:hover {
  background: #ffe4ea;
}


@media (max-width: 900px) {
  .menu-btn {
    display: inline-block;
  }
  nav .links {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid #eee;
    display: none;
    flex-direction: column;
    padding: 10px 16px 16px;
  }
  nav .links.open {
    display: flex;
  }
}

/* BOTONES GENERALES */
.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn.brand {
  background: var(--brand);
  color: #fff;
}

.btn.brand:hover {
  background: var(--brand-dark);
}

.btn.wa {
  background: #25D366;
  color: #fff;
}

/* HERO */
.hero {
  background: linear-gradient(90deg, #fff 0, #fff6f7 40%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  margin: 8px 0 10px;
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffe4e7;
  color: #b70d23;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero img.hero-img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

/* TÍTULOS DE SECCIÓN */
h2.section-title {
  margin: 0 0 6px;
  font-size: 26px;
}

p.section-subtitle {
  margin: 0 0 16px;
  color: var(--muted);
}

/* TARJETAS GENERALES */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin-top: 0;
}

/* CATÁLOGO */
#catalogo h1,
#catalogo h2 {
  margin-top: 0;
}

#filtros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

input[type="search"],
select {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font: inherit;
}

.status {
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fffdf7;
  color: var(--muted);
  font-size: 14px;
}

.status.ok {
  border-color: #c7f0cf;
  background: #f0fff3;
  color: #166534;
}

.status.err {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.status.info {
  background: #eef5ff;
  color: #30456b;
}

/* GRID DE PRODUCTOS (catálogo) */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* TARJETA DE PRODUCTO */
.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.product-card h3 {
  margin: 8px 0;
  font-size: 15px;
  text-transform: uppercase;
  color: #111;
}

.product-card .price {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
}

/* cuerpo de la tarjeta (para smartphones.html) */
.product-card .body,
.product-body {
  padding: 10px 12px 12px;
}

.product-card .actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.product-card .actions a {
  flex: 1;
  text-align: center;
  border-radius: 8px;
  padding: 7px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.product-card .actions a.buy {
  background: var(--brand);
  color: #fff;
}

.product-card .actions a.wa {
  background: #25D366;
  color: #fff;
}



/* Estado AGOTADO en catálogo */
.product-card.agotado {
  opacity: 0.75;
  cursor: not-allowed;
}

.product-card.agotado .price {
  color: var(--muted);
}

.product-card.agotado .slider {
  filter: grayscale(0.9);
}

/* Banda roja "AGOTADO" */
.product-card .badge-agotado {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  background: rgba(220, 38, 38, 0.95); /* basado en var(--err) */
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}


.product-specs {
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  white-space: pre-line; /* respeta saltos de línea pegados desde Sheets */
  font-size: 14px;
}



/* SLIDER DE FOTOS DEL PRODUCTO
   (adaptado a la estructura: .slider > .track > .slide > img + .dots > .dot)
*/
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 220px;             /* altura razonable, no gigante */
  background: #f5f5f5;
}

.slider .track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}

.slider .slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider .slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
}

/* puntos del slider */
.slider .dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.slider .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ddd;
  cursor: pointer;
}

.slider .dot.active {
  background: var(--brand);
}

/* SECCIÓN SEDES */
.sedes-filtros {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.chip {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.grid-sedes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.loc-card {
  border-radius: 18px;
  border: 1px solid #eee;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.03);
}

.loc-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.loc-body {
  padding: 14px;
}

.loc-sub {
  font-size: 13px;
  color: var(--muted);
}

.loc-time {
  font-size: 13px;
  margin: 6px 0;
  color: #555;
}

.map-btn {
  margin-top: 8px;
}

/* FOOTER */
footer {
  border-top: 1px solid #eee;
  padding: 24px 0 12px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-links a:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Página de contacto ===== */

.contact-hero{
  padding:60px 0 10px;
}

.contact-hero h1{
  margin-bottom:10px;
}

.contact-main{
  padding:10px 0 60px;
}

.contact-main h2{
  margin-bottom:4px;
}

.contact-address{
  color:var(--muted);
  margin-bottom:20px;
}

/* Dos columnas: formulario + mapa */
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:24px;
  align-items:stretch;
}

.contact-card{
  background:#fff;
  border-radius:16px;
  border:1px solid #eee;
  padding:20px;
  box-shadow:0 10px 30px rgba(15,23,42,.06);
}

/* Formulario */
.contact-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  font:inherit;
}

.contact-form textarea{
  min-height:140px;
  resize:vertical;
}

.contact-form .btn-full{
  width:100%;
  text-align:center;
  justify-content:center;
}

.contact-form small{
  color:var(--muted);
  font-size:.75rem;
}

/* Mapa */
.contact-map-card{
  padding:0;
  overflow:hidden;
}

.contact-map-card iframe{
  border:0;
  width:100%;
  height:100%;
  min-height:260px;
  border-radius:16px;
}

/* Responsivo */
@media (max-width:900px){
  .contact-grid{
    grid-template-columns:1fr;
  }
  .contact-map-card{
    min-height:260px;
    margin-top:8px;
  }
}

/* ===== Placeholder de páginas en construcción ===== */

.page-placeholder{
  min-height: calc(100vh - 180px); /* ocupa casi toda la pantalla sin pisar header/footer */
  display:flex;
  align-items:center;
  padding:60px 0;
  background:linear-gradient(135deg,#fff7f7,#ffffff);
}

.coming-soon .container{
  max-width:760px;
}

.coming-card{
  background:#fff;
  border-radius:24px;
  border:1px solid #f3f4f6;
  padding:32px 24px 28px;
  text-align:center;
  box-shadow:0 18px 40px rgba(15,23,42,.08);
}

.coming-pill{
  display:inline-block;
  padding:4px 12px;
  margin-bottom:14px;
  border-radius:999px;
  font-size:.75rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  background:rgba(229, 9, 20, .06);
  color:var(--brand);
  font-weight:600;
}

.coming-card h1{
  font-size:1.6rem;
  margin-bottom:10px;
}

.coming-card p{
  color:var(--muted);
  margin-bottom:18px;
}

.coming-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:10px;
  flex-wrap:wrap;
}

/* botón "fantasma" reutilizable */
.btn.ghost{
  background:transparent;
  color:var(--brand);
  border:1px solid rgba(0,0,0,.05);
}

.btn.ghost:hover{
  background:#f9fafb;
}

.coming-note{
  font-size:.8rem;
  color:var(--muted);
}

/* Responsive */
@media (max-width:700px){
  .page-placeholder{
    padding:40px 0;
  }
  .coming-card{
    border-radius:18px;
    padding:24px 18px 20px;
  }
  .coming-card h1{
    font-size:1.35rem;
  }
  .coming-actions{
    flex-direction:column;
  }
  .coming-actions .btn{
    width:100%;
    justify-content:center;
  }
}

/* Franja de marcas en otro diseño (por si la usas) */
.brand-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 24px 0 8px;
  border-bottom: 1px solid #f1f1f1;
  margin-bottom: 16px;
}

.brand-pill {
  border: none;
  background: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  cursor: pointer;
  opacity: 0.65;
  box-shadow: 0 0 0 1px #e6e6e6;
  transition: all 0.18s ease;
}

.brand-pill span {
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 13px;
}

.brand-pill:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.brand-pill.active {
  opacity: 1;
  background: #ffe7ea;
  box-shadow: 0 0 0 2px var(--brand);
}

/* ========== LOGOS DE MARCAS (Smart Phones) ========== */
.brand-logos{
  text-align:center;
  margin:28px 0 18px;
}

.brand-logos h2{
  font-size:1.2rem;
  margin-bottom:14px;
}

.brand-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:22px;
}

.brand-item{
  background:#fff;
  border-radius:14px;
  border:1px solid #e5e7eb;
  padding:10px 16px;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow:0 4px 14px rgba(15,23,42,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}

.brand-item img{
  height:40px;
  opacity:.85;
  transition:.2s ease;
}

.brand-item span{
  font-size:.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#111827;
}



.brand-item:hover{
  transform:translateY(-4px);
  border-color:var(--brand);
  box-shadow:0 10px 25px rgba(15,23,42,.12);
}

.brand-item:hover img{
  opacity:1;
}

/* CHIPS PARA TODAS LAS MARCAS (generados desde JS) */
.brand-chips{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.brand-chip{
  padding:6px 12px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  font-size:.85rem;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}

.brand-chip:hover{
  background:#fee2e2;
  border-color:var(--brand);
  color:#b91c1c;
}

/* Mensaje cuando aún no hay resultados en Smart Phones */
.empty-hint {
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  border: 1px dashed #ddd;
  background: #fff;
  max-width: 600px;
  margin: 30px auto;
  color: #555;
}
.empty-hint p {
  margin: 0 0 6px;
  font-weight: 600;
}
.empty-hint small {
  color: #888;
}

/* ===========================
   SERVICIO TÉCNICO – ESTILOS
   =========================== */
.st-hero {
  padding: 60px 0;
  color: #f9fafb;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.95), rgba(15,23,42,0.85)),
    url("./assets/servicio-hero-bg.jpg") center/cover no-repeat;
}

.st-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.st-hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 8px;
}

.st-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
  line-height: 1.2;
}

.st-hero h1 span {
  color: var(--brand);
}

.st-hero-sub {
  font-size: 1rem;
  color: #e5e7eb;
  margin: 0 0 18px;
  max-width: 540px;
}

.st-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  color: #cbd5f5;
  font-size: 0.95rem;
}

.st-hero-list li {
  margin-bottom: 6px;
}

.st-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.st-btn-wsp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .45);
}

.st-btn-wsp img {
  width: 18px;
  height: 18px;
}

.st-hero-note {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Tarjeta lateral con imagen del técnico */
.st-hero-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.65);
    overflow: visible;  /* o simplemente quita overflow */
      height: auto;
}

.st-hero-card img {
  width: 100%;
  height: auto;         /* deja que la altura se adapte */
    display: block;
      margin: 12px 0 10px;
  border-radius: 16px;
  margin-bottom: 14px;
  object-fit: contain;  /* muestra la imagen completa sin recortar */
  max-height: 260px;
}

.st-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.st-chip {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.8);
}

.st-hero-card h2 {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #e5e7eb;
}

.st-hero-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* BADGES / CUADROS PEQUEÑOS */
.st-badges {
  background: #ffffff;
  padding: 32px 0 16px;
}

.st-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.st-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 14px;
  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.st-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 17, 43, 0.08);
  color: var(--brand);
  font-size: 1.2rem;
}

.st-badge-text h3 {
  font-size: 0.98rem;
  margin: 0 0 4px;
  color: #111827;
}

.st-badge-text p {
  margin: 0;
  font-size: 0.85rem;
  color: #4b5563;
}

/* GRID DE SERVICIOS */
.st-services {
  padding: 40px 0;
  background: #f9fafb;
}

.st-services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
  color: #111827;
}

.st-section-sub {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
  font-size: 0.95rem;
  color: #4b5563;
}

.st-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.st-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.st-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(225, 17, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.st-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #111827;
}

.st-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* PASOS / PROCESO */
.st-pasos {
  padding: 40px 0;
  background: #ffffff;
}

.st-pasos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.st-paso {
  background: #f9fafb;
  border-radius: 16px;
  padding: 16px 16px 16px 18px;
  border-left: 4px solid var(--brand);
}

.st-paso-num {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand);
  margin-bottom: 4px;
}

.st-paso h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: #111827;
}

.st-paso p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* CTA FINAL */
.st-cta {
  padding: 40px 0 60px;
  background: #020617;
  color: #e5e7eb;
}

.st-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.st-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.st-cta p {
  font-size: 0.96rem;
  margin: 0 0 18px;
  color: #cbd5f5;
}

/* Responsivo */
@media (max-width: 900px) {
  .st-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .st-hero {
    padding: 40px 0 30px;
  }

  .st-hero h1 {
    font-size: 1.9rem;
  }
}


/* ===========================
   HOME – BANNER CARRUSEL (solo imagen, sin sombras)
   =========================== */
.home-hero {
  padding: 20px 0 10px;
  background: #f5f5f5;          /* fondo clarito detrás del carrusel */
}

.banner-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e5e7eb;    /* borde suave gris */
  background: #ffffff;          /* SIN degradado oscuro */
  min-height: 220px;
}

.banner-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.banner-slide {
  position: relative;
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;                   /* la imagen ocupa todo */
  background-size: contain;     /* que se vea completa */
  background-position: center;
  background-repeat: no-repeat;
}

/* quitar completamente la capa oscura */
.banner-slide::before {
  content: none !important;
}






/* imagen del banner */
.banner-slide img {
  width: 100%;                    /* ✅ ocupa todo el ancho */
  height: auto;                   /* mantiene proporción */
  display: block;
  object-fit: contain;            /* nunca recorta la imagen */
  border-radius: 18px;            /* coincide con el contenedor */
}

/* para que todo el banner sea clickeable si viene con enlace */
.banner-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* BOTONES CARRUSEL */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15,23,42,0.8);
  color: #e5e7eb;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-nav--prev { left: 10px; }
.banner-nav--next { right: 10px; }

.banner-nav:hover {
  background: rgba(15,23,42,0.95);
  box-shadow: 0 10px 20px rgba(15,23,42,0.5);
}

/* PUNTOS CARRUSEL */
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* usamos la clase .active que ya pone el JS */
.banner-dot.active {
  background: var(--brand);
  border-color: var(--brand);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .home-cat-grid {
    grid-template-columns: 1fr;
  }

  .home-cat-card--big {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .banner-carousel {
    border-radius: 14px;
  }

  .banner-slide img {
    border-radius: 14px;
  }

  .home-cat-card--small {
    min-height: 110px;
  }
}

/* BOTONES CARRUSEL */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15,23,42,0.8);
  color: #e5e7eb;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-nav--prev { left: 10px; }
.banner-nav--next { right: 10px; }

.banner-nav:hover {
  background: rgba(15,23,42,0.95);
  box-shadow: 0 10px 20px rgba(15,23,42,0.5);
}

/* PUNTOS CARRUSEL */
.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.banner-dot--active {
  background: var(--brand);
  border-color: var(--brand);
}

/* ===========================
   HOME – GRID CATEGORÍAS
   =========================== */
.home-categories {
  padding: 26px 0 40px;
  background: #f9fafb;
}

.home-cat-grid {
  display: grid;
  grid-template-columns: 2fr 2.1fr; /* izquierda 3, derecha 1 grande */
  gap: 18px;
}

.home-cat-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #111827;
  display: block;
}

.home-cat-card img {
  width: 100%;
  height: auto;        /* Deja que la altura se adapte */
  object-fit: contain; /* Muestra la imagen completa, sin recortarla */
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}




                            

/* 3 de la izquierda más bajitas */
.home-cat-card--small {
  min-height: 120px;
}

/* 1 de la derecha alto total (suma de 3 + gaps) */
.home-cat-card--big {
  height: 100%;
  min-height: 380px;
}

/* Overlay de texto */
.home-cat-overlay {
  position: absolute;
  inset: 0;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Gradiente más suave y solo abajo */
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0)
  );
  color: #f9fafb;
}


.home-cat-overlay h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.home-cat-overlay p {
  margin: 0;
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* Hover */
.home-cat-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .banner-content h1 {
    font-size: 1.7rem;
  }

  .home-cat-grid {
    grid-template-columns: 1fr;
  }

  .home-cat-card--big {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .banner-carousel {
    border-radius: 14px;
  }

  .banner-slide {
    padding: 20px 16px;
  }

  .banner-content h1 {
    font-size: 1.4rem;
  }

  .home-cat-card--small {
    min-height: 110px;
  }
}







.cards {
  display: grid;
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.card-img-top {
  width: 100%;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
}

.st-hero-photo {
  width: 100%;
  display: block;
  border-radius: 16px;
  margin: 12px 0 10px;
}
.st-badge-img {
  width: 100%;
  max-width: 220px;   /* ajusta el tamaño a tu gusto */
  display: block;
  margin: 8px 0 6px;  /* separación entre título y texto */
  border-radius: 12px;
}
.st-card-img {
  width: 100%;
  max-width: 260px;    /* puedes subir o bajar este valor */
  display: block;
  margin: 10px 0 8px;  /* espacio entre título y texto */
  border-radius: 12px;
}


.st-pasos-img {
  width: 100%;
  max-width: 900px;   /* ajusta según se vea mejor */
  display: block;
  margin: 20px auto 0; /* centrada y separada de las tarjetas */
  border-radius: 16px;
}



.contact-page {
  background: #f3f4f6;
}

/* Hero */
.contact-hero {
  padding: 56px 0 40px;
}

.contact-hero-grid {
  display: grid;
  gap: 32px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .contact-hero-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: #9ca3af;
  margin-bottom: 8px;
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-quick-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 700px) {
  .contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-quick {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
}

.contact-quick-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
}

.contact-hero-card {
  background: #020617;
  color: #e5e7eb;
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15,23,42,.45);
}

.contact-hero-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

.contact-hero-card p {
  margin-bottom: 14px;
}

.contact-hero-card small {
  display: block;
  margin-top: 10px;
  font-size: .75rem;
  color: #9ca3af;
}

/* Main block */
.contact-main {
  padding: 24px 0 40px;
}

.contact-main-head {
  text-align: center;
  margin-bottom: 24px;
}

.contact-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  }
}

.contact-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 14px 30px rgba(15,23,42,.08);
}

.contact-form label {
  font-size: .85rem;
  font-weight: 500;
  color: #374151;
  display: block;
  margin: 8px 0 4px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  font: inherit;
  margin-bottom: 6px;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form small {
  display: block;
  margin-top: 8px;
  font-size: .75rem;
  color: #6b7280;
}

/* Info lista */
.contact-info-card h3 {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.contact-pill {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
}

/* Mapa mini */
.contact-map-wrapper {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
}

.contact-map-wrapper .map {
  width: 100%;
  height: 220px;
  border: 0;
}

/* Final */
.contact-final {
  padding: 20px 0 40px;
  border-top: 1px solid #e5e7eb;
}

.contact-final-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-socials a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: .9rem;
}

/* ==== Ajustes MENÚ MÓVIL VTO ==== */
@media (max-width: 768px) {

  /* Barra superior */
  header {
    background: #e1112b;   /* rojo VTO */
    color: #ffffff;
  }

  /* Botón "Menú" */
  .menu-btn {
    background: #ffffff;
    color: #e1112b;
    border-radius: 999px;
    border: none;
    padding: 6px 14px;
    font-weight: 600;
  }

  .menu-btn:hover {
    background: #ffe4ea;
  }

  /* Panel desplegable */
  header nav .links {
    background: #e1112b;   /* fondo del menú desplegable */
  }

  header nav .links a {
    color: #ffffff;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  header nav .links a:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
  }
}

.pd-backbar {
  margin-bottom: 10px;
}

.pd-back-link {
  font-size: 0.85rem;
  padding: 6px 12px;
}



/* ============ FIX BRILLO IMÁGENES HOME ============ */

/* Quitar fondo oscuro detrás de las imágenes de categorías */
.home-cat-card {
  background: #ffffff !important;
}

/* Dejar el overlay MUY suave solo abajo (para que no apague toda la imagen) */
.home-cat-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0)
  ) !important;
}

/* Asegurar que las imágenes se vean con todo su brillo */
.home-cat-card img,
.banner-slide img {
  opacity: 1 !important;
  filter: none !important;
}

/* Evitar que el hover las ponga más “apagadas” */
.home-cat-card:hover img {
  transform: scale(1.04);
  opacity: 1 !important;
}


.section-image {
  margin: 10px 0 12px;
}

.section-image img.section-banner {
  width: 100%;
  max-width: 960px;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

