/* =========================================================
   CONTACT PAGE — self-contained stylesheet
   Uses the same root variables as the rest of the site:
   --primary, --secondary, --accent, --dark, --white,
   --light-bg, --text-dark, --text-light (fallbacks included)
   ========================================================= */

:root {
    --ct-primary: var(--primary, #316b97);
    --ct-secondary: var(--secondary, #2575fc);
    --ct-accent: var(--accent, #55ABD7);
    --ct-dark: var(--dark, #041A57);
    --ct-white: var(--white, #ffffff);
    --ct-light-bg: var(--light-bg, #f4f8fb);
    --ct-text-dark: var(--text-dark, #1e1e1e);
    --ct-text-light: var(--text-light, #6c757d);
}

/* ===== HERO ===== */
.ct-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ct-dark), var(--ct-primary));
    padding: 72px 0 60px;
    text-align: center;
}

.ct-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.ct-hero-blob-1 { top: -15%; right: -8%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(85,171,215,0.35), transparent 70%); }
.ct-hero-blob-2 { bottom: -20%; left: -10%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(37,117,252,0.25), transparent 70%); }

.ct-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.ct-hero-inner { position: relative; z-index: 1; }

.ct-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--ct-white);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.ct-hero-eyebrow svg { color: var(--ct-accent); flex-shrink: 0; }

.ct-hero-title {
    color: var(--ct-white);
    font-weight: 800;
    max-width: 720px;
    margin: 0 auto 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-size: clamp(1.8rem, 1rem + 3vw, 2.8rem);
}

.ct-hero-title span { color: var(--ct-accent); }

.ct-hero-sub {
    color: #dbe6fb;
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1rem;
    line-height: 1.7;
}

.ct-hero-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ct-hero-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 12px 20px;
    text-align: left;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ct-hero-strip-item:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

.ct-hero-strip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--ct-white);
    color: var(--ct-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-hero-strip-item strong { display: block; color: var(--ct-white); font-size: 0.86rem; font-weight: 700; }
.ct-hero-strip-item span { display: block; color: #cfd9f0; font-size: 0.78rem; }

@media (max-width: 640px) {
    .ct-hero { padding: 52px 0 44px; }
    .ct-hero-strip { flex-direction: column; align-items: stretch; }
    .ct-hero-strip-item { justify-content: flex-start; }
}

/* ===== FORM + INFO LAYOUT ===== */
.ct-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .ct-layout { grid-template-columns: 1fr; }
}

.ct-form-card {
    background: var(--ct-white);
    border: 1px solid #edf0f4;
    border-radius: 20px;
    padding: 34px 36px;
    box-shadow: 0 10px 30px rgba(20,40,70,0.06);
}

.ct-form-card h2 {
    font-size: 1.4rem;
    color: var(--ct-dark);
    margin-bottom: 6px;
}

.ct-form-sub {
    color: var(--ct-text-light);
    font-size: 0.9rem;
    margin-bottom: 26px;
}

.ct-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.ct-field {
    margin-bottom: 18px;
}

.ct-field.full { grid-column: 1 / -1; }

.ct-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ct-dark);
}

.ct-field .req { color: #d94848; }

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e2e6ec;
    border-radius: 10px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--ct-text-dark);
    outline: none;
    transition: border-color 0.2s ease;
}

.ct-field textarea { min-height: 110px; resize: vertical; }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    border-color: var(--ct-primary);
}

@media (max-width: 560px) {
    .ct-form-grid { grid-template-columns: 1fr; }
    .ct-form-card { padding: 26px 22px; }
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(90deg, var(--ct-primary), var(--ct-secondary));
    color: var(--ct-white);
    border: none;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37,117,252,0.32);
}

.ct-form-note {
    margin: 14px 0 0;
    font-size: 0.76rem;
    color: var(--ct-text-light);
}

/* ===== INFO CARDS ===== */
.ct-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--ct-white);
    border: 1px solid #edf0f4;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 3px 12px rgba(20,40,70,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(20,40,70,0.1);
}

