:root{
  --color-primary:#2c3a5c;
  --color-primary-light:#425073;
  --color-accent:#4a90b8;
  --color-accent-light:#7fb8d8;
  --color-bg:#f7f4ee;
  --color-bg-alt:#eef1ee;
  --color-text:#2a2a2a;
  --color-text-soft:#5a5f66;
  --color-white:#ffffff;
  --whatsapp:#25D366;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  color:var(--color-text);
  background:var(--color-bg);
  line-height:1.6;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Quicksand',sans-serif;font-weight:600;color:var(--color-primary);}
a{text-decoration:none;color:inherit;}
img{max-width:100%;display:block;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}
.reveal-group.visible .reveal-child{opacity:1;transform:translateY(0);}
.reveal-child{opacity:0;transform:translateY(22px);transition:opacity .6s ease, transform .6s ease;}
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal-child{opacity:1;transform:none;transition:none;}
}
.reveal-group .reveal-child:nth-child(2){transition-delay:.08s}
.reveal-group .reveal-child:nth-child(3){transition-delay:.16s}
.reveal-group .reveal-child:nth-child(4){transition-delay:.24s}
.reveal-group .reveal-child:nth-child(5){transition-delay:.32s}
.reveal-group .reveal-child:nth-child(6){transition-delay:.4s}
.reveal-group .reveal-child:nth-child(7){transition-delay:.48s}
.section{padding:80px 0;}
.section-alt{background:var(--color-bg-alt);}
.eyebrow{
  display:inline-block;
  font-family:'Quicksand',sans-serif;
  font-weight:600;
  font-size:0.85rem;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--color-accent);
  margin-bottom:10px;
}
.section-title{font-size:2rem;margin-bottom:16px;}
.section-lead{color:var(--color-text-soft);max-width:640px;margin-bottom:44px;font-size:1.05rem;}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 28px;border-radius:40px;
  font-family:'Quicksand',sans-serif;font-weight:600;font-size:0.98rem;
  transition:transform .2s ease, box-shadow .2s ease;
  cursor:pointer;border:none;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--color-primary);color:#fff;box-shadow:0 8px 24px rgba(44,58,92,0.28);}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,0.7);}
