/* Cali Intercom Services — estilos del sitio
   Orden: fuentes · variables · base · botones · cabecera · secciones · componentes · páginas · pie · responsive
   Cortes: 1119px · 1023px · 767px · 479px */

/* ---------- Fuentes (alojadas en el sitio, subconjunto latino) ---------- */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/rubik-normal.woff2) format("woff2"); }
@font-face { font-family: "Rubik"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(../fonts/rubik-italic.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/work-sans-normal.woff2) format("woff2"); }

/* ---------- Variables ---------- */
:root {
  /* Celestes de la marca */
  --brand-1: #fafdfe;
  --brand-2: #f2fafd;
  --brand-3: #dff6ff;
  --brand-4: #cceffd;
  --brand-5: #b8e7f9;
  --brand-6: #a1dbf1;
  --brand-9: #00a1c9;
  --brand-10: #0194b9;
  --brand-11: #007ca3;
  --brand-12: #0f3c4a;
  /* Azul marino */
  --navy: #203a55;
  --navy-dark: #233d58;
  --navy-menu: #142435;
  /* Amarillo de los botones */
  --yellow: #ffc004;
  --yellow-light: #ffdc88;
  --yellow-dark: #ffb700;
  /* Neutros */
  --gray-1: #fcfcfd;
  --gray-2: #f9f9fb;
  --gray-3: #eff0f3;
  --gray-4: #e7e8ec;
  --gray-6: #d8d9e0;
  --gray-11: #62636c;
  --gray-12: #1e1f24;

  --font-body: "Rubik", sans-serif;
  --font-heading: "Work Sans", sans-serif;

  /* Tamaños fluidos (mínimo en celular, máximo en pantallas grandes) */
  --fs-h1: clamp(2.4375rem, 1.83rem + 2.029vw, 3.5625rem);
  --fs-h2: clamp(1.9375rem, 1.532rem + 1.353vw, 2.6875rem);
  --fs-h3: clamp(1.5625rem, 1.326rem + 0.789vw, 2rem);
  --fs-h4: clamp(1.25rem, 1.115rem + 0.451vw, 1.5rem);
  --fs-h5: clamp(1rem, 0.932rem + 0.225vw, 1.125rem);
  --fs-text-l: clamp(1.25rem, 1.115rem + 0.451vw, 1.5rem);
  --fs-text-m: clamp(1rem, 0.932rem + 0.225vw, 1.125rem);
  --fs-text-s: 0.875rem;

  --sp-xxs: clamp(0.625rem, 0.524rem + 0.338vw, 0.8125rem);
  --sp-xs: clamp(0.8125rem, 0.644rem + 0.564vw, 1.125rem);
  --sp-s: clamp(1.125rem, 0.922rem + 0.676vw, 1.5rem);
  --sp-m: clamp(1.5rem, 1.23rem + 0.902vw, 2rem);
  --sp-l: clamp(2rem, 1.629rem + 1.24vw, 2.6875rem);
  --sp-xl: clamp(2.6875rem, 2.215rem + 1.578vw, 3.5625rem);
  --sp-xxl: clamp(3.5625rem, 2.921rem + 2.142vw, 4.75rem);
  --section-xxs: clamp(1.4375rem, 1.201rem + 0.789vw, 1.875rem);
  --section-xs: clamp(1.875rem, 1.537rem + 1.127vw, 2.5rem);
  --section-s: clamp(2.5rem, 2.027rem + 1.578vw, 3.375rem);
  --section-m: clamp(3.375rem, 2.767rem + 2.029vw, 4.5rem);
  --section-l: clamp(4.5rem, 3.69rem + 2.706vw, 6rem);

  --page-width: 1366px;
  --gutter: 20px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-photo: 5px 20px 75px rgba(0, 0, 0, 0.145);
  --grad-navy: linear-gradient(145deg, var(--navy) 14.36%, var(--brand-11) 100%);
}

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

html {
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: var(--fs-text-m);
  letter-spacing: 0.3px;
  color: var(--gray-11);
  background-color: var(--gray-1);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, p, div, li, blockquote { line-height: calc(2ex + 6px); }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--gray-12);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }

p { margin: 0; }
.prose p, .prose ul, .prose ol { margin: 1em 0; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 40px; }

img { display: block; flex-shrink: 0; max-width: 100%; height: auto; }
a { color: var(--brand-9); }
a:hover { color: var(--brand-10); }

