:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

img {
  display: block;
}

.nav-link {
  position: relative;
  transition: color .2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: #ffcf24;
  transition: transform .2s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.mobile-link {
  display: block;
  border-radius: 18px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
}

.mobile-link:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.menu-open .hamburger {
  background: transparent;
}

.menu-open .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

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

.eyebrow {
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffcf24;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
  backdrop-filter: blur(22px);
}

.hero-title {
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .64), rgba(0, 0, 0, .38));
  padding: 14px 22px 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .9), 0 1px 2px rgba(0, 0, 0, .95);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
}

.service-card {
  min-height: 280px;
  border: 1px solid rgba(215, 25, 32, .14);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  padding: 34px 26px;
  box-shadow: 0 22px 70px rgba(23, 23, 23, .08);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 25, 32, .35);
  box-shadow: 0 28px 90px rgba(215, 25, 32, .14);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 900;
}

.service-card p {
  margin-top: 12px;
  color: rgba(39, 39, 42, .72);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  filter: saturate(1.04) contrast(1.03);
  transition: transform .3s ease, filter .3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.06);
}

.contact-list {
  display: grid;
  gap: 17px;
}

.contact-list div {
  border-bottom: 1px solid rgba(215, 25, 32, .14);
  padding-bottom: 15px;
}

.contact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list dt {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d71920;
}

.contact-list dd {
  margin-top: 5px;
  font-weight: 700;
  color: #242424;
}

.contact-list a {
  color: #970b12;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 900px) {
  .section-pad {
    padding: 76px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid img {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 92vh;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 340px;
  }
}
