:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-2: #eef2ff;
    --ink: #102033;
    --muted: #5b6778;
    --line: rgba(16, 32, 51, .12);
    --primary: #2554f4;
    --primary-dark: #1739b8;
    --accent: #12b886;
    --dark: #102033;
    --dark-soft: #17293e;
    --warning: #fff2cc;
    --success: #e8fff5;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --shadow: 0 24px 80px rgba(16, 32, 51, .12);
    --shadow-soft: 0 18px 40px rgba(16, 32, 51, .08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(37, 84, 244, .12), transparent 34rem),
        radial-gradient(circle at 82% 12%, rgba(18, 184, 134, .12), transparent 28rem),
        var(--bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(16px);
    background: rgba(246, 247, 251, .82);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
    background: rgba(246, 247, 251, .94);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 32px rgba(16, 32, 51, .08);
}

.navbar {
    min-height: 88px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
}

.brand-mark span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-mark strong {
    font-size: 1.1rem;
    letter-spacing: -.03em;
}

.brand-mark small {
    color: var(--muted);
    font-size: .75rem;
    margin-top: 4px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 28px rgba(37, 84, 244, .24);
}

.brand-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-link {
    color: var(--ink);
    font-weight: 600;
}

.btn-nav-contact,
.btn-hero-primary,
.btn-cookie-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 18px 34px rgba(37, 84, 244, .24);
    font-weight: 700;
    border-radius: 999px;
    padding: 14px 22px;
}

.btn-nav-contact:hover,
.btn-hero-primary:hover,
.btn-cookie-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-hero-secondary,
.btn-cookie-secondary {
    border: 1px solid rgba(16, 32, 51, .18);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    border-radius: 999px;
    padding: 14px 22px;
}

.btn-cookie-ghost {
    color: var(--ink);
    font-weight: 700;
    border-radius: 999px;
    padding: 14px 22px;
    background: rgba(16, 32, 51, .06);
}

.hero-section {
    padding: 72px 0 56px;
}

.hero-grid,
.split-layout,
.showcase-grid,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(37, 84, 244, .1);
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .76rem;
    padding: 10px 14px;
    margin-bottom: 18px;
}

.eyebrow-light {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.hero-copy h1,
.section-heading h2,
.split-layout h2,
.showcase-copy h2,
.contact-copy h2,
.legal-page h1 {
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .98;
}

.hero-copy h1 {
    font-size: clamp(3rem, 6vw, 5.9rem);
    max-width: 980px;
    margin-bottom: 24px;
}

.hero-lead,
.section-heading p,
.split-layout > div > p,
.showcase-copy p,
.contact-copy p,
.legal-shell p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 34px;
}

.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-trust div,
.feature-card,
.process-grid article,
.proposal-card,
.contact-form,
.legal-shell,
.thankyou-card {
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(16, 32, 51, .1);
    box-shadow: var(--shadow-soft);
}

.hero-trust div {
    border-radius: 20px;
    padding: 18px;
}

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

.hero-trust strong {
    font-size: .98rem;
    margin-bottom: 8px;
}

.hero-trust span {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.5;
}

.hero-panel {
    position: relative;
    min-height: 670px;
}

.mockup-window {
    position: absolute;
    inset: 0;
    border-radius: 38px;
    padding: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,242,255,.86));
    border: 1px solid rgba(16, 32, 51, .12);
    box-shadow: var(--shadow);
}

.mockup-top {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.mockup-top span {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(16, 32, 51, .22);
}

.mockup-content {
    height: calc(100% - 32px);
    border-radius: 28px;
    padding: 28px;
    background:
        radial-gradient(circle at 20% 10%, rgba(37, 84, 244, .12), transparent 18rem),
        #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mockup-badge {
    align-self: flex-start;
    background: rgba(18, 184, 134, .12);
    color: #087f5b;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: .78rem;
}

.mockup-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
}

