/* ==========================================================================
   AOES — Agencia de Operaciones Especializada en Seguridad
   Hoja de Estilos Principal (Diseño Responsivo Mobile-First & Desktop)
   ========================================================================== */

:root {
  /* Paleta Institucional AOES */
  --bg-dark: #0d1117;
  --bg-dark-elevated: #161d27;
  --bg-charcoal: #22262c;
  --bg-light: #f3f5f8;
  --bg-white: #ffffff;

  /* Colores de Acento (Azul Institucional PDF + Lima/Ámbar Táctico de Alta Visibilidad) */
  --primary: #0f4c9c;
  --primary-hover: #155fc0;
  --primary-light: #3b82f6;
  --accent-safety: #b5dc1b;
  --accent-gold: #eab308;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Texto */
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  /* Bordes y Sombras */
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.28);

  /* Tipografía */
  --font-display: 'Chakra Petch', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1220px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
  line-height: 1.2;
}

.btn-sm {
  padding: 0.58rem 1.15rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0b3978 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 76, 156, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 76, 156, 0.45);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  font-weight: 800;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #ffffff;
}

.btn-whatsapp-outline {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-outline:hover {
  background: var(--whatsapp);
  color: #06210f;
  border-color: var(--whatsapp);
}

/* ==================== TOP BAR ==================== */
.topbar {
  background-color: #070a0e;
  color: var(--text-light-muted);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.45rem 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-repse-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-safety);
  font-weight: 600;
}

.topbar-divider,
.topbar-coverage {
  display: none;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #cbd5e1;
  font-weight: 500;
}

.topbar-link:hover {
  color: var(--accent-safety);
}

/* ==================== HEADER / NAVBAR ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(10, 14, 20, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Menu Drawer (por defecto en móvil, inspirado en presentacion.mp4) */
.main-nav {
  position: fixed;
  top: 0;
  right: -310px;
  width: 290px;
  height: 100dvh;
  background: #ffffff;
  color: var(--text-dark);
  padding: 5rem 1.5rem 2rem;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.main-nav.open {
  right: 0;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-link {
  display: block;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: #1e293b;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(15, 76, 156, 0.08);
  color: var(--primary);
}

.nav-cta-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* Botón Hamburguesa */
.menu-toggle {
  position: relative;
  z-index: 1002;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

.menu-toggle.active {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.menu-toggle.active .hamburger-bar {
  background-color: #0f172a;
}

.menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 25%, #1c2c44 0%, #0d1117 65%, #080b0f 100%);
  color: var(--text-light);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-bg-watermark {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 24vw, 22rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.035);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.eyebrow-icon {
  height: 18px;
  width: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.65rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  color: #cbd5e1;
  margin-bottom: 1.85rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-divider {
  display: none;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: var(--accent-safety);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #e2e8f0;
  font-weight: 600;
  margin-top: 0.2rem;
}

.stat-label small {
  color: var(--text-light-muted);
  font-weight: 400;
}

/* Hero Visual & Guard Image */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(15, 76, 156, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 0;
  overflow: visible;
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(181, 220, 27, 0.22) 0%, transparent 70%);
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-guard-img {
  position: relative;
  z-index: 2;
  max-height: 450px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
}

.hero-floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-lg);
}

.hero-floating-badge img {
  width: 28px;
  height: auto;
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.8rem;
  color: #ffffff;
}

.hero-floating-badge span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light-muted);
}

.badge-top-right {
  top: 1.25rem;
  right: -0.5rem;
}

.badge-bottom-left {
  bottom: 1.25rem;
  left: -0.5rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-safety);
  box-shadow: 0 0 0 4px rgba(181, 220, 27, 0.25);
  flex-shrink: 0;
}

