/* ══════════════════════════════════════
   CONTACT PAGE
   Inherits all CSS variables from theme-dark.css / theme-light.css
   ══════════════════════════════════════ */

/* ── Hero ── */
.cnt-hero {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.cnt-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cnt-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--t3);
    margin-bottom: 28px;
}

.cnt-hero .hero-badge span {
    color: var(--blue);
    font-weight: 600;
}

.cnt-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    max-width: 700px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--t1) 30%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cnt-hero-sub {
    font-size: 1.12rem;
    color: var(--t3);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Sections ── */
.cnt-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.cnt-alt {
    background: rgba(255, 255, 255, 0.015);
}

.cnt-section .section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cnt-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.2;
    color: var(--t1);
}

.cnt-section .section-desc {
    font-size: 1.02rem;
    color: var(--t3);
    max-width: 560px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ── Contact Layout ── */
.cnt-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Contact Cards ── */
.cnt-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cnt-card {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: border-color 0.3s, transform 0.3s;
    text-decoration: none;
    color: inherit;
}

.cnt-card:hover {
    border-color: var(--bdr-h);
    transform: translateX(4px);
    text-decoration: none;
    color: inherit;
}

.cnt-card-static {
    cursor: default;
}

.cnt-card-static:hover {
    transform: none;
}

.cnt-card-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cnt-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 4px;
}

.cnt-card-body p {
    font-size: 0.9rem;
    color: var(--t3);
    line-height: 1.5;
    margin-bottom: 0;
}

.cnt-card-action {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-block;
    margin-top: 6px;
    transition: color 0.2s;
}

.cnt-card:hover .cnt-card-action {
    color: var(--t1);
}

/* ── Contact Form ── */
.cnt-form {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 40px;
}

.cnt-form h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--t1);
}

.cnt-form-sub {
    font-size: 0.92rem;
    color: var(--t3);
    margin-bottom: 32px;
}

.cnt-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cnt-form .form-group {
    margin-bottom: 20px;
}

.cnt-form .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--t3);
}

.cnt-req {
    color: var(--blue);
}

.cnt-form .form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--bdr);
    border-radius: 10px;
    color: var(--t1);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.cnt-form .form-input::placeholder {
    color: var(--t4);
}

.cnt-form .form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.cnt-form select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238899aa' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.cnt-form select.form-input option {
    background: var(--bg);
    color: var(--t1);
}

.cnt-form textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.cnt-btn-submit {
    width: 100%;
    padding: 14px 32px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.cnt-form-note {
    font-size: 0.82rem;
    color: var(--t4);
    margin-top: 12px;
    text-align: center;
}

/* ── FAQ Grid ── */
.cnt-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cnt-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    padding: 28px;
    transition: border-color 0.3s;
}

.cnt-faq-item:hover {
    border-color: var(--bdr-h);
}

.cnt-faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--t1);
}

.cnt-faq-item p {
    font-size: 0.88rem;
    color: var(--t3);
    line-height: 1.65;
}

/* ── Map ── */
.cnt-map {
    background: var(--bg-card);
    border: 1px solid var(--bdr);
    border-radius: var(--card-r);
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cnt-map-placeholder {
    text-align: center;
    color: var(--t4);
}

.cnt-map-placeholder svg {
    margin-bottom: 12px;
}

.cnt-map-placeholder p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--t3);
}

.cnt-map-placeholder a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.cnt-map-placeholder a:hover {
    text-decoration: underline;
}

/* ══════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
    .cnt-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cnt-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE — Mobile
   ══════════════════════════════════════ */
@media (max-width: 768px) {
    .cnt-hero {
        padding: 130px 0 60px;
    }

    .cnt-hero h1 {
        font-size: 2.2rem;
    }

    .cnt-section {
        padding: 60px 0;
    }

    .cnt-section .section-title {
        font-size: 1.7rem;
    }

    .cnt-form .form-row {
        grid-template-columns: 1fr;
    }

    .cnt-form {
        padding: 28px;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE — Small phone
   ══════════════════════════════════════ */
@media (max-width: 480px) {
    .cnt-hero h1 {
        font-size: 1.9rem;
    }

    .cnt-hero-sub {
        font-size: 1rem;
    }

    .cnt-card {
        padding: 20px;
    }

    .cnt-form {
        padding: 20px;
    }

    .cnt-faq-item {
        padding: 22px;
    }

    .cnt-map {
        height: 200px;
    }
}

/* ══════════════════════════════════════
   LIGHT THEME OVERRIDES
   ══════════════════════════════════════ */
body.light .cnt-hero::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}

body.light .cnt-hero h1 {
    background: linear-gradient(135deg, #0f172a 30%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light .cnt-alt {
    background: rgba(241, 245, 249, 0.5);
}

body.light .cnt-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .cnt-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

body.light .cnt-form {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .cnt-form .form-input {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body.light .cnt-form .form-input:focus {
    border-color: var(--blue);
    background: #fff;
}

body.light .cnt-faq-item {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

body.light .cnt-faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

body.light .cnt-map {
    background: rgba(255, 255, 255, 0.85);
    border-color: #e2e8f0;
}
