/* ============================================
   BETBER CONSULTING — MAIN STYLESHEET
   Paleta: Negro / Dorado / Blanco
   Fuentes: Playfair Display + Montserrat
   ============================================ */

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #A07830;
  --gold-subtle: rgba(201, 168, 76, 0.12);
  --gold-glow:   rgba(201, 168, 76, 0.25);
  --black:       #080808;
  --dark:        #0F0F0F;
  --dark2:       #161616;
  --dark3:       #1E1E1E;
  --white:       #FFFFFF;
  --gray:        #888888;
  --gray-light:  #CCCCCC;
  --border:      rgba(201, 168, 76, 0.18);
  --border-hover: rgba(201, 168, 76, 0.45);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'Montserrat', sans-serif;
  --transition:   0.28s ease;
  --radius:       3px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-sans); }
ul { list-style: none; }
.gold { color: var(--gold); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
section { padding: 90px 5%; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0.85;
}
.section-badge::before,
.section-badge::after {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.section-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  background-size: 200% auto;
  color: var(--black);
  border: none;
  padding: 15px 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-gold:hover {
  background-position: right center;
  box-shadow: 0 6px 28px rgba(201,168,76,0.45);
  transform: translateY(-2px);
}
.btn-gold:hover::before { left: 150%; }
.btn-gold:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 15px 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
}
.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}
.btn-outline:hover { color: var(--black); box-shadow: 0 6px 24px rgba(201,168,76,0.3); transform: translateY(-2px); }
.btn-outline:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-outline:active { transform: translateY(0); }

/* ===== NAVIGATION ===== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-container {
  display: flex;
  align-items: center;
  padding: 0 5%;
  height: 70px;
  max-width: 1280px;
  margin: 0 auto;
}
/* Left: isolated lang switcher */
.nav-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* Center: nav links */
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
  flex-shrink: 0;
}
.nav-links a {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-links a.nav-active { color: var(--gold); }
.nav-links a.nav-active::after { left: 0; right: 0; }
/* btn-gold and btn-outline work as <a> tags too */
a.btn-gold, a.btn-outline { display: inline-flex; align-items: center; justify-content: center; }
/* Right: cta + logo */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 46px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }
.hero-logo-img {
  height: 130px;
  width: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.3));
}
.footer-logo-img {
  height: 44px;
  width: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.85;
}
.nav-cta {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: color 0.3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}
.nav-cta:hover { color: var(--black); }
.nav-cta:hover::before { transform: scaleX(1); transform-origin: left; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.lang-switcher:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: 12px;
}
.hamburger span { width: 24px; height: 2px; background: var(--gold); display: block; transition: all var(--transition); }

/* Mobile nav open */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px; left: 0; right: 0;
  background: rgba(8, 8, 8, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 28px 5%;
  gap: 22px;
  z-index: 99;
  backdrop-filter: blur(10px);
}
/* Add lang switcher to mobile menu */
.nav-links.open::before {
  content: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 96vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 5% 70px;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(201,168,76,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(201,168,76,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 30% 20% at 20% 70%, rgba(201,168,76,0.03) 0%, transparent 60%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 50px,
      rgba(201,168,76,0.012) 50px,
      rgba(201,168,76,0.012) 51px
    );
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 740px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 8px 22px;
  margin-bottom: 38px;
  background: rgba(201,168,76,0.04);
  animation: fadeInDown 0.7s ease both;
  border-radius: 2px;
}
.hero-badge::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-badge::after {
  content: '';
  width: 18px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 9vw, 84px);
  font-weight: 900;
  line-height: 1.03;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 2px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.hero-title .gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 11px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.2s both;
  opacity: 0.9;
}
.hero-desc {
  font-size: 15px;
  color: var(--gray-light);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.95;
  animation: fadeInUp 0.8s ease 0.3s both;
  opacity: 0.85;
}
.hero-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.5s both;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat { text-align: center; padding: 0 36px; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(201,168,76,0.3);
}
.stat-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray);
}
.stat-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }

