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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #59595B;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #59595B;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.highlight {
  color: #244CEC;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: #244CEC;
  color: #fff;
  border-color: #244CEC;
}

.btn-primary:hover {
  background: #1a3ab8;
  border-color: #1a3ab8;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #244CEC;
}

.btn-outline-dark {
  background: transparent;
  color: #244CEC;
  border-color: #244CEC;
}

.btn-outline-dark:hover {
  background: #244CEC;
  color: #fff;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.1rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8vh;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 240px;
}

.logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: #59595B;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #244CEC;
}

.nav a.active {
  color: #244CEC;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #59595B;
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(16, 28, 61, 0.9) 0%, rgba(36, 76, 236, 0.82) 100%), url('../images/img_demo/001.png');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about {
  background: #fff;
}

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

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #59595B;
}

.about-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-icon-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: 12px;
  background: #f8f9fc;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(36,76,236,0.1);
}

.icon-circle {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(36,76,236,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle svg {
  width: 26px;
  height: 26px;
}

.about-icon-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

.services {
  background: #f8f9fc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(36,76,236,0.08);
  border-color: #244CEC;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: #59595B;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  text-decoration: none;
  color: #244CEC;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.service-link:hover {
  color: #1a3ab8;
}

.specialization {
  background: #fff;
}

.spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.spec-card {
  background: linear-gradient(135deg, #244CEC, #1a3ab8);
  color: #fff;
  padding: 48px 32px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(36,76,236,0.25);
}

.spec-icon svg {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.spec-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.spec-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.7;
}

.cta-resources {
  background: #f8f9fc;
}

.cta-resources h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 12px;
}

.cta-resources > .container > p {
  text-align: center;
  color: #59595B;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.resource-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(36,76,236,0.08);
}

.resource-badge {
  display: inline-block;
  background: rgba(36,76,236,0.08);
  color: #244CEC;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.resource-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 0.9rem;
  color: #59595B;
  margin-bottom: 20px;
  line-height: 1.6;
}

.stats {
  background: linear-gradient(135deg, #244CEC, #1a3ab8);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: #fff;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.85;
}

.certifications {
  background: #f8f9fc;
  text-align: center;
}

.cert-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-item {
  background: #fff;
  padding: 20px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #244CEC;
  border: 1px solid #eee;
  transition: border-color 0.3s;
}

.cert-item:hover {
  border-color: #244CEC;
}

.news {
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(36,76,236,0.08);
}

.news-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.news-img-1 {
  background: linear-gradient(135deg, #244CEC, #1a3ab8);
  opacity: 0.85;
}

.news-img-2 {
  background: linear-gradient(135deg, #59595B, #333);
}

.news-img-3 {
  background: linear-gradient(135deg, #1a3ab8, #244CEC);
  opacity: 0.9;
}

.news-body {
  padding: 24px;
}

.news-tag {
  display: inline-block;
  background: rgba(36,76,236,0.08);
  color: #244CEC;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.news-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-body p {
  font-size: 0.9rem;
  color: #59595B;
  margin-bottom: 16px;
  line-height: 1.6;
}

.news-body a {
  text-decoration: none;
  color: #244CEC;
  font-weight: 600;
  font-size: 0.9rem;
}

.news-body a:hover {
  color: #1a3ab8;
}

.news-cta {
  text-align: center;
  margin-top: 48px;
}

.contact-cta {
  background: linear-gradient(135deg, #244CEC, #1a3ab8);
  text-align: center;
}

.contact-cta-inner h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

.footer {
  background: #222;
  color: #999;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  width: 240px;
}

.footer-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  color: #999;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

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

  .section-title {
    font-size: 1.8rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .services-grid,
  .spec-cards,
  .resources-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .about-icons {
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
  }
}

/* Image Placeholder Slots */
.image-placeholder-slot {
  width: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, #0e172e 0%, #172852 100%);
  border: 2px dashed #244CEC;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #cbd5e0;
  text-align: center;
  padding: 24px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.image-placeholder-slot:hover {
  border-color: #3b82f6;
}

.image-placeholder-slot .placeholder-tag {
  background: rgba(36, 76, 236, 0.25);
  color: #60a5fa;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(36, 76, 236, 0.4);
}

.image-placeholder-slot .placeholder-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.image-placeholder-slot .placeholder-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  max-width: 90%;
}

/* Infinite Logo Carousel */
.logo-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
  padding: 28px 0;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.logo-carousel-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}

.logo-carousel:hover .logo-carousel-track {
  animation-play-state: paused;
}

.logo-slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 90px;
  padding: 0 24px;
  box-sizing: border-box;
}

.logo-slide img {
  max-width: 170px;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease;
}

.logo-slide img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Featured Demo Images */
.featured-img-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid #e2e8f0;
}

.featured-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.partner-card {
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36,76,236,0.12);
  border-color: #244CEC;
}

.partner-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.partner-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
}

.partner-badge {
  background: rgba(36, 76, 236, 0.08);
  color: #244CEC;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.partner-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 16px;
}

.partner-features {
  list-style: none;
  margin-bottom: 20px;
}

.partner-features li {
  font-size: 0.88rem;
  color: #475569;
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.partner-features li::before {
  content: "✓";
  color: #244CEC;
  font-weight: bold;
}

.partner-metric {
  margin-top: auto;
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid #244CEC;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}

/* Enfoque Integral Pillars */
.enfoque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.enfoque-card {
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.enfoque-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(36,76,236,0.1);
  border-color: #244CEC;
}

.enfoque-icon {
  width: 64px;
  height: 64px;
  background: rgba(36,76,236,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.enfoque-icon svg {
  width: 32px;
  height: 32px;
  stroke: #244CEC;
}

.enfoque-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.enfoque-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* Desafío Ciberseguridad */
.desafio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.desafio-stat-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 350px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 40px;
  border-radius: 16px;
  color: #ffffff;
  text-align: center;
  border: 1px solid #334155;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.desafio-stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: #10b981;
  line-height: 1;
  margin-bottom: 12px;
}

.desafio-stat-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f8fafc;
}

.desafio-stat-box p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.desafio-list {
  list-style: none;
}

.desafio-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.desafio-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(36,76,236,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.desafio-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: #244CEC;
}

.desafio-item-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.desafio-item-text p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

/* Contact Details Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px 24px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card a, .contact-card p {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
  color: #ffffff;
}

@media (max-width: 992px) {
  .partners-grid, .enfoque-grid, .desafio-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
}
