/*
  Widgets reutilizables: .btn, .tabs, .tabs__panel, .pill, .carousel, .c-select, .pro-card, .service-card, .search
  Secciones: .hero, .tests, .ficha-tabs, .team-preview, .stories, .faq, .listing
  Páginas: .page-servicio, .page-blog, .page-entrada, .page-nosotros, .page-especialistas, .page-profesional
*/

:root {
  --azul-profundo: #223d6b;
  --azul: #32599d;
  --azul-medio: #3d6dc2;
  --azul-brillo: #4275cf;
  --azul-cta: #2165ad;
  --azul-boton: #2a6fbe;
  --azul-claro: #a0c7eb;
  --azul-hielo: #f4f8fc;
  --azul-texto: #1e3a6c;
  --azul-header: #223c6a;
  --azul-suave: #5d7aa0;
  --cian: #b7d6f5;
  --blanco: #ffffff;
  --negro: #111111;
  --gris-barra: #ececec;
  --sombra: 0 10px 28px rgba(30, 58, 108, 0.12);
  --radio-pill: 999px;
  --radio-card: 22px;
  --wrap: 1200px;
  --gutter: 20px;
  --fuente: "Source Serif 4", Georgia, serif;
  --fuente-header: "Source Serif 4", Georgia, serif;
  --fuente-titulo: "PT Serif", Georgia, serif;
  --degrade-hero-texto: linear-gradient(90deg, #7bb3e0 0%, #4a90d9 100%);
  --c-select-option-pad: 10px;
  --c-select-option-line: 1.4;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--fuente);
  color: var(--azul-texto);
  background: var(--blanco);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--fuente-titulo);
}

p,
ul,
figure,
blockquote {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

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

main {
  max-width: 100%;
  overflow-x: clip;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  max-width: 100%;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 28px;
  border-radius: var(--radio-pill);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.btn--primary {
  background: var(--azul-boton);
  color: var(--blanco);
  border-color: var(--azul-boton);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--blanco);
  color: var(--azul-boton);
  border-color: var(--azul-boton);
}

.btn--outline {
  background: var(--blanco);
  color: var(--azul-texto);
  border-color: var(--azul-texto);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--azul-texto);
  color: var(--blanco);
  border-color: var(--azul-texto);
}

.btn--ghost-white {
  background: rgba(42, 111, 190, 0.35);
  color: var(--blanco);
  border-color: var(--blanco);
}

.btn--ghost-white:hover,
.btn--ghost-white:focus-visible {
  background: var(--blanco);
  color: var(--azul-boton);
  border-color: var(--blanco);
}

.lead {
  max-width: 100%;
  margin: 10px auto 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #7bb3e0;
}

.lead--light {
  color: rgba(255, 255, 255, 0.86);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding-top: 40px;
}

.site-header.is-fixed {
  position: fixed;
}

.header__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header__nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: 64px;
  padding: 10px 22px;
  background: var(--blanco);
  border-radius: var(--radio-pill);
  box-shadow: var(--sombra);
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 202px;
  height: auto;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(300px, 84vw);
  height: 100vh;
  padding: 100px 28px 28px;
  background: var(--blanco);
  box-shadow: -16px 0 36px rgba(30, 58, 108, 0.18);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.52s;
}

.nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition:
    transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.nav__cta {
  position: relative;
  display: flex;
  width: 100%;
  margin-top: 28px;
}

.nav__cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 1px;
  background: rgba(34, 61, 107, 0.16);
}

body.is-nav-open,
body.is-sort-open {
  overflow: hidden;
}

body.is-nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(34, 61, 107, 0.32);
}

.header__cta {
  display: none;
  background: var(--azul-boton);
}

.header__toggle {
  position: relative;
  z-index: 32;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--azul-header);
}

.header__toggle img {
  display: block;
}

.nav__list a {
  position: relative;
  display: inline-block;
  font-family: var(--fuente-header);
  font-size: 16px;
  font-weight: 500;
  color: var(--azul-header);
  line-height: 1.2;
  white-space: nowrap;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background-image: var(--degrade-hero-texto);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav__list a:hover::after,
.nav__list a:focus-visible::after,
.nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  min-height: 530px;
  padding: 130px 0 48px;
  background-color: #32599d;
  background-image: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: var(--blanco);
}

#main > .hero {
  background-color: #32599d;
  background-image: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
}

.hero--photo,
#main > .hero--photo {
  background-image: var(--hero-photo);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  width: fit-content;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  background-image: var(--degrade-hero-texto);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 16px;
  width: 100%;
  font-size: 16px;
}

.hero__break {
  display: none;
}

.search {
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 768px;
  margin-top: 28px;
  gap: 12px;
  overflow: visible;
}

.search.is-suggest-open {
  z-index: 40;
}

.search__col {
  display: contents;
}

.search__query {
  position: relative;
  order: 1;
  width: 100%;
}

.search__query input,
.search input[name="q"] {
  appearance: none;
  -webkit-appearance: none;
}

.search__query input::-webkit-search-decoration,
.search__query input::-webkit-search-cancel-button,
.search__query input::-webkit-search-results-button,
.search__query input::-webkit-search-results-decoration,
.search input[name="q"]::-webkit-search-decoration,
.search input[name="q"]::-webkit-search-cancel-button,
.search input[name="q"]::-webkit-search-results-button,
.search input[name="q"]::-webkit-search-results-decoration {
  display: none;
}

.search__query input,
.search input[name="q"] {
  width: 100%;
  min-height: 52px;
  padding: 0 48px 0 40px;
  border-radius: var(--radio-pill);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background-color: rgba(255, 255, 255, 0.08);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  color: var(--blanco);
}

.search__query input:focus,
.search input[name="q"]:focus {
  outline: none;
}

.search__query input:focus-visible,
.search input[name="q"]:focus-visible {
  border-color: rgba(255, 255, 255, 0.85);
}

.search__query input::placeholder,
.search input[name="q"]::placeholder {
  color: var(--blanco);
}

.search__clear {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.search__clear[hidden] {
  display: none;
}

.search__clear img {
  display: block;
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.search__clear:hover img,
.search__clear:focus-visible img {
  opacity: 1;
}

.search__clear:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.search__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  max-height: 320px;
  margin: 0;
  padding: 6px 0;
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  color: var(--azul-texto);
  box-shadow: var(--sombra);
}

.search__suggest[hidden] {
  display: none;
}

.search__suggest [role="option"] {
  padding: 0;
  cursor: pointer;
}

.search__suggest-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  color: inherit;
  text-decoration: none;
}

.search__suggest [role="option"].is-active,
.search__suggest [role="option"]:hover {
  background: #e8eef6;
}

.search__suggest-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.search__suggest-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--azul-suave);
}

.search__suggest-next {
  font-size: 12px;
  font-weight: 700;
  color: var(--azul-header);
}

.search__suggest-empty {
  padding: 12px 18px;
  color: var(--azul-suave);
  font-size: 14px;
}

