/* =========================
   TRON THEME – Centro de Servicio
   Paleta: Azul (#00f7ff), Naranja (#ff7b00), Amarillo (#ffea00), Fondo (#0a0a0a)
========================= */

/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  background:#0a0a0a;
  color:#f6f7fb;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

/* Variables Tron */
:root{
  --tron-blue:   #00f7ff;
  --tron-orange: #ff7b00;
  --tron-yellow: #ffea00;
  --tron-bg:     #0a0a0a;
  --tron-text:   #f6f7fb;
  --glass: rgba(255,255,255,0.04);
  --glass-bd: rgba(0,247,255,.25);
}

/* =========================
   TOP BAR (Tron)
========================= */
.top-bar{
  background: var(--tron-bg);
  color: var(--tron-orange);
  padding: 20px 50px;
  font-size: 16px;
  border-bottom: 2px solid var(--tron-orange);
  box-shadow: 0 0 10px var(--tron-orange), 0 0 20px var(--tron-orange);
}
.contact-info{
  display:flex; justify-content:flex-end; gap:50px; font-weight:700;
}
.contact-info span{
  white-space:nowrap; margin-right:20px;
  text-shadow: 0 0 5px var(--tron-orange), 0 0 15px var(--tron-orange);
  transition: color .25s, text-shadow .25s;
}
.contact-info span:hover{
  color: var(--tron-blue);
  text-shadow: 0 0 10px var(--tron-blue), 0 0 20px var(--tron-yellow), 0 0 30px var(--tron-orange);
  cursor: pointer;
}

/* =========================
   NAVBAR (Tron)
========================= */
header{
  position: sticky; top: 0; z-index: 1000;
  padding: 15px 40px;
  background: linear-gradient(180deg, rgba(0,0,0,.88), rgba(0,0,0,.7));
  border-bottom: 2px solid var(--tron-blue);
  box-shadow: 0 0 10px var(--tron-blue);
  backdrop-filter: blur(6px);
}
.navbar{
  display:flex; justify-content:space-between; align-items:center;
  max-width:1200px; margin:0 auto;
}
.logo{ 
  display:flex; 
  align-items:center; 
  gap:12px; 
}
.logo img{ 
  height:70px;
}
.logo h1{
  font-size:18px; 
  font-weight:800; 
  color:var(--tron-text);
  text-shadow: 0 0 6px rgba(0,247,255,.45);
}
.nav-links{ 
  list-style:none; 
  display:flex; 
  gap:25px; 
}
.nav-links a{
  position:relative; 
  display:inline-block; 
  padding:8px 10px;
  color: var(--tron-orange); 
  font-weight:800; 
  text-decoration:none;
  letter-spacing:.2px;
  text-shadow: 0 0 6px rgba(255,123,0,.6);
  transition: color .25s, text-shadow .25s, transform .25s;
}
.nav-links a::after{
  content:""; 
  position:absolute; 
  left:10px; 
  right:10px; 
  bottom:4px; 
  height:2px;
  background: linear-gradient(90deg, var(--tron-yellow), var(--tron-orange));
  box-shadow: 0 0 8px var(--tron-orange), 0 0 16px var(--tron-yellow);
  transform: scaleX(0); 
  transform-origin:center; 
  transition: transform .25s;
  border-radius:2px;
}
.nav-links a:hover{
  color: var(--tron-blue);
  text-shadow: 0 0 10px var(--tron-blue);
  transform: translateY(-1px);
}
.nav-links a:hover::after{ 
  transform: scaleX(1); 
}
/* =========================
   NAVBAR DROPDOWN (Tron)
========================= */
.nav-links .dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: rgba(10,10,10,.95);
  border: 2px solid var(--tron-blue);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 200px;
  display: none;
  flex-direction: column;
  box-shadow: 0 0 12px var(--tron-blue), 0 0 24px var(--tron-orange);
  z-index: 2000;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--tron-orange);
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 0 6px var(--tron-orange);
  transition: color .25s, background .25s, text-shadow .25s;
}

.dropdown-menu a:hover {
  color: var(--tron-blue);
  background: rgba(0,247,255,.08);
  text-shadow: 0 0 10px var(--tron-blue);
}

