/* ================ CONTACT PAGE SPECIFIC STYLES ================ */

/* ================ CONTACT HERO ================ */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-gray-color) 100%);
    padding-top: calc(5rem + 2rem);
    text-align: center;
}

.contact-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero__title {
    font-size: var(--biggest-font-size);
    color: var(--black-color);
    margin-bottom: var(--mb-1);
    font-weight: var(--weight-700);
}

.contact-hero__description {
    font-size: 1.2rem;
    color: var(--dark-gray-color);
    margin-bottom: var(--mb-2-5);
    line-height: 1.6;
}

.contact-hero__features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--mb-2);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    color: var(--dark-gray-color);
    font-weight: var(--weight-500);
    font-size: var(--small-font-size);
}

.hero-feature i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ================ CONTACT FORM SECTION ================ */
.contact-form-section {
    background-color: var(--primary-color);
}

.contact-form__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--mb-4);
    align-items: flex-start;
}

.contact-form__content {
    background-color: var(--primary-color);
}

.contact-form__title {
    font-size: var(--h2-font-size);
    color: var(--black-color);
    margin-bottom: var(--mb-1);
    font-weight: var(--weight-700);
}

.contact-form__description {
    color: var(--dark-gray-color);
    margin-bottom: var(--mb-2-5);
    line-height: 1.6;
}

/* ================ FORM STYLES ================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--mb-1-5);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--mb-1-5);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--mb-0-5);
}

.form__group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--mb-0-75);
}

.form__label {
    font-weight: var(--weight-600);
    color: var(--black-color);
    font-size: var(--small-font-size);
}

.form__input,
.form__select,
.form__textarea {
    padding: 1rem;
    border: 2px solid var(--light-gray-color);
    border-radius: 0.5rem;
    font-size: var(--normal-font-size);
    background-color: var(--primary-color);
    transition: var(--transition);
    font-family: var(--body-font);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--mb-0-75);
    cursor: pointer;
    color: var(--dark-gray-color);
    font-size: var(--small-font-size);
    line-height: 1.5;
}

.form__checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form__checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray-color);
    border-radius: 0.25rem;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.form__checkbox:checked + .form__checkbox-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form__checkbox:checked + .form__checkbox-custom::after {
    content: '✓';
    color: var(--black-color);
    font-size: 12px;
    font-weight: var(--weight-bold);
}

.form__checkbox-label a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.form__checkbox-label a:hover {
    color: var(--black-color);
}

.form__actions {
    display: flex;
    gap: var(--mb-1);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ================ CONTACT INFO SIDEBAR ================ */
.contact-info__sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--mb-2);
    position: sticky;
    top: calc(5rem + 2rem);
}

.contact-info__card {
    background-color: var(--light-gray-color);
    padding: var(--mb-2);
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.contact-info__card:hover {
    border-color: var(--secondary-color);
}

.contact-info__title {
    color: var(--black-color);
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1-5);
    font-weight: var(--weight-600);
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: var(--mb-1-5);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--mb-1);
}

.contact-info__icon {
    background-color: var(--secondary-color);
    color: var(--black-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info__content h4 {
    color: var(--black-color);
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-0-25);
    font-weight: var(--weight-600);
}

.contact-info__content p {
    color: var(--dark-gray-color);
    font-size: var(--small-font-size);
    line-height: 1.5;
    margin: 0;
}

.contact-info__content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: var(--weight-500);
}

.contact-info__content a:hover {
    color: var(--black-color);
}

.contact-info__note {
    font-style: italic;
    color: var(--dark-gray-color) !important;
    font-size: var(--smaller-font-size) !important;
    margin-top: var(--mb-0-25) !important;
}

/* ================ SCHEDULE STYLES ================ */
.schedule__list {
    display: flex;
    flex-direction: column;
    gap: var(--mb-0-75);
    margin-bottom: var(--mb-1);
}

.schedule__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--mb-0-5) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.schedule__day {
    color: var(--black-color);
    font-weight: var(--weight-500);
    font-size: var(--small-font-size);
}

.schedule__time {
    color: var(--dark-gray-color);
    font-size: var(--small-font-size);
}

.schedule__note {
    display: flex;
    align-items: center;
    gap: var(--mb-0-5);
    color: var(--dark-gray-color);
    font-size: var(--smaller-font-size);
    margin-top: var(--mb-1);
    font-style: italic;
}

.schedule__note i {
    color: var(--secondary-color);
}

/* ================ MAP SECTION ================ */
.map-section {
    background-color: var(--light-gray-color);
}

.map-container {
    margin-bottom: var(--mb-3);
}

.google-map {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background-color: var(--primary-color);
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--mb-3);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #E6C200 100%);
    color: var(--black-color);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--mb-1);
}

