@font-face {
  font-family: "Caviar Dreams";
  src: url("../assets/fonts/CaviarDreams.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Caviar Dreams";
  src: url("../assets/fonts/CaviarDreams_Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --azul: #343c61;
  --oro: #cfb336;
  --blanco: #ffffff;
  --gris-claro: #f5f6f8;
  --gris-texto: #555555;
  --gris-oscuro: #2b2b2b;
}

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

body {
  font-family: "Caviar Dreams", Arial, sans-serif;
  color: var(--gris-oscuro);
  line-height: 1.7;
  padding-top: 86px;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.logo-header {
  height: 58px;
}

.navbar {
  padding: 14px 0;
}

.nav-link {
  color: var(--azul) !important;
  font-weight: 700;
  margin-left: 12px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--oro) !important;
}

.btn-primary-cale {
  background: var(--azul);
  color: var(--blanco);
  border: 2px solid var(--azul);
  border-radius: 30px;
  padding: 10px 24px;
  font-weight: 700;
}

.btn-primary-cale:hover {
  background: transparent;
  color: var(--azul);
}

.btn-gold-cale {
  background: var(--oro);
  color: var(--blanco);
  border: 2px solid var(--oro);
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 700;
}

.btn-gold-cale:hover {
  background: transparent;
  color: var(--oro);
}

/* HERO */
.hero-section {
  position: relative;
  min-height: 88vh;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.65), rgba(52,60,97,0.35)),
              url("../assets/img/banners/hero-cale.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 30px; 
  padding-bottom: 30px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: 280px;
  margin-bottom: 25px;
}

.hero-section h1 {
  color: var(--azul);
  font-size: 52px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero-section h1 span {
  color: var(--oro);
  display: block;
}

.hero-section h2 {
  color: var(--oro);
  font-size: 30px;
  font-weight: 700;
  margin: 18px 0;
}

.hero-section p {
  color: var(--azul);
  font-size: 22px;
  max-width: 650px;
}

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

/* VALUE */
.value-strip {
  background: var(--azul);
  color: var(--blanco);
  padding: 35px 0;
  border-top: 6px solid var(--oro);
}

.value-item {
  border-right: 1px solid rgba(255,255,255,0.25);
}

.value-item:last-child {
  border-right: none;
}

.value-item h3 {
  color: var(--oro);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0;
}

.value-item p {
  font-size: 22px;
  margin: 0;
}

/* GENERAL */
.section-padding {
  padding: 90px 0;
}

.bg-light-cale {
  background: var(--gris-claro);
}

.section-label {
  color: var(--oro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  color: var(--azul);
  font-size: 42px;
  font-weight: 700;
  margin: 12px 0 24px;
}

.image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
  background: white;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SERVICES */
.service-card {
  background: var(--blanco);
  padding: 35px;
  border-radius: 20px;
  height: 100%;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  border-bottom: 5px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-bottom-color: var(--oro);
}

.service-card i {
  font-size: 42px;
  color: var(--oro);
  margin-bottom: 22px;
}

.service-card h3 {
  color: var(--azul);
  font-weight: 700;
  font-size: 23px;
}

/* IMPACT */
.impact-section {
  background: var(--azul);
  color: var(--blanco);
  padding: 90px 0;
}

.impact-section h2 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

.impact-section h2::first-letter {
  color: var(--oro);
}

.impact-section p {
  font-size: 20px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.impact-grid div {
  border: 2px dashed var(--oro);
  border-radius: 25px;
  padding: 35px;
  text-align: center;
}

.impact-grid h3 {
  color: var(--blanco);
  font-weight: 700;
}

/* POSTS */
.post-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  height: 100%;
}

.post-img {
    height: 220px;
    overflow: hidden;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.post-card:hover .post-img img {
    transform: scale(1.08);
}

.post-body {
  padding: 28px;
}

.post-body h3 {
  color: var(--azul);
  font-weight: 700;
}

.post-body a {
  color: var(--oro);
  font-weight: 700;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--azul), #20263f);
  color: white;
}

.cta-section h2 {
  font-weight: 700;
}

/* FOOTER */
.footer-cale {
  background: #20263f;
  color: white;
  padding: 60px 0 25px;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-cale h4 {
  color: var(--oro);
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-cale a {
  display: block;
  color: white;
  margin-bottom: 10px;
}

.footer-cale a:hover {
  color: var(--oro);
}

.footer-cale i {
  color: var(--oro);
  margin-right: 8px;
}

.footer-cale hr {
  border-color: rgba(255,255,255,0.15);
  margin-top: 35px;
}

.copyright {
  text-align: center;
  margin: 0;
}

/* WHATSAPP */
.whatsapp-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.whatsapp-btn:hover {
  color: white;
  transform: scale(1.05);
}

/* PAGES */
.page-header {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--azul), #20263f);
  color: white;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
}

.page-header p {
  font-size: 20px;
}

.value-card {
  background: white;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.value-card h3 {
  color: var(--azul);
  font-weight: 700;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 15px;
}

.hero-side-image{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-side-image img{
    width:100%;
    max-width:700px;
    height:auto;

    border-radius:24px;

    box-shadow:
    0 20px 45px rgba(0,0,0,.15);
}

/* =====================================================
   GERENCIA GENERAL - DISEÑO EJECUTIVO
===================================================== */

.leadership-section {
  padding: 100px 0;

  background:
    linear-gradient(
      135deg,
      rgba(245, 246, 248, 1) 0%,
      rgba(255, 255, 255, 1) 55%,
      rgba(207, 179, 54, 0.08) 100%
    );

  position: relative;
  overflow: hidden;
}

/* Elemento decorativo del fondo */
.leadership-section::before {
  content: "";
  position: absolute;

  width: 360px;
  height: 360px;

  border-radius: 50%;

  background: rgba(52, 60, 97, 0.05);

  top: -130px;
  right: -100px;
}

/* INTRODUCCIÓN */
.leadership-intro {
  max-width: 760px;
  margin: 0 auto;

  color: var(--gris-texto);

  font-size: 18px;
  line-height: 1.8;

  text-align: center;
}

/* =====================================================
   TARJETA PRINCIPAL
===================================================== */

.leadership-wrapper {
  position: relative;

  max-width: 1450px;
  margin: 0 auto;

  background: #ffffff;

  border-radius: 30px;

  overflow: hidden;

  box-shadow:
    0 25px 60px rgba(30, 38, 70, 0.12);

  border:
    1px solid rgba(52, 60, 97, 0.08);
}

/* =====================================================
   IMAGEN
===================================================== */

.leadership-image {
  width: 100%;
  height: 100%;

  position: relative;

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

  background: #ffffff;

  overflow: hidden;
}

/*
  La fotografía se muestra COMPLETA.
  No utilizamos object-fit: cover.
*/
.leadership-image img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: contain;
  object-position: center;

  border-radius: 30px 0 0 30px;

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/*
  DIFUMINADO HACIA EL BLOQUE DE TEXTO.
  Produce una transición suave entre
  la fotografía y el fondo blanco.
*/
.leadership-image::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to right,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 92%,
      rgba(255,255,255,0.20) 96%,
      rgba(255,255,255,0.60) 99%,
      rgba(255,255,255,1) 100%
    );
}

/*
  Sombra interna muy ligera para evitar
  que la fotografía parezca una imagen
  simplemente "pegada".
*/
.leadership-image::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  box-shadow:
    inset 0 0 45px rgba(255,255,255,0.10);
}

/* Movimiento muy discreto */
.leadership-wrapper:hover .leadership-image img {
  transform: scale(1.008);
}

/* =====================================================
   CONTENIDO
===================================================== */

.leadership-content {
  padding: 65px 60px 65px 50px;

  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  z-index: 2;

  background: #ffffff;
}

/* GERENCIA GENERAL */
.leadership-label {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  color: var(--oro);

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 2.5px;

  font-size: 14px;

  margin-bottom: 16px;
}

.leadership-label::before {
  content: "";

  width: 46px;
  height: 3px;

  background: var(--oro);

  border-radius: 5px;
}

/* NOMBRE */
.leadership-name {
  color: var(--azul);

  font-size: 46px;
  font-weight: 700;

  line-height: 1.15;

  margin-bottom: 8px;
}

/* CARGO */
.leadership-role {
  color: var(--oro);

  font-size: 22px;
  font-weight: 700;

  margin-bottom: 32px;
}

/* =====================================================
   TEXTO EJECUTIVO
===================================================== */

.leadership-text {
  color: var(--gris-texto);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 24px;

  text-align: justify;
  text-justify: inter-word;

  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* =====================================================
   FRASE DESTACADA
===================================================== */

.leadership-quote {
  position: relative;
  margin: 20px auto 0;
  padding: 28px 38px;

  width: 100%;

  background: rgba(207, 179, 54, 0.08);

  border-left: none;
  border-top: 1px solid rgba(207, 179, 54, 0.35);
  border-bottom: 1px solid rgba(207, 179, 54, 0.35);
  border-radius: 14px;

  color: var(--azul);
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  font-weight: 700;

  text-align: center;

  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.leadership-quote::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);

  width: 70px;
  height: 4px;

  background: var(--oro);
  border-radius: 10px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

  .leadership-section {
    padding: 70px 0;
  }

  .leadership-wrapper {
    border-radius: 22px;
  }

  /*
    En tablet desaparece el difuminado lateral
    porque la imagen queda encima del texto.
  */
  .leadership-image::after {
    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 88%,
        rgba(255,255,255,0.45) 95%,
        rgba(255,255,255,1) 100%
      );
  }

  .leadership-image img {
    width: 100%;
    height: auto;

    border-radius:
      22px 22px 0 0;
  }

  .leadership-content {
    padding: 45px 40px;
  }

  .leadership-name {
    font-size: 38px;
  }

  .leadership-role {
    font-size: 21px;
  }

  .leadership-text {
    font-size: 16px;
  }
}

/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 576px) {

  .leadership-section {
    padding: 60px 0;
  }

  .leadership-intro {
    font-size: 16px;

    padding: 0 10px;
  }

  .leadership-wrapper {
    border-radius: 18px;
  }

  .leadership-image img {
    width: 100%;
    height: auto;

    border-radius:
      18px 18px 0 0;
  }

  .leadership-image::after {
    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0) 90%,
        rgba(255,255,255,0.55) 96%,
        #ffffff 100%
      );
  }

  .leadership-content {
    padding: 35px 25px;
  }

  .leadership-label {
    font-size: 12px;

    letter-spacing: 2px;
  }

  .leadership-label::before {
    width: 35px;
  }

  .leadership-name {
    font-size: 31px;
  }

  .leadership-role {
    font-size: 19px;

    margin-bottom: 24px;
  }

  .leadership-text {
    font-size: 15px;

    line-height: 1.8;

    text-align: justify;

    hyphens: auto;
  }

  .leadership-quote {
    font-size: 15px;

    padding: 18px 20px;
  }

  .leadership-signature img {
    width: 50px;
    height: 50px;
  }

  .leadership-signature strong {
    font-size: 15px;
  }

  .leadership-signature span {
    font-size: 13px;
  }
}