:root {
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --line: rgba(24, 48, 148, 0.13);
  --line-dark: rgba(255, 255, 255, 0.18);
  --ink: #111827;
  --copy: #374151;
  --blue: #183094;
  --blue-dark: #0d1b55;
  --steel: #6a81a1;
  --pale: #9bb1d0;
  --cream: #f4f7fb;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  color: #111827;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.2rem;
}

h3,
h4 {
  font-size: 1.45rem;
}

p,
li,
td,
th,
a,
button,
span {
  font-size: 16px;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(24, 48, 148, 0.14);
  backdrop-filter: blur(14px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #111827;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.logo-link:hover {
  color: #111827;
}

.logo-link img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.desktop-nav,
.desktop-phone {
  display: none !important;
}

.mobile-menu-toggle {
  display: inline-flex !important;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 48, 148, 0.24);
  background: #ffffff;
  color: #111827;
}

.mobile-menu-panel {
  display: none;
  border-top: 1px solid rgba(24, 48, 148, 0.14);
  background: #ffffff;
}

.mobile-menu-panel.is-open {
  display: block;
}

.nav-link {
  color: #111827;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--blue);
}

.phone-btn,
.cta-btn,
.mobile-sticky-call {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--blue);
  color: #ffffff !important;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  animation: ctaGlow 2.4s ease-in-out infinite;
}

.phone-btn:hover,
.cta-btn:hover,
.mobile-sticky-call:hover {
  background: var(--blue-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.mobile-menu-panel .phone-btn {
  width: 100%;
  margin-top: 0.7rem;
}

.hero-section {
  position: relative;
  min-height: 780px;
  padding: 7.8rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(4, 10, 31, 0.88), rgba(24, 48, 148, 0.72)), url('../images/hero-kitchen.jpg') center/cover no-repeat;
}

.hero-section::before,
.technical-section::before,
.service-card::before,
.info-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
}

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

.hero-section h1,
.hero-section p,
.hero-section .eyebrow,
.hero-section .microcopy {
  color: #ffffff;
}

.hero-section h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--pale);
}

.stars {
  color: var(--pale);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
}

.review-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem auto 1.5rem;
}

.review-icons img {
  width: auto;
  height: 48px;
  max-width: 96px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem 0.45rem;
}

.hero-copy {
  max-width: 940px;
  margin: 1.35rem auto 0;
  color: #ffffff;
  text-align: center;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 2rem auto 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
}

.hero-metric {
  padding: 1rem;
  background: rgba(5, 11, 34, 0.55);
  color: #ffffff;
  text-align: center;
}

.hero-metric strong {
  display: block;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-metric span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section-pad {
  padding: 4.8rem 0;
}

.technical-section {
  position: relative;
  overflow: hidden;
}

.technical-section::before {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  opacity: 0.55;
}

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

.heading-rule {
  width: 82px;
  height: 4px;
  margin-top: 0.9rem;
  background: var(--pale);
}

.heading-rule.center {
  margin-left: auto;
  margin-right: auto;
}

.intro-text {
  font-size: 1.08rem;
  color: #374151;
}

.info-panel {
  position: relative;
  border: 1px solid rgba(24, 48, 148, 0.16);
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(24, 48, 148, 0.08);
}

.info-panel::before {
  background-image: linear-gradient(rgba(24, 48, 148, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 48, 148, 0.08) 1px, transparent 1px);
  opacity: 1;
}

.info-panel > * {
  position: relative;
  z-index: 1;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  color: #111827;
}

.data-table th,
.data-table td {
  border: 1px solid rgba(24, 48, 148, 0.16);
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.split-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.split-row .split-text,
.split-row .split-image {
  min-width: 0;
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(24, 48, 148, 0.15);
  background: #ffffff;
  color: #374151;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  background-image: linear-gradient(rgba(24, 48, 148, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(24, 48, 148, 0.06) 1px, transparent 1px);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 48, 148, 0.35);
  box-shadow: 0 22px 55px rgba(24, 48, 148, 0.13);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.icon-box {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  background: var(--cream);
  color: var(--blue);
  border: 1px solid rgba(24, 48, 148, 0.18);
}

.icon-box svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.dark-band {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 10%, rgba(155, 177, 208, 0.24), transparent 32%), linear-gradient(135deg, #0d1635, #183094);
  color: #ffffff;
}

.dark-band h2,
.dark-band h3,
.dark-band p,
.dark-band li,
.dark-band span {
  color: #ffffff;
}

.dark-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.review-slider {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.review-slide {
  flex: 0 0 100%;
  padding: 0.5rem;
}

.review-card {
  min-height: 100%;
  border: 1px solid rgba(24, 48, 148, 0.14);
  background: #ffffff;
  color: #374151;
  box-shadow: 0 18px 45px rgba(24, 48, 148, 0.08);
}

.review-card strong {
  color: #111827;
  font-size: 1.05rem;
}

.slider-btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 48, 148, 0.2);
  background: #ffffff;
  color: #111827;
  font-weight: 900;
}

.area-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(24, 48, 148, 0.12);
}

.faq-item {
  border: 1px solid rgba(24, 48, 148, 0.16);
  background: #ffffff;
}

.faq-item button {
  width: 100%;
  color: #111827;
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  display: none;
  color: #374151;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.site-footer {
  background: #080f27;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-footer h3,
.site-footer h4,
.site-footer .logo-link {
  color: #ffffff;
}

.site-footer a:hover {
  color: #ffffff;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none !important;
  width: 100%;
  min-height: 58px;
  padding: 1rem 0.7rem;
  transform: translateY(105%);
  opacity: 0;
  transition: transform 240ms ease, opacity 240ms ease;
}

.mobile-sticky-call.is-visible {
  display: flex !important;
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.line-draw {
  position: relative;
}

.line-draw::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--pale);
  transition: width 650ms ease;
}

.reveal.is-visible .line-draw::after,
.line-draw.is-visible::after {
  width: 86px;
}

@keyframes ctaGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.32), 0 14px 32px rgba(24, 48, 148, 0.25);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 18px 42px rgba(24, 48, 148, 0.34);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.54rem;
  }

  .hero-section {
    min-height: 690px;
    padding: 6.8rem 0 4rem;
  }

  .review-icons {
    gap: 0.45rem;
  }

  .review-icons img {
    height: 38px;
    max-width: 72px;
  }

  body.has-mobile-sticky {
    padding-bottom: 70px;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }

  .desktop-phone {
    display: inline-flex !important;
  }

  .mobile-menu-toggle,
  .mobile-menu-panel,
  .mobile-sticky-call,
  .mobile-sticky-call.is-visible {
    display: none !important;
  }

  .split-row {
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  }

  .split-row.image-left {
    grid-template-columns: minmax(260px, 3fr) minmax(0, 7fr);
  }

  .split-row.image-left .split-image {
    order: -1;
  }

  .review-slide {
    flex-basis: 33.333333%;
  }
}

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

  h2 {
    font-size: 2.6rem;
  }
}

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