/* ================================================
   contact.css — Contact Us Page
   Append-only / section-specific styles
   Reuses base style.css + about.css patterns
   ================================================ */


/* ── PAGE HERO (base — self-contained, no about.css needed) ── */
.page-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 180px 0 80px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(.3);
    transform: scale(1.04);
}

.page-hero-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.55) 40%,
        #000 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    letter-spacing: .5px;
    margin-bottom: 32px;
}
.breadcrumb a {
    color: rgba(255,255,255,.55);
    transition: color .2s ease;
}
.breadcrumb a:hover { color: #C4EF17; }
.bc-sep { color: rgba(255,255,255,.25); }
.bc-current {
    color: #C4EF17;
    font-weight: 500;
}

/* Hero title */
.page-hero-title {
    font-family: 'Marcellus', serif;
    color: #fff;
    font-size: clamp(48px, 7vw, 100px);
    line-height: 1.05;
    letter-spacing: -.02em;
    margin-bottom: 32px;
}
.page-hero-title em {
    display: block;
    color: #C4EF17;
    font-style: normal;
}
.page-hero-title .skew-in {
    display: block;
    padding: 0.5rem;
}


/* ── CONTACT HERO EXTRAS ── */
.contact-hero-intro {
    font-size: clamp(15px, 1.3vw, 18px);
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    max-width: 680px;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.contact-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .02em;
    transition: color .2s ease;
}
.contact-hero-phone:hover { color: #C4EF17; }


/* ── Responsive ── */
@media (max-width: 700px) {
    .page-hero {
        padding: 140px 0 60px;
        min-height: auto;
    }
}


/* ── OUR IMPACT (stats) ── */
.contact-stats {
    padding: 80px 0;
    background: #050505;
    position: relative;
}
.contact-stats::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; max-width: 600px; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(196,239,23,.3) 50%, transparent 100%);
}

.impact-head {
    text-align: center;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.impact-head h2 { margin-top: 10px; }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.06);
}

.impact-box {
    background: #080808;
    padding: 48px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background .3s ease;
}
.impact-box:hover { background: #0c0c0c; }

.impact-box::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: #C4EF17;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.impact-box:hover::before { transform: scaleX(1); }

.impact-num {
    font-family: 'Marcellus', serif;
    font-size: clamp(42px, 4.5vw, 64px);
    color: #C4EF17;
    line-height: 1;
    margin-bottom: 12px;
}

.impact-label {
    font-family: 'Marcellus', serif;
    font-size: 17px;
    color: #fff;
    margin-bottom: 6px;
}

.impact-desc {
    font-size: 13px;
    color: rgba(255,255,255,.4);
    letter-spacing: .2px;
}


/* ── GET IN TOUCH (3 contact cards) ── */
.get-in-touch {
    padding: 80px 0;
}

.git-head {
    text-align: center;
    margin-bottom: 56px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.git-head h2 { margin: 10px 0 18px; }
.git-head > p {
    font-size: 16px;
    color: rgba(255,255,255,.5);
    line-height: 1.8;
}

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

.git-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition:
        border-color .35s ease,
        transform .35s cubic-bezier(.16,1,.3,1),
        background .35s ease;
}
.git-card:hover {
    border-color: rgba(196,239,23,.3);
    background: #0e0e0e;
    transform: translateY(-4px);
}

.git-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 100%; height: 2px;
    background: #C4EF17;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.git-card:hover::before { transform: scaleX(1); }

.git-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(196,239,23,.08);
    border: 1px solid rgba(196,239,23,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.git-card:hover .git-icon {
    transform: rotate(8deg) scale(1.06);
}

.git-tag {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #C4EF17;
    margin-bottom: 10px;
}

.git-card h3 {
    font-family: 'Marcellus', serif;
    font-size: clamp(18px, 1.6vw, 22px);
    color: #fff;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.35;
    word-break: break-word;
}

.git-card p {
    font-size: 14px;
    color: rgba(255,255,255,.45);
    line-height: 1.6;
    margin-bottom: 0;
}

.git-arrow {
    position: absolute;
    top: 28px; right: 28px;
    font-size: 20px;
    color: rgba(255,255,255,.2);
    line-height: 1;
    transition: color .3s ease, transform .3s ease;
}
.git-card:hover .git-arrow {
    color: #C4EF17;
    transform: translate(4px, -4px);
}


/* ── SEND US A MESSAGE (form section) ── */
.contact-form-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.cf-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cf-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(.08);
}
.cf-ov {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.85) 50%, rgba(10,10,10,.92) 100%);
    z-index: 1;
}
.contact-form-section .container {
    position: relative;
    z-index: 2;
}

.cf-inner {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: start;
}

.cf-left h2 {
    margin: 10px 0 20px;
}

.cf-left > p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cf-perks {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.08);
}
.cf-perks li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    font-size: 15px;
    color: rgba(255,255,255,.7);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Form card */
