/**
 * CONTACT PAGE THEME: ARCHITECTURAL SLATE & AZURE PALETTE
 * Aligned with Master Site Theme (Clean Whites, Cool Slates & Brand Navy):
 *   --pal-crimson: #222e40 (Brand Dark Slate Navy)
 *   --pal-azure:   #3B8BEB (Electric Sky Azure Blue)
 *   --pal-ice:     #C4DBF6 (Frosted Sky Blue / Cloud Tint)
 *   --pal-slate:   #8590AA (Cool Slate Blue-Gray)
 *
 * Typography Visibility Guarantee:
 *   --text-headline: #111d33 (Deep Midnight Slate, > 12:1 Contrast AAA)
 *   --text-body:     #24334a (Rich Dark Slate, effortless legibility)
 *   --text-muted:    #52627e (Muted high-contrast secondary text)
 *   --text-on-dark:  #ffffff (Pure crisp white on crimson/azure elements)
 */

/* ─── 1. VARIABLES & DESIGN TOKENS ─────────────────────────── */
:root {
  /* Brand Palette from Image */
  --pal-crimson: #222e40;
  --pal-crimson-hover: #18212e;
  --pal-crimson-glow: rgba(34, 46, 64, 0.28);
  --pal-crimson-subtle: rgba(34, 46, 64, 0.08);

  --pal-azure: #3B8BEB;
  --pal-azure-dark: #1f6ecf;
  --pal-azure-hover: #195bb0;
  --pal-azure-glow: rgba(59, 139, 235, 0.25);
  --pal-azure-subtle: rgba(59, 139, 235, 0.08);

  --pal-cream: #f1f5f9;
  --pal-cream-soft: #f8fafc;
  --pal-cream-border: rgba(226, 232, 240, 0.85);

  --pal-ice: #C4DBF6;
  --pal-ice-soft: #f0f6fd;
  --pal-ice-border: rgba(196, 219, 246, 0.8);

  --pal-slate: #8590AA;
  --pal-slate-light: #c0c8d8;

  /* Typography Visibility Standard (Ensures AAA legibility) */
  --text-headline: #111d33;
  --text-body: #24334a;
  --text-muted: #52627e;
  --text-on-dark: #ffffff;

  /* Surfaces & Borders */
  --bg-page: #f8fbff;
  --bg-card: #ffffff;
  --border-subtle: rgba(133, 144, 170, 0.22);
  --border-accent: rgba(59, 139, 235, 0.25);

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(17, 29, 51, 0.05);
  --shadow-md: 0 12px 32px rgba(17, 29, 51, 0.08);
  --shadow-lg: 0 24px 54px rgba(17, 29, 51, 0.12);
  --shadow-azure: 0 14px 34px rgba(59, 139, 235, 0.25);
  --shadow-crimson: 0 14px 34px rgba(34, 46, 64, 0.25);

  /* Fonts & Transitions */
  --font-heading: 'Inter Tight', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── 2. GLOBAL RESET FOR CONTACT PAGE ─────────────────────── */
body.contact-page {
  background-color: var(--bg-page);
  background-image: none !important;
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.contact-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Navbar active indicator aligned with new palette */
body.contact-page .navbar .nav-link.active {
  color: var(--pal-azure) !important;
  font-weight: 700;
  position: relative;
}

body.contact-page .navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pal-crimson), var(--pal-azure));
  border-radius: 9999px;
}

/* ─── 3. 3D CREATIVE SKY HERO SECTION ─────────────────────── */
.contact-hero {
  position: relative;
  min-height: 90vh;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 105px 6% 75px;
  border-bottom: 1px solid var(--pal-ice-border);
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(180deg, #f0f7fe 0%, #ffffff 55%, #f8fafc 100%);
}

/* Background Wrap & Subtle Sky Blend */
.contact-hero__bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform-origin: center top;
  animation: contactBgLanding 1.8s cubic-bezier(0.16, 1, 0.3, 1) both,
             contactBgAmbient 14s ease-in-out 1.8s infinite alternate;
  will-change: transform;
  opacity: 0.85;
}

.contact-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(240, 247, 254, 0.97) 0%,
    rgba(240, 247, 254, 0.93) 45%,
    rgba(196, 219, 246, 0.65) 75%,
    rgba(59, 139, 235, 0.28) 100%
  );
  pointer-events: none;
}