.btn-outline-dark{background:transparent;color:var(--color-primary);border:1.5px solid var(--color-primary);}
.btn-whatsapp{background:var(--whatsapp);color:#fff;box-shadow:0 8px 24px rgba(37,211,102,0.3);}

/* NAVBAR */
header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}
header.scrolled{
  background:rgba(247,244,238,0.96);
  box-shadow:0 2px 18px rgba(0,0,0,0.08);
  padding:10px 24px;
  backdrop-filter:blur(6px);
}
.logo-pill{
  background:#fff;border-radius:50px;padding:8px 20px;
  display:flex;align-items:center;box-shadow:0 4px 14px rgba(0,0,0,0.12);
}
.logo-pill img{height:44px;}
nav ul{display:flex;gap:30px;list-style:none;}
nav a{
  font-family:'Quicksand',sans-serif;font-weight:600;font-size:0.95rem;
  color:#fff;transition:color .2s;
}
header.scrolled nav a{color:var(--color-primary);}
nav a:hover{color:var(--color-accent-light);}
header.scrolled nav a:hover{color:var(--color-accent);}
.nav-cta{display:none;}
.burger{display:none;flex-direction:column;gap:5px;cursor:pointer;z-index:1100;padding:12px;margin:-12px;touch-action:manipulation;}
.burger span{width:26px;height:2.5px;background:#fff;border-radius:2px;transition:background-color .15s;}
header.scrolled .burger span{background:var(--color-primary);}

/* HERO */
.hero{
  position:relative;min-height:100vh;overflow:hidden;
  display:flex;align-items:center;
}
.hero-bg{position:absolute;inset:0;z-index:0;}
.hero-bg-img{
  position:absolute;inset:0;background-size:cover;background-position:center;
  opacity:0;transition:opacity 1.4s ease;
}
.hero-bg-img.active{opacity:1;}
.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(20,28,45,0.55), rgba(20,28,45,0.35) 40%, rgba(20,28,45,0.7));
}
.hero-content{position:relative;z-index:2;color:#fff;max-width:640px;padding-top:90px;}
.hero-content .eyebrow{color:var(--color-accent-light);}
.hero-content h1{
  font-size:clamp(2.3rem,5vw,3.6rem);color:#fff;line-height:1.15;margin-bottom:20px;
}
.hero-content p{font-size:1.15rem;color:#e7e9ee;margin-bottom:32px;max-width:520px;}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;align-items:center;}
.trial-note{
  display:inline-flex;align-items:center;gap:8px;
  color:#fff;font-size:0.9rem;font-family:'Quicksand',sans-serif;font-weight:600;
  background:rgba(255,255,255,0.14);border:1px solid rgba(255,255,255,0.3);
  padding:8px 16px;border-radius:30px;
}
.trial-note i{color:var(--color-accent-light);}
.hero-stars{display:flex;align-items:center;gap:10px;margin-top:36px;color:#f4c869;font-size:0.95rem;}
.hero-stars span{color:#fff;font-family:'Quicksand',sans-serif;font-weight:600;}

/* DIFERENCIALES */
.diff-bar{
  background:var(--color-primary);
  padding:36px 0;
}
.diff-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
}
.diff-item{color:#fff;text-align:center;}
.diff-item i{font-size:1.6rem;color:var(--color-accent-light);margin-bottom:10px;}
.diff-item p{font-family:'Quicksand',sans-serif;font-weight:600;font-size:0.92rem;}

/* SERVICIOS */
.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
}
.service-card{
  background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 10px 30px rgba(44,58,92,0.08);
  transition:transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{transform:translateY(-6px);box-shadow:0 16px 40px rgba(44,58,92,0.14);}
.service-card .img-wrap{height:200px;overflow:hidden;}
.service-card .img-wrap img{width:100%;height:100%;object-fit:cover;}
.service-card .body{padding:22px 24px 26px;}
.service-card h3{font-size:1.15rem;margin-bottom:8px;display:flex;align-items:center;gap:10px;}
.service-card h3 i{color:var(--color-accent);font-size:1rem;}
.service-card p{color:var(--color-text-soft);font-size:0.95rem;}
.service-more-link{
  display:inline-flex;align-items:center;gap:6px;margin-top:12px;
  color:var(--color-accent);font-family:'Quicksand',sans-serif;font-weight:600;font-size:0.88rem;
}
.service-more-link i{font-size:0.75rem;transition:transform .2s ease;}
.service-more-link:hover i{transform:translateX(3px);}

/* SUP HIGHLIGHT */
.sup-section{
  position:relative;
  background:linear-gradient(160deg, var(--color-primary), var(--color-primary-light));
  color:#fff;overflow:hidden;
}
.sup-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;
}
.sup-grid img{border-radius:20px;box-shadow:0 24px 50px rgba(0,0,0,0.35);}
.sup-section .eyebrow{color:var(--color-accent-light);}
.sup-section h2{color:#fff;}
.sup-section p{color:#dfe4ec;font-size:1.05rem;margin-bottom:22px;}
.sup-list{list-style:none;margin-bottom:30px;}
.sup-list li{display:flex;gap:12px;margin-bottom:12px;color:#e7e9ee;}
.sup-list i{color:var(--color-accent-light);margin-top:3px;}

/* REHAB */
.rehab-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.rehab-steps{list-style:none;counter-reset:step;}
.rehab-steps li{
  display:flex;gap:18px;margin-bottom:26px;counter-increment:step;
}
.rehab-steps li::before{
  content:counter(step);
  font-family:'Quicksand',sans-serif;font-weight:700;
  background:var(--color-accent);color:#fff;
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.rehab-steps h4{margin-bottom:4px;font-size:1.05rem;}
.rehab-steps p{color:var(--color-text-soft);font-size:0.95rem;}
.rehab-img{border-radius:20px;overflow:hidden;box-shadow:0 20px 44px rgba(44,58,92,0.15);}

/* CARLES */
.carles-grid{display:grid;grid-template-columns:0.8fr 1.2fr;gap:56px;align-items:center;}
.carles-photo{position:relative;}
.carles-photo img{border-radius:20px;width:100%;object-fit:cover;aspect-ratio:4/5;box-shadow:0 20px 44px rgba(44,58,92,0.15);}
.carles-quote{
  background:var(--color-bg-alt);border-left:4px solid var(--color-accent);
  padding:20px 24px;border-radius:0 14px 14px 0;margin-top:24px;
  font-style:italic;color:var(--color-text-soft);
}

/* TESTIMONIOS */
.testimonial-hero{
  text-align:center;max-width:760px;margin:0 auto 56px;
}
.testimonial-hero i.fa-quote-left{color:var(--color-accent-light);font-size:2rem;margin-bottom:18px;}
.testimonial-hero p{font-size:1.35rem;color:var(--color-primary);font-family:'Quicksand',sans-serif;font-weight:600;line-height:1.5;}
.testimonial-hero .author{margin-top:18px;color:var(--color-text-soft);font-family:'Inter',sans-serif;font-weight:500;font-size:0.95rem;}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.t-card{background:#fff;border-radius:16px;padding:26px 24px;box-shadow:0 8px 24px rgba(44,58,92,0.07);}
.t-card .stars{color:#f4c869;margin-bottom:10px;font-size:0.85rem;}
.t-card p{color:var(--color-text-soft);font-size:0.92rem;margin-bottom:14px;}
.t-card .author{font-family:'Quicksand',sans-serif;font-weight:600;color:var(--color-primary);font-size:0.9rem;}

/* GALERIA */
.gallery-grid{
  display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:16px;
}
.gallery-item{border-radius:14px;overflow:hidden;position:relative;}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease;}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-item.wide{grid-column:span 2;}
.gallery-item.tall{grid-row:span 2;}

/* FAQ (reutilizado también en páginas de actividad) */
.faq-list{max-width:760px;}
.faq-item{
  background:#fff;border-radius:14px;margin-bottom:14px;
  box-shadow:0 6px 20px rgba(44,58,92,0.06);overflow:hidden;
}
.faq-item summary{
  padding:20px 24px;cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  font-family:'Quicksand',sans-serif;font-weight:600;color:var(--color-primary);font-size:1rem;
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary i{color:var(--color-accent);transition:transform .25s ease;flex-shrink:0;}
.faq-item[open] summary i{transform:rotate(45deg);}
.faq-item p{padding:0 24px 22px;color:var(--color-text-soft);font-size:0.95rem;}

/* TARIFAS */
.tarifas-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;}
.tarifa-card{background:#fff;border-radius:18px;padding:32px;box-shadow:0 10px 30px rgba(44,58,92,0.08);}
.tarifa-card h3{margin-bottom:18px;font-size:1.2rem;}
.tarifa-row{
  display:flex;justify-content:space-between;align-items:baseline;
  padding:12px 0;border-bottom:1px solid var(--color-bg-alt);
}
.tarifa-row:last-child{border-bottom:none;}
.tarifa-row .label{font-size:0.95rem;color:var(--color-text);}
.tarifa-row .price{font-family:'Quicksand',sans-serif;font-weight:700;color:var(--color-accent);font-size:1.05rem;white-space:nowrap;margin-left:12px;}
.tarifa-note{margin-top:16px;font-size:0.82rem;color:var(--color-text-soft);}

.horario-table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(44,58,92,0.08);}
.horario-table th,.horario-table td{padding:14px 18px;text-align:left;font-size:0.92rem;}
.horario-table th{background:var(--color-primary);color:#fff;font-family:'Quicksand',sans-serif;font-weight:600;}
.horario-table tr:nth-child(even){background:var(--color-bg-alt);}
.sup-schedule{
  margin-top:20px;background:var(--color-bg-alt);border-radius:14px;padding:18px 22px;
  display:flex;gap:14px;align-items:flex-start;font-size:0.9rem;color:var(--color-text-soft);
}
.sup-schedule i{color:var(--color-accent);margin-top:2px;}

/* CONTACTO */
.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:50px;}
.contact-info-item{display:flex;gap:16px;margin-bottom:26px;}
.contact-info-item i{
  background:var(--color-primary);color:#fff;width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-info-item h4{font-size:1rem;margin-bottom:4px;}
.contact-info-item p, .contact-info-item a{color:var(--color-text-soft);font-size:0.94rem;}
.map-wrap{border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(44,58,92,0.1);min-height:340px;}
.map-wrap iframe{width:100%;height:100%;min-height:340px;border:0;}
.social-row{display:flex;gap:14px;margin-top:20px;}
.social-row a{
  width:42px;height:42px;border-radius:50%;background:var(--color-bg-alt);
  display:flex;align-items:center;justify-content:center;color:var(--color-primary);
  transition:background .2s, color .2s;
}
.social-row a:hover{background:var(--color-primary);color:#fff;}

/* FOOTER */
footer{background:var(--color-primary);color:#cfd6e3;padding:44px 0 26px;}
.footer-grid{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;}
.footer-grid .logo-pill{padding:6px 14px;box-shadow:none;}
.footer-grid .logo-pill img{height:28px;}
.footer-links{
  display:flex;gap:10px 26px;flex-wrap:wrap;justify-content:center;
  margin-top:30px;padding-top:24px;border-top:1px solid rgba(255,255,255,0.1);
}
.footer-links a{color:#c8d0e2;font-size:0.88rem;font-family:'Quicksand',sans-serif;font-weight:600;}
.footer-links a:hover{color:#fff;}
footer .legal{font-size:0.82rem;color:#9aa4bb;text-align:center;margin-top:24px;padding-top:0;border-top:none;}
footer .legal a{color:#c8d0e2;font-weight:600;}

/* WHATSAPP FLOTANTE */
.whatsapp-float{
  position:fixed;bottom:24px;right:24px;z-index:999;
  width:58px;height:58px;border-radius:50%;
  background:var(--whatsapp);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:1.6rem;box-shadow:0 10px 26px rgba(37,211,102,0.45);
  animation:pulse 2.4s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,0.5);}
  70%{box-shadow:0 0 0 14px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* PÁGINAS DE ACTIVIDAD */
.breadcrumb{
  position:relative;z-index:2;display:flex;gap:8px;align-items:center;
  font-size:0.85rem;color:#dfe4ec;margin-bottom:18px;flex-wrap:wrap;
}
.breadcrumb a{color:#dfe4ec;font-weight:500;}
.breadcrumb a:hover{color:#fff;text-decoration:underline;}
.breadcrumb i{font-size:0.65rem;color:var(--color-accent-light);}
.article-hero{
  position:relative;min-height:56vh;display:flex;align-items:center;overflow:hidden;
  background-size:cover;background-position:center;
}
.article-body{padding:70px 0;}
.article-block{max-width:760px;margin-bottom:52px;}
.article-block:last-child{margin-bottom:0;}
.article-block h2{font-size:1.6rem;margin-bottom:14px;}
.article-block p{color:var(--color-text-soft);font-size:1.02rem;margin-bottom:14px;}
.benefit-list{list-style:none;}
.benefit-list li{
  display:flex;gap:14px;margin-bottom:16px;color:var(--color-text-soft);font-size:1rem;align-items:flex-start;
}
.benefit-list i{color:var(--color-accent);margin-top:4px;flex-shrink:0;}
.expect-steps{list-style:none;counter-reset:step2;}
.expect-steps li{display:flex;gap:16px;margin-bottom:20px;counter-increment:step2;}
.expect-steps li::before{
  content:counter(step2);
  font-family:'Quicksand',sans-serif;font-weight:700;
  background:var(--color-accent);color:#fff;
  width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:0.9rem;
}
.expect-steps strong{display:block;color:var(--color-primary);margin-bottom:2px;font-family:'Quicksand',sans-serif;}
.expect-steps span{color:var(--color-text-soft);font-size:0.95rem;}
.article-cta{
  background:var(--color-bg-alt);border-radius:20px;padding:36px;text-align:center;
  max-width:760px;margin:0 auto;
}
.article-cta h3{margin-bottom:10px;}
.article-cta p{color:var(--color-text-soft);margin-bottom:22px;}
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:16px;}
.related-card{
  background:#fff;border-radius:14px;padding:20px;text-align:center;
  box-shadow:0 6px 20px rgba(44,58,92,0.06);transition:transform .2s ease, box-shadow .2s ease;
}
.related-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(44,58,92,0.12);}
.related-card i{font-size:1.4rem;color:var(--color-accent);margin-bottom:10px;}
.related-card span{display:block;font-family:'Quicksand',sans-serif;font-weight:600;color:var(--color-primary);font-size:0.92rem;}

/* RESPONSIVE */
@media (max-width:900px){
  .diff-grid{grid-template-columns:repeat(2,1fr);gap:28px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:170px;}
  .gallery-item.wide{grid-column:span 2;}
  .gallery-item.tall{grid-row:span 1;}
  .sup-grid, .rehab-grid, .carles-grid, .contact-grid, .tarifas-grid{grid-template-columns:1fr;}
  .rehab-grid{gap:36px;}
  .rehab-grid .rehab-img{order:-1;}
  .carles-photo{max-width:320px;margin:0 auto;}
  .testimonial-grid{grid-template-columns:1fr;}
  .related-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  nav ul{
    position:fixed;top:0;right:0;height:100vh;width:72%;max-width:320px;
    background:var(--color-primary);flex-direction:column;
    justify-content:center;gap:34px;
    transform:translateX(100%);transition:transform .18s ease-out;
    will-change:transform;
    padding:0 40px;
    visibility:hidden;
  }
  nav ul.open{transform:translateX(0);visibility:visible;}
  nav a, header.scrolled nav a{color:#fff;font-size:1.1rem;}
  header.scrolled nav a:hover{color:var(--color-accent-light);}
  .burger{display:flex;}
  .services-grid{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:140px;}
  .trial-note{font-size:0.8rem;padding:7px 14px;}
  .section{padding:60px 0;}
  .section-title{font-size:1.65rem;}
  .diff-grid{grid-template-columns:1fr 1fr;}
  .hero-btns .btn{padding:12px 20px;font-size:0.9rem;}
  .article-hero{min-height:46vh;}
  .related-grid{grid-template-columns:1fr 1fr;}
}
