/* ==========================================================================
   NY PLUMBING — NEW DORP, STATEN ISLAND
   Master Design System & Responsive Stylesheet
   Color Palette: Deep Naval Steel Blue (#0d233a, #081726), Arctic White (#f4f8fb),
   Flame Accent (#d94e10, #b83e0a), Ice Slate (#47627e, #e2eaf1)
   ========================================================================== */

:root {
  --nd-primary: #0d233a;
  --nd-primary-dark: #071524;
  --nd-primary-light: #163a5f;
  --nd-accent: #d94e10;
  --nd-accent-hover: #b83e0a;
  --nd-accent-soft: rgba(217, 78, 16, 0.08);
  --nd-surface: #ffffff;
  --nd-surface-alt: #f4f8fb;
  --nd-surface-card: #ffffff;
  --nd-border: #d4e0eb;
  --nd-border-light: #e6edf4;
  --nd-text: #1b2836;
  --nd-text-muted: #4e6377;
  --nd-text-light: #6c8299;
  --nd-white: #ffffff;
  --nd-danger: #c53030;
  --nd-danger-bg: #fff5f5;
  --nd-danger-border: #feb2b2;
  --nd-success: #22543d;
  --nd-success-bg: #f0fff4;
  --nd-success-border: #9ae6b4;
  
  --nd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nd-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --nd-radius-sm: 4px;
  --nd-radius-md: 8px;
  --nd-radius-lg: 12px;
  --nd-radius-xl: 16px;
  
  --nd-shadow-sm: 0 1px 3px rgba(13, 35, 58, 0.06), 0 1px 2px rgba(13, 35, 58, 0.04);
  --nd-shadow-md: 0 4px 12px rgba(13, 35, 58, 0.08), 0 2px 4px rgba(13, 35, 58, 0.04);
  --nd-shadow-lg: 0 12px 28px rgba(13, 35, 58, 0.12), 0 4px 10px rgba(13, 35, 58, 0.06);
  --nd-shadow-xl: 0 20px 40px rgba(13, 35, 58, 0.16);
  
  --nd-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --nd-max-w: 1220px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--nd-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nd-text);
  background-color: var(--nd-surface-alt);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--nd-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: var(--nd-transition);
}

a:hover, a:focus-visible {
  color: var(--nd-accent);
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--nd-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--nd-primary);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-top: 2rem;
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-top: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--nd-text);
}

p.nd-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--nd-text-muted);
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

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

.nd-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.nd-section-alt {
  background-color: var(--nd-surface);
  border-top: 1px solid var(--nd-border-light);
  border-bottom: 1px solid var(--nd-border-light);
}

.nd-section-dark {
  background-color: var(--nd-primary);
  color: var(--nd-white);
}

.nd-section-dark h2, 
.nd-section-dark h3, 
.nd-section-dark p {
  color: var(--nd-white);
}

.nd-section-dark p.nd-lead {
  color: #ccdbe8;
}

.nd-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.nd-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.nd-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .nd-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nd-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nd-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nd-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .nd-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Buttons & CTAs (Phone Call is sole conversion action)
   -------------------------------------------------------------------------- */
.nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.85rem 1.6rem;
  border-radius: var(--nd-radius-md);
  text-decoration: none;
  transition: var(--nd-transition);
  white-space: nowrap;
  box-shadow: var(--nd-shadow-sm);
}

.nd-btn-primary {
  background-color: var(--nd-accent);
  color: var(--nd-white);
  border: 1px solid transparent;
}

.nd-btn-primary:hover, .nd-btn-primary:focus-visible {
  background-color: var(--nd-accent-hover);
  color: var(--nd-white);
  box-shadow: var(--nd-shadow-md);
  transform: translateY(-1px);
}

.nd-btn-outline {
  background-color: transparent;
  color: var(--nd-primary);
  border: 2px solid var(--nd-primary);
}

.nd-btn-outline:hover, .nd-btn-outline:focus-visible {
  background-color: var(--nd-primary);
  color: var(--nd-white);
}

.nd-btn-lg {
  font-size: 1.125rem;
  padding: 1.1rem 2rem;
}

.nd-btn-block {
  display: flex;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header & Top Bar
   -------------------------------------------------------------------------- */
.nd-topbar {
  background-color: var(--nd-primary-dark);
  color: #c0d3e5;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-topbar .nd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nd-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nd-surface);
  border-bottom: 1px solid var(--nd-border);
  box-shadow: var(--nd-shadow-sm);
}

.nd-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem;
}

.nd-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nd-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nd-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.nd-brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nd-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nd-nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .nd-nav-desktop {
    display: flex;
  }
}

.nd-nav-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nd-primary);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nd-nav-link:hover, .nd-nav-link:focus-visible {
  color: var(--nd-accent);
}

.nd-dropdown-parent {
  position: relative;
}

.nd-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nd-primary);
  padding: 0.5rem 0.25rem;
}

.nd-dropdown-btn:hover, .nd-dropdown-btn:focus-visible {
  color: var(--nd-accent);
}

