/* =================================
   INTER – CONFIGURACIÓN COMPLETA
================================= */

@font-face {
  font-family: "Inter";
  src: url("/innova-web/assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/innova-web/assets/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/innova-web/assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/innova-web/assets/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* =================================
   VARIABLES
================================= */
:root {
  --primary: #111827;
  --accent: #c2185b;
  --accent-hover: #a3154c;
  --accent-soft: #fce7f3;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #6b7280;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =================================
   RESET
================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  padding-top: 129px;

  background-color: #ffffff;

  background-image:
  url("data:image/svg+xml,%3Csvg width='55' height='55' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c2185b' stroke-width='1' stroke-opacity='0.05'%3E%3Crect x='22' y='22' width='11' height='11' transform='rotate(45 27.5 27.5)'/%3E%3C/g%3E%3C/svg%3E");

  background-repeat: repeat;
}



h1, h2, h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}
/* TITULOS */
h1 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

h2 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.3px;
  margin-bottom: 22px;
}

h3 {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  margin-bottom: 14px;
}

/* MENÚ Y BOTONES */
.redes-header a,
.btn-servicio,
.btn-volver {
  font-family: "Inter", sans-serif;
  font-weight: 500;
}

p {
  font-size: 17px;
  line-height: 1.8;
  color: #374151; /* gris elegante */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}


/* =================================
   HEADER
================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(217, 140, 164, 0.40);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: 0.3s ease;
}

.main-header.shrink {
  padding: 5px 0;
}

.header-container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 55px;
  display: block;
  transition: 0.3s ease;
}

.main-header.shrink .logo img {
  height: 45px;
}

/* =================================
   TOP BAR
================================= */
.top-bar {
  position: fixed;
  top: 95px;
  width: 100%;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 6px 0;
  font-size: 14px;
  z-index: 999;
}

/* =================================
   REDES
================================= */
.redes-header {
  display: flex;
  gap: 15px;
}

.red {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s ease;
}

.red:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.facebook:hover { background: #1877f2; color: white; }
.instagram:hover { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color: white; }
.whatsapp:hover { background: #25d366; color: white; }

/* =================================
   SLIDER FADE
================================= */

.slider {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 40px;
  left: 50px;
  color: white;
  max-width: 500px;
}

/* =================================
   INICIO (SOLUCIÓN DEFINITIVA)
================================= */

#inicio .container {
  display: flex;
  gap: 40px;
  align-items: stretch; /* CLAVE */
  margin-top: 60px;
}

/* Ambas columnas iguales */
.inicio-img,
.inicio-box {
  flex: 1;
}

/* Imagen */
.inicio-img {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
}

.inicio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tarjeta */
.inicio-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* Beneficios */
.inicio-beneficios {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}


.inicio-beneficio {
  display: flex;
  gap: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  align-items: flex-start;
}

.inicio-beneficio:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}


.beneficio-icono {
  width: 50px;
  height: 50px;
  background: rgba(194, 24, 91, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beneficio-icono i {
  font-size: 20px;
  color: var(--accent);
}

.inicio-beneficio:hover .beneficio-icono {
  background: var(--accent);
}

.inicio-beneficio:hover .beneficio-icono i {
  color: white;
}



.inicio-beneficio h4 {
  margin: 0 0 6px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
}

.inicio-beneficio p {
  margin: 0;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
  #inicio .container {
    flex-direction: column;
  }
}



/* =================================
   HORARIOS CON IMAGEN DERECHA
================================= */

#horarios-section .container {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin: 80px auto;
}


.horarios-box {
  flex: 1;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.horarios-img {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
}

.horarios-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 900px) {
  .horarios-html {
    flex-direction: column;
  }


}





.inicio-img {
  border-radius: 20px;
  overflow: hidden;
}

.inicio-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}


.inicio-box {
  flex:1;
  display: flex;
flex-direction: column;
justify-content: flex-start;
  align-self: flex-start;
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #fff6fa);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {

  #inicio .container {
    flex-direction: column;
  }

}

/* =================================
   HORARIOS BOX
================================= */