/* Volumetric Atmospheric Sky & Cloud Orbs */
.contact-hero__light-ray {
  position: absolute;
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.65;
}

.contact-hero__light-ray--left {
  top: -8%;
  left: 2%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(196, 219, 246, 0.5) 0%, rgba(34, 46, 64, 0.04) 50%, transparent 70%);
}

.contact-hero__light-ray--right {
  bottom: -5%;
  right: 3%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(59, 139, 235, 0.22) 0%, rgba(34, 46, 64, 0.12) 50%, transparent 70%);
}

/* Organic Topographic Vector Curves */
.contact-hero__topo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.contact-topo-svg {
  width: 100%;
  height: 100%;
}

.contact-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 56px;
  align-items: center;
}

/* Hero Content & High-Contrast Typography */
.contact-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Eyebrow Badge - Architectural Slate Pill */
.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(34, 46, 64, 0.05);
  border: 1px solid rgba(34, 46, 64, 0.14);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-headline);
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(17, 29, 51, 0.04);
}

.contact-hero__sep {
  color: var(--pal-azure);
  font-weight: 900;
}

.contact-hero__tag-highlight {
  color: var(--pal-crimson);
  font-weight: 800;
}

/* H1 Main Title */
.contact-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-headline);
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.contact-hero__line {
  display: block;
}

/* Gradient Shimmer Highlight */
.contact-hero__shimmer {
  font-style: normal;
  background: linear-gradient(135deg, var(--pal-crimson) 0%, var(--pal-azure) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  font-weight: 800;
}

.contact-hero__swoosh {
  display: block;
  width: 270px;
  height: 14px;
  margin-top: 6px;
}

.contact-hero__sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 0 32px;
  font-weight: 450;
}

/* Hero Action Buttons */
.contact-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}

/* Primary Button: Berry Crimson */
.contact-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 34px;
  background: var(--pal-crimson);
  color: var(--text-on-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  border: 1px solid var(--pal-crimson);
  text-decoration: none;
  box-shadow: var(--shadow-crimson);
  transition: var(--transition);
}

.contact-btn-primary:hover {
  background: var(--pal-crimson-hover);
  color: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(34, 46, 64, 0.35);
}

.contact-btn-primary i {
  color: #ffffff;
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.contact-btn-primary:hover i {
  transform: scale(1.15);
}

/* Secondary Button: Clean White with Slate Navy & Azure Hover */
.contact-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: #ffffff;
  color: var(--text-headline);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(34, 46, 64, 0.22);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-btn-secondary:hover {
  background: rgba(34, 46, 64, 0.05);
  border-color: #222e40;
  color: #222e40;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(34, 46, 64, 0.12);
}

.contact-btn-secondary i {
  color: #222e40;
  transition: color 0.25s ease;
}

.contact-btn-secondary:hover i {
  color: #222e40;
}

/* Hero SLA Badges */
.contact-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(133, 144, 170, 0.22);
  width: 100%;
}

.contact-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--pal-ice);
  border: 1px solid rgba(59, 139, 235, 0.2);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-headline);
}

.contact-metric-badge i {
  color: var(--pal-azure-dark);
  font-size: 0.92rem;
}

/* Hero Right: 3D Frosted Glass Priority Card */
.contact-hero__showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.contact-hero__stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero__glass-card {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 30px;
  padding: 34px 36px;
  border: 2px solid var(--pal-ice);
  box-shadow: 0 24px 60px rgba(59, 139, 235, 0.14), 0 4px 16px rgba(17, 29, 51, 0.05);
  display: flex;
  align-items: center;
  gap: 22px;
  animation: contactGlassLanding 1.2s cubic-bezier(0.16, 1, 0.3, 1) both,
             contactGlassFloat 7s ease-in-out 1.2s infinite alternate;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-hero__glass-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 32px 75px rgba(59, 139, 235, 0.22);
}

.contact-glass__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--pal-crimson) 0%, var(--pal-azure) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-crimson);
}

.contact-glass__body {
  display: flex;
  flex-direction: column;
}

.contact-glass__label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pal-slate);
  margin-bottom: 4px;
}

.contact-glass__link {
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--text-headline);
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.contact-glass__link:hover {
  color: var(--pal-azure);
}