.map-placeholder h3 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
    font-weight: var(--weight-700);
}

.map-placeholder p {
    margin-bottom: var(--mb-2);
    font-size: var(--normal-font-size);
    line-height: 1.5;
}

.map-placeholder__actions {
    display: flex;
    gap: var(--mb-1);
    flex-wrap: wrap;
    justify-content: center;
}

.map-actions {
    background-color: var(--primary-color);
    border-radius: 1rem;
    padding: var(--mb-2-5);
    box-shadow: var(--shadow-light);
}

.map-actions__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--mb-2);
}

.map-action {
    display: flex;
    align-items: flex-start;
    gap: var(--mb-1);
    text-align: left;
}

.map-action i {
    background-color: var(--secondary-color);
    color: var(--black-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.map-action h4 {
    color: var(--black-color);
    margin-bottom: var(--mb-0-5);
    font-size: var(--normal-font-size);
    font-weight: var(--weight-600);
}

.map-action p {
    color: var(--dark-gray-color);
    font-size: var(--small-font-size);
    line-height: 1.5;
    margin: 0;
}

/* ================ FAQ SECTION ================ */
.faq__container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--mb-1);
}

.faq__item {
    background-color: var(--primary-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq__item:hover {
    box-shadow: var(--shadow-medium);
}

.faq__question {
    width: 100%;
    padding: var(--mb-1-5);
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--black-color);
    font-weight: var(--weight-600);
    font-size: var(--normal-font-size);
}

.faq__question:hover {
    background-color: var(--light-gray-color);
}

.faq__question i {
    color: var(--secondary-color);
    transition: var(--transition);
    font-size: var(--normal-font-size);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__answer p {
    padding: 0 var(--mb-1-5) var(--mb-1-5);
    color: var(--dark-gray-color);
    line-height: 1.6;
    margin: 0;
}

/* ================ RESPONSIVE DESIGN ================ */

/* Para tablets */
@media screen and (max-width: 992px) {
    .contact-form__container {
        grid-template-columns: 1fr;
        gap: var(--mb-3);
    }
    
    .contact-info__sidebar {
        position: static;
        order: -1;
    }
    
    .contact-hero__features {
        gap: var(--mb-1-5);
    }
    
    .hero-feature {
        flex: 1;
        min-width: 200px;
        justify-content: center;
        text-align: center;
    }
    
    .map-actions__container {
        grid-template-columns: 1fr;
    }
    
    .map-action {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

/* Para móviles */
@media screen and (max-width: 768px) {
    .contact-hero {
        padding-top: calc(5rem + 1rem);
    }
    
    .contact-hero__title {
        font-size: var(--h1-font-size);
    }
    
    .contact-hero__description {
        font-size: var(--normal-font-size);
    }
    
    .contact-hero__features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        min-width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--mb-1);
    }
    
    .form__group--checkbox {
        align-items: flex-start;
    }
    
    .form__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-info__card {
        padding: var(--mb-1-5);
    }
    
    .google-map {
        height: 300px;
    }
    
    .map-placeholder {
        padding: var(--mb-2);
    }
    
    .map-placeholder i {
        font-size: 2.5rem;
    }
    
    .map-placeholder__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .map-placeholder__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .map-actions {
        padding: var(--mb-2);
    }
    
    .faq__question {
        padding: var(--mb-1);
        font-size: var(--small-font-size);
    }
    
    .faq__answer p {
        padding: 0 var(--mb-1) var(--mb-1);
    }
}

/* Para móviles pequeños */
@media screen and (max-width: 480px) {
    .contact-hero {
        padding-top: calc(5rem + 0.5rem);
    }
    
    .contact-form {
        gap: var(--mb-1);
    }
    
    .form__group--checkbox {
        gap: var(--mb-0-5);
    }
    
    .form__checkbox-custom {
        width: 18px;
        height: 18px;
    }
    
    .contact-info__item {
        gap: var(--mb-0-75);
    }
    
    .contact-info__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .google-map {
        height: 250px;
    }
    
    .map-placeholder i {
        font-size: 2rem;
    }
    
    .map-placeholder h3 {
        font-size: var(--h3-font-size);
    }
    
    .map-placeholder p {
        font-size: var(--small-font-size);
    }
    
    .map-actions {
        padding: var(--mb-1-5);
    }
    
    .map-action i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-action h4 {
        font-size: var(--small-font-size);
    }
    
    .map-action p {
        font-size: var(--smaller-font-size);
    }
    
    .faq__container {
        gap: var(--mb-0-75);
    }
    
    .faq__question {
        padding: var(--mb-0-75);
        font-size: var(--small-font-size);
    }
    
    .faq__answer p {
        padding: 0 var(--mb-0-75) var(--mb-0-75);
        font-size: var(--small-font-size);
    }
}