/* Mostrar al pasar el mouse */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Hamburger */
.hamburger{
  display:none; 
  font-size:28px; 
  background:none; 
  cursor:pointer;
  padding:6px 10px; 
  border-radius:10px;
  border:2px solid var(--tron-blue); 
  color:var(--tron-blue);
  text-shadow: 0 0 6px var(--tron-blue);
  box-shadow: 0 0 10px rgba(0,247,255,.4);
  transition: transform .2s, box-shadow .2s, border-color .2s, color .2s;
}
.hamburger:hover{
  transform: translateY(-1px);
  color: var(--tron-yellow);
  border-color: var(--tron-yellow);
  box-shadow: 0 0 12px rgba(255,234,0,.55);
}

/* =========================
   HERO PRINCIPAL (index)
========================= */
.hero.tron-hero {
  background: radial-gradient(1200px 600px at 10% 0%, #0e1622 0%, #0b0f19 60%, #080b12 100%);
  color: var(--tron-text);
  padding: clamp(56px, 8vw, 110px) 20px;
}

/* Inner con dos columnas: texto / imagen */
.hero--split .hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr; /* izquierda texto / derecha imagen */
  align-items: center;
  gap: clamp(24px, 6vw, 64px);
}

/* Texto */
.overline {
  letter-spacing: .12em;
  font-weight: 900;
  color: var(--tron-blue);
  text-shadow: 0 0 10px rgba(0,247,255,.45);
  margin-bottom: 10px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
}

.highlight {
  color: var(--tron-orange);
  text-shadow: 0 0 18px rgba(255,123,0,.55), 0 0 30px rgba(255,234,0,.35);
}

.accent {
  width: 80px;
  height: 3px;
  background: var(--tron-blue);
  border-radius: 2px;
  margin: 18px 0;
  box-shadow: 0 0 10px var(--tron-blue), 0 0 16px rgba(255,234,0,.25);
}

.lead {
  max-width: 560px;
  color: #cfe7e7;
  font-size: clamp(16px, 1.7vw, 18px);
}

.rot-line {
  margin: 10px 0 26px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
}

.rot-pill {
  display: inline-block;
  background: var(--tron-yellow);
  color: #111;
  padding: .15em .55em;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  transition: transform .35s, filter .35s;
}
.rot-pill.switching {
  transform: translateY(6px);
  filter: blur(1px);
}
/* Variantes de color para el rot-pill */
.rot-pill--blue {
  background: var(--tron-blue);
  color: #111;
  box-shadow: 0 0 10px var(--tron-blue), 0 0 20px rgba(0,247,255,.35);
}
.rot-pill--orange {
  background: var(--tron-orange);
  color: #111;
  box-shadow: 0 0 10px var(--tron-orange), 0 0 20px rgba(255,123,0,.35);
}
.rot-pill--yellow {
  background: var(--tron-yellow);
  color: #111;
  box-shadow: 0 0 10px var(--tron-yellow), 0 0 20px rgba(255,234,0,.35);
}
.rot-pill--green {
  background: #22ff88; 
  color: #111;
  box-shadow: 0 0 10px #22ff88, 0 0 20px rgba(34,255,136,.35);
}
/* Añadimos transición también a fondo y sombra */
.rot-pill {
  transition: transform .35s, filter .35s, background .35s, box-shadow .35s, color .35s;
}

/* Botones */
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-cta {
  background: var(--tron-orange);
  color: #111;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255,123,0,.35), 0 0 16px rgba(255,234,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,123,0,.5);
}
.btn-ghost {
  border: 2px solid var(--tron-blue);
  color: #e9f7f7;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  text-shadow: 0 0 6px var(--tron-blue);
  box-shadow: 0 0 12px rgba(0,247,255,.25) inset;
}
.btn-ghost:hover {
  background: rgba(0,247,255,.08);
}

/* ===== Carousel dentro del hero ===== */
.hero-carousel{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  will-change: opacity;
  background: #0a0a0a; /* fallback mientras carga la imagen */
}
.slide.is-active{ opacity: 1; }