.scroll-down-indicator {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  animation: bounceDown 2.2s infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ==================== COMMON SECTION STYLES ==================== */
.section-dark {
  background-color: var(--bg-charcoal);
  color: var(--text-light);
  padding: 4.5rem 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Marca de agua gigante AO / ES igual que el PDF */
.watermark-aoes {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  padding: 1rem 0;
  overflow: hidden;
}

.watermark-aoes span {
  font-family: var(--font-display);
  font-size: clamp(10rem, 32vw, 24rem);
  font-weight: 700;
  line-height: 0.78;
  color: rgba(15, 23, 42, 0.045);
  letter-spacing: 0.05em;
}

.section-light > .container {
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-safety);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-tag img {
  height: 20px;
  width: auto;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  background: rgba(15, 76, 156, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-title-light {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 660px;
  margin: 0 auto 2.75rem;
  color: var(--text-muted);
  font-size: 1.04rem;
}

.lead-paragraph {
  font-size: 1.08rem;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.body-paragraph {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

/* ==================== QUIÉNES SOMOS & MAPA ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.coverage-map-card {
  background: rgba(13, 17, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-top: 1.5rem;
}

.coverage-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.coverage-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-safety);
}

.coverage-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #ffffff;
}

.coverage-motto {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.map-wrapper {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}

.mexico-map-img {
  width: 100%;
  height: auto;
  filter: invert(92%) sepia(6%) saturate(160%) hue-rotate(180deg) brightness(95%) contrast(90%);
  opacity: 0.88;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translate(-50%, -50%);
}

.pin-tijuana {
  top: 8%;
  left: 6%;
}

.pin-cdmx {
  top: 67%;
  left: 56%;
}

.pin-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent-safety);
  border: 2px solid #0d1117;
  position: relative;
  z-index: 2;
}

.pin-pulse {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(181, 220, 27, 0.45);
  animation: pulseMap 1.8s infinite;
}

@keyframes pulseMap {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; }
}

.pin-label {
  background: rgba(13, 17, 23, 0.92);
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid rgba(181, 220, 27, 0.45);
  white-space: nowrap;
}

.about-guards-stage {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(13, 17, 23, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 0;
  text-align: center;
  overflow: hidden;
}

.about-guards-img {
  max-height: 460px;
  margin: 0 auto;
  object-fit: contain;
}

.about-caption-bar {
  background: rgba(15, 76, 156, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 -1.25rem;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* ==================== MISIÓN, VISIÓN, VALORES & DISTINCIÓN ==================== */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.mvv-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mvv-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(15, 76, 156, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.mvv-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.values-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.values-tags li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-dark);
  background: #f8fafc;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.values-tags svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ¿Qué nos distingue? */
.distinction-banner {
  background: linear-gradient(135deg, #0d1117 0%, #17253b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--accent-safety);
}

.distinction-badge {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  flex-shrink: 0;
}

.distinction-body h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--accent-safety);
  margin-bottom: 0.65rem;
}

.distinction-body p {
  color: #e2e8f0;
  font-size: 0.97rem;
  margin-bottom: 0.65rem;
}

.distinction-body p:last-child {
  margin-bottom: 0;
}

/* ==================== NUESTROS SERVICIOS ==================== */
.services-section {
  border-top: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

.service-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 76, 156, 0.3);
}

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

.service-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: #0d1117;
  color: var(--accent-safety);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-number {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.07);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sectores */
.sectors-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sectors-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.sectors-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.sectors-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sectors-pills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.sector-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.sector-pill svg {
  color: var(--primary);
  flex-shrink: 0;
}

.sector-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.sector-pill:hover svg {
  color: var(--accent-safety);
}

/* ==================== CARACTERÍSTICAS Y REPSE ==================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.feature-blocks {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(181, 220, 27, 0.14);
  color: var(--accent-safety);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-item ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

.feature-item li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-safety);
  font-weight: 700;
}

/* REPSE Card */
.repse-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.repse-logo-box {
  max-width: 190px;
  flex-shrink: 0;
}

.repse-info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.repse-info span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Columna Derecha Características: Guardia + Servicio Integral */
.features-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-guard-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(15, 76, 156, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem 0;
  display: flex;
  justify-content: center;
}

.profile-guard-img {
  max-height: 360px;
  width: auto;
  object-fit: contain;
}

.integral-service-box {
  background: #141b24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.65rem;
}

.integral-service-box h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-safety);
  margin-bottom: 1rem;
}

.integral-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.integral-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.integral-list svg {
  color: var(--accent-safety);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==================== NUESTROS CLIENTES ==================== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.client-logo-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  height: 125px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 76, 156, 0.35);
}

.client-logo-card img {
  max-height: 76px;
  max-width: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ==================== CONTACTO Y COTIZACIONES ==================== */
.contact-section {
  background: radial-gradient(circle at 15% 80%, #16263d 0%, #0d1117 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  transition: all 0.2s ease;
}

.contact-method-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-safety);
  transform: translateX(4px);
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

.method-value {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.contact-showcase-phone {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.contact-showcase-phone img {
  max-height: 360px;
  width: auto;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5));
}

/* Formulario Anti-Spam */
.form-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.35rem;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.form-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.form-card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Honeypot Trap (Invisible to real users) */
.hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.req {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea,
.antispam-input-wrap input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.antispam-input-wrap input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 156, 0.15);
}

/* Caja Anti-Spam */
.antispam-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.antispam-question {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

.antispam-question svg {
  color: var(--primary);
  flex-shrink: 0;
}

.btn-refresh-captcha {
  margin-left: auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: all 0.2s ease;
}

.btn-refresh-captcha:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.form-feedback {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.form-feedback.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: #070a0e;
  color: var(--text-light-muted);
  padding: 3.5rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-safety);
}

.footer-contact strong {
  color: #e2e8f0;
  margin-right: 0.25rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  text-align: center;
}

.footer-legal {
  color: var(--accent-safety);
  font-weight: 600;
}

.footer-credits a {
  color: #e2e8f0;
  font-weight: 700;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
}

.footer-credits a:hover {
  color: var(--accent-safety);
  border-bottom-color: var(--accent-safety);
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.whatsapp-tooltip {
  display: none;
  background: #0d1117;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.whatsapp-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.22s ease, background-color 0.22s ease;
  position: relative;
}

.whatsapp-icon-wrap::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0.6;
  animation: waPulse 2s infinite;
}

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

.whatsapp-float:hover .whatsapp-icon-wrap {
  background: var(--whatsapp-dark);
  transform: scale(1.07);
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* ==================== MEDIA QUERIES (TABLET & DESKTOP) ==================== */
@media (min-width: 640px) {
  .values-tags {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-pills {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .form-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .antispam-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .antispam-input-wrap {
    width: 150px;
    flex-shrink: 0;
  }

  .repse-card {
    flex-direction: row;
    text-align: left;
    padding: 1.35rem 1.65rem;
  }

  .distinction-banner {
    flex-direction: row;
    align-items: center;
    padding: 2.25rem;
  }

  .whatsapp-tooltip {
    display: inline-block;
  }
}

@media (min-width: 992px) {
  .topbar-divider,
  .topbar-coverage {
    display: inline;
  }

  .menu-toggle,
  .nav-cta-mobile,
  .nav-backdrop {
    display: none !important;
  }

  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--text-light);
    padding: 0;
    box-shadow: none;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-link {
    color: #e2e8f0;
    font-size: 0.92rem;
    padding: 0.55rem 0.9rem;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-safety);
  }

  .hero-section {
    padding: 5rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.25rem;
  }

  .mvv-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-tags {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }

  .sectors-pills {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .clients-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.35rem;
  }

  .contact-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3rem;
  }

  .form-card {
    padding: 2.25rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
