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

body {
  background: #f9f5ee;
  color: #24313a;
  font-size: 16px;
  line-height: 1.7;
}

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

h1 {
  font-size: clamp(35px, 7vw, 72px);
}

h2 {
  font-size: clamp(28px, 5vw, 48px);
}

h3,
h4 {
  font-size: clamp(20px, 3vw, 28px);
}

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

.nav-link {
  color: #153444;
  font-size: 18px;
  font-weight: 700;
  transition: color .2s ease;
}

.nav-link:hover {
  color: #9e7f49;
}

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

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

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

.mobile-only.hidden {
  display: none !important;
}

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

@media (min-width: 768px) {
  .header-phone {
    display: inline-flex !important;
  }

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

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

.btn-primary,
.btn-secondary,
.btn-outline,
.mobile-call-button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  gap: .55rem;
  justify-content: center;
  min-height: 50px;
  padding: .85rem 1.25rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #2a6182;
  box-shadow: 0 18px 35px rgba(42, 97, 130, .26);
  color: #fff !important;
}

.btn-primary:hover {
  background: #1e465e;
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #9e7f49;
  box-shadow: 0 18px 35px rgba(158, 127, 73, .26);
  color: #fff !important;
}

.btn-secondary:hover {
  background: #7e6338;
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(42,97,130,.22);
  color: #111827 !important;
}

.btn-outline:hover {
  box-shadow: 0 16px 30px rgba(16,38,51,.12);
  color: #111827 !important;
  transform: translateY(-2px);
}

.luxury-card {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(158,127,73,.22);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(16,38,51,.08);
  color: #24313a;
}

.dark-card {
  background: #102633;
  border: 1px solid rgba(249,245,238,.16);
  border-radius: 28px;
  color: #f9f5ee;
}

.dark-card h3,
.dark-card h4,
.dark-card p,
.dark-card li,
.dark-card span {
  color: #f9f5ee;
}

.brass-text {
  color: #7b6138;
}

.section-pad {
  padding: 4.5rem 1rem;
}

.hero-shell {
  background: radial-gradient(circle at top left, rgba(158,127,73,.28), transparent 36%), linear-gradient(135deg, #f9f5ee 0%, #ffffff 48%, #eef5f8 100%);
}

.hero-image-wrap {
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.hero-image-wrap img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-image-wrap:after {
  border: 1px solid rgba(249,245,238,.7);
  border-radius: 26px;
  content: "";
  inset: 16px;
  position: absolute;
}

.rating-stars,
.review-stars {
  color: #9e7f49;
  font-size: 22px;
  letter-spacing: .12em;
}

.gallery-badges img {
  border: 1px solid rgba(158,127,73,.35);
  border-radius: 16px;
  height: 48px;
  object-fit: contain;
  padding: 5px;
  width: auto;
}

.mask-reveal {
  animation: maskReveal .9s cubic-bezier(.2,.75,.25,1) both;
  clip-path: inset(0 0 100% 0);
}

.line-reveal {
  animation: lineReveal .75s cubic-bezier(.2,.75,.25,1) both;
  opacity: 0;
  transform: translateY(18px);
}

.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .32s; }

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

@keyframes lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

.problem-table {
  border-collapse: separate;
  border-spacing: 0 .85rem;
}

.problem-table th {
  background: #102633;
  color: #fff;
  padding: 1rem;
  text-align: left;
}

.problem-table td {
  background: #fff;
  border-bottom: 1px solid rgba(42,97,130,.14);
  border-top: 1px solid rgba(42,97,130,.14);
  color: #24313a;
  padding: 1rem;
}

.problem-table td:first-child,
.problem-table th:first-child {
  border-bottom-left-radius: 18px;
  border-top-left-radius: 18px;
}

.problem-table td:last-child,
.problem-table th:last-child {
  border-bottom-right-radius: 18px;
  border-top-right-radius: 18px;
}

.two-col-block {
  align-items: center;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-col-block {
    grid-template-columns: 65% 35%;
  }

  .two-col-block.reverse {
    grid-template-columns: 35% 65%;
  }
}

.service-icon {
  background: #f9f5ee;
  border-radius: 20px;
  height: 72px;
  padding: 12px;
  width: 72px;
}

.review-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: .5rem .25rem 1rem;
  scroll-snap-type: x mandatory;
}

.review-card {
  flex: 0 0 88%;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .review-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

.mobile-call-button {
  background: #102633;
  bottom: 0;
  box-shadow: 0 -18px 34px rgba(16,38,51,.24);
  color: #fff !important;
  display: none !important;
  left: 0;
  opacity: 0;
  padding: 1rem .75rem calc(1rem + env(safe-area-inset-bottom));
  position: fixed;
  right: 0;
  transform: translateY(100%);
  transition: opacity .25s ease, transform .25s ease;
  width: 100%;
  z-index: 60;
}

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

@media (min-width: 768px) {
  .mobile-call-button,
  .mobile-call-button.is-visible {
    display: none !important;
  }
}

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

@media (max-width: 767px) {
  body {
    padding-bottom: 74px;
  }

  .section-pad {
    padding: 3.25rem 1rem;
  }

  .problem-table,
  .problem-table tbody,
  .problem-table tr,
  .problem-table td,
  .problem-table th {
    display: block;
    width: 100%;
  }

  .problem-table thead {
    display: none;
  }

  .problem-table td:first-child {
    border-radius: 18px 18px 0 0;
    font-weight: 800;
  }

  .problem-table td:last-child {
    border-radius: 0 0 18px 18px;
  }
}