.mockup-search {
    height: 58px;
    border-radius: 18px;
    background: rgba(16, 32, 51, .06);
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mockup-cards article {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    border: 1px solid rgba(16, 32, 51, .08);
    box-shadow: 0 12px 24px rgba(16, 32, 51, .08);
}

.mockup-cards strong {
    font-size: .92rem;
    line-height: 1.2;
}

.mockup-cards span {
    font-size: .78rem;
    color: var(--muted);
}

.mini-photo {
    border-radius: 14px;
    height: 82px;
    background: linear-gradient(135deg, #ffda79, #ff8a65);
}

.mini-photo.alt {
    background: linear-gradient(135deg, #74c0fc, #4c6ef5);
}

.mini-photo.third {
    background: linear-gradient(135deg, #63e6be, #12b886);
}

.mockup-stats {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mockup-stats div {
    background: rgba(16, 32, 51, .04);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.mockup-stats b,
.mockup-stats small {
    display: block;
}

.mockup-stats b {
    font-size: 1.7rem;
    font-weight: 900;
}

.mockup-stats small {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 800;
    font-size: .68rem;
}

.floating-card {
    position: absolute;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(16, 32, 51, .1);
    box-shadow: 0 18px 36px rgba(16, 32, 51, .12);
    font-weight: 800;
}

.card-one {
    top: 74px;
    left: -26px;
}

.card-two {
    right: -18px;
    top: 300px;
}

.card-three {
    left: 12px;
    bottom: 78px;
}

.logo-strip {
    padding: 0 0 32px;
}

.logo-strip p {
    margin: 0;
    border-radius: 999px;
    padding: 18px 24px;
    text-align: center;
    background: rgba(255,255,255,.8);
    color: var(--muted);
    border: 1px solid rgba(16, 32, 51, .1);
    box-shadow: var(--shadow-soft);
    font-weight: 700;
}

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

.section-heading {
    max-width: 960px;
    margin-bottom: 42px;
}

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

.section-heading h2,
.split-layout h2,
.showcase-copy h2,
.contact-copy h2,
.legal-page h1 {
    font-size: clamp(2.25rem, 4vw, 4rem);
    margin-bottom: 18px;
}

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

.feature-card {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-weight: 900;
    margin-bottom: 20px;
}

.feature-card h3,
.process-grid h3,
.benefit-list h3,
.proposal-card h3,
.legal-shell h2 {
    font-size: 1.32rem;
    font-weight: 850;
    letter-spacing: -.03em;
}

.feature-card p,
.process-grid p,
.benefit-list p,
.proposal-card p,
.contact-points a,
.legal-shell li {
    color: var(--muted);
    line-height: 1.68;
}

.section-dark {
    background: linear-gradient(135deg, var(--dark), var(--dark-soft));
    color: #fff;
    position: relative;
}

.section-dark p {
    color: rgba(255,255,255,.76);
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
}

.metric-row div {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}

.metric-row b,
.metric-row span {
    display: block;
}

.metric-row b {
    font-size: 1rem;
    margin-bottom: 6px;
}

.metric-row span {
    color: rgba(255,255,255,.72);
}

.benefit-list {
    display: grid;
    gap: 16px;
}

.benefit-list article {
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}

.process-grid article {
    border-radius: var(--radius-lg);
    padding: 28px;
}

.process-grid article > span {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(37, 84, 244, .12);
    color: var(--primary-dark);
    font-weight: 900;
    margin-bottom: 18px;
}

.showcase-grid {
    align-items: stretch;
}

.check-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    font-weight: 700;
    color: var(--ink);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(18, 184, 134, .14);
    color: #087f5b;
    font-size: .85rem;
}

.proposal-card {
    border-radius: var(--radius-xl);
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.proposal-top {
    width: max-content;
    border-radius: 999px;
    background: rgba(18, 184, 134, .12);
    color: #087f5b;
    padding: 10px 14px;
    font-weight: 900;
    margin-bottom: 18px;
}

.proposal-card h3 {
    font-size: 2.2rem;
}

.proposal-card small {
    color: var(--muted);
    line-height: 1.6;
    margin-top: 18px;
}

.premium-accordion .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, .1);
    border-radius: 20px !important;
    background: rgba(255,255,255,.86);
    box-shadow: var(--shadow-soft);
}

.premium-accordion {
    display: grid;
    gap: 16px;
}

.premium-accordion .accordion-button {
    font-weight: 800;
    color: var(--ink);
    background: transparent;
    box-shadow: none;
    padding: 22px 24px;
}

.premium-accordion .accordion-body {
    color: var(--muted);
    line-height: 1.7;
    padding: 0 24px 24px;
}

.contact-grid {
    align-items: start;
}

.contact-points {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-points div {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(16,32,51,.1);
}

.contact-points strong,
.contact-points a {
    display: block;
}

.contact-points strong {
    margin-bottom: 8px;
}

.contact-points a {
    color: var(--primary-dark);
    font-weight: 800;
    text-decoration: none;
}

.contact-form {
    border-radius: var(--radius-xl);
    padding: 34px;
}

.form-control,
.form-select {
    border-radius: 16px;
    min-height: 54px;
    border-color: rgba(16, 32, 51, .16);
    padding: 14px 16px;
}

textarea.form-control {
    min-height: 160px;
}

.form-label,
.form-check-label {
    font-weight: 700;
}

.form-check-label a {
    color: var(--primary-dark);
}

.btn-submit {
    width: 100%;
    min-height: 58px;
}

.consent-row {
    margin-top: 4px;
}

.legal-page {
    padding: 76px 0 100px;
}

.legal-shell {
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 58px);
    max-width: 980px;
}

.legal-shell section + section {
    margin-top: 34px;
}

.legal-shell h2 {
    margin-bottom: 14px;
}

.legal-highlight {
    background: rgba(37,84,244,.08);
    border: 1px solid rgba(37,84,244,.14);
    border-radius: 20px;
    padding: 20px;
    line-height: 1.75;
}

.legal-table-wrap {
    border-radius: 22px;
    border: 1px solid rgba(16,32,51,.1);
    overflow: hidden;
}

.legal-table {
    margin: 0;
}

.legal-table th {
    background: rgba(16,32,51,.06);
}

.thankyou-page .container {
    max-width: 980px;
}

.thankyou-card {
    border-radius: var(--radius-xl);
    padding: clamp(32px, 7vw, 72px);
    text-align: center;
}

.thankyou-card.success {
    background: linear-gradient(135deg, rgba(232,255,245,.96), rgba(255,255,255,.98));
}

.thankyou-card.warning {
    background: linear-gradient(135deg, rgba(255,242,204,.96), rgba(255,255,255,.98));
}

.thankyou-card p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.site-footer {
    padding: 72px 0 32px;
    background: #0c1725;
    color: #fff;
}

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

.footer-brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.04em;
}

.site-footer p,
.site-footer a,
.site-footer li,
.footer-bottom {
    color: rgba(255,255,255,.7);
}

.site-footer h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.site-footer a {
    text-decoration: none;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: .92rem;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #12b886, #087f5b);
    box-shadow: 0 22px 44px rgba(8,127,91,.28);
    font-weight: 900;
}

.cookie-banner {
    position: fixed;
    inset: auto 20px 20px 20px;
    z-index: 1080;
}

.cookie-card {
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(16,32,51,.14);
    box-shadow: 0 28px 70px rgba(16,32,51,.22);
    border-radius: 28px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-modal {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
}

.cookie-option + .cookie-option {
    border-top: 1px solid var(--line);
}

.cookie-option p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (max-width: 1199.98px) {
    .hero-grid,
    .split-layout,
    .showcase-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 620px;
        max-width: 760px;
    }

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

@media (max-width: 991.98px) {
    .navbar {
        min-height: 78px;
    }

    .brand-mark small {
        display: none;
    }

    .hero-section {
        padding-top: 42px;
    }

    .hero-trust,
    .mockup-cards,
    .mockup-stats,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: 720px;
    }

    .floating-card {
        position: static;
        display: inline-flex;
        margin-top: 14px;
        margin-right: 10px;
    }

    .cookie-card {
        display: grid;
    }
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 72px 0;
    }

    .feature-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .mockup-window {
        position: relative;
        min-height: 690px;
    }

    .mockup-content {
        padding: 20px;
    }

    .mockup-title {
        font-size: 1.7rem;
    }

    .hero-actions,
    .cookie-actions,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cookie-primary,
    .btn-cookie-secondary,
    .btn-cookie-ghost,
    .btn-nav-contact {
        width: 100%;
        text-align: center;
    }

    .proposal-card,
    .contact-form {
        padding: 24px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        left: 14px;
        text-align: center;
    }

    .cookie-banner {
        inset: auto 14px 14px 14px;
    }

    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Logo de cabecera PUEBLAR */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    padding: 0;
}

.site-menu-logo {
    display: block;
    width: auto;
    height: 66px;
    max-width: min(360px, 56vw);
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .brand-logo-link {
        min-height: 54px;
    }

    .site-menu-logo {
        height: 56px;
        max-width: min(285px, 68vw);
    }
}

@media (max-width: 575.98px) {
    .site-menu-logo {
        height: 50px;
        max-width: min(250px, 68vw);
    }
}


/* Ajustes de rediseño comercial PUEBLAR */
.hero-section-simple {
    padding-bottom: 72px;
}

.hero-full {
    max-width: 1180px;
}

.hero-full h1 {
    max-width: 1180px;
}

.hero-full .hero-lead {
    max-width: 980px;
}

.hero-trust-wide {
    width: 100%;
    max-width: 1180px;
}

.impact-wrap {
    max-width: 1180px;
}

.impact-wrap h2 {
    max-width: 980px;
    font-size: clamp(2.5rem, 4.6vw, 4.7rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .98;
    margin-bottom: 18px;
}

.impact-wrap > p {
    max-width: 860px;
    color: rgba(255,255,255,.78);
    font-size: 1.14rem;
    line-height: 1.72;
    margin-bottom: 38px;
}

.impact-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.impact-item {
    padding: 28px 28px 28px 0;
}

.impact-item + .impact-item {
    padding-left: 28px;
    border-left: 1px solid rgba(255,255,255,.16);
}

.impact-item strong,
.impact-item span {
    display: block;
}

.impact-item strong {
    color: #fff;
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: 10px;
}

.impact-item span {
    color: rgba(255,255,255,.72);
    line-height: 1.65;
}

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

.showcase-copy > p {
    max-width: 760px;
}

.contact-section-direct {
    background:
        radial-gradient(circle at top left, rgba(37, 84, 244, .10), transparent 28rem),
        radial-gradient(circle at 82% 18%, rgba(18, 184, 134, .10), transparent 24rem);
}

.contact-direct-shell {
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 56px);
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(16,32,51,.1);
    box-shadow: var(--shadow-soft);
}

.contact-direct-copy {
    max-width: 900px;
    margin-bottom: 34px;
}

.contact-direct-copy h2 {
    font-size: clamp(2.35rem, 4vw, 4rem);
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .98;
    margin-bottom: 18px;
}

.contact-direct-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
    max-width: 820px;
}

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

.contact-channel-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    padding: 26px;
    border-radius: 26px;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(16,32,51,.1);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-channel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,84,244,.26);
    box-shadow: 0 24px 52px rgba(16,32,51,.14);
}