[hidden] { display: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Botón amarillo (todas las llamadas a la acción) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 14px 24px;
  border: 1px solid var(--brand-1);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: var(--fs-text-m);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.3px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-12);
  background: var(--yellow);
  box-shadow: 0 12px 20px -10px rgba(0, 161, 201, 0.33);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.btn::after {
  content: "";
  display: block;
  width: 0.9em;
  height: 0.9em;
  margin: 0 4px;
  background-color: #426e9b;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19.414 27.414l10-10a2 2 0 0 0 0-2.828l-10-10a2 2 0 1 0-2.828 2.828L23.172 14H4a2 2 0 1 0 0 4h19.172l-6.586 6.586a2 2 0 1 0 2.828 2.828z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M19.414 27.414l10-10a2 2 0 0 0 0-2.828l-10-10a2 2 0 1 0-2.828 2.828L23.172 14H4a2 2 0 1 0 0 4h19.172l-6.586 6.586a2 2 0 1 0 2.828 2.828z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}
.btn:hover { color: var(--gray-12); background: var(--yellow-light); border-color: var(--brand-1); }
.btn:hover::after { transform: translateX(5px); }
.btn--submit::after {
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6a32 32 0 0 0 0-45.3l-160-160a32 32 0 0 0-45.3 45.3L338.8 224H32a32 32 0 0 0 0 64h306.7L233.4 393.4a32 32 0 0 0 45.3 45.3l160-160z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6a32 32 0 0 0 0-45.3l-160-160a32 32 0 0 0-45.3 45.3L338.8 224H32a32 32 0 0 0 0 64h306.7L233.4 393.4a32 32 0 0 0 45.3 45.3l160-160z'/%3E%3C/svg%3E");
}

/* ---------- Cabecera ---------- */
.site-header {
  position: relative;
  z-index: 5;
  padding-top: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--brand-11) 100%);
  box-shadow: var(--shadow-photo);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--page-width);
  min-height: 80px;
  margin: 0 auto;
  padding: 5px var(--gutter);
}
.site-header__logo { width: 330px; }
.site-header__logo img { width: 100%; }

.menu__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__link {
  display: flex;
  align-items: center;
  padding: 20px;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-1);
  cursor: pointer;
  transition: color 0.3s ease;
}
.menu__link:hover { color: var(--brand-9); }
.menu__link[aria-current="page"] { color: var(--yellow); }

.menu__dropdown { position: relative; }
.menu__dropdown > .menu__link { padding-right: 0; }
.menu__chevron { width: 18px; height: 18px; padding: 0 20px 0 0; box-sizing: content-box; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1000;
  width: 430px;
  padding: 0;
  border-radius: 8px;
  background: var(--gray-3);
  box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.menu__panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 73px;
  border: 12px solid transparent;
  border-top: 0;
  border-bottom-color: var(--gray-3);
}
.menu__panel::after { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.menu__dropdown:hover .menu__panel,
.menu__dropdown:focus-within .menu__panel,
.menu__dropdown.is-open .menu__panel { opacity: 1; visibility: visible; transform: none; }
.menu__panel ul { margin: 0; padding: 0; list-style: none; }
.menu__service {
  display: flex;
  align-items: center;
  padding: 13px 32px;
  font-size: 15.75px;
  line-height: 1.5;
  text-decoration: none;
  color: var(--gray-12);
}
.menu__service:hover { color: var(--gray-12); background: rgba(0, 0, 0, 0.03); }
.menu__service img {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-right: 10px;
  background: var(--brand-9);
  transform: translateX(-10px);
}
.menu__service strong { display: block; font-weight: 600; text-transform: uppercase; color: var(--navy); }
.menu__service small { display: block; font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: 0.6px; }

.menu__toggle,
.menu__topbar { display: none; }

/* ---------- Secciones ---------- */
.section { position: relative; background-position: center; background-size: cover; }
.section__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 100px var(--gutter);
}
.overlay { position: absolute; inset: 0; pointer-events: none; }

/* Columnas (de dos): cada una descuenta la mitad del espacio entre ellas */
.cols { display: flex; width: 100%; gap: var(--gap); }
.cols > * { flex: 0 0 calc(var(--w) - var(--gap) / 2); min-width: 0; }

.stack { display: flex; flex-direction: column; align-items: flex-start; }

.photo { width: 100%; object-fit: cover; box-shadow: var(--shadow-photo); }

/* ---------- Componentes compartidos ---------- */

/* Franja de países */
.countries { padding: var(--sp-xxs); background: var(--navy-dark); text-align: center; }
.countries p {
  font-size: var(--fs-text-s);
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--brand-4);
}

/* Logos de herramientas */
.tools { display: flex; align-items: center; gap: var(--sp-m); width: 100%; }
.tools img:nth-child(1) { width: 90px; }
.tools img:nth-child(2) { width: 100px; }
.tools img:nth-child(3) { width: 110px; }

