/* Windsor Terrace NY Plumbing — Boiler & Hydronic Heating Stylesheet */
:root {
  --wt-navy-950: #09131f;
  --wt-navy-900: #0f1f38;
  --wt-navy-800: #172d50;
  --wt-navy-700: #223f6d;
  --wt-slate-700: #334155;
  --wt-slate-600: #475569;
  --wt-slate-500: #64748b;
  --wt-slate-400: #94a3b8;
  --wt-slate-300: #cbd5e1;
  --wt-slate-200: #e2e8f0;
  --wt-slate-100: #f1f5f9;
  --wt-slate-50: #f8fafc;
  --wt-white: #ffffff;
  --wt-amber: #f59e0b;
  --wt-amber-hover: #d97706;
  --wt-flame: #ea580c;
  --wt-flame-dark: #c2410c;
  --wt-crimson: #dc2626;
  --wt-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --wt-radius-sm: 4px;
  --wt-radius-md: 8px;
  --wt-radius-lg: 12px;
  --wt-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --wt-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --wt-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --wt-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --wt-transition: all 0.2s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--wt-font-sans);
  background-color: var(--wt-white);
  color: var(--wt-slate-700);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* space for fixed mobile call bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Accessibility Skip Link */
.wt-skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: var(--wt-amber);
  color: var(--wt-navy-950);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--wt-radius-sm);
  text-decoration: none;
}
.wt-skip-link:focus {
  top: 1rem;
}

/* Container */
.wt-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.wt-header {
  background-color: var(--wt-navy-950);
  border-bottom: 2px solid var(--wt-flame);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--wt-shadow-md);
}

.wt-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wt-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.wt-brand__badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--wt-flame) 0%, var(--wt-amber) 100%);
  border-radius: var(--wt-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wt-white);
  box-shadow: 0 0 12px rgba(234, 88, 12, 0.4);
}

.wt-brand__col {
  display: flex;
  flex-direction: column;
}

.wt-brand__title {
  color: var(--wt-white);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.wt-brand__loc {
  color: var(--wt-slate-300);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wt-nav {
  display: none;
}

@media (min-width: 992px) {
  .wt-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.wt-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
}

.wt-nav__item a,
.wt-dropdown__trigger {
  color: var(--wt-slate-200);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--wt-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--wt-transition);
}

.wt-nav__item a:hover,
.wt-dropdown__trigger:hover,
.wt-nav__item a[aria-current="page"] {
  color: var(--wt-white);
  background-color: var(--wt-navy-800);
}

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

.wt-dropdown__arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.wt-dropdown.is-open .wt-dropdown__arrow {
  transform: rotate(180deg);
}

@media (min-width: 992px) {
  .wt-dropdown:hover .wt-dropdown__arrow,
  .wt-dropdown:focus-within .wt-dropdown__arrow {
    transform: rotate(180deg);
  }
}

.wt-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background-color: var(--wt-navy-900);
  border: 1px solid var(--wt-navy-700);
  border-radius: var(--wt-radius-md);
  box-shadow: var(--wt-shadow-xl);
  padding: 0.6rem 0;
  list-style: none;
  display: none;
  z-index: 1010;
}

.wt-dropdown.is-open .wt-dropdown__panel {
  display: block;
}

@media (min-width: 992px) {
  .wt-dropdown:hover .wt-dropdown__panel,
  .wt-dropdown:focus-within .wt-dropdown__panel {
    display: block;
  }
}

.wt-dropdown__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  color: var(--wt-slate-300);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--wt-transition);
}

.wt-dropdown__link:hover,
.wt-dropdown__link[aria-current="page"] {
  background-color: var(--wt-navy-800);
  color: var(--wt-amber);
  padding-left: 1.35rem;
}

/* Call Button Header */
.wt-call-btn {
  background: linear-gradient(135deg, var(--wt-flame) 0%, #d97706 100%);
  color: var(--wt-white) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--wt-radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
  transition: var(--wt-transition);
  border: none;
  cursor: pointer;
}

.wt-call-btn:hover {
  background: linear-gradient(135deg, var(--wt-flame-dark) 0%, #b45309 100%);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.45);
  transform: translateY(-1px);
}

.wt-call-btn--lg {
  font-size: 1.15rem;
  padding: 0.95rem 2rem;
  border-radius: var(--wt-radius-lg);
}

/* Menu Toggle Button (Mobile) */
.wt-menu-toggle {
  background: transparent;
  border: 1px solid var(--wt-navy-700);
  color: var(--wt-white);
  padding: 0.5rem;
  border-radius: var(--wt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

/* Mobile Drawer */
.wt-mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background-color: var(--wt-navy-950);
  border-top: 1px solid var(--wt-navy-800);
  padding: 1.5rem;
  overflow-y: auto;
  display: none;
  z-index: 999;
}

.wt-mobile-drawer.is-active {
  display: block;
}

.wt-mobile-drawer .wt-nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.wt-mobile-drawer .wt-dropdown__panel {
  position: static;
  width: 100%;
  box-shadow: none;
  border: none;
  background-color: var(--wt-navy-900);
  margin-top: 0.5rem;
  padding-left: 0.5rem;
}

/* Breadcrumbs */
.wt-breadcrumbs {
  background-color: var(--wt-slate-100);
  border-bottom: 1px solid var(--wt-slate-200);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.wt-breadcrumbs__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.wt-breadcrumbs__item a {
  color: var(--wt-slate-600);
  text-decoration: none;
}
.wt-breadcrumbs__item a:hover {
  color: var(--wt-flame);
}
.wt-breadcrumbs__sep {
  color: var(--wt-slate-400);
}
.wt-breadcrumbs__cur {
  color: var(--wt-navy-900);
  font-weight: 600;
}

/* Section Common */
.wt-section {
  padding: 3.5rem 0;
}

.wt-section--dark {
  background-color: var(--wt-navy-950);
  color: var(--wt-slate-200);
}

.wt-section--slate {
  background-color: var(--wt-slate-50);
  border-top: 1px solid var(--wt-slate-200);
  border-bottom: 1px solid var(--wt-slate-200);
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: var(--wt-navy-950);
  font-weight: 800;
  line-height: 1.25;
}

.wt-section--dark h1,
.wt-section--dark h2,
.wt-section--dark h3,
.wt-section--dark h4 {
  color: var(--wt-white);
}

h1 {
  font-size: 2.35rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  h1 { font-size: 2.85rem; }
}

h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--wt-flame);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--wt-flame-dark);
}

.wt-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--wt-slate-600);
  margin-bottom: 2rem;
}

