:root {
    --primary: #7a9eaa;
    --cream: #fbfaf4;
    --dark: #59625f;
    --sage: #bdc1a0;
    --red: #6f1010;
    --white: #ffffff;
    --black: #1d2523;

    --container: 1180px;
    --radius: 18px;
    --shadow: 0 20px 50px rgba(89, 98, 95, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: "Manrope", sans-serif;
    line-height: 1.15;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(251, 250, 244, 0.94);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(89, 98, 95, 0.08);
}

.nav-container {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-family: "Manrope";
    font-weight: 800;
    font-size: 21px;
}

.logo strong {
    display: block;
    font-family: "Manrope";
    font-size: 17px;
    letter-spacing: 1px;
}

.logo small {
    display: block;
    font-size: 8px;
    letter-spacing: 2.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    font-size: 13px;
    font-weight: 600;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav-btn {
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--red);
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 27px;
}


/* HERO */

.hero {
    min-height: 100vh;
    padding-top: 82px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 25%, rgba(122,158,170,.25), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(189,193,160,.22), transparent 30%);
}

.hero-content {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 50px;
    position: relative;
}

.eyebrow,
.section-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary);
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    max-width: 700px;
    margin: 20px 0;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--red);
}

.hero-text > p {
    max-width: 650px;
    font-size: 18px;
    color: #69726e;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.btn-primary {
    background: var(--red);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(111,16,16,.2);
}

.btn-outline {
    border: 1px solid var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: white;
}

.btn-dark {
    background: var(--dark);
    color: white;
}

.btn-light {
    background: var(--cream);
    color: var(--dark);
}

.hero-trust {
    display: flex;
    gap: 45px;
    margin-top: 55px;
}

.hero-trust strong {
    display: block;
    font-size: 24px;
    color: var(--dark);
}

.hero-trust span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* HERO VISUAL */

.hero-visual {
    min-height: 550px;
    display: grid;
    place-items: center;
    position: relative;
}

.tech-circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary), var(--sage));
    display: grid;
    place-items: center;
    box-shadow: 0 40px 80px rgba(89,98,95,.18);
}

.circle-inner {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--dark);
    display: grid;
    place-items: center;
    color: var(--cream);
    font-size: 70px;
    font-family: monospace;
}

.floating-card {
    position: absolute;
    padding: 16px 22px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.floating-card span {
    color: var(--red);
    margin-right: 7px;
}

.card-one {
    top: 100px;
    left: 5%;
}

.card-two {
    right: 0;
    bottom: 120px;
}


/* SECTIONS */

.section {
    padding: 110px 0;
}

.intro-section {
    background: var(--dark);
    color: white;
}

.intro-section h2,
.intro-section p {
    color: white;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.intro-section .section-label {
    color: var(--sage);
}

h2 {
    font-size: clamp(36px, 4vw, 54px);
    margin-top: 15px;
    letter-spacing: -2px;
}

.large-text {
    font-size: 23px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 800;
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}


/* SERVICES */

.services-preview {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 55px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 35px;
    border: 1px solid rgba(89,98,95,.12);
    border-radius: var(--radius);
    background: rgba(255,255,255,.4);
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    background: var(--primary);
    color: white;
}

.service-card.featured h3,
.service-card.featured p {
    color: white;
}

.icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--sage);
    margin-bottom: 25px;
    font-size: 22px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: #727a76;
}

.service-card a {
    display: inline-block;
    margin-top: 22px;
    font-size: 13px;
    font-weight: 800;
}


/* IMAGE SECTION */

.image-section {
    background: #eef0e7;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-box {
    height: 580px;
    overflow: hidden;
    border-radius: 25px;
}

.image-box img {
    height: 100%;
    object-fit: cover;
}

.image-content p {
    margin: 25px 0;
    color: #68716c;
}

.check-list {
    margin: 25px 0;
}

.check-list div {
    margin: 12px 0;
    font-weight: 600;
}


/* STATS */

.stats-section {
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat {
    padding: 20px;
    border-right: 1px solid rgba(89,98,95,.15);
}

.stat:last-child {
    border: none;
}

.stat strong {
    display: block;
    font-family: "Manrope";
    font-size: 50px;
    color: var(--red);
}

.stat span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11px;
}


