/**
 * @filepath /assets/css/contact.css
 *
 * Contact Page Stylesheet — Vanguardist
 *
 * @package Vanguardist
 *
 * TABLE OF CONTENTS
 * ─────────────────────────────────────────────
 * 1.  Contact Hero
 * 2.  Contact Reasons
 * 3.  Contact Flow Section
 * 4.  Responsive
 * 5.  Dark Mode
 * ─────────────────────────────────────────────
 */
/* ================================================================================================
   1. CONTACT HERO
   ================================================================================================ */
.contact-hero {
  padding: var(--spacing-lg) 0 var(--spacing-md);
}
.contact-hero .grid-two-col {
  grid-template-columns: 1fr;
  align-items: start;
  padding: var(--spacing-md);
  border: 1px solid var(--color-neutral-100);
  border-radius: var(--border-radius-xl);
  background: var(--color-surface-primary);
  box-shadow: 0 8px 22px rgba(31, 49, 46, 0.06);
}
.contact-hero .section-header {
  margin-bottom: var(--spacing-sm);
}
.contact-hero .section-header h1 {
  font-family: var(--font-family-display);
  font-size: var(--font-size-2xl);
  letter-spacing: -0.03em;
  color: var(--color-primary-900);
  padding-left: 0;
}
.contact-hero .section-header h1::before {
  display: none;
}
.contact-hero p {
  margin-bottom: var(--spacing-sm);
}
.contact-hero p:last-of-type {
  margin-bottom: 1.5rem;
}
.contact-hero__note {
  color: var(--color-text-secondary);
}
.contact-hero__image {
  border-radius: 1.25rem;
  overflow: hidden;
  position: relative;
}
.contact-hero__image img {
  display: block;
  border-radius: 1.25rem;
  object-fit: cover;
  max-height: 20rem;
}
.contact-hero__image .hero-overlay {
  background: var(--color-primary-500);
  opacity: 0.25;
}
.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-hero-actions .btn:not(.btn--ghost) {
  background: var(--gradient-orange);
}
.contact-hero-actions .btn:not(.btn--ghost):hover {
  background: var(--gradient-orange-reversed);
}
/* ================================================================================================
   2. CONTACT REASONS
   ================================================================================================ */
.contact-reasons {
  padding: 0 0 var(--spacing-lg);
}
.contact-reasons .grid-two-col {
  grid-template-columns: 1fr;
  align-items: start;
}
.contact-panel {
  padding: var(--spacing-md);
  border: 1px solid var(--color-neutral-100);
  border-radius: var(--border-radius-xl);
  background: var(--color-surface-primary);
}
.contact-panel h2 {
  font-family: var(--font-family-display);
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.contact-list li {
  padding: 1rem 1.25rem;
  background: var(--color-neutral-50);
  border: 1px solid var(--color-neutral-100);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}
.contact-list li strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text-strong);
}
/* ================================================================================================
   3. CONTACT FLOW SECTION
   ================================================================================================ */
.contact-flow-section {
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.8));
  color: var(--color-text-inverse);
  padding: var(--spacing-md) 0;
}
.contact-flow-section .section-label {
  padding-left: 1rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  color: var(--color-primary-100);
}
.contact-flow-grid, .contact-flow-section .section-header {
  max-width: 72rem;
  margin: 0 auto;
}
.contact-flow-col {
  /* placeholder for future overrides */
}
.contact-flow-brand {
  text-align: center;
  padding: var(--spacing-md) 0 var(--spacing-sm);
}
.contact-flow-brand img {
  width: 20rem;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.contact-flow-info {
  /* inherits section text color */
}
.contact-flow-text {
  margin-top: 0.4rem;
  ;
}
.contact-flow-text:last-child {
  margin-bottom: 0;
}
.contact-flow-quote {
  border-left: 0.25rem solid var(--color-primary-100);
  padding: 1rem 1.25rem;
  margin-top: var(--spacing-sm);
  font-style: italic;
  color: var(--color-text-inverse);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}
.contact-flow {
  list-style: none;
  padding: 0;
  margin: var(--spacing-sm) 0 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: flow;
}
.contact-flow li {
  counter-increment: flow;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
}
.contact-flow li::before {
  content: counter(flow) ".";
  font-weight: 700;
  margin-right: 0.5rem;
  color: var(--color-primary-100);
}
.contact-flow-section .btn {
  margin-bottom: 0.5rem;
}
.contact-flow-section a:focus-visible, .contact-flow-section button:focus-visible {
  outline-color: #ffffff;
}
/* ================================================================================================
   4. RESPONSIVE
   ================================================================================================ */
@media (max-width: 768px) {
  .contact-hero {
    padding: var(--spacing-md) 0;
  }
  .contact-hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .contact-flow-brand {
    padding: var(--spacing-sm) 0 0 0;
  }
}
@media (min-width: 769px) {
  .contact-flow-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: var(--spacing-md);
    align-items: start;
  }
  .contact-hero-actions {
    justify-content: flex-start;
  }
  .contact-flow-brand {
    padding: 0 0 0.5rem 0;
  }
  .contact-flow-brand img {
    margin: var(--spacing-sm) 0 0;
  }
}
@media (min-width: 1700px) {
  .contact-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .contact-reasons .grid-two-col {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
@media (min-width: 1150px) {
  .contact-hero .grid-two-col {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .contact-hero__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
  }
  .contact-hero-actions {
    justify-content: center;
  }
}
/* ================================================================================================
   5. DARK MODE
   ================================================================================================ */
@media (prefers-color-scheme: dark) {
  .contact-list li {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .contact-panel {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .contact-hero .grid-two-col {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
  }
}