:root{
  --pink:#e0006f;
  --pink-dark:#c10060;
  --text:#1b1b1b;
  --muted:#6b6b6b;
  --bg:#ffffff;
  --line:#e9e9e9;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:14px;
  --container:1180px;
  --font:'Montserrat', sans-serif;
}

*{
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:#fff;
  overflow-x:hidden;
}

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

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 16px;
}

/* HEADER */
.topbar{
  background:#fff;
  border-bottom:1px solid #eee;
  padding:18px 0;
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.brand img{
  max-height:58px;
  width:auto;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:10px;
  font-weight:600;
  font-family:var(--font);
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  transition:.2s ease;
  white-space:nowrap;
}

.btn--ghost{
  border:2px solid #e0006f;
  background:#e0006f;
  color:#fff;
  font-weight:700;
}

.btn--ghost:hover{
  background:#c10060;
  border-color:#c10060;
  color:#fff;
}

.btn--primary{
  background:var(--pink);
  color:#fff;
}

.btn--primary:hover{
  background:var(--pink-dark);
}

.btn--outline{
  border:1px solid #bbb;
  background:#fff;
  color:#333;
}

.btn--block{
  width:100%;
}

.btn--sm{
  padding:9px 16px;
  font-size:13px;
}

@media (max-width:420px){
  .topbar__inner{
    justify-content:center;
  }

  .btn--ghost{
    width:100%;
  }
}

/* HERO */
.hero{
  position:relative;
  padding:28px 0 34px;
}

.hero__background{
  position:absolute;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    url("../img/fondofamilia.jpg");
  background-size:cover;
  background-position:center;
  z-index:0;
}

.hero__grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:center;
}

.hero__left,
.hero__right{
  min-width:0;
}

.hero__right{
  display:flex;
  justify-content:center;
}

.hero__title{
  margin:0;
  line-height:1;
}

.hero__title span{
  display:block;
  font-size:34px;
  font-weight:800;
  color:var(--pink);
}

.hero__title strong{
  display:block;
  font-size:54px;
  font-weight:900;
  color:var(--pink);
}

.hero__subtitle{
  font-size:22px;
  font-weight:800;
  color:var(--pink);
  margin:10px 0 16px;
}

.hero__family{
  max-width:520px;
}

/* FORMULARIO HERO */
.quoteCard{
  position:relative;
  width:100%;
  max-width:460px;
  margin:0 auto;
}

.quoteTabs{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-bottom:0;
  position:relative;
  z-index:2;
}

.quoteTab{
  border:none;
  cursor:pointer;
  min-width:140px;
  padding:12px 14px;
  border-radius:16px 16px 0 0;
  background:#ccb2bf;
  color:#fff;
  font-size:14px;
  font-weight:700;
  font-family:var(--font);
  transition:.25s ease;
}

.quoteTab.active{
  background:linear-gradient(180deg,#d1007a 0%, #b30068 100%);
}

.quoteCard__inner{
  position:relative;
  background:linear-gradient(180deg,rgba(229,0,125,.94) 0%, rgba(189,0,105,.94) 100%);
  border-radius:22px;
  padding:22px 18px 18px;
  overflow:hidden;
}

.quoteCard__inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0)),
    url("../img/header.avif") left bottom / 56% auto no-repeat;
  opacity:.18;
  pointer-events:none;
}

.quoteCard__title{
  position:relative;
  z-index:1;
  margin:0 0 16px;
  text-align:center;
  color:#fff;
  font-size:18px;
  font-weight:700;
  line-height:1.2;
}

.quoteForm{
  position:relative;
  z-index:1;
}

/* desktop exacto: 3 + 2 + 1 */
.quoteGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  align-items:start;
}

.quoteGrid--empresas{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  align-items:start;
}

