/* Contact Page Styles - Corporate Design */
/* ========================================= */

@import url('design-tokens.css');

/* Hero Section */
.contact-hero {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #03143A 0%, #162E73 35%, #7A0832 70%, #C70532 100%);
    z-index: 1;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
}

.contact-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Corporate Information Section */
.corporate-info-section {
    padding: 4rem 2rem;
    background: #FFFFFF;
}

.corporate-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
}

.corporate-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.corporate-info-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
}

.info-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.info-value a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.info-value a:hover {
    color: #A70428;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Departments Section */
.departments-section {
    padding: 4rem 2rem;
    background: #F9FAFB;
}

.departments-container {
    max-width: 1200px;
    margin: 0 auto;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.department-block {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    border-top: 4px solid var(--color-primary);
}

.department-block:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.department-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.department-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.department-item {
    margin-bottom: 0.75rem;
}

.department-item-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.department-item-value {
    font-size: 0.95rem;
    color: var(--color-text-primary);
    margin-top: 0.25rem;
}

.department-item-value a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.department-item-value a:hover {
    color: #A70428;
}

/* ========================================= */
/* EXECUTIVE LEADERSHIP SECTION - Corporate */
/* ========================================= */
.leadership-section {
    padding: 6rem 2rem 8rem;
    background: #FFFFFF;
}

.leadership-container {
    max-width: 1200px;
    margin: 0 auto;
}

.leadership-header {
    text-align: center;
    margin-bottom: 5rem;
}

.leadership-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.leadership-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.executive-team {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
}

.executive-leader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.executive-photo-wrapper {
    width: 280px;
    height: 380px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.executive-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.executive-leader:hover .executive-photo-wrapper {
    transform: translateY(-8px);
}

.executive-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.executive-title {
    font-size: 1.15rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================= */
/* OUR DEPARTMENTS SECTION - Editorial */
/* ========================================= */
.departments-team-section {
    padding: 8rem 2rem;
    background: #F7F9FE;
}

.departments-team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.departments-header {
    text-align: center;
    margin-bottom: 4rem;
}

.departments-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.departments-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Department Blocks - Full Width */
.department-block {
    margin-bottom: 6rem;
    padding: 4rem;
    background: #FFFFFF;
    border: 1px solid #E6ECF5;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(3, 20, 58, 0.06);
    transition: all 0.6s ease;
}


.department-block:last-child {
    margin-bottom: 0;
}

.department-header {
    margin-bottom: 3rem;
}

.department-block-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.department-block-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
}

.department-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 3rem;
    align-items: start;
}

.department-members.alternating {
    flex-direction: row-reverse;
}

/* Member Cards */
.member-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 250ms ease;
    cursor: pointer;
}

.member-card:hover {
    transform: translateY(-6px);
}

.member-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 250ms ease;
}

.member-card:hover .member-avatar {
    box-shadow: 0 20px 50px rgba(199, 5, 50, 0.25);
    transform: scale(1.03);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-avatar {
    background: linear-gradient(135deg, #f0f0f0, #e5e5e5);
    color: var(--color-primary);
}

.placeholder-avatar svg {
    opacity: 0.5;
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.35rem;
}

.member-role {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Company Structure (Organigram) */
.structure-section {
    padding: 4rem 2rem;
    background: #FFFFFF;
}

.structure-container {
    max-width: 1200px;
    margin: 0 auto;
}

.organigram {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    width: 100%;
}

.org-level.level-0 {
    margin-bottom: 3rem;
}

.org-box {
    background: white;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.org-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.org-box-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.org-line {
    width: 2px;
    height: 2rem;
    background: var(--color-primary);
    margin: -2rem auto 0;
}

.org-horizontal-line {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background: var(--color-primary);
}

/* Service Coverage Section - Premium Redesign */
.coverage-section {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 50%, #F3F6FA 100%);
}

.coverage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 5% 50%, rgba(199, 5, 50, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 95% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.coverage-container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
}

.coverage-header {
    text-align: center;
    margin-bottom: 4rem;
}

.coverage-section .section-title {
    color: #03143A;
    position: relative;
    z-index: 2;
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.5px;
}

.coverage-section .section-subtitle {
    color: #5B6B7F;
    position: relative;
    z-index: 2;
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.coverage-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 3rem;
}

.coverage-map-wrapper {
    width: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(199, 5, 50, 0.1);
    background: white;
    aspect-ratio: 16 / 14;
    max-width: 80%;
    margin: 0 auto;
}

.coverage-map {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 1.5rem;
}

.coverage-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(199, 5, 50, 0.01) 0%, rgba(37, 99, 235, 0.01) 100%);
    pointer-events: none;
    z-index: 2;
}

.service-coverage-map-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    position: relative;
    z-index: 3;
}



/* Cities Sidebar */
.coverage-cities-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 0;
}