.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;     /* llena el panel derecho por completo */
  object-position: center;
  display: block;
}

/* Borde interno “card” y glow suave, estilo del ejemplo */
.slide::after{
  content:"";
  position: absolute; inset: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset;
  pointer-events: none;
}

/* Vignette sutil para legibilidad del copy */
.slide::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(70% 70% at 20% 20%, rgba(0,0,0,.0), rgba(0,0,0,.45));
  pointer-events:none;
}

/* Caption estilo “glass” */
.slide-caption{
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(10,10,10,.55);
  border: 1px solid rgba(0,247,255,.25);
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--tron-text);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.45), 0 0 14px rgba(0,247,255,.18);
  max-width: min(90%, 420px);
}
.slide-caption h3{
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--tron-blue);
  text-shadow: 0 0 8px rgba(0,247,255,.35);
  font-size: clamp(18px, 2.2vw, 22px);
}
.slide-caption p{
  margin: 0;
  color: #cfe7e7;
  font-size: 15px;
}
/* === FIX: contenedor del carrusel del hero === */
.hero__media{
  position: relative;
  height: clamp(420px, 58vh, 640px);   /* 👈 da altura real */
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--tron-blue);
  box-shadow:
    0 0 12px rgba(0,247,255,.45),
    0 0 22px rgba(0,247,255,.25),
    0 18px 40px rgba(0,0,0,.55);
  background:
    radial-gradient(80% 80% at 60% 30%, rgba(0,247,255,.08), transparent 70%);
}
/* Dots centrados como en el mock */
.carousel-dots{
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 14px;
  display: flex; gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(10,10,10,.45);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.dot:hover{ transform: scale(1.15); }
.dot.is-active{
  background: #fff;
  box-shadow: 0 0 8px #fff, 0 0 12px var(--tron-blue);
}

/* Tocar/arrastrar: cursor pista en desktop */
.hero-carousel{ cursor: grab; }
.hero-carousel:active{ cursor: grabbing; }

/* =========================
   WHATSAPP BUTTON
========================= */
.whatsapp-button{
   position:fixed;
   bottom:20px;
   right:20px;
   background:#25D366;
   color:#fff;
   padding:15px 20px;
   border-radius:50px;
   text-decoration:none;
   display:flex;
   align-items:center;
   box-shadow:2px 2px 10px rgba(0,0,0,.2);
   z-index:10;
}
.whatsapp-button:hover{
   background:#1ebe5d;
}
.whatsapp-button img{
   width:24px;
   margin-right:10px;
}

/* =========================
   CARRUSEL – Reparación de Refrigeradores
========================= */
.hero-gallery-refri{
  position:relative; 
  width:100%; 
  height:100vh; 
  overflow:hidden; 
  display:flex; 
  align-items:center;
  background: radial-gradient(1200px 600px at 10% 0%, #0e1622 0%, #0b0f19 55%, #080b12 100%);
}
.cards-wrapper-refri{ 
  display:flex; 
  gap:40px; 
  will-change:transform; 
  transition:transform .1s linear; 
}
.card-refri{
  flex:0 0 auto; 
  width:300px; 
  height:400px; 
  background: #111;
  border:1px solid var(--tron-blue);
  border-radius:20px; 
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.45), 0 0 18px rgba(0,247,255,.25);
  position:relative; 
  text-align:center; 
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card-refri img{ 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  transition: transform .3s; 
}
.card-refri:hover{
  transform: scale(1.08);
  border-color: var(--tron-orange);
  box-shadow: 0 20px 40px rgba(0,0,0,.6), 0 0 24px rgba(255,123,0,.35);
}
.card-refri:hover img{ 
  transform: scale(1.1); 
}

/* =========================
   SERVICIO TÉCNICO (cards)
========================= */
#servicio-tecnico{
  background: radial-gradient(circle at top left, #0e1622, #0b0f19 70%, #080b12 100%);
  padding: 60px 20px; 
  text-align:center;
}
#servicio-tecnico h2{
  font-size:2.2rem; 
  margin-bottom:40px; 
  color:#fff; 
  position:relative;
}
#servicio-tecnico h2::after{
  content:""; 
  display:block; 
  width:80px; 
  height:3px; 
  margin:12px auto 0;
  background: var(--tron-blue); 
  border-radius:2px;
  box-shadow: 0 0 10px var(--tron-blue), 0 0 16px rgba(255,234,0,.25);
}
.servicios-container{ 
  display:flex; 
  justify-content:center; 
  gap:30px; 
  flex-wrap:wrap; 
}
.servicio-card{
  width:260px; 
  background: var(--glass); 
  border:1px solid var(--glass-bd);
  border-radius:16px; 
  padding:20px; 
  text-align:center; 
  color:#ddd;
  box-shadow:0 8px 20px rgba(0,0,0,.4); 
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.servicio-card h3{ 
  font-size:1.2rem; 
  margin-bottom:12px; 
  color: var(--tron-orange); 
  text-shadow: 0 0 8px rgba(255,123,0,.35); 
}
.servicio-card img{ 
  width:100%; 
  height:auto; 
  border-radius:10px; 
  margin-bottom:15px; 
}
.servicio-card p{ 
  font-size:.95rem; 
  color:#cfe7e7; 
  line-height:1.4; 
}
.servicio-card:hover{
  transform: translateY(-10px);
  border-color: var(--tron-blue);
  box-shadow: 0 12px 30px rgba(0,247,255,.35), 0 0 24px rgba(255,123,0,.25);
}

/* =========================
   CONTACTO
========================= */
#contacto{
  background: radial-gradient(1200px 600px at 10% 0%, #0e1622 0%, #0b0f19 60%, #080b12 100%);
  color:#e9f7f7; 
  padding:60px 20px; 
  text-align:center;
}
#contacto h2{
  font-size:2rem; 
  margin-bottom:20px; 
  color:#fff; 
  position:relative;
}
#contacto h2::after{
  content:""; 
  display:block; 
  width:80px; 
  height:3px; 
  margin:12px auto 0;
  background: var(--tron-blue); 
  border-radius:2px;
  box-shadow: 0 0 10px var(--tron-blue);
}
#contacto h3{ 
  font-size:1.3rem; 
  margin:20px 0; 
  color: var(--tron-orange); 
  text-shadow: 0 0 8px rgba(255,123,0,.35); 
}

