/* ====== RESET GLOBAL ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f0f4f8; color: #2d3748; line-height: 1.6; overflow-x: hidden; }
.hidden { display: none !important; }

strong {
  font-family: "Raleway", sans-serif;
  font-weight: 700; 
}
/* ====== DESKTOP WARNING ====== */
.desktop-screen {
  display: flex; 
  align-items: center; 
  justify-content: center;
  min-height: 100vh; 
  background: url(./images/bgHomeD.png) center bottom no-repeat;
  background-size: cover;
  color: white; 
  text-align: center; 
  padding: 20px;
}
.warning-content {
  width: 456px;
  height: 581px;
  background: url(./images/bgInfoHomeD.png) center no-repeat;
  padding: 0px 48px;
  padding-top: 45px;
  position: relative;
}

.warning-content .logo {
  background-image: url(./images/logoD.png);
  height: 78px !important;
  position: initial;
  left: 0;
  right: 0;
  margin: 20px auto;
}

.desktop-title {
  color: #004876;
  font-family: "Lato", sans-serif;
  font-size: 24px !important;
  line-height: 26px !important;
}

.desktop-text {
  max-width: 270px;
  color: #000;
  font-size: 16px !important;
  line-height: 18px !important;
  margin: 0px auto !important;
  margin-top: 15px !important;
}

.desktop-redes {
  margin-top: 20px;
}

.desktop-itemRed {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: url(./images/icoFacebook.png) center no-repeat;
  margin: 0px 20px;
}

.desktop-itemRed-Instagram {
  background-image: url(./images/icoInstagram.png);
}

.desktop-itemRed-Tiktok {
  background-image: url(./images/icoTiktok.png);
}

.desktop-itemRed-Whatsapp {
  background-image: url(./images/icoWhatsapp.png);
}

.desktop-itemRed:hover {
  transform: translateY(-5px);
}

.warning-content h1 { font-size: 28px; margin: 16px 0; }
.warning-content p { font-size: 16px; opacity: 0.9; margin: 8px 0; }
#qrcode { margin: 24px auto; width: 160px; height: 160px; background: white; padding: 10px; border-radius: 12px; }
.warning-content button {
  background: white; color: #1e40af; border: none; padding: 12px 24px;
  border-radius: 8px; font-weight: 600; cursor: pointer; margin-top: 16px;
}

/* ====== MOBILE APP ====== */
.mobile-app {
  max-width: 100%; margin: 0 auto; background: #f0f4f8;
  min-height: 100vh; display: flex; flex-direction: column;
  position: relative;
}

/* ====== HEADER (SOBRE EL SLIDER) ====== */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 20px 24px 16px;
  display: flex; justify-content: space-between; align-items: center;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.header > * { pointer-events: all; }

.logo { 
  width: 178px;
  height: 74px;
  background: url(./images/logo.png) center no-repeat;
  background-size: cover;
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  margin: 0px auto;
 }

 .logo span { 
  display: none;
 }


.familia { font-size: 14px; color: white; font-weight: 600; letter-spacing: 0.5px; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.endor { font-size: 28px; color: white; font-weight: 700; position: relative; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.endor::after { content: '∞'; position: absolute; right: -18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: white; }
.menu-btn { 
    background: none;
    border: 0px;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }

/* ====== SIDEBAR MENÚ ====== */
.sidebar {
    position: fixed;
    top: 0;
    right: -1600px;
    width: 100%;
    height: 100vh;
    background: rgba(61, 61, 61, 0.2);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
}
.sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.close-btn { 
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #ffffff;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 8px; }
.nav-link {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { background: #004876; color: white; }

/* ====== OVERLAY ====== */
.overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transition: all 0.3s; z-index: 999;
}
.overlay.active { opacity: 1; visibility: visible; }

/* ====== SLIDER: FONDO COMPLETO DE PANTALLA ====== */
.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px 24px 60px;
  color: white;
  text-align: center;
}

/* CORRECCIÓN PARA CENTRADO PERFECTO DEL VIDEO */
.slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* Asegurar que el poster se vea centrado */
.slide-video[poster] {
  object-fit: cover;
  object-position: center;
  background-position: center center;
  background-size: cover;
}

/* Oscurecer video para legibilidad */
.slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
  z-index: 1;
}

.play-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
}
.play-btn {
  pointer-events: all;
  background: rgba(255,255,255,0.2);
  border: 3px solid white;
  border-radius: 50%;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.play-btn:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }

.slide-content {
  position: relative;
  z-index: 3;
}
.slide .title {
  font-family: "Raleway", sans-serif !important;
  font-size: 32px !important; 
  font-weight: 700 !important; 
  margin-bottom: 12px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  line-height: 34px;
}
.slide .subtitle {
  color: #fff !important;
  font-family: "Lato", sans-serif !important;
  font-size: 18px !important; 
  line-height: 20px !important; 
  margin-bottom: 24px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.slide .subtitle strong {
  color: #fff !important;
}

.btn-primary {
  font-family: "Raleway", sans-serif;
  background: #004876; 
  color: white; border: none; border-radius: 12px;
  padding: 16px; font-size: 17px; 
  font-weight: 700;
  width: 100%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(30,64,175,0.4);
  transition: background 0.2s;
  text-decoration: none;
}
.btn-primary:hover { 
  background: #003353;
}
.btn-primary::after { 
  content: '>'; 
  font-weight: 400 !important;
  margin-left: 15px;
}

/* Flechas */
.arrow {
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%);
  background: none; 
  border: none;
  cursor: pointer;
  z-index: 4; 
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px); 
  transition: all 0.3s ease;
  padding: 0;
  overflow: hidden;
}

