/* ============================================================
   ESCUELA CON CONFIANZA – styles.css
   Concepto: "Palabras que respiran" — minimalismo editorial
   Mobile-first. Sin dependencias externas.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   1. VARIABLES Y RESET
   ============================================================ */

:root {
  /* Colores */
  --color-brand:       #01aeab;
  --color-brand-dark:  #018f8d;
  --color-black:       #111111;
  --color-near-black:  #1a1a1a;
  --color-dark:        #222222;
  --color-text:        #333333;
  --color-text-muted:  #666666;
  --color-border:      #e8e8e8;
  --color-bg:          #ffffff;
  --color-bg-soft:     #f7f7f7;
  --color-white:       #ffffff;

  /* Tipografía */
  --font-display:  'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body:     'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Espaciado base */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Layout */
  --max-width: 1140px;
  --gutter:    1.25rem;

  /* Transiciones */
  --transition: 0.2s ease;

  /* Header */
  --header-height: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   2. UTILIDADES GLOBALES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section--alt {
  background-color: var(--color-bg-soft);
}

.section--dark {
  background-color: var(--color-near-black);
  color: var(--color-white);
}

/* Encabezados de sección reutilizables */
.section__label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-sm);
}

.section__label::after {
  content: "";
  width: 42px;
  height: 3px;
  background: #01aeab;
  border-radius: 999px;
}

.page-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--color-brand);
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
}

.page-back-link:hover {
  color: var(--color-brand-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-back-link--light {
  color: #ffffff;
  opacity: 0.92;
}

.page-back-link--light:hover {
  color: #ffffff;
  opacity: 1;
}

.section__label--light {
  color: var(--color-brand);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

.section__title--light {
  color: var(--color-white);
}

.section__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.75;
}

.section__header {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   3. BOTONES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75em 1.75em;
  border: 2px solid transparent;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              transform var(--transition);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-brand);
  color: var(--color-white);
  border-color: var(--color-brand);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-brand);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--light {
  background-color: var(--color-white);
  color: var(--color-brand);
  border-color: var(--color-white);
}

.btn--light:hover,
.btn--light:focus-visible {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}


/* ============================================================
   4. HEADER
   ============================================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.header__logo img {
  height: 44px;
  width: auto;
}

/* Nav desktop */
.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brand);
  transition: width var(--transition);
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--color-brand);
}

.header__nav-link.is-active::after,
.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-brand);
  padding: 0.55em 1.25em;
  transition: background-color var(--transition);
}

.header__nav-cta:hover,
.header__nav-cta:focus-visible {
  background-color: var(--color-brand-dark);
}

/* Hamburger */
.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
}

.header__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-dark);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Nav mobile overlay */
.header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  padding: var(--space-xl) var(--gutter);
  z-index: 99;
}

.header__nav.is-open .header__nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}

.header__nav.is-open .header__nav-link,
.header__nav.is-open .header__nav-cta {
  font-size: 1.25rem;
}

.header__nav.is-open .header__nav-cta {
  display: inline-flex;
  padding: 0.75em 1.75em;
}


/* ============================================================
   5. HERO (Inicio)
   ============================================================ */

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.16) 0%,
    rgba(0,0,0,0.58) 48%,
    rgba(0,0,0,0.92) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: var(--color-white);
  padding-top: calc(var(--header-height) + var(--space-md));
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  margin-bottom: 0.85rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8.2vw, 3.75rem);
  font-weight: 700;
  line-height: 1.11;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero__title > span {
  display: inline;
}

.hero__title-accent {
  display: inline;
  color: #01aeab;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
  margin-bottom: 2.2rem;
  max-width: 36ch;
  line-height: 1.65;
}

@media (max-width: 640px) {
  .hero__title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    max-width: 100%;
  }

  .hero__title > span {
    display: block;
  }
}


@media (min-width: 1024px) {
  .hero__content {
    max-width: 480px;
    margin-left: 0;
  }

  .hero__title {
    font-size: clamp(2.6rem, 4vw, 3.25rem);
  }
}