/* Galería */
#contacto .galeria{
  display:flex; 
  justify-content:center; 
  flex-wrap:wrap; 
  gap:20px; 
  margin:20px 0;
}
#contacto .galeria img{
  width:240px; 
  height:220px; 
  object-fit:cover; 
  border-radius:12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35), 0 0 16px rgba(0,247,255,.2);
  transition: transform .3s, box-shadow .3s;
}
#contacto .galeria img:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,.5), 0 0 22px rgba(255,123,0,.35);
}

/* Texto y teléfonos */
#contacto p{ 
  font-size:1rem; 
  color:#cfe7e7; 
  margin:20px 0 10px; 
}
#contacto .telefono-links{
  display:flex; 
  justify-content:center; 
  flex-wrap:wrap; 
  gap:15px; 
  margin-bottom:30px;
}
#contacto .telefono-links a{
  display:inline-block; 
  padding:12px 20px; 
  border-radius:10px; 
  font-weight:900; 
  text-decoration:none;
  color:#111; 
  background: var(--tron-orange);
  box-shadow: 0 6px 18px rgba(255,123,0,.35), 0 0 14px rgba(255,234,0,.25);
  transition: transform .3s, box-shadow .3s;
}
#contacto .telefono-links a:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,123,0,.5), 0 0 20px rgba(0,247,255,.25);
}

/* Métodos de pago */
#contacto .metodos-pago h3{ 
  margin-bottom:15px; 
  color:#fff; 
}
#contacto .iconos-pago{ 
  display:flex; 
  justify-content:center; 
  gap:25px; 
  flex-wrap:wrap; 
}
#contacto .pago-item{
  background: var(--glass); 
  border:1px solid var(--glass-bd);
  padding:12px 15px; 
  border-radius:12px; 
  width:150px; 
  text-align:center;
  box-shadow: 0 0 14px rgba(0,247,255,.15);
}
#contacto .pago-item img{ 
  width:80px; 
  height:60px; 
  object-fit:contain; 
  margin-bottom:8px; 
}
#contacto .pago-item p{ 
  color:#cfe7e7; 
  font-size:14px; 
  margin:0; 
}

