/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark: #003366;
  --blue-mid: #1d3557;
  --blue-light: #4a90e2;
  --gold: #f4c20d;
  --gold-hover: #f9d03a;
  --bg: #f4f7fb;
  --text: #333;
  --muted: #5a6a7e;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Krub", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.qs-page {
  width: 100%;
}

/* =============================================
       SHARED LAYOUT ATOMS
    ============================================= */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.15;
  margin-bottom: 28px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size 0.6s 0.3s ease;
}
.section-title.title-underlined em {
  background-size: 100% 3px;
}
.section-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* Rings */
@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.3;
  }
}
@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes iconSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes ctaBreath {
  0%,
  100% {
    box-shadow: 0 16px 60px rgba(0, 51, 102, 0.08);
  }
  50% {
    box-shadow: 0 24px 80px rgba(0, 51, 102, 0.14);
  }
}

/* Floating badge atoms */
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0, 51, 102, 0.14);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: badgeFloat 4s ease-in-out infinite;
}
.float-badge--alt {
  animation-delay: 0.5s;
  animation-duration: 4.5s;
}
.float-badge__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.float-badge__icon--gold {
  background: var(--gold);
}
.float-badge__icon--blue {
  background: var(--blue-dark);
}
.float-badge__text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 3px;
}
.float-badge__text span {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}

/* Deco ring atoms */
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(244, 194, 13, 0.35);
  animation: ringPulse 4s ease-in-out infinite;
}
.deco-ring--sm {
  border-width: 2px;
  border-color: rgba(0, 51, 102, 0.12);
  animation-duration: 5.5s;
  animation-delay: 1s;
  animation-direction: reverse;
}

/* Section-break divider */
.section-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 24px;
  background: var(--bg);
}
.section-break__line {
  flex: 1;
  max-width: 320px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 51, 102, 0.15),
    transparent
  );
}
.section-break__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(244, 194, 13, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 51, 102, 0.08);
  animation: iconSpin 12s linear infinite;
  cursor: pointer;
  transition: background 0.2s;
}

/* Keyword chips */
.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 1.5px solid rgba(0, 51, 102, 0.12);
  color: var(--blue-dark);
  background: rgba(0, 51, 102, 0.04);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    color 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.chip:hover {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}
.chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.4s ease;
  pointer-events: none;
}
.chip:hover::after {
  left: 130%;
}
.chip .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Vision-values list */
.vision-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.vision-values li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.vision-values li.feature-visible {
  opacity: 1;
  transform: none;
}
.vision-values .vv-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(244, 194, 13, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.vision-values li:hover .vv-icon {
  background: var(--gold);
  transform: scale(1.12) rotate(-4deg);
}

/* ODS strip (reutilizado) */
.ods-strip {
  margin-top: 32px;
  background: var(--blue-dark);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.ods-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(244, 194, 13, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.ods-strip:hover {
  box-shadow:
    0 0 0 2px var(--gold),
    0 8px 32px rgba(0, 51, 102, 0.2);
}
.ods-strip__icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.ods-strip__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}
.ods-strip__text strong {
  color: var(--gold);
  font-weight: 700;
}

/* Pillars (reutilizados) */
.pillars-section {
  background: var(--blue-dark);
  padding: 72px 24px;
  position: relative;
  overflow: hidden;
}
.pillars-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 10% 50%,
      rgba(244, 194, 13, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 90% 50%,
      rgba(74, 144, 226, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.pillars-header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.pillars-header .eyebrow-white {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(244, 194, 13, 0.1);
  border: 1px solid rgba(244, 194, 13, 0.25);
  border-radius: 50px;
  padding: 5px 20px;
  margin-bottom: 16px;
}
.pillars-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
}
.pillars-header h2 span {
  color: var(--gold);
}
.pillars-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.pillar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s cubic-bezier(0.22, 0.68, 0, 1.2);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.pillar-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  transition: left 0.55s ease;
  pointer-events: none;
}
.pillar-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 194, 13, 0.35);
  transform: translateY(-8px);
}
.pillar-card:hover::before {
  transform: scaleX(1);
}
.pillar-card:hover::after {
  left: 160%;
}
.pillar-card__emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.pillar-card:hover .pillar-card__emoji {
  transform: scale(1.2) rotate(-5deg);
}
.pillar-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.pillar-card__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

/* CTA box */
.cta-section {
  padding: 100px 24px;
  background: var(--white);
  text-align: center;
}
.cta-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 28px;
  padding: 60px 48px;
  box-shadow: 0 16px 60px rgba(0, 51, 102, 0.08);
  position: relative;
  overflow: hidden;
  animation: ctaBreath 5s ease-in-out infinite;
}
.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue-dark), var(--gold));
}
.cta-box .cta-icon {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 20px;
}
.cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-box p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--blue-mid);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(244, 194, 13, 0.35);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 194, 13, 0.5);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 160%;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue-dark);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid var(--blue-dark);
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-outline:hover::after {
  left: 160%;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 0.68, 0, 1.2),
    transform 0.72s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.68, 0, 1.2),
    transform 0.75s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.68, 0, 1.2),
    transform 0.75s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.reveal.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}
.reveal-d1 {
  transition-delay: 0.1s;
}
.reveal-d2 {
  transition-delay: 0.2s;
}
.reveal-d3 {
  transition-delay: 0.32s;
}
.reveal-d4 {
  transition-delay: 0.46s;
}

/* =============================================
       PAGE-SPECIFIC SECTIONS
    ============================================= */