.qField{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.qField--span2{
  grid-column:span 2;
}

.qField--full{
  grid-column:1 / -1;
}

.qField input,
.qField select{
  width:100%;
  height:44px;
  border:2px solid #e7dfe4;
  border-radius:10px;
  background:#f4f1f3;
  padding:0 12px;
  font-size:13px;
  color:#d80078;
  font-family:var(--font);
  outline:none;
  box-sizing:border-box;
}

.qField input::placeholder{
  color:#d80078;
  opacity:1;
}

.qField select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath fill='%23444444' d='M9 12 0 0h18z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:11px;
  padding-right:34px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.qField small{
  display:block;
  color:#fff;
  font-size:9px;
  font-weight:600;
  margin-top:4px;
  line-height:1.2;
}

.affiliateRow{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 12px;
  color:#fff;
  font-size:13px;
  font-weight:700;
}

.radioOption{
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
}

.radioOption input{
  width:18px;
  height:18px;
  accent-color:#0d80ff;
}

.radioOption span{
  font-size:13px;
  font-weight:700;
  color:#fff;
}

.quotePrivacy{
  margin:0 0 14px;
  max-width:100%;
  color:#fff;
  font-size:10px;
  line-height:1.35;
  font-weight:600;
}

.quoteBtn{
  display:block;
  margin:0 auto;
  min-width:200px;
  min-height:44px;
  padding:10px 18px;
  border-radius:999px;
  border:3px solid #ff5f64;
  background:#ffd4d1;
  color:#ff4a53;
  font-size:14px;
  font-weight:800;
  font-family:var(--font);
  cursor:pointer;
  transition:.25s ease;
}

.quoteBtn:hover{
  transform:translateY(-2px);
}

/* PLANES */
.plans{
  padding:38px 0 48px;
}

.sectionTitle{
  text-align:center;
  font-size:22px;
  font-weight:800;
  color:var(--pink);
  margin:0 0 22px;
}

.planGrid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

.planCard{
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  text-align:center;
  background:#fff;
}

.planCard__title{
  font-weight:800;
  color:var(--pink);
  margin:0 0 10px;
}

.planCard__text{
  font-size:14px;
  margin:0 0 14px;
  color:#444;
}

/* SANATORIOS */
.sanatorios{
  background:#e5006d;
  padding:60px 0;
  text-align:center;
  color:#fff;
  overflow:hidden;
}

.sanatorios-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-bottom:40px;
}

.sanatorios-header h2{
  font-size:32px;
  font-weight:600;
  margin:0;
}

.sanatorios-header .line{
  width:150px;
  height:2px;
  background:#fff;
}

.slider{
  width:100%;
  overflow:hidden;
}

.slide-track{
  display:flex;
  width:calc(250px * 10);
  animation:scroll 25s linear infinite;
}

