/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilo base */
body {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

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

/* ---------------- HEADER ---------------- */
header {
  background-color: #1f618d;
  color: #fff;
  padding: 0.7rem 0;
}

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

.logo {
  width: 200px;
  height: auto;
}

.site-title {
  text-align: right;
  flex: 1;
  padding-left: 1rem;
}

.site-title h1 {
  font-size: 1.6rem;
}

.submenu {
  margin-top: 0.5rem;
}

.submenu a {
  color: #ecf0f1;
  margin-left: 1.2rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.submenu a:hover {
  text-decoration: underline;
}

.header-icon {
  display: flex;
  align-items: center;
}

.header-icon img {
  width: 70px;
  height: 70px;
  margin-left: 1rem;
  cursor: pointer;
}

/* Ocultar ícono en móviles */
@media screen and (max-width: 768px) {
  .header-icon {
    display: none;
  }
}

/* ---------------- SLIDER ---------------- */
.pantalla-completa-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.slider-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.slider-texto {
  position: relative;
  z-index: 2;
  max-width: 100%;
  font-size: 1.8rem;
}

.pDescrip {
  font-size: 1.5rem;
  padding-left: 20%;
  padding-right: 20%;
}

.slider-fondo .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;     
  height: 100vh;    
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-fondo .slide.activo {
  opacity: 1;
  z-index: 0;
}
/* ---------------- TRADUCTOR ---------------- */
.traductor-section {
  background-color: #f4f4f4;
  padding: 4rem 0;
}

.traductor-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.left {
  flex: 1;
  min-width: 300px;
}

.left label {
  font-weight: bold;
  font-size: 1.1rem;
}

.left select {
  width: 100%;
  padding: 1rem;
  margin: 1.2rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#mediaContainer video,
#mediaContainer img {
  width: 100%;
  max-height: 60vh;
  border-radius: 10px;
  object-fit: contain;
  background-color: #000;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.right h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.right-content {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

/* Cards de beneficios alineadas horizontalmente */
.mini-beneficios {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: nowrap; /* <--- IMPORTANTE: evita que se apilen */
  overflow-x: auto;  /* para evitar corte en pantallas pequeñas */
}

/* Estilo de cada card */
.beneficio-card {
  background-color: #f8fafd;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  width: 260px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex-shrink: 0; /* No se reduce si hay poco espacio */
}

.beneficio-card:hover {
  transform: translateY(-5px);
}

.icono-beneficio {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.beneficio-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #1f618d;
}

.beneficio-card p {
  font-size: 0.95rem;
}

/* ---------------- BENEFICIOS ---------------- */
.beneficios {
  background-color: #fff;
  padding: 4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.card {
  background-color: #ecf0f1;
  padding: 2rem;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.card h3 {
  margin-bottom: 1rem;
  color: #1f618d;
}

/* ---------------- SOBRE NOSOTROS ---------------- */
.nosotros-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.nosotros-section h2,
.nosotros-section h3 {
  color: #1f618d;
  margin-bottom: 1rem;
}

.nosotros-section p,
.nosotros-section ul {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.nosotros-section ul {
  list-style: disc inside;
  padding-left: 1rem;
}

/* ---------------- CONTACTO ---------------- */
.contacto-section {
  background-color: #f4f4f4;
  padding: 4rem 0;
}

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

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background-color: #1f618d;
  color: #fff;
  border: none;
  padding: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1rem;
}

.contact-form button:hover {
  background-color: #154360;
}

.contact-info {
  max-width: 600px;
  margin: 3rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------------- FOOTER ---------------- */
footer {
  background-color: #1f618d;
  color: #fff;
  padding: 2rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer .logo {
  width: 150px;
}

footer p {
  font-size: 0.9rem;
  margin-left: 1rem;
}

.kira-section {
  background-color: #f4f4f4;
  padding: 4rem 1rem;
  text-align: center;
}

.kira-logo img {
  width: 650px;
  height: auto;
  margin: 0 auto 2rem;
}

.kira-bloques {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.kira-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  width: 220px;
  text-align: center;
  transition: transform 0.3s ease;
}

.kira-card:hover {
  transform: translateY(-5px);
}

.kira-card h2 {
  font-size: 2.5rem;
  color: #1f618d;
  margin-bottom: 0.5rem;
}

.kira-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #154360;
}

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

/* Responsive para móvil */
@media screen and (max-width: 768px) {
  .kira-bloques {
    flex-direction: column;
    align-items: center;
  }

  .kira-card {
    width: 100%;
    max-width: 300px;
  }

  .kira-logo img {
    width: 150px;
  }
}


/* ---------------- RESPONSIVE ---------------- */
@media screen and (max-width: 768px) {
  header .container,
  footer .container,
  .traductor-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-title {
    text-align: center;
    padding-left: 0;
    margin-top: 1rem;
  }

  .submenu a {
    display: inline-block;
    margin: 0.5rem;
  }

  .right, .left {
    text-align: left;
  }

  footer p {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .traductor-container {
    flex-direction: column;
    align-items: center;
  }

  .right {
    width: 100%;
    padding: 2rem 1rem;
  }

  .mini-beneficios {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .beneficio-card {
    width: 100%;
    max-width: 300px;
  }

  .right-content {
    text-align: center;
    max-width: 100%;
  }
}
