/* ============================================================
   HSJ-v27  Contact Page
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.ct-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d2236 0%, #16314f 55%, #1a3d60 100%);
  padding: 44px 24px 40px;
  text-align: center;
  color: #fff;
}

.ct-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.ct-hero-eyebrow {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4rem;
  font-weight: 700;
  color: #FBA504;
  line-height: 1;
  margin: 0 0 6px;
}

.ct-hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.06;
  margin: 0 0 16px;
  color: #fff;
}
.ct-hero-title em {
  color: #FBA504;
  font-style: normal;
}

.ct-hero-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #a8bdd6;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.ct-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ct-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 24px;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.ct-hero-btn:hover { transform: translateY(-2px); }

.ct-hero-btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.ct-hero-btn--wa:hover { box-shadow: 0 6px 24px rgba(37,211,102,.5); }

.ct-hero-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.ct-hero-btn--outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,.7); }

/* decorative shapes */
.ct-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.ct-hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  background: #FBA504;
}
.ct-hero-shape--1 { width: 420px; height: 420px; top: -180px; right: -120px; }
.ct-hero-shape--2 { width: 280px; height: 280px; bottom: -140px; left: -80px; }

/* ── Info bar ──────────────────────────────────────────────── */
.ct-infobar {
  background: #fff;
  border-bottom: 1px solid #e8edf3;
}
.ct-infobar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.ct-info-divider {
  width: 1px;
  background: #e8edf3;
  align-self: stretch;
  margin: 24px 0;
  flex-shrink: 0;
}

.ct-info-card {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
}

.ct-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f0f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16314f;
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-info-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #FBA504;
  margin: 0 0 4px;
}

.ct-info-value {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: #16314f;
  margin: 0;
  line-height: 1.5;
}

.ct-info-link {
  text-decoration: none;
  color: #16314f;
  transition: color 0.12s;
}
.ct-info-link:hover { color: #FBA504; }

/* ── Main section ──────────────────────────────────────────── */
.ct-main {
  background: #f5f8fc;
  padding: 64px 24px;
}
.ct-main-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.ct-section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FBA504;
  margin-bottom: 8px;
}

.ct-section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #16314f;
  margin: 0 0 10px;
  line-height: 1.15;
}
.ct-section-title em { color: #FBA504; font-style: normal; }

.ct-section-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #5b6b7c;
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ── Form card ─────────────────────────────────────────────── */
.ct-main-form {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8edf3;
  padding: 24px 26px 22px;
  box-shadow: 0 4px 24px rgba(22,49,79,0.07);
}

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

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

.ct-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-form-field--full {
  grid-column: 1 / -1;
}

.ct-form-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #16314f;
  letter-spacing: 0.01em;
}
.ct-form-field label span {
  color: #e55;
  margin-left: 2px;
}

.ct-form-field input,
.ct-form-field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #16314f;
  background: #fafbfd;
  border: 1.5px solid #d8e3ee;
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
}
.ct-form-field input::placeholder,
.ct-form-field textarea::placeholder {
  color: #a0adbf;
}
.ct-form-field input:focus,
.ct-form-field textarea:focus {
  border-color: #16314f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22,49,79,0.08);
}
.ct-form-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

.ct-form-field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

/* Select wrapper */
.ct-select-wrap {
  position: relative;
}
.ct-select-wrap select {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #16314f;
  background: #fafbfd;
  border: 1.5px solid #d8e3ee;
  border-radius: 8px;
  padding: 10px 36px 10px 14px;
  outline: none;
  width: 100%;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ct-select-wrap select:focus {
  border-color: #16314f;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22,49,79,0.08);
}
.ct-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a9bb0;
  pointer-events: none;
}

/* Form error/success states */
.ct-form-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #c0392b;
}

.ct-form-success {
  text-align: center;
  padding: 40px 24px;
}
.ct-form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f7ef;
  color: #22b76b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.ct-form-success h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #16314f;
  margin: 0 0 10px;
}
.ct-form-success p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #5b6b7c;
  margin: 0 0 8px;
  line-height: 1.6;
}
.ct-form-success a { color: #16314f; font-weight: 600; }

/* Submit button */
.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: 40px;
  border: none;
  background: #FBA504;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 16px rgba(251,165,4,.3);
  letter-spacing: 0.01em;
  align-self: flex-start;
}
.ct-submit:hover:not(:disabled) {
  background: #e9940a;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(251,165,4,.42);
}
.ct-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Spinner */
.ct-spinner {
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ct-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes ct-spin { to { transform: rotate(360deg); } }

.ct-form-note {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: #8a9bb0;
  margin: 0;
}

/* ── Aside (right column) ──────────────────────────────────── */
.ct-main-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.ct-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8edf3;
  box-shadow: 0 4px 16px rgba(22,49,79,0.07);
}
.ct-map-wrap iframe { display: block; }

