@charset "UTF-8";
/* VARIABLES CSS ORIGINALES */
:root {
  --gutter: 2.4rem;
  --content-padding-top: 10rem;
  --content-padding-bottom: 4rem;
  --color-text: var(--color-gray-19);
  --color-text-light: var(--color-gray-15);
  --color-text-dark: #111;
  --color-white: #fff;
  --color-1: #e14d2a;
  --color-1-light: hsla(12, 75%, 55%, 1);
  --color-3: hsla(0, 0%, 10%, 1);
  --color-3-dark: hsla(0, 0%, 8%, 1);
  --color-gray-10: #eceeec;
  --color-gray-11: #d4d6d4;
  --color-gray-15: #767776;
  --color-gray-19: #181818;
  --color-btn-stroke: white;
  --color-btn-stroke-text: white;
  --font-1: "Public Sans", Sans-serif;
  --text-display-1: calc(var(--text-xxxl) * var(--text-scale-ratio));
  --text-scale-ratio: 1.2;
  --text-size: var(--base-font-size);
  --text-xs: calc((var(--text-size) / var(--text-scale-ratio)) / var(--text-scale-ratio));
  --text-sm: calc(var(--text-xs) * var(--text-scale-ratio));
  --text-md: calc(var(--text-sm) * var(--text-scale-ratio) * var(--text-scale-ratio));
  --text-lg: calc(var(--text-md) * var(--text-scale-ratio));
  --text-xl: calc(var(--text-lg) * var(--text-scale-ratio));
  --text-xxl: calc(var(--text-xl) * var(--text-scale-ratio));
  --text-xxxl: calc(var(--text-xxl) * var(--text-scale-ratio));
  --text-display-1: calc(var(--text-xxxl) * var(--text-scale-ratio));
  --text-huge-3: calc(var(--text-huge-2) * var(--text-scale-ratio));
  --base-font-size: calc(2rem * var(--multiplier));
  --multiplier: 1;
  --space: calc(3.2rem * var(--multiplier));
  --vspace-0_5: calc(0.5 * var(--space));
  --vspace-0_625: calc(0.625 * var(--space));
  --vspace-1_25: calc(1.25 * var(--space));
  --vspace-1_5: calc(1.5 * var(--space));
  --vspace-3: calc(3 * var(--space));
  --vspace-3_5: calc(3.5 * var(--space));
  --vspace-7: calc(7 * var(--space));
  --vspace-2_5: calc(2.5 * var(--space));
  --width-grid-max: 1920px;
  --width-default: 1280px;
}

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

body {
  font-family: system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

/* ===============================
   HEADER
=============================== */
.s-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: transform 0.4s ease, opacity 0.3s ease, background-color 0.3s ease;
}
.s-header__inner {
  width: min(92%, var(--width-grid-max));
  margin: 0 auto;
  padding: 2.4rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.s-header__logo img {
  height: 36px;
}
.s-header__nav ul {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.s-header__nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
.s-header__menu-toggle {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1010;
}
.s-header__menu-toggle span {
  font-size: 0;
}
.s-header__menu-toggle::before, .s-header__menu-toggle::after,
.s-header__menu-toggle span::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: white;
  transition: 0.3s ease;
}
.s-header__menu-toggle::before {
  top: 0;
}
.s-header__menu-toggle span::before {
  top: 9px;
}
.s-header__menu-toggle::after {
  bottom: 0;
}
.s-header {
  /* ESTADOS */
}
.s-header.header--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.s-header.header--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.s-header.header--dark {
  background-color: black;
}

/* ===============================
   MENÚ MÓVIL
=============================== */
@media (max-width: 992px) {
  .s-header__menu-toggle {
    display: block;
  }
  .s-header__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1000;
  }
  .s-header__nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
  }
  .s-header__nav li {
    width: 100%;
  }
  .s-header__nav a {
    display: block;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    width: 100%;
    transition: color 0.3s;
  }
  body.menu-is-open .s-header__nav {
    transform: translateX(0);
  }
}
.s-header__nav li.current a {
  color: white;
  font-weight: 600;
  position: relative;
}

.s-header__nav li.current a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: white;
}

