/* ═══════════════════════════════════════════
   COMANDOS SEGURIDAD PRIVADA — PREMIUM CSS
   Palette: Black #0d0d0d | Red #c0392b | Gold #d4a017
   ═══════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #242424;
  --red: #c0392b;
  --red-light: #e74c3c;
  --red-dark: #922b21;
  --gold: #d4a017;
  --gold-light: #f0c040;
  --gold-dark: #a07810;
  --white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #888888;
  --border: rgba(255,255,255,0.07);
  --ff-header: 'Rajdhani', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.6);
  --shadow-red: 0 4px 24px rgba(192,57,43,0.3);
  --shadow-gold: 0 4px 24px rgba(212,160,23,0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--ff-body);
  background: var(--black);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ─── CONTAINER ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── SECTION BASE ─── */
.section { padding: 6rem 0; }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  font-family: var(--ff-header);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--ff-header);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-title .highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-family: var(--ff-header);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192,57,43,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  font-family: var(--ff-header);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  font-family: var(--ff-header);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--ff-header);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

.whatsapp-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(192,57,43,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--red);
}

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }

.nav-brand {
  font-family: var(--ff-header);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-sub {
  font-size: 0.68rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--ff-header);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: calc(100% - 1.8rem);
}

.nav-cta-btn {
  font-family: var(--ff-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius);
  margin-left: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-red);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.5);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--black) 0%, #1a0808 50%, #0d0d0d 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(192,57,43,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(212,160,23,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('hero_bg.png') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 8rem 1.5rem 4rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ecc71;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 8px #2ecc71; }
  50% { box-shadow: 0 0 16px #2ecc71, 0 0 24px rgba(46,204,113,0.4); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
}

