/* =========================================================
   FUENTES OFICIALES KIKO PRO
========================================================= */

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-Thin.woff2") format("woff2"),
    url("../fonts/KIKOPro-Thin.woff") format("woff");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-ExtraLight.woff2") format("woff2"),
    url("../fonts/KIKOPro-ExtraLight.woff") format("woff");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-Light.woff2") format("woff2"),
    url("../fonts/KIKOPro-Light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-Regular.woff2") format("woff2"),
    url("../fonts/KIKOPro-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-SemiBold.woff2") format("woff2"),
    url("../fonts/KIKOPro-SemiBold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-Bold.woff2") format("woff2"),
    url("../fonts/KIKOPro-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "KIKO Pro";
  src:
    url("../fonts/KIKOPro-Black.woff2") format("woff2"),
    url("../fonts/KIKOPro-Black.woff") format("woff");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}


/* =========================================================
   VARIABLES 
========================================================= */

:root {
  --color-text: #252b2e;
  --color-white: #ffffff;

  --page-max-width: 1920px;
  --page-padding: 30px;
  --grid-gap: 14px;

  --font-kiko:
    "KIKO Pro",
    Arial,
    sans-serif;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
}

body {
  width: 100%;
  min-height: 100%;
  margin: 0;

  color: var(--color-text);
  background: var(--color-white);

  font-family: var(--font-kiko);
  font-weight: 400;

  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  width: 100%;

  /*
   * Se reservan 48px para el header que será
   * agregado posteriormente.
   */
  height: calc(100vh - 48px);
  height: calc(100svh - 48px);

  overflow: hidden;

  background-color: #d9938f;
}


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

.hero__image-link {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: block;

  width: 100%;
  height: 100%;
}

.hero__image-link picture {
  display: block;

  width: 100%;
  height: 100%;
}

.hero__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  border: 0;

  user-select: none;
  -webkit-user-drag: none;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.hero__container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: var(--page-max-width);
  height: 100%;

  margin-inline: auto;
  padding-inline: var(--page-padding);

  pointer-events: none;
}


/* =========================================================
   CUADRÍCULA DE 12 COLUMNAS
========================================================= */

.hero__grid {
  display: grid;

  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);

  width: 100%;
  height: 100%;
}


/* =========================================================
   PANEL
========================================================= */

.hero__panel {
  grid-column: 1 / -1;

  align-self: end;

  display: flex;
  flex-direction: column;
  gap: 8px;

  margin-bottom: 40px;
  padding: 16px;

  color: var(--color-text);

  background:
    linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.5),
      rgba(255, 255, 255, 0.2)
    );

  border-radius: 12px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  pointer-events: auto;
}


/* =========================================================
   TÍTULO
========================================================= */

.hero__title {
  margin: 0;

  color: var(--color-text);

  font-family: var(--font-kiko);

  /*
   * Valor base utilizado por KIKO en celular,
   * tablet y pantallas menores a 1280px.
   */
  font-size: 2rem;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.03em;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.hero__subtitle {
  color: var(--color-text);

  font-family: var(--font-kiko);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;

  letter-spacing: 0.18em;
  text-transform: uppercase;
}


/* =========================================================
   BOTÓN / ENLACE
========================================================= */

.hero__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 3px;

  min-height: 20px;

  color: var(--color-text);

  font-family: var(--font-kiko);
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;

  text-transform: uppercase;

  transition:
    gap 180ms ease,
    opacity 180ms ease;
}

.hero__cta span {
  line-height: 17px;
  border-bottom: 1px solid currentColor;
}

.hero__cta svg {
  flex: 0 0 auto;

  width: 18px;
  height: 18px;
}

.hero__cta:hover {
  gap: 8px;
  opacity: 0.7;
}


/* =========================================================
   DESKTOP DESDE 900PX
   Cambia solamente la posición y el ancho del panel
========================================================= */

@media (min-width: 900px) {
  .hero__panel {
    /*
     * Configuración mostrada en el inspector:
     * grid-column: 1 / span 4;
     */
    grid-column: 1 / span 4;

    margin-bottom: 80px;
  }
}


/* =========================================================
   TÍTULO GRANDE DESDE 1280PX
========================================================= */

@media (min-width: 1280px) {
  .hero__title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 105%;
    letter-spacing: -0.03em;
  }
}


/* =========================================================
   DESKTOP GRANDE
========================================================= */

