html {
  scroll-behavior: smooth;
}

:root {
  --bg: #040406;
  --bg-secondary: rgba(12, 12, 19, 0.82);
  --card: rgba(16, 16, 24, 0.78);
  --muted: #1f1f2c;
  --brand: #d4a158;
  --brand-soft: rgba(212, 161, 88, 0.22);
  --accent: #52c1ff;
  --text: #f5f5f9;
  --subtext: #a7a7bb;
  --glow: rgba(82, 193, 255, 0.2);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background-size: cover;
  background-position: center;
  filter: saturate(0.7) brightness(0.65);
}
body::before {
  background-image: linear-gradient(120deg, rgba(4, 4, 6, 0.7), rgba(4, 4, 6, 0.9)), url("img/background/IMG_6749.jpeg");
}
body::after {
  z-index: -3;
  mix-blend-mode: screen;
  opacity: 0.18;
  background-image: radial-gradient(circle at 20% 20%, rgba(82, 193, 255, 0.32), transparent 52%), url("img/background/temp_image_8C66F222-BD9C-4C45-A02B-9CE9C08362B2.webp");
  filter: blur(0.5px) saturate(0.9);
}
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(6, 6, 12, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
nav .row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav .brand .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #f3c27d);
  box-shadow: 0 0 12px rgba(212, 161, 88, 0.55);
}
nav .menu {
  display: flex;
  gap: 22px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav .menu a {
  color: var(--subtext);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
nav .menu a:hover {
  color: var(--text);
  opacity: 0.9;
}
.button {
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--brand), #f2c987);
  color: #120b05;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(212, 161, 88, 0.25);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(212, 161, 88, 0.32);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 120px;
  background: url("img/background/temp_image_19538764-4E52-4AB7-842A-04A77E9B7881.webp") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 8, 0.25), rgba(4, 4, 8, 0.78) 60%, rgba(4, 4, 8, 0.96));
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 8% 10%;
  z-index: -1;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
  background: linear-gradient(135deg, rgba(212, 161, 88, 0.12), transparent 60%);
}
.hero .content {
  background: rgba(8, 8, 14, 0.62);
  padding: 48px;
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  max-width: 640px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.hero .pretitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(82, 193, 255, 0.1);
  color: #c7e7ff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: var(--subtext);
}
.hero .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.hero .hero-badges span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 161, 88, 0.45);
  background: rgba(212, 161, 88, 0.08);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
section {
  position: relative;
  padding: 96px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(82, 193, 255, 0.08), transparent 55%), linear-gradient(160deg, rgba(14, 14, 22, 0.86), rgba(7, 7, 12, 0.88));
  opacity: 0.9;
  z-index: -1;
}
#services::before {
  background: linear-gradient(160deg, rgba(12, 12, 18, 0.9), rgba(8, 8, 12, 0.95)), url("img/background/temp_image_9CAA51A3-9DF3-4FEC-9E03-9FA8787956E5.webp") center/cover;
  opacity: 0.4;
}
#gallery::before {
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.94), rgba(8, 8, 14, 0.96)), url("img/background/temp_image_8C66F222-BD9C-4C45-A02B-9CE9C08362B2.webp") center/cover;
  opacity: 0.45;
}
#team::before {
  background: linear-gradient(200deg, rgba(8, 8, 12, 0.92), rgba(12, 12, 18, 0.9)), url("img/background/temp_image_E1EC1C5B-85E6-433A-B069-C595DD057F53.webp") center/cover;
  opacity: 0.28;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 18, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
section#gallery .container,
section#contact .container {
  background: rgba(10, 10, 18, 0.36);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section-intro {
  color: var(--subtext);
  max-width: 600px;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.service-card {
  position: relative;
  background: linear-gradient(200deg, rgba(21, 21, 30, 0.72), rgba(12, 12, 18, 0.92));
  border-radius: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(212, 161, 88, 0.28), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 161, 88, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  filter: saturate(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.service-card .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cdd9ff;
  background: rgba(82, 193, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}
.service-card p {
  color: var(--subtext);
  margin-bottom: 16px;
  min-height: 60px;
}
.service-card .price {
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  filter: saturate(1.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}
.gallery-grid img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
}

.gallery-slider {
  position: relative;
  margin-top: 56px;
  padding: 48px 0 86px;
  perspective: 1600px;
  border-radius: 28px;
  overflow: hidden;
}

.gallery-slider::before,
.gallery-slider::after {
  content: "";
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(82, 193, 255, 0.18), transparent 72%);
  filter: blur(4px);
  opacity: 0.5;
  z-index: 0;
}

.gallery-slider::after {
  inset: 8% 20%;
  background: radial-gradient(circle at center, rgba(212, 161, 88, 0.22), transparent 70%);
  opacity: 0.35;
}

.slider-backdrop {
  position: absolute;
  inset: 10% 12%;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(12, 12, 18, 0.82), rgba(6, 6, 12, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.slider-track {
  position: relative;
  height: clamp(320px, 42vw, 420px);
  width: 100%;
  z-index: 1;
  transform-style: preserve-3d;
}

.gallery-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, 32vw, 360px);
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1),
    filter 0.6s ease, opacity 0.6s ease;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02);
}

.gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 4, 8, 0) 55%, rgba(4, 4, 8, 0.4) 100%);
  mix-blend-mode: multiply;
}

.gallery-slide[data-position="0"] {
  transform: translate3d(-50%, -50%, 180px) scale(1);
  filter: brightness(1) saturate(1.12);
  z-index: 6;
}

.gallery-slide[data-position="1"],
.gallery-slide[data-position="-1"] {
  z-index: 5;
  transform: translate3d(calc(-50% + var(--slide-offset)), -50%, 40px)
    rotateY(-18deg) scale(0.88);
  filter: brightness(0.88) saturate(0.95);
  opacity: 0.88;
}

.gallery-slide[data-position="-1"] {
  transform: translate3d(calc(-50% - var(--slide-offset)), -50%, 40px)
    rotateY(18deg) scale(0.88);
}

.gallery-slide[data-position="2"],
.gallery-slide[data-position="-2"] {
  z-index: 4;
  transform: translate3d(calc(-50% + var(--slide-offset) * 1.9), -50%, -140px)
    rotateY(-28deg) scale(0.74);
  filter: brightness(0.68) saturate(0.9);
  opacity: 0.65;
}

.gallery-slide[data-position="-2"] {
  transform: translate3d(calc(-50% - var(--slide-offset) * 1.9), -50%, -140px)
    rotateY(28deg) scale(0.74);
}

.gallery-slide[data-position^="3"],
.gallery-slide[data-position^="-3"],
.gallery-slide[data-position="3"],
.gallery-slide[data-position="-3"] {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, -280px) scale(0.5);
}

.slider-controls {
  position: absolute;
  inset: auto 0 12px;
  display: flex;
  justify-content: center;
  gap: 22px;
  z-index: 2;
}

.slider-button {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 18, 0.75);
  color: var(--text);
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.slider-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  border-color: rgba(212, 161, 88, 0.5);
}

.slider-progress {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: clamp(180px, 28vw, 320px);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: translateX(-50%);
  z-index: 2;
}

.slider-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

:root {
  --slide-offset: clamp(140px, 20vw, 220px);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.team-member {
  text-align: center;
  padding: 20px;
  background: rgba(16, 16, 26, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.team-member .avatar {
  width: 180px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 161, 88, 0.55), rgba(16, 16, 26, 0.92));
  border: 4px solid rgba(212, 161, 88, 0.65);
  font-size: 46px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.18em;
}
.team-member h4 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.team-member span {
  color: var(--subtext);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-info {
  text-align: center;
  margin-top: 28px;
}
.contact-info p {
  margin-bottom: 10px;
  color: var(--subtext);
  font-size: 1rem;
}
footer {
  padding: 40px 20px 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
  font-size: 0.9rem;
  color: var(--subtext);
  background: rgba(6, 6, 12, 0.72);
  letter-spacing: 0.04em;
}
footer a {
  color: var(--subtext);
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--brand);
}
@media (max-width: 960px) {
  nav .menu {
    gap: 12px;
    font-size: 12px;
  }
  .hero .content {
    padding: 32px;
  }
  .container {
    padding: 32px 24px;
  }
  .service-card p {
    min-height: auto;
  }
  .gallery-slider {
    margin-top: 44px;
    padding: 40px 0 72px;
    perspective: 1200px;
  }
  .gallery-slide {
    width: clamp(220px, 45vw, 320px);
  }
  .slider-button {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 1.3rem;
  }
}
@media (max-width: 640px) {
  nav .row {
    flex-direction: column;
    gap: 12px;
  }
  nav .menu {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero {
    padding: 100px 16px 90px;
  }
  .hero .hero-badges {
    gap: 8px;
  }
  .container {
    padding: 26px;
  }
  .service-card {
    padding: 20px;
  }
  .gallery-slider {
    padding: 24px 0 64px;
  }
  .slider-backdrop {
    inset: 12% 10%;
  }
  .gallery-slide,
  .gallery-slide[data-position],
  .gallery-slide[data-position^="-"] {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1 !important;
    width: 100%;
    aspect-ratio: auto;
    height: 260px;
    margin: 0 auto 18px;
  }
  .gallery-slide img {
    height: 100%;
  }
  .slider-controls {
    inset: auto 0 0;
  }
  .slider-progress {
    bottom: 24px;
  }
  .team-member .avatar {
    width: 150px;
  }
}

.cta-center {
  text-align: center;
}