/* Portada clara (inicio y gracias) */
.intro { background-image: url(../img/white-backgrounds-10.webp); }
.intro .section__inner { gap: var(--sp-m); }
.intro__title { width: 70%; }
.intro__row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.intro__lead { width: 70%; }
.intro__row .btn { margin-top: auto; }
.intro__photo { aspect-ratio: 16 / 7; }
.intro__cols { --gap: var(--sp-xl); }
.intro__aside { --w: 40.65%; display: flex; gap: var(--sp-s); padding-left: var(--sp-m); }
.intro__aside img { margin-top: -100px; aspect-ratio: 16 / 9; object-position: 50% 0; }
.intro--centered .section__inner { align-items: center; text-align: center; }
.intro--centered .intro__title { color: var(--brand-11); }
.intro--centered .intro__lead { font-size: var(--fs-text-l); color: var(--gray-12); }
.intro--centered .intro__photo { object-position: 50% 0; }
.intro--centered .intro__cols { text-align: left; }
.intro__text { --w: 59.35%; gap: var(--sp-m); }

/* Llamada final (inicio y servicios) */
.cta { background-color: var(--brand-9); }
.cta > .overlay {
  background: url(../img/white-backgrounds-11.webp) center / cover no-repeat fixed;
  opacity: 0.6;
  mix-blend-mode: multiply;
}
.cta__box {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: var(--section-l);
  width: 100%;
  padding: var(--sp-xl) 0 0 var(--sp-xl);
  overflow: hidden;
  border-radius: var(--radius-l);
  background-color: var(--brand-5);
  box-shadow: var(--shadow-photo);
}
.cta__box > .overlay {
  background: url(../img/white-backgrounds-11.webp) 76.34% 54% / cover no-repeat fixed;
  mix-blend-mode: multiply;
}
.cta__text {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: var(--sp-xl);
}
.cta__text h2 { font-size: var(--fs-h3); }
.cta__text .btn { margin-top: auto; }
.cta__photo { position: relative; max-width: 37.5rem; }
.cta__photo img { width: 100%; height: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-top-left-radius: var(--radius-m); }

/* Cabeza oscura (servicios y empleos) */
.dark-hero { background: var(--grad-navy); }
.dark-hero > .overlay { background: url(../img/white-backgrounds-10.webp) center / cover; mix-blend-mode: multiply; }
.dark-hero .section__inner { gap: var(--sp-l); padding-bottom: 0; }
.dark-hero h1 { color: var(--brand-6); }
.dark-hero__cols { --gap: var(--sp-xl); }
.dark-hero__text { --w: 40%; gap: var(--sp-l); }
.dark-hero__lead { font-size: var(--fs-text-l); font-weight: 300; color: var(--brand-1); }
.dark-hero__lead--small { font-size: calc(var(--fs-text-l) * 0.9); }
.dark-hero__photo { --w: 60%; }
.dark-hero__photo img { aspect-ratio: 16 / 9; }

/* Lista con palomas */
.checklist { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; font-size: var(--fs-text-l); color: var(--navy); }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; margin-right: 12px; fill: var(--brand-9); }

/* ---------- Inicio ---------- */
.why-photo-frame { width: 100%; overflow: hidden; box-shadow: var(--shadow-photo); }
.why-photo-frame img {
  width: 100%;
  aspect-ratio: 9 / 15;
  object-fit: cover;
  object-position: 75% 50%;
  transform: scale(1.25);
  transform-origin: 97.4% 69.62%;
}

.office { background-image: url(../img/cali-intercom-coworking-ofiice-d.webp); }
.office > .overlay { background: var(--navy); opacity: 0.9; }
.office__cols { --gap: var(--sp-xxl); }
.office__photo { --w: 70%; }
.office__text { --w: 30%; justify-content: center; gap: var(--sp-m); color: var(--brand-1); }

.why .section__inner { align-items: center; gap: var(--sp-xxl); text-align: center; }
.why__cols { --gap: var(--sp-xxl); }
.why__list { --w: 70%; justify-content: center; gap: var(--sp-s); text-align: left; }
.why__list h2 { margin-bottom: var(--sp-s); }
.why__item { display: flex; align-items: center; gap: var(--sp-xxs); width: 100%; }
.why__item span { font-size: var(--fs-h4); font-weight: 600; color: var(--brand-9); }
.why__item p { font-size: var(--fs-text-l); }
.why__rule { width: 100%; height: 1px; background: var(--gray-6); }
.why__photo { --w: 30%; }
.why__closing { font-size: var(--fs-text-l); }

.services-grid { background-color: var(--navy); }
.services-grid > .overlay { background: url(../img/white-backgrounds-10.webp) center / cover; opacity: 0.5; mix-blend-mode: color-burn; }
.services-grid .section__inner { gap: var(--sp-l); }
.services-grid__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.services-grid__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-s); padding-right: var(--sp-xl); }
.services-grid__intro .eyebrow { color: var(--brand-4); }
.services-grid__intro h2 { color: var(--brand-6); }
.services-grid__intro p { color: var(--gray-1); }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: var(--sp-m);
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(0deg, rgba(47, 42, 83, 0.82) 14.87%, rgba(255, 255, 255, 0) 64.62%), var(--photo) center / cover no-repeat;
}
.service-card--top { background-position: 0 0, 0 0; }
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  opacity: 0.1;
  transition: opacity 0.3s ease-in-out;
}
.service-card:hover::before { opacity: 0.3; }
.service-card h3 { position: relative; font-size: var(--fs-h4); color: #fff; }

.steps { background-color: var(--brand-2); }
.steps .section__inner { gap: var(--sp-m); }
.steps__head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-xxs); width: 100%; }
.steps__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-l); width: 100%; }
.step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  padding: var(--sp-xs);
  border: 1px solid var(--gray-6);
  background: var(--gray-1);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.03);
}
.step__number { font-size: var(--fs-h1); color: var(--brand-6); }