@media (min-width: 1921px) {
  .hero__container {
    max-width: 100%;
  }
}


/* =========================================================
   TABLET Y MÓVIL
========================================================= */

@media (max-width: 899px) {
  :root {
    --page-padding: 16px;
    --grid-gap: 10px;
  }

  .hero {
    height: calc(100svh - 48px);
  }

  .hero__panel {
    grid-column: 1 / -1;

    width: 100%;

    margin-bottom: 40px;
  }

  .hero__title {
    font-family: var(--font-kiko);
    font-size: 2rem;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.03em;
  }
}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 480px) {
  .hero__panel {
    padding: 16px;
  }

  .hero__subtitle {
    font-size: 11px;
  }

  .hero__cta {
    font-size: 11px;
  }
}







/* =========================================================
   NUESTRA MISIÓN
========================================================= */

.mission {
  width: 100%;

  padding-block: 24px;

  color: var(--color-text);
  background-color: var(--color-white);
}


/* =========================================================
   CONTENEDOR
========================================================= */

.mission__container {
  width: 100%;
  max-width: var(--page-max-width);

  margin-inline: auto;
  padding-inline: 16px;

  text-align: center;
}


/* =========================================================
   CUADRÍCULA
========================================================= */

.mission__grid {
  display: grid;

  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 32px;

  align-items: center;

  width: 100%;
}


/* =========================================================
   COLUMNA DE TEXTO
========================================================= */

.mission__copy {
  grid-column: 1 / -1;

  display: flex;
  flex-direction: column;

  width: 100%;
}


/* =========================================================
   TÍTULO PEQUEÑO
========================================================= */

