:root {
  --bg: #0b0b0b;
  --bg-alt: #151515;
  --gold: #d4af37;
  --gold-soft: #f1d27a;
  --text: #f5f2ea;
  --muted: #b9ac9b;
  --line: rgba(212, 175, 55, 0.25);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 40%),
    linear-gradient(180deg, #070707 0%, #0c0c0c 35%, #0f0f0f 100%);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}

body::before {
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.35), transparent 60%);
}

body::after {
  bottom: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
}

main {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Cinzel", "Times New Roman", serif;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-muted {
  color: var(--muted) !important;
}

.typewriter {
  position: relative;
  display: inline-block;
}

.typewriter::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  padding: 10px 16px;
  background: var(--gold);
  color: #111;
  border-radius: 8px;
  z-index: 1200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 18px 0;
  z-index: 1000;
}

.navbar.navbar-scrolled {
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.navbar-toggler {
  border-color: rgba(212, 175, 55, 0.5);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--gold);
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  margin-left: 12px;
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold), #f6e3a2);
  color: #141414;
  border: none;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 600;
  background: transparent;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-soft);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section {
  padding: 96px 0;
  scroll-margin-top: 90px;
}

.section-alt {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.2));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  margin-bottom: 12px;
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  padding: 160px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
  opacity: 0.7;
  z-index: 0;
}

.hero .hero-card {
  background: rgba(12, 12, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.glass-panel {
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.icon-badge i {
  font-size: 1.1rem;
}

.icon-gold {
  color: var(--gold);
}

.icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.service-card,
.portfolio-card,
.testimonial-card,
.team-card {
  background: rgba(16, 16, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover,
.portfolio-card:hover,
.testimonial-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
}

.service-card h4 {
  margin-top: 14px;
}

.service-card ul,
.legal ul {
  padding-left: 18px;
  color: var(--muted);
}

.portfolio-thumb {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 16px;
}

.portfolio-thumb img {
  width: 100%;
  display: block;
}

.team-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(120deg, rgba(212, 175, 55, 0.6), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.map-placeholder {
  height: 320px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(212, 175, 55, 0.12));
  border: 1px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-control,
.form-select {
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.15);
}

.footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 40px;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--gold);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(10, 10, 10, 0.9);
  color: var(--gold);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1100;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top i {
  font-size: 1.6rem;
  line-height: 1;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: all 0.6s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}

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

.page-hero {
  padding: 140px 0 90px;
  text-align: center;
}

.legal h2 {
  margin-top: 32px;
}

.not-found {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found-code {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--gold), #f6e3a2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.not-found-card {
  text-align: left;
}

.not-found-links {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.not-found-links a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.not-found-links a:hover {
  color: var(--gold);
}

@media (max-width: 991px) {
  .navbar {
    padding: 12px 0;
  }

  .hero {
    padding: 140px 0 120px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 120px 0 90px;
  }

  .hero .display-4 {
    font-size: 2.3rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .page-hero {
    padding: 120px 0 70px;
  }

  .page-hero .display-5 {
    font-size: 2.05rem;
  }

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

  .glass-panel,
  .service-card,
  .portfolio-card,
  .testimonial-card,
  .team-card {
    padding: 20px;
  }

  .team-card .avatar {
    width: 64px;
    height: 64px;
  }

  .navbar-nav .btn {
    width: 100%;
    text-align: center;
  }

  .footer {
    text-align: center;
  }

  .footer .d-flex {
    justify-content: center;
  }

  .not-found-card {
    text-align: center;
  }
}

@media (max-width: 575px) {
  .section-title {
    letter-spacing: 0.18em;
  }

  .hero .display-4 {
    font-size: 2.05rem;
  }

  .page-hero .display-5 {
    font-size: 1.9rem;
  }

  .map-placeholder {
    height: 240px;
  }
}