.contact-channel-card strong {
    color: var(--ink);
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

.contact-channel-card > span:last-child {
    color: var(--muted);
    line-height: 1.6;
}

.contact-channel-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 16px 30px rgba(37,84,244,.18);
    margin-bottom: 8px;
}

.contact-channel-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-menu-logo {
    height: 55px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo {
    display: block;
    width: auto;
    height: 64px;
    max-width: min(330px, 72vw);
    object-fit: contain;
}

.footer-bottom a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Entrada suave desde la segunda sección */
.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1199.98px) {
    .contact-channel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .site-menu-logo {
        height: 52px;
    }

    .impact-line {
        grid-template-columns: 1fr;
    }

    .impact-item {
        padding: 22px 0;
    }

    .impact-item + .impact-item {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.16);
    }
}

@media (max-width: 767.98px) {
    .process-grid-two {
        grid-template-columns: 1fr;
    }

    .hero-trust-wide {
        grid-template-columns: 1fr;
    }

    .site-menu-logo {
        height: 48px;
        max-width: min(235px, 68vw);
    }

    .footer-logo {
        height: 58px;
    }

    .contact-channel-card {
        min-height: auto;
    }
}


/* Hero a ancho completo: conservar jerarquía tipográfica principal */
.hero-full h1 {
    font-size: clamp(3rem, 6vw, 5.9rem);
    max-width: 1180px;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .98;
}


