@charset "UTF-8";
/* ===========================
   Quiero+ ? style.css (Optimizado)
   - Unifica header duplicado
   - Centraliza colores y layout
   - Reduce !important
   - Corrige duplicidad WhatsApp mobile
=========================== */

/* ---------- Variables ---------- */
:root{
  --q-max: 1440px;
  --q-pad: 5%;
  --q-white: #ffffff;
  --q-black: #111111;

  --q-pink: #e91e63;     /* base */
  --q-pink-2: #D73A84;   /* rosa mockup */
  --q-purple: #7B4D99;   /* morado */
  --q-purple-2: #8e24aa; /* morado alt */

  --q-muted: #666666;
  --q-border: #D9D9D9;

  --shadow-soft: 0 10px 25px rgba(0,0,0,0.05);
  --shadow-mid: 0 15px 35px rgba(0,0,0,0.30);
  --shadow-strong: 0 18px 60px rgba(0,0,0,0.25);
}

/* ---------- Reset ---------- */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html, body{
  width: 100%;
  overflow-x: hidden;
  background: var(--q-white);
}

img{ max-width: 100%; height: auto; }

/* ---------- Layout Helpers ---------- */
.q-container{
  max-width: var(--q-max);
  margin: 0 auto;
  width: 100%;
}

/* ===========================
   HEADER (UNIFICADO)
=========================== */
header{
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px var(--q-pad);
  width: 100%;
  max-width: var(--q-max);
  margin: 0 auto;

  position: fixed;
  top: 0;

  left: 50%;
  transform: translateX(-50%);

  background: var(--q-white);
  z-index: 1000;

  box-shadow: none;
  overflow: hidden;
}

/* Mancha rosa decorativa */
header::after{
  content: "";
  position: absolute;
  top: -120px;
  right: -180px;
  width: 520px;
  height: 260px;
  background: #FAD1E6;
  border-radius: 0 0 0 100%;
  z-index: -1;
  pointer-events: none;
}

.logo{
  font-size: 30px;
  font-weight: 900;
  color: #1a1a1a;
}
.logo span{ color: var(--q-pink); }

.main-nav a{
  text-decoration: none;
  color: var(--q-pink);
  margin: 0 15px;
  font-weight: 700;
  font-size: 14px;
}

.btn-ingresar{
  background: var(--q-pink);
  color: var(--q-white);
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* ===========================
   HERO
=========================== */
.hero{
  background-image: url('img/fondo_parte01.png');
  background-size: 110%;
  background-position: center left;
  background-repeat: no-repeat;
  background-color: var(--q-white);

  height: 600px;
  width: 100%;
  max-width: var(--q-max);
  margin: 0 auto;

  display: flex;
  align-items: center;
  padding: 0 var(--q-pad);

  position: relative;
  border: none;

  margin-top: 80px; /* para header fijo */
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--q-pink) 0%, #880e4f 100%);
  border-bottom-right-radius: 80% 35%;
  z-index: -1;
}

.hero-content{
  width: 40%;
  position: relative;
  z-index: 10;
}
.hero-content h1{
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 20px;
}
.hero-content h1 span{ font-style: italic; }

.hero-img{
  position: absolute;
  bottom: 0;
  left: 25%;
  height: 90%;
  z-index: 1;
}

/* Calculadora */
.calculator-card{
  background: #fdfdfd;
  padding: 30px;
  border-radius: 20px;
  width: 380px;
  margin-left: auto;
  box-shadow: var(--shadow-mid);
  z-index: 2;
  color: #333;
}

.calculator-card h3{ font-size: 14px; margin-bottom: 20px; }
.input-group{ margin-bottom: 20px; text-align: left; }
.input-group label span{ float: right; color: var(--q-pink); font-weight: 800; }

input[type=range]{ width: 100%; accent-color: var(--q-pink); }
input[type=range]::-webkit-slider-thumb{
  background: var(--q-pink);
  border: 2px solid var(--q-white);
  height: 18px;
  width: 18px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type=range]::-webkit-slider-runnable-track{
  width: 100%;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
}