.s-intro {
  position: relative;
  min-height: 100vh;
  background: #111;
  color: white;
  overflow: hidden;
}
.s-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.s-intro__content {
  align-self: end;
  padding-left: clamp(4rem, 8vw, 10rem);
  padding-bottom: var(--content-padding-bottom);
  z-index: 2;
}
.s-intro__content-pretitle {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-1);
}
.s-intro__content-title {
  font-size: clamp(1.8rem, 2vw, 4.8rem);
  line-height: 1.05;
  margin: 2rem 0;
}
.s-intro__content-subtitle {
  font-size: clamp(3.8rem, 4.5vw, 6.8rem);
  line-height: 1.4;
  margin: 2rem 0;
}
.s-intro__content-btns {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.s-intro__content-btns .btn {
  min-width: 16rem;
  min-height: 0;
  height: auto;
  padding: 1.1rem 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}
.s-intro__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}
.s-intro {
  /* SOCIAL */
}
.s-intro__social {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  right: 4.5rem;
  bottom: 30%;
  list-style: none;
  z-index: 3;
}
.s-intro__social a {
  font-size: 0;
}
.s-intro__social svg {
  fill: white;
}
.s-intro {
  /* DOWNLOAD */
}
.s-intro__btn-download {
  position: absolute;
  bottom: calc(var(--content-padding-bottom) + 0.15rem);
  left: 50%;
  z-index: 3;
}
.s-intro .s-intro__btn-download .btn {
  min-height: 0;
  height: auto;
  padding: 1.1rem 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.s-intro .s-intro__btn-download .btn {
  position: relative;
  overflow: hidden;
}
.s-intro .s-intro__btn-download .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.1);
  z-index: -1;
}
.s-intro {
  /* SCROLL */
}
.s-intro__scroll-down {
  --line-length: 8rem;
  z-index: 10;
  position: absolute;
  bottom: 4rem;
  right: var(--gutter);
  pointer-events: auto;
}
.s-intro__scroll-down a {
  display: inline-flex;
  align-items: center;
  color: white;
}
.s-intro__scroll-down .scroll-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5.6rem;
  width: 5.6rem;
  border-radius: 50%;
  border: 2px solid white;
}
.s-intro__scroll-down svg {
  height: calc(0.3 * var(--space));
  width: calc(0.3 * var(--space));
}
.s-intro__scroll-down svg path {
  fill: white;
}
.s-intro__scroll-down span {
  display: block;
  font-family: var(--font-1);
  font-size: var(--text-size);
  font-weight: 300;
  line-height: var(--vspace-2);
}
.s-intro__scroll-down .u-screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  position: absolute;
  word-wrap: normal !important;
}
.s-intro__scroll-down:hover svg {
  opacity: 1;
  transform: translateY(4px);
}
.s-intro {
  /* TABLET */
}
@media (max-width: 992px) {
  .s-intro__grid {
    grid-template-columns: 1fr;
  }
  .s-intro__content {
    position: relative;
    z-index: 2;
    align-self: center;
    text-align: center;
    padding: var(--content-padding-top) var(--gutter);
  }
  .s-intro__content-btns {
    flex-direction: column;
    align-items: center;
  }
  .s-intro__btn-download {
    left: var(--gutter);
    bottom: 2.4rem;
  }
  .s-intro__scroll-down {
    right: var(--gutter);
    bottom: 2.4rem;
  }
  .s-intro__media {
    position: absolute;
    inset: 0;
    z-index: 1;
  }
  .s-intro__media img {
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.s-intro {
  /* MOBILE — REVERTIDO A LA VERSIÓN ANTERIOR */
}
@media (max-width: 768px) {
  .s-intro {
    min-height: 100svh;
  }
  .s-intro__grid {
    min-height: 100svh;
  }
  .s-intro__content {
    position: relative;
    z-index: 3;
    align-self: end;
    text-align: left;
    padding: 0 1rem 3.5rem 2rem;
    max-width: 100%;
  }
  .s-intro__content-pretitle {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.5rem;
    letter-spacing: 0.3em;
  }
  .s-intro__content-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    line-height: 1;
    max-width: 6ch;
  }
  .s-intro__content-subtitle {
    margin: 0;
    font-size: clamp(1.45rem, 6.4vw, 1.8rem);
    line-height: 0.95;
    max-width: none;
  }
  .s-intro__content-subtitle span {
    display: block;
    white-space: nowrap;
  }
  .s-intro__content-btns {
    display: none;
  }
  .s-intro__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
  }
  .s-intro__media img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 42% center;
       object-position: 42% center;
  }
  .s-intro__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.72) 100%), linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.55) 34%, rgba(0, 0, 0, 0.12) 100%);
    pointer-events: none;
  }
  .s-intro__social {
    display: none;
  }
  .s-intro__btn-download {
    display: none;
  }
  .s-intro__scroll-down {
    right: 1rem;
    bottom: 1rem;
  }
  .s-intro__scroll-down .scroll-icon {
    width: 2.8rem;
    height: 2.8rem;
    border-width: 1px;
  }
}

