/* ============================================================
   CHAMVITAS — Hoja de estilos principal
   Tipografía: Poppins (títulos) + DM Sans (cuerpo) — igual que chamvitas.com
   Paleta: amarillo de marca + tinta oscura + crema cálido
   ============================================================ */

:root{
  --yellow:        #FDD551;
  --yellow-deep:   #F4C11E;
  --yellow-soft:   #FFF3D2;
  --ink:           #1D1E20;
  --ink-soft:      #35363A;
  --cream:         #FAF5EC;
  --cream-deep:    #F1E8D8;
  --white:         #FFFFFF;
  --gray:          #6B6B6F;
  --gray-light:    #E7E1D4;
  --radius-lg:     28px;
  --radius-md:     18px;
  --radius-sm:     12px;
  --shadow-soft:   0 20px 45px -20px rgba(29,30,32,.25);
  --shadow-card:   0 12px 30px -12px rgba(29,30,32,.18);
  --container:     1240px;
  --ff-head: "Poppins", sans-serif;
  --ff-body: "DM Sans", sans-serif;
  --sidebar-w:     232px;
  --topbar-h:      74px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; }
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--ff-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  padding: 8px 16px;
  border-radius: 999px;
}
.eyebrow::before{
  content:"";
  width:6px; height:6px;
  border-radius:50%;
  background: var(--ink);
}
.section{ padding: 110px 0; position:relative; }
.section--tight{ padding: 70px 0; }
.section-head{
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size: clamp(32px, 4.4vw, 52px); }
.section-head p{ font-size: 18px; color: var(--gray); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(.96); }
.btn--primary{
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn--primary:hover{ background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.btn--outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover{ background: var(--ink); color: var(--white); transform: translateY(-3px); }
.btn--light{
  background: var(--yellow);
  color: var(--ink);
}
.btn--light:hover{ background: var(--white); transform: translateY(-3px); }
.btn--ghost-light{
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.btn--ghost-light:hover{ background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--sm{ padding: 12px 22px; font-size: 14px; }

/* ===================== SIDEBAR (nav lateral izquierdo) ===================== */
body{ padding-left: var(--sidebar-w); }

.site-sidebar{
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  z-index: 500;
  background: var(--cream);
  border-right: 1px solid rgba(29,30,32,.08);
  display:flex;
  flex-direction: column;
  padding: 30px 22px;
  overflow-y: auto;
}
.sidebar-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
}
.brand img{
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ink);
}
.main-nav ul{ display:flex; flex-direction: column; gap: 2px; }
.main-nav a{
  display:flex;
  align-items:center;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
.main-nav a:hover, .main-nav a.active{ background: var(--ink); color: var(--white); padding-left: 20px; }
.sidebar-cta{
  margin-top: auto;
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
}
.sidebar-cta .btn{ width:100%; }
.sidebar-social{
  display:flex;
  align-items:center;
  gap: 10px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(29,30,32,.1);
}
.sidebar-social a{
  display:flex; align-items:center; justify-content:center;
  width: 36px; height:36px;
  border-radius:50%;
  background: var(--cream-deep);
  color: var(--ink);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.sidebar-social a:hover{ background: var(--yellow); transform: translateY(-2px); }
.sidebar-social svg{ width:16px; height:16px; }
.hamburger{
  display:none;
  width: 42px; height:42px;
  border-radius:50%;
  border: 1px solid rgba(29,30,32,.15);
  background: transparent;
  align-items:center; justify-content:center;
  position: relative;
  flex-shrink: 0;
}
.hamburger span, .hamburger span::before, .hamburger span::after{
  content:""; position:absolute;
  width: 18px; height:2px; background: var(--ink);
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger span::before{ transform: translateY(-6px); }
.hamburger span::after{ transform: translateY(6px); }
.hamburger.is-active span{ background: transparent; }
.hamburger.is-active span::before{ transform: rotate(45deg); }
.hamburger.is-active span::after{ transform: rotate(-45deg); }

.sidebar-overlay{
  display:none;
  position: fixed; inset:0;
  background: rgba(29,30,32,.4);
  z-index: 490;
}

@media (max-width: 900px){
  body{ padding-left: 0; padding-top: var(--topbar-h); }
  .site-sidebar{
    top:0; left:0; height: 100vh;
    width: min(300px, 82vw);
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    box-shadow: var(--shadow-soft);
  }
  .site-sidebar.is-open{ transform: translateX(0); }
  .sidebar-overlay.is-open{ display:block; }

  .topbar{
    position: fixed; top:0; left:0; right:0; height: var(--topbar-h);
    z-index: 480;
    background: rgba(250,245,236,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(29,30,32,.08);
    display:flex; align-items:center; justify-content:space-between;
    padding-inline: 18px;
  }
  .topbar .brand{ font-size: 16px; }
  .topbar .brand img{ width: 34px; height:34px; }
  .hamburger{ display:flex; }
}
@media (min-width: 901px){
  .topbar{ display:none; }
}

/* ===================== HERO ===================== */
.hero{
  padding: 70px 0 90px;
  position: relative;
}
.hero .container{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items:center;
}
.hero h1{
  font-size: clamp(40px, 6vw, 74px);
  margin-top: .4em;
}
.hero h1 em{
  font-style: normal;
  background: var(--yellow);
  padding: 0 10px;
  border-radius: 12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-lede{ font-size: 19px; color: var(--gray); max-width: 480px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top: 34px; }
.hero-trust{
  display:flex; align-items:center; gap:18px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-light);
}
.hero-trust .stat b{
  display:block; font-family: var(--ff-head); font-size: 30px; font-weight: 800;
}
.hero-trust .stat span{ font-size: 13px; color: var(--gray); }
.hero-visual{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-visual .frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
}
.hero-visual img{ width:100%; height:100%; object-fit: cover; }
.floating-card{
  position:absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px 20px;
  display:flex; align-items:center; gap:12px;
  font-family: var(--ff-head);
}
.floating-card img{ width: 34px; height:34px; }
.floating-card .fc-num{ font-size: 22px; font-weight: 800; line-height:1; }
.floating-card .fc-label{ font-size: 12px; color: var(--gray); font-family: var(--ff-body); }
.floating-card--rating{ top: 8%; left: -8%; }
.floating-card--verified{ bottom: 10%; right: -10%; }

@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; }
  .floating-card--rating{ left: 4%; }
  .floating-card--verified{ right: 4%; }
}

/* ===================== MARQUEE ===================== */
.marquee{
  overflow: hidden;
  white-space: nowrap;
  padding: 22px 0;
  transform: rotate(-1.2deg);
  margin-block: -18px;
  position: relative;
  z-index: 5;
}
.marquee--dark{ background: var(--ink); }
.marquee--yellow{ background: var(--yellow); }
.marquee-track{
  display:inline-flex;
  align-items:center;
  gap: 40px;
  animation: marquee 32s linear infinite;
}
.marquee--reverse .marquee-track{ animation-direction: reverse; }
.marquee-track span{
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .02em;
  display:inline-flex; align-items:center; gap:40px;
}
.marquee--dark .marquee-track span{ color: var(--yellow); }
.marquee--yellow .marquee-track span{ color: var(--ink); }
.marquee-track span::after{ content:"✦"; opacity:.6; font-size:16px; }
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* ===================== INTRO / STATS ===================== */
.intro{ padding-top: 130px; }
.intro .container{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
  align-items:center;
}
.intro-copy p{ font-size: 18px; color: var(--gray); }
.intro-gallery{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
.intro-gallery .g-tall{ grid-row: span 2; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card); }
.intro-gallery .g-tall img{ height:100%; object-fit:cover; }
.stat-card{
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display:flex; flex-direction:column; justify-content:center;
}
.stat-card b{ font-family: var(--ff-head); font-size: 40px; font-weight: 800; color: var(--yellow); }
.stat-card span{ font-size: 13px; opacity:.85; }
.stat-card--light{ background: var(--yellow); color: var(--ink); }
.stat-card--light b{ color: var(--ink); }

/* ===================== CATEGORÍAS ===================== */
.cat-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.cat-card{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  aspect-ratio: 3/3.6;
  box-shadow: var(--shadow-card);
  isolation: isolate;
  cursor: pointer;
  transition: transform .35s ease;
}
.cat-card:hover{ transform: translateY(-6px); }
.cat-card:focus-visible{ outline: 3px solid var(--ink); outline-offset:3px; }
.cat-card img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.cat-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(190deg, rgba(29,30,32,0) 35%, rgba(29,30,32,.92) 100%);
  z-index:1;
}
.cat-card:hover img{ transform: scale(1.08); }
.cat-card-body{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding: 20px;
  color: var(--white);
}
.cat-card-body .tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  background: var(--yellow); color: var(--ink);
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 10px;
}
.cat-card-body .tag::after{ content:"→"; transition: transform .3s ease; }
.cat-card:hover .tag::after{ transform: translateX(3px); }
.cat-card-body h3{ font-size: 21px; margin-bottom: 4px; color: var(--white); }
.cat-card-body p{ font-size: 13px; opacity:.85; margin:0; }

/* ===================== MODAL DE SUBCATEGORÍAS ===================== */
.cat-modal{
  position: fixed; inset:0; z-index: 900;
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cat-modal.is-open{ visibility: visible; opacity:1; transition: opacity .3s ease; }
.cat-modal-overlay{
  position:absolute; inset:0;
  background: rgba(29,30,32,.55);
  backdrop-filter: blur(2px);
}
.cat-modal-card{
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(920px, 100%);
  max-height: 86vh;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display:grid;
  grid-template-columns: 340px 1fr;
}
.cat-modal.is-open .cat-modal-card{ transform: translateY(0) scale(1); }
.cat-modal-close{
  position:absolute; top:16px; right:16px; z-index:3;
  width: 38px; height:38px; border-radius:50%;
  background: var(--white); border:none;
  font-size: 22px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-card);
}

/* --- Panel izquierdo: color sólido + imagen destacada flotante --- */
.cat-modal-media{
  position: relative;
  background: var(--yellow);
  overflow:hidden;
  min-height: 380px;
  padding: 30px 26px;
  display:flex;
  flex-direction:column;
}
.cat-modal-media::before{
  content:"";
  position:absolute;
  width: 220px; height:220px;
  border-radius:50%;
  background: rgba(255,255,255,.25);
  filter: blur(6px);
  top: -70px; right: -70px;
}
.cat-modal-media::after{
  content:"";
  position:absolute;
  width: 140px; height:140px;
  border-radius:50%;
  background: rgba(29,30,32,.08);
  bottom: -50px; left: -40px;
}
.cmm-tag{
  position:relative; z-index:1;
  display:inline-flex; align-self:flex-start;
  font-family: var(--ff-head); font-weight:700; font-size:11px;
  letter-spacing:.06em; text-transform:uppercase;
  background: var(--ink); color: var(--yellow);
  padding: 6px 12px; border-radius:999px;
  margin-bottom: 18px;
}
.cmm-title{
  position:relative; z-index:1;
  font-size: clamp(24px,3vw,32px);
  color: var(--ink);
  margin-bottom: auto;
  max-width: 220px;
}
.cmm-visual{
  position: relative; z-index:1;
  margin-top: 24px;
  margin-inline: auto;
  width: 210px;
  height: 260px;
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: 0 18px 34px -14px rgba(29,30,32,.35);
  border: 4px solid var(--white);
  background: var(--white);
}
.cmm-visual img{ width:100%; height:100%; object-fit:cover; }

/* --- Panel derecho: lista de servicios --- */
.cat-modal-body{
  padding: 34px clamp(20px,4vw,36px) 24px;
  overflow-y: auto;
  max-height: 86vh;
  display:flex; flex-direction:column;
}
.cat-modal-body h3{ font-size: clamp(20px,2.4vw,24px); margin-bottom:4px; }
.cat-modal-body .cmb-lede{ font-size:13.5px; color: var(--gray); margin-bottom:20px; }
.cat-modal-subs{
  display:flex; flex-direction:column;
  border-top: 1px solid var(--gray-light);
}
.cat-modal-row{
  display:flex; align-items:center; gap:14px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--gray-light);
  transition: background .2s ease, padding-left .2s ease;
}
.cat-modal-row:hover{ background: var(--cream); padding-left: 12px; }
.cmr-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--yellow-deep);
  flex-shrink:0;
}
.cmr-name{ flex:1; font-size: 14.5px; font-weight:500; color: var(--ink); }
.cmr-plus{
  flex-shrink:0;
  width: 30px; height:30px; border-radius:50%;
  background: var(--ink); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size: 17px; line-height:1;
  transition: background .2s ease, transform .2s ease;
}
.cat-modal-row:hover .cmr-plus{ background: var(--yellow); color: var(--ink); transform: rotate(90deg); }

