/* ==========================================================================
   NY PLUMBING — WHITESTONE, QUEENS DESIGN SYSTEM
   Theme: Coastal Maritime Navy & Flame Tangerine / Cold Steel Slate
   Anti-Footprinting Architecture: Distinct DOM Classes & Layout Structure
   ========================================================================== */

:root {
  --wht-navy-950: #070f1e;
  --wht-navy-900: #0b192c;
  --wht-navy-800: #142842;
  --wht-navy-700: #1e3a5f;
  --wht-steel-600: #3b5370;
  --wht-steel-400: #64748b;
  --wht-steel-200: #cbd5e1;
  --wht-steel-100: #e2e8f0;
  --wht-steel-50: #f1f5f9;
  --wht-white: #ffffff;

  --wht-flame-600: #c2410c;
  --wht-flame-500: #ea580c;
  --wht-flame-400: #f97316;
  --wht-flame-100: #ffedd5;
  --wht-flame-50: #fff7ed;

  --wht-alert-red: #b91c1c;
  --wht-alert-bg: #fef2f2;

  --wht-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wht-font-title: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wht-radius-sm: 4px;
  --wht-radius-md: 8px;
  --wht-radius-lg: 16px;

  --wht-shadow-sm: 0 1px 3px rgba(11, 25, 44, 0.08);
  --wht-shadow-md: 0 4px 14px rgba(11, 25, 44, 0.12);
  --wht-shadow-lg: 0 12px 28px -6px rgba(11, 25, 44, 0.2);

  --wht-container-max: 1200px;
}

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

html {
  font-family: var(--wht-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wht-navy-900);
  background-color: var(--wht-white);
  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(--wht-flame-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--wht-flame-600);
  text-decoration: underline;
}

.wht-container {
  width: 100%;
  max-width: var(--wht-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOP STRIP & HEADER
   ========================================================================== */

.wht-topbar {
  background-color: var(--wht-navy-950);
  color: var(--wht-steel-200);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wht-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wht-loc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wht-flame-400);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.wht-topbar-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.wht-header {
  background-color: var(--wht-white);
  border-bottom: 2px solid var(--wht-steel-100);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--wht-shadow-sm);
}

.wht-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.wht-brand {
  display: flex;
  flex-direction: column;
}

.wht-brand-title {
  font-family: var(--wht-font-title);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--wht-navy-900);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.wht-brand-title span {
  color: var(--wht-flame-500);
}

.wht-brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wht-steel-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Menu */
.wht-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.wht-menu-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wht-navy-800);
  padding: 8px 12px;
  border-radius: var(--wht-radius-sm);
  transition: all 0.2s ease;
}

.wht-menu-link:hover,
.wht-menu-link.is-active {
  color: var(--wht-flame-500);
  background-color: var(--wht-flame-50);
  text-decoration: none;
}

/* Dropdown */
.wht-dropdown {
  position: relative;
}

.wht-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}

.wht-arrow {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}

.wht-dropdown:hover .wht-arrow,
.wht-dropdown:focus-within .wht-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.wht-subpanel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: var(--wht-white);
  border: 1px solid var(--wht-steel-200);
  border-radius: var(--wht-radius-md);
  box-shadow: var(--wht-shadow-lg);
  padding: 10px 0;
  display: none;
  z-index: 1050;
}

.wht-dropdown:hover .wht-subpanel,
.wht-dropdown:focus-within .wht-subpanel,
.wht-dropdown.is-open .wht-subpanel {
  display: block;
}

.wht-sublink {
  display: block;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wht-navy-800);
  transition: background 0.15s ease, color 0.15s ease;
}

.wht-sublink:hover {
  background-color: var(--wht-steel-50);
  color: var(--wht-flame-500);
  text-decoration: none;
}

/* Dedicated Single Header Phone Button */
.wht-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--wht-flame-500) 0%, var(--wht-flame-600) 100%);
  color: var(--wht-white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: var(--wht-radius-md);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.wht-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.45);
  text-decoration: none;
}

.wht-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--wht-steel-200);
  border-radius: var(--wht-radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.wht-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--wht-navy-900);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.wht-breadcrumbs {
  background-color: var(--wht-steel-50);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--wht-steel-200);
}