.mission__eyebrow {
  /*
   * CAMBIO:
   * El sitio original separa este texto del título
   * mediante un margin-bottom de 16px.
   */
  margin-bottom: 16px;

  color: var(--color-text);

  font-family: var(--font-kiko);
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;

  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* =========================================================
   TEXTO DESTACADO
========================================================= */

.mission__title {
  /*
   * CAMBIO:
   * Antes tenía margin-top: 24px.
   * Ahora el espacio lo controla .mission__eyebrow
   * con los 16px que utiliza la página original.
   */
  margin-top: 0;

  color: var(--color-text);

  font-family: var(--font-kiko);
  font-size: 2rem;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.03em;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.mission__body {
  margin-top: 32px;

  color: var(--color-text);

  font-family: var(--font-kiko);
  font-size: .875rem;      /*revisar bien esta medida ya que la letra es muy pequeña*/
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -0.02em;

  text-align: left;
}

.mission__body p {
  margin: 0;
}

.mission__body strong,
.mission__body b {
  font-family: var(--font-kiko);
  font-weight: 700;
}

.mission__body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* =========================================================
   LISTA DE CANALES
========================================================= */

.mission__channels {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 16px 0 0;
  padding-left: 20px;
}

.mission__channels li {
  padding-left: 2px;
}


/* =========================================================
   TEXTO DE GARANTÍA
========================================================= */

.mission__guarantee {
  margin-top: 16px !important;
}


/* =========================================================
   BLOQUE FINAL
========================================================= */

.mission__commitment {
  margin-top: 32px;
}

.mission__commitment p + p {
  margin-top: 0;
}


/* =========================================================
   COLUMNA DE IMÁGENES
========================================================= */

.mission__visual {
  grid-column: 1 / -1;

  width: 100%;
}


/*
 * Medidas máximas del mosaico oficial:
 *
 * Imagen principal: 528px × 660px
 * Imágenes pequeñas: 256px × 256px
 * Separación: 16px
 * Ancho total: 800px
 */

.mission__mosaic {
  display: grid;

  /*
   * Mosaico oficial:
   * columna principal automática
   * columna lateral del 32%
   */
  grid-template-columns: minmax(0, 1fr) 32%;

  align-items: stretch;
  gap: 16px;

  width: 100%;
  max-width: 800px;

  margin-inline: auto;
}


/* =========================================================
   COLUMNA DE IMÁGENES PEQUEÑAS
========================================================= */

.mission__stack {
  display: flex;
  flex-direction: column;
  justify-content: center;

  gap: 16px;

  width: 100%;
  height: 100%;
}


/* =========================================================
   CONTENEDORES DE IMÁGENES
========================================================= */

.mission__media {
  position: relative;

  width: 100%;
  margin: 0;

  overflow: hidden;

  border-radius: 16px;
}

.mission__media--main {
  aspect-ratio: 4 / 5;
}

.mission__media--small {
  aspect-ratio: 1 / 1;
}


/* =========================================================
   IMÁGENES
========================================================= */

.mission__media img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  user-select: none;
  -webkit-user-drag: none;
}

/* =========================================================
   ACERCAMIENTO DE LA IMAGEN DE PRODUCTOS
========================================================= */

.mission__media--products img {
  /*
   * Mantiene el acercamiento y mueve la fotografía
   * ligeramente hacia la derecha.
   */
  transform: translateX(25%) scale(1.90);
  transform-origin: center center;
}


/* =========================================================
   DESKTOP DESDE 900PX
========================================================= */

@media (min-width: 900px) {
  .mission__grid {
    row-gap: 0;
  }

  .mission__copy {
    grid-column: 1 / span 5;

    padding-inline: 24px;

    /*
     * CAMBIO:
     * El contenido debe comenzar desde la parte superior
     * de la altura reservada para la columna.
     */
    justify-content: flex-start;
  }

  .mission__visual {
    grid-column: 6 / span 7;

    padding-inline: 36px;
  }
}


/* =========================================================
   DESKTOP DESDE 1280PX
========================================================= */

@media (min-width: 1280px) {
  .mission__container {
    padding-inline: 32px;
  }

  .mission__copy {
    /*
     * CAMBIO:
     * La columna original mide aproximadamente 483.2px.
     * Como el contenido chileno es más corto, esta altura
     * conserva la misma posición vertical que KIKO Brasil.
     */
    min-height: 483.2px;
  }

  .mission__eyebrow {
    font-size: 16px;
  }
}


/* =========================================================
   TABLET Y MÓVIL seccion mision
========================================================= */

@media (max-width: 899px) {
  .mission__copy {
    max-width: 720px;

    margin-inline: auto;
  }

  .mission__grid {
    /*
     * CAMBIO:
     * El espacio antes de las imágenes lo controlará
     * directamente el mosaico.
     */
    row-gap: 0;
  }

  .mission__visual {
    /*
     * CAMBIO:
     * El mosaico oficial comienza 24px después del texto.
     */
    margin-top: 24px;
  }

  .mission__mosaic {
    /*
     * CAMBIO:
     * En móvil, KIKO usa dos columnas iguales.
     */
    grid-template-columns: repeat(2, minmax(0, 1fr));

    /*
     * CAMBIO:
     * Separación oficial observada en el inspector.
     */
    gap: 12px;

    width: 100%;
    max-width: none;
  }

  .mission__media--main {
    /*
     * CAMBIO:
     * La imagen principal ocupa las dos columnas.
     */
    grid-column: 1 / -1;
  }

  .mission__stack {
    /*
     * CAMBIO:
     * Elimina visualmente el contenedor intermedio para que
     * las dos imágenes pequeñas se conviertan en elementos
     * directos de la cuadrícula.
     */
    display: contents;
  }

  .mission__media--small {
    /*
     * Cada imagen pequeña ocupa una columna.
     */
    grid-column: auto;
  }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 480px) {
  .mission__title {
    font-size: 2rem;
    line-height: 120%;
  }

  .mission__body {
    font-size: 0.875rem;
    line-height: 120%;
    letter-spacing: -0.02em;
  }

  .mission__mosaic {
    gap: 12px;
  }

  .mission__stack {
    gap: 12px;
  }

  .mission__media {
    border-radius: 12px;
  }
}





/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  width: 100%;

  color: var(--color-text);
  background-color: var(--color-white);

  /*
   * Sombra observada en el footer original.
   */
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.1);
}


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

.site-footer__main {
  display: grid;

  /*
   * La zona social ocupa el espacio disponible.
   * El selector conserva un ancho similar al original.
   */
  grid-template-columns:
    minmax(0, 1fr)
    minmax(520px, 680px);

  align-items: center;
  gap: 32px;

  width: 100%;
  max-width: var(--page-max-width);

  min-height: 88px;

  margin-inline: auto;

  /*
   * El inspector oficial muestra 24px verticales
   * y 32px laterales en escritorio.
   */
  padding: 24px 32px;
}


/* =========================================================
   RED SOCIAL
========================================================= */

.site-footer__social {
  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: 24px;

  min-width: 0;
  height: 40px;
}


/* Texto "SÍGUENOS EN" */

