/* Nudo: petróleo y coral sobre blanco, por preferencia del dueño. Independiente del shell. */
:root {
    --paper: #ffffff;
    --card: #ffffff;
    --ink: #073d46;
    --muted: #526c70;
    --line: #dfe5e7;
    --petrol: #073d46;
    --green: #087c83;
    --lime: #b7e5df;
    --soft: #f4f6f7;
    --clay: #b64f38;
    --contact-surface: #dcefeb;
    --contact-border: #a9ccc5;
    --invoice-surface: #faf8f0;
    --invoice-border: #ddd8c8;
    --invoice-ink: #08656b;
    --serif: 'Segoe UI', Arial, sans-serif;
    color-scheme: light;
}
[data-theme=dark] {
    --paper: #082c33;
    --card: #103b43;
    --ink: #fff9f3;
    --muted: #b8cccd;
    --line: #36565c;
    --petrol: #b7e5df;
    --green: #b7e5df;
    --soft: #143d44;
    --clay: #ffab94;
    --contact-surface: #174951;
    --contact-border: #43747b;
    --invoice-surface: #49412b;
    --invoice-border: #86764c;
    --invoice-ink: #b7e5df;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 'Segoe UI', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 22px; height: 22px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(56px, 6.1vw, 86px); font-weight: 600; }
h2 { font-size: clamp(38px, 4.3vw, 62px); font-weight: 500; }
h3 { font-size: 29px; font-weight: 500; }
em { font-family: var(--serif); font-weight: 600; font-style: normal; color: var(--green); letter-spacing: -.045em; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.nav { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 800; letter-spacing: -1.2px; white-space: nowrap; }
.brand span { font-weight: 400; margin-left: -9px; }
.brand img { border-radius: 50%; }
.nav nav { display: flex; gap: 25px; margin-left: auto; font-size: 13px; }
.nav nav a { padding-block: 12px; }
.nav nav a:hover, .login:hover { color: var(--clay); }
.nav-actions { display: flex; align-items: center; gap: 21px; }
.login { font-size: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; background: var(--petrol); color: var(--paper); border: 1px solid var(--petrol); border-radius: 12px; font-size: 14px; font-weight: 600; padding: 16px 25px; min-height: 54px; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.button span { font-size: 20px; font-weight: 400; }
.button.small { font-size: 12px; padding: 9px 16px; gap: 18px; min-height: 44px; }
.button.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.bright { background: var(--lime); color: #073d46; border-color: var(--lime); }
.icon-button { display: grid; place-items: center; background: transparent; color: var(--ink); border: 0; width: 40px; height: 40px; }
.menu-toggle { display: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 11px/1.6 Consolas, monospace; letter-spacing: 1.5px; margin-bottom: 27px; }
.dot { display: inline-block; width: 6px; height: 6px; background: var(--clay); flex-shrink: 0; }
.hero { display: grid; grid-template-columns: 1.14fr 1fr; gap: 0 35px; align-items: center; padding-top: 57px; position: relative; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 35px; }
.hero h1 { white-space: nowrap; }
.hero h1 em { color: var(--green); }
.lead { font-size: 17px; color: var(--muted); line-height: 1.8; margin-top: 29px; max-width: 510px; }
.actions { display: flex; gap: 13px; margin-top: 31px; }
.hero-note { font-size: 12px; color: var(--muted); margin-top: 21px; }
.hero-folio { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); margin-top: 36px; padding-block: 25px; font: 10px Consolas, monospace; letter-spacing: 1px; }
.hero-folio a { font: italic 16px var(--serif); letter-spacing: 0; }
.hero-folio a span { margin-left: 15px; font-family: Arial, sans-serif; }
.section { padding-block: 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading>p { max-width: 300px; color: var(--muted); font-size: 15px; padding-bottom: 6px; }
.journey { margin-top: 48px; border-top: 1px solid var(--line); }
.journey-controls { display: grid; grid-template-columns: repeat(3, 1fr); }
.journey-step { text-align: left; padding: 26px 20px; display: flex; align-items: center; gap: 18px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); }
.journey-step span { font: 11px Consolas, monospace; }
.journey-step b { font-size: 16px; font-weight: 500; }
.journey-step i { margin-left: auto; font-style: normal; font-size: 22px; }
.journey-step.is-active { color: var(--ink); background: var(--soft); box-shadow: inset 0 -3px var(--clay); }
.journey-detail { display: grid; grid-template-columns: 1fr 1.1fr; padding: 48px 25px 25px; gap: 70px; }
[hidden] { display: none !important; }
.journey-copy h3 { font-size: 43px; }
.journey-copy>p:not(.eyebrow) { font-size: 15px; color: var(--muted); margin-top: 22px; max-width: 450px; }
.text-link { display: inline-block; font-size: 13px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; margin-top: 24px; }
.journey-illustration { background: var(--soft); display: flex; flex-direction: column; justify-content: center; padding: 30px; min-height: 265px; position: relative; }
.route-label { font: 9px Consolas, monospace; letter-spacing: 1px; position: absolute; top: 22px; left: 25px; color: var(--muted); }
.route { display: flex; align-items: center; width: 100%; margin-top: 28px; }
.route-node { font: 10px Consolas, monospace; border: 1px solid var(--line); padding: 9px; background: var(--paper); }
.route-thread { height: 2px; flex: 1; background: var(--clay); }
.route-document { display: flex; flex-direction: column; justify-content: space-between; width: 73px; height: 91px; background: var(--card); padding: 9px; font: italic 36px var(--serif); transform: rotate(-6deg); border: 1px solid var(--line); transition: transform .35s; }
.route-document small { font: 7px Consolas, monospace; letter-spacing: .3px; }
.journey[data-current=vinculo] .route-document { transform: rotate(0deg); }
.journey[data-current=estudio] .route-document { transform: rotate(6deg); }
.journey-illustration>p { font: italic 21px/1.4 var(--serif); margin-top: 26px; text-align: center; color: var(--muted); }
.journey-fallback { margin-top: 20px; }
.split { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 100px; }
.dark-band { background: #073d46; color: #fff9f3; position: relative; }
.dark-band .section { padding-block: 105px; }
.dark-band em { color: var(--lime); }
.dark-band .lead { color: #bbd6d5; }
.dark-band .eyebrow { color: #bbd6d5; }
.benefits { padding: 0; list-style: none; margin: 25px 0 32px; }
.benefits li { display: flex; gap: 13px; padding: 10px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.benefits li:before { content: '↗'; color: var(--clay); }
.dark-band .benefits li { border-color: #426369; color: #e1efec; }
.dark-band .benefits li:before { color: var(--lime); }
.period-card { background: #f4f6f7; color: #073d46; padding: 32px 36px; transform: rotate(2deg); position: relative; }
.period-card:before { content: ''; position: absolute; inset: 8px -8px -8px 8px; border: 1px solid #7a9d9e; z-index: -1; }
.card-top { display: flex; justify-content: space-between; align-items: center; font: 9px Consolas, monospace; letter-spacing: 1px; color: #526c70; margin-bottom: 26px; }
.period-card h3 { font: italic 42px/1.05 var(--serif); letter-spacing: -2px; }
.period-steps { list-style: none; padding: 0; margin: 24px 0; }
.period-steps li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid #bdd5d2; }
.period-steps li>span { color: #526c70; font: 12px Consolas, monospace; padding-top: 4px; }
.period-steps b { font-size: 14px; font-weight: 600; }
.period-steps p { font-size: 12px; color: #526c70; line-height: 1.6; margin-top: 4px; }
.card-foot { font: italic 17px var(--serif); color: #526c70; }
.invoice-card { background: var(--invoice-surface); border: 1px solid var(--invoice-border); padding: 38px; box-shadow: 12px 12px 0 var(--soft); position: relative; max-width: 460px; transform: rotate(-2deg); }
.invoice-card:before { content: ''; width: 70px; height: 25px; background: #c5caae88; position: absolute; top: -12px; left: calc(50% - 35px); transform: rotate(5deg); }
.invoice-top { display: flex; align-items: center; gap: 14px; margin-bottom: 37px; }
.invoice-top>span:nth-child(2) { font: 9px Consolas, monospace; letter-spacing: .5px; }
.invoice-top .pill { margin-left: auto; }
.invoice-card h3 { font: italic 39px/1.1 var(--serif); letter-spacing: -1.8px; }
.invoice-number { font: 13px Consolas, monospace; color: var(--muted); margin: 18px 0 28px; }
.invoice-line { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.invoice-line>span { color: var(--muted); }
.invoice-total { padding: 27px 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.invoice-total span { font-size: 12px; color: var(--muted); }
.invoice-total b { font-size: 30px; letter-spacing: -1px; }
.invoice-progress { display: flex; justify-content: space-between; border-top: 1px dashed var(--line); padding: 18px 0 0; font-size: 11px; font-weight: 600; color: var(--invoice-ink); }
.pill { display: inline-block; padding: 4px 7px; font-size: 9px; text-align: center; white-space: nowrap; }
.green { background: #d8efea; color: #08656b; }
.illustration-note { font-size: 10px; color: var(--muted); text-align: center; margin-top: 20px; }
.soft-band { background: var(--soft); border-block: 1px solid var(--line); }
.soft-band .section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0 70px; }
.soft-band .eyebrow { grid-column: 1/-1; }
.soft-band h2 { font-size: 48px; }
.trust-grid { display: flex; flex-direction: column; gap: 24px; }
.trust-grid article { padding-bottom: 23px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 0 16px; }
.trust-grid article:last-child { padding-bottom: 0; border-bottom: 0; }
.trust-grid svg { margin-top: 2px; color: var(--green); }
.trust-grid h3 { font-size: 23px; }
.trust-grid p { grid-column: 2; color: var(--muted); font-size: 14px; margin-top: 10px; }
.footer { display: flex; align-items: center; gap: 30px; padding-block: 34px; }
.footer .brand { font-size: 19px; }
.footer p { color: var(--muted); font-size: 11px; }
.footer>a:nth-last-child(2) { font-size: 12px; margin-left: auto; }
.footer small { font-size: 10px; color: var(--muted); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
.dark-band :focus-visible { outline-color: var(--lime); }
.skip-link { position: fixed; top: -70px; left: 15px; background: var(--card); padding: 12px; z-index: 50; }
.skip-link:focus { top: 10px; }
@media (min-width: 901px) { html { scroll-behavior: smooth; } }
@media (max-width: 1150px) {
    .wrap { width: calc(100% - 64px); }
    .nav-inner { gap: 18px; }
    .nav nav { gap: 16px; }
    .nav-actions { gap: 13px; }
    .brand { font-size: 21px; }
    .nav nav a { font-size: 11px; }
    .hero { grid-template-columns: 1.15fr 1fr; }
    .hero h1 { font-size: 7vw; }
    .split { gap: 70px; }
    .journey-detail { gap: 35px; }
}
@media (max-width: 900px) {
    .nav nav { display: none; }
    .nav nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 20px 32px; background: var(--paper); border-bottom: 1px solid var(--line); gap: 0; }
    .nav nav.is-open a { font-size: 15px; padding: 12px 0; }
    .nav-actions { margin-left: auto; }
    .menu-toggle { display: grid; }
    .hero { padding-top: 47px; gap: 20px; }
    .hero h1 { font-size: 7.2vw; }
    .hero .eyebrow { font-size: 9px; letter-spacing: .8px; }
    .desktop-break { display: none; }
    .lead { font-size: 15px; }
    .section { padding-block: 75px; }
    .dark-band .section { padding-block: 75px; }
    .section-heading { align-items: start; }
    .journey-step { padding: 22px 12px; gap: 10px; }
    .journey-step b { font-size: 13px; }
    .journey-detail { padding-inline: 0; gap: 30px; }
    .journey-copy h3 { font-size: 35px; }
    .journey-illustration { padding: 20px; }
    .route-node { font-size: 8px; padding: 7px; }
    .split { gap: 35px; }
    .period-card { padding: 26px; }
    .period-card h3 { font-size: 36px; }
    .invoice-card { padding: 28px; }
    .invoice-top { gap: 9px; }
    .invoice-total b { font-size: 25px; }
    .soft-band .section { gap: 0 35px; }
    .soft-band h2 { font-size: 40px; }
    .footer { flex-wrap: wrap; gap: 20px; }
    .footer small { width: 100%; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 40px); }
    .nav-inner { min-height: 74px; gap: 10px; }
    .brand { font-size: 22px; gap: 7px; }
    .brand img { width: 28px; height: 28px; }
    .brand span { margin-left: -7px; }
    .nav-actions { gap: 8px; }
    .nav-actions>.button, .login { display: none; }
    .icon-button { width: 36px; height: 40px; }
    .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 0; }
    .hero-copy { padding-bottom: 0; }
    .hero h1 { font-size: clamp(45px, 12vw, 70px); white-space: normal; }
    .hero .eyebrow { font-size: 8px; letter-spacing: .7px; margin-bottom: 24px; }
    .lead { margin-top: 24px; font-size: 16px; }
    .actions { gap: 10px; margin-top: 26px; }
    .button { padding: 14px 19px; font-size: 13px; gap: 20px; min-height: 52px; }
    .hero-note { font-size: 11px; max-width: 300px; }
    .hero-folio { margin-top: 10px; padding-block: 22px; gap: 15px; font-size: 8px; }
    .hero-folio>span:last-child { display: none; }
    .hero-folio a { font-size: 14px; white-space: nowrap; }
    .section { padding-block: 62px; }
    .eyebrow { font-size: 9px; margin-bottom: 22px; }
    h2 { font-size: 40px; }
    .section-heading { display: block; }
    .section-heading>p { margin-top: 24px; }
    .journey { margin-top: 30px; }
    .journey-controls { grid-template-columns: 1fr; }
    .journey-step { padding: 17px 14px; min-height: 60px; }
    .journey-step b { font-size: 16px; }
    .journey-detail { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; }
    .journey-copy h3 { font-size: 36px; }
    .journey-illustration { min-height: 235px; padding: 26px; }
    .route-node { font-size: 9px; padding: 8px; }
    .split { grid-template-columns: 1fr; gap: 42px; }
    .dark-band .section { padding-block: 64px; }
    .period-card { margin: 0 6px; }
    .period-card h3 { font-size: 38px; }
    .period-steps p { font-size: 13px; }
    .invoice-card { max-width: 420px; width: calc(100% - 10px); margin-inline: auto; }
    .invoice-top { gap: 10px; }
    .invoice-total b { font-size: 27px; }
    .invoice-progress { font-size: 10px; }
    .soft-band .section { display: block; }
    .trust-grid { margin-top: 35px; }
    .footer { gap: 18px; padding-block: 28px; }
    .footer p { width: 100%; order: 2; }
    .footer small { order: 3; }
    .footer>a:nth-last-child(2) { font-size: 11px; }
}
@media (max-width: 360px) {
    .invoice-card { padding: 22px; }
    .invoice-top>span:nth-child(2) { font-size: 8px; }
    .invoice-total b { font-size: 24px; }
    .route-node { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { transition: none !important; }
}

/* SVG outlines preserve the lettering; dark theme uses the permitted one-ink variant. */
.brand-art { display: block; width: 204px; aspect-ratio: 2070 / 476; background: url("../img/landing/nudocontable-logo-completo.0dc1080952d3.svg") center / contain no-repeat; }
.brand-symbol { display: block; width: 35px; aspect-ratio: 1; flex-shrink: 0; background: url("../img/landing/nudocontable-isologo.116181176cf1.svg") center / contain no-repeat; }
.brand { padding: 0; background: transparent; }
[data-theme=dark] .brand-art { filter: brightness(0) invert(1); }
.brand span.brand-art { margin: 0; }
.footer .brand-art { width: 180px; }
.nav nav { gap: 19px; }
.hero { grid-template-columns: 1.05fr 1fr; gap: 30px; }
.hero h1 { white-space: normal; }
.connection-art { position: relative; min-width: 0; align-self: start; width: 100%; padding-bottom: 35px; }
.connection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.motion-toggle { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--muted); font-size: 10px; letter-spacing: 0; min-height: 34px; }
.connection-map { display: block; width: 88%; height: auto; margin-inline: auto; overflow: visible; }
.map-orbit { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 9; }
.travel-dots { animation: document-flow 14s linear infinite; }
@keyframes document-flow { to { stroke-dashoffset: -560; } }
.connection-art.is-paused .travel-dots { animation-play-state: paused; }
.connection-node { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; box-shadow: 0 8px 24px #073d460a; }
.connection-node small { display: block; font-size: 9px; color: var(--muted); letter-spacing: 1px; }
.connection-node b { display: block; font-size: 14px; margin-top: 3px; font-weight: 600; }
.node-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); color: var(--green); }
.node-biller .node-icon { background: #ff795c22; color: var(--clay); }
.connection-caption { text-align: center; font-size: 19px; font-weight: 600; margin-top: -9px; }
.connection-caption span { display: block; margin-top: 5px; font-size: 12px; font-weight: 400; color: var(--muted); }
.hero-folio { margin-top: 0; }
.problems-section { border-bottom: 1px solid var(--line); }
.problem-grid, .faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 42px; }
.problem-card { min-width: 0; }
.problem-scene { position: relative; display: flex; justify-content: center; align-items: center; height: 206px; border-radius: 20px; background: var(--soft); margin-bottom: 24px; overflow: hidden; }
.problem-number { font-size: 10px; letter-spacing: 1.3px; color: var(--green); font-weight: 600; }
.problem-card h3 { font-size: 24px; line-height: 1.22; letter-spacing: -.025em; margin: 13px 0; }
.problem-card>p, .problem-solution p { color: var(--muted); font-size: 14px; }
.problem-solution { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 22px; }
.problem-solution b { font-size: 15px; font-weight: 600; }
.problem-solution p { margin-top: 8px; }
.mini-paper { position: absolute; width: 80px; height: 110px; border: 1px solid var(--line); border-radius: 7px; padding: 15px; background: var(--card); font-size: 13px; font-weight: 600; color: var(--green); }
.mini-paper i { display: block; height: 2px; background: var(--line); margin-top: 12px; }
.paper-one { transform: rotate(-15deg); left: 18%; top: 25%; }
.paper-two { transform: rotate(4deg); top: 17%; left: 41%; }
.paper-three { transform: rotate(17deg); top: 32%; right: 13%; }
.scene-folder { position: absolute; bottom: 18px; left: 43%; display: grid; place-items: center; background: #087c83; width: 53px; height: 53px; color: #fff9f3; border-radius: 14px; box-shadow: 0 0 0 7px var(--soft); }
.status-scene { flex-direction: column; }
.mini-status { display: flex; align-items: center; gap: 10px; width: 154px; border-radius: 10px; padding: 8px 13px; font-size: 12px; background: var(--card); border: 1px solid var(--line); }
.status-dot { width: 7px; height: 7px; background: var(--muted); border-radius: 50%; }
.status-connector { height: 14px; border-left: 1px dashed var(--green); }
.status-approved { color: #fff9f3; background: #087c83; border-color: #087c83; }
.status-approved svg { width: 16px; height: 16px; }
.mini-calendar { width: 142px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 13px; transform: rotate(-6deg); }
.mini-calendar>span { font-size: 10px; color: var(--muted); letter-spacing: 1px; }
.mini-calendar>div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 15px; }
.mini-calendar i { height: 17px; border-radius: 4px; background: var(--soft); }
.mini-calendar i:nth-child(3n) { background: #ff795c; }
.calendar-lock { position: absolute; right: 25%; bottom: 31px; display: grid; place-items: center; width: 53px; height: 53px; background: #087c83; color: #fff9f3; border-radius: 14px; box-shadow: 0 0 0 7px var(--soft); }
.period-card, .invoice-card { border-radius: 20px; transform: none; box-shadow: none; }
.period-card:before, .invoice-card:before { display: none; }
.period-card h3, .invoice-card h3 { font-style: normal; font-weight: 600; }
.journey-illustration { border-radius: 20px; }
.faq-section>div>p:last-child { color: var(--muted); margin-top: 20px; }
.faq-card { border: 1px solid var(--line); border-radius: 18px; padding: 27px; background: var(--soft); position: relative; overflow: hidden; isolation: isolate; }
.faq-card::before { content: ''; position: absolute; top: 12px; right: 24px; width: 110px; height: 110px; background: url("../img/landing/nudocontable-isologo.116181176cf1.svg") center / contain no-repeat; filter: grayscale(1); opacity: .09; pointer-events: none; z-index: -1; }
[data-theme=dark] .faq-card::before { filter: grayscale(1) brightness(0) invert(1); opacity: .07; }
.faq-icon { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.faq-icon svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--green); }
.faq-card:nth-child(2) .faq-icon svg, .faq-card:nth-child(6) .faq-icon svg { background: #ff795c22; color: var(--clay); }
.faq-icon>span { font-size: 11px; color: var(--muted); }
.faq-card .faq-kicker { font-size: 11px; color: var(--green); margin-bottom: 10px; font-weight: 600; }
.faq-card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.025em; }
.faq-card>p:last-child { font-size: 14px; color: var(--muted); margin-top: 17px; }
.contact-band { background: var(--paper); border-block: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-copy { padding-top: 25px; }
.contact-copy h2 { font-size: clamp(38px, 4.1vw, 58px); }
.contact-note { display: flex; gap: 15px; align-items: start; margin-top: 32px; color: var(--muted); font-size: 13px; }
.contact-note svg { flex-shrink: 0; color: var(--green); }
.contact-panel { min-width: 0; background: var(--contact-surface); border: 1px solid var(--contact-border); border-radius: 24px; padding: 35px; }
.contact-form h3 { font-size: 26px; font-weight: 600; letter-spacing: -.025em; }
.contact-form>p { color: var(--muted); font-size: 12px; margin-top: 12px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px; margin-top: 28px; }
.contact-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-width: 0; padding: 13px 12px; font: 16px/1.4 'Segoe UI', Arial, sans-serif; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); }
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: var(--muted); opacity: 1; }
.full-width { grid-column: 1 / -1; }
.contact-form .contact-privacy { font-size: 12px; margin-top: 20px; }
.contact-form .button { margin-top: 23px; width: 100%; }
.contact-form .button:disabled { cursor: not-allowed; background: var(--soft); border-color: var(--line); color: var(--muted); transform: none; }
.footer { justify-content: space-between; }
@media (max-width: 1150px) {
    .brand-art { width: 180px; }
    .nav nav { gap: 12px; }
    .nav-actions { gap: 10px; }
    .connection-node { padding: 11px; gap: 8px; }
    .connection-node b { font-size: 12px; }
    .contact-layout { gap: 35px; }
    .faq-card { padding: 22px; }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero h1 { font-size: 6.6vw; }
    .node-icon { display: none; }
    .connection-heading { flex-wrap: wrap; }
    .connection-caption { font-size: 16px; }
    .connection-node small { font-size: 8px; }
    .problem-grid { gap: 18px; }
    .problem-card h3 { font-size: 21px; }
    .faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .contact-copy { padding-top: 0; }
}
@media (max-width: 600px) {
    .brand-art { width: 180px; }
    .brand { padding: 0; }
    .hero { grid-template-columns: 1fr; gap: 35px; }
    .hero h1 { font-size: clamp(45px, 12vw, 70px); }
    .connection-art { max-width: 430px; justify-self: center; padding-bottom: 15px; }
    .connection-node { padding: 10px; }
    .connection-caption { margin-top: 0; }
    .hero-folio { margin-top: 0; }
    .problem-grid, .faq-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 30px; }
    .problem-scene { height: 190px; }
    .problem-card h3 { font-size: 25px; }
    .faq-card { padding: 25px; }
    .faq-icon { margin-bottom: 22px; }
    .faq-card h3 { font-size: 23px; }
    .contact-panel { padding: 24px; border-radius: 18px; }
    .contact-fields { grid-template-columns: 1fr; }
    .contact-copy h2 { font-size: 39px; }
    .footer { gap: 22px; }
    .footer .brand-art { width: 160px; }
}
@media (max-width: 360px) {
    .nav .brand-art { width: 155px; }
    .connection-node b { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    .travel-dots { animation: none; }
}

/* Logo animado: el header revela la marca al cargar; el símbolo de la factura "se anuda" al entrar. */
@keyframes brand-reveal {
    from { clip-path: inset(0 100% 0 0); opacity: .2; transform: translateX(-6px); }
    to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; }
}
@keyframes brand-knot {
    0% { transform: rotate(-90deg) scale(.6); opacity: 0; }
    70% { transform: rotate(8deg) scale(1.05); opacity: 1; }
    100% { transform: none; }
}
.nav .brand-art { animation: brand-reveal 1.1s cubic-bezier(.65, 0, .35, 1) .15s both; }
.brand-symbol { animation: brand-knot .9s cubic-bezier(.34, 1.4, .64, 1) .3s both; }
.brand .brand-art { transition: transform .25s ease; }
.brand:hover .brand-art { transform: translateY(-1px) scale(1.02); }
@media (prefers-reduced-motion: reduce) {
    .nav .brand-art, .brand-symbol { animation: none; }
    .brand:hover .brand-art { transform: none; }
}

/* Mapa de conexión: el isologo se anuda lazo por lazo (facturador, contador, SIFEN). Cada lazo
   trae su necesidad y, al cerrarse, la tacha y muestra la solución. Corre UNA vez al cargar
   (sin bucle, así no hace falta pausa) y «Repetir animación» la vuelve a correr. */
@keyframes loop-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes node-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes need-solved { to { color: var(--muted); text-decoration-color: currentColor; opacity: .6; } }
@keyframes solution-in { from { opacity: 0; max-height: 0; transform: translateY(4px); } to { opacity: 1; max-height: 40px; transform: none; } }
@keyframes knot-tighten { 0%, 100% { transform: scale(1); } 45% { transform: scale(.95); } }
.knot, .map-orbits { transform-box: view-box; transform-origin: 627px 660px; }
@keyframes over-in { from { opacity: 0; } to { opacity: 1; } }
.knot-over { animation: over-in .25s ease both; }
.over-biller { animation-delay: 1.4s; }
.over-accountant { animation-delay: 3s; }
.over-sifen { animation-delay: 4.6s; }
.knot-loop { stroke-dasharray: 1 1; animation: loop-draw 1.2s cubic-bezier(.65, 0, .35, 1) both; }
.loop-biller { animation-delay: .3s; }
.loop-accountant { animation-delay: 1.9s; }
.loop-sifen { animation-delay: 3.5s; }
.knot { animation: knot-tighten .7s cubic-bezier(.34, 1.5, .64, 1) 4.8s; }
.connection-node s { display: block; font-size: 12px; margin-top: 3px; color: var(--ink); text-decoration: line-through; text-decoration-color: transparent; }
.connection-node b { overflow: hidden; }
.node-biller { top: 52%; left: 0; }
.node-accountant { top: 6%; right: 0; }
.node-sifen { bottom: 14%; right: 0; }
.node-biller, .node-biller s, .node-biller b { --start: .3s; }
.node-accountant, .node-accountant s, .node-accountant b { --start: 1.9s; }
.node-sifen, .node-sifen s, .node-sifen b { --start: 3.5s; }
.connection-node { animation: node-in .5s cubic-bezier(.34, 1.3, .64, 1) var(--start) both; }
.connection-node s { animation: need-solved .4s ease calc(var(--start) + 1.2s) forwards; }
.connection-node b { animation: solution-in .45s ease calc(var(--start) + 1.3s) both; }
/* Con movimiento reducido arranca quieta; «Repetir» (.is-replay) la corre porque la pide la persona. */
@media (prefers-reduced-motion: reduce) {
    .connection-art:not(.is-replay) :is(.knot, .knot-loop, .knot-over, .connection-node, .connection-node s, .connection-node b) { animation: none; }
    .connection-art:not(.is-replay) .knot-loop { stroke-dasharray: none; }
    .connection-art:not(.is-replay) .connection-node s { color: var(--muted); text-decoration-color: currentColor; opacity: .6; }
}

/* Ajustes de pulido (2026-10-13): tarjetas fuera de los cruces, lazo petróleo visible en oscuro,
   icono del tema según el modo, banda de estudios delimitada en oscuro. */
@media (min-width: 901px) {
    .node-biller { left: -48px; }
    .node-accountant, .node-sifen { right: -32px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
    .node-biller { left: -24px; }
    .node-accountant, .node-sifen { right: -16px; }
}
/* Petróleo #0A5A63 casi desaparece sobre el papel oscuro (contraste ~1.3:1): en oscuro el lazo del
   contador usa el mismo sustituto que el token --petrol del tema. Coral y teal no cambian. */
[data-theme=dark] .loop-accountant, [data-theme=dark] .over-accountant use:last-child { stroke: var(--petrol); }
.theme-icon-dark { display: none; }
[data-theme=dark] .theme-icon-light { display: none; }
[data-theme=dark] .theme-icon-dark { display: block; }
[data-theme=dark] .dark-band { border-block: 1px solid var(--line); }
/* Entre 600 y 900 px la tarjeta de SIFEN pisaba la leyenda «Tres lazos. Un nudo.». */
@media (max-width: 900px) {
    .node-sifen { bottom: 22%; }
}