/* ================= BUTTON (GLOBAL) ================= */
.btn {
  display: inline-block;
  padding: 1.2rem 3.2rem;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  transition: all 0.3s ease;
}

/* ================= BUTTON MODIFIER ================= */
.s-intro__content-btns .btn--stroke {
  background: white !important;
  color: var(--color-text-dark);
  border: 2px solid white;
}

/* TABLET ≤1080px */
@media (max-width: 992px) {
  .btn--stroke {
    background: transparent;
    color: white;
    border: 2px solid white;
  }
}
/* MOBILE ≤600px */
@media (max-width: 768px) {
  .btn--stroke {
    background: transparent;
    color: white;
    border: none;
  }
}
/* -------------------------------------------------------------------
 * ABOUT SECTION
 * ------------------------------------------------------------------- */
.s-about {
  padding-top: clamp(6rem, 8vw, 20rem);
  color: var(--color-3);
  width: min(80%, var(--width-grid-max));
  margin: 0 auto;
  /* ---------------------------------------------------------------
   * INNER CONTAINER
   * --------------------------------------------------------------- */
}
.s-about__inner {
  margin-inline: auto;
}
.s-about {
  /* ---------------------------------------------------------------
   * SECTION HEADER
   * --------------------------------------------------------------- */
}
.s-about .s-about__header {
  position: relative;
  margin-bottom: clamp(6rem, 12vw, 9.6rem);
}
.s-about .s-about__header::before {
  content: attr(data-num);
  position: absolute;
  /* centrado VERTICAL respecto al h2 */
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-secondary);
  font-size: clamp(10rem, 18vw, 16rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-gray-300);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.s-about .s-about__header .text-display-title {
  position: relative;
  z-index: 1;
  padding-left: clamp(4rem, 6vw, 7rem);
}
.s-about {
  /* ---------------------------------------------------------------
   * TITLE
   * --------------------------------------------------------------- */
}
.s-about .text-display-title {
  font-family: "Castoro", serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  padding-top: 0.5em;
}
.s-about {
  /* ---------------------------------------------------------------
   * INTRO TEXT
   * --------------------------------------------------------------- */
}
.s-about .attention-getter {
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.4rem);
  line-height: 1.7;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}
.s-about {
  /* ---------------------------------------------------------------
   * GRID BLOCKS (Experience / Awards / Skills)
   * --------------------------------------------------------------- */
}
.s-about__grid {
  --gap: calc(var(--gutter) * 0.2);
  --min-width: 300px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min-width), 100%), 1fr));
  gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 6rem);
}
.s-about__item {
  margin-bottom: clamp(1rem, 2vw, 2rem);
}
.s-about {
  /* ---------------------------------------------------------------
   * BLOCK TITLES
   * --------------------------------------------------------------- */
}
.s-about__block-title {
  font-family: "Castoro", serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  padding-left: 1.45rem;
  position: relative;
}
.s-about__block-title::before {
  content: "";
  width: 3px;
  height: 0.9em;
  background-color: var(--color-1);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.s-about {
  /* ---------------------------------------------------------------
   * LISTS
   * --------------------------------------------------------------- */
}
.s-about__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.s-about__list li {
  font-family: "Public Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.4;
  margin-bottom: clamp(1.2rem, 2vw, 1.6rem);
}
.s-about__list span {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.3;
  color: var(--color-text-light);
}
.s-about__list a {
  color: var(--color-text);
  text-decoration: none;
}
.s-about__list a:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------
 * GALLERY SECTION
 * ------------------------------------------------------------------- */
.s-gallery {
  padding-top: clamp(6rem, 8vw, 8rem);
  color: var(--color-3);
  width: min(80%, var(--width-grid-max));
  margin: 0 auto;
}

/* -------------------------------------------------------------------
 * SECTION HEADER
 * Mismo tratamiento visual que .s-about__header
 * ------------------------------------------------------------------- */
.s-gallery__header {
  position: relative;
  margin-bottom: clamp(6rem, 12vw, 9.6rem);
}
.s-gallery__header::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-secondary);
  font-size: clamp(10rem, 18vw, 16rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-gray-300);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.s-gallery__header .text-display-title {
  position: relative;
  z-index: 1;
  padding-left: clamp(4rem, 6vw, 7rem);
}

