:root {
    --bg: #f3f3f2;
    --text: #0f0f0f;
    --muted: #6f6f6f;
    --dark: #101614;
    --dark2: #0c1210;

    --hero: #5c5c5c;
    --map: #5c5c5c;

    --card: #e9e9e7;
    --line: #cfcfcf;

    --accent: #98ff7a;
    --accentText: #0a0f0c;

    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --container: 1180px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

button,
input,
textarea {
    font: inherit
}

svg {
    display: block
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

/* ===== Header ===== */
header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .6px;
    flex: 0 0 auto;
}

.brand svg {
    width: 34px;
    height: 34px
}

.brand span {
    font-size: 28px
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
    font-size: 13px;
    color: #1a1a1a;
    white-space: nowrap;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}

.nav .dd {
    display: flex;
    align-items: center;
    gap: 6px
}

.nav .caret {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: rotate(45deg);
    margin-top: -2px;
    opacity: .8;
}

.cta {
    background: var(--accent);
    color: var(--accentText);
    border: 0;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    cursor: pointer;
    flex: 0 0 auto;
}

/* ===== Hero ===== */
.hero {
    padding: 18px 0 0
}

.hero-box {
    background: var(--hero);
    border-radius: var(--radius-lg);
    min-height: 220px;
    display: flex;
    align-items: center;
    padding: 34px;
}

.hero-title {
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .8px;
    font-size: 44px;
    line-height: 1;
}

.breadcrumb {
    margin-top: 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
}

.breadcrumb a {
    color: var(--accent)
}

.breadcrumb span {
    color: #ffffff
}

/* ===== Contact section ===== */
/* Updated Layout Container */
.contact-wrapper {
    display: flex;
    justify-content: center;
    /* Centers the content */
    width: 100%;
}

.contact-content {
    width: 100%;
    max-width: 800px;
    /* Limits width for better readability in a vertical stack */
}

/* Maintain the 2-column look for Info Cards even in vertical mode */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-bottom: 40px;
    /* Space between info and form */
}

/* Soft design for the Form Card */
.form-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 40px;
    /* Increased padding for a "softer" spacious feel */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Responsive Fix for small screens */
@media (max-width: 620px) {
    .info-grid {
        grid-template-columns: 1fr;
        /* Stack info cards on mobile */
    }

    .form-card {
        padding: 24px;
    }
}

/* ===== Form card ===== */
.form-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.form-card h3 {
    margin: 0 0 16px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: .5px;
}

.field {
    width: 100%;
    height: 44px;
    border: 0;
    outline: none;
    background: #ffffff;
    border-radius: 10px;
    padding: 0 14px;
    font-weight: 700;
    color: #222;
    box-shadow: inset 0 0 0 1px #e1e1e1;
}

.field::placeholder {
    color: #a0a0a0
}

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 14px;
}

.stack {
    display: grid;
    gap: 14px
}

textarea.field {
    height: 120px;
    padding: 12px 14px;
    resize: none;
}

.submit {
    width: 100%;
    height: 46px;
    margin-top: 14px;
    background: var(--accent);
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    cursor: pointer;
    color: var(--accentText);
}

/* ===== Map placeholder ===== */
.map {
    height: 260px;
    background: var(--map);
    margin: 34px 0 0;
    border-radius: var(--radius-lg);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(180deg, var(--dark), var(--dark2));
    color: #ffffff;
    padding: 58px 0 18px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-size: 34px;
}

.footer-brand svg {
    width: 44px;
    height: 44px
}

.footer-desc {
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    gap: 26px;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .35px;
    font-size: 12px;
    color: rgba(255, 255, 255, .9);
    flex-wrap: wrap;
    /* ✅ responsive wrap */
    justify-content: center;
    /* ✅ keep centered when wrapped */
}

.footer-line {
    height: 1px;
    background: rgba(255, 255, 255, .18);
    margin: 28px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 36px;
    align-items: start;
}

.col h5 {
    margin: 0 0 14px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .5px;
    font-size: 13px;
}

.col p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.7;
    word-break: break-word;
}

.socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.social {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    flex: 0 0 auto;
}

.social svg {
    width: 15px;
    height: 15px;
    opacity: .95
}

.newsletter {
    display: grid;
    gap: 12px
}

.newsletter input {
    height: 44px;
    border-radius: 10px;
    border: 0;
    outline: none;
    padding: 0 14px;
    font-weight: 700;
    color: #111;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    width: 100%;
}

.newsletter input::placeholder {
    color: #a6a6a6
}

.newsletter button {
    height: 46px;
    border-radius: 999px;
    border: 0;
    background: var(--accent);
    color: var(--accentText);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    cursor: pointer;
    width: 100%;
}

.footer-bottom {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, .55);
    font-weight: 700;
    font-size: 11px;
    flex-wrap: wrap;
    /* ✅ allow wrapping */
}

/* =========================
       RESPONSIVE FIXES (layout only)
       ========================= */

/* Tablet: header wraps, contact becomes single column */
@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr
    }

    .map {
        height: 220px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start
    }
}

/* Header + hero scale down smoothly */
@media (max-width: 980px) {
    .nav-row {
        height: auto;
        /* ✅ remove fixed height */
        padding: 14px 0;
        /* ✅ add padding */
        flex-wrap: wrap;
        /* ✅ allow wrap */
    }

    .nav {
        width: 100%;
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 12px;
        column-gap: 22px;
    }

    .cta {
        order: 2
    }

    .brand {
        order: 1
    }

    .hero-box {
        min-height: 180px;
        padding: 26px;
    }

    .hero-title {
        font-size: clamp(30px, 5vw, 44px);
        /* ✅ responsive title */
    }
}

/* Contact info stack + form fields stack */
@media (max-width: 760px) {
    .container {
        padding: 0 16px
    }

    .contact {
        padding: 40px 0 34px
    }

    .contact-grid {
        gap: 22px
    }

    .left h2 {
        font-size: clamp(26px, 5vw, 38px)
    }

    .info-grid {
        grid-template-columns: 1fr;
        /* ✅ stack cards */
        gap: 18px;
    }

    .form-card {
        padding: 18px
    }

    .form-card h3 {
        font-size: 24px
    }
}

@media (max-width: 620px) {
    .row2 {
        grid-template-columns: 1fr
    }

    /* ✅ stack Email/Phone */
    .nav {
        font-size: 12px;
        column-gap: 16px;
    }

    .brand span {
        font-size: 24px
    }

    .hero-box {
        padding: 22px
    }
}

/* Small phones */
@media (max-width: 480px) {
    .brand span {
        font-size: 22px
    }

    .cta {
        width: 100%
    }

    /* ✅ button fits */
    .nav-row {
        gap: 12px
    }

    .hero-title {
        letter-spacing: .6px
    }

    .footer-brand {
        font-size: 28px
    }

    .footer-brand svg {
        width: 38px;
        height: 38px
    }
}