/* ============================================================
   6. MÉTRICAS
   ============================================================ */

.metrics {
  background-color: var(--color-black);
  padding: var(--space-lg) 0;
}

.metrics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.metrics__item {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.metrics__item:last-child {
  border-bottom: none;
}

.metrics__number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}

.metrics__plus {
  color: var(--color-brand);
}

.metrics__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  max-width: 24ch;
  line-height: 1.4;
}


/* ============================================================
   7. SERVICIOS
   ============================================================ */

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.service-card {
  position: relative;
  margin-top: 18px;
  background: var(--color-white);
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  overflow: visible;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--color-brand);
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.service-card__img-wrap {
  aspect-ratio: 16 / 10;
  margin-top: -18px;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.03);
}

.service-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.3;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  text-align: left;
}

.service-card__body .btn {
  align-self: flex-start;
  margin-top: var(--space-xs);
}


/* ============================================================
   8. ABOUT PREVIEW (HOME)
   ============================================================ */

.about-preview__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.about-preview__img-col {
  width: 100%;
}

.about-preview__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-preview__text-col {
  max-width: 560px;
}

.about-preview__text {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-preview__tags {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-bottom: var(--space-lg);
}

.tag {
  display: inline-block;
  padding: 0.45em 0.9em;
  border-left: 3px solid var(--color-brand);
  background-color: rgba(1,174,171,0.06);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-dark);
  line-height: 1.4;
}


/* ============================================================
   9. GUÍAS
   ============================================================ */

.guides__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-xl);
  align-items: center;
}

.guides__text-col {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.guides__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.guides__text-col .btn {
  align-self: center;
  width: fit-content;
  max-width: 100%;
  justify-content: center;
}

.guides__img-col {
  width: 100%;
  max-width: 380px;
}

.guides__img {
  width: 100%;
  object-fit: contain;
  drop-shadow: 0 8px 24px rgba(0,0,0,0.1);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}


/* ============================================================
   10. TESTIMONIOS
   ============================================================ */
/* =========================
   10. TESTIMONIOS
========================= */

.testimonials {
  padding: 96px 0;
  background: #f5f5f5;
}

.testimonials__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 56px;
  align-items: center;
}

.testimonials__content {
  min-width: 0;
}

.testimonials__text {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin: 24px 0 32px;
}

.testimonials__video-col {
  width: 100%;
  justify-self: end;
}

.testimonials__video-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.testimonials__video-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.testimonials__video-link {
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.testimonials__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.testimonials__play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid #ffffff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.testimonials__video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111111;
  overflow: hidden;
}

.testimonials__video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* móvil */
@media (max-width: 900px) {
  .testimonials {
    padding: 40px 0;
  }

  .testimonials__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .testimonials__video-col {
    justify-self: stretch;
  }

  .hero__bg img {
    object-position: 52% center;
  }
.testimonials__play-btn {
  width: 64px;
  height: 64px;
}

.testimonials__play-icon {
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
}



/* ============================================================
   13. PÁGINA QUIÉNES SOMOS – HERO / INTRO
   ============================================================ */

.page-hero {
  border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.page-hero__text {
  max-width: 600px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

.page-hero__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 56ch;
}

.page-hero__img-col {
  position: relative;
  width: 100%;
}

.page-hero__img-col::before {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 86%;
  height: 86%;
  background: #01aeab;
  border-radius: 14px;
  z-index: 0;
}

.page-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 14px;
}


/* ============================================================
   14. VALORES
   ============================================================ */

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.value-card {
  padding: 1rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.value-card:hover {
  border-color: rgba(1, 174, 171, 0.26);
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 174, 171, 0.1);
  color: var(--color-brand);
  border-radius: 999px;
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.value-card__content {
  min-width: 0;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #050505;
  margin-bottom: 0.25rem;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}


/* ============================================================
   15. PERFILES
   ============================================================ */

.profile__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: flex-start;
}

.profile__img-col {
  position: relative;
  width: 100%;
}

.profile__img-col::before {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 88%;
  height: 88%;
  background: #01aeab;
  border-radius: 18px;
  z-index: 0;
}

.profile__img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  max-height: 500px;
  border-radius: 18px;
}

