/* ==================================================
   CONTACTO & COTIZACIONES - XOCHITECH
   Estilo armónico con ContentMain.css y Servicios.css
================================================== */

/* Hero de Contacto */
.contact-hero {
    min-height: 440px;
    padding: 90px 24px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(20, 22, 18, 0.74), rgba(20, 22, 18, 0.74)), url("../images/Flores.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
}

.contact-hero-content {
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    margin-bottom: 20px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 400;
    line-height: 1.15;
}

.contact-hero h1 span {
    color: #dce4c1;
    font-style: italic;
}

.contact-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #f1f1f1;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.8;
}

/* Sección Principal de Contacto y Formulario */
.contact-main-section {
    padding: 100px 24px 80px;
    background-color: #f7f5ef;
}

.contact-main-container {
    width: min(100%, 1250px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 70px;
    align-items: start;
}

/* Columna Izquierda: Información de Contacto */
.contact-info-col h2 {
    margin-bottom: 22px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
}

.contact-info-col h2 span {
    color: #7f8767;
    font-style: italic;
}

.contact-intro-text {
    margin-bottom: 40px;
    color: #5b5b5b;
    font-size: 16px;
    line-height: 1.85;
}

.contact-channels-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
}

.contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px;
    background-color: #ffffff;
    border: 1px solid #e9ede0;
    border-radius: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-channel-item:hover {
    border-color: #dfe5c9;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.channel-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8edd6;
    border-radius: 50%;
    color: #434934;
    font-size: 20px;
}

.channel-details span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #767c60;
    margin-bottom: 4px;
}

.channel-details a,
.channel-details p {
    margin: 0;
    color: #24271e;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.channel-details a:hover {
    color: #7f8767;
}

/* Tarjeta de Metodología de Trabajo */
.workflow-preview-card {
    padding: 30px 28px;
    background-color: #20221c;
    border-radius: 6px;
    color: #ffffff;
}

.workflow-preview-card h4 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    color: #e8edd6;
}

.workflow-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.step-number {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(232, 237, 214, 0.2);
    border-radius: 50%;
    color: #dce4c1;
    font-size: 12px;
    font-weight: 600;
}

.workflow-step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #d5d5d5;
}

.workflow-step p strong {
    color: #ffffff;
}

/* Columna Derecha: Tarjeta del Formulario */
.quote-form-card {
    padding: 45px 40px;
    background-color: #ffffff;
    border: 1px solid #dfe5c9;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

.quote-form-header {
    margin-bottom: 30px;
}

.quote-form-header h3 {
    margin-bottom: 10px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
}

.quote-form-header p {
    margin: 0;
    color: #696969;
    font-size: 14.5px;
    line-height: 1.7;
}

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

.form-group-full {
    grid-column: span 2;
}

.custom-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-form-group label {
    color: #333333;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.custom-form-group label span {
    color: #7f8767;
}

.custom-input,
.custom-select,
.custom-textarea {
    width: 100%;
    padding: 13px 16px;
    background-color: #faf9f5;
    border: 1px solid #dcdfd0;
    border-radius: 4px;
    color: #252525;
    font-size: 14.5px;
    font-family: inherit;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
    background-color: #ffffff;
    border-color: #7f8767;
    box-shadow: 0 0 0 3px rgba(127, 135, 103, 0.15);
}

.custom-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-quote-button {
    width: 100%;
    margin-top: 10px;
    padding: 16px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #20221c;
    border: 1px solid #20221c;
    border-radius: 999px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.submit-quote-button span {
    transition: transform 0.3s ease;
}

.submit-quote-button:hover {
    background-color: #7f8767;
    border-color: #7f8767;
    transform: translateY(-2px);
}

.submit-quote-button:hover span {
    transform: translateX(4px);
}

.form-privacy-note {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #888888;
    font-size: 12.5px;
    text-align: center;
}

.form-privacy-note i {
    color: #7f8767;
}

/* Sección de Preguntas Frecuentes */
.faq-section {
    padding: 100px 24px;
    background-color: #ffffff;
}

.faq-container {
    width: min(100%, 1150px);
    margin: 0 auto;
}

.faq-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.faq-heading h2 {
    margin-bottom: 16px;
    color: #252525;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 400;
}

.faq-heading h2 span {
    color: #7f8767;
    font-style: italic;
}

.faq-heading p {
    color: #696969;
    font-size: 16px;
    line-height: 1.8;
}

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

.faq-card {
    padding: 34px 30px;
    background-color: #f7f5ef;
    border: 1px solid #e9ede0;
    border-radius: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
    border-color: #dfe5c9;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.faq-card h3 {
    margin-bottom: 14px;
    color: #242424;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
}

.faq-card p {
    margin: 0;
    color: #656565;
    font-size: 14.5px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 1050px) {
    .contact-main-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .quote-form-card {
        padding: 35px 28px;
    }
}

@media (max-width: 800px) {
    .contact-main-section,
    .faq-section {
        padding-top: 75px;
        padding-bottom: 75px;
    }

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

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

    .form-group-full {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        min-height: 380px;
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .contact-main-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .quote-form-card {
        padding: 28px 18px;
    }

    .contact-channel-item {
        padding: 16px;
    }
}