/* -------------------------------------------------------------------
 * TITLE
 * ------------------------------------------------------------------- */
.text-display-title {
  font-family: "Castoro", serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  padding-top: 0.5em;
}

/* -------------------------------------------------------------------
 * GRID
 * ------------------------------------------------------------------- */
.s-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -moz-column-gap: clamp(1rem, 1.5vw, 2rem);
       column-gap: clamp(1rem, 1.5vw, 2rem);
  row-gap: clamp(1rem, 1.5vw, 2rem);
  margin-top: 0;
}

@media (max-width: 768px) {
  .s-gallery__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
/* -------------------------------------------------------------------
 * GRID ITEM
 * ------------------------------------------------------------------- */
.s-gallery__item {
  position: relative;
  border: 0;
  padding: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.s-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.45s ease;
}

/* -------------------------------------------------------------------
 * PROJECT OVERLAY
 * ------------------------------------------------------------------- */
.s-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 2vw, 2rem);
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0.08) 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* -------------------------------------------------------------------
 * PROJECT META
 * ------------------------------------------------------------------- */
.s-gallery__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 75%;
  transform: translateY(18px);
  transition: transform 0.35s ease;
}

.s-gallery__meta strong {
  font-family: "Castoro", serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
}

.s-gallery__meta > span {
  font-family: "Public Sans", sans-serif;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}

/* -------------------------------------------------------------------
 * VIEW PROJECT
 * ------------------------------------------------------------------- */
.s-gallery__view {
  position: absolute;
  top: auto;
  left: auto;
  right: clamp(0.65rem, 1vw, 1rem);
  bottom: clamp(0.65rem, 1vw, 1rem);
  display: inline-block;
  width: auto;
  max-width: -moz-max-content;
  max-width: max-content;
  padding: 0;
  font-family: "Public Sans", sans-serif;
  font-size: clamp(0.58rem, 0.75vw, 0.72rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  opacity: 0;
  transform: translateY(6px);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* -------------------------------------------------------------------
 * HOVER
 * ------------------------------------------------------------------- */
.s-gallery__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.s-gallery__item:hover img {
  filter: brightness(0.82);
}

.s-gallery__item:hover .s-gallery__overlay {
  opacity: 1;
}

.s-gallery__item:hover .s-gallery__meta {
  transform: translateY(0);
}

.s-gallery__item:hover .s-gallery__view {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------
 * MOBILE
 * El 02 conserva la misma escala y posición del 01.
 * ------------------------------------------------------------------- */
@media (max-width: 768px) {
  .s-gallery__overlay {
    opacity: 1;
    padding: 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.32) 42%, transparent 68%);
  }
  .s-gallery__meta {
    transform: none;
    gap: 0.1rem;
    max-width: 75%;
  }
  .s-gallery__meta strong {
    font-size: 0.95rem;
    line-height: 1.1;
  }
  .s-gallery__meta > span {
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
  }
  .s-gallery__view {
    right: 0.75rem;
    bottom: 0.75rem;
    font-size: 0.6rem;
    opacity: 0.9;
    transform: none;
  }
  .s-gallery__item:hover {
    transform: none;
    box-shadow: none;
  }
  .s-gallery__item:hover img {
    filter: none;
  }
}
/* -------------------------------------------------------------------
 * MODAL BASE
 * ------------------------------------------------------------------- */
.gallery-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  z-index: 100;
}