.profile__text-col {
  max-width: 560px;
}

.profile__name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

.profile__bio {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.profile__quote {
  border-left: 3px solid var(--color-brand);
  padding-left: var(--space-md);
  font-size: 1rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.65;
}

.profile__quote cite {
  display: block;
  margin-top: 0.4em;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--color-text-muted);
}

@media (max-width: 899px) {
  .profile__inner--normal .profile__text-col {
    order: 1;
  }

  .profile__inner--normal .profile__img-col {
    order: 2;
  }
}


/* ============================================================
   16. CTA BAND
   ============================================================ */

.cta-band {
  background-color: var(--color-brand);
  color: var(--color-white);
  text-align: center;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
}

.cta-band__text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 40ch;
  line-height: 1.65;
}

.cta-band .btn--primary {
  background-color: var(--color-white);
  color: var(--color-brand);
  border-color: var(--color-white);
}

.cta-band .btn--primary:hover {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}


/* ============================================================
   17. TABLET — 640px+
   ============================================================ */

@media (min-width: 640px) {

  :root {
    --gutter: 2rem;
  }

  /* Métricas */
  .metrics__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .metrics__item {
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: var(--space-lg) var(--space-md);
  }

  .metrics__item:last-child {
    border-right: none;
  }

  /* Servicios */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Valores */
  .values__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }

  .value-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 1.15rem;
  }

  .value-card__icon {
    width: 48px;
    height: 48px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__nav-list,
  .footer__social-list {
    gap: 0.6em;
  }

}


/* ============================================================
   18. ESCRITORIO — 900px+
   ============================================================ */

@media (min-width: 900px) {

  :root {
    --gutter: 2.5rem;
  }

  /* Header: mostrar nav desktop, ocultar hamburguesa */
  .header__nav {
    display: flex;
  }

  .header__hamburger {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: 96vh;
  }

  /* Servicios: 3 columnas */
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* About preview */
  .about-preview__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .about-preview__img-col {
    flex: 0 0 44%;
  }

  .about-preview__text-col {
    flex: 1;
  }

  /* Guías */
  .guides__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .guides__text-col {
    flex: 1;
    max-width: 480px;
  }

  .guides__img-col {
    flex: 0 0 40%;
    max-width: none;
  }

  /* Testimonios */
  .testimonials__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .testimonials__text {
    flex: 0 0 42%;
  }

  .testimonials__video-col {
    flex: 1;
  }

  /* Page hero */
  .page-hero__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .page-hero__text {
    flex: 1;
  }

  .page-hero__img-col {
    flex: 0 0 42%;
  }

  .page-hero__img {
    aspect-ratio: 4/3;
  }

  /* Perfiles */
  .profile__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-2xl);
  }

  .profile__inner--reversed {
    flex-direction: row-reverse;
  }

  .profile__img-col {
    flex: 0 0 38%;
  }

  .profile__text-col {
    flex: 1;
  }

  .profile__img {
    max-height: 560px;
  }

}


/* ============================================================
   19. ACCESIBILIDAD — FOCUS
   ============================================================ */

:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 3px;
}

/* Ocultar visualmente pero mantener para lectores */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* ==========================================================
   FOOTER NUEVO
========================================================== */

.footer {
  background: #050505;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.site-footer::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #01aeab 0%, #08d1ce 100%);
}

.footer__top-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #01aeab 0%, #08d1ce 100%);
}

.footer__container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.footer__brand {
  max-width: 360px;
}

.footer__logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.footer__text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer__subtext {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.58);
}

.footer__col {
  min-width: 0;
}