.reviews { overflow: hidden; }
.reviews .section__inner { gap: var(--sp-l); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-m); width: 100%; }
.reviews__intro { display: flex; flex-direction: column; gap: var(--sp-s); width: 37.5rem; max-width: 100%; }
.reviews__arrows { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-s); }
.reviews__arrow {
  display: flex;
  padding: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--gray-12);
  cursor: pointer;
  transition: 0.3s;
}
.reviews__arrow svg { width: 16px; height: 16px; fill: var(--gray-1); }
.reviews__arrow:hover { background: var(--brand-11); }
.reviews__arrow:disabled { background: var(--gray-6); cursor: default; }
.reviews__arrow:disabled svg { fill: #8c8e99; }
.reviews__viewport { width: 100%; }
.reviews__track { display: flex; transition: transform 0.3s ease; }
.review {
  display: flex;
  flex: 0 0 31.25rem;
  flex-direction: column;
  gap: var(--sp-m);
  min-height: 100%;
  margin-right: 24px;
  padding: var(--sp-s);
  border: 1px solid var(--gray-6);
  border-radius: var(--radius-m);
  background: var(--gray-1);
}
.review blockquote { margin: 0 0 var(--sp-xxs); font-style: italic; line-height: 1.5; }
.review__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-xs); width: 100%; margin-top: auto; }
.review__person { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-xs); }
.review__person img { width: 2.5rem; height: 2.5rem; border-radius: 500px; object-fit: cover; }
.review__person div { display: flex; flex-direction: column; gap: 0.25rem; }
.review__person strong { font-weight: 600; color: var(--gray-12); }
.review__person span { font-size: var(--fs-text-s); }
.stars { display: flex; gap: 4px; }
.stars svg { width: 24px; height: 24px; fill: orange; }

/* ---------- Nosotros ---------- */
.about-hero { background: url(../img/cali-intercom-coworking-ofiice-b.webp) center top / cover no-repeat; }
.about-hero > .overlay { background: var(--navy); mix-blend-mode: hard-light; }
.about-hero .section__inner { gap: var(--sp-m); }
.about-hero h1 { color: var(--brand-6); }
.about-hero__cols { --gap: var(--sp-xxl); }
.about-hero__text { --w: 50%; gap: var(--sp-m); color: var(--brand-1); }
.about-hero__lead { font-size: var(--fs-text-l); font-weight: 300; }
.about-hero__empty { --w: 50%; }

.different { background: url(../img/digital-world.webp) center / cover; }
.different > .overlay { background: var(--brand-3); opacity: 0.9; }
.different .section__inner { gap: var(--sp-m); }
.different__cols { --gap: var(--sp-xxl); }
.different__cols > * { --w: 50%; }
.different__cols > :last-child { gap: var(--sp-s); }

.values { background: url(../img/white-backgrounds-11.webp) center / cover fixed; }
.values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-xxl); width: 100%; }
.value-card { position: relative; display: flex; flex-direction: column; overflow: hidden; box-shadow: 5px 20px 75px rgba(13, 61, 59, 0.43); }
.value-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.value-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
  padding: var(--sp-xxl);
}
.value-card__body p { letter-spacing: 1px; }
.value-card--navy { background: var(--navy); }
.value-card--navy h3,
.value-card--navy .value-card__body { color: var(--brand-1); }
.value-card--blue .value-card__body { background: var(--brand-9); color: var(--gray-1); }

.leaders { background: linear-gradient(180deg, var(--navy) 44.1%, var(--brand-11) 100%); }
.leaders > .overlay { background: url(../img/cali-intercom-services-isotipo-brand-color.svg) 50% 0 / contain no-repeat; opacity: 0.1; }
.leaders .section__inner { align-items: center; gap: var(--sp-l); text-align: center; }
.leaders__head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-xs); width: 37.5rem; max-width: 100%; }
.leaders__head span {
  font-size: calc(var(--fs-text-s) * 0.9);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-6);
}
.leaders__head h2 { color: var(--brand-6); }
.leader {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--brand-11);
  background: rgba(27, 48, 72, 0.69);
  box-shadow: 5px 20px 75px rgba(32, 58, 85, 0.22);
  text-align: left;
}
.leader__photo { padding: var(--sp-m); }
.leader__photo img { width: 600px; aspect-ratio: 4 / 3; object-fit: cover; }
.leader__text { display: flex; flex-direction: column; gap: var(--sp-s); width: 80%; padding: var(--sp-s); }
.leader__name { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-xxs); width: 100%; }
.leader__name strong { font-size: var(--fs-h4); font-weight: 300; line-height: 1.5; text-transform: uppercase; color: var(--brand-6); }
.leader__name span { font-size: var(--fs-text-s); color: var(--brand-1); }
.leader__text p { font-weight: 300; color: var(--brand-2); }

