/* ============================================
   CEPO - Página Contáctanos
   Centro Educativo Prado Oriental
   ============================================ */

/* ---- Banner ---- */
.cepo-contacto__banner {
    background-color: var(--color-green-primary);
    padding: var(--spacing-3xl) var(--spacing-lg);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.cepo-contacto__banner-inner {
    max-width: 1512px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.cepo-contacto__banner-title {
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}

/* ---- Main Content Wrapper ---- */
.cepo-contacto__content {
    margin-bottom: var(--spacing-3xl);
}

.cepo-contacto__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

/* ---- Section Styling ---- */
.cepo-contacto__form-section,
.cepo-contacto__info-section {
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    background-color: var(--color-bg-light);
}

.cepo-contacto__section-title {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin: 0 0 var(--spacing-lg) 0;
}

/* ---- Form Styling ---- */
.cepo-contacto__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.cepo-contacto__form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cepo-contacto__label {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-dark);
}

.cepo-contacto__required {
    color: #e74c3c;
    margin-left: var(--spacing-xs);
}

/* Form Inputs */
.cepo-form-input,
.cepo-form-select,
.cepo-form-textarea {
    padding: var(--spacing-md);
    border: 2px solid var(--color-gray-light);
    border-radius: var(--radius-md);
    background-color: var(--color-bg-white);
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    color: var(--color-text-dark);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cepo-form-input:focus,
.cepo-form-select:focus,
.cepo-form-textarea:focus {
    outline: none;
    border-color: var(--color-green-primary);
    background-color: var(--color-bg-input);
}

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

.cepo-form-select {
    cursor: pointer;
}

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

/* ---- Message Feedback ---- */
.cepo-contacto__message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
    text-align: center;
    display: none;
    margin: var(--spacing-md) 0;
}

.cepo-contacto__message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cepo-contacto__message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---- Form Actions ---- */
.cepo-contacto__form-actions {
    margin-top: var(--spacing-md);
}

/* ---- Contact Info Styling ---- */
.cepo-contacto__info-group {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--color-gray-light);
}

.cepo-contacto__info-group:last-of-type {
    border-bottom: none;
    margin-bottom: var(--spacing-xl);
    padding-bottom: 0;
}

.cepo-contacto__info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--color-green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cepo-contacto__info-icon svg {
    width: 24px;
    height: 24px;
}

.cepo-contacto__info-content {
    flex: 1;
}

.cepo-contacto__info-title {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--color-text-dark);
    margin: 0 0 var(--spacing-xs) 0;
}

.cepo-contacto__info-text {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.5;
}

.cepo-contacto__info-text a {
    color: var(--color-green-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cepo-contacto__info-text a:hover {
    color: var(--color-green-dark);
    text-decoration: underline;
}

/* ---- Map Embed ---- */
.cepo-contacto__map {
    margin-top: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
}

.cepo-contacto__map iframe {
    border: none;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet - 768px */
@media (max-width: 768px) {
    .cepo-contacto__banner {
        padding: var(--spacing-2xl) var(--spacing-lg);
        margin-bottom: var(--spacing-xl);
    }

    .cepo-contacto__banner-title {
        font-size: var(--fs-2xl);
    }

    .cepo-contacto__wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .cepo-contacto__form-section,
    .cepo-contacto__info-section {
        padding: var(--spacing-xl);
    }

    .cepo-contacto__section-title {
        font-size: var(--fs-lg);
    }

    .cepo-contacto__map {
        height: 250px;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .cepo-contacto__banner {
        padding: var(--spacing-xl) var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }

    .cepo-contacto__banner-title {
        font-size: var(--fs-xl);
    }

    .cepo-contacto__wrapper {
        gap: var(--spacing-lg);
    }

    .cepo-contacto__form-section,
    .cepo-contacto__info-section {
        padding: var(--spacing-lg);
    }

    .cepo-contacto__section-title {
        font-size: var(--fs-base);
        margin-bottom: var(--spacing-md);
    }

    .cepo-contacto__form {
        gap: var(--spacing-md);
    }

    .cepo-contacto__form-group {
        gap: var(--spacing-xs);
    }

    .cepo-form-input,
    .cepo-form-select,
    .cepo-form-textarea {
        padding: var(--spacing-sm);
        font-size: var(--fs-sm);
    }

    .cepo-contacto__info-group {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    .cepo-contacto__info-icon {
        width: 40px;
        height: 40px;
    }

    .cepo-contacto__info-title {
        font-size: var(--fs-sm);
    }

    .cepo-contacto__info-text {
        font-size: var(--fs-xs);
    }

    .cepo-contacto__map {
        height: 200px;
        margin-top: var(--spacing-lg);
    }

    .cepo-contacto__content {
        margin-bottom: var(--spacing-xl);
    }
}