/* CTA */

.cta-section {
    padding: 120px 0;
    background:
        linear-gradient(rgba(89,98,95,.94), rgba(89,98,95,.94)),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=85");
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-content {
    max-width: 800px;
}

.cta-section h2 {
    color: white;
    font-size: clamp(42px, 6vw, 70px);
    margin: 20px 0;
}

.cta-section p {
    color: rgba(255,255,255,.75);
    font-size: 18px;
    margin-bottom: 30px;
}

.section-label.light {
    color: var(--sage);
}


/* FOOTER */

.footer {
    background: #202825;
    color: rgba(255,255,255,.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 70px;
}

.footer .logo strong {
    color: white;
}

.footer .logo small {
    color: var(--sage);
}

.footer-brand p {
    max-width: 300px;
    margin-top: 20px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-column a,
.footer-column p {
    display: block;
    font-size: 13px;
    margin: 9px 0;
}

.footer-column a:hover {
    color: var(--sage);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 25px 0;
    font-size: 12px;
}


/* RESPONSIVE */

@media(max-width: 1050px) {

    .nav {
        gap: 14px;
    }

    .nav-btn {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 80px 0;
    }

    .hero-visual {
        min-height: 400px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media(max-width: 760px) {

    .nav {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        background: var(--cream);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 20px;
    }

    .tech-circle {
        width: 280px;
        height: 280px;
    }

    .circle-inner {
        width: 205px;
        height: 205px;
    }

    .two-column,
    .image-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        display: block;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat {
        border-bottom: 1px solid rgba(89,98,95,.15);
    }

    .stat strong {
        font-size: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .image-box {
        height: 400px;
    }
}
/* =========================================
   INNER PAGE STYLES
========================================= */

.page-hero {
    min-height: 65vh;
    padding-top: 82px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(122,158,170,.28),
            transparent 35%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(189,193,160,.25),
            transparent 35%
        );
}

.page-hero-content {
    padding: 100px 0;
}

.page-hero h1 {
    max-width: 850px;
    font-size: clamp(48px, 7vw, 80px);
    margin: 20px 0;
    letter-spacing: -3px;
}

.page-hero h1 span {
    color: var(--red);
    display: block;
}

.page-hero p {
    max-width: 650px;
    font-size: 19px;
    color: #6b7470;
}


/* PROJECTS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(89,98,95,.10);
    transition: .35s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.project-card > img {
    height: 300px;
    object-fit: cover;
}

.project-content {
    padding: 30px;
}

.project-content > span {
    color: var(--red);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 800;
}

.project-content h3 {
    font-size: 25px;
    margin: 12px 0;
}

.project-content p {
    color: #6d7671;
    font-size: 14px;
}

.project-content a {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 800;
}


/* CONTACT */

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.contact-info > p {
    margin: 25px 0;
    color: #6d7671;
}

.contact-item {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    border-radius: 13px;
    background: var(--sage);
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--dark);
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 13px;
    color: #737b77;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dce0dc;
    background: #fbfaf4;
    border-radius: 8px;
    padding: 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--dark);
    outline: none;
    transition: .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

#formMessage {
    margin-top: 15px;
    color: var(--red);
    font-size: 13px;
    font-weight: 700;
}


/* MAP */

.map-placeholder {
    min-height: 400px;
    border-radius: 25px;
    padding: 60px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(122,158,170,.88),
            rgba(89,98,95,.92)
        ),
        url("https://images.unsplash.com/photo-1524666041070-9f5a7e5f1b7a?auto=format&fit=crop&w=1600&q=85");

    background-size: cover;
    background-position: center;
}

.map-placeholder h2 {
    color: white;
}

.map-placeholder p {
    color: rgba(255,255,255,.85);
    margin: 20px 0;
}


/* MOBILE INNER PAGES */

@media(max-width: 760px) {

    .page-hero {
        min-height: 60vh;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-card > img {
        height: 240px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-placeholder {
        padding: 35px;
        min-height: 350px;
    }

}