/* ==========================================================================
   Scranton Plumbing Expert - High Performance Canonical Stylesheet
   Typography: System / Modern Sans Stack for zero render-blocking webfont lag
   Palette: Deep Navy (#0b192c, #0f172a), Crisp White (#ffffff), Warm Slate (#f8fafc),
            Accent Ocean Blue (#0066cc), Safety Alert (#ea580c)
   ========================================================================== */

:root {
  --primary-navy: #0b192c;
  --navy-dark: #07101d;
  --brand-blue: #0066cc;
  --brand-blue-hover: #004fb0;
  --accent-cyan: #0284c7;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #0066cc;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1240px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sticky-cta-height: 72px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

body.no-scroll {
  overflow: hidden;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--sticky-cta-height) + env(safe-area-inset-bottom, 0px));
  }
}

/* Accessibility: Skip to Content */
.skip-to-content {
  position: absolute;
  top: -50px;
  left: 1rem;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
}

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.8rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.6rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

/* Utility Bar */
.utility-bar {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.utility-item strong {
  color: #ffffff;
}
.utility-link {
  color: #f8fafc;
  font-weight: 600;
}
.utility-link:hover {
  color: #38bdf8;
  text-decoration: none;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo {
  height: 48px;
  width: auto;
  max-width: 280px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 0.5rem 0.25rem;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
  text-decoration: none;
}
.nav-link:hover::after, .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--brand-blue);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  min-height: 48px;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-emergency {
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4);
}
.btn-emergency:hover {
  background-color: var(--accent-orange-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}
.btn-secondary {
  background-color: #ffffff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.btn-secondary:hover {
  background-color: #f0f7ff;
  text-decoration: none;
}
.btn-white {
  background-color: #ffffff;
  color: var(--primary-navy);
}
.btn-white:hover {
  background-color: #f1f5f9;
  text-decoration: none;
}
.btn-block {
  display: flex;
  width: 100%;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  align-items: center;
  justify-content: center;
}
.hamburger-box {
  width: 26px;
  height: 20px;
  position: relative;
  display: inline-block;
}
.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 8.5px; }
.hamburger-line:nth-child(3) { bottom: 0; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-navigation-drawer {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #ffffff;
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.mobile-navigation-drawer.is-open {
  display: flex;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}
.mobile-nav-link:hover {
  color: var(--brand-blue);
  text-decoration: none;
}
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 1024px) {
  .desktop-nav, .header-cta-group {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0b192c 0%, #172554 100%);
  color: #ffffff;
  padding: 4rem 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #94a3b8;
}
.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f1f5f9;
}
.trust-badge-icon {
  color: #38bdf8;
}
.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #1e293b;
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/10;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-section {
    padding: 2.5rem 0;
  }
}

/* Trust Bar */
.trust-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.trust-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: #e0f2fe;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.trust-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}
.trust-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Section Common */
.section {
  padding: 4.5rem 0;
}
.section-alt {
  background-color: #ffffff;
}
.section-navy {
  background-color: var(--primary-navy);
  color: #ffffff;
}
.section-navy h2, .section-navy h3 {
  color: #ffffff;
}
.section-navy p {
  color: #cbd5e1;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.section-navy .section-tag {
  color: #38bdf8;
}
.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Content Layout (Article + Sidebar) */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.single-column-layout {
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Article / Long-form Content */
.prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}
.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
}
.prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose blockquote {
  border-left: 4px solid var(--brand-blue);
  background-color: #f0f7ff;
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: #1e3a8a;
}
.prose img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

/* Cards & Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.card-title {
  margin-bottom: 0.5rem;
}
.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.card-link {
  font-weight: 700;
  font-size: 0.925rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumbs li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--text-light);
}
.breadcrumbs li:last-child::after {
  content: "";
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--brand-blue);
}
.breadcrumbs [aria-current="page"] {
  color: var(--primary-navy);
  font-weight: 600;
}

/* FAQ Accordion (Native details/summary) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item[open] {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}
.faq-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-blue);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] .faq-summary::after {
  content: "−";
}
.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
}

/* Sidebar CTA */
.sidebar-box {
  position: sticky;
  top: 100px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-cta-card {
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  margin-bottom: 1.75rem;
}
.sidebar-cta-card h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.sidebar-cta-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.sidebar-phone {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
  display: block;
  margin-bottom: 1rem;
}
.sidebar-phone:hover {
  color: #ffffff;
  text-decoration: none;
}
.sidebar-links-group {
  margin-top: 1.5rem;
}
.sidebar-links-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.sidebar-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-nav-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-color);
}
.sidebar-nav-list a:hover {
  color: var(--brand-blue);
  padding-left: 0.25rem;
}

/* Contact / Service Request Form */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-col-full {
  grid-column: 1 / -1;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  border-color: var(--brand-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Success Banner */
.form-success-alert {
  display: none;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Mandatory English Call-Now Error Modal (Section 16 & 118) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-top: 6px solid var(--accent-orange);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.modal-overlay.is-visible .modal-box {
  transform: scale(1);
}
.modal-icon {
  width: 56px;
  height: 56px;
  background-color: #fff7ed;
  color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem auto;
}
.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}
.modal-message {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem;
  cursor: pointer;
  text-decoration: underline;
}
.modal-close-btn:hover {
  color: var(--text-main);
}

/* Mobile Sticky Conversion CTA Bar (Section 9 & 86) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px)) 1rem;
  z-index: 998;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}
.mobile-sticky-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-sticky-btn {
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
}
.mobile-sticky-call {
  background-color: var(--accent-orange);
  color: #ffffff;
}
.mobile-sticky-call:hover {
  background-color: var(--accent-orange-hover);
  color: #ffffff;
  text-decoration: none;
}
.mobile-sticky-request {
  background-color: var(--brand-blue);
  color: #ffffff;
}
.mobile-sticky-request:hover {
  background-color: var(--brand-blue-hover);
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }
}

/* Site Footer (Section 57) */
.site-footer {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-blue);
}
.footer-about-text {
  color: #94a3b8;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.footer-contact-item a {
  color: #f1f5f9;
}
.footer-contact-item a:hover {
  color: #38bdf8;
  text-decoration: none;
}
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav-list a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-nav-list a:hover {
  color: #ffffff;
  padding-left: 0.2rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}
.footer-legal-links a {
  color: #94a3b8;
}
.footer-legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion Support (Section 61) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