/* Ajustes v3: flotantes compactos, CTA hero y propuesta */
.floating-whatsapp,
.floating-scroll-top {
    position: fixed;
    right: 20px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    z-index: 1040;
    border: 0;
    text-decoration: none;
    box-shadow: 0 22px 44px rgba(8,127,91,.28);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .25s ease;
}

.floating-whatsapp {
    bottom: 20px;
    color: #fff;
    background: linear-gradient(135deg, #12b886, #087f5b);
}

.floating-whatsapp svg,
.floating-scroll-top svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.floating-whatsapp:hover,
.floating-scroll-top:hover {
    transform: translateY(-3px);
}

.floating-scroll-top {
    bottom: 90px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 22px 44px rgba(37,84,244,.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    cursor: pointer;
}

.floating-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.proposal-card small {
    display: none;
}

@media (max-width: 767.98px) {
    .floating-whatsapp,
    .floating-scroll-top {
        right: 16px;
        width: 56px;
        height: 56px;
    }

    .floating-whatsapp {
        bottom: 16px;
        left: auto;
        text-align: initial;
    }

    .floating-scroll-top {
        bottom: 84px;
    }
}


/* Ajustes v4: amplitud visual, WhatsApp centrado e iconos de impacto */
.hero-full,
.hero-full h1,
.hero-full .hero-lead,
.section-heading,
.section-heading.narrow,
.impact-wrap,
.impact-wrap h2,
.impact-wrap > p,
.contact-direct-copy,
.contact-direct-copy p {
    max-width: 100%;
}

.section-heading h2,
.split-layout h2,
.showcase-copy h2,
.contact-copy h2,
.contact-direct-copy h2,
.impact-wrap h2 {
    max-width: 100%;
}

.floating-whatsapp {
    padding: 0;
    line-height: 0;
    place-items: center;
}

.floating-whatsapp-icon {
    display: block;
    width: 32px;
    height: 32px;
    fill: currentColor;
    stroke: none;
    transform: translate(0, 0);
}

.floating-whatsapp svg.floating-whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    stroke: none;
}

.impact-item {
    text-align: center;
}

.impact-item strong {
    margin-bottom: 18px;
}

.impact-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.impact-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.impact-item > span:last-child {
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .impact-item > span:last-child {
        max-width: 620px;
    }
}


/* Ajustes v5: iconos de impacto más grandes y realmente centrados */
.impact-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 22px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.impact-icon svg {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0;
    flex: 0 0 auto;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-item strong {
    text-align: center;
}

.impact-item > span:last-child {
    text-align: center;
}


/* Ajustes v6: centrado absoluto de los SVG dentro de .impact-icon */
.impact-icon {
    position: relative;
    display: block;
    width: 96px;
    height: 96px;
    padding: 0;
    margin: 0 auto 22px;
    line-height: 0;
}

.impact-icon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 54px;
    height: 54px;
    margin: 0;
    transform: translate(-50%, -50%);
    transform-origin: center center;
}


/* Ajustes v9: offcanvas móvil visible, legible y con logo */
@media (max-width: 991.98px) {
    .site-header .offcanvas {
        --bs-offcanvas-width: min(380px, 90vw);
        background: #ffffff;
        color: var(--ink);
        border-left: 1px solid rgba(16, 32, 51, .12);
        box-shadow: -24px 0 70px rgba(16, 32, 51, .18);
    }

    .site-header .offcanvas-header {
        min-height: 94px;
        padding: 20px 22px;
        border-bottom: 1px solid rgba(16, 32, 51, .1);
        background:
            radial-gradient(circle at top left, rgba(37, 84, 244, .08), transparent 16rem),
            #fff;
    }

    .site-header .offcanvas-brand-title {
        display: flex;
        align-items: center;
        margin: 0;
        line-height: 0;
    }

    .site-header .offcanvas-menu-logo {
        display: block;
        width: auto;
        height: 54px;
        max-width: min(260px, 62vw);
        object-fit: contain;
    }

    .site-header .offcanvas .btn-close {
        opacity: 1;
        flex: 0 0 auto;
        margin: 0;
    }

    .site-header .offcanvas-body {
        display: flex;
        flex-direction: column;
        padding: 24px 22px 30px;
        background: #fff;
    }

    .site-header .offcanvas .navbar-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch !important;
        gap: 6px;
        margin-left: 0 !important;
    }

    .site-header .offcanvas .nav-item {
        width: 100%;
    }

    .site-header .offcanvas .nav-link {
        display: flex;
        align-items: center;
        min-height: 54px;
        width: 100%;
        padding: 14px 4px;
        color: var(--ink) !important;
        font-size: 1.08rem;
        font-weight: 800;
        border-bottom: 1px solid rgba(16, 32, 51, .08);
        opacity: 1;
    }

    .site-header .offcanvas .btn-nav-contact {
        width: 100%;
        min-height: 58px;
        margin-top: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .site-header .offcanvas-menu-logo {
        height: 48px;
        max-width: min(230px, 64vw);
    }
}


/* Ajustes v10: offcanvas móvil fuera del header para evitar clipping y menú realmente visible */
.desktop-navbar-menu {
    align-items: center;
}

.pueblar-mobile-offcanvas {
    --bs-offcanvas-width: min(390px, 92vw);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    color: var(--ink);
    background: #ffffff;
    border-left: 1px solid rgba(16, 32, 51, .12);
    box-shadow: -24px 0 70px rgba(16, 32, 51, .2);
    z-index: 1090;
}

.offcanvas-backdrop {
    z-index: 1085;
}

.pueblar-mobile-offcanvas .offcanvas-header {
    min-height: 90px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(16, 32, 51, .1);
    background:
        radial-gradient(circle at top left, rgba(37, 84, 244, .08), transparent 15rem),
        #ffffff;
}

.pueblar-mobile-offcanvas .offcanvas-brand-title {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0;
    line-height: 0;
}

.pueblar-mobile-offcanvas .offcanvas-menu-logo {
    display: block;
    width: auto;
    height: clamp(42px, 8.8vw, 52px);
    max-width: min(224px, 58vw);
    object-fit: contain;
}

.pueblar-mobile-offcanvas .btn-close {
    flex: 0 0 auto;
    margin: 0;
    opacity: 1;
}

.pueblar-mobile-offcanvas .offcanvas-body {
    display: block;
    width: 100%;
    padding: 22px 20px 30px;
    color: var(--ink);
    background: #ffffff;
    overflow-y: auto;
}

.pueblar-mobile-offcanvas .mobile-offcanvas-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
}

