/**
 * Contact Us Page – GrandVantage Tours
 *
 * Pixel-perfect alignment with contact-mockup.html.
 * Palette: Espresso/Chocolate (#3B2314, #5C3D2E), Gold (#C9982E, #E8C767), Sandstone Cream (#FAF6EE, #F5EDE0).
 * Typography: Cormorant Garamond, Marcellus, Outfit, Dancing Script.
 *
 * @package GrandVantageTours
 * @since   1.0.0
 */

/* ═══ HERO ═══ */
.contact-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.contact-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59,35,20,.3), rgba(59,35,20,.7) 50%, rgba(59,35,20,.95));
}
.contact-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    color: var(--white);
    width: 100%;
}
.contact-hero h1 {
    font-family: var(--ff-display);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    color: var(--white) !important;
}
.contact-hero p {
    font-size: 1.08rem;
    max-width: 620px;
    line-height: 1.7;
    opacity: .85;
    margin-bottom: 32px;
    color: rgba(255,255,255,.85);
}
.hero-stats {
    display: inline-flex;
    gap: 32px;
    flex-wrap: wrap;
    background: rgba(0,0,0,.18);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-lg, 16px);
    padding: 20px 32px;
    border: 1px solid rgba(255,255,255,.08);
}
.hero-stat {
    text-align: center;
}
.stat-number {
    display: block;
    font-family: var(--ff-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
}
.stat-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.88);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,.25);
    align-self: center;
}

/* ═══ CONTACT METHOD CARDS ═══ */
.methods-section,
.contact-methods {
    padding: 0 0 72px;
    background: var(--white);
    position: relative;
    z-index: 3;
}
.methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -60px;
}
.method-card {
    background: var(--white);
    border-radius: var(--radius-lg, 16px);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md, 0 4px 20px rgba(59,35,20,.12));
    transition: all .4s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    color: inherit;
    display: block;
}
.method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg, 0 8px 40px rgba(59,35,20,.16));
    border-color: rgba(201,152,46,.25);
}
.method-whatsapp {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-color: rgba(37,211,102,.15);
}
.method-whatsapp:hover {
    border-color: #25D366;
}
.method-whatsapp .method-icon {
    background: linear-gradient(135deg, #25D366, #1DA851);
}
.method-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}
.method-card h3 {
    font-family: var(--ff-heading);
    font-size: 1.15rem;
    color: var(--brown-deep);
    margin-bottom: 8px;
}
.method-card p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.method-value {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--brown-deep);
    margin-bottom: 12px;
}
.method-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gold);
    background: rgba(201,152,46,.08);
    padding: 6px 14px;
    border-radius: var(--radius-pill, 50px);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.method-whatsapp .method-badge {
    color: #1DA851;
    background: rgba(37,211,102,.1);
}

/* ═══ CONTACT FORM SECTION ═══ */
.contact-form-section {
    padding: 72px 0;
    background: var(--cream-light);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-form-wrap .section-label {
    margin-bottom: 8px;
}
.contact-form-wrap .section-title {
    text-align: left;
    margin-bottom: 12px;
    color: var(--brown-deep);
}
.contact-form-wrap > p {
    font-size: .95rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--brown-deep);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-group label i {
    color: var(--gold);
    font-size: .75rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius, 8px);
    font-family: var(--ff-body);
    font-size: .9rem;
    color: var(--body);
    background: var(--white);
    transition: all .3s ease;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201,152,46,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}
.form-group select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B6058'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-note {
    font-size: .78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-note i {
    color: var(--success, #2E7D4F);
}
.btn-submit {
    padding: 14px 36px;
    font-size: .92rem;
}
.btn-submit.btn-loading {
    opacity: .85;
    cursor: wait;
}
.btn-submit .fa-spinner {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ═══ CONTACT SIDEBAR ═══ */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.map-container {
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--cream);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
}
.map-placeholder i {
    font-size: 2.5rem;
    color: var(--gold);
}
.map-placeholder span {
    font-size: .88rem;
    font-weight: 600;
}
.sidebar-info-card {
    background: var(--white);
    border-radius: var(--radius-lg, 16px);
    padding: 28px;
    border: 1px solid var(--cream-dark);
}
.sidebar-info-card h3 {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brown-deep);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.sidebar-info-card h3 i {
    color: var(--gold);
    font-size: .9rem;
}
.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cream-dark);
}
.hours-list li:last-child {
    border: none;
    padding-bottom: 0;
}
.hours-list li span {
    color: var(--muted);
}
.hours-list li strong {
    color: var(--brown-deep);
    font-size: .85rem;
}
.hours-note {
    background: rgba(201,152,46,.06);
    border: 1px solid rgba(201,152,46,.15);
    border-radius: var(--radius, 8px);
    padding: 12px 16px;
    margin-top: 16px;
    display: flex;
    gap: 10px;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6;
}
.hours-note i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}
.response-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.response-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--cream-dark);
}
.response-item:last-child {
    border: none;
}
.response-channel {
    font-size: .88rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.response-channel i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}
.response-time {
    font-size: .88rem;
    font-weight: 700;
    color: var(--brown-deep);
}

/* ═══ FAQ SECTION ═══ */
.faq-section {
    padding: 72px 0;
    background: var(--white);
}
.faq-header {
    text-align: center;
    margin-bottom: 48px;
}
.faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--cream-light);
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--cream-dark);
    overflow: hidden;
    transition: all .3s ease;
}
.faq-item.active {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(201,152,46,.12);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    font-family: var(--ff-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--brown-deep);
    gap: 16px;
    transition: all .3s;
}
.faq-question:hover {
    color: var(--gold);
}
.faq-question i {
    color: var(--gold);
    font-size: .8rem;
    transition: transform .3s;
    flex-shrink: 0;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq-answer-inner {
    padding: 0 28px 22px;
    font-size:.95rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ═══ SOCIAL PROOF ═══ */
.social-proof-section {
    padding: 72px 0;
    background: var(--cream-light);
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.proof-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg, 16px);
    border: 1px solid var(--cream-dark);
    transition: all .3s ease;
}
.proof-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.proof-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201,152,46,.1);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}
.proof-card h3 {
    font-family: var(--ff-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown-deep);
    margin-bottom: 4px;
}
.proof-card p {
    font-size: .88rem;
    color: var(--muted);
}

/* ═══ CTA BANNER ═══ */
.contact-cta-banner,
.cta-banner {
    padding: 72px 0;
    background: var(--brown-deep);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .2;
}
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.cta-content h2 {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    color: var(--white) !important;
}
.cta-content p {
    font-size: 1.05rem;
    opacity: .8;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,.8);
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══ RESPONSIVE ═══ */
@media(max-width: 1024px) {
    .methods-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 768px) {
    .contact-hero { min-height: 340px; }
    .contact-hero h1 { font-size: 2rem; }
    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .methods-grid { grid-template-columns: 1fr; margin-top: -40px; }
    .form-row { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
}
