:root {
  /* COLORS - Dark Violet Theme */
  --bg0: #07060b;
  --bg1: #120a1e;
  --glass-bg: rgba(18, 10, 30, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --accent: #d7a84a;
  /* gold/amber */
  --accent2: #7a4cff;
  /* mystic violet */
  --wa: #25D366;
  --danger: #ff4d6d;

  /* SHADOWS & GLOWS */
  --shadow1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow2: 0 18px 60px rgba(0, 0, 0, 0.55);
  --glow-accent: 0 0 20px rgba(215, 168, 74, 0.3);

  /* RADIUS */
  --radius-s: 14px;
  --radius-m: 18px;
  --radius-l: 24px;
  --radius-pill: 999px;

  /* ANIMATION */
  --blur: 14px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition: all 0.3s var(--ease);

  /* LAYOUT */
  --header-height: 70px;
  --width-container: 1120px;

  /* TYPOGRAPHY */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Cinzel', serif;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg0);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(122, 76, 255, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(215, 168, 74, 0.05), transparent 25%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
  /* Space for mobile sticky bar */
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
  font-size: 1.5rem;
  color: var(--accent);
}

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

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

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

/* UTILITIES */
.container {
  width: 90%;
  max-width: var(--width-container);
  margin: 0 auto;
  padding: 0 20px;
}

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

.text-left {
  text-align: left;
}

.text-gold {
  color: var(--accent);
}

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

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

/* GLASS UTILITY */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow1);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  gap: 8px;
  /* For icons */
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

.btn-primary,
.btn-call {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  color: #fff;
}

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* NEW HERO BUTTONS (Code-based) */
.btn-hero {
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  transition: all 0.3s var(--ease);
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.btn-hero svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-hero-call {
  background: linear-gradient(135deg, rgba(215, 168, 74, 0.9) 0%, rgba(215, 168, 74, 0.7) 100%);
  border-color: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-hero-wa {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.9) 0%, rgba(37, 211, 102, 0.7) 100%);
  border-color: transparent;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all 0.4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}

header.is-scrolled {
  background: rgba(7, 6, 11, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  height: 65px;
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 45px;
  width: auto;
  transition: transform 0.3s;
}

.logo:hover img {
  transform: scale(1.05);
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.desktop-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: var(--accent);
}

/* Dropdown */
.has-dropdown {
  position: relative;
  padding: 10px 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-m);
  min-width: 240px;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow2);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  z-index: 1100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 0.6rem 1rem;
  border-radius: var(--radius-s);
  font-size: 0.85rem;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* HERO SLIDER */
.hero {
  position: relative;
  z-index: 50;
  /* Z-INDEX FIX: Ensure hero stays above subsequent sections with negative margins */
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
}

/* ... existing slide styles ... */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 6, 11, 0.3) 0%, rgba(7, 6, 11, 1) 100%);
  z-index: 10;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 20;
  padding-top: 60px;
  pointer-events: none;
}

.hero-content>* {
  pointer-events: auto;
}

/* New Hero CTA Container */
.hero-cta-container {
  position: absolute;
  right: 5vw;
  bottom: 20%;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

@media(max-width: 768px) {
  .brand-title {
    display: block;
    /* Ensure visibility on mobile */
  }

  .hero-cta-container {
    position: relative;
    right: auto;
    bottom: auto;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .hero {
    height: auto;
    padding: 120px 0 60px;
  }

  h1 {
    font-size: 2.5rem;
  }
}

.hero-cta-overlay {
  display: none;
}

/* MOBILE MENU */
.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--accent);
  cursor: pointer;
  z-index: 1100;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg1);
  z-index: 1200;
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

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

.mobile-menu a,
.mobile-services-toggle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
  text-align: left;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  display: block;
}

.mobile-services-list {
  display: none;
  padding-left: 1rem;
  flex-direction: column;
}

.mobile-services-list.active {
  display: flex;
}

.mobile-services-list a {
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.8;
}

@media(max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* BUTTON GLOWS */
.btn-primary:hover,
.btn-call:hover {
  box-shadow: 0 0 15px var(--accent);
}

.btn-whatsapp:hover {
  box-shadow: 0 0 15px var(--wa);
}

/* PREMIUM CARD ENHANCEMENTS */
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.service-card:hover {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(215, 168, 74, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}


/* Hide old container if present */


/* SECTIONS */
section {
  padding: 80px 0;
}

@media(max-width: 768px) {
  section {
    padding: 50px 0;
  }
}

/* INTENT SECTION */
.high-intent {
  background: var(--bg1);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.intent-grid {
  display: grid;
  gap: 2rem;
}

@media(min-width: 768px) {
  .intent-grid {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }

  .intent-btns {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
  }
}

/* SERVICES GRID (Glass Cards) */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow1);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(215, 168, 74, 0.4);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-bullets li {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-bullets li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
  font-weight: bold;
}

/* TESTIMONIALS & FAQ */
.testim-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: var(--radius-m);
  font-style: italic;
  position: relative;
}

.testim-card::before {
  content: "“";
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.3;
  font-family: serif;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.faq-question {
  padding: 1.2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  border-radius: var(--radius-s);
  transition: background 0.3s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  transition: all 0.3s var(--ease);
  color: var(--muted);
}

.faq-answer.show {
  max-height: 500px;
  padding-bottom: 1.2rem;
}

/* FOOTER REBUILD */
footer {
  background: #050408;
  padding: 5rem 0 3rem;
  border-top: 1px solid var(--glass-border);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media(max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: var(--muted);
  transition: color 0.3s;
}

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

.footer-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

@media(max-width: 576px) {
  .footer-services-grid {
    grid-template-columns: 1fr;
  }
}

/* STICKY MOBILE BAR */
.sticky-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(18, 10, 30, 0.85);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-l);
  display: flex;
  padding: 10px;
  gap: 10px;
  z-index: 900;
}

.sticky-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-pill);
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-sticky-call {
  background: var(--text);
  color: #000;
}

.btn-sticky-wa,
.btn-wa-sticky {
  background: var(--wa);
  color: #fff;
}

@media(min-width: 768px) {
  .sticky-bar {
    display: none;
  }
}

/* FLOATING WHATSAPP */
.floating-wa {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  /* TOP LEVEL */
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.floating-wa svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.floating-wa:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

@media(min-width: 768px) {
  .floating-wa {
    bottom: 40px;
    right: 40px;
  }
}

@media(min-width: 768px) {
  .floating-wa {
    bottom: 40px;
    right: 40px;
  }
}

/* MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg1);
  padding: 2.5rem;
  border-radius: var(--radius-l);
  width: 90%;
  max-width: 420px;
  text-align: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow2);
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

/* REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ANIMATED TEXT GRADIENT */
.text-gradient-animate {
  background: linear-gradient(to right,
      #7a4cff,
      #d7a84a,
      #ff00ff,
      #7a4cff);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-gradient-animate {
    animation: none;
    background: var(--accent);
    /* Fallback */
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--accent);
  }
}

/* ANIMATED HEARTS BACKGROUND */
.bg-hearts {
  position: relative;
  overflow: hidden;
}

.bg-hearts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='rgba(215, 168, 74, 0.05)'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  animation: floatHearts 20s linear infinite;
  z-index: 0;
}

@keyframes floatHearts {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 60px 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-hearts::before {
    animation: none;
  }
}