/* ============================================================
   SOBRE NOSOTROS — Cat-oh Pet Shop
   ============================================================ */

.page-template-page-sobre-nosotros-php .site-content > .ast-container {
  max-width: none;
  padding: 0;
  display: block;
}

/* ── Tokens ── */
.co-sn {
  --sn-teal: #308E95;
  --sn-teal-dark: #1F6A70;
  --sn-ink: #273B42;
  --sn-text: #4A5B61;
  --sn-mint: #EAF4F4;
  --sn-warm: #F7F4EF;
  --sn-line: #E3E8E9;
  --sn-cta: #E85A14;        
  --sn-cta-hover: #C94A0C;
  color: var(--sn-ink);
  font-family: inherit;
  line-height: 1.5;
}
.co-sn *,
.co-sn *::before,
.co-sn *::after { box-sizing: border-box; }
.co-sn p { margin: 0; }
.co-sn h1, .co-sn h2, .co-sn h3 { margin: 0; font-family: inherit; color: var(--sn-ink); }
.co-sn a { text-decoration: none; }
.co-sn a:focus-visible { outline: 3px solid var(--sn-cta); outline-offset: 3px; border-radius: 6px; }
.co-sn img { display: block; max-width: 100%; }
.co-sn ul, .co-sn ol { list-style: none; margin: 0; padding: 0; }

.co-sn__wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Elementos comunes ── */
.co-sn .co-sn-eyebrow {
  font-size: 14px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--sn-teal-dark);
}
.co-sn-head {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; max-width: 680px; margin: 0 auto 48px;
}
.co-sn-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; font-weight: 900; }
.co-sn-head p { font-size: 18px; color: var(--sn-text); }
.co-sn-head .co-sn-head__accent { font-size: 20px; font-weight: 800; color: var(--sn-teal-dark); }

.co-sn-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.co-sn-ctas--center { justify-content: center; }

.co-sn .co-sn-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  border: 2px solid transparent;
  font-size: 17px; font-weight: 800; line-height: 1.2; text-align: center;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.co-sn .co-sn-btn:hover { transform: translateY(-1px); }
