@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@600;700;800&display=swap');

:root {
    --navy: #083f46;
    --teal: #0f6670;
    --lime: #9bcc32;
    --orange: #f58220;
    --ink: #10292d;
    --muted: #60777a;
    --cream: #fbfaf3;
    --white: #fff;
    --line: #dce8e5;
    --shadow: 0 18px 55px rgba(8, 63, 70, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.72;
    letter-spacing: -.01em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.nav-links,
.btn,
.nav-cta {
    font-family: 'Manrope', 'Inter', sans-serif;
}

p {
    margin-top: 0;
}

::selection {
    background: rgba(155, 204, 50, .28);
    color: var(--navy)
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto
}

.section {
    padding: 88px 0
}

.section-sm {
    padding: 58px 0
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--teal);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem
}

.eyebrow:before {
    content: '';
    width: 28px;
    height: 3px;
    background: var(--lime);
    border-radius: 4px
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    margin: .5rem 0 1rem;
    letter-spacing: -.05em;
    text-wrap: balance
}

.lead {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--muted);
    max-width: 760px
}

.topbar {
    background: var(--navy);
    color: #dff7f4;
    font-size: .88rem
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    flex-wrap: wrap
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid rgba(220, 232, 229, .9);
    box-shadow: 0 8px 28px rgba(8, 63, 70, .04)
}

.nav-wrap {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.05;
    letter-spacing: -.025em
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 24px rgba(8, 63, 70, .25)
}

.brand small {
    display: block;
    color: var(--lime);
    font-size: .7rem;
    letter-spacing: .12em;
    margin-top: 4px
}

.nav-links {
    display: flex;
    gap: clamp(14px, 1.7vw, 26px);
    align-items: center;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .015em
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #244449;
    transition: color .25s ease, transform .25s ease
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lime), var(--teal));
    transition: left .25s ease, right .25s ease
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal)
}

.nav-links a:hover::after,
.nav-links a.active::after {
    left: 0;
    right: 0
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    padding: 13px 21px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease
}

.nav-cta,
.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 25px rgba(245, 130, 32, .25)
}

.btn-primary:hover {
    transform: translateY(-2px)
}

.btn-secondary {
    border-color: rgba(255, 255, 255, .45);
    color: #fff
}

.btn-outline {
    border-color: var(--teal);
    color: var(--teal)
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 1.6rem
}

.hero {
    min-height: 720px;
    color: #fff;
    position: relative;
    display: grid;
    align-items: center;
    background: linear-gradient(90deg, rgba(4, 37, 42, .94), rgba(4, 37, 42, .72) 55%, rgba(4, 37, 42, .25)), url('../images/home-slider.jpg') center/cover
}

.hero:after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, transparent, #fff)
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1920px;
    padding: 95px 0 140px
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 6.3rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.065em;
    margin: 18px 0;
    text-wrap: balance;
    text-shadow: 0 8px 30px rgba(0, 0, 0, .22)
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    font-weight: 400;
    line-height: 1.8;
    color: #e2f2f0;
    max-width: 700px
}

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

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px
}

.hero-badges span {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .82rem
}

.stats {
    margin-top: -65px;
    position: relative;
    z-index: 3
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.stat {
    padding: 30px;
    border-right: 1px solid var(--line)
}

.stat:last-child {
    border: 0
}

.stat strong {
    display: block;
    font-size: 2rem;
    color: var(--teal)
}

.stat span {
    font-size: .9rem;
    color: var(--muted)
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 52px;
    align-items: center
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(8, 63, 70, .06);
    transition: .3s
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow)
}

.card-body {
    padding: 24px
}

.service-card img {
    height: 230px;
    width: 100%;
    object-fit: cover
}

.service-card h3 {
    margin: .1rem 0 .4rem
}

.service-card p {
    color: var(--muted)
}

.link-arrow {
    color: var(--teal);
    font-weight: 800
}

.feature-list {
    display: grid;
    gap: 14px;
    margin-top: 24px
}

.feature {
    display: flex;
    gap: 14px
}

.icon {
    flex: 0 0 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #eaf5d1;
    color: var(--navy);
    font-weight: 900
}

.band {
    background: var(--cream)
}

.dark {
    background: var(--navy);
    color: #fff
}

.dark .lead,
.dark p {
    color: #cce1de
}

.image-stack {
    position: relative
}

.image-stack img {
    border-radius: 26px;
    box-shadow: var(--shadow)
}

.image-stack .mini {
    position: absolute;
    width: 48%;
    right: -5%;
    bottom: -10%;
    border: 8px solid #fff
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px
}

.industry {
    padding: 18px 10px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    font-weight: 700;
    font-size: .86rem
}