.hero-title-main {
  font-family: var(--ff-header);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 6px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-title-sub {
  font-family: var(--ff-header);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--red-light);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  max-width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.stat-number {
  font-family: var(--ff-header);
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-unit {
  font-family: var(--ff-header);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red-light);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
  animation: bounceIndicator 2s infinite;
}

@keyframes bounceIndicator {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* ═══════════════════ SERVICES ═══════════════════ */
.services-section { background: var(--black-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(192,57,43,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(192,57,43,0.1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  border-color: rgba(212,160,23,0.3);
  background: linear-gradient(145deg, var(--black-3), #1e1505);
}

.service-card.featured::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(1);
}

.service-card.featured:hover {
  border-color: rgba(212,160,23,0.5);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.featured-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-family: var(--ff-header);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(192,57,43,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.service-card.featured .service-icon-wrap {
  background: rgba(212,160,23,0.12);
}

.service-card:hover .service-icon-wrap {
  background: rgba(192,57,43,0.2);
}

.service-icon { font-size: 1.8rem; }

.service-title {
  font-family: var(--ff-header);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-list {
  margin-bottom: 1.5rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-light);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-list li:last-child { border: none; }

.service-list li::before {
  content: '▸';
  color: var(--red);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.service-card.featured .service-list li::before { color: var(--gold); }

.service-link {
  color: var(--red-light);
  font-family: var(--ff-header);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color var(--transition), gap var(--transition);
  display: inline-flex;
  align-items: center;
}

.service-card.featured .service-link { color: var(--gold-light); }
.service-link:hover { color: var(--white); }

/* ═══════════════════ ABOUT ═══════════════════ */
.about-section { background: var(--black); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-logo-showcase {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 20px;
  border: 3px solid var(--red);
  box-shadow: var(--shadow-red);
  position: relative;
  z-index: 2;
}

.about-logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 {
  width: 200px; height: 200px;
  border-color: rgba(192,57,43,0.5);
  animation-delay: 0s;
}

.ring-2 {
  width: 230px; height: 230px;
  border-color: rgba(212,160,23,0.3);
  animation-delay: 1s;
}

.ring-3 {
  width: 260px; height: 260px;
  border-color: rgba(192,57,43,0.15);
  animation-delay: 2s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.5; }
}

.about-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.about-badge:hover {
  border-color: rgba(192,57,43,0.4);
  background: rgba(192,57,43,0.06);
}

.badge-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text strong { color: var(--white); }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  transition: var(--transition);
}

.pillar:hover {
  border-left-color: var(--gold);
  background: rgba(212,160,23,0.04);
}

.pillar-icon { font-size: 1.5rem; flex-shrink: 0; }

.pillar div { display: flex; flex-direction: column; }

.pillar strong {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.pillar span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ═══════════════════ TRAINING ═══════════════════ */
.training-section {
  background: var(--black-2);
  position: relative;
}

.training-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 95% 50%, rgba(192,57,43,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 50% at 5% 50%, rgba(212,160,23,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.training-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}

.training-card:hover {
  border-color: rgba(192,57,43,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.training-card.training-cta-card {
  background: linear-gradient(145deg, var(--black-4), #1a0808);
  border-color: rgba(192,57,43,0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.training-number {
  font-family: var(--ff-header);
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--red), rgba(192,57,43,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.training-card h3 {
  font-family: var(--ff-header);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.training-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.training-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.training-details span {
  font-size: 0.8rem;
  color: var(--gold-light);
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ═══════════════════ CTA BANNER ═══════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark) 0%, #7b1e1e 50%, var(--black-3) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  width: 100%;
}

.cta-text h2 {
  font-family: var(--ff-header);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ═══════════════════ CONTACT ═══════════════════ */
.contact-section { background: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--black-3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.form-note a {
  color: #25d366;
  font-weight: 600;
}

.contact-info-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  font-family: var(--ff-header);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.4rem;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-item strong {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.contact-item a, .contact-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.contact-item a:hover { color: var(--gold-light); }

/* ═══════════════════ FOOTER ═══════════════════ */
.footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--red);
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links-col h4 {
  font-family: var(--ff-header);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

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

.footer-links-col ul li a,
.footer-links-col ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  transition: color var(--transition);
}

.footer-links-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 600;
}

/* ═══════════════════ FLOATING WHATSAPP ═══════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
  isolation: isolate;
}

/* Pulse via ::before — stays within fixed stacking context, can't overflow viewport */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.5);
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}

/* Hide the old JS-generated pulse div so we don't double-animate */
.whatsapp-pulse { display: none; }

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
  position: relative;
  z-index: 1;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */

/* Prevent anything from accidentally overflowing horizontally */
section, header, footer, nav, div {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { flex-direction: row; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

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

  /* Navbar */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    padding: 6rem 2rem 2rem;
    gap: 0.5rem;
    align-items: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.3rem; padding: 0.75rem 1rem; width: 100%; }
  .nav-cta-btn { margin-left: 0; margin-top: 1rem; width: 100%; text-align: center; padding: 1rem; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 6rem 1.25rem 3rem; width: 100%; }
  .hero-title-main { letter-spacing: 3px; }
  .hero-title-sub { letter-spacing: 2px; }
  .hero-description { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    justify-content: space-around;
  }
  .stat-item { padding: 0 0.5rem; flex: 1 1 80px; }
  .stat-divider { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { flex-direction: column; align-items: center; }
  .about-logo-showcase { width: 220px; height: 220px; }
  .about-logo-img { width: 150px; height: 150px; }
  .ring-1 { width: 170px; height: 170px; }
  .ring-2 { width: 195px; height: 195px; }
  .ring-3 { width: 220px; height: 220px; }
  .about-badges { max-width: 100%; }

  /* Training */
  .training-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-banner { padding: 3.5rem 0; }
  .cta-content { flex-direction: column; text-align: center; }
  .cta-text h2 { font-size: 1.4rem; }
  .cta-actions { flex-direction: column; align-items: center; width: 100%; }
  .cta-actions .btn-whatsapp,
  .cta-actions .btn-outline-light { width: 100%; justify-content: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* WhatsApp float */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section-title { font-size: 1.7rem; }
  .hero-stats { flex-direction: row; justify-content: space-around; }
  .stat-number { font-size: 1.8rem; }
  .service-card, .training-card { padding: 1.5rem; }
  .contact-info-card { padding: 1.5rem; }
  .footer { padding: 3rem 0 1.5rem; }
  .btn-primary, .btn-secondary, .btn-whatsapp, .btn-outline-light {
    font-size: 0.88rem;
    padding: 0.75rem 1.5rem;
  }
}
