/* =================================================================
   ACROS ELECTRÓNICA - ESTILOS PROFESIONALES (TAMAÑO AMPLIADO +25%)
   =================================================================== */
:root {
  --bg-blue: #002b7f;     
  --bg-red: #d52b1e;      
  --bg-black: #080808;
  --pure-white: #ffffff;  
  --pure-black: #000000;
  --border-white: rgba(255, 255, 255, 0.35);
  --transition: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 22.5px;
}

body {
  background-color: var(--bg-blue) !important;
  color: var(--pure-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* =================================================================
   HEADER / NAVEGACIÓN SUPERIOR
   =================================================================== */
.top-header {
  background: var(--bg-black);
  border-bottom: 3px solid var(--bg-red);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 1.5rem;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.header-left, .header-hours, .header-actions {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

.header-brand-text {
  font-weight: 800;
  color: var(--pure-white) !important;
  text-decoration: none;
  font-size: 1.25rem;
}

.header-address a {
  color: var(--pure-white) !important;
  text-decoration: none;
}
.header-address a:hover {
  text-decoration: underline;
}

.header-hours {
  font-size: 0.9rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-white);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  color: var(--pure-white) !important;
}

.header-actions {
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
}

.header-whatsapp {
  background-color: #25D366 !important;
  color: var(--pure-white) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.header-nav {
  display: none;
  gap: 1.5rem;
}
.header-nav a {
  color: var(--pure-white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

/* =================================================================
   SECCIÓN HERO (PRINCIPAL)
   =================================================================== */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 5rem 1.5rem;
  }
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 0.6rem 0;
  font-weight: 900;
  color: var(--pure-white);
  -webkit-text-stroke: 2px var(--pure-black);
  text-shadow: 3px 3px 0px var(--pure-black);
}

.hero-content h2 {
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  margin-bottom: 1.8rem;
  color: var(--pure-white);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-kicker {
  background: var(--pure-white);
  color: var(--bg-red);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 900;
  border: 2px solid var(--pure-black);
}

.hero-benefits {
  font-size: 1.1rem;
  margin-bottom: 2.2rem;
  background: var(--bg-red) !important;
  color: var(--pure-white) !important;
  padding: 1.6rem;
  border-radius: 10px;
  border: 2px solid var(--pure-white);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1.05rem;
}

.btn.y {
  background-color: var(--pure-white);
  color: var(--pure-black);
  border: 2px solid var(--pure-black);
}

.btn.o {
  background-color: var(--bg-black);
  color: var(--pure-white);
  border: 2px solid var(--pure-white);
}

.hero-img-wrapper {
  display: flex;
  justify-content: center;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  width: 720px;
  max-height: 780px;
  background: transparent !important;
  border-radius: 50%;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
}

/* =================================================================
   SERVICIO TÉCNICO Y CONFIANZA
   =================================================================== */
.servicio-principal {
  max-width: 1250px;
  margin: 2rem auto;
  padding: 4rem 1.5rem;
  text-align: center;
  background-color: var(--bg-red);
  border-radius: 16px;
  border: 2px solid var(--pure-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.title h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1.8rem;
  font-weight: 900;
  color: var(--pure-white);
  -webkit-text-stroke: 1.5px var(--pure-black);
}

.title b {
  color: var(--pure-white);
  font-size: 1rem;
  display: block;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  letter-spacing: 1.5px;
  font-weight: 800;
}

.review-space {
  background: var(--bg-red);
  border: 2px solid var(--pure-white);
  padding: 2.2rem;
  border-radius: 12px;
  margin-bottom: 2.2rem;
  color: var(--pure-white);
  font-size: 1.1rem;
}

.confianza-acros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.2rem;
}

.confianza-acros div {
  background: var(--bg-red);
  padding: 1.8rem;
  border-radius: 10px;
  border: 2px solid var(--pure-white);
}

.confianza-acros strong {
  display: block;
  font-size: 2.2rem;
  color: var(--pure-white);
  -webkit-text-stroke: 1px var(--pure-black);
}

.confianza-acros span {
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.horario-destacado {
  background: var(--bg-red);
  border: 2px solid var(--pure-white);
  padding: 1.5rem;
  border-radius: 10px;
  display: inline-block;
  width: 100%;
  max-width: 750px;
  color: var(--pure-white);
  font-size: 1.05rem;
}

/* =================================================================
   POR QUÉ ACROS
   =================================================================== */
.porque-acros {
  max-width: 1350px;
  margin: 3rem auto;
  padding: 4rem 1.5rem;
  text-align: center;
  background-color: var(--bg-red);
  border-radius: 16px;
  border: 2px solid var(--pure-white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.porque-grid article {
  background: var(--bg-red);
  border: 2px solid var(--pure-white);
  padding: 2.2rem 1.8rem;
  border-radius: 12px;
  text-align: left;
  color: var(--pure-white);
}

.porque-grid strong {
  font-size: 2.2rem;
  color: var(--pure-white);
  display: block;
  margin-bottom: 0.6rem;
  -webkit-text-stroke: 1px var(--pure-black);
}

/* =================================================================
   SALA DE VENTAS (CATÁLOGO DE TELEVISORES)
   =================================================================== */
.sales {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

#grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.2rem;
  margin-top: 3rem;
  align-items: stretch;
}

#grid > div,
#grid .product-card,
#grid article {
  background-color: #111111 !important;
  border: 2px solid var(--pure-white) !important;
  border-radius: 12px !important;
  padding: 1.6rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  text-align: left !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important;
}

#grid img {
  width: 100% !important;
  height: 240px !important;
  object-fit: contain !important;
  background-color: #000000 !important;
  border-radius: 8px !important;
  padding: 0.6rem !important;
  margin-bottom: 1.2rem !important;
  border: 1px solid var(--border-white);
}

#grid h3, #grid h4 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--pure-white) !important;
  margin-bottom: 0.6rem !important;
}

#grid p {
  font-size: 0.95rem !important;
  color: #dddddd !important;
  margin-bottom: 1.2rem !important;
  flex-grow: 1 !important;
}

#grid .price, #grid .precio {
  font-size: 1.4rem !important;
  font-weight: 900 !important;
  color: #ff6666 !important;
  margin-bottom: 1.2rem !important;
}

#grid button, #grid a.btn-comprar {
  display: block !important;
  width: 100% !important;
  background-color: var(--pure-white) !important;
  color: var(--pure-black) !important;
  border: 2px solid var(--pure-black) !important;
  padding: 0.8rem !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  text-align: center !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}

/* =================================================================
   CONTACTO Y MAPA
   =================================================================== */
.contact {
  max-width: 1150px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.contact-card {
  background: var(--bg-red);
  border: 2px solid var(--pure-white);
  border-radius: 16px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  .contact-card {
    flex-direction: row;
    text-align: left;
    padding: 3.5rem;
  }
}

.contact-card img {
  max-width: 100%;
  width: 405px;
  height: auto;
  background: transparent !important;
  border-radius: 50%;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.contact-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  color: var(--pure-white);
}

@media (min-width: 768px) {
  .contact-copy {
    align-items: flex-start;
  }
}

.contact-kicker {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--pure-white);
  font-weight: 900;
  text-transform: uppercase;
}

.contact-brand {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--pure-white);
}

.contact-copy h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--pure-white);
}