/* ── 1. ¿QUÉ ES? section (imagen izq, texto der) ── */
.qs-intro {
  padding: 100px 24px 80px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.qs-intro::before {
  content: "QUIÉNES";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(60px, 14vw, 160px);
  font-weight: 700;
  color: rgba(0, 51, 102, 0.03);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
  user-select: none;
}
.qs-intro__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Image card */
.qs-intro__visual {
  position: relative;
}
.qs-intro__img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 51, 102, 0.14);
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.qs-intro__visual:hover .qs-intro__img {
  transform: scale(1.02) rotate(-0.5deg);
}
.qs-intro__ring-1 {
  top: -28px;
  right: -28px;
  width: 120px;
  height: 120px;
}
.qs-intro__ring-2 {
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
}
.qs-intro__badge {
  bottom: -24px;
  right: 28px;
}

/* Gold accent bar under title */
.gold-bar {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 24px;
  animation: barGrow 0.8s 0.4s cubic-bezier(0.22, 0.68, 0, 1.2) both;
}
@keyframes barGrow {
  from {
    width: 0;
  }
  to {
    width: 48px;
  }
}

.qs-intro__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.15;
  margin-bottom: 8px;
}

/* ── 2. NUESTRO PROYECTO (video embed) ── */
.qs-proyecto {
  padding: 80px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.qs-proyecto__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.qs-proyecto__header {
  margin-bottom: 36px;
}
.qs-proyecto__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.qs-proyecto__header .gold-bar {
  margin-bottom: 0;
}

.qs-video-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 51, 102, 0.16);
  position: relative;
  aspect-ratio: 16/9;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.4s;
}
.qs-video-wrap:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 32px 80px rgba(0, 51, 102, 0.22);
}
.qs-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── 3. HISTORIA / FUNDADORES (quote card) ── */
.qs-historia {
  padding: 80px 24px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.qs-historia::before {
  content: "SOMOS";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(60px, 14vw, 160px);
  font-weight: 700;
  color: rgba(0, 51, 102, 0.025);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: 0.08em;
  user-select: none;
}
.qs-historia__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quote-card {
  background: var(--bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 20px 20px 0;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
  box-shadow: 0 8px 40px rgba(0, 51, 102, 0.08);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.quote-card:hover {
  box-shadow: 0 16px 56px rgba(0, 51, 102, 0.14);
  transform: translateY(-3px);
}

/* Founder avatar circle */
.quote-card__avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.avatar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(244, 194, 13, 0.25);
  transition:
    transform 0.3s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.3s;
}
.avatar-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(244, 194, 13, 0.4);
}
.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

.quote-heading {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--blue-dark);
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.4;
}
.quote-heading em {
  font-style: italic;
  color: var(--gold);
}
.quote-card__body .section-text {
  margin-bottom: 16px;
}
.quote-signature {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 51, 102, 0.1);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--blue-dark);
  font-weight: 600;
}

/* ── 4. COMPROMETIDOS CONTIGO (texto izq, foto der) ── */
.qs-comprometidos {
  padding: 80px 24px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.qs-comprometidos__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.qs-comprometidos__visual {
  position: relative;
}
.qs-comprometidos__img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 51, 102, 0.14);
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.2);
}
.qs-comprometidos__visual:hover .qs-comprometidos__img {
  transform: scale(1.02) rotate(0.4deg);
}
.comp-ring-1 {
  bottom: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  animation-duration: 5s;
}
.comp-ring-2 {
  top: -16px;
  left: -16px;
  width: 60px;
  height: 60px;
}
.comp-badge {
  top: -20px;
  right: -24px;
  animation-delay: 0.5s;
  animation-duration: 4.5s;
}

/* ── 5. GALERÍA — Nuestros Momentos ── */
.qs-galeria {
  padding: 80px 24px;
  background: var(--white);
}
.qs-galeria__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.qs-galeria__header {
  text-align: center;
  margin-bottom: 12px;
}
.qs-galeria__header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.qs-galeria__header .gold-bar {
  margin: 0 auto 20px;
}
.qs-galeria__header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 14px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s cubic-bezier(0.22, 0.68, 0, 1.2),
    filter 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.88);
}
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 51, 102, 0.55) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}
.gallery-item__overlay span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── 6. VISÍTANOS (mapa + datos) ── */
.qs-visitanos {
  padding: 72px 24px;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}
.qs-visitanos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 10% 50%,
      rgba(244, 194, 13, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 90% 50%,
      rgba(74, 144, 226, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
}
.qs-visitanos__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.qs-visitanos__info h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.qs-visitanos__info .gold-bar {
  margin-bottom: 24px;
}
.qs-visitanos__info address {
  font-style: normal;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 32px;
}
.qs-visitanos__info address strong {
  color: var(--white);
}

.qs-visitanos__map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.68, 0, 1.2),
    box-shadow 0.4s;
}
.qs-visitanos__map:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.qs-visitanos__map iframe {
  display: block;
}

/* =============================================
       RESPONSIVE
    ============================================= */
@media (max-width: 960px) {
  .qs-intro__inner,
  .qs-comprometidos__inner,
  .qs-visitanos__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 28px;
  }
  .avatar-circle {
    width: 100px;
    height: 100px;
  }
  .qs-visitanos__inner {
    direction: ltr;
  }
}
@media (max-width: 600px) {
  .qs-intro,
  .qs-proyecto,
  .qs-historia,
  .qs-comprometidos,
  .qs-galeria {
    padding: 64px 20px;
  }
  .qs-visitanos {
    padding: 56px 20px;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-box {
    padding: 40px 24px;
  }
  .gallery-item img {
    height: 160px;
  }
}
