/**
 * Contact page — body sections only (nav + footer come from the theme).
 * All selectors scoped under .contact-page and use the theme design tokens.
 * @package Altojive
 */

.contact-page { color: var(--text-primary); }
.contact-page .ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── HERO ── */
.contact-page .ct-hero {
  background: var(--navy);
  padding: 64px 40px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-page .ct-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.contact-page .ct-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  position: relative;
}
.contact-page .ct-hero__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  position: relative;
}
.contact-page .ct-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.65;
  position: relative;
}

/* ── BODY GRID ── */
.contact-page .ct-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* ── FORM ── */
.contact-page .ct-form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.contact-page .ct-form__sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}
.contact-page .ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-page .ct-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.contact-page .ct-row .ct-group { margin-bottom: 0; }
.contact-page .ct-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-page .ct-group input,
.contact-page .ct-group select,
.contact-page .ct-group textarea {
  font-family: var(--font-body);
  font-size: 16px;                 /* 16px avoids iOS zoom-on-focus */
  color: var(--text-primary);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.contact-page .ct-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239499b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  cursor: pointer;
}
.contact-page .ct-group textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}
.contact-page .ct-group input:focus,
.contact-page .ct-group select:focus,
.contact-page .ct-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,32,53,0.08);
}
.contact-page .ct-group input::placeholder,
.contact-page .ct-group textarea::placeholder { color: #b8bccb; }
.contact-page .ct-invalid { border-color: var(--red) !important; }

.contact-page .ct-submit {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-page .ct-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 13px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.contact-page .ct-btn:hover { opacity: 0.85; }
.contact-page .ct-btn:disabled { opacity: 0.5; cursor: default; }
.contact-page .ct-btn svg { width: 17px; height: 17px; }
.contact-page .ct-note { font-size: 0.8125rem; color: var(--text-muted); }

/* Feedback toast (success + error) */
.contact-page .ct-toast {
  display: none;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 0.875rem;
}
.contact-page .ct-toast.is-visible { display: flex; }
.contact-page .ct-toast svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-page .ct-toast.is-success { background: #e8f8f0; border: 1.5px solid #6bcf9e; color: #1a6b42; }
.contact-page .ct-toast.is-error   { background: #fdecec; border: 1.5px solid #f0a3a3; color: #a12626; }

/* ── SIDEBAR ── */
.contact-page .ct-sidebar { display: flex; flex-direction: column; gap: 20px; }

.contact-page .ct-info {
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.contact-page .ct-info__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.contact-page .ct-info__icon svg { width: 20px; height: 20px; color: var(--yellow); }
.contact-page .ct-info__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-page .ct-info__text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.contact-page .ct-info__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
  transition: opacity 0.2s;
  overflow-wrap: anywhere;
}
.contact-page .ct-info__link:hover { opacity: 0.7; }

/* Social card */
.contact-page .ct-social { background: var(--navy); border-radius: var(--r-lg); padding: 24px; }
.contact-page .ct-social__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  margin-bottom: 16px;
}
.contact-page .ct-social__links { display: flex; flex-direction: column; gap: 10px; }
.contact-page .ct-social__link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}
.contact-page .ct-social__link:hover { background: rgba(255,255,255,0.12); }
.contact-page .ct-social__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-page .ct-social__icon svg { width: 16px; height: 16px; }
.contact-page .ct-social__text { display: flex; flex-direction: column; }
.contact-page .ct-social__label { font-size: 0.875rem; font-weight: 600; color: #fff; }
.contact-page .ct-social__handle { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 1px; }

/* FAQ card */
.contact-page .ct-faq {
  background: var(--yellow);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-page .ct-faq__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-page .ct-faq__icon svg { width: 18px; height: 18px; color: var(--yellow); }
.contact-page .ct-faq__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-page .ct-faq__text { font-size: 0.8125rem; color: rgba(30,32,53,0.7); line-height: 1.6; margin-bottom: 12px; }
.contact-page .ct-faq__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.contact-page .ct-faq__link svg { width: 14px; height: 14px; }

/* ══ Tablet (≤ 900px) ══ */
@media (max-width: 900px) {
  .contact-page .ct-hero { padding: 48px 24px 56px; }
  .contact-page .ct-hero__title { font-size: 2rem; }
  .contact-page .ct-wrap { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
}

/* ══ Mobile (≤ 600px) ══ */
@media (max-width: 600px) {
  .contact-page .ct-hero { padding: 40px 20px 48px; }
  .contact-page .ct-hero__title { font-size: 1.625rem; }
  .contact-page .ct-hero__sub { font-size: 0.9rem; }
  .contact-page .ct-wrap { padding: 40px 20px; }
  .contact-page .ct-row { grid-template-columns: 1fr; gap: 0; }
  .contact-page .ct-row .ct-group { margin-bottom: 16px; }
  .contact-page .ct-submit { flex-direction: column; align-items: stretch; }
  .contact-page .ct-btn { justify-content: center; }
  .contact-page .ct-note { text-align: center; }
}