/* =========================
   UBICACIONES
========================= */
#ubicaciones{
  background: radial-gradient(1200px 600px at 10% 0%, #0e1622 0%, #0b0f19 60%, #080b12 100%);
  padding:60px 20px; 
  text-align:center; 
  color:#e9f7f7;
}
#ubicaciones h2{
  font-size:2rem; 
  color:#fff; 
  margin-bottom:28px; 
  position:relative;
}
#ubicaciones h2::after{
  content:""; 
  display:block; 
  width:80px; 
  height:3px; 
  margin:12px auto 0;
  background: var(--tron-blue); 
  border-radius:2px;
  box-shadow: 0 0 10px var(--tron-blue);
}

/* Grid y columnas estilo “glass” */
.ubi-grid{ 
  display:flex; 
  justify-content:center; 
  gap:28px; 
  flex-wrap:wrap; 
}
.columna{
  background: var(--glass); 
  border:1px solid var(--glass-bd);
  border-radius:16px; 
  padding:18px 22px; 
  min-width:260px; 
  max-width:320px; 
  text-align:left;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.columna:hover{
  transform: translateY(-6px);
  border-color: var(--tron-blue);
  box-shadow: 0 16px 36px rgba(0,247,255,.28);
}
.columna h3{ 
  color: var(--tron-orange); 
  font-size:1.1rem; 
  letter-spacing:.02em; 
  margin-bottom:10px; 
}
.columna ul{ 
  list-style:none; 
}
.columna ul li{
  position:relative; 
  padding-left:18px; 
  color:#cfe7e7; 
  margin:8px 0; 
  line-height:1.35;
}
.columna ul li::before{
  content:"▹"; 
  position:absolute; 
  left:0; 
  top:0; 
  color: var(--tron-blue); 
  opacity:.9;
}

/* =========================
   FOOTER
========================= */
footer{
  background:#0a0a0a; 
  color:#cfe7e7; 
  text-align:center;
  padding:40px 20px; 
  border-top:2px solid var(--tron-blue);
  box-shadow: 0 0 10px var(--tron-blue) inset;
  font-size:.95rem;
}
.footer-content{ 
  max-width:1100px; 
  margin:0 auto; 
}
.footer-content .disclaimer{ 
  font-size:.85rem; 
  color:#aaa; 
  line-height:1.5; 
  margin-bottom:25px; 
}
.footer-phones p{ 
  margin:6px 0; 
}
.footer-phones a{ 
  color: var(--tron-orange); 
  font-weight:800; 
  text-decoration:none; 
  text-shadow:0 0 6px rgba(255,123,0,.45); 
}
.footer-phones a:hover{ 
  text-decoration:underline; 
}
.footer-ubicaciones{ 
  margin-top:25px; 
}
.footer-ubicaciones strong{ 
  color:#fff; 
}
.footer-ubicaciones a{ 
  color:#cfe7e7; 
  text-decoration:none; 
  margin:0 3px; 
  transition: color .25s, text-shadow .25s; 
}
.footer-ubicaciones a:hover{ 
  color: var(--tron-blue); 
  text-shadow: 0 0 8px var(--tron-blue); 
}

/* =========================
   Animación al hacer scroll
========================= */
.animar-scroll{
  opacity:0; 
  transform: translateY(36px) translateZ(0); 
  filter: blur(4px);
  will-change: transform, opacity; 
  backface-visibility: hidden;
  transition: opacity .9s ease, transform .9s ease, filter .9s ease;
}
.animar-scroll.visible{
  opacity:1; 
  transform: translateY(0) translateZ(0); 
  filter: blur(0);
}


/* =========================
   Reparación – REFRIGERADORES (Tron)
========================= */

/*HERO SECTION*/
.hero-refri{
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(24px, 6vw, 64px);
  padding: clamp(64px, 8vw, 120px) 20px;
  background:
    radial-gradient(1100px 650px at 20% 25%, #0e1622 0%, #0b0f19 60%, #080b12 100%);
  color: var(--tron-text);
  border-bottom: 2px solid var(--tron-blue);
  box-shadow: 0 0 12px rgba(0,247,255,.25) inset;
}

/* Columna de texto */
.hero-refri__content .overline{
  letter-spacing:.12em;
  font-weight:900;
  color: var(--tron-blue);
  text-shadow: 0 0 10px rgba(0,247,255,.45);
  margin-bottom: 10px;
}

.hero-refri h1{
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  color:#fff;
  margin: 0 0 8px;
}
.hero-refri h1 span{
  color: var(--tron-orange);
  text-shadow: 0 0 18px rgba(255,123,0,.55), 0 0 30px rgba(255,234,0,.35);
}

.hero-refri .lead{
  color:#cfe7e7;
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 18px);
  margin: 8px 0 16px;
}

/* Botones: reutiliza .btn-cta y .btn-ghost ya definidos */
.hero-refri .cta{ display:flex; gap:12px; flex-wrap:wrap; }

/* Columna de imagen */
.hero-refri__image{
  justify-self: center;
  max-width: 520px;              /* límite visual del contenedor */
  border-radius: 20px;
  padding: 10px;
  background: radial-gradient(80% 80% at 60% 30%, rgba(0,247,255,.08), transparent 70%);
  border: 2px solid var(--tron-blue);
  box-shadow:
    0 0 12px rgba(0,247,255,.45),
    0 0 22px rgba(0,247,255,.25),
    0 18px 40px rgba(0,0,0,.55);
}

.hero-refri__image img{
  display:block;
  width:100%;
  height:auto;                   /* ✅ evita desbordes */
  object-fit: contain;           /* mantiene proporción */
  filter: saturate(1.05) contrast(1.05);
  border-radius: 12px;
}

/* “Glow frame” opcional (ya lo usas en el HTML con glow-frame) */
.glow-frame{
  position: relative;
}
.glow-frame::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius: 24px;
  pointer-events:none;
  background:
    radial-gradient(60% 60% at 50% 20%, rgba(0,247,255,.10), transparent 70%);
  box-shadow:
    0 0 20px rgba(0,247,255,.25),
    0 0 36px rgba(255,123,0,.15);
}

