/* =========================================
   ABOUT STORY · TREZE
========================================= */

.c-about-story{
  padding-block: clamp(72px, 10vw, 140px);
}


/* CONTAINER */

.c-about-story__container{
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
  box-sizing: border-box;
}


/* GRID */

.c-about-story__grid{
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}


/* LEFT */

.c-about-story__left{
  position: relative;
}

.c-about-story__title{
  margin: 0;
  max-width: 8ch;

  color: #0A052D;
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}


/* RIGHT */

.c-about-story__right{
  margin-top: 20vh;
  width: 100%;
  max-width: 760px;

  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
}


/* INTRO */

.c-about-story__intro{
  color: #C98028;
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.6;
}

.c-about-story__intro p{
  margin: 0;
}


/* HIGHLIGHT */

.c-about-story__highlight{
  color: #0A052D;
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 600;
  line-height: 1.45;
}


/* TEXT */

.c-about-story__text{
  color: #C98028;
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.65;
}

/* BLOQUE DE ABAJO */

/* primer párrafo azul oscuro */
.c-about-story__text.is-bottom p:first-of-type{
  color:#0A052D;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight:600;
  line-height:1.45;
}

/* segundo párrafo naranja + highlight */
.c-about-story__text.is-bottom p:nth-of-type(2){
  color:#C98028;
}

.c-about-story__text p{
  margin: 0 0 1em;
}

.c-about-story__text p:last-child{
  margin-bottom: 0;
}


/* MEDIA */

.c-about-story__media{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(12px, 1.6vw, 18px);

  align-items:start;
  overflow:hidden;
}

.c-about-story__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:6px;
}

/* pequeña → arriba izquierda */
.c-about-story__media .is-small{
  grid-column:1;
  grid-row:1;
  aspect-ratio:1 / 1; /* cuadrada */
}

/* grande → abajo derecha */
.c-about-story__media .is-big{
  grid-column:2;
  grid-row:1 / span 2; /* ocupa vertical */
  aspect-ratio:1 / 1; /* casi cuadrada pero más alta */
}

/* opcional → bajar un poco la pequeña */
.c-about-story__media .is-small{
  align-self:end;
}


/* FIX GLOBAL */

.c-about-story,
.c-about-story *{
  min-width: 0;
  box-sizing: border-box;
}


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

@media (max-width: 1100px){

  .c-about-story__grid{
	grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
	gap: clamp(28px, 4vw, 56px);
  }

  .c-about-story__right{
	max-width: 100%;
  }

  .c-about-story__title{
	font-size: clamp(34px, 4.2vw, 46px);
  }
}


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

@media (max-width: 900px){
	

  .c-about-story{
	padding-block: 72px;
  }

  .c-about-story__grid{
	grid-template-columns: 1fr;
	gap: 28px;
  }

  .c-about-story__left{
	max-width: 520px;
  }
  
  .c-about-story__right{
	margin-top: 0vh;
  }
   
  .c-about-story__title{
	max-width: 8ch;
	font-size: clamp(34px, 7vw, 48px);
  }

  .c-about-story__right{
	gap: 22px;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px){

  .c-about-story{
	padding-block: 56px;
  }

  .c-about-story__container{
	padding-inline: 16px;
  }

  .c-about-story__grid{
	gap: 24px;
  }

  .c-about-story__title{
	max-width: 20ch;
	font-size: 32px;
	line-height: 1.08;
  }

  .c-about-story__intro{
	font-size: 15px;
  }

  .c-about-story__highlight{
	font-size: 18px;
	line-height: 1.45;
  }

  .c-about-story__text{
	font-size: 15px;
	line-height: 1.65;
  }

  .c-about-story__media{
	grid-template-columns: 1fr;
	gap: 12px;
  }

  .c-about-story__media{
    grid-template-columns: 1fr;
  }
  
  .c-about-story__media .is-small,
  .c-about-story__media .is-big{
    grid-column:auto;
    grid-row:auto; /* 👈 CLAVE */
  }
}