.gallery-modal.is-active {
  display: grid;
  place-items: center;
}

/* -------------------------------------------------------------------
 * MODAL CONTENT
 * ------------------------------------------------------------------- */
.gallery-modal__content {
  max-width: clamp(300px, 80vw, 1000px);
  padding: clamp(1rem, 4vw, 3rem);
}

@media (max-width: 768px) {
  .gallery-modal__content {
    max-width: 100%;
    padding: 1.5rem;
  }
}
.gallery-modal__figure {
  text-align: center;
}

.gallery-modal__image {
  max-width: 100%;
  max-height: 70vh;
  -o-object-fit: contain;
     object-fit: contain;
}

@media (max-width: 768px) {
  .gallery-modal__image {
    max-height: 60vh;
  }
}
/* -------------------------------------------------------------------
 * CAPTION
 * ------------------------------------------------------------------- */
.gallery-modal__caption {
  margin-top: clamp(1rem, 3vw, 2rem);
  color: #fff;
}

/* -------------------------------------------------------------------
 * MODAL CLOSE
 * ------------------------------------------------------------------- */
.gallery-modal__close {
  position: absolute;
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.gallery-modal__close:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .gallery-modal__close {
    top: 0.75rem;
    right: 0.75rem;
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }
}
/* -------------------------------------------------------------------
 * MODAL NAVIGATION
 * ------------------------------------------------------------------- */
.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-modal__nav--prev {
  left: clamp(1rem, 3vw, 3rem);
}

.gallery-modal__nav--next {
  right: clamp(1rem, 3vw, 3rem);
}

/* -------------------------------------------------------------------
 * TESTIMONIALS SECTION
 * ------------------------------------------------------------------- */
.s-testimonials {
  padding-block: clamp(4rem, 8vw, 8rem);
  color: var(--color-text);
  width: min(80%, var(--width-grid-max));
  margin: 0 auto;
}

.s-testimonials__inner {
  width: min(92%, var(--width-grid-max));
  margin-inline: auto;
}

.s-testimonials__header {
  font-family: "Castoro", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.s-testimonials__slider {
  position: relative;
  overflow: hidden;
}

.s-testimonials__track {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.s-testimonials__track::-webkit-scrollbar {
  display: none;
}

.s-testimonials__slide {
  flex: 0 0 33.3333333333%;
  scroll-snap-align: start;
  background-color: var(--color-bg-alt);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 992px) {
  .s-testimonials__slide {
    flex: 0 0 50%;
  }
}
@media (max-width: 768px) {
  .s-testimonials__slide {
    flex: 0 0 100%;
  }
  .s-testimonials__track {
    gap: 1.5rem;
  }
}
.s-testimonials__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.s-testimonials__avatar {
  width: clamp(48px, 6vw, 64px);
  height: clamp(48px, 6vw, 64px);
  -o-object-fit: cover;
     object-fit: cover;
  clip-path: circle(50% at 50% 50%);
}

.s-testimonials__cite {
  font-style: normal;
}
.s-testimonials__cite strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}
.s-testimonials__cite span {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.s-testimonials__slide p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.s-testimonials__pagination {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.s-testimonials__bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gray-400);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.s-testimonials__bullet:hover {
  transform: scale(1.2);
}

.s-numbers {
  background-color: var(--color-gray-10);
  width: 100%;
  padding: clamp(6rem, 12vw, 17.6rem) 0 clamp(4rem, 10vw, 12.8rem);
}

.counter-items {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 3rem);
  width: min(80%, var(--width-grid-max));
  margin: 0 auto;
}

.counter-items__item {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - clamp(1.5rem, 3vw, 3rem));
  box-sizing: border-box;
}

.counter-items .num {
  font-family: var(--font-1);
  font-weight: 600;
  font-size: clamp(4.5rem, 14vw, 9.3rem);
  line-height: 1;
  color: var(--color-3-dark);
}

.s-numbers h5 {
  font-family: var(--font-1);
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 2rem);
  margin: 0 0 clamp(1.2rem, 3vw, 2.4rem);
  color: var(--color-3-dark);
}

