/* ============================================
   PAGE HEADER - GRADIENT + SHINE
   ============================================ */
#pageHeader {
    background-image: url('../assets/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 8px 40px rgba(8, 184, 171, 0.3);
    position: relative;
    padding: calc(var(--header-height) + var(--spacing-3xl)) 0 var(--spacing-3xl);
    min-height: 347px;
    display: flex;
    align-items: center;
}

#pageHeader::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-15deg);
    animation: headerShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes headerShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 150%;
    }
}

#pageHeader .page-header-title {
    color: #F5FAFA;
}

#pageHeader .page-header-description {
    color: rgba(245, 250, 250, 0.9);
}

/* ============================================
   CONTACT FORM - ENHANCED DEPTH
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.contact-info {
    max-width: 100%;
}

.contact-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-gradient);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(8, 184, 171, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(8, 184, 171, 0.45);
}

.contact-form-wrapper {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    padding-left: var(--spacing-3xl);
    border-left: none;
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--primary-mint) 50%, transparent 100%);
    box-shadow: none;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #F5FAFA;
}

.contact-item-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-item-value {
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-form-subtitle {
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
}

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

.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-light);
    border-radius: 0;
    font-size: 0.9375rem;
    color: var(--text-primary);
    box-shadow: none;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

/* Animated highlight line */
.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group:focus-within::after {
    left: 0;
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.form-select {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--brand-gradient);
    color: #F5FAFA;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(8, 184, 171, 0.3);
    margin-top: var(--spacing-md);
}

.form-submit:hover {
    background: var(--primary-forest);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(8, 184, 171, 0.45);
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    max-width: 700px;
    margin: 0 auto;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 280px;
}

@media (max-width: 768px) {
    .map-wrapper iframe {
        height: 220px;
    }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    list-style: none;
    border-top: 1px solid var(--border-light);
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: 24px 0;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    position: relative;
    font-family: inherit;
}

.faq-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-teal);
    letter-spacing: 0.06em;
    flex-shrink: 0;
    width: 28px;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

/* Animated underline on hover/open */
.faq-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0;
    background: var(--primary-teal);
    transition: width 0.35s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-trigger::after,
.faq-trigger:hover::after {
    width: 100%;
}

/* Arrow circle */
.faq-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, border-color 0.25s;
}

.faq-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary-teal);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

.faq-item.open .faq-arrow svg {
    stroke: #F5FAFA;
    transform: rotate(45deg);
}

/* Collapsible body */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(.4, 0, .2, 1);
}

.faq-item.open .faq-body {
    grid-template-rows: 1fr;
}

.faq-body-inner {
    overflow: hidden;
}

.faq-answer {
    padding: 0 0 28px 60px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 640px;
    position: relative;
}

.faq-answer::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 0;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-teal), transparent);
    border-radius: 2px;
}

/* ============================================
   RESPONSIVE DESIGN (contact-specific)
   Shared rules are in common.css
   ============================================ */
@media (max-width: 1024px) {
    .contact-info {
        text-align: left;
    }

    .contact-form-wrapper {
        padding-left: 0;
    }

    .contact-form-wrapper::before {
        display: none;
    }
}

@media (max-width: 650px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 578px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        padding-left: 44px;
    }

    .faq-answer::before {
        left: 28px;
    }
}