:root {
    --brand: #1267f2;
    --brand-dark: #1742c7;
    --brand-deep: #071f5a;
    --brand-soft: #edf6ff;
    --accent: #16cfe8;
    --ink: #10212b;
    --muted: #60717b;
    --line: #dce9ef;
    --surface: #ffffff;
    --surface-soft: #f6fafc;
    --shadow: 0 20px 60px rgba(14, 62, 86, .12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section-pad {
    padding: 44px 0;
}

/* Evita que dos secciones consecutivas acumulen doble espacio vertical. */
main>.section-pad+.section-pad {
    padding-top: 14px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 10000;
    background: #fff;
    color: #000;
    padding: 10px 14px;
    border-radius: 8px;
}

.skip-link:focus {
    left: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(220, 233, 239, .9);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand picture {
    display: flex;
    align-items: center;
}

.brand img {
    display: block;
    width: 258px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav>a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #31444e;
    transition: .2s ease;
}

.main-nav>a:hover {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.main-nav .nav-cta {
    margin-left: 6px;
    color: #fff;
    background: var(--brand);
    padding-inline: 17px;
    box-shadow: 0 10px 26px rgba(18, 103, 242, .20);
}

.main-nav .nav-cta:hover {
    color: #fff;
    background: var(--brand-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--surface-soft);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--ink);
    border-radius: 10px;
    transition: .2s ease;
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #f4fbfe 100%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 70px;
    align-items: center;
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 10px;
}

.eyebrow.light {
    color: #c9f2ff;
}

.hero h1 {
    margin: 20px 0 22px;
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -.04em;
    color: var(--brand-deep);
}

.hero-text {
    margin: 0;
    max-width: 650px;
    color: #435964;
    font-size: 19px;
    line-height: 1.75;
}

.hero-text strong {
    color: var(--brand-dark);
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 13px;
    font-weight: 800;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 14px 34px rgba(18, 103, 242, .22);
}

.btn-primary:hover {
    background: var(--brand-dark);
    box-shadow: 0 16px 38px rgba(23, 66, 199, .25);
}

.btn-secondary {
    color: var(--brand-dark);
    border-color: #bfdce8;
    background: #fff;
}

.btn-secondary:hover {
    background: var(--brand-soft);
}

.btn-ghost {
    color: var(--brand-dark);
    border-color: #c7dde6;
    background: #fff;
}

.btn-white {
    color: var(--brand-dark);
    background: #fff;
    box-shadow: 0 15px 36px rgba(0, 0, 0, .12);
}

.btn.full {
    width: 100%;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 30px;
    color: #51656f;
    font-size: 13px;
    font-weight: 700;
}

.hero-points span {
    white-space: nowrap;
}

.hero-visual {
    position: relative;
    padding: 34px 80px 58px 0;
    min-height: 530px;
}

.product-window {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(185, 216, 228, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow);
}

.mascot-hero {
    position: absolute;
    z-index: 5;
    right: -26px;
    bottom: -20px;
    width: 208px;
    pointer-events: none;
    filter: drop-shadow(0 22px 25px rgba(7, 31, 90, .18));
}

.mascot-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.window-top {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 48px;
    padding: 0 16px;
    background: #f5f9fb;
    border-bottom: 1px solid #e4eff3;
}

.window-top span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c9dce3;
}

.window-top span:first-child {
    background: #ff7b72;
}

.window-top span:nth-child(2) {
    background: #f5c451;
}

.window-top span:nth-child(3) {
    background: #5ad28b;
}

.window-top strong {
    margin-left: 8px;
    color: #60717b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
}

.product-image-wrap {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 38px 20px;
    background: radial-gradient(circle at 50% 35%, #effaff 0%, #fff 70%);
}

.product-image-wrap picture {
    display: block;
    width: 100%;
}

.product-image-wrap img {
    display: block;
    width: 100%;
    max-width: 610px;
    margin: 0 auto;
}

.float-card {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 13px 16px;
    border: 1px solid rgba(209, 228, 236, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 35px rgba(19, 73, 95, .13);
    backdrop-filter: blur(9px);
}

.float-card strong {
    font-size: 13px;
    color: var(--brand-deep);
}

.float-card small {
    color: #71838c;
    font-size: 11px;
}

.card-one {
    left: -34px;
    top: 82px;
}

.card-two {
    right: 40px;
    top: 132px;
}

.card-three {
    left: 95px;
    bottom: 4px;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero-glow-one {
    width: 550px;
    height: 550px;
    right: -220px;
    top: -160px;
    background: rgba(18, 103, 242, .10);
}

.hero-glow-two {
    width: 420px;
    height: 420px;
    left: -260px;
    bottom: -160px;
    background: rgba(22, 207, 232, .09);
}

.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid>div {
    padding: 25px 28px;
    border-right: 1px solid var(--line);
}

.trust-grid>div:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--brand-deep);
    font-size: 15px;
}

.trust-grid span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading.center .eyebrow {
    justify-content: center;
}

.section-heading.left {
    margin-bottom: 0;
}

.section-heading.narrow {
    max-width: 650px;
}

.section-heading h2,
.feature-copy h2,
.demo-copy h2,
.about-grid h2,
.contact-intro h2 {
    margin: 16px 0 16px;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -.03em;
    color: var(--brand-deep);
}

.section-heading p,
.feature-copy>p,
.about-copy p,
.contact-intro p {
    color: var(--muted);
    font-size: 17px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #b5d9e7;
    box-shadow: 0 18px 45px rgba(15, 77, 103, .09);
}

.icon-box {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.service-card h3 {
    margin: 22px 0 10px;
    color: var(--brand-deep);
    font-size: 20px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.software-feature {
    background: var(--surface-soft);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
    align-items: center;
}

.image-panel {
    position: relative;
    padding: 70px 35px 45px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--brand-deep), #1249c6 62%, #18cce7);
    box-shadow: var(--shadow);
}

.panel-label {
    position: absolute;
    top: 24px;
    left: 28px;
    color: #c9f2ff;
    font-size: 11px;
    letter-spacing: .13em;
    font-weight: 900;
}

.image-panel picture {
    display: block;
}

.image-panel img {
    display: block;
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .22));
}

.feature-copy>p {
    margin-bottom: 30px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.feature-list>div {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e1edf2;
}

.feature-list>div>span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff8f2;
    color: #07816e;
    font-weight: 900;
}

.feature-list p {
    margin: 0;
}

.feature-list strong,
.feature-list small {
    display: block;
}

.feature-list strong {
    color: var(--brand-deep);
    font-size: 13px;
}

.feature-list small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
}

.inline-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
}