.sidebar-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #03143A;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.coverage-city-card {
    padding: 2.5rem;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.coverage-city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #C70532 0%, #E63A6B 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coverage-city-card:hover {
    box-shadow: 0 12px 35px rgba(199, 5, 50, 0.12);
    transform: translateY(-6px);
    border-color: rgba(199, 5, 50, 0.2);
    background: #FAFBFC;
}

.coverage-city-card:hover::before {
    transform: scaleY(1);
}

.city-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.city-marker-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 20px rgba(199, 5, 50, 0.25);
    transition: all 0.3s ease;
}

.city-marker-badge.dfw {
    background: linear-gradient(135deg, #C70532 0%, #E63A6B 100%);
}

.city-marker-badge.austin {
    background: linear-gradient(135deg, #C70532 0%, #E63A6B 100%);
}

.city-marker-badge.san-antonio {
    background: linear-gradient(135deg, #C70532 0%, #E63A6B 100%);
}

.city-marker-badge.houston {
    background: linear-gradient(135deg, #C70532 0%, #E63A6B 100%);
}

.coverage-city-card:hover .city-marker-badge {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(199, 5, 50, 0.35);
}

.city-card-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: #03143A;
    letter-spacing: -0.3px;
    margin-bottom: 0.5rem;
}

.city-card-desc {
    font-size: 1rem;
    color: #3B4552;
    line-height: 1.7;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.city-card-highlight {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #C70532;
    padding: 0.5rem 1rem;
    background: rgba(199, 5, 50, 0.08);
    border-radius: 8px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 2rem;
    background: #FFFFFF;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(199, 5, 50, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-final-section {
    position: relative;
    padding: 5rem 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #03143A 0%, #162E73 35%, #7A0832 70%, #C70532 100%);
    z-index: 1;
}

.cta-final-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20);
    z-index: 1;
}

.cta-final-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 600px;
}

.cta-final-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: #A70428;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(199, 5, 50, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--color-primary);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .corporate-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .coverage-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .coverage-map-wrapper {
        aspect-ratio: 16 / 13;
        max-width: 85%;
    }

    .coverage-cities-sidebar {
        grid-template-columns: repeat(2, 1fr);
        flex-direction: row;
        gap: 2rem;
    }

    .sidebar-title {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .executive-team {
        gap: 3rem;
    }

    .executive-photo-wrapper {
        width: 240px;
        height: 320px;
    }

    .executive-name {
        font-size: 1.7rem;
    }

    .department-members {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 400px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .coverage-section {
        padding: 5rem 1.5rem;
    }

    .coverage-section .section-title {
        font-size: 1.8rem;
    }

    .coverage-section .section-subtitle {
        font-size: 1rem;
    }

    .coverage-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .coverage-map-wrapper {
        aspect-ratio: 16 / 9;
    }

    .coverage-map {
        padding: 1rem;
    }

    .coverage-map-wrapper {
        max-width: 95%;
    }

    .coverage-cities-sidebar {
        flex-direction: column;
        gap: 2rem;
    }

    .sidebar-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .coverage-city-card {
        padding: 1.5rem;
    }

    .city-card-name {
        font-size: 1.1rem;
    }

    .city-card-desc {
        font-size: 0.85rem;
    }

    .city-marker-badge {
        width: 42px;
        height: 42px;
        font-size: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-final-title {
        font-size: 1.75rem;
    }

    .leadership-section {
        padding: 4rem 1.5rem 5rem;
    }

    .leadership-title {
        font-size: 2rem;
    }

    .executive-team {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .executive-photo-wrapper {
        width: 200px;
        height: 280px;
        margin-bottom: 1.5rem;
    }

    .executive-name {
        font-size: 1.4rem;
    }

    .departments-team-section {
        padding: 4rem 1.5rem;
    }

    .department-block {
        padding: 2.5rem 1.5rem;
        margin-bottom: 4rem;
    }

    .department-block-title {
        font-size: 1.5rem;
    }

    .department-members {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .member-avatar {
        width: 110px;
        height: 110px;
        margin-bottom: 1rem;
    }

    .member-name {
        font-size: 0.9rem;
    }

    .member-role {
        font-size: 0.75rem;
    }
}