.co-sn .co-sn-btn--cta { background: var(--sn-cta); color: #fff; }
.co-sn .co-sn-btn--cta:hover { background: var(--sn-cta-hover); color: #fff; }
.co-sn .co-sn-btn--outline { border-color: var(--sn-teal-dark); color: var(--sn-teal-dark); background: transparent; }
.co-sn .co-sn-btn--outline:hover { background: var(--sn-teal-dark); color: #fff; }
.co-sn .co-sn-btn--solid { background: var(--sn-teal-dark); color: #fff; }
.co-sn .co-sn-btn--solid:hover { background: var(--sn-ink); color: #fff; }
.co-sn .co-sn-btn--white { background: #fff; color: var(--sn-teal-dark); }
.co-sn .co-sn-btn--white:hover { background: var(--sn-mint); color: var(--sn-teal-dark); }

/* ============================================================
   1. HERO
   ============================================================ */
.co-sn-hero { background: var(--sn-mint); padding: 72px 0 80px; }
.co-sn-hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
.co-sn-hero__text { display: flex; flex-direction: column; gap: 22px; }
.co-sn .co-sn-hero__title { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; font-weight: 900; }
.co-sn-hero__lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--sn-text); max-width: 560px; }
.co-sn-hero__text .co-sn-ctas { margin-top: 6px; }
.co-sn-hero__media {
  aspect-ratio: 14 / 13; border-radius: 32px; overflow: hidden; background: #D6EBEB;
}
.co-sn-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   2. CIFRAS + SERVICIOS
   ============================================================ */
.co-sn-proof { padding: 48px 0 40px; border-bottom: 1px solid var(--sn-line); }
.co-sn-proof__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; text-align: center;
}
.co-sn-stat__num {
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1.15; color: var(--sn-teal-dark);
}
.co-sn-stat__num--sm { font-size: clamp(19px, 2vw, 24px); }
.co-sn-stat__label { display: block; margin-top: 6px; font-size: 15px; color: var(--sn-text); }

.co-sn .co-sn-proof__services {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  margin-top: 32px; font-size: 16px; font-weight: 700;
}
.co-sn-proof__services li { display: flex; align-items: center; gap: 10px; }
.co-sn-proof__services svg { color: var(--sn-teal-dark); flex-shrink: 0; }
.co-sn .co-sn-proof__seen { margin-top: 20px; text-align: center; font-size: 15px; color: var(--sn-text); }
.co-sn-proof__seen strong { color: var(--sn-ink); }

/* ============================================================
   3. TIMELINE
   ============================================================ */
.co-sn-timeline { padding: 88px 0 80px; }
.co-sn-tl-hint { display: none; }

.co-sn-tl {
  --tl-gap: 20px;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--tl-gap);
}
.co-sn-tl__item {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 12px; text-align: center;
}
/* Tramo de línea hacia el siguiente hito (funciona igual en grid y en carrusel) */
.co-sn-tl__item:not(:last-child)::after {
  content: ""; position: absolute; top: 65px; left: 50%;
  width: calc(100% + var(--tl-gap)); height: 4px; border-radius: 2px;
  background: #BFDDDF; z-index: 0;
}
.co-sn-tl__year {
  display: flex; align-items: flex-end; height: 44px;
  font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--sn-teal-dark);
}
.co-sn-tl__year--long { font-size: 18px; }
.co-sn-tl__dot {
  position: relative; z-index: 1;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 5px solid var(--sn-teal);
}
.co-sn-tl__title { font-size: 17px; font-weight: 800; color: var(--sn-ink); }
.co-sn-tl__text { font-size: 14.5px; line-height: 1.55; color: var(--sn-text); }

.co-sn-tl__item--now .co-sn-tl__year { color: var(--sn-cta); }
.co-sn-tl__item--now .co-sn-tl__dot { background: var(--sn-cta); border-color: var(--sn-cta); }

.co-sn-donate {
  display: flex; gap: 20px; align-items: flex-start;
  max-width: 820px; margin: 56px auto 0; padding: 28px 36px;
  background: var(--sn-mint); border-radius: 24px;
}
.co-sn-donate svg { color: var(--sn-teal-dark); flex-shrink: 0; margin-top: 2px; }
.co-sn-donate__title { font-size: 19px; font-weight: 900; margin-bottom: 6px !important; }
.co-sn-donate__text { font-size: 16px; line-height: 1.6; color: var(--sn-text); }

/* ============================================================
   4. COMITÉ DE CALIDAD
   ============================================================ */
.co-sn-team { background: var(--sn-warm); padding: 88px 0 96px; }
.co-sn-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.co-sn-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid #E8E2D8; border-radius: 24px;
}
.co-sn-card__media { aspect-ratio: 1 / 1; overflow: hidden; background: #E3EFEF; }
.co-sn-card--dog .co-sn-card__media { background: #FBEDE6; }
.co-sn-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.co-sn-card__body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 24px 24px 26px; }
.co-sn .co-sn-card__name { font-size: 24px; font-weight: 900; }
.co-sn-card__role {
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--sn-teal-dark);
}
.co-sn-card__text { flex-grow: 1; font-size: 15.5px; line-height: 1.6; color: var(--sn-text); }
.co-sn .co-sn-card__link {
  display: flex; align-items: flex-end; min-height: 44px;
  font-size: 15.5px; font-weight: 800; color: var(--sn-teal-dark);
}
.co-sn .co-sn-card__link:hover { color: var(--sn-ink); }

/* ============================================================
   5. RESEÑAS
   ============================================================ */