.s-numbers p {
  font-family: var(--font-1);
  font-size: clamp(0.75rem, 3vw, 1.5rem);
  line-height: 2;
}

/* MEDIA QUERY: versión móvil */
@media (max-width: 768px) {
  .counter-items__item {
    flex: 1 1 100%;
  }
}
/* -------------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------------- */
.s-footer {
  color: var(--color-gray-15);
  background-color: var(--color-3);
  padding-top: clamp(8rem, 12vw, 20rem);
  padding-bottom: 4rem;
  position: relative;
}

.s-footer__inner {
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: min(80%, var(--width-grid-max));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* HEADER */
.s-footer__header {
  max-width: 40rem;
  position: relative;
}

.section-header::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-1);
  font-weight: 600;
  font-size: clamp(10rem, 18vw, 16rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #d4d6d4;
  opacity: 0.15;
  pointer-events: none;
  white-space: nowrap;
}

.section-header.light-on-dark .text-display-title {
  color: white;
}

/* ROW TOP */
.s-footer__row--top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.s-footer__col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.s-footer__about .attention-getter {
  font-size: clamp(1rem, 3vw, 2rem);
  line-height: 1.7;
  max-width: 48rem;
}

.s-footer__title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}

.s-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.s-footer__list a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.s-footer__list a:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}
.s-footer__list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.s-footer__list li {
  font-size: clamp(1rem, 3vw, 1.8rem);
}

/* ACTIONS */
.s-footer__row--actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.s-footer__row--actions .btn {
  width: 100%;
  min-height: 5.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--stroke,
button.btn--stroke {
  background: transparent !important;
  font-weight: 700;
  border: 2px solid var(--color-btn-stroke);
  color: var(--color-btn-stroke-text);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-1-light);
  text-align: center;
}

/* ROW BOTTOM */
.s-footer__row--bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.s-footer__copyright {
  display: flex;
  gap: 2rem;
  font-size: 1rem;
  opacity: 0.7;
}

.s-footer__social {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  padding: 0;
  margin: 0;
}

/* GO TOP */
.ss-go-top {
  --width-label: 11rem;
  z-index: 2;
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 6.4rem;
  right: -15rem;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  pointer-events: auto;
}

.ss-go-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid white;
  height: 5.6rem;
  width: 5.6rem;
  border-radius: 50%;
  margin-right: 2.4rem;
  position: relative;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.ss-go-top a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: scale(1.04);
}

.ss-go-top svg {
  height: calc(0.3 * var(--space));
  width: calc(0.3 * var(--space));
}

.ss-go-top svg path {
  fill: white;
}

.ss-go-top span {
  display: block;
  width: 11rem;
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-gray-15);
  position: relative;
}

