:root{--rh-brand:#154059;--rh-brand-dark:#0d3044;--rh-green:#22b863;--rh-green-dark:#15884a;--rh-ink:#17232c;--rh-muted:#687985;--rh-soft:#f5f7f8;--rh-line:#e2e8ec;--rh-white:#fff;--rh-max:1180px}
html{scroll-behavior:smooth;scroll-padding-top:86px}
body.ritmo-home{margin:0;color:var(--rh-ink);background:#fff;font-family:'Segoe UI',Roboto,Arial,sans-serif;line-height:1.55;overflow-x:hidden}
body.ritmo-home *{box-sizing:border-box}
body.ritmo-home img{max-width:100%;height:auto}
body.ritmo-home a{text-decoration:none}
.rh-shell{width:min(var(--rh-max),calc(100% - 48px));margin:0 auto}
.rh-kicker{display:inline-block;margin-bottom:10px;color:var(--rh-brand);font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.rh-section-title{margin:0 0 18px;font-size:44px;line-height:1.08;font-weight:300;letter-spacing:-.035em;color:#252b2f}
.rh-copy{margin:0 0 17px;font-size:18px;line-height:1.75;color:#566771}
.rh-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border:2px solid transparent;border-radius:4px;font-size:14px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;transition:.18s ease}
.rh-btn-primary{background:var(--rh-brand);color:#fff!important}.rh-btn-primary:hover{background:var(--rh-brand-dark)}
.rh-btn-light{background:#fff;color:var(--rh-brand)!important}.rh-btn-light:hover{background:#edf3f6}
.rh-btn-outline-light{border-color:rgba(255,255,255,.85);color:#fff!important}.rh-btn-outline-light:hover{background:#fff;color:var(--rh-brand)!important}
.rh-btn-outline{border-color:var(--rh-brand);color:var(--rh-brand)!important;background:#fff}.rh-btn-outline:hover{background:var(--rh-brand);color:#fff!important}

/* Header — conservar la sensación del template Ritmo */
.rh-header{position:sticky;top:0;z-index:1000;background:#fff;border-bottom:1px solid #edf0f2;box-shadow:0 2px 10px rgba(10,35,50,.05)}
.rh-nav{height:86px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.rh-brand{display:inline-flex;align-items:baseline;white-space:nowrap;font-size:31px;font-weight:900;letter-spacing:-1.5px;color:var(--rh-brand)!important}.rh-brand span{font-weight:500;color:#76838c}
.rh-menu{display:flex;align-items:center;gap:30px}.rh-menu a{color:#20282e;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.01em}.rh-menu a:hover{color:var(--rh-brand)}
.rh-menu .rh-nav-cta{padding:13px 18px;background:var(--rh-brand);color:#fff!important;border-radius:4px;font-weight:500}
.rh-menu-toggle{display:none;border:0;background:none;padding:7px;cursor:pointer}.rh-menu-toggle span{display:block;width:26px;height:2px;margin:5px 0;background:var(--rh-brand)}

/* Hero */
.rh-hero{position:relative;min-height:660px;background:linear-gradient(rgba(21,64,89,.83),rgba(21,64,89,.83)),url('../img/home/ritmo/hero-fondo.webp') center/cover no-repeat;color:#fff;overflow:hidden}
.rh-hero:after{content:'';position:absolute;inset:auto -130px -260px auto;width:520px;height:520px;border:1px solid rgba(255,255,255,.08);border-radius:50%}
.rh-hero-grid{position:relative;z-index:1;min-height:660px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:40px}
.rh-hero-copy{padding:72px 0}.rh-hero-copy .rh-kicker{color:#c1d9e5}.rh-hero h1{margin:0 0 4px;font-size:58px;line-height:1.02;font-weight:900;letter-spacing:-.045em}.rh-hero h2{margin:0 0 30px;font-size:37px;line-height:1.08;font-weight:800;color:#fff}.rh-hero p{max-width:650px;margin:0 0 14px;font-size:20px;line-height:1.58;color:rgba(255,255,255,.92)}
.rh-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:34px}.rh-hero-note{display:flex;align-items:center;gap:8px;margin-top:18px!important;font-size:13px!important;color:#c8dbe5!important}.rh-hero-note:before{content:'✓';display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:rgba(255,255,255,.17);font-weight:900}
.rh-hero-visual{align-self:end;display:flex;justify-content:center;align-items:flex-end;height:100%;padding-top:30px}.rh-hero-visual img{display:block;max-height:625px;width:auto;filter:drop-shadow(0 25px 22px rgba(4,22,31,.32));transform:translateY(16px)}

/* Features grid */
.rh-features{padding:95px 0 88px;background:#fff url('../img/home/ritmo/pattern.webp') repeat;background-size:512px}
.rh-features .rh-section-title{text-align:center;margin-bottom:55px}
.rh-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:42px 48px}
.rh-feature-card{display:grid;grid-template-columns:58px 1fr;gap:20px;align-items:start;min-height:145px}.rh-feature-icon{display:grid;place-items:center;width:58px;height:58px;color:var(--rh-brand);font-size:30px}.rh-feature-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rh-feature-card h3{margin:0 0 8px;font-size:19px}.rh-feature-card p{margin:0;font-size:16px;line-height:1.58;color:#52616b}

/* CTA band */
.rh-cta-band{background:linear-gradient(115deg,var(--rh-brand),#0c3146);color:#fff;padding:46px 0}.rh-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.rh-cta-inner h2{margin:0 0 5px;font-size:31px;line-height:1.15}.rh-cta-inner h2 span{color:#b9d7e7}.rh-cta-inner p{margin:0;color:#d2e2e9;font-size:16px}

/* Alternating features */
.rh-detail{padding:95px 0;background:#fff}.rh-detail.rh-detail-alt{background:#f7f9fa}.rh-detail-grid{display:grid;grid-template-columns:1.18fr .82fr;gap:65px;align-items:center}.rh-detail-grid.reverse{grid-template-columns:.82fr 1.18fr}.rh-detail-grid.reverse .rh-detail-copy{order:1}.rh-detail-grid.reverse .rh-detail-visual{order:2}
.rh-detail-visual{text-align:center}.rh-detail-visual img{display:inline-block;max-height:540px;object-fit:contain;filter:drop-shadow(0 16px 18px rgba(21,64,89,.08))}.rh-detail-copy h2{margin:0 0 20px;font-size:38px;line-height:1.15;font-weight:300;letter-spacing:-.025em}.rh-detail-copy p{margin:0 0 15px;color:#60717b;font-size:18px;line-height:1.7}.rh-checks{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:11px}.rh-checks li{display:flex;gap:10px;color:#37464f;font-weight:650}.rh-checks li:before{content:'✓';color:var(--rh-green);font-weight:900}

/* Steps and browser panel */
.rh-steps{padding:84px 0 92px;background:linear-gradient(rgba(14,47,67,.93),rgba(14,47,67,.93)),url('../img/home/ritmo/hero-fondo.webp') center/cover fixed;color:#fff}.rh-steps-head{text-align:center;margin-bottom:38px}.rh-steps-head h2{margin:0 0 10px;font-size:39px;font-weight:300}.rh-steps-head h2 span{font-weight:800;color:#c5ddea}.rh-steps-head p{margin:0 auto;max-width:720px;color:#d5e4ea;font-size:17px}.rh-browser{max-width:940px;margin:0 auto;background:#e9eef1;border-radius:8px 8px 4px 4px;box-shadow:0 22px 55px rgba(0,0,0,.25);overflow:hidden}.rh-browser-bar{height:42px;background:#dbe1e5;display:flex;align-items:center;padding:0 16px;gap:7px}.rh-browser-dot{width:10px;height:10px;border-radius:50%;background:#9ca9b1}.rh-browser-address{height:22px;flex:1;margin-left:10px;background:#f6f8f9;border-radius:4px}.rh-browser img{width:100%;display:block;background:#fff}

/* Sharing */
.rh-share{padding:96px 0;background:#fff}.rh-share-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:70px;align-items:center}.rh-share-visual{text-align:center}.rh-share-visual img{max-height:650px}.rh-share-copy h2{font-size:40px;font-weight:300;margin:0 0 18px}.rh-share-copy p{font-size:18px;color:#60717b;line-height:1.75;max-width:650px}.rh-share-pills{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0 28px}.rh-share-pills span{padding:9px 13px;border-radius:30px;background:#eff6f3;color:#1b6845;font-size:13px;font-weight:750}

/* Pricing */
.rh-pricing{padding:95px 0;background:#f4f7f8}.rh-center{text-align:center}.rh-pricing .rh-section-title{margin-bottom:14px}.rh-pricing-lead{max-width:680px;margin:0 auto 46px;color:#6a7982;font-size:17px}.rh-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;align-items:stretch}.rh-price-card{position:relative;background:#fff;border:1px solid #e1e7ea;border-radius:8px;padding:33px;box-shadow:0 10px 28px rgba(21,64,89,.05)}.rh-price-card.featured{border:2px solid var(--rh-brand);transform:translateY(-7px)}.rh-price-badge{position:absolute;top:-14px;right:22px;background:var(--rh-brand);color:#fff;padding:6px 12px;border-radius:20px;font-size:11px;font-weight:800;text-transform:uppercase}.rh-price-card h3{margin:0 0 8px;font-size:22px}.rh-price-card>p{min-height:48px;color:#6a7982;font-size:14px}.rh-price-value{display:flex;align-items:flex-end;gap:8px;margin:24px 0}.rh-price-value strong{font-size:38px;line-height:1;color:var(--rh-brand)}.rh-price-value span{font-size:12px;color:#7c8991}.rh-price-card ul{list-style:none;padding:0;margin:0 0 26px;display:grid;gap:10px}.rh-price-card li{font-size:14px;color:#42515a}.rh-price-card li:before{content:'✓';margin-right:8px;color:var(--rh-green);font-weight:900}

/* FAQ */
.rh-faq{padding:95px 0;background:#fff}.rh-faq-grid{max-width:900px;margin:42px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:16px}.rh-faq details{border:1px solid var(--rh-line);border-radius:6px;background:#fff;padding:0 19px}.rh-faq summary{cursor:pointer;list-style:none;padding:19px 0;font-weight:800;color:#25323a}.rh-faq summary::-webkit-details-marker{display:none}.rh-faq details p{margin:0 0 18px;color:#64737d;font-size:14px;line-height:1.65}

/* Final CTA */
.rh-final{padding:72px 0;background:var(--rh-brand);color:#fff;text-align:center}.rh-final h2{margin:0 0 12px;font-size:38px}.rh-final p{margin:0 auto 28px;max-width:650px;color:#d5e4eb;font-size:17px}

/* Existing legal/platform footer, recolored to match */
body.ritmo-home .platform-footer{background:#0d2634;color:#d9e3e8}.ritmo-home .platform-footer-col h2{color:#a9c7d6}.ritmo-home .platform-footer-brand strong{color:#fff}.ritmo-home .platform-footer-brand p,.ritmo-home .footer-link-list a,.ritmo-home .footer-contact-list a,.ritmo-home .footer-contact-list span,.ritmo-home .platform-footer-bottom,.ritmo-home .footer-platform-disclaimer,.ritmo-home .platform-footer-disclaimer{color:#b5c4cb}.ritmo-home .footer-link-list a:hover,.ritmo-home .footer-contact-list a:hover{color:#fff}.ritmo-home .platform-footer-bottom{border-top-color:rgba(255,255,255,.14)}

@media (max-width:1050px){.rh-menu{gap:18px}.rh-menu a{font-size:12px}.rh-hero h1{font-size:48px}.rh-hero h2{font-size:31px}.rh-feature-grid{gap:36px 25px}.rh-detail-grid,.rh-detail-grid.reverse{gap:38px}}
@media (max-width:820px){html{scroll-padding-top:72px}.rh-shell{width:min(100% - 32px,var(--rh-max))}.rh-nav{height:72px}.rh-brand{font-size:27px}.rh-menu-toggle{display:block}.rh-menu{display:none;position:absolute;left:0;right:0;top:72px;padding:14px 18px 20px;background:#fff;border-top:1px solid #eef1f3;box-shadow:0 16px 30px rgba(0,0,0,.08);flex-direction:column;align-items:stretch;gap:0}.rh-menu.is-open{display:flex}.rh-menu a{padding:13px 8px;font-size:12px}.rh-menu .rh-nav-cta{text-align:center;margin-top:7px}.rh-hero,.rh-hero-grid{min-height:auto}.rh-hero-grid{grid-template-columns:1fr;text-align:center}.rh-hero-copy{padding:68px 0 18px}.rh-hero h1{font-size:44px}.rh-hero h2{font-size:28px}.rh-hero p{margin-left:auto;margin-right:auto;font-size:18px}.rh-hero-actions{justify-content:center}.rh-hero-note{justify-content:center}.rh-hero-visual{padding:0;max-height:500px}.rh-hero-visual img{max-height:500px;transform:translateY(22px)}.rh-feature-grid{grid-template-columns:1fr 1fr}.rh-cta-inner{flex-direction:column;text-align:center}.rh-detail-grid,.rh-detail-grid.reverse,.rh-share-grid{grid-template-columns:1fr}.rh-detail-grid.reverse .rh-detail-copy,.rh-detail-grid.reverse .rh-detail-visual{order:initial}.rh-detail-copy{text-align:center}.rh-detail-copy p{max-width:680px;margin-left:auto;margin-right:auto}.rh-checks{max-width:580px;margin-left:auto;margin-right:auto;text-align:left}.rh-share-copy{text-align:center}.rh-share-pills{justify-content:center}.rh-faq-grid{grid-template-columns:1fr}}
@media (max-width:560px){.rh-section-title{font-size:34px}.rh-hero-copy{padding-top:52px}.rh-hero h1{font-size:38px}.rh-hero h2{font-size:25px}.rh-hero-actions .rh-btn{width:100%}.rh-hero-visual{max-height:420px}.rh-hero-visual img{max-height:420px}.rh-features,.rh-detail,.rh-share,.rh-pricing,.rh-faq{padding:70px 0}.rh-feature-grid{grid-template-columns:1fr;gap:22px}.rh-feature-card{min-height:0}.rh-detail-copy h2,.rh-share-copy h2{font-size:32px}.rh-detail-visual img{max-height:420px}.rh-steps{padding:68px 0}.rh-steps-head h2{font-size:32px}.rh-pricing-grid{grid-template-columns:1fr}.rh-price-card.featured{transform:none}.rh-final h2{font-size:31px}.rh-brand span{display:none}}


/* ========================================================
   TIPOGRAFÍA PÚBLICA · MENÚ Y FOOTER
   Jerarquía más ligera y profesional: sin bold/semibold
   en navegación, enlaces ni datos de contacto.
   ======================================================== */
body.ritmo-home .rh-menu a{
  font-weight:500!important;
}

body.ritmo-home .platform-footer-col h2{
  font-weight:500!important;
}

body.ritmo-home .platform-footer-brand strong{
  font-weight:500!important;
}

body.ritmo-home .platform-footer-brand p,
body.ritmo-home .footer-link-list a,
body.ritmo-home .footer-contact-list a,
body.ritmo-home .footer-contact-list span,
body.ritmo-home .footer-contact-list strong,
body.ritmo-home .platform-footer-bottom,
body.ritmo-home .footer-platform-disclaimer,
body.ritmo-home .platform-footer-disclaimer{
  font-weight:400!important;
}

body.ritmo-home .footer-link-list a,
body.ritmo-home .footer-contact-list a{
  letter-spacing:0!important;
}

@media(max-width:820px){
  body.ritmo-home .rh-menu a{
    font-weight:500!important;
  }
}


/* PageSpeed 2026-10-28 (segunda revisión)
   Reservar el tamaño real de las imágenes incluso antes de recibir sus bytes.
   Evita reflujo del hero y de las ilustraciones al cambiar de WebP a AVIF. */
.rh-hero-visual{height:auto;}
.rh-hero-visual img{width:min(100%,442px);height:auto;max-height:none;aspect-ratio:1055/1491;object-fit:contain;}
.rh-detail-visual img{height:auto;object-fit:contain;}
.rh-detail-visual img.rh-illustration--catalogo-responsive{width:min(100%,650px);aspect-ratio:1438/1093;}
.rh-detail-visual img.rh-illustration--actualizacion-catalogo{width:min(100%,650px);aspect-ratio:1541/1020;}
.rh-detail-visual img.rh-illustration--catalogo-organizado{width:min(100%,409px);aspect-ratio:1091/1441;}
/* Contraste mínimo AA (WCAG) para textos informativos de planes. */
.rh-pricing-lead,.rh-price-card>p{color:#465761;}
.rh-price-value span{color:#42515b;}
@media(max-width:820px){
  .rh-hero-visual{height:auto;max-height:none;}
  .rh-hero-visual img{width:min(100%,354px);height:auto;max-height:none;}
  .rh-detail-visual img.rh-illustration--catalogo-organizado{width:min(100%,378px);}
}
@media(max-width:560px){
  .rh-hero-visual{max-height:none;}
  .rh-hero-visual img{width:min(100%,297px);height:auto;max-height:none;}
  .rh-detail-visual img.rh-illustration--catalogo-organizado{width:min(100%,318px);}
}
/* <picture> no debe introducir una caja de tamaño indeterminado antes de descargar su imagen. */
.rh-hero-visual picture{display:block;width:min(100%,442px);line-height:0;}
.rh-hero-visual picture>img{display:block;width:100%;height:auto;}
.rh-detail-visual picture{display:block;width:100%;}
.rh-detail-visual picture>img{display:block;margin-inline:auto;}
@media(max-width:820px){.rh-hero-visual picture{width:min(100%,354px);}}
@media(max-width:560px){.rh-hero-visual picture{width:min(100%,297px);}}

/* Cabecera consistente: el logotipo es un elemento <img> con caja reservada.
   Evitamos ::before, que depende de la ruta del CSS y puede variar cuando el CSS se inserta inline. */
body.ritmo-home .rh-header .rh-brand{
  display:inline-flex;
  align-items:center;
  flex:0 1 auto;
  min-width:0;
  max-width:calc(100% - 66px);
  gap:9px;
  white-space:nowrap;
  font-size:26px;
  font-weight:500;
  letter-spacing:-.7px;
  line-height:1.15;
}
body.ritmo-home .rh-header .rh-brand::before{
  content:none!important;
  display:none!important;
}
body.ritmo-home .rh-header .rh-brand .rh-brand-logo{
  display:block!important;
  flex:0 0 44px;
  width:44px!important;
  height:55px!important;
  min-width:44px;
  max-width:44px!important;
  max-height:55px!important;
  object-fit:contain;
  object-position:center;
}
body.ritmo-home .rh-header .rh-brand span{
  font-weight:400;
  letter-spacing:-.3px;
}
@media(max-width:820px){
  body.ritmo-home .rh-header .rh-menu-toggle{
    flex:0 0 auto;
    margin-left:auto;
  }
}
@media(max-width:350px){
  body.ritmo-home .rh-header .rh-brand{font-size:23px;gap:7px;}
  body.ritmo-home .rh-header .rh-brand .rh-brand-logo{
    flex-basis:38px;
    min-width:38px;
    width:38px!important;
    max-width:38px!important;
    height:48px!important;
    max-height:48px!important;
  }
}
/* Con ocho enlaces, la navegación horizontal requiere más espacio.
   A 926px colisionaba con el nombre; se colapsa antes del solapamiento. */
@media(min-width:821px) and (max-width:1100px){
  .rh-nav{height:72px;}
  body.ritmo-home .rh-header .rh-menu-toggle{display:block;flex:0 0 auto;margin-left:auto;}
  body.ritmo-home .rh-header .rh-menu{
    display:none;position:absolute;left:0;right:0;top:72px;z-index:1;
    padding:14px 18px 20px;background:#fff;border-top:1px solid #eef1f3;
    box-shadow:0 16px 30px rgba(0,0,0,.08);
    flex-direction:column;align-items:stretch;gap:0;
  }
  body.ritmo-home .rh-header .rh-menu.is-open{display:flex;}
  body.ritmo-home .rh-header .rh-menu a{padding:13px 8px;font-size:12px;}
  body.ritmo-home .rh-header .rh-menu .rh-nav-cta{text-align:center;margin-top:7px;}
}
