/* ========================================
   REINICIO DE ESTILOS
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Arial', sans-serif;
  color: #000;
  background-color: #fff;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========================================
   CABECERA
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.header.scrolled {
  background-color: white;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 40px;
  transition: transform 0.3s ease;
}

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

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #FCC62F;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FCC62F;
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 0.25rem 0;
  transition: 0.3s ease;
}

/* ========================================
   SECCIÓN HERO CON VIDEO DE FONDO
   ======================================== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Contenedor del video */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Video de fondo - optimizado para móvil */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.8;
  z-index: -1;
}

/* Contenido de texto encima del video */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: #FCC62F;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 2px solid #FCC62F;
  text-shadow: none;
}

.cta-button:hover {
  background-color: transparent;
  color: #FCC62F;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(252, 198, 47, 0.3);
}

/* ========================================
   SECCIÓN DE CIBERSEGURIDAD LOCAL
   ======================================== */
.local-security {
  padding: 6rem 0;
  background-color: #fff;
  text-align: center;
}

.local-content {
  max-width: 800px;
  margin: 0 auto;
}

.local-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.local-security h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #000;
}

.local-description {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* ========================================
   SECCIÓN DE SERVICIOS - DISEÑO MODERNO Y EQUILIBRADO
   ======================================== */
.services-modern {
  padding: 6rem 0;
  background-color: #fff;
  margin-top: 2rem;
}

.services-modern .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.services-modern h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.services-intro {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  width: 100%;
  max-width: 800px;
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(252, 198, 47, 0.1);
  padding: 0.75rem;
}

.service-content {
  flex: 1;
  text-align: left;
}

.service-content h3 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.service-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 0.95rem;
}

.service-content ul li::before {
  content: "•";
  color: #FCC62F;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.cta-center {
  text-align: center;
  margin-top: 4rem;
}

/* ========================================
   PIE DE PÁGINA
   ======================================== */
.footer {
  background-color: #0f0f0f;
  color: #fff;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-logo img {
  height: 30px;
}

.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.footer-contact p,
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FCC62F;
}

.footer-copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a2a;
  font-size: 0.9rem;
  color: #aaa;
}