/* /quienes-somos/ — mobile first */

.qs-page {
  background:
    radial-gradient(ellipse 42% 28% at 92% 12%, rgba(21, 155, 170, 0.06), transparent 60%),
    radial-gradient(ellipse 34% 22% at 6% 78%, rgba(231, 45, 107, 0.04), transparent 55%),
    var(--acogida-cream);
  overflow-x: clip;
}

.qs-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--acogida-cream);
}

.qs-hero__inner {
  width: var(--container-wide);
  margin-inline: auto;
  padding: 1rem 0 1.75rem;
  position: relative;
  z-index: 1;
}

.qs-hero .breadcrumbs {
  margin-bottom: 1rem;
}

.qs-hero__title-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: min(100%, 34rem);
  padding: 1.15rem 1.35rem 1.25rem;
}

.qs-hero__brush {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(231, 45, 107, 0.94) 0%,
    rgba(231, 45, 107, 0.8) 48%,
    rgba(242, 140, 24, 0.5) 100%
  );
  border-radius: 48% 52% 45% 55% / 55% 48% 52% 45%;
  transform: rotate(-1.5deg) scaleX(1.03);
  box-shadow: 0 10px 28px rgba(231, 45, 107, 0.16);
}

.qs-hero__index,
.qs-hero__title {
  position: relative;
  z-index: 1;
  color: #fff;
  margin: 0;
}

.qs-hero__index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

.qs-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 7vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.qs-hero__deco { position: absolute; inset: 0; pointer-events: none; }

.qs-hero__star {
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.7;
}

.qs-hero__star--1 { top: 18%; right: 10%; background: var(--acogida-purple); }
.qs-hero__star--2 { bottom: 20%; right: 24%; background: var(--acogida-turquoise); width: 0.45rem; height: 0.45rem; }

.qs-hero__heart {
  position: absolute;
  top: 26%;
  right: 20%;
  width: 0.7rem;
  height: 0.65rem;
  background: var(--acogida-pink);
  transform: rotate(-45deg);
  opacity: 0.5;
  border-radius: 0.1rem;
}

.qs-hero__heart::before,
.qs-hero__heart::after {
  content: "";
  position: absolute;
  width: 0.7rem;
  height: 0.65rem;
  background: inherit;
  border-radius: 50%;
}

.qs-hero__heart::before { top: -0.35rem; left: 0; }
.qs-hero__heart::after { top: 0; left: 0.35rem; }

.qs-page__inner {
  width: var(--container-wide);
  margin-inline: auto;
  padding: 2rem 0 0;
}

.qs-intro { margin-bottom: 2rem; }

.qs-intro__text {
  margin: 0;
  max-width: 900px;
  color: var(--acogida-blue);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.65;
  font-weight: 600;
}

.qs-section-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--acogida-blue);
}

/* Mobile order: datos → cita → ilustración */
.qs-composition {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.25rem;
}

.qs-datos { order: 1; }
.qs-quote-section { order: 2; }
.qs-visual { order: 3; }

.qs-datos__list {
  margin: 0;
  padding: 0;
}

.qs-dato {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--border-soft);
}

.qs-dato:last-child { border-bottom: 0; }

.qs-dato__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.qs-dato--pink .qs-dato__icon { background: var(--acogida-pink); }
.qs-dato--green .qs-dato__icon { background: var(--acogida-green); }
.qs-dato--orange .qs-dato__icon { background: var(--acogida-orange); }
.qs-dato--purple .qs-dato__icon { background: var(--acogida-purple); }
.qs-dato--turquoise .qs-dato__icon { background: var(--acogida-turquoise); }

.qs-dato--pink .qs-dato__label { color: var(--acogida-pink); }
.qs-dato--green .qs-dato__label { color: var(--acogida-green); }
.qs-dato--orange .qs-dato__label { color: var(--acogida-orange); }
.qs-dato--purple .qs-dato__label { color: var(--acogida-purple); }
.qs-dato--turquoise .qs-dato__label { color: var(--acogida-turquoise); }