.nd-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background: var(--nd-surface);
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius-md);
  box-shadow: var(--nd-shadow-lg);
  padding: 0.5rem 0;
  display: none;
  z-index: 1010;
  list-style: none;
  margin: 0;
}

.nd-dropdown-parent:hover .nd-dropdown-menu,
.nd-dropdown-parent:focus-within .nd-dropdown-menu,
.nd-dropdown-menu.is-active {
  display: block;
}

.nd-dropdown-menu li {
  margin: 0;
}

.nd-dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--nd-text);
  text-decoration: none;
  transition: var(--nd-transition);
}

.nd-dropdown-link:hover, .nd-dropdown-link:focus-visible {
  background-color: var(--nd-surface-alt);
  color: var(--nd-accent);
  padding-left: 1.25rem;
}

.nd-nav-phone {
  display: none;
}

@media (min-width: 992px) {
  .nd-nav-phone {
    display: inline-flex;
  }
}

.nd-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--nd-radius-sm);
  color: var(--nd-primary);
}

@media (min-width: 992px) {
  .nd-menu-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.nd-mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--nd-surface);
  box-shadow: var(--nd-shadow-xl);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  padding: 1.5rem;
}

.nd-mobile-drawer.is-open {
  right: 0;
}

.nd-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--nd-border);
}

.nd-drawer-close {
  padding: 0.5rem;
  color: var(--nd-primary);
  border-radius: var(--nd-radius-sm);
}

.nd-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.nd-drawer-link {
  display: block;
  padding: 0.65rem 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--nd-primary);
  text-decoration: none;
  border-radius: var(--nd-radius-sm);
}

.nd-drawer-link:hover, .nd-drawer-link:focus-visible {
  background-color: var(--nd-surface-alt);
  color: var(--nd-accent);
}

.nd-drawer-sublinks {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.25rem;
  border-left: 2px solid var(--nd-border);
}

.nd-drawer-sublinks a {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.9rem;
  color: var(--nd-text-muted);
  text-decoration: none;
}

.nd-drawer-sublinks a:hover, .nd-drawer-sublinks a:focus-visible {
  color: var(--nd-accent);
}

.nd-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 36, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nd-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.nd-breadcrumb {
  background: var(--nd-surface-alt);
  border-bottom: 1px solid var(--nd-border-light);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.nd-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nd-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--nd-text-muted);
}

.nd-breadcrumb li a {
  color: var(--nd-primary);
  text-decoration: none;
}

.nd-breadcrumb li a:hover, .nd-breadcrumb li a:focus-visible {
  color: var(--nd-accent);
  text-decoration: underline;
}