.wt-section--dark .wt-lead {
  color: var(--wt-slate-300);
}

/* Grid Utilities */
.wt-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.wt-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

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

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

/* Cards */
.wt-card {
  background-color: var(--wt-white);
  border: 1px solid var(--wt-slate-200);
  border-radius: var(--wt-radius-md);
  padding: 1.75rem;
  box-shadow: var(--wt-shadow-sm);
  transition: var(--wt-transition);
  display: flex;
  flex-direction: column;
}

.wt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wt-shadow-lg);
  border-color: var(--wt-flame);
}

.wt-card__icon {
  width: 48px;
  height: 48px;
  background-color: #ffedd5;
  color: var(--wt-flame);
  border-radius: var(--wt-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.wt-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.wt-card__desc {
  font-size: 0.95rem;
  color: var(--wt-slate-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.wt-card__link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--wt-navy-900);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.wt-card__link:hover {
  color: var(--wt-flame);
}

/* Image Frames */
.wt-frame {
  border-radius: var(--wt-radius-lg);
  overflow: hidden;
  box-shadow: var(--wt-shadow-xl);
  border: 1px solid var(--wt-slate-200);
}

.wt-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Callouts & Safety Alerts */
.wt-callout {
  background-color: var(--wt-slate-50);
  border-left: 4px solid var(--wt-flame);
  border-radius: 0 var(--wt-radius-md) var(--wt-radius-md) 0;
  padding: 1.75rem;
  margin: 2rem 0;
}

.wt-callout__title {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--wt-navy-950);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.wt-alert-emergency {
  background-color: #fef2f2;
  border-left: 5px solid var(--wt-crimson);
  border-radius: 0 var(--wt-radius-md) var(--wt-radius-md) 0;
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.wt-alert-emergency__title {
  color: var(--wt-crimson);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

/* High-Contrast CTA Banner */
.wt-banner {
  background: linear-gradient(135deg, var(--wt-navy-950) 0%, var(--wt-navy-800) 100%);
  border: 1px solid var(--wt-navy-700);
  border-radius: var(--wt-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3.5rem 0;
  box-shadow: var(--wt-shadow-xl);
}

.wt-banner h2 {
  color: var(--wt-white);
  margin-top: 0;
  margin-bottom: 1rem;
}

.wt-banner p {
  color: var(--wt-slate-300);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 1.75rem auto;
}

/* FAQs Accordion */
.wt-faq-list {
  margin: 2rem 0;
}

.wt-faq-node {
  border: 1px solid var(--wt-slate-200);
  border-radius: var(--wt-radius-md);
  margin-bottom: 1rem;
  background-color: var(--wt-white);
  overflow: hidden;
}

.wt-faq-head {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--wt-navy-950);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.wt-faq-head:hover {
  background-color: var(--wt-slate-50);
}

.wt-faq-icon {
  width: 18px;
  height: 18px;
  color: var(--wt-flame);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.wt-faq-node.is-open .wt-faq-icon {
  transform: rotate(180deg);
}

.wt-faq-body {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--wt-slate-600);
  display: none;
}

.wt-faq-node.is-open .wt-faq-body {
  display: block;
}

/* Footer */
.wt-footer {
  background-color: var(--wt-navy-950);
  color: var(--wt-slate-300);
  border-top: 3px solid var(--wt-flame);
  padding: 4rem 0 2rem 0;
  font-size: 0.95rem;
}

.wt-footer a {
  color: var(--wt-slate-300);
  text-decoration: none;
  transition: var(--wt-transition);
}

.wt-footer a:hover {
  color: var(--wt-amber);
}

.wt-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .wt-footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.wt-footer h4 {
  color: var(--wt-white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.wt-footer__list {
  list-style: none;
}

.wt-footer__list li {
  margin-bottom: 0.65rem;
}

.wt-footer__bottom {
  border-top: 1px solid var(--wt-navy-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--wt-slate-400);
}

@media (min-width: 768px) {
  .wt-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.wt-parent-ref {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--wt-slate-400);
}

.wt-parent-ref a {
  color: var(--wt-amber);
  font-weight: 600;
  text-decoration: underline;
}

/* Fixed Mobile Call Bar */
.wt-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--wt-navy-950);
  border-top: 2px solid var(--wt-flame);
  padding: 0.75rem 1rem;
  z-index: 1020;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .wt-sticky-bar {
    display: none;
  }
}

.wt-sticky-bar .wt-call-btn {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 0.8rem;
}

/* SVG icon helper */
.wt-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin="round";
  vertical-align: middle;
}