/* Hover sutil */
.hero-refri__image:hover{
  transform: translateY(-3px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  border-color: var(--tron-orange);
  box-shadow:
    0 0 14px rgba(255,123,0,.35),
    0 0 26px rgba(0,247,255,.28),
    0 22px 50px rgba(0,0,0,.55);
}

/* Galería de Refrigeradores */
.galeria-refri {
  background: radial-gradient(1000px 600px at 50% 20%, #0e1622 0%, #0b0f19 60%, #080b12 100%);
  padding: 60px 20px;
  text-align: center;
  color: var(--tron-text);
}

.galeria-refri h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 28px;
  position: relative;
}
.galeria-refri h2::after {
  content:"";
  display:block;
  width:80px;
  height:3px;
  margin:12px auto 0;
  background: var(--tron-blue);
  border-radius:2px;
  box-shadow: 0 0 10px var(--tron-blue), 0 0 16px rgba(255,234,0,.25);
}

.galeria-refri__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.galeria-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,247,255,.35);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.4), 0 0 16px rgba(0,247,255,.18);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.galeria-item:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: var(--tron-orange);
  box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 24px rgba(255,123,0,.28);
}
.galeria-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0,247,255,.4));
}


/* TIMELINE – Proceso */
.timeline{
  padding: 60px 20px;
  background: radial-gradient(1000px 600px at 20% 80%, #0e1622 0%, #0b0f19 60%, #080b12 100%);
  color: var(--tron-text); text-align: center;
}
.timeline h2{
  font-size: 2.1rem; color:#fff; margin-bottom: 14px;
}
.timeline-steps{
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 1100px; margin: 20px auto 12px; padding: 0;
}
.step{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,247,255,.35);
  border-radius: 16px; padding: 18px 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.4), 0 0 16px rgba(0,247,255,.18);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.step:hover{
  transform: translateY(-6px);
  border-color: var(--tron-blue);
  box-shadow: 0 12px 30px rgba(0,0,0,.55), 0 0 24px rgba(0,247,255,.28);
}
.step-badge{
  width: 42px; height: 42px; margin: 0 auto 10px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  background: radial-gradient(circle, var(--tron-yellow), var(--tron-orange));
  color:#111; font-weight: 900;
  box-shadow: 0 0 12px var(--tron-orange), 0 0 20px var(--tron-yellow);
}
.step h3{
  color: var(--tron-blue);
  text-shadow: 0 0 8px rgba(0,247,255,.35);
  margin-bottom: 6px; font-size: 1.05rem;
}
.step p{ color:#cfe7e7; font-size: .95rem; }
.step a{ color: var(--tron-orange); text-decoration: none; font-weight: 800; }
.step a:hover{ color: var(--tron-blue); text-shadow: 0 0 8px var(--tron-blue); }

.timeline-cta{ margin-top: 18px; }

/* CTA Final */
.cta-final{
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 80px) 20px;
  background: radial-gradient(900px 520px at 50% 10%, rgba(0,247,255,.12), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.7));
  border-top: 2px solid var(--tron-blue);
  box-shadow: 0 0 18px rgba(0,247,255,.25) inset;
  text-align: center; color: var(--tron-text);
}
.cta-final__inner{
  max-width: 900px; margin: 0 auto;
}
.cta-final h2{
  font-size: clamp(28px, 4.6vw, 40px);
  color:#fff; margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0,247,255,.25);
}
.cta-final p{ 
  color:#cfe7e7; 
  margin-bottom: 14px; 
}
/* Centrar botones en CTA final */
.cta-final .cta {
  display: flex;         /* ya lo tienes en .cta, pero lo aseguramos */
  justify-content: center;
  gap: 14px;             /* opcional: separa un poco los botones */
  flex-wrap: wrap;       /* para que en pantallas chicas se acomoden uno abajo del otro */
}