.horarios-contenido {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.icono-reloj {
  font-size: 50px;
  color: var(--accent);
  background: rgba(194, 24, 91, 0.08);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.horarios-texto h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.horarios-texto h3::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--accent);
  display: block;
  margin-top: 10px;
  border-radius: 2px;
}

.horarios-box {
  background: linear-gradient(145deg, #ffffff, #fff6fa);
  padding: 40px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  border: 1px solid rgba(194, 24, 91, 0.08);
}

.horarios-box ul {
  list-style: none;
  padding: 0;
  margin: 0 -90px; /* 🔥 permite que el li se expanda */
}

.horarios-box li {
  background: white;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.6;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  transition: 0.25s ease;
}

.horarios-box li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 25px rgba(0,0,0,0.08);
}


.horarios-box strong {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  display: block;
}

.horarios-box li br {
  display: none;
}

.horarios-box li span {
  display: block;
  font-size: 15px;
  color: var(--gray);
}


/* =================================
   SERVICIOS
================================= */
/* =================================
   ANIMACIONES SERVICIOS
================================= */

.anim-enter {
  animation: fadeInUp 0.45s ease forwards;
}

.anim-exit {
  animation: fadeOutDown 0.35s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(25px); }
}


#servicios {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
}


.titulo-seccion {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  position: relative;
}


.titulo-seccion::after {
  content: "";
  width: 70px;
  height: 3px;
  background: var(--accent);
  display: block;
  margin: 15px auto 0;
}




.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}
@media (max-width: 1024px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}



.servicio-box {
  padding: 25px 20px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--white);
  box-shadow: 0 5px 18px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}



.servicio-box h3 {
  margin: 0 0 15px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.servicio-icono {
  font-size: 38px;
  margin-bottom: 15px;
  color: var(--accent);
}

.servicio-box:hover {
transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.btn-servicio {
  display: inline-block;
  margin-top: 10px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-servicio:hover {
  background: var(--accent-hover);
}

/* =================================
   DETALLE SERVICIO
================================= */
.servicio-detalle {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 40px auto;
  max-width: 900px;
}

.hallazgos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}

.hallazgos-grid li {
  background: var(--accent-soft);
  padding: 12px;
  border-radius: 10px;
}

.btn-volver {
  display: inline-block;
  margin-top: 30px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

/* =================================
   NOSOTROS
================================= */
/* =================================
   NOSOTROS COMO TARJETA PREMIUM
================================= */

.nosotros-section {
  max-width: 1100px;
  margin: 100px auto 60px auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.nosotros-card {
  background: #ffffff;
  padding: 50px;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  max-width: 750px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
}

.nosotros-card h2 {
  margin-top: 0;
}

.btn-contacto {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-contacto:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* =================================
   DIVIDER
================================= */
.divider-animada {
  margin: 70px auto;
  width: 100%;
  max-width: 460px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

/* =================================
   INFO FINAL
================================= */
.info-final {
  margin: 60px 0;
  text-align: center;
  color: var(--gray);
}

/* =================================
   FOOTER
================================= */
footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 25px;
}

/* =================================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
  .inicio-container,
  .nosotros-container {
    flex-direction: column;
  }

  .slider {
    height: 240px;
  }

  .slide-content {
    left: 20px;
    bottom: 20px;
  }
}

/* =================================
   NOSOTROS SOLO
================================= */

#nosotros .container {
  display: flex;
  justify-content: center;
  margin: 100px auto 60px auto;
}


.nosotros-content {
  max-width: 700px;
  margin: auto;
}

/* =================================
   UBICACIÓN (IMAGEN + MAPA)
================================= */

.ubicacion-section .container {
  display: flex;
  gap: 40px;
  align-items: stretch;
  margin: 80px auto;
}


.ubicacion-img,
.ubicacion-mapa {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}

.ubicacion-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ubicacion-mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  filter: grayscale(10%) contrast(1.05);
}


/* Responsive */
@media (max-width: 900px) {
  .ubicacion-html {
    flex-direction: column;
  }

  .ubicacion-img,
  .ubicacion-mapa {
    height: 300px;
  }
}

/* ================================
   STAGGERED FADE
================================ */

.fade-stagger {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}
