/* CONTABILIS — páginas de producto/subproducto. Mantiene la dirección visual Flujo. */
.product-page {
    --p-bg: #fbfdff;
    --p-ink: #15223c;
    --p-muted: #65748b;
    --p-line: #dbe5f3;
    --p-blue: #2f6fed;
    --p-blue-soft: #eef4ff;
    background: var(--p-bg);
}

.product-page .site-header {
    background: rgba(251, 253, 255, .92);
}

.product-breadcrumb {
    padding: 30px 0 0;
    color: #77869b;
    font-size: 13px;
}
.product-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.product-breadcrumb li + li::before { content: '/'; color: #b0bac8; }
.product-breadcrumb a { color: #53627a; text-decoration: none; }
.product-breadcrumb a:hover { color: var(--p-blue); }
.product-breadcrumb [aria-current="page"] { color: #7e8999; }

.product-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 74px;
    background:
        radial-gradient(circle at 88% 16%, rgba(47,111,237,.10), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 88%);
}
.product-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dfe8f4 18%, #dfe8f4 82%, transparent);
}
.product-hero__copy { max-width: 970px; }
.product-kicker {
    margin: 0 0 18px;
    color: var(--p-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.product-hero h1 {
    max-width: 980px;
    margin: 0;
    color: var(--p-ink);
    font-size: clamp(52px, 5.7vw, 80px);
    line-height: .99;
    letter-spacing: -.062em;
    text-wrap: balance;
}
.product-hero h1 em { color: var(--p-blue); font-style: normal; }
.product-hero__lead {
    max-width: 810px;
    margin: 28px 0 0;
    color: #5f6e84;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.58;
}
.product-hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.product-text-link { color: var(--p-ink); font-weight: 800; text-decoration: none; }
.product-text-link:hover { color: var(--p-blue); }

.product-flow {
    position: relative;
    margin-top: 58px;
    padding: 28px 30px 30px;
    overflow: hidden;
    border: 1px solid #d8e4f4;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(239,245,255,.95), rgba(255,255,255,.98));
    box-shadow: 0 24px 70px rgba(47,111,237,.08);
}
.product-flow::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    right: -120px;
    top: -165px;
    border: 1px solid rgba(47,111,237,.10);
    border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(47,111,237,.025);
}
.product-flow__eyebrow {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    color: #7b8aa0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.product-flow__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.product-flow__steps::before {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    top: 13px;
    height: 1px;
    background: linear-gradient(90deg, #9ab8f5, #d6e3f8);
}
.product-flow__steps article { position: relative; padding-top: 34px; }
.product-flow__steps article::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border: 4px solid #f2f6ff;
    border-radius: 50%;
    background: var(--p-blue);
    box-shadow: 0 0 0 1px #7fa5f5;
}
.product-flow__steps span { display: block; color: #8b98aa; font-size: 10px; font-weight: 800; letter-spacing: .10em; }
.product-flow__steps strong { display: block; margin-top: 6px; color: var(--p-ink); font-size: 18px; letter-spacing: -.025em; }
.product-flow__steps small { display: block; max-width: 180px; margin-top: 5px; color: #738198; font-size: 12px; line-height: 1.55; }

.product-section { padding: 112px 0; }
.product-section--tint { background: linear-gradient(180deg, #eef5ff 0%, #f7faff 100%); }
.product-section--soft { background: #f5f8fc; }
.product-section__head {
    display: grid;
    grid-template-columns: 1.05fr .75fr;
    gap: 88px;
    align-items: end;
    margin-bottom: 62px;
}
.product-section__head h2 {
    margin: 0;
    color: var(--p-ink);
    font-size: clamp(40px, 4.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -.052em;
    text-wrap: balance;
}
.product-section__head > p {
    max-width: 520px;
    margin: 0 0 5px;
    color: var(--p-muted);
    font-size: 17px;
    line-height: 1.72;
}

.product-lines { border-top: 1px solid var(--p-line); }
.product-line {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.35fr);
    gap: 58px;
    padding: 34px 0 38px;
    border-bottom: 1px solid var(--p-line);
}
.product-line__label { color: var(--p-ink); font-size: 19px; font-weight: 780; letter-spacing: -.025em; }
.product-line__copy h3 { margin: 0; color: var(--p-ink); font-size: 27px; line-height: 1.18; letter-spacing: -.035em; }
.product-line__copy p { max-width: 760px; margin: 12px 0 0; color: var(--p-muted); font-size: 16px; line-height: 1.72; }
.product-line__copy ul { margin: 16px 0 0; padding-left: 20px; color: #59687f; }
.product-line__copy li + li { margin-top: 7px; }

.product-sequence {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid #d8e4f4;
    border-radius: 24px;
    background: #d8e4f4;
}
.product-sequence article { min-height: 230px; padding: 28px; background: rgba(255,255,255,.96); }
.product-sequence b { display: block; color: #96a4b8; font-size: 11px; letter-spacing: .12em; }
.product-sequence h3 { margin: 34px 0 0; color: var(--p-ink); font-size: 24px; line-height: 1.16; letter-spacing: -.035em; }
.product-sequence p { margin: 11px 0 0; color: var(--p-muted); font-size: 14px; line-height: 1.65; }

.product-connection {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 76px;
    align-items: start;
}
.product-connection__intro h2 {
    margin: 0;
    color: var(--p-ink);
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.052em;
}
.product-connection__intro p { margin: 22px 0 0; color: var(--p-muted); font-size: 17px; line-height: 1.72; }
.product-connection__list { border-top: 1px solid var(--p-line); }
.product-connection__list a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--p-line);
    color: var(--p-ink);
    text-decoration: none;
}
.product-connection__list a:hover { color: var(--p-blue); }
.product-connection__list strong { font-size: 18px; letter-spacing: -.025em; }
.product-connection__list span { color: #88a0c7; }
.product-connection__list small { grid-column: 1; color: var(--p-muted); font-size: 13px; line-height: 1.55; }

.product-answer-list { border-top: 1px solid var(--p-line); }
.product-answer {
    display: grid;
    grid-template-columns: .8fr 1.35fr;
    gap: 60px;
    padding: 30px 0;
    border-bottom: 1px solid var(--p-line);
}
.product-answer h3 { margin: 0; color: var(--p-ink); font-size: 21px; line-height: 1.35; letter-spacing: -.025em; }
.product-answer p { margin: 0; color: var(--p-muted); font-size: 15px; line-height: 1.72; }

.product-index-list { border-top: 1px solid var(--p-line); }
.product-index-link {
    display: grid;
    grid-template-columns: 70px minmax(220px, .75fr) minmax(0, 1.25fr) auto;
    gap: 26px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--p-line);
    color: var(--p-ink);
    text-decoration: none;
}
.product-index-link:hover { color: var(--p-blue); }
.product-index-link b { color: #9aa8ba; font-size: 11px; letter-spacing: .12em; }
.product-index-link strong { font-size: 22px; letter-spacing: -.03em; }
.product-index-link span { color: var(--p-muted); font-size: 14px; line-height: 1.55; }
.product-index-link i { color: #93a8cc; font-style: normal; font-size: 19px; }
.product-index-link--planned { cursor: default; }
.product-index-link--planned:hover { color: var(--p-ink); }
.product-index-link--planned i { color: #b7c1cf; font-size: 11px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }

.product-cta {
    position: relative;
    overflow: hidden;
    padding: 100px 0 108px;
    background: linear-gradient(135deg, #edf4ff 0%, #f9fbff 60%, #eef5ff 100%);
}
.product-cta::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    right: -190px;
    top: -270px;
    border: 1px solid rgba(47,111,237,.10);
    border-radius: 50%;
    box-shadow: 0 0 0 72px rgba(47,111,237,.025);
}
.product-cta__inner { position: relative; z-index: 1; max-width: 930px; }
.product-cta h2 { margin: 0; color: var(--p-ink); font-size: clamp(44px, 5.2vw, 70px); line-height: .99; letter-spacing: -.06em; }
.product-cta p { max-width: 680px; margin: 24px 0 0; color: var(--p-muted); font-size: 18px; line-height: 1.68; }
.product-cta__actions { display: flex; align-items: center; gap: 24px; margin-top: 30px; }

@media (max-width: 920px) {
    .product-hero { padding-top: 46px; }
    .product-section__head,
    .product-connection { grid-template-columns: 1fr; gap: 30px; }
    .product-flow__steps { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
    .product-flow__steps::before { display: none; }
    .product-flow__steps article { padding-top: 20px; }
    .product-flow__steps article::before { top: 0; }
    .product-line { grid-template-columns: 1fr; gap: 16px; }
    .product-sequence { grid-template-columns: repeat(2, 1fr); }
    .product-answer { grid-template-columns: 1fr; gap: 12px; }
    .product-index-link { grid-template-columns: 48px 1fr auto; }
    .product-index-link span { grid-column: 2 / 4; }
}

@media (max-width: 620px) {
    .product-breadcrumb { padding-top: 20px; }
    .product-hero { padding: 40px 0 58px; }
    .product-hero h1 { font-size: 44px; }
    .product-hero__lead { font-size: 18px; }
    .product-hero__actions,
    .product-cta__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .product-flow { margin-top: 42px; padding: 22px; border-radius: 20px; }
    .product-flow__eyebrow { flex-direction: column; gap: 5px; }
    .product-flow__steps { grid-template-columns: 1fr; gap: 22px; }
    .product-section { padding: 82px 0; }
    .product-section__head { margin-bottom: 42px; }
    .product-section__head h2,
    .product-connection__intro h2 { font-size: 39px; }
    .product-sequence { grid-template-columns: 1fr; }
    .product-sequence article { min-height: 0; }
    .product-index-link { grid-template-columns: 38px 1fr auto; gap: 14px; }
    .product-index-link strong { font-size: 18px; }
    .product-index-link span { grid-column: 2 / 4; }
    .product-cta { padding: 82px 0 88px; }
    .product-cta h2 { font-size: 46px; }
}

/* Product evidence — real CONTABILIS UI, sanitized for public use. */
.product-proof {
    padding: 12px 0 38px;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.product-proof__frame {
    margin: 0;
    overflow: hidden;
    border: 1px solid #d8e3f1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(21,34,60,.10);
}
.product-proof__chrome {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border-bottom: 1px solid #e4eaf2;
    background: #f8fafc;
}
.product-proof__chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c8d1df;
}
.product-proof__chrome b {
    margin-left: 8px;
    color: #75839a;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.product-proof__frame img {
    width: 100%;
    height: auto;
    background: #fff;
}
.product-proof__frame figcaption {
    padding: 14px 18px 16px;
    border-top: 1px solid #e7edf5;
    color: #6f7d91;
    font-size: 13px;
}
@media (max-width: 620px) {
    .product-proof { padding-bottom: 8px; }
    .product-proof__frame { border-radius: 16px; }
    .product-proof__chrome { min-height: 36px; }
    .product-proof__frame img { min-height: 250px; object-fit: cover; object-position: left top; }
}

/* Mature in-page navigation for long commercial landings. */
.product-local-nav {
    position: sticky;
    top: 76px;
    z-index: 45;
    border-top: 1px solid #e5ebf3;
    border-bottom: 1px solid #dde5ef;
    background: rgba(255,255,255,.94);
}
.product-local-nav__inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
}
.product-local-nav__inner::-webkit-scrollbar { display: none; }
.product-local-nav__inner span {
    flex: 0 0 auto;
    color: #8a98aa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.product-local-nav__inner a {
    flex: 0 0 auto;
    color: #415069;
    font-size: 13px;
    font-weight: 720;
    text-decoration: none;
}
.product-local-nav__inner a:hover { color: var(--p-blue); }
.product-section[id] { scroll-margin-top: 148px; }
@media (max-width: 1060px) {
    .product-local-nav { top: 68px; }
}
@media (max-width: 620px) {
    .product-local-nav__inner { gap: 20px; }
    .product-local-nav__inner span { display: none; }
}

/* Commercial lead capture — autonomous from the application runtime. */
.lead-section { padding: 108px 0; background: linear-gradient(180deg,#eef5ff 0%,#f8fbff 100%); }
.lead-section__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 82px; align-items: start; }
.lead-section__intro h2 { margin: 0; color: var(--p-ink); font-size: clamp(46px,5vw,66px); line-height: 1.02; letter-spacing: -.052em; text-wrap: balance; }
.lead-section__intro > p:not(.product-kicker) { max-width: 520px; margin: 24px 0 0; color: var(--p-muted); font-size: 17px; line-height: 1.72; }
.lead-section__notes { display: grid; gap: 12px; margin-top: 34px; }
.lead-section__notes span { position: relative; padding-left: 20px; color: #4f5f78; font-size: 14px; }
.lead-section__notes span::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--p-blue); box-shadow: 0 0 0 5px rgba(47,111,237,.08); }
.lead-card { padding: 30px; border: 1px solid #d7e3f3; border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(21,34,60,.09); }
.lead-form { display: grid; gap: 18px; }
.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form label { display: grid; gap: 7px; color: #33415a; font-size: 13px; font-weight: 750; }
.lead-form label > span small { color: #8d99aa; font-weight: 500; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #ced8e6; border-radius: 11px; color: var(--p-ink); background: #fff; outline: none; }
.lead-form textarea { min-height: 112px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: #76a0f6; box-shadow: 0 0 0 4px rgba(47,111,237,.10); }
.lead-form .button { justify-self: start; border: 0; cursor: pointer; }
.lead-form__privacy { margin: -2px 0 0; color: #8995a7; font-size: 11px; line-height: 1.5; }
.lead-form__trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.lead-status { display: grid; gap: 4px; margin-bottom: 20px; padding: 14px 16px; border: 1px solid #f0d6d3; border-radius: 12px; color: #783b34; background: #fff7f5; }
.lead-status--success { border-color: #cce6d5; color: #285b3b; background: #f3fbf6; }
.lead-status strong { font-size: 14px; }
.lead-status span { font-size: 12px; }
@media (max-width: 920px) { .lead-section__grid { grid-template-columns: 1fr; gap: 42px; } }
@media (max-width: 620px) { .lead-section { padding: 82px 0; } .lead-card { padding: 20px; border-radius: 18px; } .lead-form__row { grid-template-columns: 1fr; } }

/* Mature solution layer — business scenarios, not product modules. */
.solution-hero .product-hero__copy { max-width: 1020px; }
.solution-strip {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 1px;
    margin-top: 56px;
    overflow: hidden;
    border: 1px solid #d8e4f4;
    border-radius: 24px;
    background: #d8e4f4;
    box-shadow: 0 22px 60px rgba(47,111,237,.07);
}
.solution-strip article { min-height: 154px; padding: 22px; background: rgba(255,255,255,.96); }
.solution-strip span { display:block; color:#9aa8ba; font-size:10px; font-weight:800; letter-spacing:.12em; }
.solution-strip strong { display:block; margin-top:28px; color:var(--p-ink); font-size:18px; letter-spacing:-.025em; }
.solution-strip small { display:block; margin-top:7px; color:var(--p-muted); font-size:12px; line-height:1.5; }
.solution-proof { padding-top: 10px; }
.solution-component-list { border-top: 1px solid var(--p-line); }
.solution-component-list a {
    display:grid;
    grid-template-columns:minmax(180px,.65fr) minmax(0,1fr) 24px;
    gap:24px;
    align-items:center;
    padding:24px 2px;
    border-bottom:1px solid var(--p-line);
    color:var(--p-ink);
    text-decoration:none;
}
.solution-component-list a:hover strong { color: var(--p-blue); }
.solution-component-list strong { font-size:18px; letter-spacing:-.025em; }
.solution-component-list span { color:var(--p-muted); font-size:13px; line-height:1.55; }
.solution-component-list i { color:#8ca8d8; font-style:normal; }
.solution-index-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.solution-index-grid a {
    min-height:300px;
    display:flex;
    flex-direction:column;
    padding:30px;
    border:1px solid #d9e4f2;
    border-radius:24px;
    background:linear-gradient(160deg,#fff,#f7faff);
    color:var(--p-ink);
    text-decoration:none;
    box-shadow:0 18px 50px rgba(21,34,60,.04);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.solution-index-grid a:hover { transform:translateY(-3px); border-color:#b8cdf4; box-shadow:0 26px 64px rgba(47,111,237,.09); }
.solution-index-grid span { color:#91a1b7; font-size:10px; font-weight:800; letter-spacing:.12em; }
.solution-index-grid strong { margin-top:64px; color:var(--p-ink); font-size:28px; line-height:1.1; letter-spacing:-.04em; }
.solution-index-grid small { margin-top:16px; color:var(--p-muted); font-size:14px; line-height:1.65; }
.solution-index-grid i { margin-top:auto; padding-top:30px; color:var(--p-blue); font-style:normal; font-size:20px; }
@media (max-width:920px) {
    .solution-strip { grid-template-columns:repeat(2,1fr); }
    .solution-index-grid { grid-template-columns:1fr; }
    .solution-index-grid a { min-height:230px; }
}
@media (max-width:620px) {
    .solution-strip { grid-template-columns:1fr; }
    .solution-strip article { min-height:0; }
    .solution-component-list a { grid-template-columns:1fr 24px; gap:8px 16px; }
    .solution-component-list span { grid-column:1; }
    .solution-index-grid strong { margin-top:38px; font-size:24px; }
}

/* Responsive maturity pass: touch targets and compact mobile type. */
@media (max-width: 620px) {
    .product-text-link { min-height: 44px; display: inline-flex; align-items: center; }
    .product-local-nav__inner a { min-height: 44px; display: inline-flex; align-items: center; }
    .product-breadcrumb a { min-height: 34px; display: inline-flex; align-items: center; }
    .solution-card { min-height: 0; }
}

@media (max-width: 1060px) {
    .product-text-link { min-height: 44px; display: inline-flex; align-items: center; }
    .product-local-nav__inner a { min-height: 44px; display: inline-flex; align-items: center; }
    .product-breadcrumb a { min-height: 36px; display: inline-flex; align-items: center; }
}