.contact-glass__sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── 4. ANIMATION KEYFRAMES ──────────────────────────────── */
@keyframes contactBgLanding {
  0% {
    opacity: 0.2;
    transform: scale(1.12) translateY(-14px);
    filter: blur(8px);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 0.85;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes contactBgAmbient {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.025) rotate(-0.35deg);
  }
  100% {
    transform: scale(1.015) rotate(0.35deg);
  }
}

@keyframes contactGlassLanding {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes contactGlassFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* ─── 5. SECTION HEADERS & LABELS ─────────────────────────── */
.contact-section {
  padding: 95px 0;
  position: relative;
}

.contact-section--white {
  background: #ffffff;
}

.contact-section--subtle {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, var(--pal-ice-soft) 100%);
}

.contact-section__head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.contact-section__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pal-crimson);
  padding: 6px 18px;
  background: rgba(34, 46, 64, 0.05);
  border: 1px solid rgba(34, 46, 64, 0.14);
  border-radius: 9999px;
  margin-bottom: 14px;
}

.contact-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.contact-section__title span {
  color: var(--pal-azure);
}

.contact-section__sub {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

.contact-divider {
  width: 68px;
  height: 4px;
  background: linear-gradient(90deg, var(--pal-crimson), var(--pal-azure));
  border-radius: 9999px;
  margin: 18px auto 0;
}

/* ─── 6. 4 CORE CONTACT CHANNELS ──────────────────────────── */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-channel-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Top accent dual-tone line */
.contact-channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pal-azure), var(--pal-crimson));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.contact-channel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pal-ice);
}

.contact-channel-card:hover::before {
  opacity: 1;
}

.contact-channel__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--pal-ice);
  border: 1px solid rgba(59, 139, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--pal-azure-dark);
  margin-bottom: 22px;
  transition: var(--transition);
}

.contact-channel-card:hover .contact-channel__icon {
  background: var(--pal-crimson);
  color: #ffffff;
  transform: scale(1.1) rotate(-3deg);
  border-color: var(--pal-crimson);
  box-shadow: var(--shadow-crimson);
}

.contact-channel__title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0 0 8px;
}

.contact-channel__text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

.contact-channel__link {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--pal-azure);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  word-break: break-word;
}

.contact-channel__link i {
  font-size: 0.85rem;
  color: var(--pal-azure);
  transition: transform 0.3s ease;
}

.contact-channel__link:hover {
  color: var(--pal-crimson);
}

.contact-channel__link:hover i {
  color: var(--pal-crimson);
  transform: translateX(4px);
}

/* ─── 7. MAIN CONTACT FORM & SUPPORT SHOWCASE ──────────────── */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: stretch;
}

/* Left Column: Support Desk Showcase */
.contact-support-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 28px;
  padding: 38px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-support__media {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--text-headline);
  border: 2px solid var(--pal-ice);
}

.contact-support__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-support__head h3 {
  font-family: var(--font-heading);
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0 0 12px;
}

.contact-support__head p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0 0 24px;
}

.contact-support__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-support__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-support__item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--pal-ice);
  border: 1px solid rgba(59, 139, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pal-azure-dark);
  font-size: 0.88rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-support__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  color: var(--text-headline);
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-support__item span {
  font-size: 0.88rem;
  color: var(--text-body);
}

/* Operating Hours Box in Architectural Slate Light */
.contact-support__hours {
  background: #f8fafc;
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 20px 24px;
}

.contact-support__hours h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-support__hours h4 i {
  color: var(--pal-crimson);
}

.contact-support__hours p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 4px 0;
  display: flex;
  justify-content: space-between;
}

.contact-support__hours p strong {
  color: var(--text-headline);
  font-weight: 700;
}

/* Right Form Card */
.contact-form-card {
  background: #ffffff;
  border: 2px solid var(--pal-ice);
  border-radius: 28px;
  padding: 42px 46px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.contact-form__header {
  margin-bottom: 28px;
}

.contact-form__header h3 {
  font-family: var(--font-heading);
  font-size: 1.68rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0 0 8px;
}

.contact-form__header p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

.contact-form-group label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-headline);
  display: flex;
  align-items: center;
  gap: 4px;
}

.contact-form-group label .required {
  color: var(--pal-crimson);
  font-weight: 800;
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1.5px solid var(--pal-slate-light);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-headline);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  border-color: var(--pal-azure);
  box-shadow: 0 0 0 4px rgba(59, 139, 235, 0.18);
  background: #ffffff;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button: Berry Crimson */
