/* Tipografía principal */
* {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
a{
  text-decoration: none;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: var(--blanco);
  color: var(--negro);
  background: linear-gradient(180deg, var(--claro, #e9f1f8) 0%, var(--blanco, #ffffff) 100%);
}

:root {
  --principal: #6288ba;
  --oscuro: #2c3e50;
  --claro: #9bb7d9;
  --blanco: #ffffff;
  --negro: #000000;
  --gris: #e0e0e0;
}


/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  background: url('../IMG/caja-de-contenedores-industriales-para-negocios-logisticos-de-importacion-y-exportacion.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Overlay mejorado */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,62,80,0.7) 0%, rgba(44,62,80,0.95) 100%);
  z-index: 1;
}

/* 🔥 CENTRADO REAL */
.hero-content {
  position: relative;
  z-index: 2;

  height: 100%;
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 0 20px;

  animation: fadeInUp 1s ease forwards;
}

/* Título */
.hero-titlee {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  max-width: 800px;
  text-transform: uppercase;
}

/* Botón */
.btn-hero {
  background-color: #6288ba;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.btn-hero:hover {
  background-color: #9bb7d9;
  color: #2c3e50;
  border-color: #2c3e50;
  transform: translateY(-2px);
}

/* Ola */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* Animación */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive hero */
@media (max-width: 768px) {
  .hero-titlee {
    font-size: 2.2rem;
  }
}

/* ============================= */
/* 🔥 SECCIÓN DIRECTOR ARREGLADA */
/* ============================= */
/* ===== BREADCRUMB ===== */
.contanclasprin {
  padding-top: 30px;
  font-family: 'Trebuchet MS', Arial, sans-serif;
}

.contanclasprin a.nostay {
  color: #0b2c4d;           /* azul oscuro para el enlace */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contanclasprin a.nostay:hover {
  color: #0b2c4d;           /* azul más brillante al pasar el mouse */
  text-decoration: underline;
}

.contanclasprin .spanstay {
  color: #666666;           /* gris para indicar posición actual */
  font-weight: 400;
  margin-left: 5px;
}



/* ===== SECCIÓN DIRECTOR AJUSTADA ===== */
.director-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

/* 🔥 CONTENEDOR PRINCIPAL */
.main-container {
  display: flex;
  align-items: flex-start;  /* 🔹 la imagen no se estira con el texto */
  max-width: 900px;
  width: 85%;
  min-height: 450px;
  margin: 0 auto 60px auto;
  gap: 40px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  padding: 20px;
}

/* 🔥 IMAGEN MÁS ANCHA Y MENOS ALTA */
.image-wrapper {
  flex: 0 0 auto;
}

.director-img {
  width: 320px;       /* 🔹 más ancho */
  height: auto;       /* 🔹 mantiene proporción y menor altura */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* 🔥 TEXTO */
.text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #333;
}

.text-wrapper h1 {
  font-size: 2rem;
  color: #0b2c4d;
  margin-bottom: 10px;
}

.text-wrapper h2 {
  font-size: 1.1rem;
  color: #1f4f7a;
  margin-bottom: 20px;
}

.text-wrapper p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.text-wrapper strong {
  color: #528ED4;
  margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .main-container {
    flex-direction: column;
    width: 95%;
    min-height: auto;
    gap: 30px;
  }

  .director-img {
    width: 220px;  /* más pequeña en tablet/móvil */
    height: auto;
  }

  .text-wrapper {
    text-align: center;
    padding: 10px 0;
  }
}