/* ===== Contact page (extends legal.css) ===== */
.legal-nav-active {
  color: var(--accent) !important;
  font-weight: 600;
  position: relative;
}
.legal-nav-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px;
  height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

.contact-page { background: var(--bg); }

/* ===== HERO ===== */
.contact-hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(236,72,153,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(99,102,241,0.20), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg));
  padding: 56px 24px 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.contact-hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
}
.contact-eyebrow {
  display: inline-block;
  background: rgba(99,102,241,0.10);
  color: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 14px;
}
.contact-hero h1 {
  font-size: 42px; line-height: 1.15; margin: 0 0 14px 0;
  color: var(--text);
}
.contact-grad {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-hero p { color: var(--text-soft); font-size: 16px; margin: 0 0 22px 0; max-width: 560px; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all 0.18s ease;
  text-decoration: none;
}
.contact-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff !important; box-shadow: 0 6px 18px rgba(99,102,241,0.28);
}
.contact-btn.primary:hover { transform: translateY(-1px); text-decoration: none; opacity: 0.95; }
.contact-btn.ghost {
  background: var(--surface); color: var(--text) !important;
  border-color: var(--border);
}
.contact-btn.ghost:hover { border-color: var(--accent); text-decoration: none; }

/* hero right card */
.contact-hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 22px;
  box-shadow: 0 8px 30px rgba(15,23,42,0.06);
}
.contact-status { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.contact-status b { display: block; font-size: 14px; }
.contact-status small { color: var(--text-soft); font-size: 12px; }
.contact-status .dot { width: 10px; height: 10px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,0.18); flex: none; }
.contact-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 16px; }
.contact-stats > div { text-align: center; padding: 8px 4px; background: var(--bg); border-radius: 10px; }
.contact-stats b { display: block; font-size: 20px; color: var(--text); }
.contact-stats span { display: block; font-size: 11px; color: var(--text-soft); margin-top: 2px; }

/* ===== SECTION ===== */
.contact-section {
  max-width: 1100px; margin: 0 auto; padding: 48px 24px;
}
.contact-h2 { font-size: 24px; margin: 0 0 6px 0; color: var(--text); }
.contact-sub { color: var(--text-soft); font-size: 14px; margin: 0 0 24px 0; }

/* ===== CHANNELS GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  transition: all 0.2s ease;
  position: relative;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,23,42,0.07);
  border-color: var(--accent);
}
.contact-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px;
}
.contact-card h3 { margin: 0 0 6px 0; font-size: 16px; color: var(--text); }
.contact-card p { color: var(--text-soft); font-size: 13px; margin: 0 0 10px 0; line-height: 1.5; }
.contact-link {
  display: inline-block; color: var(--accent) !important;
  font-weight: 600; font-size: 14px;
  text-decoration: none; word-break: break-all;
}
.contact-link:hover { text-decoration: underline; }
.contact-link-mini { display: inline-block; margin-top: 6px; font-size: 12px; color: var(--text-soft) !important; }
.contact-link-mini:hover { color: var(--accent) !important; }
.contact-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; }
.contact-addr { font-size: 13px; color: var(--text); }
.contact-badge {
  display: inline-block; margin-top: 6px;
  background: rgba(245,158,11,0.12); color: #d97706;
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}

/* ===== HOURS ===== */
.contact-hours {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.contact-hours-text p { color: var(--text-soft); margin: 0 0 18px 0; }
.contact-hours-list { list-style: none; padding: 0; margin: 0; }
.contact-hours-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.contact-hours-list li:last-child { border-bottom: none; }
.contact-hours-list span { color: var(--text-soft); }
.contact-hours-list b { color: var(--text); }
.contact-vip { color: #db2777 !important; }

.contact-hours-clock { display: flex; align-items: center; justify-content: center; }
.contact-clock {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; border-radius: 14px; padding: 22px;
  text-align: center; width: 100%;
  box-shadow: 0 8px 24px rgba(99,102,241,0.22);
}
.contact-clock-time { font-size: 38px; font-weight: 700; letter-spacing: 1px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.contact-clock-zone { font-size: 12px; opacity: 0.9; margin-top: 4px; }
.contact-clock-status { margin-top: 12px; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.contact-clock-status .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-on { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,0.25); }
.dot-off { background: #fca5a5; box-shadow: 0 0 0 3px rgba(252,165,165,0.25); }

/* ===== FORM ===== */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 26px;
}
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.contact-field label { font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.contact-field .req { color: #ef4444; }
.contact-field input, .contact-field select, .contact-field textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--text);
  font: inherit; font-size: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.contact-field textarea { resize: vertical; min-height: 120px; font-family: inherit; }

.contact-form-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.contact-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-soft); cursor: pointer; }
.contact-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.contact-form-msg { margin-top: 14px; padding: 10px 14px; border-radius: 8px; font-size: 14px; display: none; }
.contact-form-msg.ok { display: block; background: rgba(16,185,129,0.10); color: #047857; border: 1px solid rgba(16,185,129,0.25); }
.contact-form-msg.err { display: block; background: rgba(239,68,68,0.10); color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }
.contact-form-msg:not(:empty) { display: block; background: rgba(99,102,241,0.08); color: var(--text); border: 1px solid rgba(99,102,241,0.20); }

/* ===== FAQ ===== */
.contact-faq { display: flex; flex-direction: column; gap: 10px; }
.contact-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 18px;
  transition: border-color 0.15s;
}
.contact-faq details[open] { border-color: var(--accent); }
.contact-faq summary {
  cursor: pointer; font-weight: 600; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary::after {
  content: "+"; font-size: 22px; color: var(--accent); font-weight: 400;
  transition: transform 0.2s;
}
.contact-faq details[open] summary::after { content: "−"; }
.contact-faq p { color: var(--text-soft); font-size: 14px; margin: 10px 0 0 0; line-height: 1.6; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .contact-hero-inner { grid-template-columns: 1fr; }
  .contact-hero h1 { font-size: 32px; }
  .contact-hours { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-hero { padding: 36px 18px 44px; }
  .contact-section { padding: 32px 18px; }
  .contact-hero h1 { font-size: 28px; }
  .contact-clock-time { font-size: 32px; }
}