.footer__title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 1.08rem;
  line-height: 1.6;
  transition: color 0.25s ease, transform 0.25s ease;
  width: fit-content;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer__social-link i {
  width: 20px;
  min-width: 20px;
  text-align: center;
}

.footer__link:hover {
  color: #01aeab;
  transform: translateX(4px);
}

.footer__bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__copyright {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ==========================================================
   FOOTER RESPONSIVE
========================================================== */

@media (max-width: 900px) {
  .footer__container {
    width: min(100% - 32px, 1120px);
    padding: 44px 0 18px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer__brand {
    max-width: 100%;
  }

  .footer__logo {
    width: 125px;
    margin-bottom: 12px;
  }

  .footer__title {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }

  .footer__text {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }

  .footer__subtext {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .footer__link {
    font-size: 1rem;
  }

  .footer__bottom {
    margin-top: 22px;
    padding-top: 14px;
  }

.footer__copyright {
  font-size: 0.85rem;
  line-height: 1.5;
}
}

/* ==========================================================
   FOOTER MODERNO COMPARTIDO
========================================================== */

.site-footer .footer__container {
  width: min(1120px, calc(100% - 56px));
  padding: 56px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(190px, 0.55fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: start;
}

.site-footer__brand {
  max-width: 250px;
  display: flex;
  justify-content: flex-start;
}

.site-footer .footer__logo {
  width: 218px;
  margin: 0;
}

.site-footer__nav {
  display: none;
}

.site-footer .footer__title {
  color: var(--color-brand);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.site-footer .footer__title::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--color-brand);
}

.site-footer__social .footer__links {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  align-items: center;
  gap: 18px;
}

.site-footer__social .footer__social-links a {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__social .footer__social-links a:hover {
  color: var(--color-brand);
  transform: translateY(-2px);
}

.site-footer__social .footer__social-links i {
  width: auto;
  min-width: 0;
}

.site-footer__contact .footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.site-footer__contact .footer__contact-links a {
  width: 100%;
  min-height: 46px;
  display: flex;
  gap: 13px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  line-height: 1.35;
  align-items: center;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__contact .footer__contact-links a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.site-footer__contact .footer__contact-links i {
  width: 34px;
  min-width: 34px;
  color: var(--color-brand);
  font-size: 1.95rem;
  text-align: center;
}

.site-footer .footer__bottom {
  grid-column: 1 / -1;
  margin-top: 34px;
  padding-top: 22px;
  text-align: center;
}

@media (max-width: 900px) {
  .site-footer .footer__container {
    width: min(100% - 40px, 640px);
    padding: 44px 0 26px;
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 30px 24px;
    align-items: start;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    justify-content: center;
    max-width: none;
  }

  .site-footer .footer__logo {
    width: min(190px, 58vw);
  }

  .site-footer__nav {
    display: block;
    grid-column: 1;
  }

  .site-footer__nav .footer__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-footer__nav .footer__links a {
    position: relative;
    display: block;
    width: 100%;
    padding: 12px 0 12px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.35;
    text-decoration: none;
  }

  .site-footer__nav .footer__links a::before {
    content: "\203A";
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-52%);
    color: var(--color-brand);
    font-size: 2rem;
    line-height: 1;
  }

  .site-footer__social {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer__social .footer__links {
    grid-template-columns: 42px;
    gap: 10px;
    justify-content: start;
    justify-items: start;
  }

  .site-footer__social .footer__social-links a {
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }

  .site-footer .footer__title {
    font-size: 1.22rem;
    margin-bottom: 14px;
  }

  .site-footer__contact,
  .site-footer .footer__bottom {
    grid-column: 1 / -1;
  }

  .site-footer__contact .footer__links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 16px;
    align-items: center;
  }

  .site-footer__contact .footer__contact-links a {
    min-height: 42px;
    gap: 10px;
    font-size: 0.98rem;
  }

  .site-footer__contact .footer__contact-links i {
    width: 27px;
    min-width: 27px;
    font-size: 1.5rem;
  }

  .site-footer .footer__bottom {
    margin-top: 4px;
  }
}

@media (max-width: 430px) {
  .site-footer .footer__container {
    width: min(100% - 32px, 640px);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 28px 18px;
  }

  .site-footer__contact .footer__links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
    gap: 10px;
  }

  .site-footer__contact .footer__contact-links a {
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .site-footer__contact .footer__contact-links i {
    width: 22px;
    min-width: 22px;
    font-size: 1.28rem;
  }
}

/* ==========================================================
   WHATSAPP FLOATING BUTTON
========================================================== */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #01aeab;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(1, 174, 171, 0.32);
  text-decoration: none;
  font-size: 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #019b98;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(1, 174, 171, 0.4);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    position: fixed;
    display: inline-flex;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 9999;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}

/* ==========================================================
   RECURSOS DIDACTICOS
========================================================== */

.resources-page {
  background: #ffffff;
}

.resources-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111111;
}

.resources-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.resources-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28));
}

