/* Final proportion and readability pass for the corporate homepage.
   Loaded after home-mockup.css so these rules intentionally override it. */

.home-v2 .container,
.lenterra-navbar .container,
.site-footer .container {
    width: min(100% - 48px, 1240px);
    max-width: 1240px;
    padding-left: 0;
    padding-right: 0;
}

.lenterra-navbar {
    min-height: 74px;
    padding: .72rem 0;
}

.brand-logo-nav {
    width: 62px;
    height: 52px;
}

.brand-copy strong {
    font-size: 1.22rem;
}

.brand-copy small {
    font-size: .57rem;
}

.navbar .nav-link {
    font-size: .91rem;
    padding: .72rem .78rem !important;
}

.mockup-hero {
    min-height: 760px;
    padding-top: 74px;
}

.hero-layout {
    min-height: 685px;
    padding: 64px 0 92px;
}

.home-v2 .hero-section h1 {
    max-width: 590px;
    font-size: clamp(3.75rem, 5.15vw, 5.9rem);
    line-height: .93;
}

.home-v2 .hero-section .lead {
    max-width: 575px;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 1.75rem;
}

.industry-proof {
    margin-top: 2.8rem;
}

.hero-visual-shell {
    min-height: 560px;
    padding: 58px 0 36px 28px;
}

.hero-system-board {
    max-width: 650px;
    padding: 24px;
}

.system-kpis > div {
    min-height: 96px;
}

.floating-module {
    width: 78px;
    height: 72px;
}

.module-erp { left: 9%; }
.module-hr { left: 12%; }
.module-pos,
.module-logistics { right: -1%; }

.board-logo {
    right: -8px;
    bottom: -58px;
    width: 118px;
    height: 92px;
}

.principle-strip {
    margin-top: -50px;
}

.principle-strip .container {
    width: min(100% - 64px, 1180px);
    max-width: 1180px;
}

.principle-strip article {
    min-height: 118px;
    padding: 24px 22px;
}

.home-v2 .section-space {
    padding: 92px 0;
}

.home-v2 .section-heading {
    max-width: 760px;
}

.home-v2 .section-heading h2,
.home-v2 .capability-section h2,
.home-v2 .process-section h2 {
    font-size: clamp(2.55rem, 3.55vw, 3.85rem);
    line-height: 1.04;
}

.home-v2 .section-heading p {
    max-width: 700px;
    font-size: 1rem;
}

.services-section {
    padding-top: 112px !important;
}

.services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px !important;
    margin: 42px 0 0 !important;
}

.services-grid > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
}

.service-card {
    min-height: 0;
    padding: 30px 28px 26px;
    border-radius: 20px;
}

.service-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 1.1rem;
}

.service-card small {
    margin-bottom: .65rem;
}

.service-card h3 {
    min-height: 0;
    margin-bottom: .75rem;
    font-size: 1.28rem;
}

.service-card p {
    min-height: 0;
    margin-bottom: 1.3rem;
    font-size: .96rem;
    line-height: 1.7;
}

.service-card a {
    font-size: .92rem;
}

.product-grid {
    margin-top: 40px !important;
}

.product-card {
    min-height: 320px;
    padding: 28px;
}

.product-empty {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 38px 42px;
}

.product-empty h3 {
    font-size: 1.45rem;
}

.product-empty p {
    font-size: .96rem;
    line-height: 1.65;
}

.capability-section .row {
    max-width: 1160px;
}

.capability-section .col-lg-5 h2 {
    max-width: 500px;
    font-size: clamp(2.65rem, 3.5vw, 3.75rem);
}

.capability-section .lead {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.75;
}

.capability-grid {
    gap: 16px;
}

.capability-grid article {
    min-height: 126px;
    padding: 24px;
}

.capability-grid h3 {
    font-size: 1.06rem;
}

.capability-grid p {
    font-size: .9rem;
}

.delivery-process {
    max-width: 1160px;
    margin: 54px auto 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.delivery-process:before {
    left: 8%;
    right: 8%;
    top: 44px;
}

.process-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 22px;
    border-width: 10px;
    font-size: .68rem;
}

.delivery-process article {
    padding: 0 10px;
}

.delivery-process h3 {
    font-size: 1.04rem;
}

.delivery-process p {
    font-size: .9rem;
    line-height: 1.65;
}

.cta-section {
    padding-bottom: 64px;
}

.cta-panel {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 26px;
    padding: 42px 46px;
    border-radius: 22px;
}

.cta-logo-wrap img {
    width: 72px;
    height: 62px;
}

.cta-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.cta-copy p {
    font-size: .95rem;
    line-height: 1.65;
}

.cta-actions .btn {
    white-space: nowrap;
}

.site-footer .container {
    padding-top: 58px !important;
    padding-bottom: 34px !important;
}

.site-footer h2 {
    font-size: .95rem;
}

.site-footer a,
.footer-description {
    font-size: .9rem;
}

.footer-description {
    line-height: 1.72;
}

@media (max-width: 1199.98px) {
    .home-v2 .container,
    .lenterra-navbar .container,
    .site-footer .container {
        width: min(100% - 40px, 1120px);
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-visual-shell {
        padding-left: 12px;
    }

    .delivery-process {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .delivery-process:before {
        display: none;
    }

    .cta-panel {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .cta-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .lenterra-navbar .container {
        width: min(100% - 32px, 900px);
    }

    .navbar-collapse {
        margin-top: .8rem;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(2, 16, 42, .98);
    }

    .mockup-hero {
        padding-top: 88px;
    }

    .hero-layout {
        padding: 62px 0 120px;
    }

    .home-v2 .hero-section h1 {
        max-width: 700px;
    }

    .home-v2 .hero-section .lead {
        max-width: 680px;
    }

    .hero-visual-shell {
        min-height: 540px;
        padding: 80px 28px 28px;
    }

    .principle-strip .container {
        width: min(100% - 36px, 860px);
    }

    .capability-section .row {
        max-width: 820px;
    }

    .delivery-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 22px;
    }
}

@media (max-width: 767.98px) {
    .home-v2 .container,
    .site-footer .container {
        width: min(100% - 30px, 680px);
    }

    .home-v2 .hero-section h1 {
        font-size: clamp(3.1rem, 15vw, 4.3rem);
    }

    .hero-visual-shell {
        min-height: 450px;
        padding: 62px 0 12px;
    }

    .hero-system-board {
        padding: 17px;
    }

    .services-grid,
    .delivery-process {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 26px 24px;
    }

    .product-empty {
        padding: 30px 24px;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 26px;
    }

    .cta-logo-wrap {
        display: none;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        white-space: normal;
    }
}