/* ===== SERVICES ===== */
.services { background: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--dark2);
  padding: 44px 36px;
  border-top: 2px solid transparent;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover {
  border-top-color: var(--gold);
  background: var(--dark3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(201,168,76,0.08);
}
.service-card:hover::after { opacity: 1; }
.service-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 900;
  color: rgba(201,168,76,0.08);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.35s ease;
}
.service-card:hover .service-num { color: rgba(201,168,76,0.14); }
.service-icon { margin-bottom: 18px; transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: scale(1.1) translateY(-2px); }
.service-card h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 22px;
}
.service-items { margin-bottom: 28px; }
.service-items li {
  font-size: 12px;
  color: var(--gray-light);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.service-items li::before {
  content: '';
  width: 5px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width 0.2s ease;
}
.service-card:hover .service-items li::before { width: 8px; }
.service-cta {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease, opacity 0.2s ease;
}
.service-cta:hover { gap: 14px; opacity: 0.85; }

/* ===== WHY CHOOSE US — carousel ===== */
.why-us { background: var(--dark); padding: 60px 5%; }
.why-header { margin-bottom: 36px; }
.why-carousel { position: relative; overflow: hidden; }
.why-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.why-card {
  flex: 0 0 calc(50% - 10px);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-top-color 0.3s ease, background 0.3s ease;
}
.why-card:hover {
  border-top-color: var(--gold);
  background: var(--dark3);
}
.why-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.why-body h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.why-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}
.why-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.why-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
.why-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
@media (max-width: 640px) {
  .why-card { flex: 0 0 100%; }
  .why-us   { padding: 50px 5%; }
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--black); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--dark2);
  padding: 36px;
  border-left: 2px solid var(--gold);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; right: 24px;
  font-family: var(--font-display);
  font-size: 90px;
  color: rgba(201,168,76,0.07);
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.12);
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-card p {
  font-size: 13.5px;
  color: var(--gray-light);
  line-height: 1.95;
  font-style: italic;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--black);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.3);
}
.author-name { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.author-role { font-size: 11px; color: var(--gold); letter-spacing: 0.5px; }

/* ===== CONTACT ===== */
.contact { background: var(--dark); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info h3 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.contact-info > p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 38px; height: 38px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.contact-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.contact-value {
  font-size: 13px;
  color: var(--gray-light);
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  border: none;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 24px;
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  animation: waPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.wa-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.wa-btn:hover {
  background: #1EBF58;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  animation-play-state: paused;
}
.wa-btn:hover::before { left: 150%; }
.wa-btn:active { transform: translateY(0); }
.wa-btn.large { padding: 15px 30px; font-size: 14px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.3); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 5px rgba(37,211,102,0.08); }
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.popup-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-form input,
.contact-form select,
.contact-form textarea,
.popup-form input,
.popup-form select {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
  border-radius: var(--radius);
}
.contact-form textarea {
  resize: none;
  height: 100px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.popup-form input:focus,
.popup-form select:focus { border-color: var(--gold); }
.contact-form select option,
.popup-form select option { background: var(--dark3); }
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.popup-form input::placeholder { color: var(--gray); }
.submit-btn, .popup-submit {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  background-size: 200% auto;
  color: var(--black);
  border: none;
  padding: 15px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  width: 100%;
  border-radius: var(--radius);
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.submit-btn::before, .popup-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.submit-btn:hover, .popup-submit:hover {
  background-position: right center;
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  transform: translateY(-1px);
}
.submit-btn:hover::before, .popup-submit:hover::before { left: 150%; }
.submit-btn:active, .popup-submit:active { transform: translateY(0); }
.form-success {
  display: none;
  text-align: center;
  padding: 14px;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--gold);
  font-size: 13px;
  color: var(--gold);
  margin-top: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  border-top: 1px solid var(--gold-dark);
  padding: 40px 5%;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 12px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gray);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: var(--gray); letter-spacing: 0.5px; }

/* ===== FLOATING BUTTONS ===== */
.float-buttons {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.float-item { position: relative; }
.float-tooltip {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 66px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--dark3);
  color: var(--white);
  font-size: 11px;
  padding: 7px 14px;
  white-space: nowrap;
  border: 1px solid var(--border);
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: var(--radius);
}
.float-item:hover .float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.float-wa {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-wa:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.float-contact {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-contact:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(201,168,76,0.55);
}

/* ===== FLOAT ATTENTION ANIMATION (after 5 min) ===== */
.float-item.float-attention .float-wa,
.float-item.float-attention .float-contact {
  animation: floatBounce 0.7s ease infinite alternate;
}
.float-item.float-attention::before,
.float-item.float-attention::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
.float-item.float-attention .float-wa + .float-ring,
.float-item.float-ring-wa::before {
  border: 2px solid rgba(37,211,102,0.7);
  animation: floatRing 1.4s ease-out infinite;
}
.float-ring-wa {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.7);
  animation: floatRing 1.4s ease-out infinite;
  pointer-events: none;
}
.float-ring-wa.delay {
  animation-delay: 0.5s;
}
.float-ring-gold {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.7);
  animation: floatRingGold 1.4s ease-out infinite;
  pointer-events: none;
}
.float-ring-gold.delay {
  animation-delay: 0.5s;
}
@keyframes floatRing {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes floatRingGold {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes floatBounce {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.06); }
}

/* ===== POPUP / MODAL ===== */
.popup-overlay {
  display: none;
  position: fixed; inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup-overlay.active { display: flex; }
.popup-box {
  background: var(--dark2);
  border: 1px solid var(--gold-dark);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: popupIn 0.25s ease both;
}
.popup-header {
  padding: 26px 28px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.popup-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.popup-subtitle { font-size: 13px; color: var(--gray); }
.popup-close {
  background: none; border: none;
  color: var(--gray); font-size: 24px;
  line-height: 1; padding: 0 0 0 16px;
  transition: color var(--transition);
}
.popup-close:hover { color: var(--gold); }
.popup-tabs { display: flex; border-bottom: 1px solid var(--border); }
.popup-tab {
  flex: 1; padding: 14px;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; background: none; border: none;
  color: var(--gray); transition: all var(--transition);
  border-bottom: 2px solid transparent;
}
.popup-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.popup-body { padding: 26px 28px; }
.popup-success {
  display: none;
  text-align: center; padding: 32px 20px;
}
.success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gold);
  margin: 0 auto 16px;
}
.popup-success h3 {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.popup-success p { font-size: 13px; color: var(--gray); line-height: 1.7; }
.wa-option {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px; text-align: center; padding: 10px 0;
}
.wa-option > p { font-size: 13px; color: var(--gray); line-height: 1.8; max-width: 320px; }
.wa-phone { font-size: 16px; color: var(--gold); letter-spacing: 1px; }
.divider-or {
  display: flex; align-items: center; gap: 12px; width: 100%;
}
.divider-or span { font-size: 11px; color: var(--gray); letter-spacing: 1px; white-space: nowrap; }
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes sectionLineGrow {
  from { width: 0; }
  to   { width: 50px; }
}
.section-line { animation: sectionLineGrow 0.6s ease both; }
/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transform: scale(0);
  animation: rippleAnim 0.5s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ===== SERVICES DETAIL PAGE ===== */
.svc-page-header {
  background: var(--black);
  padding: 56px 5% 52px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.svc-page-header .section-badge { margin-bottom: 14px; }
.svc-page-header .section-title { margin-bottom: 14px; }
.svc-page-header p {
  font-size: 15px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.85;
}
.float-back {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--dark3);
  border: 1px solid var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.float-back:hover {
  transform: scale(1.12);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 28px rgba(201,168,76,0.45);
}

/* Service blocks — alternating layout */
.svc-section {
  padding: 100px 5%;
}
.svc-section:nth-child(even) { background: var(--dark); }
.svc-section:nth-child(odd)  { background: var(--black); }

.svc-inner {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1160px;
  margin: 0 auto;
}
.svc-inner.reverse { flex-direction: row-reverse; }

/* Image side */
.svc-img-wrap {
  flex: 1 1 46%;
  position: relative;
  min-width: 0;
}
.svc-img-wrap::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold-dark);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.svc-inner.reverse .svc-img-wrap::after {
  left: auto;
  right: 18px;
}
.svc-img-wrap:hover::after { opacity: 0.65; }
.svc-img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transition: filter 0.4s ease;
}
.svc-img-wrap:hover img { filter: brightness(1) contrast(1.05); }

/* Content side */
.svc-content {
  flex: 1 1 54%;
  min-width: 0;
}
.svc-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 5px 14px;
  margin-bottom: 20px;
  border-radius: var(--radius);
}
.svc-content h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.svc-sub {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0.8;
}
.svc-content .svc-desc {
  font-size: 14.5px;
  color: var(--gray-light);
  line-height: 1.95;
  margin-bottom: 14px;
  opacity: 0.88;
}
.svc-content .service-items {
  margin-bottom: 36px;
}
.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  background-size: 200% auto;
  color: var(--black);
  border: none;
  padding: 14px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
.svc-cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.svc-cta-btn:hover {
  background-position: right center;
  box-shadow: 0 6px 28px rgba(201,168,76,0.45);
  transform: translateY(-2px);
}
.svc-cta-btn:hover::before { left: 150%; }
.svc-cta-btn:active { transform: translateY(0); }

/* Responsive — services page */
@media (max-width: 900px) {
  .svc-inner, .svc-inner.reverse {
    flex-direction: column;
    gap: 44px;
  }
  .svc-img-wrap { width: 100%; flex: none; }
  .svc-img-wrap::after { display: none; }
  .svc-img-wrap img { height: 300px; }
  .svc-content { flex: none; width: 100%; }
  .svc-page-header { padding: 40px 5% 38px; }
  .svc-section { padding: 64px 5%; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-logo-img { height: 38px; }
  .nav-right { gap: 10px; }
  section { padding: 70px 4%; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 18px; }
  .hero-logo-img { height: 100px; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns button { width: 250px; }
  .stat-divider { display: none; }
  .hero-stats { gap: 16px; }
  .popup-header, .popup-body { padding: 18px 20px; }
  .float-buttons { bottom: 16px; right: 16px; }
  .lang-switcher { padding: 5px 9px; font-size: 9px; }
}
