/* ===== GENERAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, sans-serif
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  body {
    padding-top: 74px; /* ajustá según altura real del navbar */
  }
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #17172e;
  color: #ffffff;
  padding: 2px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo img {
  height: 70px;
}

.nav-links {
  display: flex;
  font-size: 12px;
  gap: 5px;
}

.nav-item {
  text-decoration: none;
  background-color: #17172e;
  color: #ffffff;
  font-weight: bold;
  padding: 8px 15px;
  transition: 0.3s;
}

.nav-item:hover {
  background-color: #4c3179d3;
  color: #ffffff;
  border-radius: 5px;
  padding: 20px 30px;
}

/* ===== BURGER MENU ===== */
.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #ffffff;
}

/* ===== MOBILE NAV FIX DEFINITIVO ===== */
@media (max-width: 768px) {

  .navbar {
    position: relative;
    background-color: #17172e;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background-color: #17172e !important; /* 🔥 FORZADO */
    flex-direction: column;
    align-items: center;

    display: none;
    padding: 20px 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-item {
    color: #ffffff !important;
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

  .burger {
    display: block;
  }
}



/* ===== HERO SECTION ===== */
.hero {
  background-image: url("images/banner.jpg");
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 👈 Esto empuja el contenido hacia la derecha */
  color: #17172e;
}

.hero-content {
  max-width: 500px;
  margin-left: 7%; /* 👈 Ajustá la separación al borde derecho */
  text-align: left; /* 👈 Opcional: el texto también queda alineado a la derecha */
}

.hero h1 {
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 4);
}

.hero .cta-btn {
  display: inline-block;
  background-color: #17172e; 
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  transition: 0.3s;
}

.hero .cta-btn:hover {
  background-color: #ffffffd3;
  color: #17172e;
  padding: 20px 30px;
}



/* ===== WELCOME TEXT ===== */



.welcome-text {
  padding: 60px 20px;
  background-image: url("images/banner-welcome.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 👈 Esto empuja el contenido hacia la derecha */
  color: white;
  text-align: center;
}

.welcome-text .container {
  max-width: 800px;
  margin: 0 auto;
}

.welcome-text h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 4);
}


@media (max-width: 768px) {
  .welcome-text {
    padding: 40px 15px;
  }
  .welcome-text h2 {
    font-size: 1.6rem;
  }
  .welcome-text p {
    font-size: 0.9rem;
  }
}



/* ===== ABOUT US ===== */

.about-us {
  background-image: url("images/banner-about-us.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  background-color: #000000;
  text-align: center;
}

.about-us .container {
  max-width: 600px;
  margin: 0 auto;
}

.about-us h2 {
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 4);
}

.about-us h1 {
  font-size: 2.3rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


@media (max-width: 768px) {
  .about-us {
    padding: 40px 15px;
  }
  .about-us h2 {
    font-size: 1rem;
  }
  .about-us p {
    font-size: 0.9rem;
  }
}




/* ===== OUR CLIENTS SECTION ===== */
.clients-section {
  background-color: #000;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.clients-title {
  font-size: 2.3rem;
  margin-bottom: 50px;
}

.clients-section h2 {
  font-size: 1rem;
  margin-bottom: 50px;
}

.clients-carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: fit-content;
  animation: scroll-left 30s linear infinite;
}

.carousel-track img {
  height: 100px;
  margin: 0 50px;
  filter: grayscale(60%);
  opacity: 0.8;
  transition: 0.3s;
}

.carousel-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animación */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


.cta-btn {
  display: inline-block;
  background-color: #ffffffd3; 
  color: #17172e;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  transition: 0.3s;
}

.cta-btn:hover {
  background-color: #17172e;
  color: #ffffff;
  padding: 20px 30px;
}



/* ====== OUR SERVICES ====== */
.our-services {
  background-image: url("images/banner-services.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
}

.services-container {
  max-width: 800px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 70px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  max-width: 400px;
  display: block;
}

.service-content {
  flex: 1;
}

.service-content h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-content p {
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-cta {
  display: inline-block;
  background-color: #ffffffd3; 
  color: #17172e;
  font-weight: bold;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 5px;
  transition: 0.3s;
  text-decoration: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.service-cta:hover {
  background-color: #17172e;
  color: #ffffff;
  padding: 20px 38px;
}

.services-cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .service-image img {
    width: 100%;
    height: 260px;
  }
}



/* ====== OUR TECHNOLOGY ====== */
.our-technology {
  background-image: url("images/banner-technology.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
}

.technology-container {
  max-width: 800px;
  margin: 0 auto;
}

.technology-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.technology-columns {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.technology-item {
  flex: 1;
  text-align: center;
}

.technology-image {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  margin: 0 auto 40px;
  border-radius: 4%;
}

.technology-image img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.technology-item h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.technology-item p {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
}

/* CTA */
.technology-cta {
  text-align: center;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .technology-columns {
    flex-direction: column;
  }

  .technology-image {
    width: 100%;
    height: 300px;
  }
}





/* ====== CONTACT US ====== */
.contact-us {
  background-image: url("images/banner-contact.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 80px 20px;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: 2.3rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-text {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 50px;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-text a {
  color: #ffffff;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  outline: none;
}

.contact-form textarea {
  resize: none;
}

/* Botón reutiliza .service-cta */
.contact-form button {
  align-self: center;
  margin-top: 20px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .contact-text {
    font-size: 1rem;
  }
}




/* ====== FULL WIDTH MAP ====== */
.full-map {
  width: 100%;
  height: 450px;
  margin: 0;
  padding: 0;
}

.full-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .full-map {
    height: 300px;
  }
}





/* ===== PRIVACY PAGE ===== */
.policy-page {
  background-image: url("images/banner-privacy.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  background-color: #90a8dd;
}

.policy-page .container {
  max-width: 800px;
  margin: 0 auto;
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
  color: #ffffff;
}

.policy-page h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
  color: #ffffff;
}

.policy-page p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
  margin-bottom: 20px;
}

.policy-page ul {
  margin: 20px 0;
  padding-left: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
  color: #ffffff;
}

.policy-page ul li {
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 2);
  color: #ffffff;
}

@media (max-width: 768px) {
  .policy-page {
    padding: 40px 15px;
  }
  .policy-page h2 {
    font-size: 1.6rem;
  }
  .policy-page p {
    font-size: 0.9rem;
  }
}







/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero {
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }

  .hero-content {
    margin: 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}



/* ===== FOOTER ===== */

.site-footer {
  background-color: #17172e; /* fondo negro */
  color: #ffffff;         /* letras color amarillo */
  padding: 30px 20px;
  font-size: 0.7rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left, .footer-right {
  flex: 1;
}

.footer-logo {
  max-width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.footer-address {
  line-height: 1.4;
  margin-bottom: 10px;
}

.footer-email {
  color: #589afd;
  text-decoration: none;
  font-weight: bold;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-sitemap {
  display: flex;
  flex-direction: column;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 4px;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #589afd;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: #ffffff; /* un poco más claro para contraste */
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-left, .footer-right {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer-sitemap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .footer-link {
    margin-bottom: 0;
  }
}