/* =========================
   Responsive
========================= */

/* ≤980px — página reparacion-refrigeradores */
@media (max-width: 980px){
  .hero-refri{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .hero-refri__image{
    order: -1;               /* imagen arriba */
    max-width: 420px;
    margin: 0 auto;
  }
}

/* ≤900px — navbar, hero index, carrusel, dropdown, timeline */
@media (max-width: 900px){
  /* Hamburguesa + menú colapsable */
  .hamburger{ 
    display:inline-block; 
  }
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: grid;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(10,10,10,.96);
    border-bottom: 2px solid var(--tron-blue);
    box-shadow: 0 12px 20px rgba(0,0,0,.45), 0 0 14px rgba(0,247,255,.25);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 1500;
  }
  .navbar.open .nav-links{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Hero principal del index (no confundir con .hero-refri) */
  .hero--split .hero__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  /* Texto arriba, carrusel abajo */
  .hero__copy{ order: 1; }
  .hero__media{
    order: 2;                         /* imagen/carrusel después del texto */
    height: clamp(320px, 42vh, 460px);
    margin: 12px auto 0;
    max-width: 720px;
  }

  /* Carousel dentro del hero */
  .slide-caption{ left: 14px; right: 14px; bottom: 14px; }
  .dot{ width: 12px; height: 12px; }

  /* Carrusel de refri (página de refri) */
  .hero-gallery-refri{ 
    height:auto; 
    padding:40px 10px; 
  }
  .cards-wrapper-refri{
    display:flex; 
    overflow-x:auto; 
    scroll-snap-type:x mandatory; 
    -webkit-overflow-scrolling:touch;
    gap:15px; 
    padding:10px 0 20px;
  }
  .card-refri{ 
    flex:0 0 220px; 
    height:280px; 
    scroll-snap-align:center; 
  }
  .card-refri img{ 
    object-fit:contain; 
  }

  /* Dropdown usable en táctiles */
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: none;
  }
  .dropdown.open .dropdown-menu,
  .dropdown:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .dropdown-menu a {
    padding-left: 30px;      /* sangría para diferenciar */
    color: var(--tron-orange);
  }

  /* Timeline a una sola columna */
  .timeline-steps{ 
    grid-template-columns: 1fr; 
  }
}