.text-link {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 14px;
}

.plans-section {
    background: #fff;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 24px 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(26, 73, 94, .05);
}

.plan-card.featured {
    border: 2px solid var(--brand);
    transform: translateY(-10px);
    box-shadow: 0 24px 55px rgba(25, 136, 187, .14);
}

.popular {
    position: absolute;
    top: -13px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.plan-kicker {
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
}

.plan-card h3 {
    margin: 8px 0 8px;
    font-size: 23px;
    color: var(--brand-deep);
}

.price {
    color: var(--brand-deep);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.price sup {
    font-size: 16px;
    vertical-align: super;
}

.price span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.plan-desc {
    min-height: 62px;
    color: var(--muted);
    font-size: 13px;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 26px;
    flex: 1;
}

.plan-card li {
    position: relative;
    padding: 7px 0 7px 22px;
    color: #475b65;
    font-size: 13px;
    border-bottom: 1px dashed #e6eff2;
}

.plan-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

.demo-section {
    padding-top: 60px;
}

.demo-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: center;
    padding: 56px;
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, #071f5a, #123fae 68%, #12aedd);
    box-shadow: 0 30px 70px rgba(7, 64, 90, .2);
}

.demo-card::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -170px;
    bottom: -220px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .07);
}

.demo-mascot {
    position: absolute;
    right: 1px;
    bottom: -14px;
    width: 158px;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 18px 20px rgba(4, 15, 48, .24));
}

.demo-mascot img {
    display: block;
    width: 100%;
    height: auto;
}

.demo-copy,
.demo-access {
    position: relative;
    z-index: 2;
}

.demo-copy h2 {
    color: #fff;
}

.demo-copy p {
    max-width: 600px;
    color: #d2eaf4;
}

