:root {
    --blue: #2596be;
    --blue-dark: #176d91;
    --blue-deep: #123c50;
    --gold: #e6b94a;
    --ink: #172b35;
    --muted: #687983;
    --light: #f4f7f9;
    --white: #ffffff;
    --border: #e4ebef;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.7;
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.section-padding {
    padding: 100px 0;
}

.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -1.2px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
}

h2 span {
    color: var(--blue);
}

p {
    color: var(--muted);
}

/* Header */

.site-header {
    position: relative;
    z-index: 20;
    background: var(--white);
}

.top-strip {
    background: var(--blue-deep);
    color: rgba(255,255,255,.85);
    font-size: .78rem;
}

.top-strip-inner {
    min-height: 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-strip a:hover {
    color: var(--gold);
}

.top-divider {
    padding: 0 10px;
    color: rgba(255,255,255,.35);
}

.navbar {
    min-height: 83px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--blue);
}

.brand-name span {
    color: var(--ink);
}

.brand-tagline {
    font-size: .59rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: var(--blue-dark);
    margin-top: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links > a {
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
    transition: color .2s ease;
}

.nav-links > a:hover {
    color: var(--blue);
}

.nav-links .nav-cta {
    padding: 12px 19px;
    background: var(--blue);
    color: var(--white);
    border-radius: 5px;
}

.nav-links .nav-cta:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    width: 40px;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 4px;
    font-size: .88rem;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-gold {
    background: var(--gold);
    color: var(--ink);
}

.button-gold:hover {
    background: #f0ca69;
}

.button-blue {
    background: var(--blue);
    color: var(--white);
}

.button-blue:hover {
    background: var(--blue-dark);
}

.button-outline {
    border: 1px solid rgba(255,255,255,.75);
    color: var(--white);
}

.button-outline:hover {
    background: var(--white);
    color: var(--ink);
}

.button-whatsapp {
    background: #168c55;
    color: var(--white);
}

/* Hero */

.hero {
    min-height: 650px;
    height: min(760px, 78vh);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--blue-deep);
    color: var(--white);
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/optimized/hero-1.webp');
    background-position: center 48%;
    background-size: cover;
    transform: scale(1.01);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(12, 38, 53, .94) 0%,
        rgba(18, 60, 80, .78) 48%,
        rgba(18, 60, 80, .15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 65px;
}

.hero-copy {
    max-width: 700px;
}

.hero-eyebrow {
    color: var(--gold);
}

.hero h1 {
    font-size: clamp(3.2rem, 7vw, 5.7rem);
    font-weight: 800;
    letter-spacing: -3.5px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-copy > p {
    max-width: 580px;
    color: rgba(255,255,255,.85);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    color: rgba(255,255,255,.75);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-note-line {
    height: 2px;
    width: 45px;
    background: var(--gold);
}

.hero-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(13, 43, 58, .65);
    border-top: 1px solid rgba(255,255,255,.15);
}

.hero-bottom-inner {
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,.8);
    font-size: .8rem;
}

.hero-bottom a {
    color: var(--gold);
    font-weight: 700;
}

/* Introduction */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
}

.intro-grid h2 {
    max-width: 490px;
}

.intro-copy p + p {
    margin-top: 17px;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    margin-top: 25px;
    color: var(--blue-dark);
    font-weight: 800;
}

/* Solutions */

.solutions-section {
    background: var(--light);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 55px;
    margin-bottom: 48px;
}

.section-heading > div {
    max-width: 600px;
}

.section-heading > p {
    max-width: 420px;
    padding-bottom: 5px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.solution-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    padding: 36px 30px;
    min-height: 335px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(23,43,53,.09);
}

.featured-solution {
    border-top: 4px solid var(--blue);
}

.solution-number {
    position: absolute;
    right: 28px;
    top: 25px;
    color: #c6d6de;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
}

.solution-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    background: #eaf5fa;
    color: var(--blue-dark);
    font-size: 1.6rem;
    margin-bottom: 27px;
    border-radius: 5px;
}

