/* === contact-style.css === */
/* Estilos específicos para la página de contacto de Acosta Flooring */

/* --- HERO BANNER DE CONTACTO --- */
.contact-hero-banner {
    padding: 120px 0 80px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1534536281715-e28d76689b4d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
    /* Reemplaza con tu imagen */
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    margin-top: 0;
    position: relative;
}

.contact-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    font-size: 0.9rem;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb li::after {
    content: '>';
    margin-left: 10px;
    opacity: 0.6;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb li[aria-current="page"] {
    font-weight: bold;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .contact-hero-banner {
        padding: 100px 0 60px;
    }

    .contact-hero-content h1 {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }
}


/* --- SECCIÓN INTRODUCTORIA DE CONTACTO --- */
.contact-intro-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Estos selectores reutilizan clases generales pero se aplican dentro de esta sección */
.contact-intro-section .eyebrow-text {
    color: var(--brand-highlight-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    /* Asegurar que se aplica si no está en .eyebrow-text general */
    letter-spacing: 1px;
    /* Asegurar que se aplica si no está en .eyebrow-text general */
    display: block;
    /* Asegurar que se aplica si no está en .eyebrow-text general */
    text-align: center;
    /* Asegurar centrado */
}

.contact-intro-section .section-title {
    /* Asumiendo que .section-title es una clase general */
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
    /* Asegurar centrado */
}

.title-decorator {
    /* Este es un estilo específico de esta sección */
    width: 60px;
    height: 3px;
    background-color: var(--brand-highlight-color);
    margin: 0 auto 25px auto;
    border-radius: 2px;
}

.contact-intro-section .section-description {
    /* Asumiendo que .section-description es una clase general */
    color: var(--text-secondary-dark);
    max-width: 750px;
    margin: 0 auto;
    /* Centrar */
    text-align: center;
    /* Asegurar centrado */
}

@media (max-width: 768px) {
    .contact-intro-section {
        padding: 40px 0;
    }

    .contact-intro-section .section-description {
        max-width: 90%;
    }
}


/* --- SECCIÓN PRINCIPAL DE CONTACTO (FORMULARIO Y DETALLES) --- */
.contact-main-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }
}

.contact-details-column h3,
.contact-form-column h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--text-dark);
    margin-bottom: 15px;
}

.contact-details-column>p,
/* Seleccionar el p directo hijo para la descripción general */
.contact-form-column>p {
    font-size: 0.95rem;
    color: var(--text-secondary-dark);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.contact-icon-wrapper {
    background-color: var(--brand-highlight-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-text-wrapper h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-text-wrapper p {
    font-size: 0.9rem;
    color: var(--text-secondary-dark);
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-text-wrapper p a {
    color: var(--text-secondary-dark);
    text-decoration: none;
}

.contact-text-wrapper p a:hover {
    color: var(--brand-highlight-color);
    text-decoration: underline;
}

/* Estilos para el formulario de contacto */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-column .form-group {
    /* Asegurar especificidad */
    flex-grow: 1;
    margin-bottom: 0;
}

.contact-form-column .form-group.form-group-half {
    flex-basis: calc(50% - 10px);
    min-width: 200px;
}

@media (max-width: 576px) {
    .contact-form-column .form-group.form-group-half {
        flex-basis: 100%;
    }

    .contact-form-column .form-row {
        margin-bottom: 0;
    }

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


.contact-form-column .form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-column .form-group input[type="text"],
.contact-form-column .form-group input[type="email"],
.contact-form-column .form-group input[type="tel"],
.contact-form-column .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-column .form-group input:focus,
.contact-form-column .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-highlight-color);
    box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.2);
}

.contact-form-column .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-contact-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--brand-highlight-color);
    color: var(--text-light);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

.submit-contact-btn:hover {
    background-color: #c89a4c;
    transform: translateY(-2px);
}

.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
}

@media (max-width: 768px) {
    .contact-main-section {
        padding: 40px 0;
    }

    .contact-details-column h3,
    .contact-form-column h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .contact-info-item {
        gap: 15px;
    }

    .contact-icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Estilo para el enlace activo en el menú principal cuando se está en contact.html */
.main-nav a[href="contact.html"].active-link {
    color: var(--brand-highlight-color);
    background-color: rgba(255, 255, 255, 0.1);
    /* Un fondo sutil para el activo */
}

/* Si el menú móvil tiene una clase 'active' diferente para el link actual, ajústalo aquí */
.main-nav.active a[href="contact.html"] {
    /* Estilos específicos para el link de contacto activo en el menú móvil desplegado si es necesario */
    color: var(--brand-highlight-color);
}

/* --- ESTILOS PARA LA SECCIÓN DEL MAPA INTERACTIVO (PACÍFICO NOROESTE) --- */
.interactive-map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.interactive-map-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" fill="none" stroke="%23e0f2fe" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
}

.map-section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.map-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-subtitle {
    font-size: 1.3rem;
    color: var(--brand-highlight-color);
    font-weight: 600;
    margin: 0;
}

.usa-map-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.map-wrapper {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 2px solid rgba(34, 197, 94, 0.1);
}

.pacific-northwest-map-svg {
    width: 100%;
    height: auto;
    max-height: 450px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
}

