/* Polish pass: make content immediate, keep motion for intentional interactions. */
:root {
  --blue-light: #5B86FF;
  --nav-lime: #5B86FF;
}

/* Scroll-reveal left the page blank until observers ran; content now renders at once. */
.fade-up,
.fade-up.visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
.rv, .rv.in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
.brand-pattern::before { background-image: url("../assets/img/brand/isotipo-blanco-512.png"); }

/* Klein blue is reserved for surfaces; interface text stays white or black. */
:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark, .site-footer) :is(a:not(.btn), .hl, .hl-klein,
    .tech-tag-accent, .bracket-tag-accent, .link-arrow, .plan-price,
    .faq-question::after, .tools-area-index, .system-anchor) {
  color: #F4F1EC !important;
}
:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark, .site-footer) [style*="color: #002FA7"],
:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark, .site-footer) [style*="color:#002FA7"],
:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark, .site-footer) [style*="color: #2F6BFF"],
:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark, .site-footer) [style*="color:#2F6BFF"] {
  color: inherit !important;
}
:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark) .btn-accent {
  color: #F4F1EC !important;
  background: var(--blue-light) !important;
}

:is(.section-dark, .home-hero, .systems-hero, .philosophy-hero, .crystal-hero,
    .cta-section, .eco-final, .memberships-showcase, .portal-showcase,
    .dark-card, .services-dark, .site-footer) :is(.tech-tag-accent, .bracket-tag-accent) {
  background: rgba(91, 134, 255, .14) !important;
  border-color: rgba(91, 134, 255, .42) !important;
}