.search__submit {
  order: 2;
  width: 170px;
  min-width: 170px;
  min-height: 52px;
  padding: 0 24px;
  background-color: #2b6cb3;
  background-image: linear-gradient(180deg, #4a8fd4 0%, #2668b0 100%);
  color: var(--blanco);
  border-color: var(--blanco);
}

.search__submit:hover,
.search__submit:focus-visible {
  background-color: var(--blanco);
  background-image: none;
  color: #2668b0;
  border-color: var(--blanco);
}

.search__filters {
  order: 3;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.7fr);
  align-items: center;
  width: 100%;
  gap: 8px;
}

.search__filters .c-select {
  min-width: 0;
  max-width: none;
  width: 100%;
}

.search__filters .c-select.is-open {
  z-index: 36;
}

.search__filters .c-select__value {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.25;
}

.search__filters .c-select__list {
  left: 0;
  right: 0;
  width: auto;
  min-width: 100%;
  max-width: none;
}

.search__filters .c-select__list [role="option"] {
  white-space: normal;
  overflow-wrap: anywhere;
}

.c-select {
  position: relative;
  flex: 1 1 140px;
  min-width: 0;
}

.c-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #dce6f2;
  color: var(--azul-texto);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-radius 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.c-select__trigger img {
  flex: 0 0 14px;
  transition: transform 0.28s ease;
}

.c-select__value {
  flex: 1 1 0;
  min-width: 0;
}

.c-select.is-open .c-select__trigger {
  z-index: 31;
  border-radius: 10px 10px 0 0;
  border-color: #2c3d52;
}

.c-select.is-open .c-select__trigger img {
  transform: rotate(180deg);
}

.c-select__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  z-index: 30;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #2c3d52;
  border-radius: 0 0 10px 10px;
  background: #dce6f2;
  clip-path: inset(0 0 100% 0 round 0 0 10px 10px);
  visibility: hidden;
  pointer-events: none;
  transition:
    clip-path 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0.36s;
}

.c-select.is-open .c-select__list {
  max-height: calc(5 * (2 * var(--c-select-option-pad) + var(--c-select-option-line) * 1em));
  overflow-x: hidden;
  overflow-y: auto;
  clip-path: inset(0 0 0 0 round 0 0 10px 10px);
  visibility: visible;
  pointer-events: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--azul-header) #c5d4e6;
  transition:
    clip-path 0.36s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 0s;
}

.c-select.is-open .c-select__list::-webkit-scrollbar {
  width: 8px;
}

.c-select.is-open .c-select__list::-webkit-scrollbar-track {
  background: #c5d4e6;
  border-radius: 0 0 8px 0;
}

.c-select.is-open .c-select__list::-webkit-scrollbar-thumb {
  background: var(--azul-header);
  border: 2px solid #c5d4e6;
  border-radius: 8px;
}

.c-select.is-open .c-select__list::-webkit-scrollbar-thumb:hover {
  background: var(--azul-texto);
}

.c-select__list [role="option"] {
  padding: var(--c-select-option-pad) 16px;
  line-height: var(--c-select-option-line);
  color: var(--azul-texto);
  cursor: pointer;
}

.c-select__list [role="option"][hidden] {
  display: none;
}

.c-select__list [role="option"].is-active,
.c-select__list [role="option"]:hover {
  background: #223c6a;
  color: var(--blanco);
}

.team-preview {
  scroll-margin-top: 120px;
}

.team-preview,
.services {
  padding: 60px 0 60px;
  background-color: var(--azul-hielo);
  background-image: url("../img/bg-conecta.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  text-align: center;
}

.team-preview h2,
.services h2,
.about h1,
.about h2,
.tests h2,
.stories h2,
.blog h2,
.related h2,
.faq h2,
.instagram h2 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 800;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px 10px;
  margin: 28px 0 24px;
  min-width: 0;
  overflow: visible;
  padding-bottom: 0;
}

.pill {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  min-height: 32px;
  padding: 6px 14px;
  border: 0;
  border-radius: var(--radio-pill);
  background: rgba(123, 179, 224, 0.6);
  color: var(--blanco);
  font-family: var(--fuente);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.28s ease;
}

.pill:hover,
.pill:focus-visible {
  background: #223c6a;
  color: var(--blanco);
}

a.pill:visited {
  color: var(--blanco);
}

.pill.is-active {
  background: #223c6a;
}

.pill.is-active:hover,
.pill.is-active:focus-visible {
  background: rgba(123, 179, 224, 0.6);
}

.pro-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  box-shadow: none;
}

.pro-card__media {
  position: relative;
}

.pro-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background-image: linear-gradient(180deg, rgba(20, 24, 32, 0) 0%, rgba(20, 24, 32, 0.55) 100%);
  pointer-events: none;
}

.pro-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.pro-card__rating {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stars {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 3px;
}

.stars img {
  width: 14px;
  height: 14px;
  max-width: none;
  flex: 0 0 14px;
}

.pro-card__score {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 28, 22, 0.72);
  color: var(--blanco);
  font-family: var(--fuente-header);
  font-size: 12px;
  font-weight: 700;
}

.pro-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 20px 20px;
  border-radius: 0 0 24px 24px;
  background-image: linear-gradient(180deg, rgba(205, 226, 245, 0.3) 0%, #cde2f5 100%);
}

.pro-card h3 {
  margin: 0;
  font-family: var(--fuente-titulo);
  font-size: 15px;
  font-weight: 700;
  color: #223c6a;
}

.pro-card__meta {
  margin: 0;
  font-family: var(--fuente-header);
  font-size: 12px;
  font-weight: 400;
  color: #223c6a;
}

.pro-card__meta strong {
  font-weight: 600;
  color: #223c6a;
}

.pro-card__excerpt {
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  height: calc(1.45em * 5);
}

.pro-card__excerpt span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
  font-family: var(--fuente-header);
  font-weight: 400;
  color: #223c6a;
}

.pro-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.pro-card__actions .btn {
  flex: 1 1 0;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 13px;
}

.pro-card__actions .btn--primary {
  background: #223c6a;
  color: var(--blanco);
  border-color: #223c6a;
}

.pro-card__actions .btn--primary:hover,
.pro-card__actions .btn--primary:focus-visible {
  background: var(--blanco);
  color: #223c6a;
  border-color: #223c6a;
}

.pro-card__actions .btn--outline {
  background: var(--blanco);
  color: #223c6a;
  border-color: #223c6a;
}

.pro-card__actions .btn--outline:hover,
.pro-card__actions .btn--outline:focus-visible {
  background: #223c6a;
  color: var(--blanco);
  border-color: #223c6a;
}

