﻿ /* ============================================================
   CONTACT PAGE
   Inherits: style.css variables
   ============================================================ */

/* ── 1. HERO ─────────────────────────────────────────────── */
.ct-hero {
  position: relative;
  min-height: 480px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.ct-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.ct-hero-inner .label {
  color: var(--red);
  margin-bottom: 20px;
}

.ct-hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.ct-hero-title em {
  font-style: normal;
  color: #fff;
}

.ct-hero-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin: 0;
  max-width: 480px;
}

.ct-hero-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--text-700));
  z-index: 3;
}

/* ── 2. MAIN SECTION ─────────────────────────────────────── */
.ct-main {
  padding: 80px 0;
  background: #fff;
  /* border-top: 3px solid var(--red); */
}

.ct-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── 3. INFO PANEL (left box) ────────────────────────────── */
.ct-info-panel {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  position: sticky;
  top: 100px;
}

.ct-info-panel .label { margin-bottom: 12px; }

.ct-info-heading {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-900);
  line-height: 1.1;
  margin: 0 0 32px;
  text-transform: uppercase;
}

.ct-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ct-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ct-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--red);
  border: 1px solid var(--border-light);
}

.ct-info-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 4px;
}

.ct-info-value {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-900);
  line-height: 1.50;
  margin: 0;
  text-decoration: none;
  transition: color var(--transition);
}

a.ct-info-value:hover { color: var(--red); }

.ct-info-divider {
  height: 1px;
  background: var(--border-light);
  margin: 28px 0;
}

.ct-social-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 12px;
}

.ct-social-links {
  display: flex;
  gap: 10px;
}

.ct-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--text-700);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.ct-social-link:hover {
  background: var(--text-900);
  color: #fff;
  border-color: var(--text-900);
}

/* ── 4. FORM PANEL (right) ───────────────────────────────── */
.ct-form-panel {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 44px;
}

.ct-form-heading {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-900);
  line-height: 1.2;
  margin: 0 0 10px;
}

.ct-form-sub {
  font-size: .88rem;
  color: var(--text-500);
  line-height: 1.7;
  margin: 0 0 32px;
}

.ct-form { display: flex; flex-direction: column; gap: 20px; }

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

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-700);
}

.ct-field label span { color: var(--red); }

.ct-field input,
.ct-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text-900);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.ct-field input:focus,
.ct-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,16,46,.08);
  background: #fff;
}

.ct-field textarea { resize: vertical; min-height: 130px; }

.ct-form-submit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 4px;
}

.ct-submit-note {
  font-size: .75rem;
  line-height: 1.6;
  color: var(--text-500);
}

/* Success state */
.ct-success {
  text-align: center;
  padding: 48px 24px;
}

.ct-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.ct-success h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-900);
  margin: 0 0 10px;
}

.ct-success p {
  font-size: .9rem;
  line-height: 1.75;
  color: var(--text-500);
  margin: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ct-grid { grid-template-columns: 320px 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .ct-hero { padding: 120px 0 64px; min-height: auto; }
  .ct-main { padding: 60px 0; }
  .ct-grid { grid-template-columns: 1fr; gap: 28px; }
  .ct-info-panel { position: static; }
  .ct-form-panel { padding: 32px 28px; }
}

@media (max-width: 600px) {
  .ct-hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-form-panel { padding: 28px 20px; }
  .ct-form-submit { flex-direction: column; align-items: flex-start; }
}

/* ── KEY CONTACTS ────────────────────────────────────────── */
.ct-team {
  padding: 40px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-light);
}
.ct-team-layout {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 40px;
  align-items: center;
}
.ct-team-aside { padding-right: 24px; }
.ct-team-aside .h-section { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.ct-team-body { min-width: 0; }

@media (max-width: 768px) {
  .ct-team-layout { grid-template-columns: 1fr; gap: 20px; }
}
.ct-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ct-team-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: box-shadow var(--transition);
}
.ct-team-card:hover { box-shadow: var(--shadow-md); }

.ct-team-info { min-width: 0; }

.ct-team-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ct-team-role {
  font-size: .7rem;
  color: var(--text-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ct-team-dept {
  font-size: .65rem;
  color: var(--text-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ct-team-phone {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .65rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 3px;
  padding: 2px 6px;
  align-self: flex-start;
  transition: background .2s, color .2s;
}
.ct-team-phone:hover { background: var(--blue-mid); border-color: var(--blue-mid); color: #fff; }
.ct-team-phone i { font-size: .55rem; color: rgba(255,255,255,.7); }

@media (max-width: 560px) {
  .ct-team-grid { grid-template-columns: 1fr; }
  .ct-team-card { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .ct-form-panel { padding: 20px 16px; }
  .ct-info-item { gap: 12px; }
  .ct-info-icon { width: 36px; height: 36px; font-size: .9rem; }
}
