:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface-alt);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 245, 238, 0.94);
  border-bottom: 1px solid rgba(158, 127, 73, 0.28);
  backdrop-filter: blur(18px);
}

.logo-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1;
  border: 2px solid var(--secondary);
}

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

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

.mobile-toggle {
  display: inline-flex !important;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 70px 0 auto 0;
  z-index: 45;
  background: #17110f;
  color: #fff;
  border-top: 1px solid rgba(217, 182, 111, 0.4);
  padding: 22px;
}

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

.mobile-menu a {
  color: #fff;
  display: block;
  padding: 13px 0;
  font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(18, 10, 8, 0.72), rgba(18, 10, 8, 0.77)), url("../images/hero-kitchen.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
}

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

.hero-arch {
  position: absolute;
  inset: 88px 18px 56px;
  border: 1px solid rgba(217, 182, 111, 0.45);
  border-radius: 48% 48% 0 0 / 18% 18% 0 0;
  pointer-events: none;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.52;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

h1 {
  font-size: 39px;
  line-height: 1.02;
}

h2 {
  font-size: 31px;
  line-height: 1.08;
}

h3,
h4 {
  font-size: 22px;
  line-height: 1.2;
}

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

.display-title {
  font-family: var(--font-heading);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: #7f343b;
  background: rgba(164, 77, 83, 0.11);
  border-left: 4px solid var(--primary);
  padding: 8px 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.title-rule::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 16px;
  background: var(--primary);
  box-shadow: 16px 0 0 var(--secondary);
}

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

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  background: var(--primary);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.34);
  animation: whitePulse 2.2s infinite;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(127, 52, 59, 0.28);
}

.cta-button.light-phone {
  background: #f9f5ee;
  color: #111827 !important;
  border-color: var(--secondary);
}

.cta-button.light-phone:hover {
  background: #fff;
  color: #111827 !important;
}

.review-icons img {
  width: auto;
  height: 48px;
  max-width: 70px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  padding: 7px;
}

.stars {
  color: var(--accent);
  letter-spacing: 0.12em;
  font-size: 24px;
  font-weight: 900;
}

.glass-panel {
  background: rgba(249, 245, 238, 0.12);
  border: 1px solid rgba(217, 182, 111, 0.42);
  backdrop-filter: blur(10px);
}

.limestone-card {
  background: #fffaf2;
  border: 1px solid rgba(158, 127, 73, 0.24);
  box-shadow: 0 28px 70px rgba(50, 35, 28, 0.08);
}

.service-card {
  background: #fff;
  border: 1px solid rgba(158, 127, 73, 0.25);
  padding: 24px;
  color: #374151;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 24px 60px rgba(164, 77, 83, 0.12);
}

.icon-box {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: #f9f5ee;
  border: 1px solid rgba(158, 127, 73, 0.36);
  color: var(--primary);
}

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

.split-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

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

.split-image img,
.arch-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 1px solid rgba(158, 127, 73, 0.42);
  border-radius: 46% 46% 0 0 / 15% 15% 0 0;
}

.dark-section {
  background: #17110f;
  color: #fff;
}

.dark-section h2,
.dark-section h3,
.dark-section p,
.dark-section li,
.dark-section a {
  color: #fff;
}

.dark-section .section-eyebrow {
  color: #fff;
  background: rgba(217, 182, 111, 0.15);
  border-left-color: var(--accent);
}

.process-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(158, 127, 73, 0.28);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 24px;
}

.model-table-wrapper {
  overflow-x: auto;
  border: 1px solid rgba(158, 127, 73, 0.3);
  background: #fff;
}

.model-table {
  min-width: 900px;
  width: 100%;
  border-collapse: collapse;
}

.model-table th,
.model-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid rgba(158, 127, 73, 0.18);
  vertical-align: top;
}

.model-table th {
  background: #17110f;
  color: #fff;
}

.review-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  background: #fff;
  color: #374151;
  border: 1px solid rgba(158, 127, 73, 0.3);
  padding: 24px;
  min-height: 260px;
}

.review-card strong,
.review-card p {
  color: #111827;
}

.faq-item {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 18px 36px rgba(50, 35, 28, 0.06);
}

.footer {
  background: #17110f;
  color: #fff;
  font-size: 14px;
}

.footer p,
.footer a,
.footer li {
  color: #fff;
  font-size: 14px;
}

.footer .logo-text {
  color: #fff;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(23, 17, 15, 0.97);
  border-top: 1px solid rgba(217, 182, 111, 0.48);
  transform: translateY(110%);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.mobile-sticky-call a {
  width: 100%;
  color: #fff !important;
  font-size: 16px;
}

.mask-reveal {
  animation: maskReveal 880ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes maskReveal {
  from {
    clip-path: inset(0 0 100% 0);
    transform: translateY(-18px);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes whitePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.36); }
  70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

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

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

  h1 {
    font-size: clamp(58px, 7vw, 92px);
  }

  h2 {
    font-size: clamp(38px, 4vw, 56px);
  }

  .hero-section {
    min-height: 840px;
  }

  .split-row {
    grid-template-columns: 7fr 3fr;
    gap: 42px;
  }

  .split-row.reverse {
    grid-template-columns: 3fr 7fr;
  }

  .split-row .split-image {
    order: initial;
  }

  .review-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

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

  h1 {
    font-size: 39px;
  }

  h2 {
    font-size: 31px;
  }

  .review-icons img {
    height: 42px;
    max-width: 58px;
    padding: 6px;
  }

  .cta-button {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo-text {
    font-size: 24px;
  }
}
