/* ==========================================================================
   3PEDIA DIGITAL — CONTACT PAGE STYLES (contact.css v4.0 · ZERO INLINE CSS)
   ========================================================================== */

@keyframes statPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31, 168, 85, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(31, 168, 85, 0.05); }
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes typeBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes rvInContact {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* --- HERO --- */
.c-hero,
.ct-hero-centered {
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 145px 0 65px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.c-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.ct-hero-stack {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.ct-eyebrow-centered {
  justify-content: center;
}

.ct-hero-title {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 auto;
}

.ct-hero-sub {
  margin: 24px auto 0;
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.68;
}

.ct-stat-row {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.ct-stat-item {
  text-align: center;
}

.ct-stat-val {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-size: 28px;
  font-weight: 800;
}

.ct-stat-lbl {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* --- LIVE TICKER --- */
.ticker-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
}

.tick-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1FA855;
  flex-shrink: 0;
}

.tick-item b {
  color: var(--ink);
  font-weight: 600;
}

/* --- REASON ROUTER --- */
.router-sec {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.router-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.router-head .eyebrow {
  justify-content: center;
}

.router-head h2 {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.router-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.chat-shell {
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 44px 40px;
}

.bot-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.bot-av {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.bot-msg {
  border: 1px solid var(--line);
  padding: 15px 20px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 480px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-left: 54px;
}

.reason-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 17px 18px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 11px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.reason-btn:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.reason-btn.picked {
  background: var(--ink);
  color: var(--bg);
}

.reason-btn .rnum {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--ink-faint);
  flex-shrink: 0;
}

.reason-btn.picked .rnum {
  color: var(--bg);
}

.reveal-panel {
  margin-left: 54px;
  margin-top: 20px;
  display: none;
}

.reveal-panel.show {
  display: block;
  animation: rvInContact 0.5s var(--ease);
}

.typing-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.typing-dots {
  border: 1px solid var(--line);
  padding: 15px 20px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  animation: typeBounce 1.1s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }

.reveal-box {
  border: 1px solid var(--ink);
  padding: 28px 30px;
}

.reveal-box h4 {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.reveal-box p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.rv-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.rv-form input,
.rv-form textarea {
  background: transparent;
  border: 1px solid var(--line);
  padding: 13px 15px;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.25s;
}

.rv-form input:focus,
.rv-form textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.rv-form textarea {
  resize: vertical;
  min-height: 78px;
}

.rv-error {
  font-size: 13px;
  color: #dc2626;
  margin-top: 4px;
}

.rv-success {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1FA855;
  margin-top: 4px;
}

.rv-success.show {
  display: flex;
}

/* --- DIRECT CONTACT & GOOGLE MAP --- */
.direct-sec {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.direct-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}

.ct-direct-sub {
  margin-top: 14px;
}

.ct-map-wrap {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  height: 240px;
  background: var(--bg-alt);
}

.ct-map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ct-map-caption {
  margin-top: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  color: var(--ink-faint);
}

.ct-map-link {
  text-decoration: underline;
}

.direct-cards {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}

.d-card {
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.d-card:last-child {
  border-bottom: none;
}

.d-card:hover {
  background: var(--bg-alt);
}

.d-ic {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.6;
  flex-shrink: 0;
}

.d-card b {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
}

.d-card span,
.d-card a,
.ct-card-link {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* --- FOUNDER DIRECT LINE --- */
.fline-sec {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.fline-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.fline-img {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  overflow: hidden;
  position: relative;
}

.fline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fline-mono {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 30px;
  background: var(--ink);
  color: var(--bg);
}

.fline-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}

.fline-quote {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  max-width: 640px;
}

.fline-sub {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.fline-sign {
  margin-top: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--ink-faint);
}

.fline-btn {
  margin-top: 20px;
  display: inline-flex;
}

/* --- RESPONSIVE --- */
@media (max-width: 860px) {
  .reason-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .bot-row {
    flex-direction: column;
  }
  .bot-msg {
    max-width: 100%;
  }
  .reveal-panel {
    margin-left: 0;
  }
  .direct-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ct-stat-row {
    gap: 24px;
  }
  .chat-shell {
    padding: 30px 22px;
  }
}

@media (max-width: 700px) {
  .fline-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}