.resources-hero__content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  padding-top: 70px;
  padding-bottom: 70px;
}

.resources-hero__title {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.04;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.resources-hero__subtitle {
  max-width: 580px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.resources-audience {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.resources-audience__group {
  width: min(620px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resources-pill,
.resources-filter {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d9dee3;
  border-radius: 999px;
  background: #ffffff;
  color: #333333;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.resources-pill.is-active,
.resources-filter.is-active {
  color: #ffffff;
  border-color: var(--color-brand);
  background: linear-gradient(90deg, #01aeab 0%, #08c6c3 100%);
  box-shadow: 0 14px 28px rgba(1, 174, 171, 0.24);
}

.resources-pill:hover,
.resources-filter:hover {
  transform: translateY(-1px);
  border-color: var(--color-brand);
}

.resources-section {
  padding: 44px 0 0;
}

.resources-section__header {
  margin-bottom: 20px;
}

.resources-section__header--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.resources-section__title {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.15;
  color: #111111;
  margin: 0;
}

.resources-section__desc {
  margin-top: 6px;
  color: #4f4f4f;
  line-height: 1.6;
}

.resources-section__link {
  flex: 0 0 auto;
  color: var(--color-brand);
  font-weight: 700;
  font-size: 1rem;
}

.resources-video-filters-wrap {
  position: relative;
  max-width: 880px;
  margin-bottom: 22px;
}

.resources-video-filters-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 78%);
}

.resources-video-filters {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 1px 34px 4px 0;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: auto;
}

.resources-video-filters::-webkit-scrollbar {
  display: none;
}

.resources-filter {
  flex: 0 0 auto;
  min-height: 42px;
  width: auto;
  min-width: max-content;
  padding: 0 18px;
  font-size: 0.94rem;
  box-shadow: none;
  white-space: nowrap;
  scroll-snap-align: start;
}

.resources-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: start;
}

.resources-video-main__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  touch-action: pan-y;
}

.resources-video-main__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  touch-action: pan-y;
}

.resources-video-main__placeholder,
.resources-empty {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #666666;
  text-align: center;
  background: #f4f6f6;
}

.resources-video-strip {
  display: grid;
  gap: 18px;
}

.resources-video-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: #111111;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.resources-video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #eeeeee;
}

.resources-video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resources-video-card__time {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 700;
}

.resources-video-card strong {
  font-size: 1rem;
  line-height: 1.35;
}

.resources-video-strip__bar {
  display: none;
}

.resources-guides__grid,
.resources-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.resources-guide-card,
.resources-article-card {
  border: 1px solid #dfe3e6;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

.resources-guide-card {
  min-height: 178px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 30px;
}

.resources-guide-card > i {
  color: var(--color-brand);
  font-size: 2.6rem;
  line-height: 1;
}

.resources-guide-card__body h3,
.resources-article-card__body h3 {
  color: #111111;
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.resources-guide-card__body h3 {
  font-size: 1rem;
  white-space: pre-line;
}

.resources-guide-card__body p,
.resources-article-card__body p {
  color: #4b4b4b;
  font-size: 0.95rem;
  line-height: 1.5;
}

.resources-guide-card__btn {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  min-width: 116px;
  margin-top: 18px;
  padding: 9px 18px;
  border-radius: 7px;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.resources-article-card {
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.resources-article-card picture {
  display: block;
}

.resources-article-card img {
  display: block;
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.resources-article-card__body {
  padding: 18px 22px 22px;
}

.resources-article-card__body a,
.resources-article-card__link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-brand);
  font-weight: 700;
}

.resources-article-card__badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(1, 174, 171, 0.12);
  color: var(--color-brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.resources-article-card__arrow {
  display: none;
}

.resources-cta {
  padding: 34px 0 24px;
}

.resources-cta__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 34px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(1, 174, 171, 0.14), rgba(1, 174, 171, 0.05));
}

.resources-cta__inner > i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 2rem;
}

.resources-cta__inner h2 {
  color: #1a1a1a;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.22;
}

.resources-cta__btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--color-brand);
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(1, 174, 171, 0.22);
}