.contact-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: #222e40;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-crimson);
  transition: var(--transition);
  margin-top: 10px;
  width: 100%;
}

.contact-btn-submit:hover {
  background: #18212e;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(34, 46, 64, 0.35);
}

.contact-btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.contact-btn-submit i {
  color: #ffffff;
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.contact-btn-submit:hover i {
  transform: translateX(4px);
}

/* Alert response */
.form-response {
  margin-top: 18px;
  font-size: 0.94rem;
  font-weight: 600;
  text-align: center;
  border-radius: 12px;
  padding: 14px;
  display: none;
}

.form-response.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-response.error {
  display: block;
  background: rgba(178, 56, 80, 0.1);
  color: var(--pal-crimson-hover);
  border: 1px solid rgba(178, 56, 80, 0.3);
}

/* ─── 8. GOOGLE MAP SECTION ───────────────────────────────── */
.contact-map-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid var(--pal-ice);
  box-shadow: var(--shadow-md);
  background: var(--pal-ice-soft);
}

.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── 9. FAQ ACCORDION SECTION ────────────────────────────── */
.contact-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.contact-faq-item:hover {
  border-color: var(--pal-azure);
  box-shadow: var(--shadow-md);
}

.contact-faq-item.is-open {
  border-color: var(--pal-azure);
  border-left: 4px solid var(--pal-crimson);
  box-shadow: var(--shadow-md);
}

.contact-faq-trigger {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-headline);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.contact-faq-trigger i {
  font-size: 1.1rem;
  color: var(--pal-azure);
  transition: transform 0.35s ease, color 0.35s ease;
  flex-shrink: 0;
}

.contact-faq-item.is-open .contact-faq-trigger {
  color: var(--pal-azure-dark);
}

.contact-faq-item.is-open .contact-faq-trigger i {
  transform: rotate(180deg);
  color: var(--pal-crimson);
}

.contact-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
}

.contact-faq-item.is-open .contact-faq-content {
  padding: 0 28px 24px;
}

.contact-faq-content p {
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--text-body) !important;
  margin: 0;
  border-top: 1px solid rgba(133, 144, 170, 0.18);
  padding-top: 16px;
}

/* ─── 10. REVEAL ANIMATIONS ────────────────────────────────── */
.contact-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-stagger-1 { transition-delay: 0.05s; }
.contact-stagger-2 { transition-delay: 0.15s; }
.contact-stagger-3 { transition-delay: 0.25s; }
.contact-stagger-4 { transition-delay: 0.35s; }

/* ─── 11. RESPONSIVE BREAKPOINTS ───────────────────────────── */
@media (max-width: 1080px) {
  .contact-hero__bg-overlay {
    background: linear-gradient(180deg,
      rgba(240, 247, 254, 0.97) 0%,
      rgba(240, 247, 254, 0.94) 50%,
      rgba(196, 219, 246, 0.80) 80%,
      rgba(59, 139, 235, 0.35) 100%
    );
  }
  .contact-hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-hero__content {
    align-items: center;
    text-align: center;
  }
  .contact-hero__sub {
    max-width: 680px;
  }
  .contact-hero__actions {
    justify-content: center;
  }
  .contact-hero__metrics {
    justify-content: center;
  }
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 70px 5% 60px;
    min-height: auto;
  }
  .contact-hero__stage {
    min-height: 260px;
  }
  .contact-hero__glass-card {
    padding: 22px 20px;
    gap: 16px;
  }
  .contact-glass__link {
    font-size: 1.22rem;
  }
  .contact-glass__icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
    border-radius: 16px;
  }
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 20px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-map-wrapper {
    height: 380px;
  }
}


.contact-channel__link--hours {
  cursor: default;
  pointer-events: none;
}
.contact-channel__link--hours:hover {
  color: inherit;
  transform: none;
}

/* ─── DESKTOP NAVBAR CONTACT BUTTON PILL (#222e40) ───────── */
@media (min-width: 1101px) {
  .nav-links > li:last-child > .nav-link {
    background: #222e40 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(34, 46, 64, 0.25) !important;
  }
  .nav-links > li:last-child > .nav-link:hover {
    background: #18212e !important;
    box-shadow: 0 6px 20px rgba(34, 46, 64, 0.35) !important;
  }
}