.pro-card--listing {
  flex-direction: row;
  align-items: stretch;
  height: auto;
  background-image: linear-gradient(180deg, rgba(205, 226, 245, 0.3) 0%, #cde2f5 100%);
  isolation: auto;
}

.pro-card--listing .pro-card__media {
  flex: 0 0 260px;
  width: 260px;
}

.pro-card--listing .pro-card__media::after {
  content: none;
}

.pro-card--listing .pro-card__media img {
  height: 100%;
  min-height: 196px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
}

.pro-card--listing .pro-card__body {
  flex: 1 1 280px;
  min-width: 0;
  max-width: none;
  justify-content: flex-start;
  padding: 20px 22px;
  background: transparent;
  border-radius: 0;
}

.pro-card--listing .pro-card__rating {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  justify-content: flex-start;
  gap: 10px;
  margin: 6px 0 0;
}

.pro-card--listing .pro-card__score {
  width: 28px;
  height: 28px;
  background: #223c6a;
}

.pro-card--listing h3 {
  font-size: 24px;
}

.pro-card--listing .pro-card__meta {
  font-size: 18px;
}

.pro-card--listing .pro-card__place {
  margin: 4px 0 0;
  font-size: 13px;
  font-family: var(--fuente-header);
  color: #223c6a;
}

.pro-card--listing .pro-card__body > .btn {
  align-self: flex-start;
  min-height: 36px;
  margin-top: 16px;
  padding: 8px 18px;
  font-size: 13px;
  background: var(--blanco);
  color: #223c6a;
  border-color: #223c6a;
}

.pro-card--listing .pro-card__body > .btn:hover,
.pro-card--listing .pro-card__body > .btn:focus-visible {
  background: #223c6a;
  color: var(--blanco);
}

.pro-card--listing .pro-card__agenda {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 340px;
  width: 340px;
  max-width: 340px;
  min-width: 0;
  padding: 8px 12px 8px 0;
  border-left: 0;
  gap: 0;
}

.pro-card--listing .cdp-cal {
  --cdp-cal-h: 520px;
  flex: 0 0 auto;
  width: 100%;
  height: 360px;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--blanco);
}

.pro-card--listing .cdp-cal iframe {
  display: block;
  width: 100%;
  height: var(--cdp-cal-h);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  background: var(--blanco);
}

.listing--especialistas .listing__list {
  flex-direction: column;
  gap: 16px;
}

.team-preview__cta {
  margin-top: 22px;
}

.team-preview.is-filtered-empty .carousel {
  pointer-events: none;
}

.team-preview.is-filtered-empty .carousel__arrow,
.team-preview.is-filtered-empty .carousel__dots {
  opacity: 0;
  visibility: hidden;
}

.team-preview .carousel__viewport {
  transition:
    opacity 0.38s ease,
    transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-preview .carousel.is-filter-out .carousel__viewport,
.team-preview .carousel.is-filter-in .carousel__viewport {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.team-preview .carousel.is-filter-in.is-filter-shown .carousel__viewport {
  opacity: 1;
  transform: none;
}

.team-preview__empty {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  color: #223c6a;
  font-size: 15px;
  transition:
    max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease,
    margin 0.42s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-preview.is-filtered-empty .team-preview__empty {
  max-height: 4em;
  margin: 8px 0 0;
  opacity: 1;
  transform: none;
}

.hero--listing {
  min-height: 0;
  padding-bottom: 72px;
}

.page-especialistas .hero h1 .hero__title-desktop,
.page-especialistas .hero h1 .hero__title-mobile {
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.page-especialistas .hero h1 .hero__title-mobile {
  display: inline;
}

.page-especialistas .hero h1 .hero__title-desktop {
  display: none;
}

.pills--hero {
  width: 100%;
  margin: 28px 0 0;
}

.pills--hero .pill {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.pills--hero .pill.is-active,
.pills--hero .pill:hover,
.pills--hero .pill:focus-visible {
  background: #223c6a;
  border-color: #223c6a;
}

.pills--hero .pill.is-active:hover,
.pills--hero .pill.is-active:focus-visible {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.page-especialistas .hero,
.page-especialistas .listing {
  background: transparent;
}

.page-especialistas .hero.hero--listing {
  min-height: 0;
  height: auto;
  padding-bottom: 36px;
}

.page-especialistas .hero.hero--photo {
  background-color: #32599d;
  background-image: var(--hero-photo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.page-especialistas .listing {
  padding-bottom: 72px;
}

.page-especialistas .band-azul {
  background: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
}

.page-especialistas .band-azul::before {
  content: none;
}

.page-especialistas .stories {
  padding-bottom: 72px;
}

.page-especialistas .hero__copy {
  width: 100%;
  max-width: none;
}

.page-especialistas .hero h1 {
  width: 100%;
  font-size: clamp(22px, 2.5vw, 36px);
}

.page-especialistas .hero .search,
.page-blog .hero .search {
  margin-top: 20px;
  margin-bottom: 0;
}

.page-blog .hero,
.page-blog .listing,
.page-blog .alliance {
  background: transparent;
}

.page-blog .band-azul,
.page-entrada .band-azul {
  background: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
}

.page-blog .band-azul::before,
.page-entrada .band-azul::before {
  content: none;
}

.page-blog .hero__copy {
  width: 100%;
  max-width: none;
}

.page-blog .hero h1 {
  width: 100%;
  font-size: clamp(28px, 3vw, 40px);
}

.page-blog .alliance {
  padding: 8px 0 72px;
}

.page-entrada .post,
.page-entrada .related {
  background: transparent;
  color: var(--blanco);
}

.page-servicio .band-azul {
  background: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
}

.page-servicio .band-azul::before {
  content: none;
}

.page-servicio .ficha-hero,
.page-servicio .mid-cta,
.page-servicio .ficha-tabs,
.page-servicio .stories {
  background: transparent;
}

.ficha-hero {
  padding: 130px 0 28px;
}

.ficha-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ficha-hero h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.ficha-hero h2 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 800;
  color: #7bb3e0;
}

.ficha-hero p {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.ficha-hero__media img {
  width: 100%;
  aspect-ratio: 545 / 330;
  object-fit: cover;
  border-radius: 40px;
}

.page-servicio .mid-cta {
  padding-top: 8px;
  padding-bottom: 28px;
}

.ficha-tabs {
  padding: 8px 0 72px;
}

.ficha-tabs__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ficha-tabs .tabs__panel {
  display: none;
  gap: 16px;
}

.ficha-tabs .tabs__panel.is-active {
  display: flex;
}

.ficha-tabs .tabs__panel h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a1a1a;
}

.ficha-tabs .tabs__panel > p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b5563;
}

.ficha-tabs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
  list-style: disc;
}

.ficha-tabs__list li {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #42587f;
}

.post {
  padding: 132px 0 28px;
}

.post__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 500;
}

.post__crumb a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post__crumb img {
  width: 16px;
  height: 16px;
}

.post__crumb-sep {
  opacity: 0.7;
}

.post__crumb-current {
  min-width: 0;
}

.post__tag {
  position: static;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
}

.post h1 {
  margin-bottom: 28px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.post__media {
  position: relative;
  margin: 28px 0 32px;
  overflow: hidden;
  border-radius: 20px;
}

.post__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 460;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(0.68) brightness(1.2) saturate(0.62);
}

.post__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.post__body p {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.post__body h2 {
  margin: 36px 0 16px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--cian);
}

.post__author {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 40px;
  text-align: right;
}

.post__author-name {
  font-size: 16px;
  font-weight: 700;
}

.post__author-role {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.post__author img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}

.related {
  padding: 36px 0 72px;
}

.related h2 {
  margin-bottom: 8px;
}

.related .carousel--blog {
  margin-top: 12px;
}

.alliance__row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.alliance-card {
  flex: 1 1 100%;
  padding: 24px 24px 28px;
  border: 0;
  border-radius: 20px;
  background: var(--blanco);
  color: #42587f;
}

.alliance-card .alliance-card__kicker {
  margin: 0 0 12px;
  color: #7bb3e0;
  font-size: 15px;
  font-weight: 600;
}

.alliance-card h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.2vw, 24px);
  font-weight: 800;
  line-height: 1.15;
  color: #1059a9;
}

.alliance-card__logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
}

.alliance-card__logos img {
  width: auto;
  object-fit: contain;
}

.alliance-card__logos img:first-child {
  height: 49px;
}

.alliance-card__logos img:last-child {
  height: 58px;
}

.alliance-card p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.alliance-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  list-style: disc;
}

