@import url('https://fonts.googleapis.com/css2?family=Alice&family=Chakra+Petch:wght@300;400;500;600;700&family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* ICONS */

.icon-XS {
    font-size: 16px !important;
    font-variation-settings: 16 !important;
    font-weight: 600;
}

.icon-S {
    font-size: 24px !important;
    font-variation-settings: 24 !important;
}

.icon-M {
    font-size: 40px !important;
    font-variation-settings: 40 !important;
    font-weight: 300;
}

.icon-L {
    font-size: 48px !important;
    font-variation-settings: 48 !important;
}


/* Estilos Generales y Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}


body {
    font-family: var(--main-font);
    line-height: 1.5;
    /*overflow-x: clip;*/
}

h1 {
    font-family: var(--secondary-font);
    font-size: 38px;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: var(--weight-medium);
    letter-spacing: -2%;
}

h2 {
    font-size: var(--font-size-L);
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 32px;
    font-weight: var(--weight-semibold);
    height: 100%;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

h3 {
    font-family: var(--secondary-font);
    font-size: 17px;
    color: var(--secondary-color);
    line-height: 1.5em;
    margin-bottom: 0.75em;
    font-weight: var(--weight-medium);
    height: 100%;
}

h4 {
    font-family: var(--secondary-font);
    font-size: var(--font-size-XS);
    color: var(--secondary-color);
    line-height: 1.5em;
    margin-bottom: 0.75em;
    font-weight: var(--weight-semibold);
    height: 100%;
}

hr {
    display: block;
    margin-top: 1em;
    margin-bottom: 1.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: 1px;
    border-width: 1px;
    border-color: #ffffff80;
}

sup {
    font-size: var(--font-size-S) !important;
}

p {
    font-size: var(--font-size-M);
    margin-bottom: 24px;
}

/* SELECT 

::selection {
  background-color: #fff36d;
  color: #000;
}
*/


/* Contenedor Principal Adaptable (Mobile First) */
.container {
    width: 100%;
    margin: 0 auto;
}

.container-inner {
    width: 100%;
    /*max-width: 315px; */
    margin: 0 auto;
    padding: 0px 40px 0px 40px;
    padding-top: 32px;
    /*padding: clamp(40px, 3vw, 120px);*/
    padding: min(40px);
    /* Alineación a la izquierda */
    text-align: left;
    /* Cortes de palabra automáticos (Guionado) */
   /* -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
}

/* Ensure the sensor doesn't disrupt layout */
#sticky-sensor {
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 1px;
}

/* This class applies only when the header is stuck at the top */
.sticky-header.is-stuck {
    border-bottom: 1px solid #00000020;
    /* Removes the border */
    transition-delay: 0.1s;
}

/* Encabezado */
header {
    text-align: left;
    /*padding: 50px 40px 20px 40px;*/
    position: -webkit-sticky;
    /* Safari support */
    position: sticky;
    /* Activates sticky behavior */
    top: 0;
    /* Sticks exactly to the top */
    z-index: 1000;
    /* Ensures it floats above content */
    /* Optional presentation styles */
    background-color: var(--bg-color);
    padding: 30px 40px 20px 40px;
    border-bottom-color: transparent;
    transition: border-color 1.5s ease-in-out;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
}

header h1 {
    font-weight: var(--weight-semibold);
    font-size: 2rem;
    font-weight: 700;
    /*color: #111111;*/
    margin-bottom: 5px;
}

header p {
    font-size: var(--font-size-M);
    /*color: #888888;*/
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Optional: Vertically centers the elements */
}

.menu-icon {
    color: var(--secondary-color);
}

/* Imagen Principal Adaptable */
.hero-image-container {
    width: 100vw;
    /*max-width: 600px;*/
    margin-bottom: 0px;
    /*overflow: hidden;*/
}

.hero-image-container img {
    width: 100vw;
    height: auto;
    display: block;
    object-fit: cover;
    margin-top: 24px;
}

/* Secciones de Contenido */
.section {
    margin-bottom: 60px;
}

.section img {
    display: block;
    width: 100vw;
    max-width: none;
    height: auto;
    left: 50%;
    right: 50%;
    margin-left: calc(50% - 50vw);
}


.section-year {
    font-family: var(--secondary-font);
    font-size: var(--font-size-XXL);
    color: var(--secondary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: var(--weight-light);
    letter-spacing: -10%;
    font-variant-numeric: tabular-nums;

}

.section-year span {
    font-size: var(--font-size-M);
}

.section-tag {
    font-family: var(--secondary-font);
    font-size: 17px;
    color: var(--secondary-color);
    line-height: 1.5em;
    margin-bottom: 1em;
    font-weight: var(--weight-medium);
    height: 100%;
}

.section-tag2 {
    display: none;

}

.section h2 {
    font-size: 24px;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 24px;
    font-weight: var(--weight-semibold);
    /*border-left: 4px solid #D9D9D9;*/
    height: 100%;
    /*padding-left: 16px;*/
    /* Cortes de palabra automáticos (Guionado) */
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

.section p {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section p:last-child {
    margin-bottom: 0;
}

/* FOOTER */

.footer {
    font-family: var(--secondary-font);
    /*background-color: var(--surf-low-light);*/
    letter-spacing: 2%;
    margin: 0 auto;
    /*margin: 40px 40px 40px 40px;*/
    padding-top: 24px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #83838380;
}

.footer-inner {
    display: flex;
    align-items: center;
    align-items: end;
    justify-content: space-between;
    width: 100%;
}

.footer-container {
    margin-top: 100px;
    margin: 40px 40px 40px 40px;
}

.footer {
    font-size: var(--font-size-XS);
    color: var(--secondary-color);
    line-height: 1.5em;
    font-weight: var(--weight-regular);
}

.footer h2 {
    font-size: var(--font-size-S);
    color: var(--secondary-color);
    line-height: 1.5em;
    margin-bottom: 1em;
    font-weight: var(--weight-semibold);
    height: 100%;
}

.footer a {
    color: var(--secondary-color);
}

/* INTRO */

.intro-img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}
    

/* AUTHOR */

.author-img {
    width: 140px;
    height: 140px;
    margin-bottom: 32px;
}

.author-anchor {
    scroll-margin-top: 120px;
}

.author-highlight {
    transition: background-color .3s ease;
}

.author-anchor:target .author-highlight {
    background-color: #fff36d;
    padding: .08em .15em;

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.copyright-notice {
    font-family: var(--secondary-font);
    color: var(--secondary-color);
    font-size: var(--font-size-XS);
    line-height: 1.5em;

    text-align: justify;

    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/*.copyright p {
    color: var(--secondary-color);
    font-size: 13px;
    line-height: 1.5em;
    margin-top: 52px;
    margin-bottom: 40px;
}*/

/* Base link styles */
.inline-link-arrow {
    display: inline-flex;
    /* Keeps the text and arrow locked on one line */
    align-items: center;
    /* Centers them vertically */
    text-decoration: none;
    color: #323232;
    border-bottom: 1px solid #333333;
    padding-bottom: -2px;
}

.inline-link-arrow:hover span {
    text-decoration: none;
    /*color: #ff0000;*/
}

.inline-link-arrow:hover span {
    text-decoration: none;
    color: var(--primary-color);
}

.map {
    margin-bottom: 32px;
    margin-top: 32px;
    width: 100%;
}

.email a {
    color: var(--primary-color);
    text-decoration: underline solid var(--secondary-color)
}

.email a:hover {
    color: var(--secondary-color);
}

.cafecito-btn {
    width: 100%;
    text-align: left;
    margin-bottom: 60px;
    margin-top: 40px;
}


/* CTA */

.btn-cta {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 3;

  margin-top: 24px;

  font-family: var(--secondary-font);
  font-size: var(--font-size-S);
  font-size: 16px;
  font-weight: var(--weight-medium);

  color: var(--primary-color);
  text-decoration: none;

  border-bottom: 1px solid currentColor;
  padding-bottom: 0;

  transition:
    gap 0.2s ease,
    opacity 0.2s ease;
}


.btn-cta:visited {
  color: var(--primary-color);
}


.btn-cta .material-symbols-outlined {
  font-size: 20px;
}


.btn-cta:hover {
  gap: 12px;
  opacity: 0.6;
}


.btn-cta:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}


/* CTA — SOLID */

.btn-cta-solid {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 24px;

  padding: 24px 24px;

  width: 100%;
  justify-content: center;
  box-sizing: border-box;

  font-family: var(--secondary-font);
  font-size: var(--font-size-S);
  font-size: 16px;
  font-weight: var(--weight-medium);
  line-height: 1;

  color: #fff;
  background-color: var(--primary-color);

  text-decoration: none;
  border: 0;

  transition:
    gap 0.2s ease,
    opacity 0.2s ease;
}

.btn-cta-solid:link,
.btn-cta-solid:visited {
  color: #fff;
}

.btn-cta-solid .material-symbols-outlined {
  font-size: 20px !important;
  color: #fff;
}

.btn-cta-solid:hover {
  gap: 12px;
  opacity: 0.6;
}

.btn-cta-solid:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 5px;
}

/* CTA — SOLID INVERTED */

.btn-cta-solid-inverted {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 24px;

  padding: 24px 24px;

  width: 100%;
  justify-content: center;
  box-sizing: border-box;

  font-family: var(--secondary-font);
  font-size: var(--font-size-S);
  font-weight: var(--weight-medium);
  line-height: 1;

  color: var(--primary-color);
  background-color: var(--bg-color-color);

  text-decoration: none;
  border: 0;

  outline: 2px solid var(--primary-color);
  outline-offset: 5px;

  transition:
    gap 0.2s ease,
    opacity 0.2s ease;
}

.btn-cta-solid-inverted:link,
.btn-cta-solid-inverted:visited {
  color: var(--primary-color);
}

.btn-cta-solid-inverted.material-symbols-outlined {
  font-size: 20px !important;
  color: var(--primary-color);
}

.btn-cta-solid-inverted:hover {
  gap: 10px;
  opacity: 0.6;
}

.btn-cta-solid-inverted:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 5px;
}



/* CTA — INSTAGRAM */

.btn-cta.instagram-link {
  border-bottom: 0;
}


.btn-cta.instagram-link .btn-cta-label,
.btn-cta.instagram-link .material-symbols-outlined {
    font-weight: var(--weight-semibold);
    font-size: 18px;
    
  background: linear-gradient(
    45deg,
    #fdf497 0%,
    #fd5949 25%,
    #d6249f 60%,
    #285aeb 100%
  );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;
}


/* Línea inferior Instagram */

.btn-cta.instagram-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background: linear-gradient(
    45deg,
    #fdf497 0%,
    #fd5949 25%,
    #d6249f 60%,
    #285aeb 100%
  );
}


/* LINK GENERAL */

.text-link,
.text-link:visited {
  color: var(--primary-color);
  text-decoration-line: underline;
  text-decoration-color: var(--secondary-color);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;

  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.text-link:hover {
  color: var(--secondary-color);
  text-decoration-color: currentColor;
}