* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #142219;
    background: #f5f7f5;
}

a {
    color: inherit;
    text-decoration: none;
}

.public-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.public-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 250, 248, .96);
    border-bottom: 1px solid #e4e9e5;
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.public-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #d2a037;
    color: white;
    font-weight: 800;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text small {
    margin-top: 3px;
    font-size: 11px;
    letter-spacing: 1.3px;
    color: #708078;
}

.public-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
}

.nav-login {
    padding: 11px 17px;
    border-radius: 9px;
    color: white;
    background: #155a32;
}


/* HERO */

.hero {
    padding: 85px 0 90px;
    background:
        radial-gradient(
            circle at 85% 25%,
            #e4eee7,
            transparent 32%
        ),
        #f7f9f7;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.hero-label,
.section-heading > span,
.process-title > span,
.access-box > div > span {
    display: block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #237247;
}

.hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(45px, 5.4vw, 76px);
    line-height: .98;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;
    color: #17603a;
}

.hero-description {
    max-width: 620px;
    margin: 28px 0 0;
    font-size: 18px;
    line-height: 1.7;
    color: #68756e;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn-public-primary,
.btn-public-secondary,
.btn-access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 10px;
    font-weight: 700;
}

.btn-public-primary,
.btn-access {
    color: white;
    background: #155a32;
}

.btn-public-secondary {
    border: 1px solid #d7dfda;
    background: white;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    font-size: 13px;
    color: #627068;
}


/* HERO VISUAL */

.windshield-card {
    position: relative;
    min-height: 440px;
    padding: 42px;
    overflow: hidden;
    border-radius: 28px;
    color: white;
    background:
        linear-gradient(
            145deg,
            #0d3824,
            #17643a
        );
    box-shadow: 0 30px 60px rgba(15, 67, 39, .18);
}

.windshield-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(255,255,255,.1);
    font-size: 29px;
}

.visual-label {
    display: block;
    margin-top: 45px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #c5d8cc;
}

.windshield-card h2 {
    margin: 9px 0 12px;
    font-size: 32px;
}

.windshield-card p {
    max-width: 390px;
    margin: 0;
    line-height: 1.6;
    color: #d5e0d8;
}

.damage-demo {
    position: absolute;
    right: -25px;
    bottom: -30px;
    width: 235px;
    height: 235px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
}

.damage-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #d7aa47;
}

.ray {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    height: 1px;
    background: rgba(255,255,255,.65);
    transform-origin: left center;
}

.r1 { transform: rotate(12deg); }
.r2 { transform: rotate(55deg); }
.r3 { transform: rotate(103deg); }
.r4 { transform: rotate(158deg); }
.r5 { transform: rotate(215deg); }
.r6 { transform: rotate(305deg); }


/* SERVICIOS */

.services-section {
    padding: 90px 0;
    background: white;
}

.section-heading {
    max-width: 670px;
}

.section-heading h2,
.process-title h2,
.access-box h2 {
    margin: 0;
    font-size: 40px;
    letter-spacing: -1.5px;
}

.section-heading p,
.process-title p,
.access-box p {
    line-height: 1.65;
    color: #738078;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.service-card {
    min-height: 245px;
    padding: 30px;
    border: 1px solid #e0e6e2;
    border-radius: 18px;
    background: #fafbfa;
}

.service-card.featured {
    color: white;
    background: #164f31;
}

.service-number {
    margin-bottom: 50px;
    font-size: 12px;
    font-weight: 800;
    color: #c59635;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
}

.service-card p {
    margin: 0;
    line-height: 1.6;
    color: #718078;
}

.service-card.featured p {
    color: #cedbd2;
}


/* PROCESO */

.process-section {
    padding: 95px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
}

.process-list {
    border-top: 1px solid #dde4df;
}

.process-item {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #dde4df;
}

.process-item > strong {
    color: #ba8c31;
}

.process-item h3 {
    margin: 0 0 5px;
}

.process-item p {
    margin: 0;
    line-height: 1.55;
    color: #728078;
}


/* ACCESO */

.access-section {
    padding: 30px 0 90px;
}

.access-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px;
    border-radius: 22px;
    background: #e9f0eb;
}


/* FOOTER */

.public-footer {
    color: white;
    background: #092c1c;
}

.footer-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-inner strong,
.footer-inner span {
    display: block;
}

.footer-inner span {
    margin-top: 5px;
    font-size: 12px;
    color: #aabdb1;
}

.footer-inner small {
    color: #9caf9f;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    .public-nav > a:not(.nav-login) {
        display: none;
    }

    .hero-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 55px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .windshield-card {
        min-height: 350px;
    }

    .access-box {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 550px) {

    .public-container {
        width: min(100% - 26px, 1180px);
    }

    .brand-text small {
        display: none;
    }

    .public-nav {
        gap: 8px;
    }

    .nav-login {
        padding: 10px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 45px 0 60px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .section-heading h2,
    .process-title h2,
    .access-box h2 {
        font-size: 31px;
    }

    .footer-inner {
        padding: 28px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

}