.alliance-card li {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
}

.alliance-card .alliance-card__close {
  color: #1059a9;
  font-weight: 700;
}

.page-nosotros .hero,
.page-nosotros .about,
.page-nosotros .mid-cta {
  background: transparent;
}

.page-nosotros .band-azul {
  background: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
}

.page-nosotros .band-azul::before {
  content: none;
}

.about-banner {
  padding-top: 130px;
}

.about-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 257;
  object-fit: cover;
}

.page-nosotros .about--intro {
  padding-top: 48px;
}

.page-nosotros .about--split {
  padding-top: 28px;
  padding-bottom: 8px;
}

.page-nosotros .about--split .partners {
  margin-top: 4px;
}

.page-nosotros .mid-cta {
  padding-top: 48px;
  padding-bottom: 56px;
}

.page-nosotros .mid-cta h2 {
  max-width: none;
  flex: 1 1 auto;
}

.page-nosotros .mid-cta h2 br {
  display: none;
}

.page-nosotros .mid-cta .btn {
  flex-shrink: 0;
}

.page-nosotros .stats {
  background: transparent;
  padding: 0;
  color: inherit;
}

.page-nosotros .stats__row {
  gap: 8px;
  justify-content: flex-start;
}

.page-nosotros .stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 4px);
  max-width: calc(50% - 4px);
  min-height: 92px;
  margin: 0;
  padding: 8px 12px;
  border: 0;
  border-radius: 16px;
  background: var(--azul-claro);
}

.page-nosotros .stats__item p {
  max-width: none;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
}

.page-nosotros .stats__item .stats__num {
  margin-bottom: 2px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.listing__pager {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 8px;
}

.listing__pager:not([hidden]) {
  display: flex;
}

.listing.is-paged .listing__pager {
  display: none;
}

.listing__pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanco);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.listing__pager button.is-active,
.listing__pager button:hover,
.listing__pager button:focus-visible {
  background: #223c6a;
  border-color: var(--blanco);
}

.listing__pager button:disabled {
  opacity: 0.45;
  cursor: default;
}

.listing__pager img {
  display: block;
  filter: brightness(0) invert(1);
}

.listing__pager span {
  width: 36px;
  text-align: center;
  color: var(--blanco);
  font-weight: 700;
}

.listing {
  width: 100%;
  padding: 16px 0 0;
}

.listing__toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 24px;
}

.listing__toolbar .c-select {
  flex: 0 1 220px;
}

.listing__sort-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.listing__sort-btn img {
  display: block;
  margin: auto;
}

.sort-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0.32s;
}

.sort-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition:
    opacity 0.32s ease,
    visibility 0s linear 0s;
}

.sort-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 61, 107, 0.46);
}

.sort-modal__panel {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  padding: 28px 22px 22px;
  border-radius: 18px;
  background: #dce6f2;
  color: var(--azul-texto);
  box-shadow: 0 18px 40px rgba(8, 24, 52, 0.28);
  overflow: visible;
  transform: translateY(16px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.sort-modal.is-open .sort-modal__panel {
  transform: none;
}

.sort-modal__panel h2 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
}

.sort-modal__list button {
  display: block;
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid rgba(34, 61, 107, 0.12);
  background: transparent;
  color: var(--azul-texto);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.sort-modal__list button.is-active,
.sort-modal__list button:hover,
.sort-modal__list button:focus-visible {
  font-weight: 700;
}

.sort-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--azul-texto);
  transform: translate(30%, -30%);
}

.sort-modal__close img {
  display: block;
}

.listing__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing__list.is-filter-out {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.listing--blog .listing__list {
  transition: opacity 0.32s ease;
}

.listing--blog .listing__list.is-paging {
  opacity: 0;
}

.listing__list .pro-card,
.listing__list .blog-card {
  display: flex;
  flex: 1 1 100%;
  max-width: 100%;
}

.listing__list .blog-card a {
  width: 100%;
}

.listing--blog .blog-card,
.related .blog-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: #4973bc;
  box-shadow: none;
}

.listing--blog .blog-card a,
.related .blog-card a {
  border-radius: 22px;
}

.listing--blog .blog-card__tag,
.related .blog-card__tag,
.post__tag {
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border: 1px solid #fff;
  background: rgba(32, 68, 128, 0.48);
  font-size: 13px;
  font-weight: 500;
}

.listing--blog .blog-card__body,
.related .blog-card__body {
  padding: 18px 22px 22px;
  background: #4973bc;
}