.slide{
  width:250px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slide img{
  max-width:160px;
  filter:brightness(0) invert(1);
}

.dots{
  margin-top:20px;
}

.dots span{
  height:10px;
  width:10px;
  background:#fff;
  opacity:.4;
  display:inline-block;
  border-radius:50%;
  margin:0 5px;
}

.dots span:nth-child(3){
  opacity:1;
}

@keyframes scroll{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

/* PRESTACIONES */
.prestaciones{
  background:#efeff1;
  padding:60px 20px;
}

.prestaciones-header{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-bottom:40px;
}

.prestaciones-header .line{
  flex:1;
  height:2px;
  background:#e5007d;
  max-width:600px;
}

.prestaciones-header h2{
  font-size:38px;
  font-weight:600;
  color:#e5007d;
  margin:0;
}

.prestaciones-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:45px 60px;
}

.prestacion-item{
  text-align:center;
}

.icon-circle{
  width:85px;
  height:85px;
  background:#e5007d;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
}

.icon-circle img{
  width:36px;
  height:36px;
  filter:brightness(0) invert(1);
}

.prestacion-item h3{
  font-size:22px;
  color:#e5007d;
  margin:0 0 10px;
  font-weight:600;
}

.prestacion-item p{
  font-size:16px;
  color:#6e7481;
  line-height:1.5;
  margin:0;
}

/* FOOTER */
.footer{
  background:#2c2c2c;
  color:#fff;
  text-align:center;
  padding:18px;
  font-size:12px;
}

/* WHATSAPP FLOAT */
.whatsapp-float{
  position:fixed;
  right:25px;
  bottom:25px;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease;
}

.whatsapp-float img{
  width:170px;
  height:auto;
  display:block;
}

.whatsapp-float:hover{
  transform:scale(1.1);
}

/* THANK YOU PAGE */
.thankyou{
  padding:80px 0;
}

.thankyou-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.thankyou-text h1{
  font-size:60px;
  color:#e0006f;
  margin-bottom:10px;
}

.thankyou-text h2{
  font-size:28px;
  color:#e0006f;
  margin-bottom:20px;
}

.thankyou-text p{
  font-size:18px;
  line-height:1.6;
  color:#444;
}

.actions{
  margin-top:30px;
  display:flex;
  gap:15px;
  flex-wrap:wrap;
}

.btn-main{
  background:#e0006f;
  color:#fff;
  padding:14px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}

.btn-secondary{
  border:2px solid #e0006f;
  color:#e0006f;
  padding:12px 24px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}

.thankyou-card{
  background:linear-gradient(180deg,#e0006f,#b5005e);
  padding:35px;
  border-radius:25px;
  color:#fff;
  box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.badge{
  background:rgba(255,255,255,.15);
  padding:10px 16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  margin-bottom:20px;
}

.check{
  background:#fff;
  color:#e0006f;
  border-radius:50%;
  width:26px;
  height:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
}

.thankyou-card h3{
  font-size:28px;
  margin-bottom:15px;
}

.thankyou-card p{
  font-size:16px;
  line-height:1.6;
}

.thankyou-card ul{
  margin-top:20px;
  padding-left:0;
  list-style:none;
}

.thankyou-card li{
  margin-bottom:10px;
}

/* BREAKPOINTS */
@media (min-width:640px){
  .container{
    padding:0 18px;
  }

  .topbar{
    padding:22px 0;
  }

  .hero{
    padding:40px 0 48px;
  }

  .hero__title span{
    font-size:42px;
  }

  .hero__title strong{
    font-size:66px;
  }

  .hero__subtitle{
    font-size:26px;
  }

  .sectionTitle{
    font-size:26px;
  }
}

@media (min-width:901px){
  .topbar{
    padding:24px 0;
  }

  .btn{
    padding:12px 22px;
  }

  .hero{
    padding:78px 0;
  }

  .hero__grid{
    grid-template-columns:1.08fr .92fr;
    gap:36px;
    align-items:center;
  }

  .hero__right{
    justify-content:flex-end;
  }

  .quoteCard{
    max-width:440px;
    margin-left:auto;
    margin-right:0;
  }

  .hero__title span{
    font-size:54px;
  }

  .hero__title strong{
    font-size:86px;
  }

  .hero__subtitle{
    font-size:34px;
  }
}

@media (min-width:980px){
  .plans{
    padding:70px 0;
  }

  .sectionTitle{
    font-size:30px;
    margin-bottom:40px;
  }

  .planGrid{
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
  }

  .planCard{
    padding:35px;
  }
}

@media (max-width:1180px){
  .hero__grid{
    grid-template-columns:1fr 440px;
    gap:28px;
  }

  .quoteCard{
    max-width:440px;
  }
}

@media (max-width:900px){
  .hero__grid{
    grid-template-columns:1fr;
    gap:24px;
  }

  .hero__right{
    justify-content:center;
  }

  .quoteCard{
    max-width:520px;
    margin:0 auto;
  }

  .quoteGrid,
  .quoteGrid--empresas{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .qField--span2,
  .qField--full{
    grid-column:1 / -1;
  }

  .prestaciones-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .thankyou-grid{
    grid-template-columns:1fr;
  }

  .thankyou-text h1{
    font-size:40px;
  }
}

@media (max-width:767px){
  .quoteCard{
    max-width:100%;
  }

  .quoteTabs{
    justify-content:center;
    gap:8px;
  }

  .quoteTab{
    min-width:auto;
    width:48%;
    font-size:14px;
    padding:14px 10px;
  }

  .quoteCard__inner{
    padding:24px 16px 22px;
    border-radius:18px;
  }

  .quoteCard__inner::before{
    background:
      linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0)),
      url("../img/header.avif") center bottom / cover no-repeat;
    opacity:.12;
  }

  .quoteCard__title{
    font-size:20px;
    margin-bottom:18px;
  }

  .quoteGrid,
  .quoteGrid--empresas{
    grid-template-columns:1fr;
    gap:12px;
  }

  .qField--span2,
  .qField--full{
    grid-column:auto;
  }

  .qField input,
  .qField select{
    height:46px;
    font-size:14px;
  }

  .affiliateRow{
    font-size:14px;
  }

  .radioOption span{
    font-size:14px;
  }

  .quoteBtn{
    width:100%;
    min-width:100%;
    min-height:50px;
    font-size:15px;
  }

  .prestaciones-grid{
    grid-template-columns:1fr;
  }

  .prestaciones-header h2{
    font-size:28px;
  }

  .whatsapp-float{
    right:15px;
    bottom:15px;
  }

  .whatsapp-float img{
    width:110px;
  }
}

@media (max-width:600px){
  .prestaciones-grid{
    grid-template-columns:1fr;
  }

  .prestaciones-header h2{
    font-size:28px;
  }
}