/* Details/summary controls retain native keyboard behavior with smoother feedback. */
details > summary { -webkit-tap-highlight-color: transparent; }
details > summary:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 4px; border-radius: 8px; }
.faq-item, .tool-card, .tools-area, .bp-faq details {
  transition: background-color .28s ease, border-color .28s ease, box-shadow .32s ease;
}
.faq-question::after, .tools-area-chevron, .tool-chevron,
.tool-card-summary::after, .bp-faq summary::after {
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), color .25s ease, background-color .25s ease;
}
.faq-answer, .tools-area-content, .tool-card-content {
  animation: disclosure-enter .36s cubic-bezier(.22, 1, .36, 1) both;
}
details[open] > .faq-answer,
details[open] > .tools-area-content,
details[open] > .tool-card-content { animation: disclosure-enter .36s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes disclosure-enter {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}
.mega { transition: grid-template-rows .42s cubic-bezier(.22, 1, .36, 1); }
.mega-pane.is-active .mega-item { transition-duration: .32s; }
.m-menu { transition: opacity .3s ease, visibility 0s linear .3s !important; }
.navbar.m-open .m-menu { transition: opacity .3s ease, visibility 0s !important; }

/* Newsletter placeholder, designed to fit the existing form language. */
.newsletter-section { padding: clamp(3.5rem, 8vw, 6rem) 0; background: #F4F1EC; }
.newsletter-section .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.newsletter-card { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: 28px; background: #002FA7; color: #F4F1EC; }
.newsletter-card h2 { margin: .75rem 0; color: #F4F1EC; }
.newsletter-card p { color: #F4F1EC; }
.newsletter-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .65rem; }
.newsletter-form > input[type="email"] { min-width: 0; min-height: 54px; padding: 0 1rem; border: 1px solid rgba(11,13,16,.18); border-radius: 14px; color: #0B0D10; background: #F4F1EC; font: inherit; }
.newsletter-form input:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 2px; }
.newsletter-form button { min-height: 54px; padding: 0 1.2rem; border: 0; border-radius: 14px; color: #0B0D10; background: #F4F1EC; font: inherit; font-weight: 600; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.newsletter-form button:hover { transform: translateY(-2px); background: #fff; }
.newsletter-note { grid-column: 1 / -1; margin: 0 !important; font-size: .78rem; }
.newsletter-consent { grid-column: 1 / -1; display:flex; align-items:flex-start; gap:.6rem; color:#F4F1EC; font-size:.82rem; line-height:1.45; }
.newsletter-consent input { flex:0 0 auto; margin:.2rem 0 0; accent-color:#0B0D10; }
.newsletter-consent a { color:#F4F1EC; text-decoration:underline; text-underline-offset:2px; }
.newsletter-honeypot, .portal-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.system-anchor del { color: inherit; opacity:.62; text-decoration-thickness:1.5px; }
.system-anchor strong { color:inherit; }
.plan.plan-black { background:#0B0D10!important; color:#F4F1EC!important; border-color:#0B0D10!important; }
.plan.plan-black :is(h3,p,li,small,span) { color:#F4F1EC; }
.plan.plan-dark .plan-cta { background:#F4F1EC; color:#0B0D10!important; }
.plan.plan-light:not(.plan-klein) { background:#F4F1EC!important; color:#0B0D10!important; }
.plan.plan-klein :is(h3,p,li,small,span) { color:#F4F1EC; }
.plan.plan-klein .plan-cta, .plan.plan-klein .plan-cta:hover { color:#0B0D10!important; background:#F4F1EC!important; }
.dark-card#presencia .btn-accent,.dark-card#presencia .btn-accent:hover,.dark-card#presencia .btn-accent:focus-visible { background:#FFFFFF!important; border-color:#FFFFFF!important; color:#0B0D10!important; }
.dark-card :is(h3,p,li,span,strong,small,del) { color:#F4F1EC!important; }
html body [style*="color: #002FA7"], html body [style*="color:#002FA7"], html body [style*="color: #5B86FF"], html body [style*="color:#5B86FF"], html body [style*="color: var(--blue-light)"] { color:inherit!important; }
.portal-card { max-width:560px; }
.portal-eyebrow { background:#002FA7; color:#F4F1EC; }
.portal-consent { display:flex; align-items:flex-start; gap:.65rem; font-size:.82rem; line-height:1.45; color:rgba(11,13,16,.82); }
.portal-consent input { margin:.2rem 0 0; flex:0 0 auto; accent-color:#0B0D10; }
.portal-consent a { color:#0B0D10; text-decoration:underline; text-underline-offset:2px; }
.portal-submit { color:#F4F1EC; background:#0B0D10; }
.portal-submit:hover { background:#20242b; box-shadow:0 10px 24px rgba(11,13,16,.22); }
@media (max-width: 760px) { .philosophy-hero-grid { grid-template-columns:1fr; } .philosophy-visual { max-width:560px; margin-inline:auto; } .newsletter-form { grid-template-columns:1fr; } }
@media (max-width: 760px) {
  .newsletter-card { grid-template-columns: 1fr; gap: 1rem; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-answer, .tools-area-content, .tool-card-content { animation: none; }
  .mega, .mega-item, .m-menu, .m-links li, .m-actions { transition-duration: .01ms !important; }
}

/* Professional profile section. */
.founder-feature { padding:clamp(3.5rem,7vw,6rem) 0; background:#F4F1EC; color:#0B0D10; }
.founder-feature-grid { display:grid; grid-template-columns:minmax(280px,.82fr) minmax(0,1fr); align-items:center; gap:clamp(2rem,7vw,6rem); }
.founder-art-frame { position:relative; width:min(100%,420px); aspect-ratio:4/5; justify-self:center; overflow:hidden; margin:0; isolation:isolate; border:1px solid rgba(11,13,16,.12); border-radius:24px; background:#101722; box-shadow:0 26px 70px -44px rgba(11,13,16,.5); }
.founder-art-frame::after { position:absolute; inset:58% 0 0; z-index:1; pointer-events:none; content:""; background:linear-gradient(transparent,rgba(11,13,16,.72)); }
.founder-art-frame img { display:block; width:100%; height:100%; object-fit:cover; }
.founder-art-frame figcaption { position:absolute; z-index:2; right:1rem; bottom:1rem; left:1rem; display:flex; justify-content:space-between; gap:.75rem; color:#F4F1EC; font:700 .58rem/1.3 'Satoshi','Inter',sans-serif; letter-spacing:.12em; text-transform:uppercase; }
.founder-feature-copy .philosophy-kicker { display:inline-flex; align-items:center; gap:.6rem; color:#0B0D10; font:700 .68rem/1.2 'Satoshi','Inter',sans-serif; letter-spacing:.13em; }
.founder-feature-copy .philosophy-kicker i { width:8px; height:8px; border-radius:50%; background:#002FA7; }
.founder-feature-copy h1 { margin:1.1rem 0; color:#0B0D10; font-size:clamp(3.1rem,6vw,6.2rem); line-height:.93; letter-spacing:-.045em; }
.founder-feature-copy h1 em { color:#0B0D10; font-style:normal; }
.founder-feature-copy .founder-role { margin:0 0 1.5rem; color:rgba(11,13,16,.76); font-size:1.04rem; font-weight:600; line-height:1.6; }
.founder-actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.5rem; }
.founder-feature-copy .btn-dark { display:inline-flex; align-items:center; gap:.65rem; min-height:48px; padding:0 1.2rem; border:1px solid #0B0D10; border-radius:999px; background:#0B0D10; color:#F4F1EC!important; text-decoration:none; }
.founder-feature-copy .btn-dark:hover { background:#252A31; }
@media(max-width:760px) { .founder-feature { padding:3rem 0; } .founder-feature-grid { grid-template-columns:1fr; gap:1.5rem; } .founder-feature-copy { order:1; } .founder-art-frame { order:2; width:min(100%,430px); } }

/* Small native read-aloud controls. Speech is provided by the visitor's browser. */
#planes-title { margin:1rem 0 0; font-size:clamp(2.3rem,5vw,3.8rem); line-height:1.06; }
.tts { position:fixed; z-index:1000; bottom:18px; left:18px; display:flex; align-items:flex-end; gap:.55rem; font-family:inherit; }
.tts-open,.tts-bar button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; border:1px solid rgba(244,241,236,.2); border-radius:999px; background:rgba(11,13,16,.92); color:#F4F1EC; cursor:pointer; box-shadow:0 8px 28px rgba(0,0,0,.16); backdrop-filter:blur(12px); transition:background .2s ease,transform .2s ease; }
.tts-open { width:44px; min-width:44px; padding:0; justify-content:center; color:#F4F1EC; }
.tts-open:hover,.tts-bar button:hover { background:#20242b; transform:translateY(-1px); }
.tts-open svg { width:19px; height:19px; }
.tts-open:focus-visible,.tts-bar button:focus-visible { outline:2px solid #F4F1EC; outline-offset:3px; }
.tts-bar { display:flex; align-items:center; gap:.35rem; max-width:min(330px,calc(100vw - 32px)); padding:.35rem; border:1px solid rgba(244,241,236,.15); border-radius:999px; background:rgba(11,13,16,.96); box-shadow:0 8px 28px rgba(0,0,0,.2); backdrop-filter:blur(12px); }
.tts-bar button { width:36px; min-width:36px; min-height:36px; border:0; box-shadow:none; }
.tts-bar button svg { width:15px; height:15px; }
.tts-bar .tts-stop,.tts-bar .tts-close { flex:0 0 36px; min-width:36px; padding:0; }
.tts-bar .tts-status { display:inline-block!important; min-width:0; max-width:145px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:rgba(244,241,236,.8); font-size:.7rem; }
.tts-bar .tts-close { background:rgba(244,241,236,.1); color:#F4F1EC; font-size:1.35rem; }
.tts-bar .tts-close:hover,.tts-bar .tts-stop:hover { background:rgba(244,241,236,.16); }
.tts-bar[hidden] { display:none!important; }
@media(max-width:600px) { .tts { bottom:14px; left:12px; } .tts-bar { gap:0; padding-inline:.32rem; } .tts-bar .tts-status { max-width:108px; } }
@media(prefers-reduced-motion:reduce) { .tts-open,.tts-bar button { transition:none!important; } }

/* Payment logo placeholders: muted until hover/focus, then original asset colors. */
.pay-trust .pay-list { margin:1.6rem auto 0; gap:.75rem; }
.pay-trust .pay-list li { display:grid; place-items:center; width:clamp(118px,16vw,170px); min-height:74px; padding:.8rem 1rem; border:1px solid rgba(11,13,16,.09); border-radius:16px; background:#FFFFFF; transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease; }
.pay-trust .pay-list li:hover,.pay-trust .pay-list li:focus-within { transform:translateY(-3px); border-color:rgba(11,13,16,.18); box-shadow:0 12px 26px rgba(11,13,16,.08); }
.pay-trust .pay-list img { display:block; width:auto; max-width:100%; height:34px; object-fit:contain; filter:grayscale(1); opacity:.58; transition:filter .3s ease,opacity .3s ease; }
.pay-trust .pay-list li:hover img,.pay-trust .pay-list li:focus-within img { filter:none; opacity:1; }
.pay-trust .pay-list img[src$="mercado-pago.svg"] { max-width:145px; }
.pay-trust .pay-list img[src$="vales.svg"] { height:30px; }
@media(max-width:600px) { .pay-trust .pay-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; } .pay-trust .pay-list li { width:100%; min-height:66px; } }
@media(prefers-reduced-motion:reduce) { .pay-trust .pay-list li,.pay-trust .pay-list img { transition:none; } }