.qs-dato__label {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qs-dato__value {
  margin: 0;
  color: var(--acogida-blue);
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
}

.qs-dato__icon .acogida-icon {
  width: 22px;
  height: 22px;
}

/* Cita institucional */
.acogida-quote {
  position: relative;
  margin: 0;
  padding: 1.6rem 1.35rem 1.85rem;
  border: 0;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(21, 155, 170, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 70% at 90% 80%, rgba(7, 59, 130, 0.08), transparent 55%),
    #eef8f9;
  overflow: hidden;
}

.acogida-quote__text {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 0.5rem;
  color: var(--acogida-blue);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.55;
  font-style: italic;
  font-weight: 600;
}

.acogida-quote__mark {
  position: absolute;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 1;
  color: var(--acogida-pink);
  font-style: normal;
  font-weight: 800;
  opacity: 0.9;
}

.acogida-quote__mark--open { top: 0.15rem; left: 0.65rem; }
.acogida-quote__mark--close { right: 0.75rem; bottom: 0.35rem; }

.acogida-quote__stroke {
  position: absolute;
  left: 1.5rem;
  bottom: 0.85rem;
  width: min(180px, 42%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--acogida-pink), rgba(231, 45, 107, 0.15));
}

.qs-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(7, 59, 130, 0.05), rgba(21, 155, 170, 0.08));
  padding: 1rem;
}

.qs-visual__wash {
  position: absolute;
  top: -12%;
  right: -10%;
  width: 55%;
  height: 65%;
  background: radial-gradient(ellipse at center, rgba(21, 155, 170, 0.2), transparent 70%);
  pointer-events: none;
}

.qs-visual__picture {
  position: relative;
  z-index: 1;
  display: block;
}

.qs-visual__picture img,
.qs-visual__kit img,
.qs-ondas img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.qs-visual__accents {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.qs-visual__star {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--acogida-purple);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.qs-visual__heart {
  position: absolute;
  bottom: 22%;
  left: 10%;
  width: 0.75rem;
  height: 0.7rem;
  background: var(--acogida-green);
  transform: rotate(-45deg);
  opacity: 0.65;
  border-radius: 0.1rem;
}

.qs-visual__heart::before,
.qs-visual__heart::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.7rem;
  background: inherit;
  border-radius: 50%;
}

.qs-visual__heart::before { top: -0.38rem; left: 0; }
.qs-visual__heart::after { top: 0; left: 0.38rem; }

.qs-visual__kit {
  position: absolute;
  right: 0.35rem;
  bottom: 2.4rem;
  width: min(36%, 130px);
  opacity: 0.45;
}

.qs-visual__concepts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 0.85rem 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--acogida-blue);
}

.qs-visual__concepts span:nth-child(1) { color: var(--acogida-pink); }
.qs-visual__concepts span:nth-child(2) { color: var(--acogida-turquoise); }
.qs-visual__concepts span:nth-child(3) { color: var(--acogida-purple); }

.qs-cta {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0;
}

.qs-cta__panel {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 28px rgba(7, 59, 130, 0.06);
  overflow: hidden;
}

.qs-cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.qs-cta__star {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--acogida-orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  opacity: 0.7;
}

.qs-cta__heart {
  position: absolute;
  bottom: 1rem;
  right: 2.2rem;
  width: 0.6rem;
  height: 0.55rem;
  background: var(--acogida-pink);
  transform: rotate(-45deg);
  opacity: 0.45;
  border-radius: 0.08rem;
}

.qs-cta__copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--acogida-blue);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}

.qs-cta__copy p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}

.qs-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.qs-cta__actions .btn {
  min-height: 48px;
}

.qs-ondas {
  margin-top: 1.75rem;
  line-height: 0;
}

.qs-ondas img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .qs-hero { min-height: 320px; }

  .qs-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
  }

  .qs-composition {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-areas:
      "data visual"
      "quote visual";
    column-gap: 2rem;
    row-gap: 1.5rem;
    align-items: start;
  }

  .qs-datos { grid-area: data; order: unset; }
  .qs-quote-section { grid-area: quote; order: unset; }
  .qs-visual { grid-area: visual; order: unset; align-self: stretch; }
}

@media (min-width: 1024px) {
  .qs-hero { min-height: 340px; }

  .qs-composition {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: 2.75rem;
  }

  .qs-cta__panel {
    grid-template-columns: 1.45fr auto;
    align-items: center;
    padding: 1.85rem 2.1rem;
  }

  .qs-cta__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 374px) {
  .qs-dato__icon { width: 42px; height: 42px; }
  .qs-hero__title-wrap { padding: 1rem 1.1rem; }
  .qs-visual__concepts { font-size: 0.7rem; }
}