.results{
  background: #e0e0e0;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.res-line{
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 13px;
}

.btn-solicitar{
  background: var(--q-pink);
  color: var(--q-white);
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: 800;
  margin-bottom: 10px;
  cursor: pointer;
}

a.btn-solicitar{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--q-white);
  line-height: 1;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  cursor: pointer;
}
a.btn-solicitar:hover{ color: var(--q-white); }

.btn-asesor{
  background: var(--q-white);
  border: 1px solid #ccc;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;

  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.legal{ font-size: 9px; color: #777; margin-top: 15px; }

/* ===========================
   INFO SECTION (fondo limitado)
=========================== */
.info-section{ padding: 0; background: transparent; }

.info-section > .container{
  max-width: var(--q-max);
  margin: 0 auto;
  padding: 80px var(--q-pad);
  background: #f9f9f9;
  box-sizing: border-box;
}

.section-title{
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.section-title span{ color: var(--q-pink); }
.section-subtitle{ color: var(--q-muted); margin-bottom: 50px; font-size: 0.9rem; }

.benefits-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}

.benefit-card{
  background: var(--q-white);
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.benefit-card:hover{ transform: translateY(-10px); }

.benefit-card h4{
  color: #6a1b9a;
  font-size: 0.9rem;
  margin-bottom: 20px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card p{
  font-size: 0.75rem;
  color: #777;
  line-height: 1.5;
}

/* Pasos */
.second-title{ margin-top: 40px; margin-bottom: 60px; }

.steps-container{
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 20px;
}

.steps-line{
  position: absolute;
  top: 55px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--q-pink);
  z-index: 1;
}

.step{
  flex: 1;
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

.step-number{
  width: 70px;
  height: 70px;
  background: var(--q-pink);
  color: var(--q-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto 20px;
  border: 5px solid #f9f9f9;
}
.step:nth-child(3) .step-number{ background: #d81b60; }
.step:nth-child(4) .step-number{ background: var(--q-purple-2); }
.step:nth-child(5) .step-number{ background: #5e35b1; }

.step h5{
  color: var(--q-pink);
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 900;
}
.step p{
  font-size: 0.75rem;
  color: var(--q-muted);
}

/* ===========================
   ABOUT QUIERO (mockup)
=========================== */
.about-quiero{ padding: 0; background: transparent; }

.about-wrap{
  width: 100%;
  max-width: var(--q-max);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  position: relative;

  background-image: url("img/fondo_parte02_sin_texto.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 18%;
  overflow: hidden;
}

.about-left{
  position: absolute;
  left: 6.5%;
  top: 10.5%;
  width: 34%;
  color: var(--q-white);
}

.about-title{
  font-size: clamp(28px, 2.4vw, 46px);
  line-height: 0.95;
  font-weight: 900;
  margin-bottom: 12px;
}
.about-title .plus{ color: #ff4aa0; font-weight: 900; }
.about-title .italic{ font-style: italic; font-weight: 900; }

.about-desc{
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.25;
  font-weight: 500;
  opacity: 0.95;
  max-width: 320px;
}

.about-right{
  position: absolute;
  left: 56%;
  top: 22%;
  width: 28%;
}

.about-block{ margin-bottom: clamp(10px, 1.2vw, 18px); }
.about-block h4{
  color: #ff4aa0;
  font-size: clamp(12px, 1.0vw, 14px);
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: 0.4px;
}
.about-block p{
  color: #6a6a6a;
  font-size: clamp(11px, 0.85vw, 13px);
  line-height: 1.25;
  font-weight: 500;
}

.about-circles{
  position: absolute;
  right: 6%;
  top: 18%;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5vw, 20px);
}

.circle{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}
.circle img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   QB SECTION (La banda Quiero+)
=========================== */
.qb-section{ padding: 0; background: transparent; }

.qb-bg{
  max-width: var(--q-max);
  margin: 0 auto;
  background: #3F6CB0;
}

.qb-container{
  padding: 60px var(--q-pad) 70px;
  text-align: center;
}

.qb-title{
  color: var(--q-white);
  font-weight: 900;
  font-size: 34px;
  margin: 0;
  line-height: 1.1;
}
.qb-italic{ font-style: italic; }
.qb-plus{ color: var(--q-pink-2); }

.qb-subtitle{
  margin: 12px 0 36px;
  color: var(--q-white);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.95;
}

.qb-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 28px;
  justify-items: center;
}

.qb-card{
  width: 260px;
  height: 170px;
  background: var(--q-white);
  border-radius: 10px;
  padding: 18px 18px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.qb-text{
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  color: #333;
  margin: 0;
}
.qb-pink{ color: var(--q-pink-2); font-weight: 800; }

.qb-footer{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.qb-avatar{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
}
.qb-avatar img{ width: 100%; height: 100%; object-fit: cover; }

.qb-name{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--q-purple);
}

/* ===========================
   FAQ
=========================== */
.faq-section{ padding: 70px 0 30px; }

.faq-container{
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--q-pad);
  text-align: center;
}

.faq-title{
  font-size: 30px;
  font-weight: 900;
  margin: 0 0 36px;
  color: var(--q-black);
}
.faq-title span{
  color: var(--q-pink-2);
  font-style: italic;
}

.faq-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item{
  border: 1px solid var(--q-border);
  border-radius: 10px;
  background: var(--q-white);
  text-align: left;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 800;
  font-size: 14px;
  color: var(--q-black);
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker{ display: none; }

.faq-item summary::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--q-purple);
  border-bottom: 3px solid var(--q-purple);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 250ms ease;
}

.faq-item summary:hover{ color: var(--q-purple); }

.faq-content{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease, opacity 300ms ease;
  opacity: 0;
}
.faq-content > p{
  overflow: hidden;
  margin: 0;
  padding: 0 18px 16px;
  color: var(--q-muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}
.faq-item[open] summary::after{ transform: translateY(-40%) rotate(225deg); }
.faq-item[open] .faq-content{ grid-template-rows: 1fr; opacity: 1; }

@media (prefers-reduced-motion: reduce){
  .faq-content,
  .faq-item summary::after{ transition: none; }
}

/* ===========================
   FOOTER
=========================== */
.q-footer{ padding: 0; background: transparent; }

.q-footer-bg{
  max-width: var(--q-max);
  margin: 0 auto;
  background: #F3F3F3;
}

.q-footer-container{
  padding: 70px var(--q-pad);
  box-sizing: border-box;
}

.q-footer-logo{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px 0;
}

.q-footer-logo-text{
  font-size: 42px;
  font-weight: 900;
  color: var(--q-black);
  line-height: 1;
}
.q-footer-plus{
  font-size: 42px;
  font-weight: 900;
  color: var(--q-pink-2);
  line-height: 1;
}

.q-footer-info p{
  margin: 3px 0;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  line-height: 1.25;
}

/* ===========================
   WhatsApp flotante
=========================== */
.wa-float{
  position: fixed;
  top: 98px;
  right: calc(max(30px, ((100vw - var(--q-max)) / 2) + 30px));

  width: 68px;
  height: 68px;
  border-radius: 50%;

  background: transparent;
  border: none;
  box-shadow: 0 18px 45px rgba(0,0,0,0);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 4000;
  text-decoration: none;

  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-img{
  width: 68px;
  height: 68px;
  display: block;
}

.wa-float:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.28);
}

.wa-tooltip{
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--q-black);
  color: var(--q-white);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  transition: opacity .18s ease, transform .18s ease;
}
.wa-tooltip::after{
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--q-black);
}
.wa-float:hover .wa-tooltip{
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

/* ===========================
   POPUP (Solicitud enviada)
=========================== */
.q-popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 9998;
}
.q-popup-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  background: var(--q-white);
  width: min(520px, 92vw);
  padding: 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 9999;
  text-align: center;
}
.q-popup-overlay.show{
  opacity: 1;
  pointer-events: auto;
}
.q-popup-modal.show{
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.q-popup-modal h3{ margin: 0 0 10px 0; }
.q-popup-modal p{ margin: 0 0 16px 0; }

/* ===========================
   Solicitud (form)
=========================== */
.solicitud-wrapper{
  min-height: 100vh;
  background: linear-gradient(135deg, var(--q-pink), var(--q-purple-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 16px 40px;
}

.solicitud-card{
  background: var(--q-white);
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  padding: 32px 26px 36px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  text-align: center;
}

.solicitud-title{
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
}
.solicitud-title span{ color: var(--q-pink); }

.solicitud-subtitle{
  font-size: 13px;
  color: var(--q-muted);
  margin-bottom: 26px;
}

.solicitud-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group{
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label{
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333;
}

.form-group input{
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.form-group input:focus{
  outline: none;
  border-color: var(--q-pink);
  box-shadow: 0 0 0 2px rgba(233,30,99,0.15);
}

.btn-regresar{
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  text-decoration: none;
}
.btn-regresar:hover{ text-decoration: underline; }


/* ===========================
   Solicitud ? Legal (TyC / Aviso) + Modales
   Nota: estilos movidos aqu? desde la p?gina (para mantener todo en style.css)
=========================== */
.legal-checks{
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.legal-item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #333;
}

.legal-item input[type="checkbox"]{
  margin-top: 3px;
  transform: scale(1.05);
}

.legal-link{
  margin-left: 6px;
  text-decoration: underline;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--q-pink);
  font-weight: 800;
}

/* Bot?n Solicitar deshabilitado */
.btn-solicitar:disabled{
  opacity: .55;
  cursor: not-allowed;
}

/* Modales */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

.modal-overlay.is-open{ display: flex; }

.modal{
  width: min(680px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.25);
  overflow: hidden;
}

.modal-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.modal-title{
  font-weight: 900;
  font-size: 16px;
  margin: 0;
}

.modal-close{
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  color: var(--q-pink);
}

.modal-body{
  padding: 14px 16px;
  max-height: 55vh;
  overflow: auto;
  font-size: 13px;
  line-height: 1.55;
  color: #111;
}

.modal-footer{
  padding: 12px 16px;
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-btn{
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
}

.modal-btn-primary{
  background: var(--q-black);
  color: var(--q-white);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 980px){
  .hero{
    height: auto;
    min-height: 640px;
    padding: 18px var(--q-pad) 30px;
    background-size: cover;
    background-position: center;
  }
  .hero-content{ width: 52%; }
  .calculator-card{ width: 340px; padding: 24px; }
  .hero-img{ left: 18%; height: 82%; }
}

@media (max-width: 900px){
  .about-right{ left: 52%; width: 34%; }
  .about-left{ width: 44%; }
}

@media (max-width: 768px){
  header{
    left: 0;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 10px 16px;
    gap: 10px;
  }
  header::after{
    top: -110px;
    right: -160px;
    width: 420px;
    height: 220px;
  }
  
	.logo{ font-size: 22px; line-height: 1; }
	
	.main-nav{ display: none; }
  
	.btn-ingresar{
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
	}

  .hero{
    margin-top: 72px;
    padding: 20px 16px 26px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .hero::before{ border-bottom-right-radius: 65% 22%; }
  .hero-content{ width: 100%; z-index: 3; }
  .hero-content h1{
    font-size: 2.1rem;
    line-height: 1.05;
    margin-bottom: 14px;
  }
  .hero-img{ display: none; }

  .calculator-card{
    width: 100%;
    max-width: 420px;
    margin-left: 0;
    padding: 22px;
    border-radius: 16px;
    z-index: 4;
  }
  .res-line{ font-size: 12px; }

  .info-section > .container{ padding: 54px 16px; }
  .section-title{ font-size: 1.9rem; }
  .section-subtitle{ font-size: 0.85rem; margin-bottom: 28px; }
  .benefit-card{ padding: 26px 18px; }

  .steps-container{
    flex-direction: column;
    gap: 18px;
    padding-top: 0;
  }
  .steps-line{ display: none; }
  .step{ padding: 0; text-align: center; }
  .step-number{
    width: 58px;
    height: 58px;
    font-size: 20px;
    margin: 0 auto 12px;
  }
  .step h5{ font-size: 0.95rem; }
  .step p{ font-size: 0.85rem; line-height: 1.45; }

  .wa-float{
    top: auto;
    bottom: 16px;
    right: 16px;
    width: 64px;
    height: 64px;
  }
  .wa-img{ width: 56px; height: 56px; }
  .wa-tooltip{ display: none; }
}

@media (max-width: 680px){
  .about-wrap{ aspect-ratio: auto; height: 700px; }
  .about-left{ position: static; padding: 24px 6.5%; width: 100%; }
  .about-right{ position: static; padding: 0 6.5% 18px; width: 100%; }
  .about-circles{ position: static; padding: 0 6.5% 24px; flex-direction: row; }
  .circle{ width: 92px; height: 92px; }
}

@media (max-width: 640px){
  .qb-grid{ grid-template-columns: 1fr; }
  .qb-card{ width: 92%; max-width: 320px; height: auto; }

  .faq-section{ padding: 56px 0 24px; }
  .faq-title{ font-size: 24px; margin-bottom: 26px; }
  .faq-item summary{ font-size: 13px; padding: 14px 16px; padding-right: 44px; }
  .faq-content > p{ font-size: 12.5px; padding: 0 16px 14px; }

  .q-footer-container{ padding: 52px 16px; }
  .q-footer-logo-text, .q-footer-plus{ font-size: 34px; }
  .q-footer-info p{ font-size: 12px; line-height: 1.35; }
}

@media (max-width: 420px){
  .hero-content h1{ font-size: 1.85rem; }
  .calculator-card{ padding: 18px; }
}

/* ===========================
   Men? m?vil (drawer)
   Requiere:
     - nav id="siteNav" class="main-nav"
     - overlay id="navOverlay" class="nav-overlay"
     - bot?n id="navToggle"
   JS ya est? listo para esto. (script.js)
=========================== */

.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 999;
}

#navToggle{
  display: none;
  background: transparent;
  border: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
}

/* Drawer solo en m?vil */
@media (max-width: 768px){
  #navToggle{ display: inline-flex; align-items: center; justify-content: center; }

  /* Convertimos el nav en panel lateral */
  .main-nav{
    display: flex; /* lo manejamos por transform */
    flex-direction: column;
    gap: 14px;

    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 320px);

    padding: 92px 18px 18px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);

    transform: translateX(110%);
    transition: transform .22s ease;
    z-index: 9999 !important;
  }

  .main-nav.open{
    transform: translateX(0);
  }

  .main-nav a{
    color: var(--q-pink);
    font-size: 16px;
    margin: 0;
  }
}

/* FIX MEN? M?VIL: evita que el header recorte el drawer */
@media (max-width: 768px){
  header{
    left: 0 !important;
    transform: none !important;
    max-width: 100% !important;
    overflow: visible !important; /* clave: no recortar el nav */
  }
}

/* ===== FIX DEFINITIVO: capas del men? m?vil en iPhone ===== */
@media (max-width: 768px){

  /* Header arriba, pero no bloquea el drawer */
  header{
    z-index: 6000 !important;
  }

  /* Bot?n hamburguesa siempre clickeable */
  #navToggle{
    position: relative;
    z-index: 7000 !important;
  }

  /* Overlay visible encima del sitio */
  .nav-overlay{
    z-index: 6500 !important;
  }

  /* Drawer encima del overlay y del header */
  .main-nav{
    z-index: 6600 !important;
  }
}

html { scroll-behavior: smooth; }

/* Compensa el header fijo */
#financiamiento, #empresa, #faq, #contacto{
  scroll-margin-top: 110px;  /* ajusta 90?130 si quieres */
}

@media (max-width: 768px) {
  .main-nav {
    /* Aseg?rate de que el z-index sea superior a TODO lo dem?s */
    z-index: 10000 !important; 
    /* Agrega esto para asegurar que responda a clics */
    pointer-events: auto !important;
  }

  /* Si el bot?n hamburguesa est? estorbando al abrirse */
  .main-nav.open {
    visibility: visible;
  }
}

@media (max-width: 768px) {
  /* Aseguramos que el nav est? por encima de TODO */
  .main-nav {
    z-index: 99999 !important;
    pointer-events: auto !important; /* Fuerza a que responda a toques */
    -webkit-tap-highlight-color: transparent; /* Mejora visual en iPhone */
  }

  /* Evita que el header bloquee el ?rea del men? */
  header {
    z-index: 10000 !important;
  }

  /* Asegura que los enlaces tengan un ?rea de toque grande */
  .main-nav a {
    display: block;
    padding: 15px 10px; 
    width: 100%;
  }
}


/* --- Estilos para los botones de acci?n (Header) --- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-ingresar {
  background: var(--q-pink);
  color: var(--q-white);
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-ingresar:hover {
  background-color: var(--q-pink);
  color: #fff;
}

/* Estilos base (Computadora) */
.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--q-black);
  font-weight: 700;
}

.btn-phone svg {
  width: 22px;
  height: 22px;
  fill: var(--q-pink);
}

/* --- FIX para M?viles (Evitar que se corte) --- */
@media (max-width: 768px) {
  .nav-actions {
    gap: 10px;
    margin-right: 50px; /* Espacio para que no choque con la hamburguesa */
  }

  .btn-ingresar {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* OCULTAMOS EL TEXTO, PERO DEJAMOS EL ICONO VISIBLE */
  .btn-phone .phone-text {
    display: none; 
  }

  .btn-phone svg {
    display: block !important; /* Forzamos que el icono se vea */
    width: 26px;
    height: 26px;
    fill: var(--q-pink);
  }
}

/* Ajuste para celulares muy peque?os (iPhone SE) */
@media (max-width: 400px) {
  .nav-actions {
    margin-right: 45px;
    gap: 8px;
  }
  
  /* Reducimos un poco el bot?n ingresar para que quepan ambos */
  .btn-ingresar {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* Mantenemos el icono de tel?fono visible SIEMPRE */
  .btn-phone {
    display: flex !important; 
  }
}

/* --- ESTO VA AL FINAL DE TU ARCHIVO --- */
@media (max-width: 768px) {
  .nav-actions {
    margin-right: 50px !important; /* Espacio para que no tape la hamburguesa */
    gap: 10px;
  }

  .btn-phone .phone-text {
    display: none !important; /* Esconde el n?mero largo en iPhone */
  }

.btn-phone svg {
    display: block !important;
    /* Subimos el tama?o de 26px a 32px */
    width: 32px !important; 
    height: 32px !important;
    /* Le damos un toque de sombra suave para que resalte m?s */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.2s ease;
  }

  /* Efecto visual al tocarlo en el iPhone */
  .btn-phone:active svg {
    transform: scale(1.1);
  }

  .btn-ingresar {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* Fix para pantallas muy peque?as */
@media (max-width: 400px) {
  .btn-ingresar {
    font-size: 11px;
    padding: 5px 8px;
  }
}

/* Bot?n cerrar dentro del men? m?vil */
.nav-close-btn {
  display: none; /* Oculto en computadora */
}

@media (max-width: 768px) {
  .nav-close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px; /* Tama?o grande para que sea f?cil de tocar */
    color: var(--q-pink);
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    padding: 10px;
  }
  
  /* Ajustamos el padding del nav para que el contenido no choque con la X */
  .main-nav {
    padding-top: 80px !important;
  }
}