:root {
  --bg: #0e1013;
  --bg-soft: #15181d;
  --card: rgba(25, 29, 34, 0.84);
  --text: #f7f5ef;
  --muted: #b9bec7;
  --gold: #c7aa4a;
  --gold-dark: #92752f;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max-width: 1120px;
  --radius: 8px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f7f6f1;
  --bg-soft: #eeece4;
  --card: rgba(255, 255, 255, 0.88);
  --text: #17191d;
  --muted: #5f6671;
  --gold: #a88b32;
  --gold-dark: #735f25;
  --border: rgba(17, 19, 21, 0.12);
  --shadow: 0 24px 70px rgba(46, 40, 24, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(130deg, rgba(199, 170, 74, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(255, 255, 255, 0.05), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  transition: background-color 0.28s ease, color 0.28s ease;
}

a {
  color: var(--gold);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.bg-video,
.bg-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg-video {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}

.bg-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(14, 16, 19, 0.74), var(--bg)),
    linear-gradient(115deg, rgba(199, 170, 74, 0.13), transparent 42%);
}

html[data-theme="light"] .bg-overlay {
  background:
    linear-gradient(180deg, rgba(247, 246, 241, 0.84), var(--bg)),
    linear-gradient(115deg, rgba(199, 170, 74, 0.13), transparent 42%);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 16, 19, 0.64);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.logo img {
  width: 60px !important;
  height: auto;
}

.brand {
  display: grid;
  color: var(--text);
  line-height: 1.1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 760;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(199, 170, 74, 0.16);
  transform: translateY(-1px);
}

.btn-primary,
.btn-secondary,
.theme-toggle,
.menu-toggle,
#backToTop {
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  font-weight: 800;
}

.btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--gold), #efd677);
  color: #111315;
  box-shadow: 0 14px 32px rgba(199, 170, 74, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(199, 170, 74, 0.48);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.theme-toggle,
.menu-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle svg circle,
.theme-toggle svg path:first-child {
  fill: currentColor;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  font-size: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section-shell {
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.9fr);
  gap: 58px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(199, 170, 74, 0.34);
  border-radius: 999px;
  background: rgba(199, 170, 74, 0.16);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 4rem;
  font-weight: 860;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.6rem;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.hero-actions,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills {
  margin-top: 24px;
  list-style: none;
}

.hero-pills li {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-photo {
  position: relative;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.photo-frame.has-fallback::before {
  content: "DN";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 4rem;
  font-weight: 900;
}

.photo-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: 300px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(14, 16, 19, 0.76);
  backdrop-filter: blur(16px);
}

.photo-caption span {
  color: #ffffff;
  font-weight: 850;
}

.photo-caption p {
  color: rgba(255, 255, 255, 0.76);
}

.section-dark,
.section-accent {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

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

.service-card,
.info-panel,
.cta-box {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.service-card {
  max-height: 560px;
  overflow: auto;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-left: 18px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #080a0d;
  padding: 46px 0 20px;
}

html[data-theme="light"] .site-footer {
  background: #e7e3d6;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
}

#backToTop {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 100;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2bd56f, #128c7e);
  color: #ffffff;
  font-weight: 850;
  box-shadow: 0 16px 36px rgba(18, 140, 126, 0.3);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  .hero-grid,
  .split-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand small,
  .btn-nav {
    display: none;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    order: 6;
    width: 100%;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
    transition: max-height 0.32s ease, opacity 0.22s ease, margin 0.22s ease;
  }

  .site-nav.show {
    max-height: 360px;
    margin-top: 10px;
    opacity: 1;
  }

  .site-nav a {
    justify-content: center;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .section-shell {
    padding: 64px 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-actions,
  .cta-box {
    display: grid;
    grid-template-columns: 1fr;
  }

  .photo-frame,
  .photo-frame img {
    min-height: 320px;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
