/* ═══ CONTACT PAGE STYLES ═══ */
.contact-hero {
    background: var(--dark);
    padding: 160px 0 80px;
    text-align: center;
    position: relative; overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(37,211,102,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(74,108,247,0.05) 0%, transparent 60%);
}
.contact-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
}
.contact-hero .hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 50px;
    background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.2);
    font-size: 0.8rem; font-weight: 500; color: var(--brand);
    margin-bottom: 20px; position: relative;
}
.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem; color: var(--white);
    margin-bottom: 12px; position: relative;
}
.contact-hero .subtitle {
    color: var(--text-muted); font-size: 1.1rem;
    position: relative; max-width: 500px; margin: 0 auto;
}
[data-theme="light"] .contact-hero { background: #f8fafc; }
[data-theme="light"] .contact-hero h1 { color: #0f172a; }

/* Contact cards */
.contact-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; max-width: 900px; margin: -40px auto 0;
    position: relative; z-index: 2; padding: 0 24px;
}
.c-card {
    background: var(--dark-card); border: 1px solid var(--card-border);
    border-radius: 16px; padding: 28px; text-align: center;
    transition: all 0.3s;
}
.c-card:hover {
    border-color: rgba(37,211,102,0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
[data-theme="light"] .c-card { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
[data-theme="light"] .c-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.06); }
.c-card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin: 0 auto 16px;
}
.c-card-icon.green { background: rgba(37,211,102,0.1); color: var(--brand); }
.c-card-icon.blue { background: rgba(74,108,247,0.1); color: var(--accent); }
.c-card-icon.amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.c-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
[data-theme="light"] .c-card h3 { color: #0f172a; }
.c-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.c-card a { color: var(--brand); font-weight: 600; font-size: 0.9rem; transition: color 0.2s; }
.c-card a:hover { color: #1ebe5a; }

/* Main content */
.contact-body { max-width: 1000px; margin: 0 auto; padding: 80px 24px; }
.contact-layout { display: grid; grid-template-columns: 5fr 4fr; gap: 48px; }

/* Form */
.form-card {
    background: var(--dark-card); border: 1px solid var(--card-border);
    border-radius: 20px; padding: 36px;
}
[data-theme="light"] .form-card { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.form-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem; color: var(--white); margin-bottom: 24px;
}
[data-theme="light"] .form-card h2 { color: #0f172a; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--text); margin-bottom: 6px;
}
[data-theme="light"] .form-group label { color: #1e293b; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--surface-light);
    border-radius: 10px; font-family: 'Outfit', sans-serif;
    font-size: 0.92rem; color: var(--text);
    background: var(--surface); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(37,211,102,0.1);
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #f8fafc; border-color: #d1d5db; color: #1e293b;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.submit-btn {
    width: 100%; padding: 14px;
    background: var(--brand); color: #fff;
    border: none; border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s;
}
.submit-btn:hover { background: #1ebe5a; transform: translateY(-1px); }

/* Right sidebar info */
.contact-info-side h3 {
    font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 16px;
}
[data-theme="light"] .contact-info-side h3 { color: #0f172a; }

.response-times { margin-bottom: 36px; }
.response-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0; border-bottom: 1px solid var(--card-border);
}
.response-item:last-child { border-bottom: none; }
.response-dot {
    width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; flex-shrink: 0;
}
.response-dot.fast { background: var(--brand); }
.response-dot.medium { background: var(--accent); }
.response-dot.slow { background: #f59e0b; }
.response-dot.priority { background: #8b5cf6; }
.response-item strong { font-size: 0.9rem; color: var(--white); display: block; margin-bottom: 2px; }
[data-theme="light"] .response-item strong { color: #0f172a; }
.response-item span { font-size: 0.82rem; color: var(--text-muted); }

/* Company info card */
.company-info {
    background: var(--surface); border-radius: 14px; padding: 24px;
    margin-top: 8px;
}
[data-theme="light"] .company-info { background: #f1f5f9; }
.company-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
}
.company-row i { color: var(--brand); font-size: 0.9rem; width: 20px; text-align: center; }
.company-row span { font-size: 0.9rem; color: var(--text-muted); }
.company-row a { color: var(--brand); font-weight: 500; }

/* Map */
.map-section {
    max-width: 1000px; margin: 0 auto; padding: 0 24px 80px;
}
.map-wrapper {
    border-radius: 20px; overflow: hidden;
    border: 1px solid var(--card-border);
    height: 350px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.8); }
[data-theme="dark"] .map-wrapper iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.5); }

/* FAQ */
.faq-section {
    max-width: 1000px; margin: 0 auto; padding: 0 24px 80px;
}
.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem; color: var(--white); margin-bottom: 32px; text-align: center;
}
[data-theme="light"] .faq-title { color: #0f172a; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-item {
    background: var(--dark-card); border: 1px solid var(--card-border);
    border-radius: 14px; overflow: hidden; transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(37,211,102,0.2); }
[data-theme="light"] .faq-item { background: #fff; }
.faq-item summary {
    padding: 18px 20px; cursor: pointer;
    font-weight: 600; font-size: 0.92rem; color: var(--white);
    list-style: none; display: flex; justify-content: space-between; align-items: center;
}
[data-theme="light"] .faq-item summary { color: #0f172a; }
.faq-item summary::after {
    content: '+'; font-size: 1.3rem; color: var(--brand);
    font-weight: 300; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
    padding: 0 20px 18px;
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.65;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .contact-hero h1 { font-size: 2.2rem; }
    .contact-cards { grid-template-columns: 1fr; max-width: 400px; }
    .form-row { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
}

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* reCAPTCHA styling */
.c-recaptcha-wrapper {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}
.c-recaptcha-wrapper .g-recaptcha {
    transform: scale(0.92);
    transform-origin: center;
}
/* Dark theme - soften the white box */
[data-theme="dark"] .c-recaptcha-wrapper .g-recaptcha iframe {
    border-radius: 10px;
    border: 1px solid var(--surface-light) !important;
}