/*
==========================================
SOLVETEC BRAND REFRESH
==========================================
Inspirado en la estructura visual de cervezapanama.com:
hero de alto impacto, tipografía pesada, nav translúcida,
fondos con capas y llamadas de acción claras.
*/

:root {
    --solvetec-blue: #0071bb;
    --solvetec-blue-bright: #0a86d8;
    --solvetec-green: #7bba41;
    --solvetec-green-bright: #8fd14f;
    --solvetec-dark: #020b15;
    --solvetec-navy: #04192f;
    --solvetec-ink: #0b1724;
    --solvetec-muted: #d7e4f0;
    --solvetec-gray: #f4f8fb;
    --solvetec-text: #263442;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", Arial, sans-serif;
    color: var(--solvetec-text);
    background: #ffffff;
}

h1,
h2,
h3,
.site-logo span,
.btn,
.btn-outline,
.header-whatsapp {
    font-family: "Montserrat", "Outfit", Arial, sans-serif;
}

.container {
    max-width: 1220px;
}

.site-header {
    position: fixed;
    padding: 18px 0;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 10px 24px auto;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background:
        linear-gradient(120deg, rgba(123, 186, 65, .28), rgba(0, 113, 187, .12)),
        rgba(2, 11, 21, .62);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
    z-index: -1;
}

.header-scroll {
    background: transparent !important;
    box-shadow: none;
}

.site-logo img,
.custom-logo {
    max-height: 52px;
    width: auto;
}

.site-logo span {
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .08em;
}

.main-menu {
    gap: 28px;
}

.main-menu a {
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.main-menu a:hover {
    color: var(--solvetec-green-bright);
}

.header-whatsapp,
.btn {
    border: 0;
    border-radius: 999px;
    background: var(--solvetec-green);
    color: #07101b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 12px 24px rgba(123, 186, 65, .28);
}

.header-whatsapp:hover,
.btn:hover {
    background: var(--solvetec-green-bright);
    opacity: 1;
}

.btn-outline {
    border-color: rgba(255, 255, 255, .7);
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.btn-outline:hover {
    border-color: var(--solvetec-blue-bright);
    background: var(--solvetec-blue);
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 148px 0 92px;
    color: #ffffff;
    background:
        radial-gradient(circle at 13% 18%, rgba(0, 113, 187, .34), transparent 28%),
        radial-gradient(circle at 88% 28%, rgba(123, 186, 65, .32), transparent 30%),
        linear-gradient(116deg, rgba(0, 113, 187, .22), transparent 42%),
        linear-gradient(180deg, #020b15 0%, #04192f 56%, #06111d 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(120deg, transparent 0 48%, rgba(0, 113, 187, .42) 49% 50%, transparent 51% 100%),
        radial-gradient(circle, rgba(255, 255, 255, .55) 1px, transparent 1.5px);
    background-size: 360px 360px, 26px 26px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 94px;
    background: linear-gradient(177deg, transparent 0 48%, #ffffff 49% 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 56px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid rgba(123, 186, 65, .48);
    border-radius: 999px;
    background: rgba(123, 186, 65, .12);
    color: var(--solvetec-green-bright);
    font-weight: 800;
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--solvetec-green-bright);
    box-shadow: 0 0 0 7px rgba(123, 186, 65, .14);
}

.hero-title {
    max-width: 820px;
    margin: 28px 0 22px;
    color: #ffffff;
    font-size: clamp(46px, 8vw, 96px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .95;
    text-transform: uppercase;
}

.hero-title::first-line {
    color: #ffffff;
}

.hero-content p {
    max-width: 680px;
    margin: 0 0 34px;
    color: var(--solvetec-muted);
    font-size: 20px;
    line-height: 1.55;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 690px;
    overflow: hidden;
    border: 1px solid rgba(0, 113, 187, .52);
    border-radius: 22px;
    background: rgba(0, 113, 187, .34);
}

.hero-proof div {
    min-height: 110px;
    padding: 22px;
    background: rgba(2, 11, 21, .74);
}

.hero-proof strong {
    display: block;
    margin-bottom: 8px;
    color: var(--solvetec-green-bright);
    font-family: "Montserrat", "Outfit", Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-proof span {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.35;
}

.hero-visual {
    position: relative;
    min-height: 620px;
}

.hero-logo-mark {
    position: absolute;
    top: -8px;
    right: 22px;
    width: 210px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(123, 186, 65, .28);
    border-radius: 30px;
    background: rgba(0, 0, 0, .52);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
    transform: rotate(45deg);
}

.hero-logo-mark img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    transform: rotate(-45deg);
}

.hero-service-stack {
    position: absolute;
    top: 150px;
    right: 0;
    left: 34px;
    display: grid;
    gap: 18px;
}

.hero-service-card {
    position: relative;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 116px;
    padding: 22px 28px;
    border: 1px solid rgba(0, 113, 187, .58);
    border-radius: 24px 8px 24px 8px;
    background:
        linear-gradient(115deg, rgba(0, 113, 187, .2), rgba(123, 186, 65, .08)),
        rgba(2, 11, 21, .76);
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
}

.hero-service-card:nth-child(even) {
    margin-left: -42px;
    border-color: rgba(123, 186, 65, .62);
}

.hero-service-card span {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, var(--solvetec-green), var(--solvetec-blue));
    box-shadow: inset 0 0 0 8px rgba(2, 11, 21, .28);
}

.hero-service-card h2 {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.hero-service-card p {
    margin: 0;
    color: var(--solvetec-muted);
    font-size: 16px;
    line-height: 1.35;
}

.section-title {
    color: var(--solvetec-ink);
    font-family: "Montserrat", "Outfit", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.04;
    text-transform: uppercase;
}

.section-description {
    color: #5b6b79;
}

.stats-section {
    margin-top: -34px;
    padding: 38px 0;
    background: #ffffff;
    color: var(--solvetec-ink);
}

.stats-grid {
    overflow: hidden;
    border: 1px solid rgba(0, 113, 187, .15);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(4, 25, 47, .1);
}

.stat-box {
    border-right: 1px solid rgba(0, 113, 187, .12);
}

.stat-box:last-child {
    border-right: 0;
}

.stat-box h2 {
    color: var(--solvetec-blue);
    font-family: "Montserrat", "Outfit", Arial, sans-serif;
    font-weight: 900;
}

.stat-box p {
    color: var(--solvetec-ink);
    font-weight: 700;
}

.services,
.products-section,
.projects-section,
.clients-section,
.testimonials-section {
    padding: 96px 0;
}

.services {
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.products-section {
    background: #ffffff;
}

.projects-section {
    background:
        linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
}

.cards,
.products-grid,
.projects-grid {
    gap: 24px;
}

.card,
.product-card,
.project-card,
.client-logo,
.testimonial-card,
.mission-card,
.quote-box,
.project-box,
.service-box {
    border: 1px solid rgba(0, 113, 187, .12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(4, 25, 47, .08);
}

.card,
.product-card,
.project-card {
    position: relative;
}

.card::before,
.product-card::before,
.project-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--solvetec-blue), var(--solvetec-green));
}

.card h3,
.product-content h3,
.project-content h3,
.mission-card h3,
.quote-box h3,
.project-box h3,
.service-box h3 {
    color: var(--solvetec-ink);
    font-family: "Montserrat", "Outfit", Arial, sans-serif;
    font-weight: 900;
}

.product-link,
.project-content a,
.footer-column a:hover {
    color: var(--solvetec-blue);
}

.card .btn {
    padding: 12px 20px;
    font-size: 12px;
}

.clients-section {
    background: var(--solvetec-navy);
}

.clients-section .section-title,
.clients-section .section-description {
    color: #ffffff;
}

.client-logo {
    background: rgba(255, 255, 255, .96);
}

.cta-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(123, 186, 65, .34), transparent 30%),
        linear-gradient(135deg, var(--solvetec-navy), var(--solvetec-dark));
}

.cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, transparent 0 46%, rgba(0, 113, 187, .38) 47% 48%, transparent 49% 100%),
        radial-gradient(circle, rgba(255, 255, 255, .45) 1px, transparent 1.5px);
    background-size: 320px 320px, 28px 28px;
    opacity: .16;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    color: #ffffff;
    font-family: "Montserrat", "Outfit", Arial, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.site-footer {
    background: #020b15;
}

