/* Regular */
@font-face {
  font-family: 'Akrobat';
  src: url('fonts/akrobat/Akrobat-Regular.woff2') format('woff2'),
       url('fonts/akrobat/Akrobat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: 'Akrobat';
  src: url('fonts/akrobat/Akrobat-SemiBold.woff2') format('woff2'),
       url('../fonts/akrobat/Akrobat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Akrobat';
  src: url('fonts/akrobat/Akrobat-Bold.woff2') format('woff2'),
       url('fonts/akrobat/Akrobat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold */
@font-face {
  font-family: 'Akrobat';
  src: url('fonts/akrobat/Akrobat-ExtraBold.woff2') format('woff2'),
       url('fonts/akrobat/Akrobat-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Funnel Sans';
  src: url('./fonts/FunnelSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

.personaje-nombre {
  font-family: 'Akrobat', sans-serif;
  font-weight: 700; 
}

/* ══════════════════════════════
   VARIABLES
══════════════════════════════ */
:root {
  --verde:    #02463A;
  --crema:    #F6E0AD;
  --naranja:  #B05D3C;
  --amarillo: #d4a84b;
  --bg:       #02463A;
  --page-px:  1.5rem;
}

/* ══════════════════════════════
   BASE
══════════════════════════════ */
body {
  font-family: 'Funnel Sans', sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}
section {
  margin-bottom: -1px;
}
h1 {
  font-family: 'Akrobat', sans-serif;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero-outer {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding-left: var(--page-px);
  padding-right: var(--page-px);
}

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 40, 25, 0.45);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5% 6%;
}

.hero-logo img {
  height: clamp(200px, 5vw, 72px);
  width: auto;
}

.logo-mobile { display: none; }
.logo-desktop { display: block; }

.hero-text {
  max-width: 48%;
}

.hero-headline {
  font-family: 'Akrobat', sans-serif;
  font-size: clamp(18px, 2.4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: #F6E0AD;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-block;
  background: var(--naranja);
  color: var(--crema);
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 600;
  padding: 20px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta:hover {
  background: #8f4a2f;
  border-color: #8f4a2f;
  color: #fff;
}

/* Foto mobile: oculta en desktop */
.hero-foto-mobile {
  display: none;
}

/* Botánica mobile: oculta en desktop */
.botanica-mobile {
  display: none;
}


/* ══════════════════════════════
   BOTÁNICA
══════════════════════════════ */
.botanica {
  position: absolute;
  left: 2%;
  top: 100%;
  transform: translateY(-50%);
  width: 37%;
  pointer-events: none;
  z-index: 10;
}


/* ══════════════════════════════
   BLOQUE 2
══════════════════════════════ */
.bloque2 {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding-top: 2rem;
  padding-bottom: 5rem;
  padding-left: 5rem;
  padding-right: 5rem;
  z-index: 1;
}

.b2-row-2 {
  min-height: 420px;
  margin-top: -5rem;
}

.b2-label {
  font-family: 'Akrobat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F6E0AD;
}

.b2-headline {
  font-family: 'Funnel Sans', sans-serif;
  font-size: clamp(24px, 2.8vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

.b2-intro {
  font-family: 'Funnel Sans', sans-serif;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.45;
  color: #fff;
}

.b2-intro strong {
  font-weight: 700;
}

.b2-icon-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.b2-icon-label {
  font-family: 'Akrobat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
}


/* ══════════════════════════════
   BLOQUE PERSONAJES
══════════════════════════════ */
.personajes {
  overflow: hidden;
}

.personaje-fila {
  position: relative;
  overflow: hidden;
  min-height: clamp(200px, 18vw, 260px);
}

/* Wrapper interior: limita el texto a ~962px centrado */
.personaje-inner {
  max-width: 962px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 48px 80px;
  min-height: clamp(200px, 18vw, 260px);
}

.personaje-fila--maria { background: #dde4af; }
.personaje-fila--ciro  { background: #c4e2f3; }
.personaje-fila--tomas { background: #f6e0ad; }
.personaje-fila--juana { background: #efcce2; }

.personaje-texto {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.personaje-nombre {
  font-size: clamp(60px, 8vw, 115px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-family: 'Akrobat', sans-serif;
}

.personaje-fila--maria .personaje-nombre { color: #C15485; }
.personaje-fila--ciro  .personaje-nombre { color: #CF5358; }
.personaje-fila--tomas .personaje-nombre { color: #8781B6; }
.personaje-fila--juana .personaje-nombre { color: #2D8A84; }

.personaje-proceso {
  font-size: clamp(14px, 1.6vw, 23px);
  font-weight: 600;
}

.personaje-fila--maria .personaje-proceso { color: #C15485; }
.personaje-fila--ciro  .personaje-proceso { color: #CF5358; }
.personaje-fila--tomas .personaje-proceso { color: #8781B6; }
.personaje-fila--juana .personaje-proceso { color: #2D8A84; }

.personaje-img {
  position: absolute;
  /* Se alinea al borde derecho del inner wrapper (962px centrado) */
  right: max(0px, calc((100% - 962px) / 2));
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;
}


/* ══════════════════════════════
   BLOQUE CARDS
══════════════════════════════ */
.cards-section {
  background: #eeeee6;
  padding: 5rem 4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card-item {
  background: #fff;
  border-radius: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-item--verde {
  background: var(--verde);
  justify-content: flex-start;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

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

/* corte cóncavo en esquina inferior derecha: gradient circular transparente → blanco */
.card-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 0% 0%, transparent 60px, #fff 60px);
  z-index: 1;
}

.card-body-custom {
  position: relative;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  background: #fff;
}

.card-body-custom--verde {
  background: var(--verde);
  padding: 2rem 1.75rem;
}

/* zona del logo — mismo aspect-ratio que las fotos, logo centrado */
.card-logo-area {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  flex-shrink: 0;
}

.card-logo-area img {
  height: auto;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
}

.card-title {
  font-family: 'Akrobat', sans-serif;
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.card-title--naranja { color: #B05D3C; }
.card-title--amarillo { color: #F6E0AD; }

.card-text {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  color: var(--verde);
  margin: 0;
}

.card-text--claro {
  color: var(--crema);
  opacity: 0.9;
}


/* ══════════════════════════════
   BLOQUES GRAN CAFÉ + CLIENTES
══════════════════════════════ */
.gcafe-wrap {
  position: relative;
}

/* Contenedor alineado con el grid de cards */
.gcafe-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
}
/* Contenedor alineado con el grid de cards */
.gcafe-inner2 {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 8rem;
  padding-right: 8rem;
}
/* Bloque 1 */
.gcafe-bloque1 {
  background: #eeeee6;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.gcafe-texto {
  max-width: 52%;
}

.gcafe-titulo {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.2;
  color: #B05D3C;
  margin: 0 0 2rem 0;
}

.gcafe-parrafo {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
  color: var(--verde);
  margin-bottom: 1rem;
}

.gcafe-bold {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--verde);
  margin: 0;
}

/* Granos botánica — puente de altura 0 alineado al max-width del contenido */
.granos-bridge {
  position: relative;
  height: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 4rem;
  padding-right: 4rem;
  z-index: 10;
}

.granos-botanica {
  position: absolute;
  right: 4rem;
  top: 0;
  transform: translateY(-50%);
  width: clamp(280px, 36%, 540px);
  pointer-events: none;
}

/* Bloque 2 */
.gcafe-bloque2 {
  background: #fff;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.clientes-contenido {
  max-width: 100%;
}

.clientes-label {
  font-family: 'Akrobat', sans-serif;
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 800;
  color: #B05D3C;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.clientes-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.clientes-lista li {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--verde);
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(2, 70, 58, 0.2);
}

.clientes-lista li:last-child {
  border-bottom: 1px solid rgba(27, 58, 42, 0.2);
}

/* CTA 2 */
.cta2 {
  background: #fff;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}


/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
background: var(--bg);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-logo img {
  height: clamp(48px, 5vw, 72px);
  width: auto;
}

.footer-tagline {
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crema);
}

.footer-contacto {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.footer-email {
  color: var(--crema);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  text-decoration: none;
  margin-bottom: 0.4rem;
}

.footer-email:hover {
  text-decoration: underline;
  color: var(--crema);
}

.footer-contacto p {
  color: #fff;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}


/* ══════════════════════════════
   BLOQUE CTAs
══════════════════════════════ */
.ctas {
  background: #eeeee6;
  padding-top: 5rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-cta {
  font-family: 'Funnel Sans', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  width: 311px;
  text-align: center;
  padding: 20px 36px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-cta--naranja {
  background: var(--naranja);
  color: var(--crema);
  border: 2px solid var(--naranja);
}

.btn-cta--naranja:hover {
  background: #8f4a2f;
  border-color: #8f4a2f;
  color: #fff;
}

.btn-cta--verde {
  background: var(--verde);
  color: var(--crema);
  border: 2px solid var(--verde);
}

.btn-cta--verde:hover {
  background: #013028;
  color: var(--crema);
}


/* ══════════════════════════════
   TABLET (< 992px)
══════════════════════════════ */
@media (max-width: 991px) {

  .bloque2 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .b2-row-2 {
    margin-top: 0;
    min-height: auto;
  }

  .b2-icon-img {
    width: 130px;
    height: 130px;
  }

  .gcafe-texto {
    max-width: 70%;
  }

  .granos-botanica {
    width: clamp(200px, 28%, 380px);
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* La card verde ocupa el ancho completo en la segunda fila */
  .card-item--verde {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
  }

  .card-item--verde .card-logo-area {
    width: 40%;
    flex-shrink: 0;
    aspect-ratio: auto;
  }

  .card-item--verde .card-body-custom--verde {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .gcafe-inner2 {
  padding-left: 5rem;
  padding-right: 5rem;
}

}


/* ══════════════════════════════
   MOBILE (< 768px)
══════════════════════════════ */
@media (max-width: 767px) {

  /* ── HERO ── */
  /* Estructura flex: logo → foto → headline + CTA */
  .hero {
    aspect-ratio: unset;
    min-height: unset;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
  }

  /* Hero-bg (fondo desktop): oculto en mobile */
  .hero-bg {
    display: none;
  }

  /* Hero-content: flujo normal en columna */
  .hero-content {
    order: 1;
    position: relative;
    inset: auto;
    padding: 5% 4% 6%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
  }

  /* Foto mobile: aparece entre logo y headline, 16/9 con 4 esquinas redondeadas */
  .hero-foto-mobile {
    display: block;
    width: calc(100% + 12%);
    margin-left: -6%;
    margin-right: -6%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .hero-foto-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
  }

  .logo-desktop { display: none; }
  .hero-logo .logo-mobile { display: block; height: 38px; width: auto; }

  .hero-content > .d-flex {
    justify-content: flex-start !important;
  }

  /* Headline full width, sin restricción */
  .hero-text {
    max-width: 100%;
  }

  /* CTA centrado */
  .hero-cta {
    align-self: center;
    width: 100%;
    max-width: 360px;
	text-align: center;
  }
  
  @media (max-width: 767px) {
    .cen {
    align-self: center;
    }
}

  /* ── BOTÁNICA DESKTOP ── oculta en mobile */
  .botanica {
    display: none;
  }

  /* ── BOTÁNICA MOBILE ── centrada debajo del CTA */
  .botanica-mobile {
    display: block;
    width: 98%;
    margin: 0.5rem auto 0;
  }

  /* Quitar <br> forzados del b2-headline en mobile */
  .b2-headline br {
    display: none;
  }

  /* ── BLOQUE 2 ── */
  .bloque2 {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 0rem;
    padding-bottom: 3rem;
  }

  .b2-row-2 {
    margin-top: 2rem;
    min-height: auto;
  }

  /* Iconos centrados con espacio respecto al headline */
  .b2-row-2 .col-lg-5 {
    justify-content: center;
    margin-top: 2.5rem;
  }

  .b2-icon-img {
    width: 86px;
    height: 86px;
  }

  .b2-label {
    font-size: 16px;
  }

  /* punto 23: textos iconos también blancos en mobile */
  .b2-icon-label {
    font-size: 13px;
    color: #F6E0AD;
  }

  /* punto 24: reducir interlineado del primer párrafo en mobile */
  .b2-intro {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.4;
  }

  /* ── PERSONAJES ── */
  .personaje-fila {
    min-height: 72vw;
  }

  .personaje-inner {
    padding: 5vw 5vw 0 5vw;
    min-height: 72vw;
    align-items: flex-start;
  }

  .personaje-nombre {
    font-size: 22vw;
  }

  .personaje-proceso {
    font-size: clamp(20px, 6vw, 28px);
  }

  /* Ilustración centrada en la parte inferior */
  .personaje-img {
    height: 62%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  /* ── CTAs ── */
  .ctas {
    flex-direction: column;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 2.5rem;
    gap: 1rem;
  }

  .btn-cta {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }

  /* ── CARDS ── */
  /* punto 27: quitar líneas/bordes visibles en mobile */
  .card-item,
  .card-img-wrap,
  .card-body-custom {
    border: none;
    outline: none;
  }

  .cards-section {
    padding: 3rem 1.25rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* Card verde: columna como las otras, resetea estilos tablet */
  .card-item--verde {
    grid-column: auto;
    flex-direction: column;
  }

  .card-item--verde .card-logo-area {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .card-item--verde .card-body-custom--verde {
    flex: unset;
    justify-content: flex-start;
  }

  /* ── GRAN CAFÉ ── */
  .gcafe-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .gcafe-bloque1 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .gcafe-texto {
    max-width: 100%;
  }

  /* Títulos y textos — control explícito de tamaño en mobile */
  .gcafe-titulo {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 1.25rem;
  }

  .gcafe-parrafo {
    font-size: 16px;
    line-height: 1.4;
  }

  .gcafe-bold {
    font-size: 20px;
    line-height: 1.35;
  }

  .gcafe-bold br {
    display: none;
  }

  .clientes-label {
    font-size: 20px;
  }

  /* Granos: mismo truco que desktop, pero centrado en mobile */
  .granos-bridge {
    display: block;
    position: relative;
    height: 0;
    z-index: 10;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .granos-botanica {
    position: absolute;
    left: 50%;
    top: 0;
    right: auto;
    transform: translate(-50%, -50%);
    width: 82%;
  }

  /* Espacio para acomodar mitad superior e inferior de la imagen */
  .gcafe-bloque1 {
    padding-bottom: 12rem;
  }

  .gcafe-bloque2 {
    padding-top: 12rem;
    padding-bottom: 3rem;
  }

  .clientes-contenido {
    max-width: 100%;
  }

  /* ── CTA 2 ── */
  .cta2 {
    padding: 3rem 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .cta2 .btn-cta {
    width: 100%;
    max-width: 360px;
    text-align: center;
  }

  /* ── FOOTER ── */
  .footer {
    padding: 2.5rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 1.5rem;
    gap: 2rem;
  }
    .gcafe-inner2 {
  padding-left: 3rem;
  padding-right: 3rem;
}

}
