/* VinculApp · Sitio público sin dependencias ni recursos de terceros. */
:root {
  --ink: #102a43;
  --teal: #087c7d; /* Contraste AA para texto blanco; derivado del Teal de marca. */
  --teal-dark: #066567;
  --coral: #f26b5b;
  --mist: #f6f8fb;
  --white: #fff;
  --slate: #52616b;
  --green: #16805c;
  --border: #dfe7ec;
  --border-strong: #c7d3dd;
  --radius: 8px;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", var(--font-ui);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.65 var(--font-ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; }
a { color: var(--teal); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 6px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.wrap--narrow { max-width: 830px; }
.section { padding-block: clamp(64px, 7.5vw, 110px); }
.section--tint { background: var(--mist); border-block: 1px solid #edf0f4; }
.section__head { max-width: 740px; margin-bottom: 40px; }
h2 { font-size: clamp(28px, 3.15vw, 40px); }
.section__head h2 { margin-bottom: 16px; }
.section__lede { color: var(--slate); font-size: 17px; line-height: 1.75; }
.eyebrow { margin-bottom: 16px; color: var(--teal); font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
figcaption { margin-top: 12px; color: var(--slate); font-size: 11px; text-align: center; }
/* Botones cómodos para ratón, teclado y pantallas táctiles. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 18px; border-radius: 7px; border: 1px solid transparent; font: 600 14px/1.4 var(--font-ui); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn--lg { min-height: 52px; padding: 15px 22px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--teal); color: white; box-shadow: 0 3px 8px #087c7d18; }
.btn--secondary { background: white; color: var(--ink); border-color: var(--border-strong); }
.btn--ghost { color: var(--ink); }
.btn--coral { background: var(--coral); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn__icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn > span[aria-hidden] { font-size: 19px; line-height: 1; }
@media (hover: hover) {
  .btn--primary:hover { background: var(--teal-dark); box-shadow: 0 6px 14px #087c7d25; transform: translateY(-2px); }
  .btn--secondary:hover { border-color: var(--teal); background: #f1f8f7; transform: translateY(-2px); }
  .btn--ghost:hover { background: var(--mist); }
  .btn--coral:hover { background: #ff8576; transform: translateY(-2px); }
}
/* Cabecera. Fallback opaco cuando el navegador no admite backdrop-filter. */
.site-header { position: sticky; top: 0; z-index: 50; background: white; border-bottom: 1px solid var(--border); }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .site-header { background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 36px; height: 36px; }
.brand__name { font: 700 21px/1.2 var(--font-display); letter-spacing: -.04em; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: 22px; }
.site-nav__list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slate); font-size: 13px; font-weight: 500; text-decoration: none; }
.site-nav__list a:hover { color: var(--teal); }
.site-header__actions { display: flex; align-items: center; gap: 4px; }
.site-header__actions .btn { font-size: 12px; padding-inline: 13px; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--border); border-radius: 6px; background: white; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s ease; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-2px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: white; padding-block: 12px 22px; max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; }
.mobile-menu__list { display: grid; margin-bottom: 16px; }
.mobile-menu__list a { display: block; min-height: 44px; padding: 10px 0; color: var(--ink); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--border); }
/* Portada: la ilustración acompaña el mensaje; el CTA siempre va primero. */
.hero { padding-top: clamp(48px, 6vw, 84px); background: linear-gradient(155deg, #fff 30%, #f4faf8 100%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1.06fr; gap: 36px; align-items: center; }
.hero__eyebrow { color: var(--teal-dark); display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: #eaf5f1; border: 1px solid #d5e8e2; border-radius: 5px; }
.hero__eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(36px, 3.9vw, 50px); line-height: 1.12; letter-spacing: -.045em; margin-bottom: 24px; }
.hero h1 > span { color: var(--teal); }
.lede { max-width: 49ch; color: var(--slate); font-size: 17px; line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: 12px; color: var(--slate); }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 27px; color: var(--slate); font-size: 11px; }
.hero__highlights li::before { content: "✓"; margin-right: 6px; color: var(--teal); font-weight: 700; }
.hero__visual { min-width: 0; }
.hero__visual img { width: 100%; }
.audience { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 60px; padding-block: 24px; border-top: 1px solid var(--border); }
.audience p { font-size: 12px; color: var(--slate); }
.audience ul { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; font-weight: 600; }
.audience li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8cb5b1; margin-right: 12px; vertical-align: middle; }
/* Beneficios. */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 28px; background: white; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s, transform .25s; }
.card h3 { margin-block: 24px 12px; font-size: 21px; letter-spacing: -.025em; }
.card p { color: var(--slate); font-size: 14px; line-height: 1.8; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--teal { background: #e9f4f2; color: var(--teal); }
.card__icon--coral { background: #fff0ec; color: #b94c3d; }
.card__icon--green { background: #eaf5ed; color: var(--green); }
@media (hover: hover) { .card:hover { border-color: #a6c9c3; transform: translateY(-4px); box-shadow: 0 10px 30px #102a4309; } }
/* Explicación visual + capacidades. */
.product-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.product-story__copy > h2 { margin-bottom: 20px; font-size: clamp(32px, 3.5vw, 44px); }
.product-story__visual img { width: 100%; }
.journey { display: grid; gap: 23px; margin-top: 28px; }
.journey > li { display: flex; gap: 16px; }
.journey > li > span { color: var(--teal); font-size: 12px; font-weight: 700; line-height: 25px; }
.journey h3 { font-size: 16px; letter-spacing: -.02em; line-height: 1.45; margin-bottom: 5px; }
.journey p { font-size: 14px; color: var(--slate); }
.feature-heading { margin-top: 74px; margin-bottom: 28px; padding-top: 38px; border-top: 1px solid var(--border); }
.feature-heading h2 { font-size: 25px; margin-bottom: 10px; }
.feature-heading p { font-size: 14px; color: var(--slate); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: white; padding: 25px; border-radius: var(--radius); border: 1px solid var(--border); }
.feature__label { color: var(--teal-dark); display: block; margin-bottom: 18px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.feature h3 { margin-bottom: 12px; font-size: 18px; letter-spacing: -.02em; }
.feature p { color: var(--slate); font-size: 14px; }
.feature--ai { background: #eaf4f1; border-color: #c5ddd5; }
/* Puesta en marcha. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { padding-top: 24px; border-top: 1px solid var(--border-strong); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #eaf4f1; color: var(--teal); border: 1px solid #d5e8e0; border-radius: 6px; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.step h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: -.02em; }
.step p { color: var(--slate); font-size: 14px; }
/* Planes: el orden visual y el de lectura coinciden en todos los tamaños. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.plan--featured { border: 2px solid var(--teal); box-shadow: 0 8px 24px #102a4308; padding: 29px 25px 25px; }
.plan__flag { position: absolute; top: -14px; right: 22px; padding: 5px 11px; background: var(--teal); color: white; border-radius: 5px; font-size: 10px; line-height: 1.5; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.plan__head h3 { font-size: 23px; margin-bottom: 10px; }
.plan__for { color: var(--slate); font-size: 13px; min-height: 3.3em; }
.plan__price { margin-block: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.plan__price-value { display: block; font-size: 28px; line-height: 1.3; font-weight: 700; letter-spacing: -.04em; }
.plan__price-note { display: block; font-size: 12px; color: var(--slate); margin-top: 6px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; align-content: start; }
.plan__list li { position: relative; padding-left: 22px; font-size: 13px; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.plans__note { max-width: 740px; margin: 28px auto 0; text-align: center; color: var(--slate); font-size: 12px; }
/* Preguntas nativas: funcionan incluso sin JavaScript. */
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq-layout .section__head { position: sticky; top: 120px; }
.faq { display: grid; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 20px 4px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.5; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; width: 22px; flex-shrink: 0; font-size: 23px; font-weight: 400; text-align: center; color: var(--teal); }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--teal); }
.faq__body { padding: 0 26px 22px 4px; color: var(--slate); font-size: 14px; }
/* Cierre y pie. */
.closing { background: var(--ink); color: white; padding-block: clamp(64px, 7vw, 96px); }
.closing__inner { text-align: center; }
.closing h2 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 20px; }
.closing p { max-width: 50ch; margin: 0 auto 28px; color: #cbd8e0; font-size: 17px; }
.closing :focus-visible { outline-color: white; }
.site-footer { padding-block: 48px 24px; background: white; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.site-footer__brand { max-width: 340px; }
.site-footer__brand p { margin-top: 16px; color: var(--slate); font-size: 13px; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 36px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 36px; color: var(--slate); font-size: 13px; text-decoration: none; }
.site-footer__nav a:hover { color: var(--teal); text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; padding-top: 22px; font-size: 11px; color: var(--slate); }
.legal-page { background: var(--mist); }
.legal-page__hero { padding-block: clamp(48px, 7vw, 84px) 42px; background: white; border-bottom: 1px solid var(--border); }
.legal-page__hero h1 { max-width: 820px; margin-bottom: 18px; font-size: clamp(34px, 4.5vw, 54px); }
.legal-page__hero p { max-width: 720px; color: var(--slate); }
.legal-page__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; color: var(--slate); font-size: 13px; }
.legal-page__content { padding-block: clamp(42px, 6vw, 80px); }
.legal-page__article { padding: clamp(24px, 4vw, 48px); background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.legal-page__article > * + * { margin-top: 26px; }
.legal-page__article section > * + * { margin-top: 12px; }
.legal-page__article h2 { font-size: clamp(22px, 2.5vw, 30px); }
.legal-page__article h3 { font-size: 17px; }
.legal-page__article p, .legal-page__article li { color: var(--slate); font-size: 15px; line-height: 1.75; }
.legal-page__article ul { display: grid; gap: 9px; padding-left: 22px; list-style: disc; }
.legal-page__article ol { display: grid; gap: 9px; padding-left: 22px; list-style: decimal; }
.legal-page__article strong { color: var(--ink); }
.legal-page__notice { padding: 18px 20px; border-left: 4px solid var(--teal); background: #edf7f5; color: var(--ink); font-size: 14px; }
.error-page { text-align: center; }
.error-page h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 20px; }
.error-page .section__lede { max-width: 48ch; margin: 0 auto 26px; }
.error-page .hero__actions { justify-content: center; }
/* Solo animamos elementos visibles. El contenido nunca depende de JS para aparecer. */
@keyframes enter-view { from { opacity: .65; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) { .is-entering { animation: enter-view .55s cubic-bezier(.2,.65,.3,1) both; } }
@media (max-width: 1080px) {
  .site-nav__list { gap: 15px; }
  .site-header__inner { gap: 14px; }
  .hero__inner { gap: 24px; }
  .hero__actions .btn { padding-inline: 17px; }
}
@media (max-width: 900px) {
  .site-nav, .site-header__actions { display: none; }
  .js-ready .nav-toggle { display: inline-flex; }
  .mobile-menu { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__copy { max-width: 680px; }
  .hero h1 { font-size: clamp(36px, 6.2vw, 54px); }
  .hero__visual { width: 100%; max-width: 620px; margin-inline: auto; }
  .audience { margin-top: 36px; align-items: flex-start; flex-direction: column; gap: 14px; }
  .cards--3 { gap: 14px; }
  .card { padding: 22px; }
  .card h3 { font-size: 19px; }
  .product-story { grid-template-columns: 1fr; gap: 36px; }
  .product-story__copy { grid-row: 1; }
  .product-story__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 24px; }
  .plans { gap: 14px; }
  .plan { padding-inline: 18px; }
  .plan--featured { padding-inline: 17px; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq-layout .section__head { position: static; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 88px; }
  .site-header__inner { min-height: 68px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(35px, 8.2vw, 48px); }
  .lede { font-size: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__highlights { gap: 8px 14px; margin-top: 22px; }
  .audience ul { gap: 8px 18px; font-size: 12px; }
  .section__head { margin-bottom: 30px; }
  .cards--3, .features, .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 25px; }
  .card h3 { margin-top: 20px; font-size: 21px; }
  .feature-heading { margin-top: 48px; }
  .feature-heading h2 { font-size: 25px; }
  .plans { gap: 26px; }
  .plan, .plan--featured { padding: 27px 24px; }
  .plan__for { min-height: 0; }
  .plan__list li { font-size: 14px; }
  .plans__note { text-align: left; }
  .site-footer__nav { width: 100%; }
  .site-footer__legal { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) { .btn, .card, .plan, .nav-toggle { border: 1px solid ButtonText; } }
