:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --line: rgba(42, 97, 130, 0.18);
  --shadow: 0 28px 70px rgba(14, 40, 57, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.05rem, 9vw, 3.55rem);
}

h2 {
  font-size: clamp(1.55rem, 7vw, 2.65rem);
}

h3,
h4 {
  font-size: clamp(1.375rem, 5vw, 1.65rem);
}

p,
li,
a,
button,
input,
textarea {
  font-size: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #111827;
  letter-spacing: -0.03em;
}

.desktop-only {
  display: none !important;
}

.mobile-only {
  display: flex !important;
}

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

.hamburger {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  transition: 0.2s ease;
}

.hamburger span::before {
  transform: translateY(-7px);
}

.hamburger span::after {
  transform: translateY(5px);
}

.mobile-menu {
  position: fixed;
  inset: 73px 0 auto 0;
  z-index: 45;
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

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

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

.phone-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.phone-button {
  background: var(--primary-dark);
  color: #fff !important;
}

.primary-button {
  position: relative;
  background: var(--primary);
  color: #fff !important;
  isolation: isolate;
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border: 2px solid rgba(255, 255, 255, 0.62);
  opacity: 0;
  animation: pulseGlow 2.25s infinite;
}

.phone-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: #183c52;
  color: #fff !important;
}

.section-wrap {
  padding: 4.5rem 0;
}

.hero-section {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(rgba(7, 24, 36, 0.68), rgba(7, 24, 36, 0.76)), url('../images/hero-kitchen.jpg') center/cover no-repeat;
}

.hero-section h1,
.hero-section p {
  color: #fff;
}

.stars {
  color: var(--accent);
  font-size: 1.55rem;
  letter-spacing: 0.14em;
}

.review-logo-row img {
  width: auto;
  height: 48px;
  max-width: 96px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.72rem;
  background: rgba(121, 166, 193, 0.18);
  color: #183c52;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.heading-rule::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 1rem;
  background: var(--accent);
}

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

.arch-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.arch-frame img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
}

.page-turn {
  animation: pageTurn both;
  animation-timeline: view();
  animation-range: entry 0% cover 32%;
  transform-origin: left center;
}

.card-flat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 18px 52px rgba(14, 40, 57, 0.08);
}

.service-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #f5fafd;
  border: 1px solid var(--line);
}

.issue-item {
  border-left: 4px solid var(--secondary);
}

.split-row {
  display: grid;
  gap: 2rem;
  align-items: center;
}

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

.split-row .split-media {
  min-width: 0;
}

.reviews-shell {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 1rem;
}

.review-inner {
  height: 100%;
  min-height: 315px;
  background: #fff;
  color: #374151;
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: 0 18px 52px rgba(14, 40, 57, 0.08);
}

.review-inner h3,
.review-inner p {
  color: #111827;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111827;
}

.cta-band {
  color: #fff;
  background: linear-gradient(135deg, #183c52 0%, #2a6182 60%, #79a6c1 100%);
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.faq-item summary {
  cursor: pointer;
  color: #111827;
  font-weight: 900;
  font-size: 18px;
}

.site-footer {
  background: #0e2839;
  color: #eef7fb;
}

.site-footer h2,
.site-footer h3,
.site-footer a,
.site-footer p,
.site-footer li {
  color: #eef7fb;
}

.site-footer .disclaimer {
  color: #d5e5ee;
  font-size: 14px;
}

.sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none !important;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: #183c52;
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  transform: translateY(100%);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.pb-mobile-call {
  padding-bottom: 5rem;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.94);
    opacity: 0.72;
  }
  70% {
    transform: scale(1.08);
    opacity: 0;
  }
  100% {
    transform: scale(1.08);
    opacity: 0;
  }
}

@keyframes pageTurn {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateY(-10deg) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: perspective(900px) rotateY(0) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

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

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

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

  .section-wrap {
    padding: 6rem 0;
  }

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

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

  .split-row.reverse .split-media {
    order: -1;
  }

  .review-card {
    flex-basis: 33.3333%;
  }

  .pb-mobile-call {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 720px;
    padding-top: 2rem;
  }

  .review-logo-row img {
    height: 48px;
    max-width: 62px;
    padding: 6px;
  }

  .phone-button,
  .primary-button {
    width: 100%;
  }
}