.demo-access {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px 18px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.demo-access span {
    color: #b9ddea;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
}

.demo-access strong {
    color: #fff;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.demo-access small {
    grid-column: 1 / -1;
    margin-top: 10px;
    color: #c7e2ec;
    font-size: 11px;
}

.process-section {
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-step {
    position: relative;
    padding: 28px;
    border-top: 3px solid #d9eef6;
    background: var(--surface-soft);
    border-radius: 0 0 18px 18px;
}

.process-step span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .15em;
}

.process-step h3 {
    margin: 16px 0 9px;
    color: var(--brand-deep);
    font-size: 18px;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.about-section {
    background: var(--surface-soft);
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.about-grid h2 {
    margin-top: 16px;
}

.about-copy p:first-child {
    margin-top: 0;
}

.about-copy p {
    font-size: 18px;
    line-height: 1.8;
}

.faq-section {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 21px 42px 21px 0;
    color: var(--brand-deep);
    font-size: 16px;
    font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 18px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    margin: 0 45px 22px 0;
    color: var(--muted);
    font-size: 14px;
}

.mascot-help {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 18px 16px 10px;
    border: 1px solid #d8e9ff;
    border-radius: 20px;
    background: linear-gradient(135deg, #f7fbff, #edf7ff);
    box-shadow: 0 14px 32px rgba(18, 72, 160, .07);
    overflow: hidden;
}

.mascot-help-image {
    height: 138px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.mascot-help-image img {
    width: 126px;
    max-width: none;
    transform: translateY(-6px);
    filter: drop-shadow(0 9px 10px rgba(7, 31, 90, .10));
}

.mascot-help strong,
.mascot-help span,
.mascot-help a {
    display: block;
}

.mascot-help strong {
    color: var(--brand-deep);
    font-size: 14px;
}

.mascot-help span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.mascot-help a {
    margin-top: 8px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
}

.contact-section {
    padding-top: 50px;
}

.contact-shell {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    padding: 60px;
    border-radius: 30px;
    background: var(--brand-deep);
    color: #fff;
}

.contact-intro h2 {
    color: #fff;
}

.contact-intro p {
    color: #cfe6ef;
}

.contact-data {
    display: grid;
    align-content: center;
    gap: 10px;
}

.contact-data>a,
.contact-data>div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
}

.contact-data span {
    color: #9fc9d9;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .11em;
}

.contact-data strong {
    color: #fff;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.contact-data a:hover {
    background: rgba(255, 255, 255, .09);
}

.contact-mascot {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    max-width: 520px;
    padding: 14px 18px 14px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

.contact-mascot-image {
    height: 118px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.contact-mascot-image img {
    width: 112px;
    max-width: none;
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .22));
}

.contact-mascot-copy strong,
.contact-mascot-copy span {
    display: block;
}

.contact-mascot-copy strong {
    color: #fff;
    font-size: 14px;
}

.contact-mascot-copy span {
    margin-top: 4px;
    color: #cfe6ef;
    font-size: 12px;
    line-height: 1.5;
}

.site-footer {
    margin-top: 96px;
    padding: 55px 0 22px;
    border-top: 1px solid var(--line);
    background: #fbfdfe;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr;
    gap: 60px;
}

.footer-brand picture {
    display: block;
}

.footer-brand img {
    width: 260px;
    height: auto;
}

.footer-brand p {
    max-width: 450px;
    color: #445861;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links strong {
    margin-bottom: 5px;
    color: var(--brand-deep);
    font-size: 13px;
}

.footer-links a {
    color: #445861;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: #4d6069;
    font-size: 11px;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #08783f;
    box-shadow: 0 14px 30px rgba(8, 120, 63, .25);
    font-weight: 900;
    font-size: 12px;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

@media (max-width:1080px) {
    .brand img {
        width: 225px;
    }

    .main-nav>a {
        padding: 9px 8px;
        font-size: 13px;
    }

    .hero-grid,
    .feature-grid {
        gap: 42px;
    }

    .mascot-hero {
        width: 180px;
        right: -18px;
    }

    .demo-mascot {
        width: 138px;
        right: 16px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-card.featured {
        transform: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:900px) {
    html {
        scroll-padding-top: 76px;
    }

    .section-pad {
        padding: 38px 0;
    }

    main>.section-pad+.section-pad {
        padding-top: 12px;
    }

    .header-inner {
        min-height: 74px;
    }

    .brand img {
        width: 205px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav>a {
        width: 100%;
        padding: 12px 14px;
    }

    .main-nav .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid,
    .feature-grid,
    .demo-card,
    .about-grid,
    .faq-grid,
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-copy {
        max-width: 760px;
    }

    .hero-visual {
        max-width: 680px;
        min-height: 500px;
        margin: 0 auto;
        padding-right: 82px;
    }

    .mascot-hero {
        width: 190px;
        right: -4px;
        bottom: -15px;
    }

    .demo-mascot {
        width: 140px;
        right: 14px;
        bottom: -10px;
    }

    .card-one {
        left: 8px;
    }

    .card-two {
        right: 8px;
    }

    .card-three {
        right: 28px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid>div:nth-child(2) {
        border-right: 0;
    }

    .trust-grid>div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-visual {
        order: 2;
    }

    .feature-copy {
        order: 1;
    }

    .about-grid,
    .faq-grid {
        gap: 35px;
    }

    .contact-shell {
        gap: 35px;
    }

    .contact-mascot {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width:620px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section-pad {
        padding: 32px 0;
    }

    main>.section-pad+.section-pad {
        padding-top: 10px;
    }

    .brand img {
        width: 200px;
    }

    .hero {
        padding-top: 56px;
    }

    .hero h1 {
        font-size: clamp(39px, 12vw, 55px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-points {
        gap: 9px 14px;
    }

    .product-image-wrap {
        min-height: 270px;
        padding: 25px 10px;
    }

    .hero-visual {
        min-height: 455px;
        padding: 20px 42px 72px 0;
    }

    .mascot-hero {
        width: 148px;
        right: -5px;
        bottom: 0;
    }

    .demo-mascot {
        width: 122px;
        right: 12px;
        bottom: -8px;
    }

    .float-card {
        min-width: 125px;
        padding: 10px 12px;
    }

    .card-one {
        top: 60px;
        left: -5px;
    }

    .card-two {
        top: 118px;
        right: 20px;
    }

    .card-three {
        left: 55px;
        bottom: 20px;
    }

    .trust-grid,
    .services-grid,
    .plans-grid,
    .process-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .trust-grid>div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid>div:last-child {
        border-bottom: 0;
    }

    .service-card {
        min-height: auto;
    }

    .image-panel {
        padding: 58px 18px 28px;
    }

    .inline-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .demo-card,
    .contact-shell {
        padding: 34px 24px;
    }

    .demo-access {
        grid-template-columns: 1fr;
    }

    .demo-access small {
        grid-column: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}

.advanced-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 8% 10%, rgba(25, 136, 187, .08), transparent 28%), radial-gradient(circle at 92% 85%, rgba(20, 184, 166, .08), transparent 25%), #fff;
}

.advanced-heading {
    max-width: 850px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.capability-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    min-height: 225px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    border-color: #abd5e5;
    box-shadow: 0 18px 45px rgba(15, 77, 103, .08);
}

.capability-card.capability-featured {
    border-color: #a8d8e9;
    background: linear-gradient(145deg, #f7fcfe, #eaf7fc);
}

.capability-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #fff;
    background: var(--brand-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.capability-featured .capability-icon {
    background: var(--brand);
}

.capability-kicker {
    display: block;
    margin-top: 2px;
    color: var(--brand);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
}

.capability-card h3 {
    margin: 7px 0 8px;
    color: var(--brand-deep);
    font-size: 20px;
    line-height: 1.2;
}

.capability-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.multibranch-panel {
    position: relative;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
    margin-top: 46px;
    padding: 50px;
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #052f47 0%, #07567b 54%, #1988bb 100%);
    box-shadow: 0 28px 65px rgba(7, 64, 90, .17);
}

.multibranch-panel::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -160px;
    top: -170px;
    border: 55px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
}

.multibranch-copy,
.branch-flow {
    position: relative;
    z-index: 2;
}

.multibranch-copy h3 {
    margin: 15px 0 14px;
    max-width: 520px;
    color: #fff;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.multibranch-copy p {
    margin: 0 0 25px;
    max-width: 570px;
    color: #cee6f0;
    font-size: 15px;
}

.branch-flow {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 22px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(9px);
}

.branch-central {
    width: min(260px, 78%);
    margin: 0 auto;
    padding: 17px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
}

.branch-central span,
.branch-central strong,
.branch-central small {
    display: block;
}

.branch-central span {
    color: #aee9f7;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .17em;
}

.branch-central strong {
    margin-top: 3px;
    font-size: 16px;
}

.branch-central small {
    margin-top: 2px;
    color: #bcd9e5;
    font-size: 10px;
}

.branch-lines {
    position: relative;
    width: 70%;
    height: 42px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.branch-lines::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, .28);
}

.branch-lines span {
    position: absolute;
    bottom: -8px;
    width: 15px;
    height: 15px;
    border: 3px solid #0b648b;
    border-radius: 50%;
    background: #fff;
}

.branch-lines span:first-child {
    left: -7px;
}

.branch-lines span:nth-child(2) {
    left: calc(50% - 7px);
}

.branch-lines span:last-child {
    right: -7px;
}

.branch-nodes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 13px;
}

.branch-nodes>div {
    padding: 14px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    background: rgba(5, 47, 71, .33);
}

.branch-nodes b {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    margin: 0 auto 7px;
    border-radius: 9px;
    color: var(--brand-deep);
    background: #fff;
    font-size: 10px;
}

.branch-nodes strong,
.branch-nodes small {
    display: block;
}

.branch-nodes strong {
    font-size: 11px;
}

.branch-nodes small {
    margin-top: 2px;
    color: #b8d8e4;
    font-size: 9px;
}

.branch-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.branch-tags span {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: #d7edf5;
    background: rgba(255, 255, 255, .07);
    font-size: 9px;
    font-weight: 800;
}

.plans-note {
    display: grid;
    grid-template-columns: minmax(220px, .9fr) 1fr auto;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    padding: 20px 22px;
    border: 1px solid #cfe3eb;
    border-radius: 17px;
    background: var(--surface-soft);
}

.plans-note strong {
    color: var(--brand-deep);
    font-size: 13px;
}

.plans-note span {
    color: var(--muted);
    font-size: 12px;
}

.plans-note a {
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width:1000px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .multibranch-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .plans-note {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .plans-note a {
        white-space: normal;
    }
}

@media (max-width:620px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .capability-card {
        min-height: auto;
        grid-template-columns: 46px 1fr;
        padding: 22px 18px;
    }

    .capability-icon {
        width: 46px;
        height: 46px;
    }

    .multibranch-panel {
        padding: 34px 20px;
    }

    .branch-flow {
        padding: 18px 12px;
    }

    .branch-lines {
        width: 76%;
    }

    .branch-nodes {
        gap: 6px;
    }

    .branch-nodes>div {
        padding: 12px 5px;
    }

    .branch-tags {
        gap: 5px;
    }
}

@media (max-width:480px) {
    .mascot-hero {
        width: 130px;
        right: -8px;
    }

    .float-card {
        min-width: 112px;
    }

    .mascot-help {
        grid-template-columns: 90px 1fr;
        padding-right: 12px;
    }

    .mascot-help-image {
        height: 105px;
    }

    .mascot-help-image img {
        width: 96px;
    }
}


/* =========================================================
       ARQUITECTURA DE MARCA: EDESSI / EDEFACTU / SOFTWARE A MEDIDA
    ========================================================== */
.solutions-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 7% 20%, rgba(18, 103, 242, .07), transparent 27%),
        radial-gradient(circle at 93% 80%, rgba(22, 207, 232, .07), transparent 24%),
        #fff;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(16, 55, 87, .08);
}

.solution-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -150px;
    top: -150px;
    border: 42px solid rgba(18, 103, 242, .05);
    border-radius: 50%;
    pointer-events: none;
}

.solution-product {
    border-color: #bcd8ff;
    background: linear-gradient(145deg, #ffffff 0%, #f2f8ff 100%);
}

.solution-custom {
    background: linear-gradient(145deg, #ffffff 0%, #f7fcfd 100%);
}

.solution-topline {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}

.solution-type {
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
}

.solution-status {
    padding: 6px 10px;
    border: 1px solid #d8e8ef;
    border-radius: 999px;
    color: #536b76;
    background: rgba(255, 255, 255, .72);
    font-size: 10px;
    font-weight: 800;
}

.solution-brand {
    position: relative;
    z-index: 2;
    color: var(--brand-deep);
    font-size: clamp(32px, 4vw, 47px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.04em;
}

.solution-product .solution-brand {
    color: var(--brand);
}

.solution-card h3 {
    position: relative;
    z-index: 2;
    margin: 16px 0 13px;
    color: var(--brand-deep);
    font-size: 22px;
    line-height: 1.28;
}

.solution-card>p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.solution-tags {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 28px;
}

.solution-tags span {
    padding: 7px 10px;
    border: 1px solid #dce9ef;
    border-radius: 999px;
    color: #46606c;
    background: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 800;
}

.solution-actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
}

.custom-software-section {
    background: var(--surface-soft);
}

.custom-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 24px 26px;
    border: 1px solid #d5e7ee;
    border-radius: 18px;
    background: #fff;
}

.custom-cta strong,
.custom-cta span {
    display: block;
}

.custom-cta strong {
    color: var(--brand-deep);
    font-size: 15px;
}

.custom-cta span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.product-lockup {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 14px 0 4px;
    padding: 12px 16px;
    border: 1px solid #cfe1ff;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #eef6ff);
}

.product-lockup strong {
    color: var(--brand);
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.03em;
}

.product-lockup small {
    margin-top: 5px;
    color: #60717b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width:900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
    }

    .custom-cta {
        grid-template-columns: 1fr;
    }

    .custom-cta .btn {
        justify-self: start;
    }
}

@media (max-width:620px) {
    .solution-card {
        padding: 26px 20px;
    }

    .solution-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .solution-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .solution-actions .btn {
        width: 100%;
    }

    .custom-cta .btn {
        width: 100%;
    }
}

/* =========================================================
   POLÍTICAS LEGALES - EDESSI
========================================================== */
.footer-grid {
    grid-template-columns: 1.35fr .65fr .65fr .85fr;
}

.footer-legal-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #445861;
    font: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease;
}

.footer-legal-btn:hover {
    color: var(--brand);
}

.legal-dialog {
    width: min(1000px, calc(100vw - 32px));
    max-width: none;
    max-height: 92vh;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 26px;
    background: #fff;
    color: var(--ink);
    overflow: hidden;
    box-shadow: 0 35px 100px rgba(5, 28, 74, .25), 0 10px 35px rgba(5, 28, 74, .10);
}

.legal-dialog::backdrop {
    background: rgba(3, 17, 46, .62);
    backdrop-filter: blur(5px);
}

.legal-dialog-shell {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    background: #fff;
}

.legal-dialog-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 0 0 auto;
    padding: 18px 22px;
    border-bottom: 1px solid #e7eef5;
    background: linear-gradient(135deg, #fff, #f4f9ff);
}

.legal-dialog-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
}

.legal-dialog-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.legal-dialog-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #10badc);
    box-shadow: 0 8px 20px rgba(18, 103, 242, .24);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
}

.legal-dialog-heading strong,
.legal-dialog-heading span {
    display: block;
}

.legal-dialog-heading strong {
    color: var(--brand-deep);
    font-size: 15px;
}

.legal-dialog-heading span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.legal-dialog-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border: 1px solid #dfe9f2;
    border-radius: 12px;
    background: #fff;
    color: #49606d;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.legal-dialog-close:hover {
    color: var(--brand);
    border-color: #bfd7f5;
    background: var(--brand-soft);
}

.legal-dialog-body {
    overflow: auto;
    overscroll-behavior: contain;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.policy-cover {
    position: relative;
    overflow: hidden;
    padding: 34px 40px 30px;
    text-align: center;
    border-bottom: 1px solid #e7eef5;
    background: radial-gradient(circle at 88% 0%, rgba(22, 207, 232, .10), transparent 28%), radial-gradient(circle at 8% 100%, rgba(18, 103, 242, .07), transparent 26%), #fff;
}

.policy-cover::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -140px;
    top: -250px;
    border: 1px solid rgba(18, 103, 242, .10);
    border-radius: 50%;
}

.policy-logo-box {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 14px 24px;
    border: 1px solid #dfebf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 62, 112, .08);
}

.policy-logo-box img {
    display: block;
    width: 285px;
    max-width: min(72vw, 285px);
    height: auto;
}

.policy-heading {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.policy-heading h2 {
    margin: 0 0 10px;
    color: var(--brand-deep);
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.38;
    letter-spacing: -.02em;
}

.policy-heading>p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.policy-date {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #49617f;
    background: #f0f6fc;
    font-size: 11px;
}

.policy-content {
    padding: 34px 44px 30px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h3 {
    position: relative;
    margin: 0 0 13px;
    padding-left: 14px;
    color: #0b3d8b;
    font-size: 14px;
    line-height: 1.45;
}

.policy-section h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 4px;
    height: 19px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
}

.policy-section p {
    margin: 0 0 10px;
    color: #475b65;
    font-size: 13px;
    line-height: 1.82;
    text-align: justify;
}

.policy-section p a,
.policy-note a {
    color: var(--brand-dark);
    font-weight: 700;
}

.policy-section ul {
    list-style: none;
    margin: 10px 0 14px;
    padding: 0;
}

.policy-section li {
    position: relative;
    margin-bottom: 7px;
    padding-left: 20px;
    color: #475b65;
    font-size: 13px;
    line-height: 1.65;
}

.policy-section li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
}

.policy-section strong {
    color: #263e59;
}

.policy-emphasis {
    padding: 12px 14px;
    border: 1px solid #d9e8f7;
    border-left: 4px solid var(--brand);
    border-radius: 10px;
    background: #f5f9ff;
}

.legal-dialog-footer {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
    padding: 14px 22px;
    border-top: 1px solid #e7eef5;
    background: #f7faff;
}

.legal-dialog-ok {
    min-width: 130px;
    height: 42px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(100deg, var(--brand), var(--brand-dark));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(18, 103, 242, .20);
}

.legal-dialog-ok:hover {
    filter: brightness(.97);
}

@media(max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:620px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .legal-dialog {
        width: calc(100vw - 18px);
        max-height: 95vh;
        border-radius: 18px;
    }

    .legal-dialog-shell {
        max-height: 95vh;
    }

    .legal-dialog-header {
        padding: 15px 16px;
    }

    .legal-dialog-heading span {
        display: none;
    }

    .policy-cover {
        padding: 28px 18px 24px;
    }

    .policy-logo-box {
        padding: 12px 18px;
    }

    .policy-logo-box img {
        width: 230px;
    }

    .policy-content {
        padding: 26px 20px 24px;
    }

    .policy-section p {
        text-align: left;
    }

    .legal-dialog-footer {
        padding: 12px 16px;
    }

    .legal-dialog-ok {
        width: 100%;
    }
}

/* ============================================================
   EDESSI MULTIPÁGINA V3
   EDESSI = marca desarrolladora | EdeFactu = producto
   ============================================================ */
:root {
    --navy: #061f5b;
    --navy-2: #0b337c;
    --cyan: #10cfe7;
    --blue: #1267f2;
    --blue-2: #1e46e8;
    --ice: #f4faff;
}

body {
    overflow-x: hidden
}

.brand img {
    width: 285px;
    height: auto;
    display: block;
    object-fit: contain
}

.footer-brand img {
    width: 290px;
    height: auto;
    display: block;
    object-fit: contain
}

.site-header {
    box-shadow: 0 8px 30px rgba(16, 48, 93, .035)
}

.main-nav .nav-subtle {
    color: var(--muted);
    font-size: 13px
}

/* Corporate hero */
.corp-hero .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr)
}

.corp-visual-card {
    position: relative;
    min-height: 520px;
    border-radius: 34px;
    background: linear-gradient(145deg, #071f5a 0%, #0b55a2 58%, #15cde5 120%);
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(7, 31, 90, .23)
}

.corp-visual-card:before, .corp-visual-card:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14)
}

.corp-visual-card:before {
    width: 440px;
    height: 440px;
    right: -190px;
    top: -160px
}

.corp-visual-card:after {
    width: 310px;
    height: 310px;
    left: -150px;
    bottom: -150px
}

.corp-visual-copy {
    position: absolute;
    left: 34px;
    top: 34px;
    right: 34px;
    color: #fff;
    z-index: 2
}

.corp-visual-copy span {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #9ff6ff;
    margin-bottom: 12px
}

.corp-visual-copy strong {
    font-size: 30px;
    line-height: 1.13;
    max-width: 400px;
    display: block;
    letter-spacing: -.03em
}

.corp-visual-card .mascot-hero {
  
    bottom: -12px;
    width: 238px;
    filter: drop-shadow(0 26px 32px rgba(0, 0, 0, .22))
}

.corp-stack {
    position: absolute;
    left: 32px;
    bottom: 32px;
    width: 58%;
    display: grid;
    gap: 10px;
    z-index: 3
}

.corp-stack div {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .20);
    background: rgba(255, 255, 255, .11);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    color: #fff
}