/* ---------- Servicios ---------- */
.handles > .overlay { background: var(--photo) center / cover; opacity: 0.2; }
.handles--soft > .overlay { opacity: 0.1; }
.handles--light { background-color: var(--brand-1); }
.handles .section__inner { gap: var(--sp-l); }
.handles__cols { --gap: var(--sp-xl); }
.handles__photo { --w: var(--photo-w); }
.handles__photo img { aspect-ratio: var(--photo-ratio); object-position: var(--photo-pos, 50% 50%); }
.handles__list { --w: calc(100% - var(--photo-w)); gap: var(--sp-m); }
.handles--center .handles__list, .handles--center .handles__photo { justify-content: center; }
.checklist--compact { gap: 16px; }
.checklist--compact li { align-items: flex-start; gap: 8px; font-size: var(--fs-text-m); color: inherit; }
.checklist--compact svg { margin-right: 0; }
.handles__extra { color: var(--gray-12); }

.detail { background: var(--gray-3); }
.detail .section__inner { gap: var(--sp-l); padding-top: var(--section-m); padding-bottom: var(--section-m); }
.detail__cols { --gap: var(--sp-xl); }
.detail__photo { --w: var(--photo-w); }
.detail__photo img { aspect-ratio: var(--photo-ratio); object-position: 0 50%; box-shadow: 5px 20px 50px rgba(0, 0, 0, 0.145); }
.detail__text { --w: calc(100% - var(--photo-w)); justify-content: center; color: var(--gray-12); }

/* ---------- Contacto ---------- */
.contact { background: var(--brand-3) url(../img/digital-world.webp) center / cover; }
.contact > .overlay { background: var(--brand-1); opacity: 0.9; }
.contact .section__inner { justify-content: center; gap: var(--sp-m); }
.contact__cols { --gap: 0px; overflow: hidden; }
.contact__form-box {
  --w: 40%;
  gap: var(--section-l);
  padding: var(--sp-xl);
  border-radius: var(--radius-m);
  background: var(--gray-3);
}
.contact__intro { display: flex; flex-direction: column; gap: var(--sp-s); width: 100%; }
.contact__kicker { font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contact__info { --w: 60%; justify-content: center; gap: var(--sp-m); padding-left: var(--sp-l); }
.contact__info > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); }
.contact__info-cols { --gap: var(--sp-xxl); }
.contact__info-cols > * { --w: 50%; }
.contact__info-cols > :last-child { gap: var(--sp-s); }
.underlined {
  text-transform: uppercase;
  text-decoration: underline 2px var(--brand-5);
  text-underline-offset: 5px;
}
.contact__links { display: flex; flex-direction: column; gap: var(--sp-xs); width: 100%; margin: var(--sp-l) 0; }
.contact__links a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-xs); text-decoration: none; }
.contact__links svg { width: 24px; height: 24px; fill: var(--gray-12); }
.contact__links p { font-size: var(--fs-text-s); color: var(--gray-12); }
.hours { width: 100%; max-width: 480px; font-size: calc(var(--fs-text-m) * 0.875); }
.hours div { display: flex; align-items: center; justify-content: space-between; padding: 16px; font-weight: 500; }
.hours div + div { border-top: 1px solid #ccc; }
.hours b { font-weight: 700; }

/* Formularios */
.form { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; width: 100%; color: #374151; }
.form__field { display: flex; flex-direction: column; align-items: flex-start; grid-column: span 12; }
.form__field--half { grid-column: span 6; }
.form label { margin-bottom: 8px; font-weight: 500; line-height: 18px; color: var(--gray-12); }
.form label b { color: #b91c1c; font-weight: 500; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-bottom: 2px solid var(--brand-9);
  border-radius: 0;
  font: inherit;
  font-size: var(--fs-text-m);
  line-height: 18px;
  color: #000;
  background: var(--gray-2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.145);
  outline: none;
}
.form textarea { min-height: 100px; line-height: 1.4; resize: vertical; }
.form__footer { display: flex; align-items: flex-end; justify-content: flex-end; grid-column: span 12; }
.form__note {
  grid-column: span 12;
  padding: var(--sp-s);
  color: var(--gray-12);
  background: var(--yellow);
}
.form--light input,
.form--light select,
.form--light textarea {
  border: 1px solid #d1d5db;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
}
.form--light select {
  appearance: none;
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") right 8px center / 24px no-repeat;
}
.form--light .form__footer { justify-content: flex-start; }
.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 163px;
  padding: 24px;
  border: 2px dashed #d1d5db;
  border-radius: 3px;
  background: #fff;
  color: #4b5563;
  text-align: center;
}
.dropzone svg { width: 48px; color: #9ca3af; }
.dropzone strong { color: var(--brand-9); font-weight: 500; }
.dropzone small { color: #6b7280; font-size: 12.6px; line-height: 15px; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---------- Empleos ---------- */
.careers-hero__title { display: flex; flex-direction: column; align-items: flex-start; }
.careers-hero__title h1 { font-size: var(--fs-text-s); line-height: 20px; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-6); }
.careers-hero__title p { font-size: var(--fs-h3); font-weight: 300; color: var(--brand-6); }
.careers-hero__text { --w: 40%; gap: var(--sp-m); color: var(--brand-1); font-weight: 300; }

.positions { background: var(--gray-4); }
.positions .section__inner { gap: var(--sp-l); }
.positions__cols { --gap: var(--sp-xl); }
.positions__cols > * { --w: 50%; justify-content: flex-start; gap: var(--sp-s); }
.positions__card { padding: var(--sp-s); border: 1px solid var(--brand-6); background: var(--gray-2); box-shadow: var(--shadow-photo); }
.positions__card h2 { font-size: var(--fs-h3); font-weight: 500; color: var(--brand-11); }
.positions__cols h2.small { font-size: var(--fs-text-l); }
.positions__cols img { aspect-ratio: 16 / 9; object-position: 30% 50%; }
.positions__cols ul, .positions__cols ol { margin: 0; padding-left: 40px; }

.role { background: var(--gray-2); }
.role--gray { background: var(--gray-3); }
.role .section__inner { align-items: center; gap: var(--sp-xxl); text-align: center; }
.role__head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-xs); width: 100%; }
.role__head h3 { font-size: var(--fs-h2); }
.role__head > img { width: 80%; aspect-ratio: 16 / 8; }
.role__intro { width: 60%; }
.role h4, .role .role__subtitle { font-weight: 500; color: var(--brand-11); }
.role__cols { --gap: var(--sp-xxl); width: 70%; text-align: left; }
.role__cols > * { --w: 50%; gap: var(--sp-s); }
.role__cols ul { margin: 0; padding-left: 40px; }
.role__cols li { margin-bottom: var(--sp-xxs); }
.role__photo { aspect-ratio: 1 / 1; }
.skills { --gap: var(--section-xs); width: 70%; text-align: left; }
.skills > * { --w: 50%; gap: var(--sp-s); }
.skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-m); width: 70%; text-align: left; }
.skill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  padding: var(--sp-xxs) var(--sp-s);
  justify-content: center;
  border-left: 2px solid var(--yellow);
  background: var(--gray-3);
}
.skills-grid .skill { background: var(--gray-1); }
.skill h5 { line-height: 1.333; }
.skill p { font-size: var(--fs-text-s); }
.role__process { font-size: var(--fs-h3); }
.notice { width: 100%; padding: var(--sp-xxs); background: var(--yellow); text-align: center; }

