/* ========================================
   Trans AM Cable Inc — Custom Styles
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --forest-dark: #1B4332;
    --forest-mid: #2D6A4F;
    --forest-light: #40916C;
    --forest-pale: #52B788;
    --forest-ghost: #D8F3DC;
    --off-white: #F8F7F4;
    --cream: #F0EDE6;
    --sand: #E8E4DB;
    --charcoal: #1A1A1A;
    --slate: #2D3436;
    --gray-dark: #4A4A4A;
    --gray-mid: #6B7280;
    --gray-light: #9CA3AF;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.1);
    --shadow-lg: 0 12px 40px rgba(27, 67, 50, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.section-title-light {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-mid);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--forest-dark);
    color: var(--white);
    border-color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--forest-mid);
    border-color: var(--forest-mid);
}

.btn-outline {
    background: transparent;
    color: var(--forest-dark);
    border-color: var(--forest-dark);
}

.btn-outline:hover {
    background: var(--forest-dark);
    color: var(--white);
}

.btn-green {
    background: var(--forest-mid);
    color: var(--white);
    border-color: var(--forest-mid);
}

.btn-green:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
}

.btn-white {
    background: var(--white);
    color: var(--forest-dark);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--forest-ghost);
    border-color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--forest-dark);
    border-color: var(--white);
}

.btn-outline-green {
    background: transparent;
    color: var(--forest-dark);
    border-color: var(--forest-mid);
}

.btn-outline-green:hover {
    background: var(--forest-ghost);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 247, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    color: var(--charcoal);
    z-index: 1001;
}

.logo-text {
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--forest-mid);
}

.logo-light .logo-text {
    color: var(--white);
}

.logo-light .logo-accent {
    color: var(--forest-pale);
}

.header-phone {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--forest-mid);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--forest-ghost);
    transition: var(--transition);
}

.header-phone:hover {
    background: var(--forest-ghost);
}

.nav {
    display: none;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-dark);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--forest-dark);
    background: var(--forest-ghost);
}

.nav-cta {
    background: var(--forest-dark);
    color: var(--white) !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--forest-mid);
}

.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 4px;
}

.nav-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--forest-ghost);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--off-white);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav.open {
        opacity: 1;
        pointer-events: all;
    }

    .nav ul {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .nav-link {
        font-size: 20px;
        padding: 12px 24px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
    }

    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }

    .nav-toggle {
        display: none;
    }

    .header-phone {
        display: inline-flex;
    }
}

/* --- Hero --- */
.hero {
    padding-top: 72px;
    background: var(--off-white);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 0 80px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--forest-ghost);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--forest-pale);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--forest-mid);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--gray-mid);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--forest-dark);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-mid);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--sand);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--off-white);
}

.hero-img-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hero-accent-block {
    position: absolute;
    top: -20px;
    left: -16px;
    background: var(--forest-dark);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--forest-ghost) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        padding: 80px 0 100px;
        gap: 60px;
    }

    .hero-img-main img {
        height: 520px;
    }

    .hero-img-secondary img {
        height: 220px;
    }
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services .container {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 56px;
}

.service-card {
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--forest-ghost);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--forest-ghost);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-dark);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--forest-dark);
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 15px;
    color: var(--gray-mid);
    line-height: 1.7;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services {
        padding: 120px 0;
    }

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

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-collect {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: -24px;
    right: -16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--off-white);
}

.about-img-float img {
    width: 240px;
    height: 180px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -16px;
    left: -12px;
    background: var(--forest-dark);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.exp-label {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.85;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-body {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 28px 0 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
}

.value-item svg {
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

@media (min-width: 1024px) {
    .about {
        padding: 120px 0;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .about-img-main img {
        height: 500px;
    }

    .about-img-float img {
        width: 280px;
        height: 210px;
    }
}

/* --- Why Us --- */
.why-us {
    padding: 100px 0;
    background: var(--forest-dark);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.why-us-header {
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(82, 183, 136, 0.3);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(82, 183, 136, 0.3);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-us {
        padding: 120px 0;
    }

    .why-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Projects --- */
.projects {
    padding: 100px 0;
    background: var(--white);
}

.projects .container {
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 56px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, rgba(27, 67, 50, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(82, 183, 136, 0.3);
    color: var(--forest-pale);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.project-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.project-card-large {
    grid-column: 1 / -1;
}

.project-card-large img {
    height: 360px;
}

.project-card-wide {
    grid-column: 1 / -1;
}

.project-card-wide img {
    height: 240px;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card-large {
        grid-column: span 2;
    }

    .project-card-wide {
        grid-column: span 2;
    }

    .project-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(27, 67, 50, 0.85) 0%, transparent 60%);
    }
}

@media (min-width: 1024px) {
    .projects {
        padding: 120px 0;
    }

    .project-card img {
        height: 300px;
    }

    .project-card-large img {
        height: 400px;
    }
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--cream);
}

.testimonials .container {
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 56px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--charcoal);
}

.author-location {
    font-size: 13px;
    color: var(--gray-light);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials {
        padding: 120px 0;
    }
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background: var(--forest-mid);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 67, 50, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-inner {
        flex-direction: row;
        text-align: left;
    }

    .cta-actions {
        justify-content: flex-start;
    }
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-body {
    font-size: 16px;
    color: var(--gray-mid);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--forest-ghost);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-dark);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-light);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 15px;
    color: var(--charcoal);
    line-height: 1.6;
}

.contact-link {
    color: var(--forest-mid);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--forest-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--sand);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 24px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--charcoal);
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest-mid);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 28px;
    gap: 16px;
}

.form-success.show {
    display: flex;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--forest-ghost);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.form-success p {
    font-size: 15px;
    color: var(--gray-mid);
    line-height: 1.7;
    max-width: 300px;
}

@media (min-width: 1024px) {
    .contact {
        padding: 120px 0;
    }

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

    .contact-form-wrap {
        padding: 40px 36px;
    }
}

/* --- Footer --- */
.site-footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--forest-pale);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}
