/* ═══════════════════════════════════════════════════
   css/contact.css — HTI Contact Page
   Depends on global.css variables
═══════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────── */
.ct-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    text-align: center;
}
.ct-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.ct-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(to bottom, transparent, transparent 79px, rgba(0,194,255,0.05) 80px),
        repeating-linear-gradient(to right,  transparent, transparent 79px, rgba(0,194,255,0.05) 80px);
}
.ct-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(0,194,255,0.09), transparent);
}
.ct-hero-inner { position: relative; z-index: 1; }

/* breadcrumb */
.ct-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.ct-breadcrumb a { color: var(--text-muted); transition: color .2s; }
.ct-breadcrumb a:hover { color: var(--highlight); }
.ct-breadcrumb svg { opacity: .5; }
.ct-breadcrumb span:last-child { color: var(--highlight); }

/* eyebrow */
.ct-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.ct-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--highlight);
    box-shadow: 0 0 8px var(--highlight);
    animation: ct-dot-pulse 2s ease-in-out infinite;
}
@keyframes ct-dot-pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.4; transform:scale(.7); }
}

/* H1 */
.ct-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(0,194,255,0.15);
}
.ct-hero h1 em { font-style: normal; color: var(--highlight); }
.ct-hero-desc {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── SECTIONS ─────────────────────────────────────── */
.ct-section { padding: 70px 0; }
.ct-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

/* ── INFO CARDS ───────────────────────────────────── */
.ct-info-section {
    border-top: 1px solid rgba(0,194,255,0.08);
    padding-top: 60px;
    padding-bottom: 0;
}
.ct-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.ct-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(0,194,255,0.1);
    border-radius: 14px;
    padding: 22px 20px;
    transition: transform .3s ease, border-color .3s, box-shadow .3s;
    cursor: pointer;
}
.ct-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,194,255,0.3);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.ct-info-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    background: rgba(0,194,255,0.08);
    border: 1px solid rgba(0,194,255,0.2);
    display: grid;
    place-items: center;
    color: var(--highlight);
    flex-shrink: 0;
    transition: background .3s;
}
.ct-info-icon--accent {
    background: rgba(0,194,255,0.14);
    border-color: rgba(0,194,255,0.35);
    box-shadow: 0 0 16px rgba(0,194,255,0.15) inset;
}
.ct-info-card:hover .ct-info-icon { background: rgba(0,194,255,0.15); }

.ct-info-body h3 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.ct-info-body p {
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 8px;
}
.ct-info-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--highlight);
}
.ct-info-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
}
.ct-open  { background: rgba(0,255,100,0.1); color: #00ff64; border: 1px solid rgba(0,255,100,0.25); }
.ct-closed{ background: rgba(255,80,80,0.1);  color: #ff5050; border: 1px solid rgba(255,80,80,0.25);  }

/* ── MAP + FORM GRID ──────────────────────────────── */
.ct-main-section { padding-top: 50px; }
.ct-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

/* map */
.ct-map-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,194,255,0.15);
    aspect-ratio: 4 / 3;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.ct-map-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(100%);
}

/* quick info below map */
.ct-quick-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(0,194,255,0.1);
    border-radius: 12px;
}
.ct-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.ct-quick-item svg { flex-shrink: 0; }
.ct-quick-item a { color: var(--text-muted); transition: color .2s; }
.ct-quick-item a:hover { color: var(--highlight); }

/* ── FORM ─────────────────────────────────────────── */
.ct-form-wrap {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(0,194,255,0.12);
    border-radius: 16px;
    padding: 36px 32px 32px;
}
.ct-form-header { margin-bottom: 28px; }
.ct-form-header h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.ct-form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* alerts */
.ct-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
}
.ct-alert--success {
    background: rgba(0,240,180,0.08);
    border: 1px solid rgba(0,240,180,0.3);
    color: #00f0b4;
}
.ct-alert--error {
    background: rgba(255,80,80,0.08);
    border: 1px solid rgba(255,80,80,0.3);
    color: #ff7070;
}

/* form fields */
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ct-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.4px;
}
.ct-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(8,28,46,0.6);
    border: 1px solid rgba(0,194,255,0.2);
    border-radius: 9px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}
.ct-input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.1);
}
.ct-input::placeholder { color: rgba(160,196,226,0.4); }
.ct-textarea { resize: vertical; min-height: 130px; }

/* select */
.ct-select-wrap { position: relative; }
.ct-select-wrap select.ct-input {
    padding-right: 40px;
    cursor: pointer;
}
.ct-select-wrap select option {
    background: #081c2e;
    color: #fff;
}
.ct-select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}

/* submit */
.ct-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    color: #05121e;
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .25s ease;
    letter-spacing: 0.3px;
}
.ct-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,194,255,0.35);
}
.ct-submit:active { transform: translateY(0); }

.ct-form-note {
    font-size: 0.78rem;
    color: rgba(160,196,226,0.5);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* ── CTA STRIP ────────────────────────────────────── */
.ct-cta-strip {
    padding: 40px 0;
    border-top: 1px solid rgba(0,194,255,0.08);
    background: rgba(255,255,255,0.015);
    margin-top: 60px;
}
.ct-cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.ct-cta-strip p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}
.ct-cta-strip-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* shared buttons */
.ct-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 26px;
    background: linear-gradient(90deg, var(--accent), var(--highlight));
    color: #05121e;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    transition: all .25s ease;
    white-space: nowrap;
}
.ct-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,194,255,0.35); }
.ct-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,194,255,0.25);
    color: var(--text);
    font-size: 0.92rem;
    border-radius: 10px;
    transition: all .25s ease;
    white-space: nowrap;
}
.ct-btn-ghost:hover { border-color: var(--highlight); color: var(--highlight); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
    .ct-info-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-main-grid { grid-template-columns: 1fr; }
    .ct-map-wrap  { aspect-ratio: 16 / 7; }
}
@media (max-width: 640px) {
    .ct-hero      { padding: 130px 0 60px; }
    .ct-info-grid { grid-template-columns: 1fr; }
    .ct-field-row { grid-template-columns: 1fr; }
    .ct-form-wrap { padding: 24px 18px; }
    .ct-cta-strip-inner { flex-direction: column; text-align: center; }
    .ct-cta-strip-btns  { justify-content: center; width: 100%; }
    .ct-btn-primary, .ct-btn-ghost { flex: 1; justify-content: center; }
}