.listing--blog .blog-card__meta,
.related .blog-card__meta {
  justify-content: flex-start;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.listing--blog .blog-card h3,
.related .blog-card h3 {
  margin: 14px 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.listing--blog .blog-card__more,
.related .blog-card__more {
  font-size: 15px;
  font-weight: 400;
  color: #fff;
}

.listing__list .pro-card.is-hidden,
.listing__list .blog-card.is-hidden,
.listing__list .pro-card.is-paged-out,
.listing__list .blog-card.is-paged-out {
  display: none;
}

.listing__list .pro-card.is-revealing,
.listing__list .blog-card.is-revealing {
  opacity: 0;
  transform: translateY(20px);
}

.listing__list .pro-card.is-revealing.is-revealed,
.listing__list .blog-card.is-revealing.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.listing__more {
  display: none;
  justify-content: center;
  margin: 28px 0 0;
}

.listing.is-paged .listing__more:not([hidden]),
.listing--especialistas .listing__more:not([hidden]) {
  display: flex;
}

.listing--especialistas:not(.is-paged) .listing__list .pro-card:nth-child(n + 7) {
  display: none;
}

.listing__more .btn {
  min-width: 168px;
}

.listing__empty {
  display: none;
  width: 100%;
  margin-top: 24px;
  text-align: center;
  color: var(--blanco);
}

.listing.is-empty .listing__empty {
  display: block;
}

.stats {
  background: #A0C7EB;
  color: var(--blanco);
  padding: 30px 0;
}

.stats__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.stats__item {
  flex: 1 1 46%;
  margin: 12px 0;
}

.stats__num {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.about {
  background: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
  color: var(--blanco);
  padding-top: 64px;
}

.about__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about h1,
.about h2,
.about p {
  max-width: 560px;
  margin-bottom: 25px;
}

.about p {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}

.about p + p {
  margin-top: 16px;
}

.about__photo {
  flex: 0 0 auto;
}

.about__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 550 / 500;
  border-radius: 40px;
  object-fit: cover;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.badges li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 700;
  color: #7BB3E0;
}

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.partners img {
  width: 166px;
  height: 65px;
  max-width: 100%;
  object-fit: contain;
}

.about__team {
  width: 100%;
  margin-top: 55px;
  aspect-ratio: 1440 / 257;
}

.about__team img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services {
  text-align: center;
  overflow: clip;
}

.carousel--services {
  margin-top: 32px;
  padding-bottom: 8px;
}

.carousel--services .carousel__dots {
  display: none;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 8px;
}

.service-list li {
  position: relative;
  z-index: 0;
  flex: 0 0 calc((100% - 14px) / 2);
  overflow: visible;
  background: transparent;
}

.service-list li:has(.service-card.is-open) {
  z-index: 4;
}

.service-card {
  position: relative;
  width: 100%;
  aspect-ratio: 225 / 145;
  overflow: visible;
  background: transparent;
}

.service-card__face {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  color: var(--blanco);
  text-align: center;
  background: transparent;
}

.service-card__face::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("../img/card-atencion.webp") center / cover no-repeat;
}

.service-card.is-open .service-card__face {
  border-radius: 16px 0 0 16px;
}

.service-card.opens-left.is-open .service-card__face {
  border-radius: 0 16px 16px 0;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 92%;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.service-card__more {
  position: absolute;
  top: calc(100% - 51px);
  right: -5px;
  z-index: 3;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 4px solid var(--blanco);
  border-radius: 50%;
  background: #7bb3e0;
  cursor: pointer;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.service-card__more::before,
.service-card__more::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blanco);
  transform: translate(-50%, -50%);
  transition:
    background-color 0.28s ease,
    transform 0.28s ease;
}

.service-card__more::before {
  width: 24px;
  height: 4px;
}

.service-card__more::after {
  width: 4px;
  height: 24px;
}

.service-card__more:hover,
.service-card__more:focus-visible {
  background: var(--blanco);
  border-color: #7bb3e0;
}

.service-card__more:hover::before,
.service-card__more:hover::after,
.service-card__more:focus-visible::before,
.service-card__more:focus-visible::after {
  background: #7bb3e0;
}

.service-card.is-open .service-card__more::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.service-card__panel {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  width: 0;
  height: 100%;
  padding: 16px 18px 18px;
  overflow: hidden;
  border: 1px solid #b7d6f5;
  border-left: 0;
  border-radius: 0 16px 16px 0;
  background: var(--blanco);
  color: var(--azul-texto);
  text-align: left;
  pointer-events: none;
  visibility: hidden;
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 0.4s ease,
    visibility 0s linear 0.4s;
}

.service-card.is-open .service-card__panel {
  width: calc(100% + 14px);
  pointer-events: auto;
  visibility: visible;
  clip-path: inset(0);
  transition:
    clip-path 0.4s ease,
    visibility 0s;
}

.service-card.opens-left .service-card__panel {
  left: auto;
  right: 100%;
  border-left: 1px solid #b7d6f5;
  border-right: 0;
  border-radius: 16px 0 0 16px;
  clip-path: inset(0 0 0 100%);
}

.service-card.opens-left.is-open .service-card__panel {
  width: calc(100% + 14px);
  pointer-events: auto;
  visibility: visible;
  clip-path: inset(0);
}

.service-card__panel p {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.service-card__panel a {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 6px;
  color: #7bb3e0;
  font-size: 14px;
  font-weight: 700;
}

.services__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.band-azul {
  position: relative;
  color: var(--blanco);
  background: linear-gradient(165deg, #4275d0 0%, #2d5698 48%, #223d6b 100%);
}

.band-azul::before {
  content: none;
}

.tests,
.stories,
.blog,
.mid-cta {
  background: transparent;
  color: inherit;
  padding: 72px 0;
}

.tests,
.stories,
.blog {
  overflow-x: clip;
}

.faq {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, var(--azul-brillo) 0%, var(--azul-profundo) 100%);
  color: var(--blanco);
  padding: 72px 0;
}

.tests__head {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tests__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tests__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.flag {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1.5px solid var(--blanco);
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.flag.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.flag img {
  width: 100%;
  height: 100%;
}

.tests__intro {
  max-width: 100%;
  margin: 10px 0 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: opacity 0.28s ease;
}

.tests__intro.is-fading,
.tests__fade.is-fading {
  opacity: 0;
}

/* Widget: pestañas (Test Screening y ficha de servicio) */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tabs button {
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--blanco);
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.tabs button:hover,
.tabs button:focus-visible {
  background: #7bb3e0;
  color: var(--blanco);
}

.tabs button.is-active {
  background: #7bb3e0;
  color: var(--blanco);
}

.tabs button.is-active:hover,
.tabs button.is-active:focus-visible {
  background: #6aa6d4;
  color: var(--blanco);
}

.tabs__panel {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--blanco);
  color: var(--azul-texto);
  border-radius: 24px;
}

.tests__fade {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  transition: opacity 0.28s ease;
}

.tabs__panel img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 24px;
}

.tests__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.tests__copy h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}

.tests__copy p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #4b5563;
}

.mid-cta {
  padding-top: 8px;
  padding-bottom: 8px;
}

.mid-cta__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  background: linear-gradient(
    95deg,
    rgba(27, 87, 152, 0.45) 0%,
    rgba(32, 100, 172, 0.34) 50%,
    rgba(43, 127, 212, 0.22) 100%
  );
}

.mid-cta h2 {
  max-width: 60ch;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.stories {
  padding-top: 50px;
  padding-bottom: 20px;
  text-align: center;
}

.stories .lead--light {
  margin-top: 8px;
  margin-bottom: 36px;
  font-size: 16px;
  font-weight: 400;
  color: var(--blanco);
}

.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 28px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  background: #5d9ddc;
  box-shadow: 0 14px 32px rgba(8, 24, 52, 0.38);
  text-align: left;
}

.story-card p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.story-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(34, 61, 107, 0.28);
}

.story-card cite {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
}

.story-card .stars {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
}

.story-card .stars img {
  width: 14px;
  height: 14px;
  max-width: none;
}

.blog {
  padding-top: 32px;
  text-align: left;
}

.blog h2 {
  text-align: left;
}

.blog .lead {
  max-width: 100%;
  margin: 10px 0 0;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
}

.instagram__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  margin-top: 36px;
  padding-bottom: 8px;
}

.carousel--blog {
  margin-top: 28px;
}

.carousel--blog .carousel__viewport {
  container-type: inline-size;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 48px;
  margin: -8px 0 0;
}

.carousel--blog .carousel__track {
  gap: 16px;
}

.carousel--blog .carousel__slide {
  flex: 0 0 100cqi;
  width: 100cqi;
}

.blog-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 14px 32px rgba(8, 24, 52, 0.38);
}

.blog-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  color: inherit;
}

.blog-card__media {
  position: relative;
  overflow: hidden;
}

.blog-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 278 / 196;
  object-fit: cover;
}

