@import url("base.css");

:root {
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #111827;
  --muted: #4b5563;
  --line: rgba(10, 26, 52, 0.14);
  --cream: #fbfaf7;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.055;
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #0a1a34 1px, transparent 0);
  background-size: 17px 17px;
}

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

h1 {
  font-size: 39px;
}

h2 {
  font-size: 31px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 17, 36, 0.78);
  backdrop-filter: blur(18px);
}

.brand-link {
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(223, 175, 77, 0.5);
  background: #0a1a34;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

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

.mobile-menu-button {
  display: inline-flex !important;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 17, 36, 0.97);
}

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

.nav-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link:hover {
  color: var(--accent);
  opacity: 1;
}

.phone-button,
.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid rgba(223, 175, 77, 0.94);
  background: var(--accent);
  color: #111827 !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42);
  animation: whitePulse 2.4s ease-in-out infinite;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.phone-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
  background: #f0c76d;
  border-color: #f0c76d;
}

.phone-button.dark-phone {
  background: #0a1a34;
  border-color: rgba(223, 175, 77, 0.7);
  color: #ffffff !important;
}

.hero {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background: #061124;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(rgba(6, 17, 36, 0.66), rgba(6, 17, 36, 0.82)), url("../images/hero-kitchen.jpg") center/cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 26%, rgba(223, 175, 77, 0.23), transparent 34%), linear-gradient(90deg, rgba(10, 26, 52, 0.5), transparent 48%, rgba(10, 26, 52, 0.5));
}

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

.hero h1,
.hero h2,
.dark-section h2,
.dark-section h3,
.footer h2,
.footer h3 {
  color: #ffffff !important;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.mask-reveal {
  clip-path: inset(0 0 100% 0);
  animation: revealVertical 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.star-row {
  color: var(--accent);
  font-size: 26px;
  letter-spacing: 0.16em;
  text-shadow: 0 0 26px rgba(223, 175, 77, 0.38);
}

.trust-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.trust-icons img {
  width: auto;
  height: 48px;
  max-width: 86px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
}

.section-pad {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 11px;
  background: rgba(223, 175, 77, 0.18);
  color: #6f4d08;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.eyebrow.dark {
  color: #ffe9b6;
  background: rgba(223, 175, 77, 0.22);
}

.heading-rule {
  width: 78px;
  height: 4px;
  margin-top: 16px;
  background: var(--accent);
}

.number-tag {
  font-family: var(--font-heading);
  color: rgba(92, 120, 167, 0.22);
  font-size: 78px;
  font-weight: 800;
  line-height: 0.8;
}

.card-flat {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 65px rgba(10, 26, 52, 0.08);
}

.card-flat h3,
.card-flat h4,
.card-flat p,
.card-flat li {
  color: var(--ink);
}

.card-flat h3::after,
.card-flat h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 10px;
  background: var(--accent);
}

.card-flat p,
.card-flat li {
  color: #374151;
}

.dark-section {
  background: linear-gradient(145deg, #061124, #0a1a34 52%, #10284e);
  color: #f9fafb;
}

.dark-section p,
.dark-section li {
  color: rgba(255, 255, 255, 0.86);
}

.service-card {
  min-height: 100%;
  border-left: 4px solid var(--accent);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a1a34;
  color: var(--accent);
}

.icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

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

.split-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.process-item {
  position: relative;
  padding-left: 34px;
}

.process-item::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: -22px;
  width: 1px;
  background: rgba(223, 175, 77, 0.36);
}

.process-item:last-child::before {
  display: none;
}

.process-dot {
  position: absolute;
  left: 0;
  top: 7px;
  width: 19px;
  height: 19px;
  border: 4px solid var(--accent);
  background: #0a1a34;
}

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

.review-slide {
  flex: 0 0 100%;
  padding: 10px;
}

.review-card {
  height: 100%;
  border-top: 4px solid var(--accent);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(10, 26, 52, 0.14);
  background: #ffffff;
  color: #111827;
  font-weight: 700;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  color: #111827;
  font-weight: 800;
  text-align: left;
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  color: #374151;
}

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

.footer {
  background: #061124;
  color: rgba(255, 255, 255, 0.82);
}

.footer a {
  color: #ffffff;
}

.footer small,
.footer p,
.footer li,
.footer a {
  font-size: 14px;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 17, 36, 0.96);
  transform: translateY(105%);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

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

.mobile-sticky-call a {
  width: 100%;
  color: #111827 !important;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes revealVertical {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes whitePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.42); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

@media (max-width: 767px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  .section-pad { padding: 52px 0; }
  .hero { min-height: 92vh; padding-top: 86px; }
  .brand-name { font-size: 24px; max-width: 210px; white-space: normal; }
  .hero-copy { padding-bottom: 32px; }
  .phone-button,
  .cta-button { width: 100%; max-width: 390px; }
  .mobile-panel .phone-button { width: auto; max-width: 100%; font-size: 16px; }
  body.has-mobile-sticky { padding-bottom: 78px; }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }
  .desktop-phone {
    display: inline-flex !important;
  }
  .mobile-menu-button,
  .mobile-panel,
  .mobile-sticky-call,
  .mobile-sticky-call.visible {
    display: none !important;
  }
  .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-slide {
    flex-basis: 33.333333%;
  }
  .hero h1 {
    font-size: clamp(48px, 5.6vw, 82px);
  }
  h2 {
    font-size: clamp(34px, 3.2vw, 50px);
  }
}
