:root {
  --bg: #080808;
  --bg-soft: rgba(255,255,255,0.04);
  --card: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.12);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.72);
  --accent: #d7b26d;
  --accent-2: #f2d39d;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  opacity: .22;
  animation: floatGlow 15s ease-in-out infinite;
  pointer-events: none;
}

body::before {
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(215,178,109,.75) 0%, rgba(215,178,109,0) 70%);
}

body::after {
  right: -12vw;
  top: 20vh;
  background: radial-gradient(circle, rgba(90,115,255,.55) 0%, rgba(90,115,255,0) 72%);
  animation-delay: -6s;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  pointer-events: none;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -4;
  background: linear-gradient(125deg, #050505, #111111, #1d1c1a, #0c0c0d);
  background-size: 220% 220%;
  animation: gradientMove 16s ease infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(8,8,8,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  font-size: 1.1rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(215,178,109,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  cursor: pointer;
}

.btn {
  color: #111;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 12px 28px rgba(215,178,109,.28);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .6s ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(215,178,109,.22);
}

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: rgba(255,255,255,0.12);
}

.hero {
  padding: 84px 0 56px;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--accent-2);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -1.5px;
  max-width: 980px;
  text-wrap: balance;
}

.hero-title {
  max-width: 1100px;
}

.hero p {
  margin-top: 20px;
  max-width: 680px;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 720px;
}

.stat {
  padding: 18px 16px;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.hero-card {
  position: relative;
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(215,178,109,.18), transparent 42%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  color: #111;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-icon,
.service-icon,
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 1.15rem;
  transition: transform .25s ease;
}

.feature-icon svg,
.service-icon svg,
.contact-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.floating-phone svg {
  width: 24px;
  height: 24px;
  display: block;
}

section {
  padding: 84px 0;
}

.section-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 28px;
}

.section-top h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -1px;
}

.section-top p {
  max-width: 560px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.gallery-card,
.contact-card,
.form-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  overflow: hidden;
  word-wrap: break-word;
}

.service-card {
  padding: 22px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, backdrop-filter .3s ease;
  backdrop-filter: blur(0px);
}

.service-card:hover,
.gallery-card:hover,
.form-card:hover {
  transform: translateY(-6px);
  border-color: rgba(215,178,109,.35);
  backdrop-filter: blur(8px);
}

.service-card:hover .service-icon,
.contact-item:hover .contact-icon {
  transform: scale(1.06);
}

.service-card h3 {
  margin: 16px 0 10px;
  font-size: 1.08rem;
}

.service-card p {
  color: var(--muted);
  font-size: .95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 360px;
  cursor: pointer;
  transition: transform .35s ease, border-color .35s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.08);
}

.gallery-image {
  height: 100%;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.82));
}

.gallery-overlay strong {
  display: block;
  font-size: 1.15rem;
  margin-top: 10px;
}

.gallery-overlay p {
  color: rgba(255,255,255,.76);
  margin-top: 6px;
  font-size: .92rem;
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.gallery-count {
  color: rgba(255,255,255,.84);
  font-size: .9rem;
}

.gallery-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-size: .95rem;
  font-weight: 700;
}

.gallery-status {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}

.gallery-status.is-hidden {
  display: none;
}

.gallery-status.is-error {
  color: #ffd6d6;
  border-color: rgba(255,110,110,0.25);
  background: rgba(120,20,20,0.22);
}

.dynamic-gallery:empty {
  display: none;
}

.gallery-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--accent-2);
  font-size: .86rem;
  font-weight: 700;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.gallery-modal.is-open {
  display: block;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.76);
  backdrop-filter: blur(8px);
}

.gallery-modal-dialog {
  position: relative;
  width: min(1120px, calc(100% - 24px));
  margin: 22px auto;
  max-height: calc(100vh - 44px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(18,18,18,0.96), rgba(10,10,10,0.98));
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  padding: 26px;
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 1.7rem;
  cursor: pointer;
}

.gallery-modal-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-right: 48px;
  margin-bottom: 18px;
}

.gallery-modal-album {
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 4px;
}

.gallery-modal-title {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.gallery-counter {
  color: var(--muted);
  white-space: nowrap;
}

.gallery-slider {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 14px;
  align-items: center;
}

.gallery-main-frame {
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.gallery-main-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.gallery-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.gallery-nav:hover {
  transform: scale(1.06);
  background: rgba(255,255,255,0.1);
  border-color: rgba(215,178,109,.35);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.gallery-thumb {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease;
}

.gallery-thumb img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(215,178,109,.35);
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.contact-stack {
  display: grid;
  gap: 18px;
  align-self: start;
}

.contact-card,
.form-card {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  word-break: break-word;
  transition: border-color .25s ease, background .25s ease;
}

a.contact-item:hover {
  transform: none;
  border-color: rgba(215,178,109,.28);
  background: rgba(255,255,255,0.055);
}

.contact-item small,
.form-note,
.muted,
.contacts-subtitle {
  color: var(--muted);
}

form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

input:focus {
  border-color: rgba(215,178,109,.7);
  background: rgba(255,255,255,0.06);
  box-shadow: none;
}

input::placeholder {
  color: rgba(255,255,255,0.42);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

footer {
  padding: 28px 0 44px;
  color: rgba(255,255,255,.62);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.floating-wa,
.floating-phone {
  position: fixed;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}

.floating-wa {
  bottom: 90px;
  background: #25D366;
  animation: pulse 2s infinite;
}

.floating-wa svg {
  width: 28px;
  height: 28px;
  display: block;
}

.floating-phone {
  bottom: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 1.4rem;
}

.floating-wa:hover,
.floating-phone:hover {
  transform: scale(1.08);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeWord .7s ease forwards;
  will-change: transform, opacity;
}

@keyframes fadeWord {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vh, 0) scale(1.08); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-grid,
  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 720px;
  }

  .gallery-slider {
    grid-template-columns: 48px 1fr 48px;
  }

  .gallery-main-frame,
  .gallery-main-frame img {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 52px;
  }

  .section-top,
  .footer-inner,
  .hero-stats,
  .services-grid,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    display: grid;
  }

  .gallery-card,
  .gallery-image {
    min-height: 280px;
  }

  .gallery-modal-dialog {
    width: min(100% - 14px, 100%);
    margin: 7px auto;
    max-height: calc(100vh - 14px);
    padding: 18px;
    border-radius: 20px;
  }

  .gallery-modal-top {
    padding-right: 34px;
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-slider {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .gallery-nav.prev {
    left: 24px;
  }

  .gallery-nav.next {
    right: 24px;
  }

  .gallery-main-frame,
  .gallery-main-frame img {
    min-height: 300px;
  }

  .btn,
  .btn-outline {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a {
    flex: 1 1 100%;
  }

  .floating-wa,
  .floating-phone {
    width: 58px;
    height: 58px;
    right: 16px;
  }

  .floating-wa {
    bottom: 86px;
  }

  .floating-phone {
    bottom: 16px;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}