.corp-stack strong, .corp-stack span {
    display: block
}

.corp-stack strong {
    font-size: 13px
}

.corp-stack span {
    font-size: 11px;
    color: #d9f6ff;
    margin-top: 2px
}

/* Product collection */
.products-section {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%)
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 18px
}

.product-card {
    position: relative;
    min-height: 390px;
    padding: 28px;
    border: 1px solid #d8e8f1;
    border-radius: 26px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 46px rgba(17, 67, 103, .06);
    display: flex;
    flex-direction: column
}

.product-card:before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    right: -80px;
    top: -105px;
    background: rgba(20, 104, 242, .055)
}

.product-card.product-primary {
    border-color: #b9d9ff;
    background: linear-gradient(150deg, #fff 0%, #f5faff 100%)
}

.product-card.service-card {
    background: linear-gradient(150deg, #fff 0%, #f8fcfe 100%)
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 2
}

.product-type {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    color: var(--brand);
    text-transform: uppercase
}

.product-status {
    font-size: 10px;
    font-weight: 800;
    border: 1px solid #d7e4e9;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff
}

.product-logo {
    margin: 25px 0 18px;
    min-height: 82px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2
}

.product-logo img {
    width: min(100%, 360px);
    max-height: 95px;
    object-fit: contain;
    object-position: left center
}

.product-card h3 {
    font-size: 26px;
    line-height: 1.15;
    color: var(--brand-deep);
    margin: 0 0 12px;
    letter-spacing: -.025em;
    position: relative;
    z-index: 2
}

.product-card>p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    position: relative;
    z-index: 2
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    position: relative;
    z-index: 2
}

.product-tags span {
    padding: 6px 9px;
    border: 1px solid #d9e6ec;
    border-radius: 999px;
    background: #fff;
    color: #29404c;
    font-size: 10px;
    font-weight: 800
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
    position: relative;
    z-index: 2
}

.service-wordmark {
    font-size: 34px;
    font-weight: 900;
    color: var(--brand-deep);
    letter-spacing: -.045em
}

.future-ready-note {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #edf7ff;
    border: 1px solid #d4ebff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #365264;
    font-size: 13px
}

.future-ready-note strong {
    color: var(--brand-deep)
}

/* Corporate pillars */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px
}