@media (max-width: 780px){
  .cat-modal-card{
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-height: 90vh;
  }
  .cat-modal-media{ min-height: 0; }
  .cat-modal-body{ max-height: none; }
}

/* ===================== CÓMO FUNCIONA ===================== */
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.step-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step-card .num{
  font-family: var(--ff-head);
  font-size: 14px; font-weight:800;
  color: var(--ink);
  background: var(--yellow);
  width: 30px; height:30px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.step-card img{ width: 30px; height:30px; margin-bottom: 16px; }
.step-card h3{ font-size: 19px; }
.step-card p{ font-size: 14.5px; color: var(--gray); margin:0; }

/* ===================== SERVICIOS DESTACADOS ===================== */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card{
  border-radius: var(--radius-lg);
  overflow:hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.feature-card:hover{ transform: translateY(-8px); }
.feature-card .fc-media{ aspect-ratio: 4/3; overflow:hidden; }
.feature-card .fc-media img{ width:100%; height:100%; object-fit:cover; }
.feature-card .fc-body{ padding: 26px; }
.feature-card h3{ font-size: 21px; }
.feature-card p{ color: var(--gray); font-size: 14.5px; margin-bottom: 14px; }
.feature-card .fc-link{ font-family: var(--ff-head); font-weight:600; font-size:14px; display:inline-flex; align-items:center; gap:6px; }
.feature-card .fc-link::after{ content:"→"; transition: transform .3s ease; }
.feature-card:hover .fc-link::after{ transform: translateX(4px); }

/* ===================== MEMBRESÍAS ===================== */
.plans{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.plan-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
  display:flex; flex-direction:column;
  position: relative;
  border: 2px solid transparent;
  transition: border-color .35s ease;
}
.plan-card:hover{ transform: translateY(-6px); }
.plan-card--highlight{
  background: var(--ink);
  color: var(--white);
  border-color: var(--yellow);
}
.plan-card--highlight .plan-price small,
.plan-card--highlight .plan-includes{ color: rgba(255,255,255,.7); }
.plan-badge{
  position:absolute; top:-14px; right:24px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--ff-head); font-weight:700; font-size:12px;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.plan-name{ font-family: var(--ff-head); font-weight:800; font-size: 22px; letter-spacing:-.01em; margin-bottom:2px; }
.plan-includes{ font-size:12.5px; color: var(--gray); margin-bottom: 14px; }
.plan-price{ display:flex; align-items:baseline; gap:6px; margin-bottom: 22px; }
.plan-price b{ font-family: var(--ff-head); font-size: 30px; font-weight:800; }
.plan-price small{ font-size: 13px; color: var(--gray); }
.plan-features{ flex:1; display:flex; flex-direction:column; gap:12px; margin-bottom: 24px; }
.plan-features li{ display:flex; align-items:flex-start; gap:10px; font-size: 13.5px; }
.plan-features li img{ width:18px; height:18px; margin-top:1px; flex-shrink:0; }
.plan-card--highlight .plan-features li img{ filter: invert(1); }
.plan-card .btn{ width:100%; white-space:normal; text-align:center; line-height:1.3; padding-inline: 18px; }

@media (max-width: 1100px){
  .plans{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .plans{ grid-template-columns: 1fr; }
}

/* ===================== TESTIMONIO ===================== */
.testimonial{
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 70px clamp(24px, 6vw, 90px);
  text-align:center;
  position:relative;
  overflow:hidden;
}
.testimonial .stars{ color: var(--yellow); font-size: 22px; letter-spacing:4px; margin-bottom: 22px; }
.testimonial blockquote{
  font-family: var(--ff-head);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight:600;
  line-height:1.35;
  margin: 0 auto 28px;
  max-width: 820px;
}
.testimonial cite{
  font-style:normal;
  font-family: var(--ff-head);
  font-weight:700;
  font-size:15px;
  opacity:.9;
}

/* ===================== VALORES ===================== */
.values{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.value-card{ padding: 10px; }
.value-card .vc-index{
  font-family: var(--ff-head); font-weight:800; color: var(--yellow-deep);
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
  font-size: 46px; margin-bottom: 14px; display:block;
}
.value-card h3{ font-size: 23px; }
.value-card p{ color: var(--gray); font-size:15px; }

/* ===================== APP ===================== */
.app-band{
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items:center;
  overflow:hidden;
  position:relative;
}
.app-band h2{ color:var(--white); font-size: clamp(30px,4vw,44px); }
.app-band p{ color: rgba(255,255,255,.75); font-size:17px; max-width: 460px; }
.app-badges{ display:flex; gap:14px; margin-top: 26px; flex-wrap:wrap; }
.app-badges img{ height: 52px; width:auto; }
.app-visual{
  position:relative;
  display:flex; justify-content:center;
}
.app-visual img{
  width: 220px;
  border-radius: 34px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  border: 6px solid var(--ink-soft);
}

/* ===================== CONTACTO ===================== */
.contact-wrap{
  display:grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
}
.contact-info{
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
}
.contact-info h2{ font-size: 30px; }
.contact-info p{ color: var(--ink-soft); }
.contact-line{
  display:flex; align-items:center; gap:14px;
  padding: 16px 0;
  border-top: 1px solid rgba(29,30,32,.15);
}
.contact-line:first-of-type{ border-top:none; margin-top: 20px; }
.contact-line img{ width: 22px; height:22px; }
.contact-line b{ display:block; font-family: var(--ff-head); font-size:15px; }
.contact-line span{ font-size:13px; color: var(--ink-soft); }

.contact-form{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.contact-form h3{ font-size: 24px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:8px; }
.field input, .field textarea{
  width:100%;
  border: 1.5px solid var(--gray-light);
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--ff-body);
  font-size: 14.5px;
  transition: border-color .25s ease;
}
.field input:focus, .field textarea:focus{ outline:none; border-color: var(--ink); }
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size:12.5px; color: var(--gray); margin-top: -6px; }

@media (max-width: 900px){
  .contact-wrap{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: 80px 0 30px;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .brand{ color: var(--white); margin-bottom: 14px; }
.footer-brand p{ font-size: 14px; max-width: 320px; }
.footer-social{
  display:inline-flex; align-items:center; justify-content:center;
  width: 40px; height:40px; border-radius:50%;
  background: rgba(255,255,255,.08);
  margin-top: 10px;
}
.footer-social img{ width:18px; height:18px; filter: invert(1); }
.footer-col h4{ color: var(--white); font-size:15px; font-family: var(--ff-head); margin-bottom:18px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; transition: color .25s ease; }
.footer-col a:hover{ color: var(--yellow); }
.footer-newsletter form{ display:flex; gap:0; margin-top:16px; border-radius:999px; overflow:hidden; background: rgba(255,255,255,.08); padding:5px; }
.footer-newsletter input{
  flex:1; border:none; background:transparent; padding: 12px 16px; color:var(--white); font-family: var(--ff-body); font-size:14px;
}
.footer-newsletter input::placeholder{ color: rgba(255,255,255,.5); }
.footer-newsletter input:focus{ outline:none; }
.footer-newsletter button{
  background: var(--yellow); color: var(--ink); border:none; border-radius:999px;
  padding: 12px 20px; font-family: var(--ff-head); font-weight:700; font-size:13px;
}
.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
  padding-top: 26px;
  font-size: 13px;
}
.footer-bottom ul{ display:flex; gap:22px; }
.footer-bottom a:hover{ color: var(--yellow); }

/* ===================== SCROLL REVEAL ===================== */
/* El estado inicial y la animación de [data-reveal] / [data-reveal-stagger]
   ahora los controla GSAP + ScrollTrigger (ver js/site.js). Si JS no carga,
   el contenido se queda visible por defecto (mejor que quedar oculto). */
.hero-visual .frame img{ will-change: transform; }

/* ===================== TARJETAS DE EXPLORACIÓN (home) ===================== */
.explore-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.explore-card{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 3/3.4;
  box-shadow: var(--shadow-card);
  background: var(--ink);
  color: var(--white);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding: 26px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.explore-card:hover{ transform: translateY(-8px); }
.explore-card .ec-num{
  position:absolute; top:22px; left:26px;
  font-family: var(--ff-head); font-weight:800; font-size:13px;
  color: var(--yellow);
  letter-spacing:.08em;
}
.explore-card h3{ color: var(--white); font-size: 22px; margin-bottom:8px; }
.explore-card p{ color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 18px; }
.explore-card .ec-link{
  font-family: var(--ff-head); font-weight:600; font-size:14px;
  color: var(--yellow);
  display:inline-flex; align-items:center; gap:6px;
}
.explore-card .ec-link::after{ content:"→"; transition: transform .3s ease; }
.explore-card:hover .ec-link::after{ transform: translateX(4px); }
.explore-card--yellow{ background: var(--yellow); color: var(--ink); }
.explore-card--yellow .ec-num{ color: var(--ink); opacity:.6; }
.explore-card--yellow h3, .explore-card--yellow p{ color: var(--ink); }
.explore-card--yellow p{ opacity:.75; }
.explore-card--yellow .ec-link{ color: var(--ink); }

/* ===================== HERRAMIENTAS: cuadros de features ===================== */
.tool-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease;
}
.tool-card:hover{ transform: translateY(-6px); }
.tool-card img{ width: 32px; height:32px; margin-bottom:18px; }
.tool-card h3{ font-size: 18px; margin-bottom:8px; }
.tool-card p{ font-size: 14px; color: var(--gray); margin:0; }

/* ===================== SERVICIOS: SCROLL APILADO (Inicio) ===================== */
.services-scroll{
  position: relative;
  background: var(--cream);
}
.services-scroll-pin{
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding-block: 60px;
}
.services-scroll-inner{
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items:center;
  width:100%;
}

/* --- Columna izquierda: fija, se actualiza en vivo con la categoría activa --- */
.services-scroll-left h2{ font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; transition: opacity .2s ease; }
.services-scroll-left p{ font-size: 15.5px; color: var(--gray); margin-bottom: 20px; max-width: 380px; }
.ss-dynamic{ min-height: 260px; }
.ss-subs{
  display:flex; flex-wrap:wrap; gap:8px;
  margin-bottom: 28px; max-width: 400px;
}
.ss-subs li{
  background: var(--cream-deep);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px; font-weight:500;
  color: var(--ink-soft);
}
.services-progress{ display:flex; align-items:center; gap:14px; margin-bottom: 26px; max-width: 380px; }
.sp-count{ font-family: var(--ff-head); font-weight:700; font-size:14px; color: var(--ink); white-space:nowrap; }
.sp-count b{ font-size:20px; }
.sp-track{ flex:1; height:4px; border-radius:999px; background: var(--gray-light); overflow:hidden; }
.sp-fill{ height:100%; width:10%; background: var(--yellow-deep); border-radius:999px; transition: width .15s linear; }
.services-scroll-ctas{ display:flex; gap:12px; flex-wrap:wrap; }

/* --- Columna derecha (variante órbita, si se usa) --- */
.services-scroll-right{
  position: relative;
  height: min(62vh, 600px);
  min-height: 420px;
  overflow: visible;
}
.service-orbit{ position:relative; width:100%; height:100%; overflow: visible; }
.orbit-track{
  position:absolute; top:50%; left:50%; width:0; height:0;
  border-radius:50%; border: 1px dashed var(--gray-light); pointer-events:none;
}
.orbit-node{
  position:absolute; top:50%; left:50%;
  width: 108px; height:108px; margin: -54px 0 0 -54px;
  border-radius:50%; overflow:hidden;
  border: 3px solid var(--white); box-shadow: var(--shadow-card);
  cursor:pointer; will-change: transform, opacity; backface-visibility: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.orbit-node img{ width:100%; height:100%; object-fit:cover; }
.orbit-node.is-active{
  border-color: var(--yellow);
  box-shadow: 0 20px 40px -14px rgba(29,30,32,.45), 0 0 0 6px rgba(253,213,81,.3);
}

/* --- Variante carrete horizontal: la sección se apila (texto arriba, carrete abajo) --- */
.services-scroll--reel .services-scroll-inner{
  display:flex;
  flex-direction: column;
  gap: 40px;
}
.services-scroll--reel .services-scroll-left{ max-width: 640px; }
.services-scroll--reel .ss-subs,
.services-scroll--reel .services-progress{ max-width: 560px; }

.service-reel-wrap{
  position: relative;
  width: 100%;
  height: min(50vh, 440px);
  min-height: 320px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.service-reel{
  position:absolute; top:0; left:50%;
  display:flex;
  align-items:center;
  gap: 22px;
  height:100%;
  will-change: transform;
}
.reel-card{
  position:relative;
  flex-shrink:0;
  width: 200px;
  aspect-ratio: 375/466;
  border-radius: 20px;
  overflow:hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid var(--white);
  cursor:pointer;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.reel-card img{ width:100%; height:100%; object-fit:cover; }
.reel-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(200deg, rgba(29,30,32,0) 45%, rgba(29,30,32,.85) 100%);
}
.rc-label{
  position:absolute; left:14px; right:14px; bottom:14px; z-index:1;
  color: var(--white);
  font-family: var(--ff-head); font-weight:700; font-size:14px;
  line-height:1.25;
}
.reel-card.is-active{
  border-color: var(--yellow);
  box-shadow: 0 30px 60px -18px rgba(29,30,32,.55), 0 0 0 6px rgba(253,213,81,.28);
}

/* --- Variante coverflow 3D: tarjetas centradas con profundidad y rotación real --- */
.services-scroll--coverflow .service-reel-wrap{
  perspective: 1400px;
}
.services-scroll--coverflow .service-reel{
  display:block; inset:0; left:0; transform-style: preserve-3d;
}
.services-scroll--coverflow .reel-card{
  position:absolute; top:50%; left:50%; margin:0; flex-shrink:initial;
  transform-style: preserve-3d;
}
.services-scroll--coverflow.is-static .service-reel-wrap{ perspective:none; }
.services-scroll--coverflow.is-static .service-reel{ display:flex; position:relative; inset:auto; transform-style:flat; }
.services-scroll--coverflow.is-static .reel-card{
  position:relative !important; top:auto !important; left:auto !important;
  flex-shrink:0 !important; margin:0 !important;
}

/* --- Variante vitrina flotante: una sola foto grande por categoría, con --- */
/* resplandor amarillo, flotación continua y puntos-miniatura debajo.     */
.services-scroll--showcase .services-scroll-inner{
  display:flex; flex-direction:column; align-items:center; gap: 44px;
}
.services-scroll--showcase .services-scroll-left{ max-width: 640px; align-self:flex-start; }
.services-scroll--showcase .ss-subs,
.services-scroll--showcase .services-progress{ max-width: 560px; }

.service-showcase-wrap{
  position: relative;
  display:flex; flex-direction:column; align-items:center; gap: 26px;
  width: 100%;
}
.ss-glow{
  position:absolute; top: 50%; left:50%;
  width: 640px; height: 640px; margin: -320px 0 0 -320px;
  background: radial-gradient(circle, rgba(253,213,81,.55) 0%, rgba(253,213,81,0) 70%);
  filter: blur(6px);
  pointer-events:none;
  z-index: 0;
}
.showcase-float{ position:relative; z-index:1; }
.service-showcase{
  position:relative;
  width: clamp(320px, 34vw, 560px);
  aspect-ratio: 375/466;
}
.showcase-card{
  position:absolute; inset:0;
  border-radius: 26px;
  overflow:hidden;
  box-shadow: 0 30px 60px -18px rgba(29,30,32,.4);
  border: 3px solid var(--white);
  cursor:pointer;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.showcase-card img{ width:100%; height:100%; object-fit:cover; }
.showcase-card.is-active{
  box-shadow: 0 34px 64px -16px rgba(29,30,32,.48), 0 0 0 7px rgba(253,213,81,.3);
}
.showcase-dots{
  position:relative; z-index:1;
  display:flex; flex-wrap:wrap; justify-content:center; gap: 10px;
  max-width: 460px;
}
.sd-dot{
  width: 42px; height:42px; border-radius:50%; overflow:hidden;
  padding:0; border: 2px solid transparent; background:none;
  cursor:pointer; opacity: .5;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
}
.sd-dot img{ width:100%; height:100%; object-fit:cover; display:block; }
.sd-dot:hover{ opacity: .8; }
.sd-dot.is-active{ opacity:1; border-color: var(--yellow); transform: scale(1.14); }

.services-scroll--showcase.is-static .ss-glow{ display:none; }
.services-scroll--showcase.is-static .showcase-float{ transform:none !important; }
.services-scroll--showcase.is-static .service-showcase{
  width:100%; aspect-ratio:auto;
  display:grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 16px;
}
.services-scroll--showcase.is-static .showcase-card{
  position:relative; inset:auto; aspect-ratio: 375/466;
  opacity:1 !important; transform:none !important;
}
.services-scroll--showcase.is-static .showcase-dots{ display:none; }

/* --- Fallback estático (reduced motion / sin GSAP) --- */
.services-scroll.is-static .services-scroll-pin{ min-height:0; padding-block: 0; }
.services-scroll.is-static .services-scroll-inner{ grid-template-columns: 1fr; }
.services-scroll.is-static .services-scroll-right{ height:auto; min-height:0; margin-top: 36px; }
.services-scroll.is-static .orbit-track{ display:none; }
.services-scroll.is-static .service-orbit{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(108px,1fr)); gap:20px;
}
.services-scroll.is-static .orbit-node{
  position:relative; inset:auto; top:auto; left:auto; margin:0;
  width:100%; aspect-ratio:1;
  opacity:1 !important; transform:none !important; filter:none !important;
}
.services-scroll.is-static .service-reel-wrap{
  height:auto; overflow-x:auto; overflow-y:hidden; mask-image:none; -webkit-mask-image:none;
  padding-bottom: 10px;
}
.services-scroll.is-static .service-reel{ position:relative; left:0; height:auto; transform:none !important; }
.services-scroll.is-static .reel-card{
  opacity:1 !important; transform:none !important; filter:none !important;
}

@media (max-width: 1100px){
  .services-scroll-inner{ grid-template-columns: 1fr; }
  .services-scroll-pin{ padding-block: 50px; align-items:flex-start; }
  .services-scroll-left{ margin-bottom: 36px; }
  .services-scroll-right{ height: min(52vh, 480px); }
  .ss-dynamic{ min-height: 0; }
  .service-reel-wrap{ height: min(42vh, 380px); min-height: 280px; }
}
@media (max-width: 640px){
  .services-scroll-right{ height: min(46vh, 420px); min-height: 340px; }
  .orbit-node{ width: 84px; height:84px; margin: -42px 0 0 -42px; }
  .service-reel-wrap{ height: min(38vh, 340px); min-height: 260px; }
  .reel-card{ width: 156px; }
  .service-showcase{ width: min(280px, 74vw); }
  .ss-glow{
    width: min(420px, 94vw); height: min(420px, 94vw);
    top: 50%; left: 50%; margin: 0;
    transform: translate(-50%, -50%);
  }
  .sd-dot{ width: 36px; height:36px; }
}

/* ===================== ENCABEZADO DE PÁGINA (interior) ===================== */
.page-hero{
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--gray-light);
}
.page-hero h1{ font-size: clamp(34px, 4.5vw, 54px); margin-bottom: 10px; max-width: 720px; }
.page-hero p{ font-size: 17px; color: var(--gray); max-width: 560px; }

@media (max-width: 1100px){
  .explore-grid{ grid-template-columns: repeat(2, 1fr); }
  .tool-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .explore-grid{ grid-template-columns: 1fr; }
  .tool-grid{ grid-template-columns: 1fr; }
}

/* ===================== COMPARATIVA SIN/CON CHAMVITAS ===================== */
.compare-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-card{
  border-radius: var(--radius-lg);
  padding: 34px clamp(22px,3vw,36px);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.compare-card .tag{
  display:inline-block;
  font-family: var(--ff-head); font-weight:700; font-size:12px;
  letter-spacing:.06em; text-transform:uppercase;
  padding: 6px 14px; border-radius:999px;
  margin-bottom: 20px;
  background: var(--gray-light); color: var(--ink-soft);
}
.compare-card--yes{ background: var(--ink); }
.compare-card--yes .tag{ background: var(--yellow); color: var(--ink); }
.compare-card ul{ display:flex; flex-direction:column; gap:16px; }
.compare-card li{
  display:flex; align-items:flex-start; gap:12px;
  font-size: 15px; color: var(--ink-soft); line-height:1.5;
}
.compare-card--yes li{ color: rgba(255,255,255,.9); }
.compare-card li::before{
  content:"✕";
  flex-shrink:0;
  width:22px; height:22px; border-radius:50%;
  background: var(--gray-light); color: var(--gray);
  font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  margin-top:1px;
}
.compare-card--yes li::before{
  content:"✓";
  background: var(--yellow); color: var(--ink);
}

/* ===================== FAQ ===================== */
.faq-list{
  max-width: 780px;
  margin-inline: auto;
  display:flex; flex-direction:column;
  gap: 12px;
}
.faq-item{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow:hidden;
}
.faq-question{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px;
  padding: 20px 24px;
  background:none; border:none;
  font-family: var(--ff-head); font-weight:600; font-size:16px;
  color: var(--ink);
  text-align:left;
  cursor:pointer;
}
.faq-icon{
  flex-shrink:0;
  width: 28px; height:28px; border-radius:50%;
  background: var(--cream-deep);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; line-height:1;
  transition: transform .3s ease, background .3s ease;
}
.faq-item.is-open .faq-icon{ background: var(--yellow); transform: rotate(45deg); }
.faq-answer{
  max-height:0;
  overflow:hidden;
  transition: max-height .35s ease;
}
.faq-answer p{
  padding: 0 24px 22px;
  font-size: 14.5px; color: var(--gray); line-height:1.65; margin:0;
}
.faq-answer p a{ color: var(--ink); font-weight:600; text-decoration:underline; }

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

/* ===================== CTA FLOTANTE (prestadores) ===================== */
.floating-cta{
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 400;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
  pointer-events: none;
}
.floating-cta.is-visible{ transform: translateY(0); opacity:1; pointer-events:auto; }
.floating-cta a{
  display:flex; align-items:center; gap:10px;
  background: var(--ink); color: var(--white);
  font-family: var(--ff-head); font-weight:600; font-size:14px;
  padding: 15px 22px; border-radius:999px;
  box-shadow: var(--shadow-soft);
  transition: background .25s ease, transform .25s ease;
}
.floating-cta a:hover{ background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
.floating-cta .fc-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--yellow);
  flex-shrink:0;
}
.floating-cta a:hover .fc-dot{ background: var(--ink); }
@media (max-width: 640px){
  .floating-cta{ left:16px; right:16px; bottom:16px; }
  .floating-cta a{ justify-content:center; width:100%; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px){
  .steps{ grid-template-columns: repeat(2,1fr); }
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .section{ padding: 70px 0; }
  .intro .container{ grid-template-columns: 1fr; }
  .intro-gallery{ order:-1; }
  .steps{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .values{ grid-template-columns: 1fr; }
  .app-band{ grid-template-columns: 1fr; text-align:center; }
  .app-visual{ order:-1; }
  .app-badges{ justify-content:center; }
  .footer-top{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ===================== PÁGINAS LEGALES ===================== */
.legal-hero{
  padding: 90px 0 40px;
  border-bottom: 1px solid var(--gray-light);
}
.legal-hero .eyebrow{ margin-bottom: 18px; }
.legal-hero h1{ font-size: clamp(32px, 4.5vw, 50px); margin-bottom: 10px; }
.legal-updated{ font-size: 14px; color: var(--gray); }
.legal-section{ padding: 60px 0 110px; }
.legal-wrap{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items:start;
}
.legal-toc{
  position: sticky;
  top: 40px;
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 22px;
}
.legal-toc h4{
  font-family: var(--ff-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
  color: var(--gray);
}
.legal-toc ol{
  list-style: none;
  counter-reset: toc;
  display:flex; flex-direction:column; gap: 4px;
}
.legal-toc a{
  display:block;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
}
.legal-toc a:hover{ background: var(--white); color: var(--ink); }
.legal-toc a.active{ background: var(--ink); color: var(--white); }
.legal-content{ max-width: 760px; }
.legal-content section{ margin-bottom: 42px; scroll-margin-top: 24px; }
.legal-content h2{
  font-size: 24px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  display:inline-block;
}
.legal-content h3{ font-size: 17px; margin: 22px 0 8px; }
.legal-content p{ font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }
.legal-content ul{
  list-style: none;
  display:flex; flex-direction:column; gap: 8px;
  margin: 12px 0 16px;
}
.legal-content ul li{
  font-size: 15px; color: var(--ink-soft); line-height: 1.6;
  padding-left: 22px; position:relative;
}
.legal-content ul li::before{
  content:"";
  position:absolute; left:0; top: 9px;
  width: 7px; height:7px; border-radius:50%;
  background: var(--yellow-deep);
}
.legal-content > p:first-of-type{ font-size: 17px; color: var(--ink); }

@media (max-width: 900px){
  .legal-section{ padding: 40px 0 70px; }
  .legal-wrap{ grid-template-columns: 1fr; gap: 30px; }
  .legal-toc{ position: static; }
}

/* ===================== PROCESO DE PRESTADORES / DESCARGA / AVISOS ===================== */
ol.steps{ list-style:none; margin:0; padding:0; }
.steps--five{ gap: 18px; grid-template-columns: repeat(6, 1fr); }
.steps--five .step-card{ padding: 26px 22px; grid-column: span 2; }
.steps--five .step-card:nth-child(n+4){ grid-column: span 3; }
@media (min-width: 1500px){
  .steps--five{ grid-template-columns: repeat(5, 1fr); }
  .steps--five .step-card, .steps--five .step-card:nth-child(n+4){ grid-column: auto; }
}
@media (max-width: 720px){
  .steps--five{ grid-template-columns: 1fr; }
  .steps--five .step-card, .steps--five .step-card:nth-child(n+4){ grid-column: auto; }
}
.steps-cta{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top: 40px; }

/* Etiquetas largas de botón: permitir salto de línea sin romper el diseño */
.sidebar-cta .btn, .steps-cta .btn, .hero-actions .btn, .notice .btn{
  white-space: normal; text-align: center; line-height: 1.3;
}
.floating-cta a{ line-height: 1.3; }

/* Insignias de tienda (enlaces oficiales) */
.app-badges .store-badge{ display:inline-flex; border-radius: 10px; transition: transform .3s ease, opacity .3s ease; }
.app-badges a.store-badge[href]:hover{ transform: translateY(-3px); }
.app-badges a.store-badge:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 4px; }
.app-badges .store-badge.is-pending{ opacity: .4; filter: grayscale(1); cursor: not-allowed; }
.store-pending-note{ font-size: 13px !important; margin-top: 14px; }
@media (max-width: 900px){ #descarga, #como-comenzar{ scroll-margin-top: calc(var(--topbar-h) + 10px); } }

/* Aviso informativo (Membresías / Contacto) */
.notice{
  display:flex; align-items:flex-start; gap: 16px; flex-wrap: wrap;
  background: var(--white);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 22px 26px;
  max-width: 880px;
  margin: 0 auto 36px;
}
.notice img{ width: 24px; height: 24px; margin-top: 3px; flex-shrink: 0; }
.notice p{ flex: 1 1 280px; margin: 0; font-size: 16px; color: var(--ink); }
.notice .btn{ flex-shrink: 0; }

/* Etiqueta de plan en cada herramienta */
.tool-plan{
  display:inline-block;
  font-family: var(--ff-head); font-weight:700; font-size: 11px; letter-spacing: .03em;
  background: var(--yellow); color: var(--ink);
  padding: 4px 11px; border-radius: 999px;
  margin-bottom: 12px;
}
.tool-note{ margin-top: 28px; font-size: 14.5px; color: var(--gray); }
.tool-note a{ color: var(--ink); font-weight: 600; text-decoration: underline; }

/* Modal "Cómo acceder a este plan" */
.plan-modal-card{
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(520px, 100%);
  max-height: 90vh; overflow-y: auto;
  padding: 38px clamp(22px, 4vw, 38px) 32px;
  box-shadow: var(--shadow-soft);
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cat-modal.is-open .plan-modal-card{ transform: translateY(0) scale(1); }
.plan-modal-card .pm-tag{
  display:inline-flex; font-family: var(--ff-head); font-weight:700; font-size: 11px;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--yellow);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.plan-modal-card h3{ font-size: clamp(22px, 3vw, 28px); margin-bottom: 4px; }
.plan-modal-card .pm-price{ font-size: 14px; color: var(--gray); margin-bottom: 22px; }
.pm-reqs{ list-style:none; margin: 0 0 24px; padding: 0; counter-reset: pm; display:flex; flex-direction:column; gap: 14px; }
.pm-reqs li{ counter-increment: pm; display:flex; gap: 14px; align-items:flex-start; font-size: 15px; }
.pm-reqs li::before{
  content: counter(pm);
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  font-family: var(--ff-head); font-weight: 800; font-size: 13px;
  display:flex; align-items:center; justify-content:center;
}
.pm-reqs li b{ display:block; font-family: var(--ff-head); }
.pm-reqs li span{ color: var(--gray); font-size: 13.5px; }
.plan-modal-card .pm-actions{ display:flex; flex-wrap:wrap; gap: 12px; }
.plan-modal-card .pm-actions .btn{ white-space: normal; text-align:center; line-height:1.3; }
.req-legend{ font-size: 12.5px; color: var(--gray); margin: 0 0 18px; }

/* Formularios: campo trampa anti-bots y mensaje de estado */
.hp-field{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-status{ min-height: 1.4em; margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.form-status.is-error{ color: #B3261E; }
.form-status.is-ok{ color: var(--ink); }

/* Membresías: nota al pie, tabla de límites y condiciones */
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.plans-footnote{ margin: 40px 0 0; font-size: 13px; color: var(--gray); text-align: center; }
.plans-footnote a{ color: var(--ink); font-weight: 600; text-decoration: underline; }
.plans-extra-head{ margin-top: 72px; }
.plan-table-wrap{
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.plan-table{ width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.plan-table th, .plan-table td{ padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--gray-light); }
.plan-table thead th{ font-family: var(--ff-head); font-weight: 800; background: var(--cream-deep); }
.plan-table tbody th{ font-family: var(--ff-head); font-weight: 600; white-space: nowrap; }
.plan-table tbody tr:last-child th, .plan-table tbody tr:last-child td{ border-bottom: none; }
.conditions{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px){ .conditions{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .conditions{ grid-template-columns: 1fr; } .plans-extra-head{ margin-top: 56px; } }

.plan-modal-card .pm-note{ font-size: 13px; color: var(--gray); margin: 0 0 22px; }
.plan-modal-card .pm-note b{ color: var(--ink); }
.plans-footnote b{ color: var(--ink); }

/* ===== Servicios (Inicio): carrusel grande al centro + ficha a la derecha + fondo pintado ===== */
.services-scroll--coverflow .services-scroll-pin{ position: relative; overflow: hidden; }
.ss-tint{
  position:absolute; inset:0; z-index:0;
  background: transparent; opacity: 0; pointer-events: none;
}
.services-scroll--coverflow .services-scroll-inner{
  position: relative; z-index: 1;
  grid-template-columns: minmax(210px, 25%) minmax(0, 1fr) minmax(240px, 27%);
  gap: 28px;
}
.services-scroll--coverflow .services-scroll-left p{ color: var(--ink-soft); max-width: 340px; }
.services-scroll--coverflow .ss-dynamic{ min-height: 0; }
.services-scroll--coverflow .sp-track{ background: rgba(29,30,32,.16); }
.services-scroll--coverflow .services-progress{ max-width: 320px; }

.services-scroll--coverflow .service-reel-wrap{ height: min(58vh, 500px); min-height: 360px; }
.services-scroll--coverflow .reel-card{ width: 250px; }
.services-scroll--coverflow .rc-label{ font-size: 16px; left: 18px; right: 18px; bottom: 18px; }

/* Ficha de la categoría */
.service-ficha{
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 22px 18px;
  display: flex; flex-direction: column;
}
.sf-body{ flex: 1; }
.sf-label{ display:block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gray); }
.sf-count{ display:block; font-family: var(--ff-head); font-size: 24px; font-weight: 800; margin: 2px 0 14px; }
.service-ficha .ss-subs{
  flex-direction: column; flex-wrap: nowrap; gap: 0; margin: 0; max-width: none;
  border-top: 1px solid var(--gray-light);
}
.service-ficha .ss-subs li{
  background: transparent; border-radius: 0;
  padding: 13px 4px; font-size: 14.5px; color: var(--ink);
  border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  cursor: pointer; transition: background .2s ease, padding-left .2s ease;
}
.service-ficha .ss-subs li::after{ content: "+"; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; transition: background .2s ease, color .2s ease, transform .2s ease; }
.service-ficha .ss-subs li:hover, .service-ficha .ss-subs li:focus-visible{ background: var(--cream); padding-left: 10px; outline: none; }
.service-ficha .ss-subs li:hover::after, .service-ficha .ss-subs li:focus-visible::after{ background: var(--yellow); color: var(--ink); transform: rotate(90deg); }
.sf-all{ margin-top: 14px; font-family: var(--ff-head); font-weight: 600; font-size: 14px; display:inline-flex; align-items:center; gap:6px; }
.sf-all::after{ content: "→"; transition: transform .3s ease; }
.sf-all:hover::after{ transform: translateX(4px); }

@media (max-width: 1100px){
  .services-scroll--coverflow .services-scroll-inner{ grid-template-columns: 1fr; gap: 20px; }
  .services-scroll--coverflow .service-reel-wrap{ height: min(40vh, 340px); min-height: 260px; }
  .services-scroll--coverflow .reel-card{ width: 200px; }
  .services-scroll--coverflow .rc-label{ font-size: 14px; left: 14px; right: 14px; bottom: 14px; }
  .service-ficha{ padding: 16px 18px; box-shadow: none; background: rgba(255,255,255,.7); }
  .sf-count{ display: inline; font-size: 16px; margin-left: 8px; }
  .sf-label{ display: inline; }
  .service-ficha .ss-subs{ flex-direction: row; flex-wrap: wrap; gap: 8px; border-top: none; margin-top: 10px; }
  .service-ficha .ss-subs li{ background: var(--cream-deep); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; border-bottom: none; }
  .service-ficha .ss-subs li::after{ display: none; }
  .service-ficha .ss-subs li:hover, .service-ficha .ss-subs li:focus-visible{ padding-left: 14px; }
  .sf-all{ margin-top: 10px; }
}
@media (max-width: 640px){
  .services-scroll--coverflow .service-reel-wrap{ height: min(34vh, 300px); min-height: 230px; }
  .services-scroll--coverflow .reel-card{ width: 156px; }
}

/* Ajustes finos del panel: título contenido y ficha compacta */
.services-scroll--coverflow .services-scroll-left h2{ font-size: clamp(22px, 2.15vw, 30px); overflow-wrap: anywhere; }
.service-ficha{ padding: 20px 20px 16px; }
.sf-count{ font-size: 22px; margin-bottom: 10px; }
.service-ficha .ss-subs li{ padding: 10px 4px; font-size: 14px; }
.service-ficha .ss-subs li::after{ width: 24px; height: 24px; font-size: 14px; }
.service-ficha .ss-subs li.sf-more{ font-weight: 600; color: var(--ink); }

/* Tablet y celular: el bloque anclado debe caber en una pantalla */
@media (max-width: 1100px){
  .services-scroll--coverflow .services-scroll-pin{ padding-block: 24px; align-items: center; }
  .services-scroll--coverflow .services-scroll-inner{ gap: 14px; }
  .services-scroll--coverflow .services-scroll-left h2{ margin-bottom: 8px; }
  .services-scroll--coverflow .services-scroll-left p{ margin-bottom: 12px; }
  .services-scroll--coverflow .services-progress{ margin-bottom: 14px; }
  .services-scroll--coverflow .service-reel-wrap{ height: min(32vh, 300px); min-height: 220px; }
  .service-ficha{ padding: 12px 16px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .service-ficha .sf-body{ flex: 0 1 auto; }
  .service-ficha .ss-subs{ display: none; }
  .sf-label{ display: block; }
  .sf-count{ display: block; margin: 0; font-size: 18px; }
  .sf-all{ margin-top: 0; }
}
@media (max-width: 1100px) and (max-height: 720px){
  .services-scroll--coverflow .services-scroll-left p{ display: none; }
  .services-scroll--coverflow .service-reel-wrap{ height: min(30vh, 220px); min-height: 170px; }
}

/* Servicios: la foto de la categoría como fondo grande + color encima */
.ss-bgwrap{ position:absolute; inset:0; z-index:0; opacity:0; pointer-events:none; overflow:hidden; }
.ss-bg{
  position:absolute; inset:-70px;
  background-size: cover; background-position: center 30%;
  filter: blur(16px) saturate(1.1);
  opacity: 0; visibility: hidden;
  will-change: opacity;
}
/* El color cubre del todo la zona del texto (izquierda) y deja ver la foto hacia la derecha */
.ss-bgwrap .ss-tint{
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0,0,0,.26) 100%);
          mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0,0,0,.26) 100%);
}
@media (max-width: 1100px){
  .ss-bgwrap .ss-tint{
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0,0,0,.4) 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 45%, rgba(0,0,0,.4) 100%);
  }
}
/* Tinte del menú lateral y de la barra superior (se crea desde JS en Inicio) */
.nav-tint{ position:absolute; inset:0; z-index:-1; opacity:0; pointer-events:none; }