.ct-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--ct-light-bg);
    color: var(--ct-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-info-card strong { display: block; color: var(--ct-dark); font-size: 0.96rem; margin-bottom: 4px; }
.ct-info-card p { margin: 0; color: var(--ct-text-light); font-size: 0.86rem; line-height: 1.55; }
.ct-info-card a { color: var(--ct-primary); font-weight: 600; }
.ct-info-card a:hover { color: var(--ct-secondary); }

.ct-info-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ct-primary) !important;
}

.ct-info-link:hover { color: var(--ct-secondary) !important; }

.ct-social-card { align-items: center; }
.ct-social-card strong { margin-bottom: 0; }
.ct-social-row { display: flex; gap: 10px; margin-left: auto; }

.ct-social-row a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ct-light-bg);
    color: var(--ct-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ct-social-row a:hover {
    background: var(--ct-primary);
    color: var(--ct-white);
    transform: translateY(-2px);
}

/* ===== MAP ===== */
.ct-map-section {
    padding: 0;
}

.ct-map-wrap {
    width: 100%;
    height: 380px;
    filter: grayscale(0.15) contrast(1.02);
}

/* ===== FAQ ===== */
.ct-faq-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 30px;
}

.ct-faq-head h2 {
    font-size: 1.5rem;
    color: var(--ct-dark);
    margin-bottom: 8px;
}

.ct-faq-head p {
    color: var(--ct-text-light);
    font-size: 0.9rem;
}

.ct-faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ct-faq-item {
    background: var(--ct-light-bg);
    border: 1px solid #edf0f4;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ct-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20,40,70,0.08);
}

.ct-faq-item.open {
    background: var(--ct-white);
    border-color: var(--ct-accent);
    box-shadow: 0 8px 20px rgba(20,40,70,0.08);
}

.ct-faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    text-align: left;
    font-weight: 600;
    font-size: 0.94rem;
    color: var(--ct-dark);
    cursor: pointer;
    font-family: inherit;
}

.ct-faq-item.open .ct-faq-question { color: var(--ct-primary); }

.ct-faq-question svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 4px;
    box-sizing: border-box;
    border-radius: 50%;
    background: var(--ct-white);
    color: var(--ct-text-light);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.ct-faq-item.open .ct-faq-question svg {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #fdf3e4, #fef8ee);
    color: var(--ct-accent);
}

.ct-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ct-faq-answer p {
    padding: 0 22px 16px;
    font-size: 0.86rem;
    color: var(--ct-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== QUICK CTA ===== */
.ct-quickcta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--ct-dark), var(--ct-primary));
    border-radius: 22px;
    padding: 34px 40px;
}

.ct-quickcta::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85,171,215,0.28), transparent 70%);
    pointer-events: none;
}

.ct-quickcta-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ct-quickcta-left { display: flex; align-items: flex-start; gap: 16px; }

.ct-quickcta-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--ct-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-quickcta-left h3 { color: var(--ct-white); font-size: 1.25rem; margin: 0 0 6px; }
.ct-quickcta-left p { color: #cfd9f0; font-size: 0.88rem; max-width: 440px; line-height: 1.55; margin: 0; }

.ct-quickcta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.ct-quickcta-btn-light,
.ct-quickcta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.ct-quickcta-btn-light { background: var(--ct-white); color: var(--ct-primary); }
.ct-quickcta-btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.2); color: var(--ct-primary); }

.ct-quickcta-btn-outline { border: 1.5px solid rgba(255,255,255,0.45); color: var(--ct-white); background: transparent; }
.ct-quickcta-btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--ct-white); color: var(--ct-white); }

@media (max-width: 768px) {
    .ct-quickcta { padding: 26px 22px; }
    .ct-quickcta-top { flex-direction: column; align-items: flex-start; }
    .ct-quickcta-actions { width: 100%; }
    .ct-quickcta-btn-light, .ct-quickcta-btn-outline { flex: 1; justify-content: center; }
}