.apply { background: url(../img/cali-intercom-coworking-ofiice-d.webp) center / cover; }
.apply > .overlay { background: linear-gradient(0deg, var(--gray-2) 0%, var(--brand-4) 98.97%); opacity: 0.9; }
.apply__cols { --gap: var(--sp-xl); }
.apply__faq { --w: 50%; gap: var(--sp-s); }
.apply__faq > p { margin-bottom: var(--sp-xs); color: var(--gray-12); }
.faq { display: flex; flex-direction: column; width: 100%; background: rgba(249, 249, 251, 0.48); }
.faq__item + .faq__item { border-top: 1px solid var(--gray-6); }
.faq__item.is-open { background: var(--gray-3); }
.faq__question { margin: 0; font-size: 22.5px; font-weight: 500; }
.faq__question button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: var(--sp-m);
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: var(--fs-text-m);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.3px;
  text-align: left;
  color: var(--gray-12);
  cursor: pointer;
}
.faq__item.is-open .faq__question button { color: var(--brand-9); }
.faq__question svg { flex-shrink: 0; width: 23px; height: 23px; fill: currentColor; transition: transform 0.3s; }
.faq__item.is-open .faq__question svg { transform: rotate(180deg); }
.faq__answer { padding: 0 var(--sp-m) var(--sp-m); }
.faq__answer[hidden] { display: none; }
.apply__form-box {
  --w: 50%;
  position: relative;
  gap: var(--sp-xs);
  padding: var(--section-xxs);
  overflow: hidden;
  background: var(--yellow);
  box-shadow: var(--shadow-photo);
}
.apply__form-box > .overlay { background: url(../img/white-backgrounds-11.webp) center / cover; mix-blend-mode: multiply; }
.apply__form-box > :not(.overlay) { position: relative; }
.apply__form-box p { color: var(--gray-12); }
.apply__form-box > p:first-of-type { margin-bottom: var(--sp-xs); }

