/* styles.css actualizado */

:root {
  --primary-color: #ff546e;
  --secondary-color: #0e205e;
  --light-bg: #f9f9f9;
  --font-primary: "Comfortaa", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  background: white;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.logo img {
  width: 150px;
  height: auto;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar nav a:hover {
  color: var(--primary-color);
}

.btn-demo,  .btn-demo2 {
  background: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  /* font-weight: bold; */
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 2rem;
  background: linear-gradient(to right, #ffe1e5, #f0f3ff);
  text-align: center;
}

.hero-text {
  max-width: 800px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.hero-text.show {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.hero p {
  margin: 1rem 0 2rem;
  font-size: 1.2rem;
  color: #555;
}

.hero-buttons .btn {
  background: var(--secondary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  margin-right: 1rem;
  transition: background 0.3s ease;
}

.hero-buttons .btn:hover {
  background: var(--primary-color);
}

.hero-buttons .btn-alt {
  background: white;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.about,
.products,
.contact {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about h2,
.products h2,
.contact h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.about p,
.products p,
.contact p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card img {
  width: 50px;
  margin: 0 auto;

  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

.contact form, #demo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 500px;
}

.contact input, #demo-form input,#demo-form select,
.contact textarea {
  padding: 0.75rem;
  font-family: var(--font-secondary);
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact button, #demo-form button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact button:hover, #demo-form button:hover {
  background: var(--secondary-color);
  color: #fff;
}

footer {
  text-align: center;
  padding: 2rem;
  background: #f0f0f0;
  font-size: 0.9rem;
  color: #888;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

.services {
  padding: 4rem 2rem;
  background: var(--light-bg);
  text-align: center;
}

.services h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 2rem;
  padding-left: 10%;
  padding-right: 10%;
}

.card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 50px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.card p {
  font-size: 0.95rem;
  color: #666;
}

/* styles.css actualizado con secciones extra */

:root {
  --primary-color: #ff546e;
  --secondary-color: #0e205e;
  --light-bg: #f9f9f9;
  --font-primary: "Comfortaa", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-secondary);
  background: white;
  color: #333;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* ... (todo el CSS anterior permanece igual) */

.clients,
.process {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.clients h2,
.process h2,
.presence h2 {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.client-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.client-logos img {
  max-width: 120px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-logos img:hover {
  filter: grayscale(0%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}

.step.show {
  opacity: 1;
  transform: translateY(0);
}

.step h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: #666;
}

.carousel-section {
  overflow: hidden;
  background: white;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  gap: 4rem;
  animation: scroll-logos 25s linear infinite;
}

.carousel-track img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.carousel-track img:hover {
  filter: grayscale(0%);
}

.how-we-do-it {
  padding: 4rem 2rem;
  text-align: center;
}

.how-we-do-it h2 {
  font-family: var(--font-primary);
  color: var(--secondary-color);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.process-blocks {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  padding: 1rem;
}

.process-icon img {
  width: 70px;
  height: auto;
  margin-bottom: 1rem;
}

.process-text h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-text p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

footer {
  background: #f0f0f0;
  padding: 2rem;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 28px;
  height: 28px;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.social-icon:hover {
  filter: grayscale(0%);
}

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

@media (max-width: 768px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .client-logos {
    justify-content: center;
  }
}



.icon-color{
  color: var(--secondary-color);
  font-size: 24px;
}

.img-banner{
  position: absolute;
  width: 39%;
  right: 0;
  opacity: 0.5;
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Checkbox oculto */
.menu-toggle {
  display: none;
}

.opcion-demo{
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: #333;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 10px 20px;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .menu-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .btn-demo {
    display: none;
  }
  .opcion-demo {
    display: block;
  }

  .navbar {
    flex-wrap: wrap;
  }

  .img-banner{
    display: none;
  }
}


.presence {
  padding: 4rem 2rem;
  background: var(--light-bg);
  text-align: center;
}
.presence-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.presence-counter {
  font-size: 3rem;
  font-family: var(--font-primary);
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  animation: float 8s infinite linear;
}
.flag {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  will-change: transform;

}

.flag:hover {
  transform: scale(1.1);
}
.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.owl-stage{
  display: flex;
  align-items: center;
  justify-content: center;
}
.owl-stage .owl-item{
  display: flex;
  align-items: center;
  justify-content: center;
}

.owl-nav {
  display: none !important;
}