/* contact.css */

/* --- Hero Section --- */
.contact-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 280px;
    background-color: var(--text-color);
    display: flex;
    align-items: flex-end;
    margin-bottom: 80px;
    overflow: hidden;
}

.contact-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px 60px;
}

.contact-hero-title {
    font-size: var(--font-hero);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
}

/* --- Main Info & Map Section --- */
.contact-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 100px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-icon {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-color);
}

.contact-company-name {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.contact-company-sub {
    font-size: var(--font-h2);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 32px;
}

.contact-address {
    font-size: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.contact-meta {
    font-size: var(--font-body);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.btn-contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border: 1px solid var(--text-color);
    border-radius: 10px;
    font-size: var(--font-body);
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    min-width: 280px;
    letter-spacing: 0.02em;
}

.btn-contact-pill:hover {
    background: var(--text-color);
    color: #fff;
}

.contact-map-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8ebe8;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) contrast(0.95) brightness(1.05);
    opacity: 0.9;
}

/* --- Departments Section --- */
.departments-section {
    margin-bottom: 100px;
    width: 100%;
}

.dept-block {
    margin-bottom: 80px;
}

.dept-header-strip {
    background-color: #354035;
    margin-bottom: 40px;
    width: 100%;
}

.dept-header-strip .dept-title {
    color: #fff;
}

.contact-form-section .dept-header-strip {
    background: none;
}

.contact-form-section {
    margin-top: 120px;
}

.contact-form-outer {
    padding: 0 40px;
}

.dept-title {
    font-size: 24px;
    line-height: 3;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    border: none;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.dept-header-strip--center .dept-title {
    text-align: center;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.person-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.person-photo {
    width: 140px;
    height: 175px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e8ebe8;
    margin-bottom: 4px;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.person-info {
    display: flex;
    flex-direction: column;
}

.person-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.person-role {
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d8e0d6;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    letter-spacing: 0.05em;
}

.person-contact {
    font-size: var(--font-body);
    color: var(--text-light);
    line-height: 1.8;
}

.person-contact a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid #c8c8c7;
    transition: color 0.2s, border-color 0.2s;
}

.person-contact a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* --- Plants Section --- */
.plants-section {
    background: none;
    padding: 80px 0;
    margin-bottom: 80px;
}

.plants-title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 60px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
}

.plant-card {
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}

.plant-name {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 30px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    
}

.plant-hours {
    font-size: var(--font-small);
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.plant-address {
    font-size: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Form Section --- */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
    padding: 72px 48px;
    align-items: center;
    max-height: none;
    background-color: #f0f0f0;
    border-radius: 10px;
}

.form-side {
    min-width: 0;
}

.contact-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 28px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contact-logos:hover {
    opacity: 1;
}

.contact-logo-main {
    display: block;
    width: 140px;
    height: auto;
}

.contact-logo-cert {
    display: block;
    width: 80px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.contact-logos:hover .contact-logo-cert {
    filter: grayscale(0%);
}

.form-text-side h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    text-align: left;
}

.form-text-side .form-title-large {
    font-size: clamp(28px, 3.6vw, 40px);
}

.form-text-side .form-title-sub {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
}

.form-text-side p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.85;
    max-width: 450px;
}

.form-side h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.contact-form .form-group {
    margin-bottom: 12px;
}

.contact-form label {
    display: block;
    font-size: var(--font-small);
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid #c8c8c7;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

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

.form-consent {
    font-size: var(--font-tiny);
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 16px;
}

.btn-submit-contact {
    width: 100%;
    padding: 14px;
    background: #354035;
    border: 1px solid #354035;
    border-radius: 10px;
    font-size: var(--font-body);
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.btn-submit-contact:hover {
    background: #2a332a;
    border-color: #2a332a;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-main-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map-wrapper {
        height: 400px;
    }

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

    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .dept-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-hero {
        height: 40vh;
    }
    
    .contact-form-section {
        margin-top: 48px;
    }
    
    .contact-form-outer {
        padding: 0;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        box-sizing: border-box;
    }
    
    .contact-form-outer .container {
        max-width: none;
        width: 100%;
        padding: 0 20px;
    }
    
    .contact-form-wrapper {
        width: 100%;
        border-radius: 0;
        padding: 40px 20px;
    }
}