/**
 * FonePro — Contact Page Styles
 * Author : FonePro Dev
 * Date   : 2026-06-07
 */

/* ── Hero ────────────────────────────────────────────────── */
.fp-contact-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #111 55%, #0d1a12 100%);
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
}
.fp-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.fp-contact-hero-inner {
  position: relative;
  z-index: 2;
}
.fp-contact-hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 12px;
}
.fp-contact-hero h1 {
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.fp-contact-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 480px;
  line-height: 1.65;
}
/* ── Quick action cards ──────────────────────────────────── */
.fp-contact-actions {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 28px 0;
}
.fp-contact-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fp-contact-action-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.fp-contact-action-card:hover {
  border-color: #10b981;
  box-shadow: 0 4px 18px rgba(16,185,129,0.12);
  transform: translateY(-2px);
  color: inherit;
}
.fp-contact-action-card.is-cta {
  background: linear-gradient(135deg, #0d1a12 0%, #111 100%);
  border-color: rgba(16,185,129,0.25);
  color: #fff;
}
.fp-contact-action-card.is-cta:hover {
  border-color: #10b981;
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.fp-contact-action-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  background: #ecfdf5;
  color: #10b981;
}
.is-cta .fp-contact-action-icon {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
}
.fp-contact-action-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 2px;
}
.is-cta .fp-contact-action-label { color: rgba(255,255,255,0.45); }
.fp-contact-action-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}
.is-cta .fp-contact-action-value { color: #fff; }

/* ── Main section ─────────────────────────────────────────── */
.fp-contact-main {
  background: #f9fafb;
  padding: 56px 0 64px;
}

/* Form card */
.fp-contact-form-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 40px;
}
.fp-contact-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.fp-contact-form-sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 28px;
}

/* Inputs */
.fp-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #111;
  background: #fafafa;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  -webkit-appearance: none;
}
.fp-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
  background: #fff;
}
.fp-input::placeholder { color: #9ca3af; }
.fp-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.fp-label-opt {
  font-weight: 400;
  color: #9ca3af;
  font-size: 0.75rem;
  margin-left: 4px;
}
.fp-select-wrap {
  position: relative;
}
.fp-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6b7280;
  pointer-events: none;
}
.fp-select-wrap .fp-input {
  padding-right: 36px;
  cursor: pointer;
}

/* Alert banners */
.fp-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
}
.fp-alert-success {
  background: rgba(16,185,129,0.08);
  border: 1.5px solid rgba(16,185,129,0.3);
  color: #065f46;
}
.fp-alert-error {
  background: rgba(239,68,68,0.06);
  border: 1.5px solid rgba(239,68,68,0.2);
  color: #991b1b;
}
.fp-alert i { font-size: 1.125rem; flex-shrink: 0; margin-top: 1px; }

/* Submit button */
.fp-contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 13px 32px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(16,185,129,0.4);
}
.fp-contact-submit:hover {
  box-shadow: 0 6px 22px rgba(16,185,129,0.5);
  transform: translateY(-1px);
}

/* Info sidebar */
.fp-contact-info-box {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 16px;
}
.fp-contact-info-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 14px;
}
.fp-contact-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.875rem;
}
.fp-contact-hours-row:last-child { border-bottom: none; }
.fp-contact-hours-day { font-weight: 600; color: #374151; }
.fp-contact-hours-time { color: #6b7280; }
.fp-contact-hours-time.is-open { color: #10b981; font-weight: 600; }
.fp-contact-hours-time.is-closed { color: #ef4444; }

/* Social links */
.fp-contact-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fp-contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.fp-contact-social-btn:hover { border-color: #10b981; color: #10b981; }

/* ── Locations section ───────────────────────────────────── */
.fp-contact-stores {
  background: #fff;
  padding: 64px 0;
}
.fp-contact-section-overline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #10b981;
  margin-bottom: 8px;
}
.fp-contact-section-title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 900;
  color: #111;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.fp-contact-section-sub {
  font-size: 0.9375rem;
  color: #6b7280;
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.fp-store-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.fp-store-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}
.fp-store-map {
  height: 220px;
  background: #e5e7eb;
  overflow: hidden;
  position: relative;
}
.fp-store-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.fp-store-map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
}
.fp-store-map-placeholder i { font-size: 2rem; color: #10b981; }
.fp-store-body {
  padding: 22px 24px 24px;
}
.fp-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(16,185,129,0.1);
  color: #065f46;
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.fp-store-name {
  font-size: 1.0625rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.fp-store-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 8px;
}
.fp-store-detail i {
  color: #10b981;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.fp-store-detail a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.fp-store-detail a:hover { color: #10b981; }
.fp-store-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.fp-store-btn {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: box-shadow 0.18s, transform 0.15s;
}
.fp-store-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(16,185,129,0.35);
}
.fp-store-btn-primary:hover {
  color: #fff;
  box-shadow: 0 4px 18px rgba(16,185,129,0.5);
  transform: translateY(-1px);
}
.fp-store-btn-ghost {
  background: #f3f4f6;
  color: #374151;
}
.fp-store-btn-ghost:hover {
  background: #e5e7eb;
  color: #111;
  transform: translateY(-1px);
}

/* ── FAQ section ─────────────────────────────────────────── */
.fp-contact-faq {
  background: #f9fafb;
  padding: 64px 0;
}
.fp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.fp-faq-item {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 24px;
  transition: border-color 0.18s;
}
.fp-faq-item:hover { border-color: rgba(16,185,129,0.3); }
.fp-faq-q {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.4;
}
.fp-faq-a {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}
.fp-faq-a a {
  color: #10b981;
  text-decoration: none;
  font-weight: 600;
}
.fp-faq-a a:hover { text-decoration: underline; }

/* Device field visibility toggle */
#fp-device-row { display: none; }
#fp-device-row.is-visible { display: block; }

/* Honeypot */
.fp-hp { display: none !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .fp-contact-action-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .fp-contact-hero { padding: 32px 0 28px; }
  .fp-contact-main { padding: 36px 0 48px; }
  .fp-contact-form-card { padding: 24px 20px; }
  .fp-contact-action-grid { grid-template-columns: 1fr; gap: 10px; }
  .fp-contact-stores,
  .fp-contact-faq { padding: 44px 0; }
  .fp-faq-grid { grid-template-columns: 1fr; }
  .fp-store-map { height: 180px; }
}
