.page-contact {
    font-family: Arial, sans-serif;
    background-color: var(--site-bg, #140C0C); /* Inherit from shared, fallback to custom */
    color: var(--text-main, #FFF1E8); /* Light text for dark background */
    line-height: 1.6;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-contact__container--flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Hero Section */
.page-contact__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: var(--background, #140C0C);
    position: relative;
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-contact__hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    color: var(--text-main, #FFF1E8);
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold, #F3C54D); /* Gold color for title */
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* CTA Button - General Style */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button gradient */
    color: #ffffff; /* White text on gradient */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-contact__cta-button--small {
    padding: 10px 20px;
    font-size: 0.95em;
}

/* Section Titles and Descriptions */
.page-contact__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--gold, #F3C54D);
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main, #FFF1E8);
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 60px 0;
    background-color: var(--background, #140C0C);
}

.page-contact__channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__channel-card {
    background-color: var(--card-bg, #2A1212); /* Dark card background */
    border: 1px solid var(--border, #6A1E1E);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main, #FFF1E8); /* Light text for dark card */
}

.page-contact__channel-icon {
    width: 100%; /* Occupy card width */
    max-width: 300px; /* Limit max width */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-contact__card-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold, #F3C54D);
}

.page-contact__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-contact__card-detail {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
    color: var(--text-main, #FFF1E8);
}

.page-contact__link {
    color: var(--gold, #F3C54D);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__link:hover {
    color: #FFB04A; /* Lighter gold on hover */
    text-decoration: underline;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: var(--background, #140C0C);
}

.page-contact__form-section .page-contact__container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.page-contact__form-content {
    flex: 1;
    color: var(--text-main, #FFF1E8);
}

.page-contact__contact-form {
    margin-top: 30px;
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 1.05em;
    color: var(--text-main, #FFF1E8);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border, #6A1E1E);
    border-radius: 8px;
    background-color: var(--card-bg, #2A1212); /* Dark input background */
    color: var(--text-main, #FFF1E8); /* Light text input */
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 241, 232, 0.6); /* Lighter placeholder text */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--gold, #F3C54D);
    box-shadow: 0 0 0 3px rgba(243, 197, 77, 0.3);
    outline: none;
}

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

.page-contact__form-image {
    flex: 1;
    text-align: center;
}

.page-contact__form-graphic {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: var(--background, #140C0C);
}

.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: var(--card-bg, #2A1212);
    border: 1px solid var(--border, #6A1E1E);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #FFF1E8);
}

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--gold, #F3C54D);
    background-color: var(--card-bg, #2A1212);
    border-bottom: 1px solid var(--border, #6A1E1E); /* Separator */
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--text-main, #FFF1E8);
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-main, #FFF1E8);
}

.page-contact__faq-answer p {
    margin-bottom: 10px;
}
.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}

/* CTA Banner */
.page-contact__cta-banner {
    padding: 60px 0;
    background-color: var(--deep-red, #7E0D0D); /* Deep Red background */
    color: #ffffff; /* White text for deep red background */
    text-align: center;
}

.page-contact__cta-banner .page-contact__container--flex {
    flex-direction: column;
    gap: 30px;
}

.page-contact__cta-title {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold, #F3C54D);
}

.page-contact__cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit max width for buttons group */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff;
    border: none;
}

.page-contact__btn-secondary {
    background: var(--card-bg, #2A1212); /* Dark background */
    color: var(--gold, #F3C54D); /* Gold text */
    border: 2px solid var(--gold, #F3C54D); /* Gold border */
}

.page-contact__btn-secondary:hover {
    background-color: var(--gold, #F3C54D);
    color: var(--card-bg, #2A1212);
}

/* General image rules */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images fill their space */
}

/*
*   Responsive Styles
*/
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__section-description {
        font-size: 1em;
    }
    .page-contact__cta-title {
        font-size: 2.2em;
    }
    .page-contact__cta-description {
        font-size: 1.1em;
    }
    .page-contact__form-section .page-contact__container {
        flex-direction: column;
        gap: 30px;
    }
    .page-contact__form-image {
        order: -1; /* Image above form on smaller screens */
    }
    .page-contact__channels-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    /* HERO Section */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller on mobile */
        margin-bottom: 10px;
    }
    .page-contact__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    /* General Sections */
    .page-contact__container {
        padding: 15px;
    }
    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .page-contact__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    /* Contact Info Section */
    .page-contact__info-section {
        padding: 40px 0;
    }
    .page-contact__channels-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-contact__channel-card {
        padding: 25px;
    }
    .page-contact__channel-icon {
        max-width: 250px;
        min-width: 200px;
        min-height: 200px;
    }
    .page-contact__card-title {
        font-size: 1.5em;
    }
    .page-contact__card-text, .page-contact__card-detail {
        font-size: 0.95em;
    }

    /* Contact Form Section */
    .page-contact__form-section {
        padding: 40px 0;
    }
    .page-contact__form-section .page-contact__container {
        flex-direction: column;
        gap: 30px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__form-image {
        order: -1; /* Image above form on mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__form-graphic {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-height: 200px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__faq-item summary {
        padding: 18px 20px;
        font-size: 1.05em;
    }
    .page-contact__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }

    /* CTA Banner */
    .page-contact__cta-banner {
        padding: 40px 0;
    }
    .page-contact__cta-title {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .page-contact__cta-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__cta-button,
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General Image & Container Rules for Mobile */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}