.blog-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: var(--radio-pill);
  background: #223d6b;
  font-size: 12px;
  font-weight: 700;
}

.post__tag {
  position: static;
  padding: 6px 14px;
  border: 1px solid #fff;
  background: rgba(32, 68, 128, 0.48);
  font-size: 13px;
  font-weight: 500;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 20px 22px;
  background: rgba(255, 255, 255, 0.42);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card h3 {
  margin: 12px 0 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
}

.blog-card__read img,
.blog-card__more img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.blog__cta {
  display: flex;
  min-width: 240px;
  width: fit-content;
  margin: 28px auto 0;
  padding: 12px 64px;
  border-color: var(--blanco);
  background: linear-gradient(90deg, #1f60a6 0%, #2572c2 100%);
}

.instagram {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  background: #a0c7eb;
  padding: 64px 0 72px;
  text-align: center;
  color: var(--blanco);
}

.instagram h2 span {
  display: inline;
  font-weight: 800;
}

.instagram__list li {
  flex: 1 1 calc(50% - 12px);
  max-width: calc(50% - 12px);
  min-width: 0;
}

.instagram__list img {
  width: 100%;
  height: auto;
  aspect-ratio: 271 / 348;
  object-fit: cover;
  border-radius: 20px;
}

.faq {
  text-align: center;
}

.faq h2 {
  display: block;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  scroll-margin-top: 120px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(18, 40, 80, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  color: var(--blanco);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq__trigger:focus-visible {
  outline: 2px solid var(--blanco);
  outline-offset: -4px;
  border-radius: 16px;
}

.faq__icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blanco);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.faq__icon::before {
  width: 18px;
  height: 2.5px;
}

.faq__icon::after {
  width: 2.5px;
  height: 18px;
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__panel p {
  padding: 0 20px 18px 20px;
  color: var(--blanco);
  font-size: 14px;
  line-height: 1.5;
}

.page-profesional .band-azul {
  background: linear-gradient(90deg, #4275cf 0%, #32599d 48%, #223d6b 100%);
}

.page-profesional .stories {
  padding: 8px 0 72px;
}

.page-profesional .stories h2 {
  padding-bottom: 32px;
}

.pro-ficha {
  padding: 130px 0 64px;
}

.pro-ficha .post__crumb {
  color: var(--blanco);
}

.pro-ficha .post__crumb img {
  filter: brightness(0) invert(1);
}

.pro-ficha__card {
  padding: 28px;
  border-radius: var(--radio-card);
  background: var(--blanco);
  box-shadow: var(--sombra);
  color: var(--azul-texto);
}

.pro-ficha__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pro-ficha__photo {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.pro-ficha__photo img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.pro-ficha__side {
  min-width: 0;
}

.pro-ficha__intro h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.pro-ficha__verified {
  display: inline-flex;
  color: #2a9d8f;
}

.pro-ficha__role {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--azul-suave);
}

.pro-ficha__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
}

.pro-ficha__meta {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.pro-ficha__meta div {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--azul-hielo);
}

.pro-ficha__meta dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--azul-suave);
}

.pro-ficha__meta dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.pro-ficha__meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-ficha__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.pro-ficha__agenda {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 61, 107, 0.12);
  scroll-margin-top: 120px;
}

.pro-ficha__agenda h2 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
}

.pro-ficha__agenda .cdp-agenda-select {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: none;
  margin: 0 0 16px;
}

.pro-ficha__agenda .cdp-agenda-select .c-select__value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pro-ficha__agenda-label {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-suave);
}

.pro-ficha__agenda .cdp-cal iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
}

.pro-ficha__bio {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(34, 61, 107, 0.12);
}

.pro-ficha__block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 61, 107, 0.12);
}

.pro-ficha__bio h2,
.pro-ficha__block h2 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
}

.pro-ficha__bio p {
  margin: 0 0 12px;
}

.pro-ficha__block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.pro-ficha__block li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pro-ficha__block em,
.pro-ficha__block span {
  font-style: normal;
  color: var(--azul-suave);
  font-size: 14px;
}

.pro-ficha__block a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-ficha__tags {
  flex-direction: row !important;
  flex-wrap: wrap;
}

.pro-ficha__tags li {
  padding: 6px 12px;
  border-radius: var(--radio-pill);
  background: var(--azul-hielo);
  font-size: 14px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .faq__panel,
  .faq__icon::before,
  .faq__icon::after,
  .team-preview .carousel,
  .team-preview .carousel__viewport,
  .team-preview__empty,
  .listing__list,
  .listing__list .pro-card.is-revealing.is-revealed,
  .listing__list .blog-card.is-revealing.is-revealed {
    transition: none;
  }
}

.site-footer {
  position: relative;
  z-index: 3;
  margin: 0;
  background: var(--blanco);
  color: var(--azul-texto);
}

.footer__main {
  padding: 36px 0 24px;
}

.logo--footer {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.logo--footer img {
  width: 264px;
}

.footer__cols {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact img {
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin-top: 2px;
  color: var(--azul-texto);
}

.footer__brands {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.footer__brands img {
  width: 120px;
  height: 72px;
  object-fit: contain;
}

.footer__copy {
  margin: 0;
  padding: 14px var(--gutter);
  background: var(--gris-barra);
  text-align: center;
  font-size: 13px;
  color: #5a5a5a;
}

.footer__copy a {
  text-decoration: underline;
}

.cookies {
  background: #0b1220;
  color: #8aa4c4;
  padding: 16px var(--gutter);
  font-size: 14px;
}

.cookies__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 12px 0 0;
}

.cookies__actions a {
  color: inherit;
  text-decoration: underline;
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.carousel__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel__track.is-instant {
  transition: none;
}

.carousel--cards {
  padding: 0 40px;
}

.carousel--cards .carousel__viewport {
  container-type: inline-size;
}

.carousel--cards .carousel__slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 min(270px, 100cqi);
  width: min(270px, 100cqi);
  max-width: 100cqi;
}

.carousel--stories {
  padding: 0 36px;
}

.carousel--stories .carousel__viewport {
  container-type: inline-size;
  width: 100%;
  overflow: hidden;
  padding: 16px 0 48px;
  margin: -16px 0 0;
}

.carousel--stories .carousel__track {
  gap: 24px;
}

.carousel--stories .carousel__slide {
  flex: 0 0 100cqi;
  width: 100cqi;
}

.carousel--stories .carousel__arrow {
  top: 100px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
}

.carousel--stories .carousel__arrow img {
  width: 26px;
  height: 26px;
}

.carousel--stories .carousel__arrow[data-carousel-prev] {
  left: 0;
}

.carousel--stories .carousel__arrow[data-carousel-next] {
  right: 0;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 35px 0 10px 0;
}

.carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radio-pill);
  background: #9bb6d6;
  cursor: pointer;
}

.carousel__dots button.is-active {
  width: 22px;
  background: #6ea0d4;
}

.carousel--stories .carousel__dots {
  margin: 4px 0 0;
}

.carousel--stories .carousel__dots button {
  background: rgba(255, 255, 255, 0.35);
}