/* ≤768px — top bar, logo, hero-refri padding/imagen, servicios y ubicaciones */
@media (max-width: 768px){
  /* Top bar */
  .contact-info{ 
    flex-direction:column; 
    align-items: center; 
    gap:10px; 
    font-size:16px; 
  }

  /* Navbar logo */
  .logo img{ height:60px; }
  .logo h1{ font-size:18px; }

  /* Hero de refrigeradores */
  .hero-refri{
    padding: 48px 16px;
  }
  .hero-refri__image{
    max-width: 340px;
  }

  /* Servicios (cards) */
  .servicios-container{ 
    flex-direction:column; 
    align-items:center; 
    gap:20px; 
  }
  .servicio-card{ 
    width:75%; 
    max-width:320px; 
  }

  /* Ubicaciones */
  .ubi-grid{ 
    flex-direction:column; 
    gap:30px; 
  }
  .columna{ 
    text-align:center; 
    min-width:220px; 
    max-width:100%; 
  }
}

/* ≤600px — pequeños ajustes globales */
@media (max-width: 600px){
  .btn-cta, .btn-ghost{
    padding: 10px 14px;
  }
  .lead{ 
    margin-left: auto; 
    margin-right: auto; 
  }
}

/* ≤520px — ajustes del hero antiguo (si los sigues usando) */
@media (max-width: 520px){
  .hero__art{ 
    min-height: 320px; 
  }
  .frame--big{ 
    width: 78vw; 
  }
  .frame--small{ 
    width: 58vw; 
    bottom: -2%; 
  }
}

/* ≤480px — tipografía del h1 del hero de refri e imagen más compacta */
@media (max-width: 480px){
  .hero-refri h1{
    font-size: clamp(32px, 9vw, 42px);
  }
  .hero-refri__image{ 
    max-width: 300px; 
  }
}

/* ≤400px — móviles muy chicos (robustez) */
@media (max-width: 400px){
  .logo img { height: 50px; }
  .logo h1 { font-size: 16px; }
  .nav-links a { font-size: 14px; padding: 6px 8px; }

  .frame--big{ 
    width: 82vw; 
  }
  .frame--small{ 
    width: 62vw; 
  }

  .servicio-card{ width: 90%; max-width: 280px; }

  .columna { width: 100%; padding: 14px; }
  .columna h3 { font-size: 1rem; }
  .columna ul li { font-size: 14px; }

  .footer-ubicaciones a {
    display: inline-block;
    margin: 4px 6px;
    font-size: 14px;
  }
}

/* ≤340px — pantallas ultra compactas */
@media (max-width: 340px){
  .hero__title { font-size: 26px; }
  .cta a { flex: 1 1 100%; text-align: center; }
}

/* ==== FIX móvil: evita que el panel del carrusel colapse ==== */
.hero--split .hero__inner { width: 100%; }              /* asegura ancho del grid */

.hero__media{
  position: relative;
  width: 100%;                 /* 👈 ocupa todo el ancho disponible */
  min-width: 100%;             /* 👈 no dejes que se haga angosto */
  height: clamp(320px, 42vh, 460px);
  border: 2px solid var(--tron-blue);
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(80% 80% at 60% 30%, rgba(0,247,255,.08), transparent 70%);
}

.hero__media .hero-carousel{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

.hero__media .slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
  background: #0a0a0a;
}
.hero__media .slide.is-active{ opacity: 1; }

.hero__media .slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* En móvil: texto arriba, carrusel abajo, y ancho completo real */
@media (max-width: 900px){
  .hero--split .hero__inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__copy{ order: 1; }
  .hero__media{
    order: 2;
    width: 100%;
    min-width: 100%;           /* 👈 evita “barra” */
    max-width: 720px;
    margin: 12px auto 0;
    height: clamp(320px, 42vh, 460px);
  }
  .slide-caption{ left: 14px; right: 14px; bottom: 14px; }
  .dot{ width: 12px; height: 12px; }
}