.pueblar-mobile-offcanvas .nav-item {
    display: block;
    width: 100%;
}

.pueblar-mobile-offcanvas .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 16px 2px;
    color: var(--ink) !important;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.35;
    opacity: 1 !important;
    border-bottom: 1px solid rgba(16, 32, 51, .1);
}

.pueblar-mobile-offcanvas .mobile-menu-cta {
    margin-top: 22px;
}

.pueblar-mobile-offcanvas .btn-nav-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    text-align: center;
}

/* Anula estilos de la v9 que estaban dirigidos al offcanvas dentro del header */
.site-header .offcanvas,
.site-header .offcanvas-header,
.site-header .offcanvas-body,
.site-header .offcanvas .navbar-nav,
.site-header .offcanvas .nav-item,
.site-header .offcanvas .nav-link,
.site-header .offcanvas .btn-nav-contact {
    all: unset;
}

@media (max-width: 575.98px) {
    .pueblar-mobile-offcanvas {
        --bs-offcanvas-width: min(360px, 94vw);
    }

    .pueblar-mobile-offcanvas .offcanvas-header {
        min-height: 84px;
        padding: 16px 18px;
    }

    .pueblar-mobile-offcanvas .offcanvas-body {
        padding: 20px 18px 28px;
    }
}


/* Ajustes v11: enfoque de impulso local */
.hero-full .hero-lead {
    max-width: 1180px;
}

