/* =============================================
   PREVENCIÓN 360 — Main Stylesheet
   ============================================= */

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

html {
  font-size: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- DESIGN TOKENS ---- */
:root {
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Archivo', sans-serif;
  --red:        #C0392B;
  --red-light:  #E74C3C;
  --bg:         #0f0f0f;
  --bg-alt:     #1a1a1a;
  --surface:    rgba(255, 255, 255, 0.04);
  --border:     rgba(255, 255, 255, 0.08);
  --text:       #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --green-wa:   #25D366;
  --radius:     16px;
  --nav-h:      72px;
  --footer-bg:  #0a0a0a;
}

/* ---- LAYOUT UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-red { color: var(--red-light); }

.section       { padding: 100px 0; }
.section-alt   { background-color: var(--bg-alt); }
.contact-section { background-color: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header .section-desc {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  text-align: center;
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
  background: var(--red);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s;
  text-decoration: none;
  text-align: center;
}
.btn-ghost:hover { border-color: var(--text); }
.btn-ghost:active { background: rgba(255,255,255,0.06); }

.btn-full { width: 100%; }

.btn-wa { background: #128C7E !important; }
.btn-wa:hover { background: #075E54 !important; }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}
.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.32s ease, visibility 0s linear 0s;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo strong { color: var(--red-light); }
.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(22%) sepia(88%) saturate(1300%)
          hue-rotate(342deg) brightness(95%) contrast(110%);
}

/* Desktop nav list */
.nav-links {
  list-style: none;
}
.nav-links--desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Mobile drawer — fuera del nav, animado con transform */
.nav-links--mobile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: #161616;
  padding: 88px 20px 40px;
  gap: 4px;
  z-index: 1001;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  overflow-y: auto;

  /* Estado cerrado */
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    opacity   0.3s ease,
    visibility 0s linear 0.4s;
}

.nav-links--mobile.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition:
    transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
    opacity   0.3s ease,
    visibility 0s linear 0s;
}

/* Botón cerrar dentro del drawer */
.nav-close-item {
  position: absolute;
  top: 18px;
  right: 18px;
  width: auto !important;
}
.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nav-close:hover {
  background: rgba(192, 57, 43, 0.18);
  border-color: rgba(192, 57, 43, 0.35);
  color: #fff;
  transform: rotate(90deg);
}

/* Stagger de items al abrir (nth-child empieza en 2 por el botón cierre) */
.nav-links--mobile li:not(.nav-close-item) {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  width: 100%;
}
.nav-links--mobile.open li:not(.nav-close-item)            { opacity: 1; transform: translateX(0); }
.nav-links--mobile.open li:nth-child(2)  { transition-delay: 0.10s; }
.nav-links--mobile.open li:nth-child(3)  { transition-delay: 0.15s; }
.nav-links--mobile.open li:nth-child(4)  { transition-delay: 0.20s; }
.nav-links--mobile.open li:nth-child(5)  { transition-delay: 0.25s; }
.nav-links--mobile.open li:nth-child(6)  { transition-delay: 0.30s; }
.nav-links--mobile.open li:nth-child(7)  { transition-delay: 0.35s; }
.nav-links li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--red-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  padding: 4px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
              opacity   0.2s ease,
              width     0.2s ease;
  transform-origin: center;
}

/* Animación hamburguesa → X */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(192, 57, 43, 0.18) 0%,
    transparent 68%);
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('/images/closeup-red-fire-extinguishers.jpg');
  background-image: image-set(
    url('/images/closeup-red-fire-extinguishers.webp') type('image/webp'),
    url('/images/closeup-red-fire-extinguishers.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.35);
  color: #E74C3C;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
}

/* ═══════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.14);
  color: var(--red-light);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.service-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.service-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

.service-link {
  color: var(--red-light);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
  margin-top: auto;
}
.service-link:hover { color: #fff; }

/* ═══════════════════════════════════════
   PRODUCTOS
═══════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.product-img-wrap {
  height: 200px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-body p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
}

.btn-download {
  display: block;
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red-light);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 8px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.btn-download:hover {
  background: var(--red);
  color: #fff;
}

/* ═══════════════════════════════════════
   CAPACITACIÓN
═══════════════════════════════════════ */
.capacitacion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.capacitacion-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.capacitacion-left > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.curso-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.curso-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.curso-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  background: rgba(192, 57, 43, 0.12);
  border: 1px solid rgba(192, 57, 43, 0.25);
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.curso-list li strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.curso-list li p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.capacitacion-cta-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 40px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.badge-pill {
  display: inline-block;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  color: var(--red-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.capacitacion-cta-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.capacitacion-cta-card > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.cap-benefits {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cap-benefits li {
  font-size: 14px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   NOSOTROS
═══════════════════════════════════════ */
.nosotros-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.nosotros-left h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.nosotros-left p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.valores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.valor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.2s;
}
.valor-card:hover { border-color: rgba(192, 57, 43, 0.4); }

.valor-icon {
  display: block;
  margin-bottom: 10px;
  color: var(--red-light);
}
.valor-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.valor-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.norms-card {
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.norms-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
}

.norms-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.norms-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.norms-list li:first-child { padding-top: 0; }
.norms-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.norm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  min-width: 76px;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════
   CLIENTES
═══════════════════════════════════════ */
.clients-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 72px;
}

.client-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s, color 0.2s;
}
.client-chip:hover {
  border-color: var(--red);
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.stars {
  color: #F4C44D;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

/* ═══════════════════════════════════════
   CONTACTO
═══════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--red);
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.contact-list a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.contact-list a:hover { color: var(--red-light); }
.contact-list span { color: var(--text-muted); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 28px; }
.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.07);
}
.form-group select { cursor: pointer; }
.form-group select option { background: #1a1a1a; color: #fff; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.footer-logo strong { color: var(--red-light); }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

/* ═══════════════════════════════════════
   WHATSAPP FLOATING BUTTON
═══════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55);
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 20, 0.96);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ═══════════════════════════════════════
   RESPONSIVE — 900px
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .capacitacion-layout,
  .nosotros-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .norms-card,
  .capacitacion-cta-card {
    position: static;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 768px (mobile nav)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  /* Ocultar el nav desktop en mobile */
  .nav-links--desktop { display: none; }

  /* Estilos de los links dentro del drawer mobile */
  .nav-links--mobile li a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 8px;
    width: 100%;
    display: block;
  }
  .nav-links--mobile .nav-cta {
    margin-left: 0 !important;
    margin-top: 8px;
    display: block !important;
    text-align: center;
  }

  .section { padding: 72px 0; }
  .hero-inner { padding: 56px 24px; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .valores-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    max-width: 320px;
  }

  .section-header h2 { font-size: 28px; }
  .nosotros-left h2,
  .capacitacion-left h2,
  .contact-info h2 { font-size: 28px; }
}

/* ═══════════════════════════════════════
   FOCUS & ACCESSIBILITY
═══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

/* ═══════════════════════════════════════
   FORM CONSENT
═══════════════════════════════════════ */
.form-consent .consent-label { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; line-height: 1.45; color: var(--text-muted); cursor: pointer; }
.form-consent input[type="checkbox"] { margin-top: 3px; accent-color: var(--red-light); width: 16px; height: 16px; flex-shrink: 0; }
.form-consent a { color: var(--red-light); text-decoration: underline; }

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