/* Océano animado */
.ocean-background {
    transition: all 0.3s ease;
}

/* País (Canadá) */
.country {
    fill: #f1f5f9;
    stroke: #cbd5e1;
    stroke-width: 2;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.country:hover {
    opacity: 0.9;
    stroke: #94a3b8;
}

.country-label {
    font-size: 14px;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #64748b;
    font-weight: 600;
    font-family: var(--font-display);
}

.country-icon {
    font-size: 20px;
    text-anchor: middle;
    dominant-baseline: middle;
    opacity: 0.6;
}

/* WASHINGTON STATE - PROTAGONISTA */
.washington-state {
    stroke: #16a34a !important;
    stroke-width: 3 !important;
    filter: url(#glow) !important;
    animation: washingtonGlow 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.washington-state:hover {
    transform: scale(1.02);
    filter: url(#glow) drop-shadow(0 10px 20px rgba(34, 197, 94, 0.3)) !important;
}

@keyframes washingtonGlow {
    0%, 100% { 
        filter: url(#glow) drop-shadow(0 0 15px rgba(34, 197, 94, 0.4));
    }
    50% { 
        filter: url(#glow) drop-shadow(0 0 25px rgba(34, 197, 94, 0.6));
    }
}

.state-title {
    font-size: 28px;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #ffffff;
    font-weight: bold;
    font-family: var(--font-display);
    letter-spacing: 2px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.state-subtitle {
    font-size: 14px;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #ffffff;
    font-weight: 600;
    font-family: var(--font-display);
    opacity: 0.9;
}

.washington-feature-icon {
    font-size: 24px;
    text-anchor: middle;
    dominant-baseline: middle;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

/* Estados vecinos */
.neighbor {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.neighbor:hover {
    opacity: 1;
    stroke: #94a3b8;
    stroke-width: 2;
}

.neighbor-state-label {
    font-size: 16px;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #64748b;
    font-weight: 600;
    font-family: var(--font-display);
}

.vertical-text {
    writing-mode: tb;
    text-orientation: mixed;
}

/* Ciudades */
.major-city {
    animation: cityPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.city {
    animation: cityPulse 3s ease-in-out infinite 0.5s;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

@keyframes cityPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.city-label {
    font-size: 11px;
    text-anchor: start;
    dominant-baseline: middle;
    fill: #374151;
    font-weight: 600;
    font-family: var(--font-display);
}

/* ENUMCLAW - UBICACIÓN PRINCIPAL */
.enumclaw-location {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.location-pin-main {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.location-pulse {
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.company-location {
    font-size: 12px;
    text-anchor: start;
    dominant-baseline: middle;
    fill: #dc2626;
    font-weight: bold;
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.company-name {
    font-size: 10px;
    text-anchor: start;
    dominant-baseline: middle;
    fill: #374151;
    font-weight: 600;
    font-style: italic;
}

.company-icon {
    font-size: 8px;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #dc2626;
}

/* Leyenda del mapa */
.map-legend {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.legend-title {
    font-size: 12px;
    text-anchor: middle;
    dominant-baseline: middle;
    fill: #374151;
    font-weight: bold;
    font-family: var(--font-display);
}

.legend-text {
    font-size: 10px;
    text-anchor: start;
    dominant-baseline: middle;
    fill: #4b5563;
    font-family: var(--font-display);
}

/* Iconos de estados generales */
.state-icon {
    font-size: 16px;
    text-anchor: middle;
    dominant-baseline: middle;
    opacity: 0.7;
    transition: all 0.3s ease;
}
   
/* Información de Washington actualizada */
.washington-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.info-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);
}

.info-content h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.info-content p {
    font-size: 1rem;
    color: var(--text-secondary-dark);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Estados con hover personalizado */
.state-group:hover .state-icon {
    font-size: 18px;
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Design para el nuevo mapa */
@media (max-width: 768px) {
    .interactive-map-section {
        padding: 60px 0;
    }
    
    .map-wrapper {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .map-title {
        font-size: 2rem;
    }
    
    .map-subtitle {
        font-size: 1.1rem;
    }
    
    .washington-info {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .pacific-northwest-map-svg {
        max-height: 350px;
    }
    
    .state-title {
        font-size: 20px;
    }
    
    .state-subtitle {
        font-size: 12px;
    }
    
    .company-location {
        font-size: 10px;
    }
    
    .company-name {
        font-size: 8px;
    }
    
    .legend-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .map-wrapper {
        padding: 20px 15px;
    }
    
    .washington-info {
        gap: 15px;
        margin-top: 30px;
    }
    
    .pacific-northwest-map-svg {
        max-height: 280px;
    }
    
    .state-title {
        font-size: 16px;
    }
    
    .state-subtitle {
        font-size: 10px;
    }
    
    .washington-feature-icon {
        font-size: 18px;
    }
    
    .map-legend {
        transform: scale(0.9);
    }
}

/* Form loading state */
.form-loading {
    pointer-events: none;
    opacity: 0.7;
}

.form-loading .submit-contact-btn {
    background-color: #ccc;
    cursor: not-allowed;
}

/* SweetAlert2 custom styling */
.swal2-popup {
    font-family: var(--font-body);
}

.swal2-title {
    font-family: var(--font-display);
}