.showcase-copy > p,
.proposal-card p {
    max-width: 100%;
}

.feature-card p,
.impact-item span,
.check-list li,
.premium-accordion .accordion-body {
    font-size: 1rem;
}


/* Ajustes v12: menor salto tras hero, cards movidas a sección oscura y botones de contacto */
.hero-section-simple {
    padding-bottom: 36px;
}

.hero-full .hero-actions {
    margin-bottom: 0;
}

#solucion {
    padding-top: 68px;
}

.impact-trust-cards {
    margin: 34px 0 42px;
}

.section-dark .impact-trust-cards > div {
    background: rgba(255,255,255,.96);
    color: var(--ink);
}

.section-dark .impact-trust-cards span {
    color: var(--muted);
}

.contact-channel-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: max-content;
    padding: 12px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(37,84,244,.18);
}

.contact-channel-card:hover .contact-channel-button {
    transform: translateY(-1px);
}

@media (max-width: 767.98px) {
    .hero-section-simple {
        padding-bottom: 28px;
    }

    #solucion {
        padding-top: 54px;
    }

    .impact-trust-cards {
        margin: 28px 0 34px;
    }

    .contact-channel-button {
        width: 100%;
    }
}


/* Ajustes v13: las tres cards vuelven al hero */
.hero-full .hero-actions {
    margin-bottom: 34px;
}

.hero-trust-wide {
    margin-top: 0;
}
