﻿:root {
  --site-bg: #0b0d12;
  --site-surface: rgba(16, 19, 27, 0.9);
  --site-surface-strong: #121722;
  --site-panel: rgba(255, 255, 255, 0.035);
  --site-border: rgba(255, 255, 255, 0.08);
  --site-border-strong: rgba(214, 179, 106, 0.26);
  --site-accent: #d6b36a;
  --site-accent-strong: #f0ca82;
  --site-text: #f7f3ea;
  --site-muted: rgba(247, 243, 234, 0.72);
  --site-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --site-shadow-strong: 0 30px 90px rgba(0, 0, 0, 0.42);
  --site-radius-sm: 18px;
  --site-radius-md: 26px;
  --site-radius-lg: 34px;
  --site-max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--site-bg);
  color: var(--site-text);
  line-height: 1.45;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100000;
  background: rgba(7, 9, 14, 0.42);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: background 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, backdrop-filter 0.26s ease;
}

.site-header.is-scrolled {
  background: rgba(9, 11, 17, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.header-inner {
  width: min(var(--site-max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo a,
.mobile-menu-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-main {
  color: var(--site-accent);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.logo-sub {
  margin-left: 7px;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.88);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.main-nav a,
.mobile-menu-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.22s ease, opacity 0.22s ease;
}

.main-nav a::after,
.mobile-menu-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 179, 106, 0.85), transparent);
  transform: scaleX(0.25);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active,
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: var(--site-text);
}

.main-nav a:hover::after,
.main-nav a.active::after,
.mobile-menu-nav a:hover::after,
.mobile-menu-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
}

.lang-switch button {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  font-size: inherit;
  letter-spacing: inherit;
  transition: color 0.2s ease;
}

.lang-switch button.active,
.lang-switch button:hover {
  color: var(--site-accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(214, 179, 106, 0.36);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.96), rgba(240, 202, 130, 0.96));
  color: #17120b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(214, 179, 106, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(214, 179, 106, 0.26);
  filter: saturate(1.04);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--site-accent);
  transition: transform 0.28s ease, opacity 0.22s ease;
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

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

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

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

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100010;
  background: rgba(5, 6, 10, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease;
  backdrop-filter: blur(4px);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100020;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-panel {
  width: min(420px, 100%);
  height: 100%;
  padding: 22px;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 20px;
  background: linear-gradient(180deg, rgba(15, 18, 25, 0.98), rgba(10, 12, 17, 0.98));
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.4);
  transform: translateX(104%);
  transition: transform 0.28s ease;
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--site-accent);
  font-size: 1.8rem;
  cursor: pointer;
}

.mobile-lang-switch {
  width: fit-content;
}

.mobile-menu-nav {
  display: grid;
  gap: 16px;
  align-content: start;
}

.mobile-menu-nav a {
  font-size: 0.96rem;
  letter-spacing: 0.16em;
}

.mobile-menu-cta {
  width: 100%;
}

.mobile-menu-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mobile-menu-meta span {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--site-muted);
  font-size: 0.74rem;
}

.footer {
  padding: 34px 20px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 11, 16, 0.88), rgba(6, 8, 12, 1));
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.footer-links a {
  color: #f5dc9c;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  background: rgba(245, 220, 156, 0.12);
  border: 1px solid rgba(245, 220, 156, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0.65;
  backdrop-filter: blur(8px);
  transition: transform 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease;
}

.whatsapp-float svg {
  width: 20px;
  height: 20px;
  fill: #f5dc9c;
}

.whatsapp-float:hover {
  opacity: 0.98;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 220, 156, 0.16);
}

body.has-site-chat .whatsapp-float {
  bottom: 92px;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  transition: color 0.22s ease, transform 0.22s ease;
}

.social-link .icon {
  width: 18px;
  height: 18px;
  fill: #f5dc9c;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.social-link:hover {
  color: #f5dc9c;
  transform: translateX(2px);
}

.social-link:hover .icon {
  transform: translateX(3px);
  filter: drop-shadow(0 0 6px rgba(245, 220, 156, 0.6));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease var(--reveal-delay, 0s), transform 0.7s ease var(--reveal-delay, 0s);
}

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

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.74rem;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    width: min(var(--site-max-width), calc(100% - 20px));
    padding: 14px 0;
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .header-actions .nav-cta,
  .header-actions .lang-switch {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-backdrop {
    display: block;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 768px) {
  body.has-site-chat .whatsapp-float {
    bottom: 82px;
  }

  .footer {
    padding-inline: 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