.solution-card h3 {
    font-size: 1.28rem;
    margin-bottom: 14px;
}

.solution-card p {
    font-size: .92rem;
    margin-bottom: 25px;
}

.solution-card a {
    color: var(--blue-dark);
    font-size: .82rem;
    font-weight: 800;
}

/* Feature */

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
}

.feature-image {
    min-height: 500px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 85px clamp(35px, 7vw, 110px);
    align-self: center;
}

.feature-content h2 {
    margin-bottom: 20px;
}

.feature-content > p {
    margin-bottom: 23px;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--ink);
    font-size: .92rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800;
}

/* Projects */

.projects-section {
    background: var(--light);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    position: relative;
    height: 340px;
    overflow: hidden;
    background: var(--blue-deep);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-card:hover img {
    transform: scale(1.06);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 30% 0 0;
    background: linear-gradient(transparent, rgba(12,32,43,.9));
}

.project-caption {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 20px;
    z-index: 2;
    color: var(--white);
}

.project-caption span {
    color: var(--gold);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.project-caption h3 {
    font-size: 1.2rem;
    margin-top: 8px;
    color: var(--white);
}

.project-disclaimer {
    font-size: .76rem;
    margin-top: 20px;
}

/* CTA */

.cta-section {
    background: var(--blue-deep);
    color: var(--white);
    padding: 65px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta-section .eyebrow {
    color: var(--gold);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 10px;
}

.cta-section p {
    color: rgba(255,255,255,.75);
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-intro h2 {
    margin-bottom: 20px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.contact-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
}

.contact-label {
    display: block;
    font-size: .7rem;
    letter-spacing: 1.7px;
    color: var(--blue-dark);
    font-weight: 800;
    margin-bottom: 9px;
}

.contact-item a,
.contact-item p {
    font-size: .95rem;
    color: var(--ink);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--blue);
}

.contact-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */

.site-footer {
    background: #102f40;
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;
    padding-top: 65px;
    padding-bottom: 55px;
}

.footer-logo .brand-name span {
    color: var(--white);
}

.footer-logo .brand-tagline {
    color: var(--gold);
}

.footer-brand p {
    color: rgba(255,255,255,.65);
    max-width: 310px;
    font-size: .9rem;
    margin-top: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 12px;
    font-size: .87rem;
    color: rgba(255,255,255,.72);
}

.footer-links h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
}

.footer-bottom-inner {
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,.6);
    font-size: .78rem;
}

.floating-whatsapp {
    position: fixed;
    z-index: 30;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #168c55;
    color: white;
    font-size: .9rem;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

/* Responsive */

@media (max-width: 900px) {
    .nav-links {
        gap: 17px;
    }

    .intro-grid,
    .contact-grid {
        gap: 45px;
    }

    .feature-content {
        padding: 60px 35px;
    }

    .footer-main {
        gap: 40px;
    }
}

@media (max-width: 700px) {
    .container {
        width: min(100% - 36px, 540px);
    }

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

    .top-strip-inner {
        justify-content: center;
        padding: 9px 0;
    }

    .top-strip-inner > span {
        display: none;
    }

    .navbar {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 111px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 25px 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 15px 20px rgba(0,0,0,.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > a {
        padding: 13px 0;
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        min-height: 620px;
        height: auto;
    }

    .hero-overlay {
        background: linear-gradient(90deg,
            rgba(12,38,53,.92),
            rgba(18,60,80,.7));
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 4.5rem);
        letter-spacing: -2.5px;
    }

    .hero-copy > p {
        font-size: .98rem;
    }

    .hero-bottom-inner {
        font-size: .72rem;
    }

    .intro-grid,
    .contact-grid,
    .feature-section {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        gap: 25px;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 18px;
    }

    .solution-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
    }

    .feature-image {
        min-height: 320px;
    }

    .feature-content {
        padding: 65px 24px;
    }

    .project-card {
        height: 300px;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-grid {
        gap: 40px;
    }

    .contact-details {
        gap: 20px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 15px 0;
    }
}

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

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }
}