.contact-hours {
  background: var(--bg-red);
  border: 1px solid var(--pure-white);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  width: 100%;
  max-width: 380px;
  color: var(--pure-white);
}

.whatsapp-contact {
  background-color: #25D366 !important;
  color: var(--pure-white) !important;
  margin-top: 0.5rem;
  border: 2px solid var(--pure-black) !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 30px !important;
  font-size: 1.05rem !important;
}

.contact-map {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--pure-white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =================================================================
   FOOTER Y BOTÓN FLOTANTE WHATSAPP
   =================================================================== */
footer {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--bg-black);
  border-top: 3px solid var(--bg-red);
  font-size: 0.95rem;
  color: var(--pure-white);
  margin-top: 4rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366 !important;
  color: var(--pure-white) !important;
  padding: 0.8rem 1.3rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  text-decoration: none;
  font-weight: bold;
  z-index: 9999;
  border: 2px solid var(--pure-white);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.wa-icon {
  font-size: 1.4rem;
}
.wa-text {
  font-size: 0.95rem;
}

/* =================================================================
   MODAL DE IMÁGENES
   =================================================================== */
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

#modal img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  border: 3px solid var(--pure-white);
}

#modal button {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--bg-red);
  color: var(--pure-white);
  border: 2px solid var(--pure-white);
  font-size: 2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
}

/* =================================================================
   MEJORAS ADAPTATIVAS (RESPONSIVE DESIGN PARA MÓVILES Y TABLETS)
   =================================================================== */
@media (max-width: 768px) {
  .top-header {
    position: relative !important;
    padding: 0.8rem 1rem;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .header-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 0.8rem;
  }

  .header-whatsapp {
    width: auto;
    text-align: center;
  }

  /* ELIMINAMOS O REDUCIMOS EL STROKE EN MÓVILES PARA EVITAR DISTORSIÓN DE LETRAS */
  .hero-content h1, 
  .title h2, 
  .hero-content h1 span {
    -webkit-text-stroke: 0px transparent !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important; /* Reemplazamos el borde pesado por sombra limpia */
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  #grid {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }

  .contact-card {
    padding: 2rem 1rem;
  }

  .contact-card img {
    width: 240px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 0.6rem 1rem;
  }

  .wa-text {
    display: none; 
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #grid {
    grid-template-columns: repeat(2, 1fr);
  }
}