/* Landing de descubrimiento y prueba. El diseño desktop conserva sus estilos. */
.mobile-only,.mobile-menu{display:none}
.demo-details>summary{display:none}
.skip-link{position:fixed;top:8px;left:8px;z-index:100;padding:12px 18px;background:#fff;border:2px solid #0F766E;transform:translateY(-180%)}
.skip-link:focus{transform:none}
:focus-visible{outline:3px solid #0F766E;outline-offset:4px}
section[id]{scroll-margin-top:90px}
@media(max-width:819px){
  body{overflow-x:visible;padding-bottom:calc(82px + env(safe-area-inset-bottom));--muted:#526478;--teal-hover:#0F766E}
  .mobile-only{display:block}
  [hidden]{display:none!important}
  .wrap{width:100%;max-width:648px;padding-left:24px;padding-right:24px}
  .desk-note,.hero-author{display:none!important}
  [data-rv]{opacity:1;transform:none;transition:none}
  header{background:#fff!important;backdrop-filter:none!important}
  header>.wrap{max-width:none;padding:10px 20px!important;gap:10px!important;min-height:68px}
  header .wrap img[alt="PsicoSyntax"]{width:130px!important;height:auto!important}
  header .header-trial{min-height:44px;padding:10px 12px!important;font-size:12px!important;border-radius:8px}
  .btn-primary{background:#0F766E;box-shadow:none;color:#fff}
  .btn-primary:hover{background:#115E59;transform:none}
  .btn{min-height:48px;white-space:normal;text-align:center;justify-content:center}
  .menu-toggle{width:44px;height:44px;flex:0 0 44px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:12px;cursor:pointer}
  .menu-toggle span{display:block;height:2px;background:var(--ink);margin:5px 0}
  .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
  .mobile-menu:not([hidden]){display:grid;padding:8px 24px 16px;border-top:1px solid var(--line);max-height:calc(100svh - 90px);overflow:auto}
  .mobile-menu a{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:16px;color:var(--ink);border-bottom:1px solid #edf1f4}
  .mobile-menu a:last-child{color:var(--teal);font-weight:700;border-bottom:0}
  #top{background:#fff!important}
  #top>.wrap{padding-top:26px;padding-bottom:24px;display:block!important}
  #top .hero-badge{font-size:12px;font-weight:600;background:transparent;border:0;border-radius:0;padding:0;color:var(--teal);gap:0}
  #top h1{font-size:36px!important;line-height:1.12!important;letter-spacing:-1.25px;margin-top:16px!important;text-wrap:pretty!important;max-width:560px}
  #top h1>span{color:var(--teal)!important}
  .hero-description{font-size:16px;line-height:1.6;margin-top:16px;max-width:480px}
  .hero-description strong{font-weight:600;color:var(--ink)}
  #top .hero-actions{display:grid!important;gap:2px!important;margin-top:24px!important}
  .hero-actions .btn-primary{width:100%;min-height:54px;border-radius:9px;padding:14px 16px!important}
  .hero-actions .btn-primary>.mobile-only{display:flex;justify-content:center;gap:16px;align-items:center}
  .hero-demo{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;font-size:14px;font-weight:600;color:var(--ink)}
  #top .hero-offer{margin-top:8px!important;text-align:center;font-size:12px!important;line-height:1.7;color:#526478!important}
  .computer-note{margin-top:18px;padding-top:14px;border-top:1px solid var(--line);font-size:12px;line-height:1.7;color:#526478}
  .computer-note strong{font-weight:500;color:var(--body)}
  .product-demo{padding:30px 0 40px!important;background:#F3F6F7;border-top:1px solid #e5ebed}
  .product-demo>.wrap{text-align:left!important}
  .product-demo .eyebrow{padding:0;border:0;background:none;font-size:11px;letter-spacing:.08em}
  .product-demo h2{font-size:27px!important;line-height:1.18;margin:12px 0!important;max-width:400px}
  .product-demo .demo-description{font-size:15px!important;line-height:1.65;margin-bottom:22px!important}
  .product-proof{margin:0 0 22px}
  .product-proof>a{display:block;border:1px solid #d9e2e5;border-radius:10px;overflow:hidden;background:white;color:var(--ink)}
  .product-proof img{width:100%;height:auto;aspect-ratio:1200/718}
  .proof-caption{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:10px 12px;border-top:1px solid var(--line);font-size:12px;font-weight:600}
  .product-proof figcaption{font-size:11px;color:#526478;margin-top:8px}
  .demo-details>summary{display:flex;align-items:center;gap:12px;min-height:70px;list-style:none;padding:12px 0;border-top:1px solid #d7e1e5;cursor:pointer;color:var(--ink);font-size:15px;font-weight:600}
  .demo-details>summary::-webkit-details-marker{display:none}
  .demo-details>summary>span:last-child{margin-left:auto;font-size:22px;color:var(--teal)}
  .demo-details[open]>summary>span:last-child{transform:rotate(45deg)}
  .demo-details small{display:block;font-size:12px;color:#526478;font-weight:400;margin-top:2px}
  .play-icon{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:#0F766E;border-radius:50%;color:#fff;font-size:13px;padding-left:2px}
  .demo-details>div{box-shadow:none!important;border-radius:8px!important}
  .report-link{min-height:60px;display:flex;flex-direction:column;justify-content:center;border-top:1px solid #d7e1e5;font-size:14px;font-weight:600;margin-top:6px}
  .report-link span{font-size:12px;font-weight:400;color:#526478}
  .mobile-section{padding:48px 0}
  .section-label{font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--teal);margin-bottom:14px}
  .mobile-section h2{font-size:29px;font-weight:800;line-height:1.18;letter-spacing:-.8px;max-width:480px}
  .mobile-section h2+p{margin-top:18px;font-size:15px;line-height:1.7}
  .before-after{margin-top:28px}
  .before-after>div{padding:0 0 22px 18px;border-left:2px solid #CBD5E1;font-size:16px;line-height:1.65}
  .before-after>div+div{border-color:var(--teal);padding-top:22px;padding-bottom:0}
  .comparison-label{font-size:10px;letter-spacing:.09em;font-weight:700;color:#526478;margin-bottom:7px}
  .before-after>div+div .comparison-label{color:var(--teal)}
  .before-after strong{font-weight:600;color:var(--ink)}
  #pasos-mobile{border-top:1px solid var(--line)}
  .mobile-steps{list-style:none;counter-reset:steps;padding:0;margin:30px 0 0}
  .mobile-steps li{position:relative;counter-increment:steps;padding:0 0 26px 43px}
  .mobile-steps li:before{content:'0' counter(steps);position:absolute;left:0;top:0;font-family:var(--disp);font-size:17px;font-weight:700;color:var(--teal)}
  .mobile-steps li:not(:last-child):after{content:'';position:absolute;top:30px;bottom:9px;left:12px;width:1px;background:var(--line)}
  .mobile-steps h3{font-size:17px;line-height:1.4;font-weight:700}
  .mobile-steps p{font-size:14px;line-height:1.7;margin-top:6px}
  .professional-note{border-top:1px solid var(--line);padding-top:18px;font-size:13px;line-height:1.7}
  .technical-mobile{background:#F3F6F7}
  .technical-list{margin:26px 0 0}
  .technical-list>div{border-top:1px solid #d7e1e5;padding:19px 0}
  .technical-list dt{color:var(--ink);font-size:16px;font-weight:700;line-height:1.5}
  .technical-list dd{margin:6px 0 0;font-size:14px;line-height:1.7}
  .professional-signoff{border-top:1px solid #d7e1e5;padding-top:20px;font-size:13px;line-height:1.75}
  .professional-signoff strong{color:var(--ink)}
  .privacy-mobile ul{padding-left:19px;font-size:15px;line-height:1.7;margin:18px 0}
  .privacy-mobile li+li{margin-top:10px}
  .privacy-mobile li::marker{color:var(--teal)}
  .privacy-note{font-size:13px;line-height:1.7}
  .text-link{display:inline-flex;align-items:center;gap:12px;min-height:48px;margin-top:12px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
  .trial-mobile{background:#103E3C;color:#DBE9E7}
  .trial-mobile .section-label{color:#A5D6CC}
  .trial-mobile h2{color:#fff}
  .trial-includes{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;margin:22px 0}
  .trial-includes li:before{content:'✓';margin-right:7px;color:#B1DCD4}
  .trial-mobile .btn-primary{display:flex;width:100%;background:#fff;color:#103E3C;border-radius:9px;font-size:14px;padding:15px 12px;gap:8px}
  .trial-help{font-size:12px;line-height:1.8;margin-top:18px;text-align:center}
  .trial-help strong{font-weight:500;color:#fff}
  #precios{padding:48px 0;background:#F8FAFC}
  #precios .wrap>div:first-child{text-align:left!important}
  #precios h2{font-size:29px!important;line-height:1.2;letter-spacing:-.8px}
  #precios .wrap>div:first-child>p{font-size:15px!important}
  .plan-includes{border:0!important;padding:0!important;background:none;box-shadow:none;margin-top:24px!important}
  .plan-includes>div:first-child{text-align:left!important;font-size:11px!important}
  .plan-includes>div:last-child{grid-template-columns:1fr!important;gap:8px!important;font-size:14px!important}
  .plan-includes>div:last-child>div:nth-child(n+6){display:none!important}
  .plans-grid{min-width:0;gap:28px!important;margin-top:28px!important}
  .plans-grid>.card{min-width:0;padding:24px!important;border-radius:12px!important;box-shadow:none!important}
  .plans-grid>.card:last-child{border-color:var(--teal)!important}
  .plans-grid>.card:last-child>div[style*="display:grid"]>div:nth-child(2),.plans-grid>.card:last-child>div[style*="display:grid"]>div:nth-child(4){display:none!important}
  .plans-grid>.card:last-child>div:first-child{left:18px!important;letter-spacing:.03em!important;font-size:10px!important}
  .plans-grid .btn{font-size:14px!important;padding:14px 12px!important}
  .plans-grid .card>div[style*="align-items:baseline"]{flex-wrap:wrap;gap:0 7px!important;margin-top:18px!important}
  .plans-grid .card>div[style*="align-items:baseline"]>span:first-child{font-size:38px!important}
  .plans-grid .card>div[style*="align-items:baseline"]>span:last-child{font-size:13px!important}
  #precios .wrap>p{font-size:12px!important;line-height:1.8;text-align:left!important}
  .pricing-trial{display:none!important}
  .mobile-faq h2{margin-bottom:24px}
  .mobile-faq details.faq{border:0;border-bottom:1px solid var(--line);border-radius:0}
  .mobile-faq details.faq>summary{padding:19px 0;font-size:16px;line-height:1.5;min-height:60px}
  .mobile-faq details.faq .ans{padding:0 0 20px;font-size:15px;line-height:1.8}
  .mobile-faq .pm{color:var(--teal);flex:0 0 18px}
  .final-cta{padding:44px 24px!important;background:#0B1120;background-image:none}
  .final-cta h2{font-size:28px!important;line-height:1.2}
  .final-cta p{font-size:15px!important;color:#B5C1D0!important}
  .final-cta .btn{width:100%;font-size:15px!important}
  .final-cta .btn-dark-ghost{display:none}
  footer>.wrap{padding-top:32px!important;padding-bottom:32px!important}
  footer p,footer span{color:#AAB8C9!important}
  footer a:not(:has(img)){min-height:44px;display:inline-flex;align-items:center;font-size:13px}
  footer .wrap>div:first-child>div:last-child{flex-wrap:wrap;gap:4px 20px!important}
  footer a[href="#faq"]{display:none!important}
  .mobile-cta{padding:10px 20px calc(10px + env(safe-area-inset-bottom))!important;min-height:72px;align-items:center;justify-content:space-between;background:#fff;backdrop-filter:none;gap:18px}
  .mobile-cta p{font-size:12px;font-weight:600;line-height:1.55;color:var(--ink);flex:0 0 auto}
  .mobile-cta p span{display:block;font-size:11px;font-weight:400;color:#526478}
  .mobile-cta .cta-main{flex:0 1 180px;min-height:48px;border-radius:8px;font-size:14px;padding:12px 18px}
  /* Solo presentación: el código y las decisiones de consentimiento no cambian. */
  body.trial-visible .mobile-cta,body:has(#psx-consent) .mobile-cta,body:has(.menu-toggle[aria-expanded="true"]) .mobile-cta{display:none}
  body #psx-consent{bottom:calc(12px + env(safe-area-inset-bottom))!important;left:12px;right:12px;padding:14px 16px;border-radius:12px;max-height:calc(100svh - 100px);overflow:auto}
  body #psx-consent button{min-height:44px}
}
@media(max-width:374px){
  .wrap{padding-left:20px;padding-right:20px}
  header>.wrap{padding-left:16px!important;padding-right:16px!important;gap:8px!important}
  header .wrap img[alt="PsicoSyntax"]{width:120px!important}
  #top h1{font-size:33px!important}
  .hero-description{font-size:15px}
  .trial-mobile .btn-primary{font-size:13px}
}
@media(min-width:600px) and (max-width:819px){
  #top>.wrap{padding-top:44px;padding-bottom:40px}
  #top h1{font-size:46px!important}
  .hero-actions{max-width:420px}
  #top .hero-offer{max-width:420px}
  .mobile-section{padding:56px 0}
}