.wht-crumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.wht-crumb-list li {
  display: inline-flex;
  align-items: center;
}

.wht-crumb-list li+li::before {
  content: "/";
  margin-right: 8px;
  color: var(--wht-steel-400);
}

.wht-crumb-list a {
  color: var(--wht-steel-600);
}

.wht-crumb-list span[aria-current="page"] {
  color: var(--wht-navy-900);
  font-weight: 600;
}

/* ==========================================================================
   HERO SECTION (Bold Coastal Maritime Banner Layout)
   ========================================================================== */

.wht-hero {
  background: linear-gradient(140deg, var(--wht-navy-900) 0%, var(--wht-navy-800) 100%);
  color: var(--wht-white);
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.wht-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(249, 115, 22, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.wht-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wht-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(249, 115, 22, 0.2);
  border: 1px solid var(--wht-flame-400);
  color: var(--wht-flame-400);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.wht-hero h1 {
  font-family: var(--wht-font-title);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--wht-white);
  letter-spacing: -0.02em;
}

.wht-hero-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--wht-steel-200);
  margin-bottom: 28px;
}

.wht-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.wht-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--wht-flame-500) 0%, var(--wht-flame-600) 100%);
  color: var(--wht-white) !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: var(--wht-radius-md);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wht-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.5);
  text-decoration: none;
}

.wht-hero-media {
  border-radius: var(--wht-radius-lg);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--wht-shadow-lg);
  background-color: var(--wht-navy-700);
}

.wht-hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Zero Image Spec Card */
.wht-hero-card {
  background: rgba(20, 40, 66, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--wht-radius-lg);
  padding: 32px;
  box-shadow: var(--wht-shadow-lg);
}

.wht-card-title {
  font-size: 1.25rem;
  color: var(--wht-flame-400);
  font-weight: 800;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 12px;
}

.wht-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wht-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--wht-steel-200);
}

.wht-check-list svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--wht-flame-400);
}

/* ==========================================================================
   METRICS BAR
   ========================================================================== */

.wht-stats-bar {
  background-color: var(--wht-white);
  border-bottom: 1px solid var(--wht-steel-200);
  padding: 20px 0;
}

.wht-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wht-stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--wht-steel-100);
}

.wht-stat-item:last-child {
  border-right: none;
}

.wht-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--wht-navy-900);
}

.wht-stat-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--wht-steel-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ==========================================================================
   CONTENT & PROSE
   ========================================================================== */

.wht-section {
  padding: 70px 0;
}

.wht-section-alt {
  background-color: var(--wht-steel-50);
}

.wht-section-title-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.wht-kicker {
  display: inline-block;
  color: var(--wht-flame-500);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.wht-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--wht-navy-900);
}

.wht-section-sub {
  font-size: 1.05rem;
  color: var(--wht-steel-600);
  margin-top: 12px;
}

.wht-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--wht-navy-900);
}

.wht-prose p {
  margin-bottom: 20px;
}

.wht-prose h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--wht-navy-900);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}

.wht-prose h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wht-navy-800);
  margin: 28px 0 12px;
}

.wht-prose ul, .wht-prose ol {
  margin: 18px 0 24px 24px;
}

.wht-prose li {
  margin-bottom: 10px;
}

/* Grid & Cards */
.wht-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.wht-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.wht-card {
  background-color: var(--wht-white);
  border: 1px solid var(--wht-steel-200);
  border-radius: var(--wht-radius-md);
  padding: 28px;
  box-shadow: var(--wht-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.wht-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wht-shadow-md);
  border-color: var(--wht-flame-400);
}

.wht-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--wht-radius-sm);
  background-color: var(--wht-flame-50);
  color: var(--wht-flame-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.wht-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wht-navy-900);
  margin-bottom: 10px;
}

.wht-card p {
  font-size: 0.95rem;
  color: var(--wht-steel-600);
  line-height: 1.6;
  flex-grow: 1;
}

.wht-card-link {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--wht-steel-100);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--wht-flame-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Gas Warning Banner */
.wht-gas-box {
  background-color: var(--wht-alert-bg);
  border-left: 5px solid var(--wht-alert-red);
  padding: 24px;
  border-radius: var(--wht-radius-sm);
  margin: 30px 0;
}