.co-sn-reviews { padding: 88px 0; }
.co-sn-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.co-sn-review {
  display: flex; flex-direction: column; gap: 16px; margin: 0;
  padding: 30px; border: 1px solid var(--sn-line); border-radius: 24px; background: #fff;
}
.co-sn-review__icon { color: var(--sn-teal); }
.co-sn-review__quote {
  flex-grow: 1; margin: 0; padding: 0; border: 0;
  font-size: 17px; line-height: 1.6; font-style: normal; color: var(--sn-ink);
}
.co-sn-review figcaption { display: flex; flex-direction: column; gap: 2px; }
.co-sn-review__name { font-size: 16px; font-weight: 900; color: var(--sn-ink); }
.co-sn-review__meta { font-size: 14px; color: var(--sn-text); }
.co-sn .co-sn-review__link {
  display: flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 800; color: var(--sn-teal-dark);
}

.co-sn-reviews__all { margin-top: 28px !important; text-align: center; }
.co-sn .co-sn-reviews__all a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 17px; font-weight: 800; color: var(--sn-teal-dark);
}

/* ============================================================
   6. TIENDA FÍSICA
   ============================================================ */
.co-sn-store { background: var(--sn-warm); padding: 88px 0; }
.co-sn-store__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.co-sn-store__media { aspect-ratio: 31 / 22; border-radius: 32px; overflow: hidden; background: var(--sn-mint); }
.co-sn-store__media img { width: 100%; height: 100%; object-fit: cover; }

.co-sn-store__info { display: flex; flex-direction: column; gap: 20px; }
.co-sn-store__info h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; font-weight: 900; }
.co-sn-store__lead { font-size: 18px; line-height: 1.6; color: var(--sn-text); }
.co-sn-store__data { display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.co-sn-store__data li { display: flex; align-items: center; gap: 12px; }
.co-sn-store__data svg { color: var(--sn-teal-dark); flex-shrink: 0; }
.co-sn .co-sn-store__data a { color: var(--sn-ink); text-decoration: underline; text-underline-offset: 3px; }
.co-sn .co-sn-store__more {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 16px; font-weight: 800; color: var(--sn-teal-dark);
}

/* ============================================================
   7. CIERRE
   ============================================================ */
.co-sn-final { background: var(--sn-teal-dark); padding: 80px 0; text-align: center; }
.co-sn .co-sn-final h2 {
  max-width: 860px; margin: 0 auto;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.15; font-weight: 900; color: #fff;
}
.co-sn-final p { margin: 14px 0 28px !important; font-size: 18px; color: #E3F1F1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .co-sn-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Timeline → carrusel horizontal con scroll-snap (sin JavaScript) */
  .co-sn-tl-hint {
    display: block; margin-bottom: 12px; text-align: right;
    font-size: 14px; font-weight: 700; color: var(--sn-teal-dark);
  }
  .co-sn .co-sn-tl {
    --tl-gap: 16px;
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    margin: 0 -24px; padding: 0 24px 16px; scroll-padding-left: 24px;
  }
  .co-sn-tl__item { flex: 0 0 220px; scroll-snap-align: start; }
}

@media (max-width: 900px) {
  .co-sn-hero { padding: 48px 0 56px; }
  .co-sn-hero__grid,
  .co-sn-store__grid { grid-template-columns: 1fr; gap: 36px; }
  .co-sn-hero__media { aspect-ratio: 4 / 3; }

  .co-sn-proof__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .co-sn-reviews__grid { grid-template-columns: 1fr; }

  .co-sn-timeline,
  .co-sn-team,
  .co-sn-reviews,
  .co-sn-store { padding: 64px 0; }
  .co-sn-final { padding: 64px 0; }
  .co-sn-head { margin-bottom: 36px; }
}

@media (max-width: 600px) {
  .co-sn-team__grid { grid-template-columns: 1fr; }
  .co-sn-card__media { aspect-ratio: 4 / 3; }

  .co-sn-ctas .co-sn-btn { flex: 1 1 100%; }
  .co-sn-proof__services { flex-direction: column; align-items: center; }
  .co-sn-donate { flex-direction: column; gap: 12px; padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .co-sn .co-sn-btn { transition: none; }
  .co-sn .co-sn-btn:hover { transform: none; }
}