.nd-breadcrumb li[aria-current="page"] {
  color: var(--nd-text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Hero Sections
   -------------------------------------------------------------------------- */
.nd-hero {
  background: linear-gradient(135deg, #091a2b 0%, #0d233a 50%, #15385a 100%);
  color: var(--nd-white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.nd-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(217, 78, 16, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.nd-hero-content {
  position: relative;
  z-index: 2;
}

.nd-hero h1 {
  color: var(--nd-white);
  font-size: 2.25rem;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.nd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fed7aa;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.nd-hero p {
  color: #d1e2f2;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 680px;
}

.nd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.nd-hero-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.nd-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.nd-spec-icon {
  color: var(--nd-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.nd-spec-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nd-white);
  line-height: 1.2;
}

.nd-spec-desc {
  font-size: 0.78rem;
  color: #a7c3dc;
  margin-top: 0.2rem;
  margin-bottom: 0;
}

.nd-hero-media {
  position: relative;
  z-index: 2;
  border-radius: var(--nd-radius-lg);
  overflow: hidden;
  box-shadow: var(--nd-shadow-xl);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #06111d;
}

.nd-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.nd-hero-media:hover img {
  transform: scale(1.02);
}

.nd-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 21, 36, 0.95), rgba(7, 21, 36, 0.4) 70%, transparent);
  padding: 1.5rem 1.25rem 0.85rem;
  color: var(--nd-white);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Cards & Service Grid
   -------------------------------------------------------------------------- */
.nd-card {
  background: var(--nd-surface);
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--nd-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--nd-transition);
  position: relative;
}

.nd-card:hover {
  border-color: var(--nd-primary-light);
  box-shadow: var(--nd-shadow-md);
  transform: translateY(-2px);
}

.nd-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--nd-radius-md);
  background: var(--nd-surface-alt);
  color: var(--nd-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--nd-border-light);
}

.nd-card:hover .nd-card-icon-wrap {
  background: var(--nd-primary);
  color: var(--nd-white);
}

.nd-card h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.nd-card p {
  color: var(--nd-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.nd-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--nd-accent);
  text-decoration: none;
}

.nd-card-link:hover, .nd-card-link:focus-visible {
  color: var(--nd-accent-hover);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Media Block (Single topical image on service page)
   -------------------------------------------------------------------------- */
.nd-media-frame {
  border-radius: var(--nd-radius-lg);
  overflow: hidden;
  box-shadow: var(--nd-shadow-md);
  border: 1px solid var(--nd-border);
  background: var(--nd-surface);
  margin: 2rem 0;
}

.nd-media-frame img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.nd-media-caption {
  padding: 0.85rem 1.25rem;
  background: var(--nd-surface-alt);
  border-top: 1px solid var(--nd-border-light);
  font-size: 0.85rem;
  color: var(--nd-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Technical Callouts, Safety & Warning Strips
   -------------------------------------------------------------------------- */
.nd-callout {
  border-radius: var(--nd-radius-md);
  padding: 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nd-callout-warning {
  background-color: var(--nd-danger-bg);
  border: 1px solid var(--nd-danger-border);
  border-left: 5px solid var(--nd-danger);
  color: #742a2a;
}

.nd-callout-warning h4 {
  color: var(--nd-danger);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.nd-callout-warning p {
  color: #742a2a;
  margin-bottom: 0.5rem;
}

.nd-callout-info {
  background-color: var(--nd-surface-alt);
  border: 1px solid var(--nd-border);
  border-left: 5px solid var(--nd-primary);
  color: var(--nd-text);
}

.nd-callout-info h4 {
  color: var(--nd-primary);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.nd-callout-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   Comparison Table & Diagnostic Sequence
   -------------------------------------------------------------------------- */
.nd-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius-md);
  box-shadow: var(--nd-shadow-sm);
  background: var(--nd-surface);
}

.nd-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.nd-table th {
  background-color: var(--nd-primary);
  color: var(--nd-white);
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nd-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--nd-border-light);
  color: var(--nd-text);
}

.nd-table tr:nth-child(even) td {
  background-color: var(--nd-surface-alt);
}

.nd-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   Diagnostic Sequence / Steps
   -------------------------------------------------------------------------- */
.nd-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .nd-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nd-step-card {
  background: var(--nd-surface);
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius-md);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--nd-shadow-sm);
}

.nd-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--nd-accent);
  color: var(--nd-white);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.nd-step-card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.nd-step-card p {
  color: var(--nd-text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.nd-faq-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nd-faq-item {
  background: var(--nd-surface);
  border: 1px solid var(--nd-border);
  border-radius: var(--nd-radius-md);
  overflow: hidden;
  box-shadow: var(--nd-shadow-sm);
}

.nd-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nd-primary);
  background: none;
  cursor: pointer;
  transition: var(--nd-transition);
}

.nd-faq-question:hover, .nd-faq-question:focus-visible {
  color: var(--nd-accent);
  background-color: var(--nd-surface-alt);
}

.nd-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--nd-text-muted);
}

.nd-faq-item.is-expanded .nd-faq-chevron {
  transform: rotate(180deg);
}

.nd-faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--nd-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: block;
}

/* --------------------------------------------------------------------------
   Action Strip / Pre-Footer CTA
   -------------------------------------------------------------------------- */
.nd-action-strip {
  background: linear-gradient(135deg, #091a2b 0%, #0d233a 100%);
  color: var(--nd-white);
  padding: 3rem 0;
  text-align: center;
  border-top: 3px solid var(--nd-accent);
}

.nd-action-strip h2 {
  color: var(--nd-white);
  margin-top: 0;
  font-size: 2rem;
}

.nd-action-strip p {
  color: #ccdbe8;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.nd-footer {
  background-color: var(--nd-primary-dark);
  color: #a3bad0;
  font-size: 0.9rem;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-footer h4 {
  color: var(--nd-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.nd-footer p {
  color: #a3bad0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.nd-footer a {
  color: #c4d7e8;
  text-decoration: none;
  transition: var(--nd-transition);
}

.nd-footer a:hover, .nd-footer a:focus-visible {
  color: var(--nd-accent);
  text-decoration: underline;
}

.nd-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.nd-footer-links li {
  margin: 0;
}

.nd-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #7994ac;
}

@media (min-width: 768px) {
  .nd-footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.nd-footer-partner {
  font-size: 0.88rem;
  color: #c4d7e8;
}

.nd-footer-partner a {
  color: var(--nd-white);
  font-weight: 700;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Sticky Mobile Call Bar (Tappable phone action on small screens)
   -------------------------------------------------------------------------- */
.nd-mobile-call-bar {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background-color: var(--nd-surface);
  border-top: 1px solid var(--nd-border);
  box-shadow: 0 -4px 12px rgba(7, 21, 36, 0.12);
  padding: 0.75rem 1rem;
}

@media (min-width: 992px) {
  .nd-mobile-call-bar {
    display: none;
  }
}

/* Compensate bottom padding for mobile screens */
@media (max-width: 991px) {
  body {
    padding-bottom: 4.5rem;
  }
}

/* --------------------------------------------------------------------------
   Accessibility & High Contrast Adjustments
   -------------------------------------------------------------------------- */
@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;
  }
}