/* TABLET */
@media (max-width: 992px) {
  .s-footer__row--top {
    grid-template-columns: 1fr 1fr;
  }
  .s-footer__about {
    grid-column: 1/-1;
  }
  .ss-go-top {
    right: -18rem;
  }
}
/* MOBILE */
@media (max-width: 768px) {
  .s-footer {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  .s-footer__inner {
    width: 84%;
    padding-inline: 0;
    gap: 0;
  }
  .s-footer__header {
    max-width: 100%;
    margin-bottom: 2.2rem;
  }
  .section-header::before {
    font-size: clamp(7rem, 34vw, 9.5rem);
    left: -0.4rem;
    opacity: 0.12;
  }
  .section-header.light-on-dark .text-display-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.05;
    padding-left: 0;
  }
  .s-footer__row--top {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .s-footer__col {
    gap: 1rem;
  }
  .s-footer__about {
    text-align: left;
  }
  .s-footer__about .attention-getter {
    font-size: 0.86rem;
    line-height: 1.65;
    max-width: 28rem;
    margin-bottom: 0;
  }
  .s-footer__links,
  .s-footer__contact {
    align-items: center;
    text-align: center;
  }
  .s-footer__title {
    margin-bottom: 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }
  .s-footer__list {
    gap: 0.7rem;
  }
  .s-footer__list li {
    font-size: 0.82rem;
  }
  .s-footer__list a {
    gap: 0.55rem;
  }
  .s-footer__list svg {
    width: 14px;
    height: 14px;
  }
  .s-footer__row--actions {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 2rem;
    gap: 0;
  }
  .s-footer__row--actions .btn {
    width: 9.5rem;
    min-width: 0 !important;
    max-width: 9.5rem;
    min-height: 0;
    padding: 0.75rem 0.9rem;
    font-size: 0.58rem;
    line-height: 1;
    letter-spacing: 0.12em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .s-footer__row--bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .s-footer__copyright {
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.7rem;
    line-height: 1.4;
    opacity: 0.55;
  }
  .ss-go-top {
    bottom: 2rem;
    right: -13.5rem;
  }
  .ss-go-top a {
    width: 3.6rem;
    height: 3.6rem;
    margin-right: 1.3rem;
    border-width: 1px;
  }
  .ss-go-top span {
    width: 9rem;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }
  .ss-go-top svg {
    width: 0.8rem;
    height: 0.8rem;
  }
}
/* -------------------------------------------------------------------
 * TOOLS & TECHNOLOGIES
 * ------------------------------------------------------------------- */
.s-tools {
  padding-block: clamp(6rem, 10vw, 10rem);
  color: var(--color-3);
  overflow: hidden;
}

.s-tools__inner {
  width: min(80%, var(--width-grid-max));
  margin: 0 auto;
}

/* HEADER — mismo lenguaje visual que ABOUT / GALLERY */
.s-tools__header {
  position: relative;
  margin-bottom: clamp(5rem, 10vw, 8rem);
}
.s-tools__header::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--font-secondary);
  font-size: clamp(10rem, 18vw, 16rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--color-gray-300);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.s-tools__header .text-display-title {
  position: relative;
  z-index: 1;
  padding-left: clamp(4rem, 6vw, 7rem);
  font-family: "Castoro", serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  padding-top: 0.5em;
}

/* GROUPS */
.s-tools__group + .s-tools__group {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.s-tools__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.s-tools__eyebrow {
  font-family: "Public Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-light);
}

/* MARQUEE */
.s-tools__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.s-tools__track {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  will-change: transform;
}

.s-tools__list {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  padding-right: clamp(2.5rem, 5vw, 5.5rem);
}

.s-tools__marquee[data-direction=left] .s-tools__track {
  animation: tools-marquee-left 34s linear infinite;
}

.s-tools__marquee[data-direction=right] .s-tools__track {
  animation: tools-marquee-right 38s linear infinite;
}

.s-tools__marquee:hover .s-tools__track,
.s-tools__marquee:focus-within .s-tools__track {
  animation-play-state: paused;
}

/* ITEMS */
.s-tools__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
  font-family: "Public Sans", sans-serif;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-3);
  opacity: 0.58;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.s-tools__item img {
  width: clamp(2rem, 3.5vw, 3.2rem);
  height: clamp(2rem, 3.5vw, 3.2rem);
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.s-tools__item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.s-tools__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ANIMATIONS */
@keyframes tools-marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes tools-marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
/* TABLET */
@media (max-width: 992px) {
  .s-tools__inner {
    width: min(86%, var(--width-grid-max));
  }
  .s-tools__list {
    gap: 3rem;
    padding-right: 3rem;
  }
}
/* MOBILE */
@media (max-width: 768px) {
  .s-tools {
    padding-block: 5rem;
  }
  .s-tools__inner {
    width: 84%;
  }
  .s-tools__header {
    margin-bottom: 4.5rem;
  }
  .s-tools__header .text-display-title {
    padding-left: 0;
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
  .s-tools__group + .s-tools__group {
    margin-top: 3.25rem;
  }
  .s-tools__marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  }
  .s-tools__list {
    gap: 2.25rem;
    padding-right: 2.25rem;
  }
  .s-tools__item {
    gap: 0.6rem;
    font-size: 0.76rem;
  }
  .s-tools__item img {
    width: 2.15rem;
    height: 2.15rem;
  }
  .s-tools__marquee[data-direction=left] .s-tools__track {
    animation-duration: 30s;
  }
  .s-tools__marquee[data-direction=right] .s-tools__track {
    animation-duration: 34s;
  }
}
/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  .s-tools__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .s-tools__track {
    animation: none !important;
    transform: none !important;
  }
}/*# sourceMappingURL=main.css.map */