.arrow:hover {
  background: none;
  transform: translateY(-50%) scale(1.1);
  border-color: white;
}

.arrow-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Hace la flecha blanca si es oscura */
  transition: transform 0.2s;
}

.arrow:hover .arrow-img {
  transform: scale(1.15);
}

.left { left: 16px; }
.right { right: 16px; }

/* Indicadores */
.indicators {
  position: absolute; 
  bottom: 20px; 
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.indicator {
  width: 30px; 
  height: 6px; 
  background: rgba(255,255,255,0.5);
  border-radius: 2px; 
  transition: background 0.3s;
}
.indicator.active { background: white; }

/* ====== PANTALLA 2: DESCRIPCIÓN ====== */
.section-hero { 
  background: url(./images/bgSeccion1.png) center bottom no-repeat;
  background-size: cover ;
  padding: 24px; 
  text-align: center; 
  padding-bottom: 300px;
}
.section-logo { 
  width: 184px;
  height: 78px;
  background: url(./images/logoI.png) center no-repeat;
  background-size: cover;
  left: 0;
  right: 0;
  margin: 0px auto;
  margin-top: 40px;
  margin-bottom: 50px;
 }
 .section-logo span { 
    display: none;
 }

.title-lg { 
  font-family: "Raleway", sans-serif;
  font-size: 32px; 
  font-weight: 700; 
  color: #1a365d; 
  margin-bottom: 16px; 
  line-height: 34px; 
}
.subtitle { 
  font-family: "Lato", sans-serif;
  font-size: 18px; 
  color: #1D252C; 
  margin-bottom: 30px; 
  line-height: 20px; 
}

.subtitle strong {
  color: #004876; 
  font-family: "Lato", sans-serif;
}
.support-text { 
  color: #1D252C;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 20px;  
  margin: 28px 0; 
  line-height: 22px; 
}
.team-images { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 32px 0; }
.team-images img { width: 48px; height: 48px; border-radius: 50%; border: 3px solid white; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.section-benefits { padding: 32px 24px; text-align: center; background: white; }
.title-xl { 
  font-family: "Raleway", sans-serif;
  font-size: 36px; 
  font-weight: 400; 
  color: #004876; 
  line-height: 38px;
  margin-top: 15px;
  margin-bottom: 12px; 
}
.title-xl strong { 
  font-weight: 800; 
}

.subtitle-md { 
  font-family: "Raleway", sans-serif;
  font-size: 28px; 
  color: #004876; 
  font-weight: 700;
  line-height: 30px;
  margin-bottom: 16px; 
}
.text { 
  font-family: "Lato", sans-serif;
  font-size: 18px; 
  color: #4a5568; 
  line-height: 20px; 
  font-weight: 400;
  margin-bottom: 32px; 
}

.text span { 
  color: #004876;
}
.info-card { 
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 16px; 
  font-weight: 400;
  line-height: 18px;
  background: #3A90C7; 
  padding: 20px; 
  padding-top: 40px;
  border-radius: 16px; 
  position: relative; 
}
.icon-speech { 
  position: absolute; 
  top: -16px; 
  left: 50%; 
  transform: translateX(-50%); 
  background: #004876 url(./images/icoPremium.png) center no-repeat; 
  color: white; 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 20px; 
}

.benefits-title {
  font-family: "Raleway", sans-serif;
  font-size: 24px; 
  color: #004876; 
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  padding: 0px 10px;
}

.benefits-list {
    background: #fff;
    padding: 10px 24px; 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
  }
.benefit-item { background: #D5DCE3; padding: 20px; border-radius: 16px; }
.benefit-item .icon { 
  width: 40px; height: 40px; 
  background: #004876 url(./images/icoS1.png) center no-repeat; 
  color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; 
  font-size: 20px;
  float: left; 
}
.benefit-item .icon.ico2 { 
   background-image: url(./images/icoS2.png);
}
.benefit-item .icon.ico3 { 
   background-image: url(./images/icoS3.png);
}
.benefit-item .icon.ico4 { 
   background-image: url(./images/icoS4.png);
}
.benefit-info {
  max-width: 300px;
  max-width: 78%;
  margin-left: 20px;
  float: left;
}
.benefit-item h4 { 
  font-family: "Raleway", sans-serif;
  font-size: 18px; 
  font-weight: 700; 
  color: #004876; 
  margin-bottom: 12px; 
  line-height: 20px;
  padding-top: 5px;
}
.benefit-item ul { 
  list-style: none; 
  font-family: "Lato", sans-serif;
  font-size: 16px; 
  font-weight: 400;
  color: #1D252C;
  line-height: 20px; 
}
.benefit-item li { 
  position: relative; 
  padding-left: 20px; margin: 6px 0; 
}
.benefit-item li::before { 
  content: '✓'; 
  position: absolute; 
  left: 0; 
  color: #216D4E; 
  font-weight: bold; 
}

.join-text { 
  text-align: center;
  padding: 32px 24px;
  font-size: 18px;
  color: #1F1F1F;
  line-height: 20px;
  /* margin: 32px 0; */
  background: #fff;
 }

.join-text strong { 
  font-family: "Lato", sans-serif;
  color: #004876;
}

.benefits-btn {
  width: 80%;
  font-size: 24px;
  margin: 20px auto;
  margin-bottom: 60px;
}

.bg-image { 
  height: 326px; 
  background: url(./images/bgCreer.png) center top no-repeat; 
  background-size: cover;
  position: relative; 
  margin: 40px 0; 
  margin-bottom: 0px;
}

.overlay-img {
  text-align: center;
  margin-bottom: 10px;
}
.overlay-text { 
  position: absolute; 
  bottom: 20%; 
  color: white; 
  text-align: center;
}
.overlay-text h2 { 
  font-family: "Raleway", sans-serif;
  font-size: 24px; 
  font-weight: 700; 
  line-height: 26px;
  margin-bottom: 8px; 
  padding: 0px 20px;
}
.overlay-text p { 
  max-width: 330px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  margin: 0px auto;
  margin-top: 20px;
}

.section-empresario {
  text-align: center;
  background: #D5DCE3;
  padding: 90px 0px;
}

.section-empresario-center {
  padding: 0px 50px;
}

.section-empresario .title-xl {
  font-size: 32px;
  font-weight: 500px;
  line-height: 42px;
  margin-bottom: 60px;
}

.section-empresario .title-xl  strong {
  font-size: 36px;
  color: #1D252C;
  font-weight: 800;
}

.section-empresario .subtitle {
  color: #1D252C;
  font-family: "Raleway", sans-serif;
  font-size: 24px; 
  font-weight: 700; 
  line-height: 26px;
}


.section-empresario .subtitle span {
  color: #004876;
}

.section-empresario .text {
  color: #1F1F1F;
}
.section-empresario .text strong {
  font-family: "Lato", sans-serif;
}

.testimonials { 
  display: flex; 
  overflow-x: auto; 
  gap: 16px; 
  padding: 20px 24px; 
  margin-bottom: 40px;
}
.testimonial { 
  min-width: 280px; 
  background: white; 
  border-radius: 16px; 
  text-align: center; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}
.testimonial img { 
  width: 100%;
  border-radius: 1em 1em 0px 0px;
  margin-bottom: 12px;
}
.testimonial-name { 
  font-family: "Raleway", sans-serif;
  font-weight: 700; 
  font-size: 20px;
  line-height: 22px;
  color: #004876; 
  margin-top: 20px;
}
.testimonial-quote { 
  max-width: 250px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #4a5568;
  margin: 0px auto;
  margin-top: 8px;
  margin-bottom: 20px;
  line-height: 18px;
}

.testimonial-btn {
  width: 85%;
  font-size: 24px;
  margin: 0px auto;
}

.footer { 
  padding: 40px 24px; 
  padding-top: 140px;
  background: url(./images/bgFooter.png) center no-repeat;
  background-size: cover; 
  color: white; 
  text-align: center; }
.logo-footer .familia { font-size: 14px; }
.logo-footer .endor { font-size: 28px; color: white; }
.footer h3 { 
  font-family: "Raleway", sans-serif;
  font-size: 24px; 
  font-weight: 700;
  line-height: 26px;
  margin: 16px 0; 
  margin-top: 40px;
}
.footer p { 
  max-width: 325px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin: 12px auto;
  line-height: 18px;
}

.btn-footer {
    font-family: "Raleway", sans-serif;
    background: #D5DCE3;
    color: #004876;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 24px;
    font-weight: 700;
    width: 62%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
    margin: 0px auto;
    margin-top: 40px;
    text-decoration: none;
}
.btn-footer:hover { 
  color: #fff;
  background: #003353;
}
.btn-footer::after { 
  content: '>'; 
  font-weight: 400 !important;
  margin-left: 15px;
}

.footer .desktop-redes {
  margin: 60px 0px;
}

.footer .desktop-itemRed {
  background-image: url(./images/icoInstagramF.png);
}

.footer .desktop-itemRed.Ln {
  background-image: url(./images/icoLnF.png);
}

.footer-contacto {
  max-width: 250px;
  text-align: left;
  margin: 0px auto;
}

.social { display: flex; justify-content: center; gap: 20px; margin: 20px 0; font-size: 24px; }
.location, .email { 
  color: #fff;
  display: block;
  font-size: 14px; 
  margin: 8px 0; 
  opacity: 0.9; 
  text-decoration: none;
}

.location, .email { 
  background: url(./images/icoEmail.png) center left no-repeat;
  padding-left: 35px;
}

.location { 
  background-image: url(./images/IcoUbicacion.png);
}


.location:hover, .email:hover { 
  text-decoration: underline;
}

/* ====== PANTALLA 3: CONTACTO ====== */
.main { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  background: #fff;
}
.title { 
  font-family: "Raleway", sans-serif;
  font-size: 28px; 
  font-weight: 700; 
  color: #fff; 
  margin-bottom: 20px; 
  line-height: 1.3; 
}
.contacto-description { 
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px; 
  color: #1D252C; 
  text-align: center;
  margin-bottom: 32px; 
  line-height: 18px; 
}

.form { display: flex; flex-direction: column; gap: 16px; }
.input-group input {
    width: 100%;
    color: #444746;
    padding: 13px 20px;
    font-size: 16px;
    border: 1px solid #444746;
    border-radius: 8px;
    background: white;
    transition: all 0.2s;
}
.input-group input:focus {
  outline: none; border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.input-group input::placeholder { color: #444746; }

.final-block { 
  margin-top: 22px; 
  text-align: center; 
}
.final-title { 
  max-width: 330px;
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #004876;
  margin: 0px auto;
  margin-bottom: 30px;
  line-height: 22px;
}
.final-text { 
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px; 
  color: #1D252C; 
  line-height: 18px; 
  margin-bottom: 24px; 
}

.submit-btn {
  width: 100%; 
  padding: 16px; 
  background: #004876; 
  color: white;
  border: none; 
  border-radius: 12px; 
  font-size: 24px; 
  font-weight: 700;
  cursor: pointer; 
  transition: background 0.2s;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
  margin-top: 40px;
}
.submit-btn::after { 
  content: '>'; 
  font-weight: 400; 
  margin-left: 15px;
}
.submit-btn:active { background: #1e3a8a; }

/* Responsive adjustments */
@media (max-width: 480px) {
  .slide .title { 
    font-size: 26px; 
    line-height: 28px; 
  }
  .slide .subtitle { 
    font-size: 17px; 
    line-height: 19px; 
  }
  .play-btn { width: 60px; height: 60px; }
}

/* ====== SLIDER DE TESTIMONIOS CON PEEK ====== */
.testimonials-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px 0;
  padding: 0 40px; /* Espacio para peek */
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  padding: 0 20px; /* Centrado interno */
}

.testimonial-slide {
  flex: 0 0 calc(100% - 80px); /* Ancho central: 100% - 40px peek cada lado */
  max-width: 320px;
  margin: 0 auto;
}

/* Gradientes de peek */
.testimonials-slider-container::before,
.testimonials-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  /* background: linear-gradient(to right, rgba(213,220,227,1), transparent); */
}

.testimonials-slider-container::after {
  right: 0;
  /* background: linear-gradient(to left, rgba(213,220,227,1), transparent); */
}

.testimonial {
  background: white;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.testimonial-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* Peek: mostrar un pedacito del slide anterior/siguiente */
.testimonials-slider-container::before,
.testimonials-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials-slider-container::before {
  left: 0;
}

.testimonials-slider-container::after {
  right: 0;
}

/* Flechas */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.testimonial-arrow:hover {
  background: #004876;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow:hover svg {
  stroke: white;
}

.testimonial-arrow-left {
  left: 10px;
}

.testimonial-arrow-right {
  right: 10px;
}

.testimonial-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #004876;
  transition: stroke 0.3s;
}








.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 95%;
  height: 95%;
  max-width: 1200px;
  background: black;
  border-radius: 12px;
  overflow: hidden;
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

#modalVideo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}



.slide-content-fixed {
  position: absolute;
  bottom: 60px;
  bottom: 10%;
  left: 0;
  right: 0;
  padding: 0 24px;
  color: white;
  text-align: center;
  z-index: 3;
  pointer-events: none;
}

.slide-content-fixed > * {
  pointer-events: all;
}

.slide-content-fixed .title {
  font-family: "Raleway", sans-serif !important;
  font-size: 32px !important; 
  font-weight: 700 !important; 
  margin-bottom: 12px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  line-height: 34px;
}

.slide-content-fixed .subtitle {
  color: #fff !important;
  font-family: "Lato", sans-serif !important;
  font-size: 18px !important; 
  line-height: 20px !important; 
  margin-bottom: 24px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.slide-content-fixed .subtitle strong {
  color: #fff !important;
}

.slide-content-fixed .btn-primary {
  font-family: "Raleway", sans-serif;
  background: #004876; 
  color: white; 
  border: none; 
  border-radius: 12px;
  padding: 16px; 
  font-size: 17px; 
  font-weight: 700;
  width: 100%; 
  cursor: pointer;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px;
  box-shadow: 0 4px 12px rgba(30,64,175,0.4);
  transition: background 0.2s;
  text-decoration: none;
  max-width: 400px;
  margin: 0 auto;
}

.slide-content-fixed .btn-primary:hover { 
  background: #003353;
}

.slide-content-fixed .btn-primary::after { 
  content: '>'; 
  font-weight: 400 !important;
  margin-left: 15px;
}

/* Ajustes responsive para el contenido fijo */
@media (max-width: 480px) {
  .slide-content-fixed .title { 
    font-size: 26px !important; 
    line-height: 28px !important; 
  }
  .slide-content-fixed .subtitle { 
    font-size: 17px !important; 
    line-height: 19px !important; 
  }
  .slide-content-fixed {
    bottom: 50px;
    bottom: 10%;
    padding: 0 20px;
  }
}

/* ====== BOTONES DE PLAY EN TESTIMONIOS ====== */
.testimonial-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1em 1em 0px 0px;
}

.testimonial-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1; /* Cambiado de 0 a 1 para que sea siempre visible */
  transition: all 0.3s ease;
  border-radius: 1em 1em 0px 0px;
}

/* Opcional: Si quieres que se vea más al hacer hover */
.testimonial-image-container:hover .testimonial-play-overlay {
  background: rgba(0, 0, 0, 0.5); /* Oscurecer más al pasar el mouse */
}

.testimonial-play-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.testimonial-play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Asegurar que las imágenes de testimonios mantengan su estilo */
.testimonial img {
  width: 100%;
  border-radius: 1em 1em 0px 0px;
  margin-bottom: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.testimonial-play-btn:hover {
  transform: scale(1.05);
}


.section-logo.contacto { 
  margin-top: 80px;
 }

 .main.contacto { 
  background: #fff url(./images/bgFormulario.jpg) center no-repeat;
  background-size: cover;
  padding: 0px 33px;
  padding-bottom:50px;
}

.title.contacto {
  color: #004876;
  text-align: center;
  line-height: 30px;
}

.gracias-img {
  margin-bottom: 45px;
}

.gracias-title {
  color: #004876;
  font-size: 28px;
  line-height: 33px;
  margin-bottom: 50px;
}

.gracias-text {
  font: 16px "Lato", sans-serif;
  font-weight: 400;
  line-height: 20px;
  padding: 0px 10px;
  margin-bottom: 50px;
}

.gracias .desktop-itemRed {
  background-image: url(./images/icoInstragramGracias.png) !important;
}

.gracias .desktop-itemRed.Ln {
  background-image: url(./images/icoLnGracias.png) !important;
}



/* Ocultar por defecto */
#mobile-app,
#desktop-warning {
  display: none;
}

/* --- MÓVIL Y TABLET (≤768px) --- */
@media (max-width: 768px) {
  #mobile-app {
    display: block;
  }
  #desktop-warning {
    display: none;
  }
}

/* --- ESCRITORIO (>768px) --- */
@media (min-width: 769px) {
  #mobile-app {
    display: none;
  }
  #desktop-warning {
    display: flex;
  }

  /* Asegurar que el contenedor del QR exista en escritorio */
  #qrcode {
    margin: 1.5rem auto;
  }
}