.industry b {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 4px
}

.cta {
    border-radius: 30px;
    background: linear-gradient(135deg, var(--teal), var(--navy));
    padding: 48px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.page-hero {
    padding: 110px 0 80px;
    color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--teal));
    position: relative;
    overflow: hidden
}

.page-hero:after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--lime);
    opacity: .13;
    right: -120px;
    top: -200px
}

.breadcrumbs {
    font-size: .86rem;
    color: #c9e4e1
}

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

.product-card img {
    height: 280px;
    object-fit: cover;
    width: 100%
}

.tag {
    display: inline-block;
    background: #eef6dd;
    color: #416014;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .76rem;
    font-weight: 800
}

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: step
}

.process-item {
    padding: 26px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line)
}

.process-item:before {
    counter-increment: step;
    content: '0' counter(step);
    font-size: 2rem;
    font-weight: 900;
    color: var(--lime)
}

.gallery {
    columns: 3 280px;
    column-gap: 16px
}

.gallery img {
    margin-bottom: 16px;
    border-radius: 18px;
    width: 100%;
    break-inside: avoid
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 32px
}

.contact-card {
    padding: 28px;
    border-radius: 22px;
    background: var(--cream)
}

form {
    display: grid;
    gap: 14px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #cddeda;
    border-radius: 13px;
    padding: 14px 15px;
    font: inherit
}

textarea {
    min-height: 145px;
    resize: vertical
}

footer {
    background: #062f35;
    color: #c7ddda;
    padding: 66px 0 24px
}

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

.footer-title {
    color: #fff;
    font-weight: 800;
    margin-bottom: 14px
}

.footer-links {
    display: grid;
    gap: 9px
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 40px;
    padding-top: 20px;
    font-size: .85rem
}

.whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.65rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25)
}

@media(max-width:980px) {
    .nav-links {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 78px;
        background: #fff;
        padding: 20px;
        border-radius: 18px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch
    }

    .nav-links.open {
        display: flex
    }

    .menu-btn {
        display: block
    }

    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .grid-3,
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .industry-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:620px) {
    .topbar {
        display: none
    }

    .nav-wrap {
        height: 68px
    }

    .hero {
        min-height: 650px
    }

    .hero-content {
        padding-top: 70px
    }

    .section {
        padding: 66px 0
    }

    .stats {
        margin-top: -35px
    }

    .stats-grid,
    .grid-3,
    .grid-4,
    .product-grid,
    .process,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr
    }

    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cta {
        padding: 32px;
        align-items: flex-start;
        flex-direction: column
    }

    .image-stack .mini {
        position: relative;
        width: 75%;
        margin: -50px 0 0 auto;
        right: auto;
        bottom: auto
    }

    .gallery {
        columns: 1
    }

    .brand span {
        font-size: .85rem
    }
}

/* ===== Typography and interaction polish ===== */
.card h3,
.product-card h3,
.service-card h3,
.contact-card h3 {
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em
}

.card p,
.service-card p,
.product-card p,
.contact-card p,
.footer-links,
.feature {
    line-height: 1.72
}

button,
input,
textarea,
select {
    font-family: inherit
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(15, 102, 112, .1)
}

.nav-cta:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(245, 130, 32, .3)
}

.btn-outline:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-2px)
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
    transform: translateY(-2px)
}

.menu-btn {
    color: var(--navy);
    cursor: pointer;
    border-radius: 10px;
    transition: background-color .2s ease, color .2s ease
}

.menu-btn:hover {
    background: #eef6f4;
    color: var(--teal)
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

@media(max-width:980px) {
    .nav-links a {
        width: 100%;
        min-height: 48px;
        padding: 0 4px
    }

    .nav-links a::after {
        bottom: 2px
    }
}

@media(max-width:620px) {
    body {
        font-size: 15.5px;
        line-height: 1.68
    }

    .nav-links {
        font-size: .95rem
    }

    .hero h1 {
        letter-spacing: -.05em
    }
}

/* =========================================
   HEADER IMAGE LOGO
========================================= */

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: clamp(190px, 20vw, 285px);
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.brand:hover .brand-logo {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 10px rgba(8, 63, 70, 0.18));
}

/* Header alignment */
.nav-wrap {
    min-height: 82px;
    height: auto;
    padding: 7px 0;
}

/* Tablet */
@media (max-width: 980px) {
    .brand-logo {
        width: 220px;
        max-height: 58px;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .nav-wrap {
        min-height: 68px;
        padding: 6px 0;
    }

    .brand-logo {
        width: 175px;
        max-height: 52px;
    }
}

/* Small mobile */
@media (max-width: 390px) {
    .brand-logo {
        width: 150px;
        max-height: 46px;
    }
}