.pillar-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff
}

.pillar-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
    color: white;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: 18px
}

.pillar-card h3 {
    margin: 0 0 8px;
    color: var(--brand-deep);
    font-size: 19px
}

.pillar-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px
}

/* Product site navigation */
.product-site-header {
    background: rgba(255, 255, 255, .97)
}

.product-nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 350px;
    flex: 0 0 auto
}

.product-nav-brand img {
    width: 255px;
    max-height: 68px;
    object-fit: contain;
    object-position: left center
}

.product-nav-brand small {
    padding-left: 16px;
    border-left: 1px solid var(--line);
    font-size: 10px;
    color: var(--muted);
    line-height: 1.35;
    max-width: 95px
}

.back-edessi {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    color: #315067
}

/* EdeFactu hero */
.product-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%)
}

.product-hero:before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 207, 232, .18), transparent 69%);
    right: -170px;
    top: -220px
}

.product-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(520px, 1.07fr);
    gap: 52px;
    align-items: center;
    position: relative;
    z-index: 2
}

.product-hero-logo {
    width: min(100%, 640px);
    margin-bottom: 18px
}

.product-hero-logo img {
    display: block;
    width: 100%;
    height: auto
}

.product-hero-copy h1 {
    font-size: clamp(40px, 5vw, 70px);
    line-height: .98;
    letter-spacing: -.055em;
    color: var(--brand-deep);
    margin: 0 0 22px
}