.wht-gas-box-head {
  color: var(--wht-alert-red);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wht-gas-box p {
  color: #7f1d1d;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Diagnostic Comparison Table */
.wht-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--wht-radius-md);
  border: 1px solid var(--wht-steel-200);
  box-shadow: var(--wht-shadow-sm);
}

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

.wht-table th {
  background-color: var(--wht-navy-900);
  color: var(--wht-white);
  padding: 16px 20px;
  font-weight: 700;
}

.wht-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--wht-steel-200);
  color: var(--wht-navy-900);
}

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

.wht-table tr:nth-child(even) td {
  background-color: var(--wht-steel-50);
}

/* FAQ Accordion */
.wht-faq-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.wht-faq-item {
  background-color: var(--wht-white);
  border: 1px solid var(--wht-steel-200);
  border-radius: var(--wht-radius-md);
  overflow: hidden;
  box-shadow: var(--wht-shadow-sm);
}

.wht-faq-quest {
  padding: 20px 24px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--wht-navy-900);
  background-color: var(--wht-white);
}

.wht-faq-answ {
  padding: 0 24px 22px;
  font-size: 0.98rem;
  color: var(--wht-steel-600);
  line-height: 1.65;
}

/* Bottom CTA Bar */
.wht-callout {
  background: linear-gradient(135deg, var(--wht-navy-950) 0%, var(--wht-navy-900) 100%);
  color: var(--wht-white);
  padding: 60px 0;
  text-align: center;
  border-top: 4px solid var(--wht-flame-500);
}

.wht-callout h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.wht-callout p {
  font-size: 1.1rem;
  color: var(--wht-steel-200);
  max-width: 700px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.wht-footer {
  background-color: var(--wht-navy-950);
  color: var(--wht-steel-200);
  padding: 60px 0 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wht-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.wht-footer-brand h4 {
  font-size: 1.4rem;
  color: var(--wht-white);
  font-weight: 900;
  margin-bottom: 12px;
}

.wht-footer-brand h4 span {
  color: var(--wht-flame-400);
}

.wht-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--wht-steel-400);
  margin-bottom: 16px;
}

.wht-footer-col h5 {
  color: var(--wht-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--wht-flame-500);
  display: inline-block;
  padding-bottom: 4px;
}

.wht-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wht-footer-links a {
  color: var(--wht-steel-200);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.wht-footer-links a:hover {
  color: var(--wht-flame-400);
  text-decoration: underline;
}

.wht-footer-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--wht-radius-md);
  padding: 20px;
}

.wht-footer-lead {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--wht-flame-400);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.wht-footer-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--wht-white);
  display: block;
  margin-bottom: 10px;
}

.wht-footer-num:hover {
  color: var(--wht-flame-400);
}

.wht-footer-btm {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--wht-steel-400);
}

.wht-legal-links {
  display: flex;
  gap: 18px;
}

.wht-legal-links a {
  color: var(--wht-steel-400);
}

.wht-legal-links a:hover {
  color: var(--wht-white);
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {
  .wht-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .wht-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .wht-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wht-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .wht-stat-item {
    border-right: none;
    border-bottom: 1px solid var(--wht-steel-100);
  }
}

@media (max-width: 768px) {
  .wht-topbar-meta {
    display: none;
  }
  .wht-topbar-inner {
    justify-content: center;
  }
  .wht-call-btn {
    display: none;
  }
  .wht-toggle-btn {
    display: flex;
  }
  .wht-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--wht-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 12px;
    border-bottom: 2px solid var(--wht-steel-200);
    box-shadow: var(--wht-shadow-lg);
    display: none;
  }
  .wht-menu.is-active {
    display: flex;
  }
  .wht-dropdown {
    width: 100%;
  }
  .wht-subpanel {
    position: static;
    box-shadow: none;
    border: none;
    background-color: var(--wht-steel-50);
    width: 100%;
    margin-top: 8px;
    padding: 8px 12px;
  }
  .wht-grid-3, .wht-grid-2 {
    grid-template-columns: 1fr;
  }
  .wht-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