.site-footer__social-label {
  font-family: var(--font-kiko);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 140%;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  white-space: nowrap;
}


/* Enlace de Instagram */

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  color: var(--color-text);

  /*
   * CAMBIO:
   * Se eliminan las transiciones para que el icono
   * permanezca completamente estático.
   */
  transition: none;
}

.site-footer__social-link svg {
  display: block;

  width: 20px;
  height: 20px;

  /*
   * CAMBIO:
   * Garantiza que el SVG use el color del enlace.
   */
  color: inherit;
}


/*
 * CAMBIO:
 * El icono no se mueve ni cambia su transparencia
 * al posicionar el mouse.
 */
.site-footer__social-link:hover,
.site-footer__social-link:active {
  color: var(--color-text);
  opacity: 1;
  transform: none;
}


/*
 * Se conserva únicamente el indicador para quienes
 * navegan con teclado.
 */
.site-footer__social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


/* =========================================================
   PAÍS E IDIOMA
========================================================= */

.site-footer__preferences {
  display: grid;
  grid-template-columns:
    minmax(120px, 1fr)
    minmax(120px, 1fr)
    auto;

  align-items: center;
  column-gap: 24px;

  width: 100%;
  min-height: 40px;

  padding-inline: 16px;

  background-color: var(--color-white);

  border-radius: 4px;

  /*
   * Sombra del selector observada en la referencia.
   */
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}


/* Cada grupo: PAÍS CL / IDIOMA ES */

.site-footer__preference {
  display: flex;
  align-items: center;

  gap: 8px;

  min-width: 0;

  font-family: var(--font-kiko);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 140%;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  white-space: nowrap;
}

.site-footer__preference-label {
  opacity: 0.7;
}

.site-footer__preference-value {
  font-weight: 700;
}


/* Bandera */

.site-footer__flag {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;
}


/* =========================================================
   BOTÓN CAMBIAR
========================================================= */

.site-footer__change {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;

  gap: 8px;

  min-height: 40px;
  padding: 0;

  color: var(--color-text);
  background: transparent;

  border: 0;

  font-family: var(--font-kiko);
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 140%;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  cursor: pointer;
}

.site-footer__change span {
  border-bottom: 1px solid currentColor;
}

.site-footer__change svg {
  flex: 0 0 auto;

  width: 18px;
  height: 18px;
}

.site-footer__change:hover {
  opacity: 0.65;
}

.site-footer__change:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}


/* =========================================================
   BARRA LEGAL INFERIOR
========================================================= */

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 5px;

  width: 100%;
  min-height: 31px;

  padding: 6px 16px;

  color: var(--color-white);
  background-color: #252b2e;

  font-family: var(--font-kiko);
  font-size: 0.5rem;
  font-weight: 400;
  line-height: 140%;

  text-align: center;
}

.site-footer__legal a {
  color: inherit;

  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__legal a:hover {
  opacity: 0.7;
}

.site-footer__legal-separator {
  opacity: 0.7;
}


/* =========================================================
   TABLET Y MÓVIL
   Distribución provisional hasta comparar el footer oficial
   en 414 × 846.
========================================================= */

@media (max-width: 899px) {
  .site-footer__main {
    grid-template-columns: 1fr;

    gap: 16px;

    min-height: auto;

    padding: 24px 16px;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__preferences {
    width: 100%;
  }
}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 480px) {
  .site-footer__preferences {
    /*
     * CAMBIO:
     * En la página original el bloque móvil utiliza flex,
     * no una cuadrícula de dos filas.
     */
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    width: 100%;
    min-height: 40px;

    padding: 12px 16px;
  }

  .site-footer__preference {
    /*
     * CAMBIO:
     * Impide que PAÍS e IDIOMA se estiren o salten
     * a una segunda línea.
     */
    flex: 0 0 auto;

    gap: 6px;
  }

  .site-footer__preference:nth-child(2) {
    /*
     * CAMBIO:
     * Ya no debe alinearse al extremo mediante la regla
     * anterior. Flexbox distribuye los tres elementos.
     */
    justify-content: center;
  }

  .site-footer__change {
    /*
     * CAMBIO:
     * El botón vuelve a la misma fila.
     */
    flex: 0 0 auto;
    grid-column: auto;

    justify-content: flex-end;

    min-height: 20px;
  }

  .site-footer__legal {
    padding-inline: 12px;
  }
}