.product-hero-copy>p {
    font-size: 16px;
    color: #506774;
    margin: 0 0 26px;
    max-width: 650px
}

.product-proof {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px
}

.product-proof span {
    padding: 7px 10px;
    border: 1px solid #d7e8f1;
    border-radius: 999px;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    color: #365160
}

.product-hero-shot {
    position: relative;
    padding: 18px;
    border-radius: 28px;
    background: linear-gradient(145deg, #0b2a70, #105aa8 62%, #16cfe8);
    box-shadow: 0 32px 75px rgba(7, 37, 98, .23)
}

.product-hero-shot:before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 21px;
    border: 1px solid rgba(255, 255, 255, .15);
    pointer-events: none
}

.screen-frame {
    position: relative;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(2, 20, 55, .23)
}

.screen-frame-bar {
    height: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: #f0f5f8;
    border-bottom: 1px solid #e2eaee
}

.screen-frame-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9d6db
}

.screen-frame-bar span:nth-child(1) {
    background: #ff6b6b
}

.screen-frame-bar span:nth-child(2) {
    background: #ffd05c
}

.screen-frame-bar span:nth-child(3) {
    background: #54d98c
}

.screen-frame img {
    display: block;
    width: 100%;
    height: auto
}

.shot-note {
    position: absolute;
    right: 28px;
    bottom: -17px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dce9ef;
    box-shadow: 0 13px 34px rgba(16, 65, 105, .14);
    font-size: 11px;
    color: #42606e
}