.mobile-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.mobile-toggle span {
    width: 20px;
    height: 2px;
}

.mobile-menu {
    position: fixed;
    top: 92px;
    right: 20px;
    left: 20px;
    z-index: 998;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: rgba(2, 11, 21, .96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}

.mobile-menu a {
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 1020px) {
    .site-header::before {
        inset: 10px 14px auto;
    }

    .hero {
        min-height: auto;
        padding: 132px 0 74px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .hero-visual {
        min-height: 560px;
    }

    .hero-service-stack {
        left: 0;
    }

    .hero-service-card:nth-child(even) {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(42px, 14vw, 64px);
    }

    .hero-content p {
        font-size: 18px;
    }

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

    .hero-proof div {
        min-height: auto;
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-logo-mark {
        position: relative;
        top: auto;
        right: auto;
        width: 160px;
        margin: 0 auto 24px;
    }

    .hero-logo-mark img {
        width: 114px;
        height: 114px;
    }

    .hero-service-stack {
        position: relative;
        top: auto;
    }

    .hero-service-card {
        grid-template-columns: 52px 1fr;
        clip-path: none;
        padding: 20px;
    }

    .hero-service-card span {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .hero-service-card h2 {
        font-size: 18px;
    }

    .stats-grid {
        border-radius: 18px;
    }

    .stat-box {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 113, 187, .12);
    }

    .stat-box:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 14px 0;
    }

    .site-header::before {
        height: 58px;
    }

    .hero {
        padding-top: 118px;
    }

    .hero-buttons {
        display: grid;
    }

    .btn,
    .btn-outline {
        width: 100%;
        text-align: center;
    }
}