.cf-card {
    background: rgba(8,8,8,.97);
    border: 1px solid rgba(255,255,255,.08);
    border-top: 2px solid #C4EF17;
    padding: 48px 44px;
    backdrop-filter: blur(12px);
}
.cf-card h3 {
    font-family: 'Marcellus', serif;
    font-size: 24px;
    color: #fff;
    margin-bottom: 32px;
    font-weight: 400;
}

/* Reuses .field, .form-row, .btn-submit from style.css */
.cf-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    text-align: center;
    margin-top: 16px;
    line-height: 1.6;
}
.cf-disclaimer a {
    color: #C4EF17;
    text-decoration: underline;
    text-decoration-color: rgba(196,239,23,.3);
    transition: text-decoration-color .2s ease;
}
.cf-disclaimer a:hover { text-decoration-color: #C4EF17; }


/* ── TRUSTED ENGINEERING PARTNER ── */
.trust-partner {
    padding: 80px 0;
}

.tp-head {
    text-align: center;
    margin-bottom: 64px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.tp-head h2 { margin-top: 10px; }

.tp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.06);
}

.tp-item {
    background: #000;
    padding: 44px 30px 40px;
    position: relative;
    overflow: hidden;
    transition: background .3s ease;
}
.tp-item:hover { background: #0a0a0a; }

.tp-item::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: #C4EF17;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.tp-item:hover::before { transform: scaleX(1); }

.tp-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(196,239,23,.08);
    border: 1px solid rgba(196,239,23,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    padding: 12px;
}
.tp-item:hover .tp-icon { transform: rotate(6deg) scale(1.05); }

.tp-item h3 {
    font-family: 'Marcellus', serif;
    font-size: 17px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.3;
    font-weight: 400;
}

.tp-item p {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
}


/* ── FINAL CTA ── */
.final-cta-section {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
    text-align: center;
}

.fc-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.fc-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(.14);
}

.fc-ov {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,.5) 0%, rgba(0,0,0,.92) 70%);
    z-index: 1;
}

.fc-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .5;
    pointer-events: none;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; max-width: 800px; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(196,239,23,.5) 50%, transparent 100%);
    z-index: 3;
}

.final-cta-section .container {
    position: relative;
    z-index: 3;
}

.fc-inner {
    max-width: 780px;
    margin: 0 auto;
}

.fc-inner .sec-tag {
    margin-bottom: 18px;
}

.fc-inner h2 {
    font-size: clamp(36px, 5.5vw, 68px);
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.1;
}
.fc-inner h2 em {
    color: #C4EF17;
    font-style: normal;
}

.fc-inner > p {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.fc-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.fc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .2s ease,
        gap .2s ease;
}

.fc-btn svg { transition: transform .25s ease; }
.fc-btn:hover { gap: 16px; transform: translateY(-2px); }
.fc-btn:hover svg { transform: translate(2px, -2px); }

/* Primary — lime fill */
.fc-btn-primary {
    background: #C4EF17;
    color: #000;
    border: 1px solid #C4EF17;
}
.fc-btn-primary:hover {
    background: #fff;
    border-color: #fff;
}

/* Outline — transparent with lime border */
.fc-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
}
.fc-btn-outline:hover {
    border-color: #C4EF17;
    color: #C4EF17;
}

/* Ghost — just text with underline */
.fc-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.7);
    border: 1px solid transparent;
    padding: 16px 12px;
}
.fc-btn-ghost:hover {
    color: #C4EF17;
}

/* ── FINAL CTA ── */
.about-cta {
    padding: 80px;
    text-align: center;
    position: relative;
}
.about-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; max-width: 800px; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(196,239,23,.4) 50%, transparent 100%);
}

.about-cta-inner {
    max-width: 720px;
    margin: 0 auto;
}
.about-cta h2 {
    font-size: clamp(36px, 5vw, 60px);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
}
.about-cta h2 em { color: #C4EF17; font-style: normal; }
.about-cta p {
    font-size: 16px;
    color: rgba(255,255,255,.55);
    margin-bottom: 36px;
}

/* Style matches offcanvas-cta button */
.about-cta-btn {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px; font-weight: 600;
    letter-spacing: .05em;
    color: #000; background: #C4EF17;
    padding: 18px 42px;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease;
    text-align: center;
    border-radius: 2px;
}
.about-cta-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}


/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .impact-grid { grid-template-columns: 1fr 1fr; }
    .git-grid { grid-template-columns: 1fr; gap: 16px; }
    .cf-inner { grid-template-columns: 1fr; gap: 48px; }
    .tp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .contact-stats,
    .get-in-touch,
    .contact-form-section,
    .trust-partner { padding: 72px 0; }
    .about-cta { padding: 72px 0 100px; }

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

    .contact-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .impact-grid { grid-template-columns: 1fr; }
    .impact-box { padding: 36px 24px; }

    .git-card { padding: 36px 28px; }

    .cf-card { padding: 32px 24px; }

    .tp-grid { grid-template-columns: 1fr; }

    .fc-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .fc-btn { justify-content: center; }
}