.carousel--stories .carousel__dots button.is-active {
  background: var(--blanco);
}

.carousel--blog .carousel__dots {
  margin: 8px 0 0;
}

.carousel--blog .carousel__dots button {
  background: rgba(255, 255, 255, 0.35);
}

.carousel--blog .carousel__dots button.is-active {
  background: var(--blanco);
}

.carousel__arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel__arrow[data-carousel-prev] {
  left: -4px;
}

.carousel__arrow[data-carousel-next] {
  right: -4px;
}

.carousel.is-no-loop .carousel__arrow {
  display: none;
}

.carousel--cards .carousel__arrow[data-carousel-prev] {
  left: 0;
}

.carousel--cards .carousel__arrow[data-carousel-next] {
  right: 0;
}

.carousel--cards .carousel__arrow img {
  filter: brightness(0);
}

.carousel--stories .carousel__arrow img {
  filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
  .site-header {
    padding-top: 16px;
  }

  .header__nav-pill {
    width: 100%;
    min-height: 56px;
    padding: 8px 12px 8px 16px;
  }

  .logo img {
    width: 168px;
  }

  .listing__toolbar .c-select {
    display: none;
  }

  .listing__sort-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 0;
    padding: 100px 0 36px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .search {
    margin-top: 22px;
    gap: 10px;
  }

  .search__filters {
    order: 2;
    width: 100%;
    gap: 6px;
  }

  .c-select {
    flex: 1 1 0;
  }

  .c-select__trigger {
    min-height: 36px;
    padding: 0 6px 0 8px;
    font-size: 12px;
    gap: 4px;
  }

  .c-select__value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search__submit {
    order: 3;
    align-self: center;
  }

  .team-preview h2,
  .services h2,
  .about h1,
  .about h2,
  .tests h2,
  .stories h2,
  .blog h2,
  .related h2,
  .faq h2,
  .instagram h2 {
    font-size: 28px;
  }

  .post {
    padding-top: 120px;
  }

  .post__crumb-current {
    flex: 1 1 180px;
  }

  .post__media img {
    aspect-ratio: 1 / 1;
  }

  .about-banner {
    padding-top: 100px;
  }

  .about-banner img {
    aspect-ratio: 390 / 160;
    min-height: 160px;
    object-position: center 28%;
  }

  .ficha-hero {
    padding-top: 108px;
  }

  .ficha-hero h1 {
    font-size: 28px;
  }

  .ficha-hero h2 {
    font-size: 18px;
  }

  .ficha-tabs .tabs {
    flex-direction: column;
  }

  .ficha-tabs .tabs li {
    flex: 0 0 auto;
    width: 100%;
  }

  .ficha-tabs .tabs button {
    width: 100%;
    text-align: left;
  }

  .pills {
    justify-content: flex-start;
    margin: 20px 0 18px;
  }

  .carousel--cards {
    padding: 0;
  }

  .carousel--cards .carousel__viewport,
  .instagram__list {
    width: calc(100% + var(--gutter));
  }

  .carousel--cards .carousel__arrow,
  .carousel--stories .carousel__arrow {
    display: none;
  }

  .carousel--stories {
    padding: 0;
  }

  .carousel--stories .carousel__viewport {
    padding: 16px 0 48px;
    margin: -16px 0 0;
  }

  .mid-cta__box {
    align-items: center;
  }

  .mid-cta h2 {
    text-align: center;
  }

  .about__photo {
    display: none;
  }

  .page-nosotros .about__photo {
    display: block;
  }

  .page-nosotros .partners {
    justify-content: flex-start;
  }

  .page-nosotros .mid-cta h2 {
    max-width: none;
  }

  .badges {
    gap: 10px;
  }

  .badges li {
    padding: 9px 14px;
    font-size: 16px;
    color: #fff;
  }

  .partners {
    justify-content: flex-end;
  }

  .partners img {
    width: 133px;
    height: 52px;
  }

  .carousel--services .carousel__track {
    gap: 0;
  }

  .carousel--services .carousel__slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .carousel--services .carousel__dots {
    display: flex;
    margin: 16px 0 0;
  }

  .about__team {
    margin-top: 36px;
  }

  .service-card__more {
    top: calc(100% - 36px);
    right: -4px;
    width: 40px;
    height: 40px;
    border-width: 3px;
  }

  .service-card__more::before {
    width: 16px;
    height: 3px;
  }

  .service-card__more::after {
    width: 3px;
    height: 16px;
  }

  .services__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .services__actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .tabs li {
    flex: 0 0 calc((100% - 12px) / 2);
  }

  .tabs button {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
    white-space: normal;
  }

  .tabs__panel img {
    display: none;
  }

  .instagram h2 span {
    display: block;
  }

  .instagram__list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .instagram__list::-webkit-scrollbar {
    display: none;
  }

  .instagram__list li {
    flex: 0 0 42%;
    max-width: none;
  }

  .listing:not(.is-paged) .listing__list .pro-card:nth-child(n + 7),
  .listing:not(.is-paged) .listing__list .blog-card:nth-child(n + 7) {
    display: none;
  }

  .listing__more:not([hidden]) {
    display: flex;
  }

  .pro-card--listing {
    flex-direction: column;
  }

  .pro-card--listing .pro-card__media,
  .pro-card--listing .pro-card__agenda {
    flex: 0 0 auto;
    width: 100%;
  }

  .pro-card--listing .pro-card__media img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .pro-card--listing .pro-card__body {
    flex: 1 1 auto;
    max-width: none;
    padding: 16px 18px 8px;
  }

  .pro-card--listing .pro-card__agenda {
    padding: 8px 18px 18px;
    border-left: 0;
    border-top: 1px solid rgba(34, 60, 106, 0.12);
  }

  .faq__trigger {
    gap: 12px;
    padding: 16px 18px;
    font-size: 15px;
  }

  .faq__panel p {
    padding: 0 18px 16px;
  }

  .footer__brands img {
    height: 52px;
  }

  .footer__brands img:nth-child(2) {
    height: 48px;
  }

  .footer__brands img:nth-child(3) {
    height: 56px;
  }

  .pro-ficha {
    padding-top: 110px;
  }

  .pro-ficha__card {
    padding: 20px;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
  }

  .page-especialistas .hero h1 .hero__title-desktop {
    display: inline;
    white-space: nowrap;
  }

  .page-especialistas .hero h1 .hero__title-desktop span {
    display: inline;
  }

  .page-especialistas .hero h1 .hero__title-mobile {
    display: none;
  }

  .faq__trigger {
    gap: 20px;
    padding: 18px 28px;
    font-size: 16px;
  }

  .faq__panel p {
    padding: 0 72px 22px 32px;
  }

  .search {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
  }

  .search:has(.search__filters) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    align-items: start;
    column-gap: 12px;
    row-gap: 20px;
  }

  .search__col {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
    gap: 20px;
    order: 1;
    overflow: visible;
  }

  .search:has(.search__filters) .search__col {
    display: contents;
  }

  .search__query {
    order: unset;
  }

  .search:has(.search__filters) .search__query {
    grid-column: 1;
    grid-row: 1;
  }

  .search__submit {
    order: 2;
    flex: 0 0 170px;
  }

  .search:has(.search__filters) .search__submit {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 170px;
    flex: none;
  }

  .search__filters {
    order: unset;
  }

  .search:has(.search__filters) .search__filters {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .c-select {
    flex: 1 1 0;
    min-width: 0;
  }

  .stats__item {
    flex: 1 1 21%;
  }

  .page-nosotros .stats {
    flex: 1 1 46%;
  }

  .page-nosotros .stats__item {
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
    min-height: 92px;
  }

  .service-list li {
    flex: 0 0 calc((100% - 28px) / 3);
  }

  .carousel--services {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .carousel--services .carousel__viewport,
  .carousel--services .carousel__track,
  .carousel--services .carousel__slide {
    display: contents;
  }

  .about__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .about__copy,
  .about__photo {
    flex: 1 1 46%;
  }

  .tests__body {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    width: calc(100% + max(var(--gutter), (100vw - var(--wrap)) / 2));
  }

  .tabs {
    flex: 0 0 30%;
    max-width: 30%;
    flex-direction: column;
    justify-content: space-between;
  }

  .tabs li {
    display: flex;
    flex: 1 1 0;
  }

  .tabs button,
  .tabs__panel {
    width: 100%;
  }

  .tabs button {
    height: 100%;
  }

  .tabs__panel {
    padding: 24px 28px 24px 32px;
    border-radius: 24px 0 0 24px;
  }

  .tabs__panel.is-active {
    flex: 1 1 70%;
    width: 70%;
  }

  .tests__fade {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
    flex: 1 1 auto;
    min-height: 100%;
  }

  .tests__copy {
    flex: 1 1 auto;
    justify-content: space-between;
    min-width: 0;
  }

  .tests__copy .btn {
    margin-top: 8px;
  }

  .tabs__panel img {
    flex: 0 0 38%;
    width: 38%;
    height: 0;
    min-height: 100%;
    max-height: none;
  }

  .ficha-hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

  .ficha-hero__copy {
    flex: 1 1 50%;
    min-width: 0;
  }

  .ficha-hero__media {
    flex: 0 0 46%;
    max-width: 540px;
  }

  .ficha-tabs__body {
    flex-direction: row;
    align-items: stretch;
  }

  .ficha-tabs .tabs {
    flex: 0 0 32%;
    max-width: 32%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
  }

  .ficha-tabs .tabs li {
    display: flex;
    flex: 0 0 auto;
  }

  .ficha-tabs .tabs button {
    width: 100%;
    height: auto;
    min-height: 56px;
    text-align: left;
    padding: 16px 20px;
  }

  .ficha-tabs .tabs__panel {
    border-radius: 24px;
    padding: 28px 32px;
  }

  .ficha-tabs .tabs__panel.is-active {
    flex: 1 1 auto;
  }

  .mid-cta__box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
  }

  .mid-cta h2 {
    font-size: 22px;
  }

  .instagram__list {
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 36px;
  }

  .carousel--blog .carousel__slide {
    flex-basis: calc((100cqi - 16px) / 2);
    width: calc((100cqi - 16px) / 2);
  }

  .carousel--stories .carousel__slide {
    flex-basis: calc((100cqi - 24px) / 2);
    width: calc((100cqi - 24px) / 2);
  }

  .instagram__list li {
    flex: 1 1 calc((100% - 108px) / 4);
    min-width: 0;
  }

  .footer__cols {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .carousel--cards .carousel__slide {
    flex-basis: calc((100cqi - 32px) / 3);
    width: calc((100cqi - 32px) / 3);
    max-width: none;
  }

  .listing__list .pro-card,
  .listing__list .blog-card {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .listing__list .pro-card--listing {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .pro-card--listing .pro-card__media {
    flex-basis: 229px;
    width: 229px;
  }

  .pro-card--listing .pro-card__agenda {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
  }

  .alliance-card {
    flex: 1 1 calc(50% - 12px);
    padding: 28px 28px 32px;
  }

  .pro-ficha__top {
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
  }

  .pro-ficha__photo {
    flex: 0 0 260px;
    position: sticky;
    top: 120px;
  }

  .pro-ficha__photo img {
    max-width: 100%;
  }

  .pro-ficha__side {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pro-ficha__intro {
    flex: 1 1 auto;
    min-width: 0;
  }

  .pro-ficha__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-ficha__card {
    padding: 36px;
  }
}

@media (min-width: 1100px) {
  .hero__break {
    display: block;
  }

  .wrap.header__bar {
    width: min(1360px, calc(100% - (var(--gutter) * 2)));
  }

  .nav {
    position: absolute;
    top: 40px;
    left: 50%;
    z-index: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: min(1360px, calc(100% - (var(--gutter) * 2)));
    height: 68px;
    padding: 0 290px 0 300px;
    background: transparent;
    box-shadow: none;
    transform: translateX(-50%);
    visibility: visible;
    pointer-events: none;
    transition: none;
  }

  .nav__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 36px;
    pointer-events: auto;
  }

  .nav__cta {
    display: none;
  }

  body.is-nav-open::before {
    content: none;
  }

  .header__cta {
    display: inline-flex;
    align-self: stretch;
    min-height: 68px;
    padding-block: 0;
  }

  .header__toggle {
    display: none;
  }

  .header__nav-pill {
    flex: 1 1 auto;
    max-width: none;
    min-height: 68px;
    padding: 16px 78px;
  }

  .hero {
    min-height: 550px;
    padding-top: 150px;
  }

  .hero--listing,
  .page-especialistas .hero {
    min-height: 0;
  }

  .service-list li {
    flex: 0 0 calc((100% - 56px) / 5);
  }

  .service-card h3 {
    font-size: 16px;
  }

  .carousel--blog .carousel__slide {
    flex-basis: calc((100cqi - 48px) / 4);
    width: calc((100cqi - 48px) / 4);
  }

  .about__copy {
    flex: 1 1 auto;
    max-width: 530px;
  }

  .page-nosotros .stats {
    flex: 1 1 auto;
    max-width: 550px;
  }

  .page-nosotros .mid-cta h2 br {
    display: inline;
  }

  .about__photo {
    flex: 0 0 550px;
    width: 550px;
  }

  .about__photo img {
    width: 550px;
    height: 470px;
    aspect-ratio: auto;
  }

  .carousel--cards .carousel__slide {
    flex-basis: calc((100cqi - 48px) / 4);
    width: calc((100cqi - 48px) / 4);
    max-width: none;
  }

  .carousel--stories .carousel__slide {
    flex-basis: calc((100cqi - 48px) / 3);
    width: calc((100cqi - 48px) / 3);
  }

  .listing__list .pro-card,
  .listing__list .blog-card {
    flex: 0 0 calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
  }

  .listing__list .pro-card--listing {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .pro-card--listing .pro-card__media {
    flex-basis: 260px;
    width: 260px;
  }

  .pro-card--listing .pro-card__agenda {
    flex: 0 0 340px;
    width: 340px;
    max-width: 340px;
  }

  .post {
    padding-top: 160px;
  }

}