.ct-aside-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf3;
  padding: 22px 22px 20px;
  box-shadow: 0 2px 12px rgba(22,49,79,0.06);
}
.ct-aside-card--dark {
  background: #16314f;
  border-color: #16314f;
}

.ct-aside-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16314f;
  margin: 0 0 14px;
}
.ct-aside-card--dark .ct-aside-title { color: #fff; }

.ct-aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-aside-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.87rem;
  color: #2d4a62;
  line-height: 1.4;
}
.ct-aside-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

/* Quick contact buttons */
.ct-quick-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ct-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s;
}
.ct-quick-link:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* ── Branch offices ────────────────────────────────────────── */
.ct-branches {
  background: #fff;
  padding: 64px 24px;
  border-top: 1px solid #e8edf3;
}
.ct-branches-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.ct-branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ct-branch-card {
  background: #f7f9fc;
  border-radius: 14px;
  border: 1px solid #e8edf3;
  padding: 28px 24px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.ct-branch-card:hover {
  box-shadow: 0 8px 28px rgba(22,49,79,0.1);
  transform: translateY(-3px);
}

.ct-branch-flag {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}

.ct-branch-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16314f;
  margin: 0 0 10px;
}

.ct-branch-addr {
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-size: 0.83rem;
  color: #5b6b7c;
  line-height: 1.55;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
}

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

.ct-branch-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #16314f;
  text-decoration: none;
  transition: color 0.12s;
}
.ct-branch-contact svg { color: #FBA504; flex-shrink: 0; }
.ct-branch-contact:hover { color: #FBA504; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .ct-main-inner {
    grid-template-columns: 1fr;
  }
  .ct-main-aside {
    position: static;
  }
  .ct-branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ct-hero { padding: 52px 20px 48px; }
  .ct-infobar-inner {
    flex-direction: column;
  }
  .ct-info-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
  .ct-info-card { padding: 20px 20px; }
  .ct-main { padding: 40px 16px; }
  .ct-main-form { padding: 24px 20px; }
  .ct-form-row { grid-template-columns: 1fr; }
  .ct-branches { padding: 48px 16px; }
  .ct-branches-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .ct-branches-grid { grid-template-columns: 1fr; }
  .ct-hero-actions { flex-direction: column; align-items: center; }
  .ct-hero-btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ── Recommended On ────────────────────────────────────────── */
.ct-recommended {
  background: #fff;
  border-top: 1px solid #e8edf3;
  padding: 32px 24px;
}
.ct-recommended-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.ct-recommended-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a0adbf;
  text-align: center;
  margin: 0 0 20px;
}
.ct-recommended-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.ct-rec-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.2s, opacity 0.2s;
}
.ct-rec-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ── Business Group + Associations ────────────────────────── */
.ct-partners {
  background: #f7f9fc;
  border-top: 1px solid #e8edf3;
  padding: 48px 24px;
}
.ct-partners-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}
.ct-partners-divider {
  width: 1px;
  background: #e8edf3;
  align-self: stretch;
  margin: 0 48px;
}
.ct-partners-col {
  min-width: 0;
}
.ct-partners-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #16314f;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct-partners-bar {
  display: inline-block;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: #FBA504;
  flex-shrink: 0;
}
.ct-partners-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  color: #6b7c93;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Logo grids */
.ct-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ct-logo-grid--assoc {
  grid-template-columns: repeat(4, 1fr);
}

.ct-logo-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.ct-logo-card:hover {
  box-shadow: 0 4px 16px rgba(22,49,79,0.1);
  transform: translateY(-2px);
}
.ct-logo-img {
  width: 100%;
  max-height: 52px;
  object-fit: contain;
  object-position: center;
}
.ct-logo-name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16314f;
  text-align: center;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 900px) {
  .ct-partners-inner {
    grid-template-columns: 1fr;
  }
  .ct-partners-divider {
    width: 100%;
    height: 1px;
    margin: 32px 0;
  }
  .ct-logo-grid,
  .ct-logo-grid--assoc {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 520px) {
  .ct-logo-grid,
  .ct-logo-grid--assoc {
    grid-template-columns: repeat(2, 1fr);
  }
  .ct-recommended-logos { gap: 20px; }
  .ct-rec-logo { height: 24px; }
}