.shot-note strong {
    display: block;
    color: var(--brand-deep);
    font-size: 12px
}

/* product intro */
.product-intro {
    background: #fff
}

.product-intro-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
    align-items: start
}

.big-stat {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(145deg, #071f5a, #1267f2);
    color: #fff
}

.big-stat strong {
    display: block;
    font-size: 54px;
    line-height: 1
}

.big-stat span {
    display: block;
    font-size: 13px;
    margin-top: 9px;
    color: #dff8ff
}

.intro-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.intro-list div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.intro-list strong {
    display: block;
    color: var(--brand-deep);
    font-size: 13px
}

.intro-list span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px
}

/* module/story sections */
.module-story {
    background: #f8fbfd
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 18px
}

.story-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(24, 71, 105, .055);
    display: flex;
    flex-direction: column
}

.story-media {
    padding: 12px;
    background: linear-gradient(180deg, #f4f9fc, #fff);
    border-bottom: 1px solid var(--line)
}

.story-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px
}

.story-copy {
    padding: 22px 24px 25px
}

.story-kicker {
    font-size: 9px;
    letter-spacing: .17em;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--brand)
}

.story-copy h3 {
    font-size: 22px;
    line-height: 1.16;
    color: var(--brand-deep);
    margin: 7px 0 9px
}

.story-copy p {
    font-size: 12.5px;
    color: var(--muted);
    margin: 0
}

.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 15px
}

.story-tags span {
    font-size: 9px;
    font-weight: 800;
    border: 1px solid #d9e7ee;
    border-radius: 999px;
    padding: 5px 8px;
    background: #fff
}

/* All captures gallery */
.gallery-section {
    background: #fff
}

.capture-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px
}

.capture-toolbar p {
    max-width: 650px
}

.capture-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.capture-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    transition: .2s ease;
    cursor: zoom-in
}

.capture-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(21, 75, 112, .10);
    border-color: #b9d9ed
}

.capture-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #eef5f8
}

.capture-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block
}

.capture-info {
    padding: 13px 14px
}

.capture-info strong {
    display: block;
    color: var(--brand-deep);
    font-size: 12px
}

.capture-info span {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px
}

.screen-lightbox {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(94vw, 1320px);
    width: 100%
}

.screen-lightbox::backdrop {
    background: rgba(2, 17, 43, .82);
    backdrop-filter: blur(4px)
}

.lightbox-shell {
    position: relative;
    border-radius: 20px;
    background: #fff;
    padding: 11px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .4)
}

.lightbox-shell img {
    display: block;
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 12px
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 50%;
    background: rgba(6, 31, 91, .92);
    color: #fff;
    font-size: 22px;
    cursor: pointer
}

/* Feature groups */
.feature-groups {
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%)
}

.feature-group-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    margin-top: 18px
}

.feature-group-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff
}

.feature-group-card b {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-deep);
    color: #fff;
    font-size: 10px;
    letter-spacing: .08em;
    margin-bottom: 16px
}

.feature-group-card h3 {
    font-size: 18px;
    color: var(--brand-deep);
    margin: 0 0 10px
}

.feature-group-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 12px
}

.feature-group-card li+li {
    margin-top: 5px
}