.resources-list-hero {
  background: #f1fbfb;
  color: #111111;
  overflow: hidden;
}

.resources-list-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.resources-list-hero__content {
  min-width: 0;
}

.resources-list-hero__media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.resources-list-hero__media::before {
  content: "";
  position: absolute;
  inset: 12% -6% 8% 12%;
  background: #01aeab;
  opacity: 0.16;
  border-radius: 28px;
  transform: rotate(-2deg);
}

.resources-list-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.1);
}

.resources-list-hero .resources-hero__title {
  color: #111111;
  margin-top: 12px;
}

.resources-list-hero .resources-hero__subtitle {
  color: #5f6668;
}

.resources-article-detail {
  padding: 54px 0 72px;
}

.resources-article-detail__inner {
  max-width: 920px;
}

.resources-article-detail__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin: 24px 0 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.resources-article-detail__header h1 {
  max-width: 880px;
  color: #111111;
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 24px;
}

.resources-article-detail__content {
  max-width: 760px;
}

.resources-article-detail__content p {
  color: #2f2f2f;
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.resources-article-detail__author {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #e4e8ea;
  color: #111111 !important;
  font-weight: 800;
}

@media (min-width: 901px) {
  .resources-page + .footer .footer__container {
    padding-top: 34px;
  }
}

@media (max-width: 900px) {
  .resources-list-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .resources-list-hero__media {
    max-width: 620px;
  }

  .resources-hero {
    min-height: 300px;
  }

  .resources-hero__content {
    padding-top: 48px;
    padding-bottom: 62px;
  }

  .resources-audience {
    margin-top: -24px;
  }

  .resources-audience .container,
  .resources-section .container,
  .resources-cta .container {
    width: min(100%, 680px);
  }

  .resources-audience__group {
    gap: 12px;
    padding: 16px;
    border-radius: 28px 28px 0 0;
    background: #ffffff;
  }

  .resources-pill {
    min-height: 46px;
    font-size: 0.94rem;
  }

  .resources-section {
    padding-top: 30px;
  }

  .resources-video-filters-wrap {
    width: calc(100% + var(--gutter));
    max-width: none;
    margin-bottom: 16px;
  }

  .resources-video-filters {
    gap: 10px;
    padding-right: 44px;
    scroll-snap-type: none;
  }

  .resources-filter {
    padding: 0 16px;
  }

  .resources-video-layout {
    display: block;
  }

  .resources-video-related {
    margin-top: 14px;
  }

  .resources-video-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 0 10px;
    scroll-snap-type: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
  }

  .resources-video-strip::-webkit-scrollbar {
    display: none;
  }

  .resources-video-card {
    flex: 0 0 145px;
    display: block;
    scroll-snap-align: start;
  }

  .resources-video-card__thumb {
    margin-bottom: 8px;
  }

  .resources-video-card strong {
    display: block;
    font-size: 0.88rem;
  }

  .resources-video-strip__bar {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #e8edf0;
    overflow: hidden;
  }

  .resources-video-strip__bar span {
    display: block;
    width: 30%;
    height: 100%;
    border-radius: inherit;
    background: var(--color-brand);
    transform: translateX(0);
    transition: width 0.18s ease, transform 0.18s ease;
  }

  .resources-section__header--row {
    align-items: flex-end;
  }

  .resources-guides__grid,
  .resources-articles__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .resources-guide-card {
    min-height: 0;
    grid-template-columns: 48px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 8px;
    box-shadow: none;
  }

  .resources-guide-card + .resources-guide-card {
    margin-top: -1px;
  }

  .resources-guide-card > i {
    font-size: 2rem;
  }

  .resources-guide-card__btn {
    grid-column: 3;
    margin-top: 0;
    min-width: 116px;
    background: #050505;
  }

  .resources-article-card {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    align-items: center;
    min-height: 92px;
    border-radius: 8px;
    box-shadow: none;
  }

  .resources-article-card + .resources-article-card {
    margin-top: -1px;
  }

  .resources-article-card picture,
  .resources-article-card img {
    height: 92px;
  }

  .resources-article-card__body {
    padding: 12px 10px 12px 14px;
  }

  .resources-article-card__body h3 {
    font-size: 0.98rem;
    margin-bottom: 2px;
  }

  .resources-article-card__body p {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .resources-article-card__body a,
  .resources-article-card__link {
    display: none;
  }

  .resources-article-card__badge {
    margin-top: 6px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .resources-article-card__arrow {
    display: block;
    padding-right: 14px;
    color: #111111;
    font-size: 2rem;
    line-height: 1;
  }

  .resources-cta__inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 18px;
  }

  .resources-cta__btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .resources-list-hero {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .resources-list-hero__media img {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
  }

  .resources-hero {
    min-height: 244px;
    align-items: flex-end;
  }

  .resources-hero__img {
    object-position: center center;
  }

  .resources-hero__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.54) 68%, rgba(0, 0, 0, 0.3) 100%);
  }

  .resources-hero__content {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .resources-hero__title {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .resources-hero__subtitle {
    max-width: 28ch;
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .resources-audience__group {
    width: calc(100% + 16px);
    margin-left: -8px;
    gap: 10px;
    padding: 16px 12px 4px;
  }

  .resources-pill {
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.82rem;
    gap: 7px;
  }

  .resources-section {
    padding-top: 24px;
  }

  .resources-section__title {
    font-size: 1.45rem;
  }

  .resources-section__desc {
    font-size: 0.92rem;
  }

  .resources-section__link {
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .resources-video-main__frame {
    border-radius: 7px;
  }

  .resources-guide-card {
    grid-template-columns: 42px 1fr auto;
    padding: 14px;
  }

  .resources-guide-card__body h3 {
    font-size: 0.95rem;
  }

  .resources-guide-card__body p {
    font-size: 0.82rem;
  }

  .resources-guide-card__btn {
    min-width: 92px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .resources-article-card {
    grid-template-columns: 100px 1fr auto;
    min-height: 76px;
  }

  .resources-article-card {
    grid-template-columns: 88px 1fr auto;
    min-height: 88px;
  }

  .resources-article-card picture,
  .resources-article-card img {
    height: 88px;
  }

  .resources-article-card__body h3 {
    font-size: 0.9rem;
  }

  .resources-article-card__body p {
    font-size: 0.78rem;
  }

  .resources-cta {
    padding-top: 26px;
  }

  .resources-cta__inner {
    border-radius: 8px;
  }

  .resources-cta__inner > i {
    width: 46px;
    height: 46px;
    font-size: 1.55rem;
  }

  .resources-cta__inner h2 {
    font-size: 1.08rem;
  }
}
