/* ═══════════════════════════════════════════════════════════════════════
   contact.css — contact template only.
   Source of truth: gibson-contact-toggle.html (verbatim selectors).
   Tokens (:root vars) + shared chrome (nav, footer, .global-map, .popup-*,
   .cta-btn, .eyebrow, .container, .mtg-form*) live in global.css — never
   redefined here. This file holds ONLY contact-unique selectors.
   Breakpoints: 1024 / 768 (source uses these two on this template).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── PAGE HEADER ── */
body.separate-containers .page-header {
  /* min-height removed — it left an empty navy band below the short hero
     content (the "weird bar"). Padding now sets the height so the hero hugs
     its content. Austin 2026-06-05. */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: var(--deep-purple);
  position: relative; overflow: hidden;
  padding: 130px 48px 70px;
}
.page-header-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 60%, rgba(244,100,33,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 30%, rgba(0,180,216,0.03) 0%, transparent 60%),
    linear-gradient(160deg, var(--deep-purple) 0%, var(--navy) 100%);
}
.page-header-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-header-content { position: relative; z-index: 2; max-width: 680px; }
.page-header .eyebrow { justify-content: center; margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.05; color: #fff;
  margin-bottom: 20px;
}
.page-header-sub {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400; font-style: italic;
  color: var(--smoke); line-height: 1.55;
  max-width: 520px; margin: 0 auto;
}

/* ── CONTACT SECTION ── */
.contact-section {
  background: var(--chalk);
  padding: 100px 0 120px;
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── INFO COLUMN ── */
.contact-info-heading {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 32px;
  line-height: 1.1;
}
.info-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.info-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--fire-glow);
  border-radius: 50%;
  margin-top: 2px;
}
.info-icon svg {
  width: 18px; height: 18px;
  stroke: var(--fire);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 4px;
}
.info-text {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.7;
}
.info-text a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
}
.info-text a:hover { color: var(--fire); }

.contact-map {
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--navy-80);
}
.contact-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

.map-placeholder {
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  background: var(--navy-80);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,180,216,0.06) 0%, transparent 70%);
}
.map-placeholder-text {
  font-family: var(--body);
  font-size: 11px; font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--smoke-light);
  position: relative; z-index: 1;
}

/* ── WHY CONTACT US ── */
.why-section {
  background: var(--chalk-warm);
  padding: 100px 0;
  position: relative; overflow: hidden;
}
.why-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='0.6' fill='%23000' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.why-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.why-head .eyebrow { justify-content: center; margin-bottom: 20px; }
.why-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.why-card {
  text-align: center;
  padding: 40px 28px;
}
.why-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--fire-glow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.why-icon svg {
  width: 26px; height: 26px;
  stroke: var(--fire);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.15;
}
.why-card p {
  font-size: 0.92rem;
  color: var(--muted-text);
  line-height: 1.75;
  max-width: 300px;
  margin: 0 auto;
}

/* ── FAQ ── */
.faq {
  background: var(--chalk);
  padding: 120px 0;
}
.faq-head { margin-bottom: 48px; }
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q,
.faq-item.open .faq-q,
.faq-q:hover,
.faq-q:focus {
  width: 100%;
  /* Hard resets: a plugin's global button styling (Gravity Forms' button theme)
     paints .faq-q (a <button>) with an orange fill + orange text. Lock fill AND
     text color across base / open / hover / focus so it can never be hijacked
     and the question text stays dark (no red-on-hover). Austin 2026-06-05. */
  background: none !important; border: none !important; box-shadow: none !important;
  color: var(--ink) !important;
  padding: 22px 48px 22px 4px;   /* more breathing room around each question */
  font-family: var(--display);
  font-size: 1.2rem; font-weight: 600;
  text-align: left; cursor: pointer;
  position: relative;
  transition: none;
  line-height: 1.35;
  letter-spacing: normal; text-transform: none;
}
.faq-q::after {
  content: '+';
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-size: 1.4rem; font-weight: 300;
  color: var(--teal);
  transition: transform 0.3s, color 0.3s;
}
.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--fire);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s;
  padding: 0 4px;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 4px 4px 28px 4px;     /* top gap below question + comfortable bottom */
}
.faq-a p {
  font-size: 0.95rem; color: var(--body-text-soft);
  line-height: 1.8; max-width: 680px; margin: 0;
}

/* ── RESPONSIVE (source breakpoints: 1024 / 768) ── */
@media (max-width: 1024px) {
  .contact-grid { gap: 48px; }
  .why-grid { gap: 28px; }
}
@media (max-width: 768px) {
  body.separate-containers .page-header { padding: 120px 24px 60px; }
  .contact-section { padding: 60px 0 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-section { padding: 80px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 28px 20px; }
  .faq { padding: 80px 0; }
}