/* Multisucursal highlight */
.multi-product-band {
    background: #fff
}

.multi-product-shell {
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    gap: 30px;
    border-radius: 30px;
    padding: 38px;
    background: linear-gradient(135deg, #064462, #0e5f8a 58%, #1789bd);
    color: #fff;
    overflow: hidden;
    position: relative
}

.multi-product-shell:after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    right: -170px;
    top: -200px;
    border: 40px solid rgba(255, 255, 255, .055)
}

.multi-product-copy {
    position: relative;
    z-index: 2
}

.multi-product-copy h2 {
    font-size: 34px;
    line-height: 1.08;
    margin: 9px 0 13px
}

.multi-product-copy p {
    font-size: 13px;
    color: #e5f7ff
}

.multi-diagram {
    position: relative;
    z-index: 2;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08)
}

.central-node {
    width: 46%;
    margin: 0 auto 28px;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    text-align: center
}

.central-node strong, .central-node span {
    display: block
}

.central-node strong {
    font-size: 13px
}

.central-node span {
    font-size: 9px;
    color: #cdefff
}

.branch-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.branch-node {
    padding: 15px 8px;
    border-radius: 12px;
    text-align: center;
    background: rgba(0, 31, 71, .32);
    border: 1px solid rgba(255, 255, 255, .12)
}

.branch-node b {
    display: grid;
    place-items: center;
    margin: 0 auto 7px;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: #fff;
    color: #0a4c6d;
    font-size: 8px
}

.branch-node strong {
    display: block;
    font-size: 10px
}

.branch-node span {
    display: block;
    font-size: 8px;
    color: #c9edfa;
    margin-top: 3px
}

.diagram-tags {
    display: flex;
    gap: 7px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px
}

.diagram-tags span {
    font-size: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13)
}

/* Service page */
.service-hero {
    background: linear-gradient(180deg, #f6fbff, #fff)
}

.service-hero-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 55px;
    align-items: center
}

.service-visual {
    min-height: 480px;
    border-radius: 30px;
    background: linear-gradient(145deg, #071f5a, #1267f2 70%, #16cfe8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 27px 65px rgba(7, 31, 90, .20)
}

.service-flow {
    position: absolute;
    inset: 40px;
    display: grid;
    gap: 12px;
    align-content: center
}

.service-flow div {
    padding: 17px 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(9px)
}

.service-flow strong {
    display: block;
    font-size: 13px
}

.service-flow span {
    display: block;
    color: #d7f7ff;
    font-size: 10px;
    margin-top: 3px
}

.service-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-top: 18px
}

.service-process-card {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff
}

.service-process-card b {
    display: block;
    color: var(--brand);
    font-size: 11px;
    letter-spacing: .12em
}

.service-process-card h3 {
    font-size: 17px;
    color: var(--brand-deep);
    margin: 9px 0 6px
}

.service-process-card p {
    font-size: 11.5px;
    color: var(--muted);
    margin: 0
}

/* Breadcrumb + product footer adjustments */
.breadcrumb {
    padding: 12px 0 0;
    font-size: 11px;
    color: #60717b
}

.breadcrumb a {
    color: var(--brand);
    font-weight: 800
}

.product-footer-note {
    font-size: 11px;
    color: #91a8b4;
    margin-top: 8px
}

.site-footer.dark-product {
    background: #061f5b
}

.site-footer.dark-product .footer-links strong {
    color: #fff
}

.site-footer.dark-product .footer-links a, .site-footer.dark-product .footer-brand p, .site-footer.dark-product .footer-bottom {
    color: #bcd2df
}

.site-footer.dark-product .footer-legal-btn {
    color: #bcd2df
}

@media(max-width:1080px) {
    .corp-hero .hero-grid, .product-hero-grid, .service-hero-grid {
        grid-template-columns: 1fr
    }

    .corp-visual-card {
        min-height: 480px
    }

    .product-hero-shot {
        max-width: 830px
    }

    .products-grid {
        grid-template-columns: 1fr
    }

    .product-intro-grid, .multi-product-shell {
        grid-template-columns: 1fr
    }

    .capture-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .feature-group-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .service-process-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .brand img {
        width: 220px
    }

    .product-nav-brand {
        min-width: auto
    }

    .product-nav-brand img {
        width: 220px;
        max-height: 58px
    }

    .product-nav-brand small {
        display: none
    }

    .corp-visual-card {
        min-height: 500px
    }

    .corp-visual-copy {
        left: 24px;
        top: 25px
    }

    .corp-visual-copy strong {
        font-size: 25px
    }

    .corp-stack {
        left: 20px;
        bottom: 20px;
        width: 65%
    }

    .corp-visual-card .mascot-hero {
        right: 10px;
        width: 180px
    }

    .product-hero-grid {
        gap: 30px
    }

    .product-hero-shot {
        padding: 10px;
        border-radius: 21px
    }

    .shot-note {
        display: none
    }

    .product-intro-grid {
        gap: 26px
    }

    .intro-list {
        grid-template-columns: 1fr
    }

    .story-grid, .capture-grid, .feature-group-grid {
        grid-template-columns: 1fr
    }

    .multi-product-shell {
        padding: 25px
    }

    .branch-row {
        grid-template-columns: 1fr
    }

    .central-node {
        width: 100%
    }

    .service-process-grid {
        grid-template-columns: 1fr
    }

    .product-card {
        padding: 23px
    }

    .future-ready-note {
        align-items: flex-start;
        flex-direction: column
    }
}