/* ============================================================
   GeoTrack — Contact Page (Premium v3)
   ============================================================ */

.contact-info-section { background: var(--bg-primary); padding-bottom: 0; }
.contact-info-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .contact-info-section__grid { grid-template-columns: repeat(3, 1fr); } }

/* ── Form Section ──────────────────────────────────────────── */
.contact-form-section { background: var(--bg-primary); padding-top: 48px; }
.contact-form-section__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 1024px) { .contact-form-section__layout { grid-template-columns: 1.35fr 1fr; } }

/* ── Form Card ─────────────────────────────────────────────── */
.contact-form {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    padding: 44px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.35s;
}
.contact-form:focus-within { box-shadow: var(--shadow-md); }
.contact-form__title    { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.375rem; font-weight: 700; margin-bottom: 6px; color: var(--text-primary); letter-spacing: -0.02em; }
.contact-form__subtitle { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .form-row--2col { grid-template-columns: repeat(2, 1fr); } }

.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-field:last-of-type { margin-bottom: 0; }

.form-field__label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.form-field__label span { color: #ef4444; margin-left: 1px; }

.form-field__input,
.form-field__textarea,
.form-field__select {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    width: 100%;
    -webkit-appearance: none;
}
.form-field__input::placeholder,
.form-field__textarea::placeholder { color: var(--text-subtle); }

.form-field__input:hover,
.form-field__textarea:hover,
.form-field__select:hover { border-color: rgba(15,23,42,0.22); background: var(--bg-primary); }

.form-field__input:focus,
.form-field__textarea:focus,
.form-field__select:focus {
    border-color: var(--accent);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(11,44,92,0.1);
}

.form-field__textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.form-field__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-field__select option { background: #fff; color: var(--text-primary); }

.contact-form__submit {
    width: 100%;
    margin-top: 24px;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 2px 10px rgba(11,44,92,0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}
.contact-form__submit:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(11,44,92,0.4);
    transform: translateY(-2px);
}
.contact-form__submit:active { transform: translateY(0) scale(0.99); }

/* ── Map placeholder ───────────────────────────────────────── */
.map-placeholder {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all 0.35s var(--ease-out);
}
.map-placeholder:hover { box-shadow: var(--shadow-md); }
.map-placeholder__visual {
    aspect-ratio: 16/9;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(11,44,92,0.06) 0%, transparent 70%),
        linear-gradient(160deg, #e6edf7 0%, #d1e5f7 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11,44,92,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,44,92,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
}
.map-pin-group { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; }
.map-pin {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 12px rgba(11,44,92,0.5);
}
.map-pin::after {
    content: '';
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.map-pin-ring {
    width: 44px; height: 44px;
    border: 1.5px solid rgba(11,44,92,0.3);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    animation: ping-expand 2.5s ease-out infinite;
}
.map-pin-ring:nth-child(2) { animation-delay: 0.9s; }

.map-placeholder__info {
    padding: 18px 22px;
    border-top: 1px solid var(--border);
}
.map-placeholder__address {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.map-placeholder__address svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ── FAQ Teaser ────────────────────────────────────────────── */
.faq-teaser-section { background: var(--bg-secondary); }
.faq-teaser__list   { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.faq-teaser__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s var(--ease-out);
    gap: 16px;
}
.faq-teaser__item:hover {
    border-color: rgba(11,44,92,0.2);
    color: var(--accent);
    background: var(--accent-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.faq-teaser__item svg { width: 16px; height: 16px; color: var(--text-subtle); flex-shrink: 0; transition: transform 0.25s var(--ease-out); }
.faq-teaser__item:hover svg { color: var(--accent); transform: translateX(4px); }