/* ---------- Pie ---------- */
.footer { border-top: 16px solid var(--brand-11); background: var(--navy) url(../img/white-backgrounds-10.webp) center / cover; }
.footer > .overlay { background: var(--grad-navy); mix-blend-mode: multiply; }
.footer .section__inner { gap: var(--sp-l); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-s); width: 100%; }
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-xxs); }
.footer__brand img { width: auto; height: 3.8rem; }
.footer__brand p { font-size: var(--fs-text-s); color: var(--brand-5); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-m); }
.footer__links a {
  display: flex;
  font-size: var(--fs-text-s);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-5);
}
.footer__links a:hover { color: #fff; }
.footer__rule { width: 100%; height: 1px; background: var(--brand-11); }
.footer__date { font-size: var(--fs-text-s); color: var(--brand-6); }
.credit { background: var(--brand-12); }
.credit .section__inner { padding-top: var(--section-xxs); padding-bottom: var(--section-xxs); }
.credit a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-xxs);
  width: 100%;
  text-decoration: none;
  color: var(--brand-11);
}
.credit strong { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; color: #fff; opacity: 0.45; }

/* Volver arriba, con el progreso de la lectura alrededor */
.to-top {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  margin: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.to-top svg.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; overflow: visible; }
.to-top__ring path { stroke: #e5e7eb; stroke-width: 5; stroke-linecap: round; }
.to-top__ring path.tracker { stroke: #111827; transition: stroke-dashoffset 0.2s linear; }
.to-top__arrow { width: 20px; height: 20px; fill: #111827; transition: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1119px) {
  .site-header__inner { min-height: 80px; }
  .menu__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu__bars, .menu__bars::before, .menu__bars::after {
    position: relative;
    display: block;
    width: 32px;
    height: 4px;
    background: var(--gray-1);
  }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -10px; }
  .menu__bars::after { top: 10px; }

  .menu__list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: var(--navy-menu);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
  }
  .menu.is-open .menu__list { visibility: visible; transform: none; }
  .menu__topbar { display: flex; align-items: center; justify-content: space-between; padding: 15px; }
  .menu__topbar img { width: 200px; }
  .menu__close {
    position: relative;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transform: rotate(45deg);
  }
  .menu__close::before, .menu__close::after { content: ""; position: absolute; background: var(--yellow-dark); }
  .menu__close::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
  .menu__close::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
  .menu__link {
    width: 100%;
    padding: 20px;
    border-top: 1px solid var(--navy);
    font-size: calc(var(--fs-text-m) * 0.875);
    font-weight: 500;
    letter-spacing: 0.3px;
    color: var(--brand-1);
  }
  .menu__link:hover { color: var(--brand-1); }
  .menu__link[aria-current="page"] { color: var(--yellow); }
  .menu__list > li:last-child { border-bottom: 1px solid var(--navy); }
  .menu__dropdown > .menu__link { justify-content: space-between; padding-right: 20px; }
  .menu__chevron { padding: 0; }
  .menu__panel {
    position: static;
    width: 100%;
    display: none;
    border-top: 1px solid var(--navy);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .menu__panel::before, .menu__panel::after { display: none; }
  .menu__dropdown.is-open .menu__panel { display: block; }
  .menu__panel li + li { border-top: 1px solid var(--navy); }
  .menu__service { padding: 12px 30px; font-weight: 700; line-height: 24px; color: var(--brand-1); }
  .menu__service:hover { color: var(--brand-1); }
  .menu__service img, .menu__service small { display: none; }
  .menu__service strong { font-weight: 700; text-transform: none; color: inherit; }

  .cols--stack-1119 { flex-direction: column; }
  .cols--stack-1119 > * { flex-basis: auto; width: 100%; }
  .steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta__photo { max-width: 50%; }
  .cta__text { gap: var(--sp-l); }
  .contact__form-box { padding: 4rem 2.5rem; }
}

@media (max-width: 1023px) {
  .intro .section__inner { padding-top: var(--section-s); }
  .intro__title, .intro__lead { width: 100%; text-align: center; }
  .intro__row { flex-direction: column; justify-content: flex-start; gap: var(--sp-s); }
  .intro__cols { --gap: var(--sp-m); }
  .intro__aside { justify-content: center; align-items: center; text-align: center; }
  .intro__aside img { display: none; }
  .intro__text { align-items: center; text-align: center; }

  .cols--stack-1023 { flex-direction: column; }
  .cols--stack-1023 > * { flex-basis: auto; width: 100%; }
  .why__cols { flex-direction: column-reverse; }

  .services-grid__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills-grid { grid-template-columns: minmax(0, 1fr); }
  .skills { --gap: var(--section-xxs); }

  .cta__box { flex-direction: column; gap: var(--sp-xl); padding-right: var(--sp-xl); }
  .cta__text { padding-bottom: 0; align-items: center; text-align: center; }
  .cta__photo { max-width: 100%; }
  .cta__photo img { border-top-right-radius: var(--radius-m); }

  .about-hero .section__inner { padding-bottom: var(--section-m); }

  .leader { flex-direction: column; justify-content: flex-start; }
  .leader__photo, .leader__text { width: 100%; }
  .leader__photo img { width: 100%; }

  .contact .section__inner { padding-top: var(--section-m); }
  .contact__cols { --gap: var(--sp-s); }
  .contact__info { padding-left: 0; }

  .footer__links { flex-direction: column; }
}

@media (max-width: 767px) {
  .site-header { z-index: 10; }
  .menu__link { font-size: var(--fs-text-m); font-weight: 700; }
  .site-header__logo { width: 290px; }

  .intro__title { font-size: var(--fs-h2); line-height: var(--sp-l); }
  .intro__cols { --gap: var(--sp-xxs); }
  .intro__aside { padding-right: var(--sp-m); }
  .tools { justify-content: center; }

  .office .section__inner { padding-top: var(--section-l); padding-bottom: var(--section-l); }
  .why__photo img { aspect-ratio: 4 / 3; }
  .services-grid__grid { grid-template-columns: minmax(0, 1fr); }
  .services-grid__intro { padding-right: 0; padding-bottom: 2rem; }
  .reviews__head { gap: 6.4rem; }
  .reviews__arrows { margin-left: auto; }
  .cta__box > .overlay { background-size: auto; background-position: center; }

  .about-hero { background-position: 76.79% 11%; }
  .about-hero .section__inner { padding-top: var(--section-s); }
  .about-hero__empty { display: none; }
  .values__grid { grid-template-columns: minmax(0, 1fr); }
  .value-card__body { align-items: center; text-align: center; }

  .dark-hero .section__inner { padding-top: var(--sp-xl); }
  .t-h2-767 h1 { font-size: var(--fs-h2); }
  .t-h2-767 .careers-hero__title h1 { line-height: calc(2ex + 6px); }
  /* Márgenes que el original ajusta solo en algunas páginas */
  .pad-m-767 .section__inner { padding-top: var(--section-m); padding-bottom: var(--section-m); }
  .pad-l-767 .section__inner { padding-top: var(--section-l); padding-bottom: var(--section-l); }
  .pad-mt-767 .section__inner { padding-top: var(--section-m); }

  .underlined { font-weight: 600; }
  .contact__info { padding-right: var(--sp-s); padding-left: var(--sp-s); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form__field, .form__field--half, .form__footer, .form__note { grid-column: auto; }

  .positions .section__inner { padding-top: var(--section-m); padding-bottom: var(--section-m); }
  .role .section__inner { padding-top: var(--section-m); }
  .role__cols, .skills, .skills-grid { width: 100%; }
  .role__intro { width: 100%; }
  .role__head > img { width: 100%; }
  .role__photo { aspect-ratio: 3 / 2; }
  .skills { --gap: var(--section-xxs); }
  .role__cols--tight { --gap: var(--sp-xs); }
  .apply .section__inner { padding-top: var(--sp-xxl); }

  .footer .section__inner { padding-top: var(--section-l); }
  .footer__row { justify-content: center; }
  .footer__links { align-items: center; justify-content: center; text-align: center; }
  .footer__bottom { justify-content: center; }
  .credit a { justify-content: center; }
}

@media (max-width: 479px) {
  .site-header__logo { width: 250px; }
  .intro .section__inner { padding-bottom: var(--section-s); }
  .intro__title { font-size: var(--fs-h3); }
  .intro__lead, .intro__text p { font-weight: 600; letter-spacing: 0.05em; }
  .office__cols { --gap: var(--section-xs); }
  .why .section__inner, .services-grid .section__inner, .steps .section__inner, .reviews .section__inner { padding-top: var(--section-l); padding-bottom: var(--section-l); }
  .t-h2-479 h1 { font-size: var(--fs-h2); }
  .t-h2s-479 h1 { font-size: calc(var(--fs-h2) * 0.9); }
  .pad-m-479 .section__inner { padding-top: var(--section-m); padding-bottom: var(--section-m); }
  .pad-l-479 .section__inner { padding-top: var(--section-l); padding-bottom: var(--section-l); }
  .why__cols { --gap: var(--sp-m); }
  .why__item { flex-wrap: wrap; }
  .why__photo img { aspect-ratio: 3 / 2; }
  .service-card { min-height: 250px; }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .review { flex-basis: 85%; }
  .cta__box { padding-right: var(--gutter); padding-left: var(--gutter); }
  .cta__text h2 { font-size: var(--fs-h4); }
  .cta__box > .overlay { background-size: auto; }
  .contact__form-box { gap: var(--sp-xxl); padding: var(--sp-xl) var(--sp-s); }
  .contact__kicker { font-size: 1rem; }
  .footer__row { flex-direction: column; }
  .credit .section__inner { padding-top: var(--section-xxs); }
}
