/* Base global: colores, tipografias, reinicio y utilidades compartidas. */
:root {
  color-scheme: light;
  --ink: #29190f;
  --muted: #766c66;
  --red: #bd1f20;
  --red-dark: #991a1b;
  --gold: #c58a38;
  --cream: #fff8f1;
  --paper: #fffdfb;
  --line: #eadfd4;
  --dark: #1b0b03;
  --serif: "Poetsen One", sans-serif;
  --sans: "Aclonica", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }

/* Encabezado, marca y navegacion principal. */
.site-header { position: relative; z-index: 5; background: rgba(255, 253, 251, .97); }
.header-main { position: relative; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.mobile-menu-toggle { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark { width: 42px; height: 42px; object-fit: contain; }
.brand__copy { display: grid; gap: 3px; }
.brand__copy strong { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.brand__copy small { color: var(--gold); font-size: 10px; letter-spacing: .7px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 34px); }
.primary-nav a { color: #68402c; font-size: 14px; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav .is-active { color: var(--red); }
.primary-nav__cases, .primary-nav__certifications { position: static; color: #68402c; font-size: 14px; }
.primary-nav__cases > summary, .primary-nav__certifications > summary { cursor: pointer; list-style: none; }
.primary-nav__cases > summary::-webkit-details-marker, .primary-nav__certifications > summary::-webkit-details-marker { display: none; }
.primary-nav__cases > summary span, .primary-nav__certifications > summary span { color: var(--red); font-size: 10px; }
.primary-nav__cases[open] > summary, .primary-nav__certifications[open] > summary { background: #fff3f1; }
.mega-menu { position: absolute; top: 100%; left: 50%; z-index: 20; width: min(1000px, calc(100vw - 56px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); padding: 34px 40px; background: #fff; box-shadow: 0 18px 34px rgba(28,10,0,.16); opacity: 0; pointer-events: none; transform: translate(-50%, -6px); visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.primary-nav__cases[open] > .mega-menu, .primary-nav__certifications[open] > .mega-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); visibility: visible; }
.mega-menu__group { min-width: 0; }
.mega-menu__group h2 { margin: 0 0 20px; font-family: var(--sans); font-size: 19px; font-weight: 700; line-height: 1.3; }
.primary-nav .mega-menu__group h2 a { color: #21150f; font-size: inherit; }
.mega-menu__group h2 a:hover { color: var(--red); }
.mega-menu__group ul { display: grid; gap: 12px; margin: 0; padding: 0; color: #79808d; font-size: 14px; line-height: 1.5; list-style: none; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 0 22px; border: 1px solid var(--red); border-radius: 3px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button--outline { background: rgba(255, 253, 251, .72); color: var(--ink); border-color: #bba99b; }
.button--outline:hover { color: #fff; border-color: var(--red-dark); }
.secondary-nav { background: var(--red); color: #fff; }
.secondary-nav__inner { min-height: 37px; width: min(1320px, calc(100% - 64px)); margin: auto; display: flex; align-items: center; justify-content: center; gap: 40px; }
.secondary-nav a { font-size: 13px; transition: opacity .2s ease; }
.secondary-nav a:hover { opacity: .7; }

/* Portada principal y carrusel de imagenes. */
.hero { position: relative; min-height: 630px; display: flex; align-items: center; overflow: hidden; background: var(--cream); isolation: isolate; }
.hero__slides, .hero__wash { position: absolute; inset: 0; z-index: -1; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0; transition: opacity .7s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__wash { z-index: 0; background: linear-gradient(90deg, rgba(255,248,241,.98) 0%, rgba(255,248,241,.94) 33%, rgba(255,248,241,.62) 55%, rgba(255,248,241,.03) 100%); pointer-events: none; }
.hero__carousel-controls { position: absolute; right: max(32px, calc((100vw - 1320px) / 2)); bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.hero__carousel-arrow { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(41,25,15,.35); border-radius: 50%; background: rgba(255,253,251,.9); color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.hero__carousel-arrow:hover, .hero__carousel-arrow:focus-visible { transform: translateY(-2px); background: var(--red); color: #fff; }
.hero__carousel-indicators { display: flex; align-items: center; gap: 6px; }
.hero__carousel-indicator { width: 9px; height: 9px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: rgba(255,253,251,.8); cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero__carousel-indicator.is-active { width: 22px; border-radius: 9px; background: var(--red); border-color: var(--red); }
.hero__carousel-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero__content { position: relative; z-index: 1; padding-block: 66px 42px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow > span { width: 25px; height: 1px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
.hero h1 { max-width: 700px; margin: 0 0 15px; padding-top: 5px; font-size: clamp(72px, 8.5vw, 128px); line-height: 1; letter-spacing: 0; text-transform: uppercase; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__proof { width: min(700px, 100%); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.hero__proof > a, .hero__proof > div { min-height: 76px; display: grid; grid-template-columns: auto 1fr; align-content: center; align-items: baseline; column-gap: 8px; padding: 12px 16px; border: 1px solid rgba(234,223,212,.95); border-radius: 16px; background: rgba(255,253,251,.9); box-shadow: 0 8px 20px rgba(41,25,15,.07); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease; }
.hero__proof > a:hover, .hero__proof > a:focus-visible { transform: translateY(-4px); border-color: var(--gold); background: #fff; box-shadow: 0 14px 28px rgba(41,25,15,.14); }
.hero__proof > a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero__proof strong { color: var(--red); font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.hero__proof strong span { color: var(--gold); }
.hero__proof small { align-self: center; color: var(--muted); font-size: 10px; line-height: 1.35; }
.scroll-cue { position: absolute; right: max(32px, calc((100vw - 1320px) / 2)); bottom: 24px; width: 30px; height: 46px; display: grid; place-items: start center; padding-top: 8px; border: 1px solid rgba(41,25,15,.35); border-radius: 18px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--red); animation: scroll-down 1.6s infinite; }
@keyframes scroll-down { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } }

/* Presentacion: grillas, valores, tarjetas de direccion y secciones comunes. */
.section-pad { padding-block: 104px; }
h2 { margin-bottom: 17px; font-size: clamp(42px, 5vw, 62px); line-height: .93; }
h2 em { color: var(--red); font-weight: 500; }
.body-copy { color: var(--muted); font-size: 13px; line-height: 1.8; }

.about { background: #f9fafb; }
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.about__intro > h2 { margin: 0 0 22px; font-size: clamp(48px, 6vw, 70px); line-height: .95; }
.values-block { margin-top: 28px; }
.values-block h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 26px; }
.value-list span { border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(28,10,0,.05); }
.director-card { margin-top: 30px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(28,10,0,.07); }
.director-card summary { display: grid; grid-template-columns: minmax(120px, .85fr) minmax(0, 1.15fr); min-height: 220px; cursor: pointer; list-style: none; }
.director-card summary::-webkit-details-marker { display: none; }
.director-card summary > img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; object-position: center 35%; }
.director-card summary > span { display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.director-card summary > span > small { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.director-card summary strong { margin-top: 8px; font-family: var(--serif); font-size: clamp(19px, 2.4vw, 27px); line-height: 1.05; }
.director-card summary > span > span { margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.director-card summary b { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; color: var(--red); font-size: 11px; }
.director-card[open] summary b span { transform: rotate(180deg); }
.director-card__details { padding: 20px; border-top: 1px solid var(--line); }
.director-card__details p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.about-info-card { min-height: 290px; display: flex; flex-direction: column; align-items: center; padding: 23px 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(28,10,0,.05); text-align: center; }
.about-info-card img { width: 112px; height: 100px; margin-bottom: 15px; border-radius: 50%; object-fit: cover; }
.about-info-card h3 { margin: 0 0 9px; font-family: var(--serif); font-size: 26px; }
.about-info-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }

.section-heading, .social__heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.section-heading h2, .social__heading h2 { margin-bottom: 0; }
.section-heading h1 { margin-bottom: 0; font-size: clamp(42px, 5vw, 62px); line-height: .93; }
.section-heading > .body-copy, .social__heading > .body-copy { max-width: 370px; margin-bottom: 5px; }
.social { background: #f4eee8; }

/* Pie de pagina y enlaces secundarios. */
.site-footer { padding-top: 52px; border-top: 2px solid var(--red); background: var(--dark); color: #fff8f1; }
.footer__main { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.25fr; gap: 40px; padding-bottom: 42px; }
.brand--footer .brand__mark { width: 38px; height: 38px; background: #fff; }
.brand--footer .brand__copy strong { color: #fff; font-size: 11px; }
.brand--footer .brand__copy small { color: #d6a65f; }
.footer-brand > p { max-width: 280px; margin: 16px 0 0; color: #a99b91; font-size: 10px; line-height: 1.7; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h3 { margin: 4px 0 5px; color: #d6a65f; font-size: 9px; letter-spacing: 1.1px; text-transform: uppercase; }
.footer-column a, .footer-column p { margin: 0; color: #b9aaa0; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.footer-column a:hover { color: #fff; }
.footer__bottom { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #88786e; font-size: 9px; }

/* Respeta la preferencia del usuario por menos movimiento. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Ajustes para tabletas y navegacion compacta. */
@media (max-width: 900px) {
  .header-main { flex-wrap: wrap; gap: 15px; padding-block: 12px; }
  .primary-nav { order: 3; width: 100%; flex-wrap: wrap; justify-content: flex-start; padding-block: 4px; }
  .primary-nav a { flex: 0 0 auto; }
  .hero { min-height: 590px; }
  .hero__wash { background: linear-gradient(90deg, rgba(255,248,241,.98) 0%, rgba(255,248,241,.89) 47%, rgba(255,248,241,.28) 100%); }
  .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Ajustes para telefonos. */
@media (max-width: 640px) {
  .wrap, .secondary-nav__inner { width: min(100% - 32px, 520px); }
  .header-main { min-height: 62px; gap: 10px; flex-wrap: nowrap; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__copy strong { font-size: 10px; }
  .brand__copy small { font-size: 9px; }
  .mobile-menu-toggle { width: 44px; height: 44px; margin-left: auto; display: grid; place-content: center; gap: 7px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
  .mobile-menu-toggle span { width: 31px; height: 2px; display: block; border-radius: 4px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .header-main.mobile-menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .header-main.mobile-menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  .header-main.mobile-menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .header-main.mobile-menu-open::before { content: ""; position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.24); }
  .header-main.mobile-menu-open .mobile-menu-toggle { position: fixed; top: 12px; right: 12px; z-index: 31; }
  .primary-nav { position: fixed; top: 0; right: 0; z-index: 30; width: min(70vw, 520px); height: 100vh; height: 100dvh; display: none; order: 0; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; padding: 82px 24px 24px; background: #fff; box-shadow: -8px 0 28px rgba(28,10,0,.16); }
  .header-main.mobile-menu-open .primary-nav { display: flex; }
  .primary-nav::before { display: none; }
  .primary-nav > a { width: 100%; padding: 0 0 14px; border-bottom: 2px solid #dedede; color: #68402c; font-family: var(--sans); font-size: 21px; line-height: 1.25; }
  .primary-nav > a:hover, .primary-nav .is-active { color: var(--red); }
  .primary-nav__cases, .primary-nav__certifications { width: 100%; padding-bottom: 14px; border-bottom: 2px solid #dedede; color: #68402c; font-size: 18px; }
  .primary-nav__cases.is-active, .primary-nav__certifications.is-active { color: var(--red); }
  .primary-nav__cases > summary, .primary-nav__certifications > summary { display: flex; align-items: center; gap: 8px; padding: 0; }
  .primary-nav__cases > summary span, .primary-nav__certifications > summary span { color: var(--red); font-size: 14px; }
  .primary-nav > :last-child { border-bottom: 0; }
  .primary-nav__cases[open] > .mega-menu, .primary-nav__certifications[open] > .mega-menu { position: static; width: 100%; max-height: none; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 12px 0 4px; box-shadow: none; transform: none; }
  .primary-nav__cases:not([open]) > .mega-menu, .primary-nav__certifications:not([open]) > .mega-menu { display: none; }
  .mega-menu { top: 100%; width: calc(100vw - 32px); max-height: min(72vh, 620px); grid-template-columns: 1fr; gap: 20px; overflow-y: auto; padding: 22px 20px; }
  .mega-menu__group h2 { margin-bottom: 12px; font-size: 17px; }
  .mega-menu__group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; font-size: 12px; }
  .secondary-nav__inner { min-height: 34px; justify-content: space-between; gap: 12px; }
  .secondary-nav a { font-size: 10px; }
  .hero { min-height: 670px; align-items: start; }
  .hero__slides { top: auto; height: 52%; }
  .hero__slide { object-position: center 30%; }
  .hero__carousel-controls { right: 16px; bottom: 16px; gap: 7px; }
  .hero__carousel-arrow { width: 32px; height: 32px; }
  .hero__carousel-indicators { gap: 5px; }
  .hero__carousel-indicator { width: 8px; height: 8px; }
  .hero__carousel-indicator.is-active { width: 18px; }
  .hero__wash { background: linear-gradient(180deg, var(--cream) 0%, rgba(255,248,241,.98) 42%, rgba(255,248,241,.78) 64%, rgba(255,248,241,.03) 100%); }
  .hero__content { padding-block: 58px 32px; }
  .eyebrow { gap: 9px; font-size: 9px; letter-spacing: 1px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); line-height: 1.02; }
  .hero__actions { gap: 8px; }
  .hero__actions .button { min-height: 40px; padding-inline: 14px; font-size: 10px; }
  .hero__proof { margin-top: 30px; }
  .hero__proof { gap: 7px; }
  .hero__proof > a, .hero__proof > div { min-height: 68px; display: flex; flex-direction: column; gap: 4px; padding: 9px; border-radius: 12px; }
  .hero__proof strong { font-size: 25px; }
  .hero__proof small { font-size: 8px; }
  .scroll-cue { display: none; }
  .section-pad { padding-block: 72px; }
  h2 { font-size: clamp(42px, 12vw, 54px); }
  .section-heading, .social__heading { display: block; margin-bottom: 27px; }
  .section-heading > .body-copy, .social__heading > .body-copy { margin-top: 17px; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-column--contact { grid-column: 1 / -1; }
  .footer__bottom { min-height: 64px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; padding-block: 12px; }
}

/* Contenido y listas de certificaciones. */
.value-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.value-list span { padding: 12px 16px; border: 1px solid var(--line); background: #fff4e7; color: #68402c; font-size: 14px; line-height: 1.3; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.value-list span:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 8px 18px rgba(28,10,0,.1); }
/* Interaccion y movimiento de tarjetas informativas. */
.about-info-card, .director-card, .cert-tile, .success-case, .activity-card, .point-clean__why, .point-clean__commitment, .point-clean__benefits > div, .other-courses__grid article, .cert-detail-grid > div { transition: transform .2s ease, box-shadow .2s ease; }
.about-info-card:hover, .director-card:hover, .cert-tile:hover, .success-case:hover, .activity-card:hover, .point-clean__why:hover, .point-clean__commitment:hover, .point-clean__benefits > div:hover, .other-courses__grid article:hover, .cert-detail-grid > div:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,10,0,.1); }

/* Redes sociales: columnas y contenedores para las publicaciones embebidas. */
.social-feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.social-feed-column { display: flex; min-width: 0; flex-direction: column; gap: 38px; }
.social-feed { min-width: 0; }
.social-feed__title { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.social-feed__icon { width: 28px; height: 28px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; }
.social-feed__icon img { width: 100%; height: 100%; object-fit: contain; }
.social-feed__frame { width: 100%; height: 650px; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 16px 12px; border: 1px solid #e9ecef; border-radius: 8px; background: #f8f9fa; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.social-feed__frame--instagram { min-height: 650px; height: auto; }
.social-feed__frame--tiktok { height: auto; }
.social-feed__frame--facebook { max-width: 420px; }
.social-feed__frame--instagram > div, .social-feed__frame--tiktok > div, .social-feed__frame--facebook > div { width: 100%; min-width: 0; flex: 1; }
.tiktok-scroll-wrapper, .fb-scroll-wrapper { height: 100%; overflow: auto; overscroll-behavior: contain; }
.social-feed__frame--tiktok .tiktok-scroll-wrapper { height: auto; min-height: 0; flex: 0 0 auto; overflow: visible; }
.tiktok-embed { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 auto !important; }
.fb-page, .fb-page > span, .fb-page iframe { max-width: 100% !important; }

@media (max-width: 900px) {
  .social-feed-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .social-feed-column { gap: 32px; }
  .social-feed__frame--facebook { max-width: 100%; }
}

@media (max-width: 640px) {
  .social-feed__frame { padding: 12px 8px; }
  .social-feed__frame--instagram { min-height: 560px; }
  .social-feed__frame--facebook { height: 560px; }
}

/* Contacto y redes: accesos sociales, tarjetas de contacto y mapa. */
.social-links-panel { padding: 28px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.social-links-panel .eyebrow { margin-bottom: 10px; color: var(--gold); }
.social-links-panel h3 { margin: 0 0 22px; font-family: var(--serif); font-size: 30px; line-height: 1; }
.social-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-links-grid a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.social-link-icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; object-fit: contain; transition: transform .2s ease; }
.social-links-grid a:hover .social-link-icon { transform: translateY(-3px); }
.social-links-grid strong { color: #78350f; font-size: 10px; }
.spotify-social-card h3 { margin-bottom: 18px; }
.spotify-social-card__player { display: block; width: 100%; height: 152px; border: 0; border-radius: 12px; }

.contact { background: #f9fafb; }
.contact__heading { margin-bottom: 36px; }
.contact__heading h2 { margin: 0; font-size: clamp(48px, 6vw, 68px); }
.contact__layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; align-items: stretch; }
.contact__cards { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; }
.contact-info-card { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(28,10,0,.05); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contact-info-card:hover { transform: translateY(-3px); border-color: #e7c8aa; box-shadow: 0 12px 26px rgba(28,10,0,.1); }
.contact-info-card__image { width: 56px; height: 56px; padding: 5px; border-radius: 12px; background: var(--cream); object-fit: contain; }
.contact-info-card__body { min-width: 0; display: grid; justify-items: start; gap: 4px; }
.contact-info-card h3 { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.contact-info-card p { margin: 0; color: #78350f; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.contact-info-card small { color: var(--muted); font-size: 10px; }
.contact-info-card__link { color: var(--red); font-size: 10px; font-weight: 700; }
.map-panel { min-width: 0; min-height: 100%; display: grid; grid-template-rows: auto minmax(280px, 1fr); margin: 0; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(28,10,0,.06); }
.map-panel__heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 25px; }
.map-panel__heading h3 { margin: 0; font-family: var(--serif); font-size: 26px; }
.map-panel__heading p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.map-panel__heading > a { color: var(--red); font-size: 11px; font-weight: 700; white-space: nowrap; }
.map-panel iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }

/* Redes: acomoda publicaciones y contacto en tabletas. */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__layout { grid-template-columns: minmax(0, 1.05fr) minmax(270px, .95fr); gap: 12px; }
  .contact__cards { grid-template-columns: minmax(0, 1fr); }
  .contact__cards { max-width: 100%; }
}

/* Redes y contacto: reduce espacios y apila columnas en teléfonos. */
@media (max-width: 640px) {
  .about__intro > h2 { font-size: 48px; }
  .about-info-grid { gap: 10px; }
  .about-info-card { min-height: 0; padding: 15px 11px; }
  .about-info-card img { width: 78px; height: 72px; }
  .about-info-card h3 { font-size: 21px; }
  .about-info-card p { font-size: 10px; }
  .director-card summary { grid-template-columns: 110px minmax(0, 1fr); min-height: 180px; }
  .director-card summary > img { min-height: 180px; }
  .director-card summary > span { padding: 14px; }
  .director-card summary strong { font-size: 19px; }
  .director-card summary > span > span { font-size: 10px; }
  .director-card__details { text-align: center; }
  .social-links-panel { padding: 20px 15px; }
  .social-links-panel h3 { font-size: 26px; }
  .social-link-icon { width: 54px; height: 54px; }
  .social-links-grid { gap: 7px; }
  .contact-info-card { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .contact-info-card__image { width: 48px; height: 48px; }
  .contact-info-card h3 { font-size: 19px; }
  .contact-info-card p { font-size: 11px; }
  .map-panel__heading { align-items: flex-start; flex-direction: column; padding: 18px; }
  .contact__layout { grid-template-columns: minmax(0, 1fr); }
  .contact__cards { max-width: 100%; }
  .map-panel { min-height: 0; grid-template-rows: auto 250px; }
  .map-panel iframe { height: 250px; min-height: 250px; }
}

/* Certificaciones: tarjetas interactivas de distintivos y sellos turísticos. */
.cert-page { background: #fff; }
.cert-page__heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.cert-page__heading h1 { margin: 0 0 17px; font-size: clamp(44px, 6vw, 66px); line-height: .98; }
.cert-page__heading > .body-copy { max-width: 650px; margin: auto; }
.cert-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; align-items: start; }
.cert-tile { min-width: 0; text-align: center; scroll-margin-top: 30px; }
.cert-tile summary { display: flex; flex-direction: column; align-items: center; cursor: pointer; list-style: none; }
.cert-tile summary::-webkit-details-marker { display: none; }
.cert-tile summary > img { width: min(100%, 190px); aspect-ratio: 1; padding: 18px; border: 1px solid #e5e7eb; border-radius: 50%; background: #fff; box-shadow: 0 8px 22px rgba(28,10,0,.08); object-fit: contain; transition: transform .2s ease, box-shadow .2s ease; }
.cert-tile summary:hover > img, .cert-tile[open] summary > img { transform: translateY(-3px); box-shadow: 0 13px 30px rgba(28,10,0,.14); }
.cert-tile summary > strong { margin-top: 16px; font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.cert-tile summary > small { margin-top: 5px; color: var(--muted); font-size: 10px; }
.cert-tile__hint { margin-top: 9px; color: var(--red); font-size: 9px; font-weight: 600; }
.cert-tile summary > .cert-tile__photo { width: min(100%, 190px); height: 140px; margin-top: 14px; padding: 0; border: 0; aspect-ratio: auto; border-radius: 12px; background: transparent; object-fit: cover; box-shadow: 0 8px 22px rgba(28,10,0,.08); }
.cert-tile__details { grid-column: 1 / -1; margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); color: var(--muted); text-align: left; }
.cert-tile__details .eyebrow { margin-bottom: 10px; font-size: 9px; }
.cert-tile__details h2 { margin: 0 0 12px; font-size: 36px; }
.cert-tile__details > p:not(.eyebrow) { font-size: 12px; line-height: 1.75; }
.cert-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 18px; }
.cert-detail-grid > div { padding: 17px; border-radius: 12px; background: #fff; }
.cert-detail-grid h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.cert-detail-grid ul, .point-clean__commitment ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cert-detail-grid li, .point-clean__commitment li { position: relative; padding-left: 18px; font-size: 10px; line-height: 1.5; }
.cert-detail-grid li::before, .point-clean__commitment li::before { position: absolute; left: 0; color: var(--red); font-weight: 700; content: "✓"; }
.cert-tile__details > p strong { color: var(--ink); }
.cert-tile__details > .button { margin-top: 2px; }
.cert-tile[open] { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(170px, .34fr) minmax(0, 1.66fr); align-items: start; gap: 0 clamp(16px, 3vw, 34px); padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: left; }
.cert-tile[open] > summary { grid-column: 1; grid-row: 1; align-items: center; padding: 8px; }
.cert-tile[open] > summary > img { width: min(100%, 170px); }
.cert-tile[open] > summary > .cert-tile__photo { width: min(100%, 190px); height: 140px; }
.cert-tile[open] > summary > strong { font-size: 22px; }
.cert-tile[open] > .cert-tile__details { width: 100%; min-width: 0; grid-column: 2; grid-row: 1; margin: 0; padding: clamp(18px, 2.5vw, 30px); }
/* Punto Limpio: composición de portada, beneficios y compromiso. */
.point-clean { background: #fff; }
.point-clean__hero { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 42px; align-items: center; }
.point-clean__logo { width: min(100%, 300px); aspect-ratio: 1; justify-self: center; padding: 24px; border: 1px solid #e5e7eb; border-radius: 50%; background: #fff; box-shadow: 0 18px 50px rgba(28,10,0,.1); }
.point-clean__logo img { width: 100%; height: 100%; object-fit: contain; }
.point-clean__hero h1 { margin: 0 0 18px; font-size: clamp(42px, 6vw, 66px); line-height: 1; }
.point-clean__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 20px; margin-top: 45px; }
.point-clean__why, .point-clean__commitment { padding: 28px; }
.point-clean__why { border-radius: 16px; background: var(--cream); }
.point-clean__commitment { border-radius: 16px; background: #99cec2; color: var(--ink); }
.point-clean__image { width: 100%; height: 220px; margin-bottom: 22px; border-radius: 10px; object-fit: cover; }
.point-clean__why h2, .point-clean__commitment h2 { margin: 0 0 22px; font-size: 36px; }
.point-clean__benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.point-clean__benefits > div { padding: 17px; border-radius: 12px; background: #fff; }
.point-clean__benefits h3 { margin: 0 0 8px; font-size: 12px; }
.point-clean__benefits p, .point-clean__commitment > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.point-clean__commitment > p { margin-bottom: 20px; color: rgba(28,10,0,.72); }
.point-clean__commitment li { color: var(--ink); font-size: 11px; }
.point-clean__commitment li::before { color: #315f53; }
.point-clean__commitment .button { margin-top: 25px; }

/* Certificaciones: adapta tarjetas y contenido de Punto Limpio a tabletas. */
@media (max-width: 900px) {
  .cert-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .point-clean__grid { grid-template-columns: 1fr; }
}

/* Certificaciones y Punto Limpio: distribución compacta para teléfonos. */
@media (max-width: 640px) {
  .cert-page__heading { margin-bottom: 32px; }
  .cert-tile summary > img { width: 112px; padding: 10px; }
  .cert-tile summary > .cert-tile__photo { width: 112px; height: 84px; padding: 0; }
  .cert-tile summary > strong { font-size: 16px; }
  .cert-tile summary > small { font-size: 9px; }
  .cert-detail-grid { grid-template-columns: 1fr; }
  .cert-tile__details { padding: 17px; }
  .cert-tile[open] { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cert-tile[open] > summary { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: start; gap: 3px 12px; text-align: left; }
  .cert-tile[open] > summary > img { width: 64px; grid-column: 1; grid-row: 1 / 4; padding: 5px; }
  .cert-tile[open] > summary > .cert-tile__photo { width: 112px; height: 84px; grid-column: 1 / 3; grid-row: 4; justify-self: center; margin-top: 10px; padding: 0; }
  .cert-tile[open] > summary > strong { align-self: end; grid-column: 2; margin: 0; font-size: 16px; }
  .cert-tile[open] > summary > small, .cert-tile[open] > summary > .cert-tile__hint { grid-column: 2; margin: 0; }
  .cert-tile[open] > .cert-tile__details { grid-column: 1; grid-row: 2; padding: 15px; }
  .point-clean__hero { grid-template-columns: 1fr; gap: 28px; }
  .point-clean__logo { width: 210px; }
  .point-clean__hero h1 { font-size: 42px; }
  .point-clean__grid > article { padding: 20px; }
  .point-clean__image { height: 180px; }
  .point-clean__why h2, .point-clean__commitment h2 { font-size: 30px; }
  .point-clean__benefits { grid-template-columns: 1fr; }
}

/* Cursos y conferencias: encabezado, pestañas, tarjetas y clases en línea. */
.activities { background: #f9fafb; }
.activities__heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 32px; }
.activities__heading h1 { margin: 0 0 14px; font-size: clamp(46px, 6vw, 68px); line-height: .96; }
.activities__heading > div > .body-copy { margin: 0; }
.activities__note { width: min(390px, 42%); display: flex; align-items: flex-start; gap: 15px; padding: 18px; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(28,10,0,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.activities__note:hover, .activities__note:focus-visible { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 28px rgba(28,10,0,.12); }
.activities__note:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.activities__note > div { min-width: 0; }
.activities__note > span { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; background: var(--cream); }
.activities__note > span img { width: 100%; height: 100%; object-fit: contain; }
.activities__note strong { color: var(--ink); font-size: 15px; }
.activities__note p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.activities__note-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--red); font-size: 13px; font-weight: 700; }
.activities__note:hover .activities__note-link > span { transform: translateX(3px); }
.activities__note-link > span { transition: transform .2s ease; }
.activity-tabs { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
.activity-tabs a { padding: 11px 20px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #78350f; font-size: 14px; font-weight: 700; }
.activity-tabs a.is-active, .activity-tabs a:hover { border-color: var(--red); background: var(--red); color: #fff; }
.online-classes { margin-bottom: 64px; padding: 38px; border: 1px solid rgba(41,25,15,.1); border-radius: 20px; background: linear-gradient(135deg, #fff8f1 0%, #eef6f1 100%); scroll-margin-top: 180px; }
.online-classes__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.online-classes__heading h2 { margin: 0; font-size: 42px; line-height: 1.05; }
.online-classes__heading h2 em { color: var(--red); font-style: normal; }
.online-classes__whatsapp { display: inline-flex; align-items: center; gap: 10px; max-width: 280px; padding: 13px 16px; border-radius: 10px; background: #1f8f55; color: #fff; font-size: 14px; font-weight: 700; }
.online-classes__intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 24px; margin-bottom: 28px; }
.online-classes__intro > p { margin: 0; color: var(--muted); line-height: 1.8; }
.online-classes__details { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; align-content: start; padding: 18px; border: 1px solid rgba(41,25,15,.1); border-radius: 12px; background: rgba(255,255,255,.75); font-size: 14px; }
.online-classes__details strong { color: var(--ink); }
.online-classes__details span { color: var(--red); font-weight: 700; text-align: right; }
.online-classes__content { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); gap: 24px; }
.online-classes__steps, .online-classes__list { border-radius: 14px; background: #fff; }
.online-classes__steps { padding: 24px; }
.online-classes__steps h3, .online-classes__list h3 { margin: 0 0 18px; }
.online-classes__steps ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.online-classes__steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.online-classes__steps li > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; }
.online-classes__steps li p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.online-classes__list { align-self: stretch; padding: 24px; background: #fff2b6; }
.online-classes__list ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.online-classes__list li { position: relative; padding: 12px 12px 12px 27px; border-bottom: 1px solid rgba(41,25,15,.12); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.45; }
.online-classes__list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); }
.courses-whatsapp-float { position: fixed !important; right: 100px !important; bottom: 24px !important; z-index: 2147483000 !important; width: 68px !important; height: 68px !important; display: grid !important; place-items: center; overflow: hidden; border: 3px solid #fff; border-radius: 50%; background: #25d366; box-shadow: 0 10px 28px rgba(28,10,0,.32); transition: transform .2s ease, box-shadow .2s ease; }
.courses-whatsapp-float img { width: 62px; height: 62px; max-width: none; display: block; object-fit: cover; border-radius: 50%; }
.courses-whatsapp-float:hover, .courses-whatsapp-float:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(28,10,0,.28); }
.online-classes__details, .online-classes__steps, .online-classes__list { transition: transform .2s ease, box-shadow .2s ease; }
.online-classes__details:hover, .online-classes__steps:hover, .online-classes__list:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(28,10,0,.12); }
.activity-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.activity-card { min-width: 0; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.activity-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28,10,0,.1); }
.activity-card > img { width: 100%; height: 220px; object-fit: cover; }
.activity-card__body { display: flex; flex-direction: column; padding: 20px; }
.activity-card__body > small { margin-bottom: 10px; color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .8px; line-height: 1.5; text-transform: uppercase; }
.activity-card h2 { margin: 0 0 12px; font-size: 27px; line-height: 1.15; overflow-wrap: break-word; }
.activity-card__body > p { min-height: 78px; margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: break-word; }
.activity-card details { border-top: 1px solid var(--line); }
.activity-card details summary { padding-top: 14px; color: var(--red); cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.activity-card details summary::-webkit-details-marker { display: none; }
.activity-card details[open] summary { padding-bottom: 10px; }
.activity-card details > div { display: grid; gap: 10px; padding-bottom: 7px; }
.activity-card details > div p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; overflow-wrap: break-word; }
.activity-card details > div img { width: 100%; max-height: 240px; object-fit: cover; }
.other-courses { margin-top: 64px; }
.other-courses .section-heading { margin-bottom: 20px; }
.other-courses h2 { margin: 0; font-size: 38px; }
.other-courses__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.other-courses__grid article { min-width: 0; padding: 22px 24px; border: 1px solid rgba(41,25,15,.1); border-radius: 16px; }
.other-courses__grid article:nth-child(4n + 1) { background: #FFF2B6; }
.other-courses__grid article:nth-child(4n + 2) { background: #CFE7D6; }
.other-courses__grid article:nth-child(4n + 3) { background: #A7C7D9; }
.other-courses__grid article:nth-child(4n) { background: #F3C7B6; }
.other-courses__grid h3 { margin: 0 0 8px; font-size: 25px; line-height: 1.2; overflow-wrap: break-word; }
.other-courses__grid p { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; overflow-wrap: break-word; }
.activities--talks { background: #fff; }

/* Cursos y conferencias: cambia la grilla y apila bloques en tabletas. */
@media (max-width: 900px) {
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activities__note { width: min(340px, 45%); }
  .online-classes__heading { align-items: flex-start; }
  .online-classes__intro, .online-classes__content { grid-template-columns: 1fr; }
}

/* Cursos y conferencias: tamaños, espacios y columnas para teléfonos. */
@media (max-width: 640px) {
  .activities__heading { align-items: stretch; flex-direction: column; gap: 20px; }
  .activities__heading h1 { font-size: 46px; }
  .activities__note { width: 100%; }
  .activity-tabs { justify-content: flex-start; }
  .courses-whatsapp-float { right: 76px !important; bottom: 14px !important; width: 60px !important; height: 60px !important; }
  .courses-whatsapp-float img { width: 54px; height: 54px; }
  .online-classes { margin-bottom: 48px; padding: 22px 18px; }
  .online-classes__heading { align-items: stretch; flex-direction: column; }
  .online-classes__heading h2 { font-size: 34px; }
  .online-classes__whatsapp { max-width: none; justify-content: space-between; }
  .online-classes__details { grid-template-columns: 1fr; }
  .online-classes__details span { text-align: left; }
  .online-classes__steps, .online-classes__list { padding: 18px; }
  .activity-grid, .other-courses__grid { grid-template-columns: 1fr; }
  .activity-card > img { height: 210px; }
  .activity-card__body { padding: 17px; }
  .activity-card__body > p { min-height: 0; }
  .activity-card h2 { font-size: 24px; }
  .other-courses__grid article { padding: 20px; }
  .other-courses__grid h3 { font-size: 23px; }
  .other-courses { margin-top: 48px; }
}

/* Casos de éxito: tarjetas, resumen, ficha y galería en su estructura base. */
.case-route { background: #f9fafb; }
.case-route__heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.case-route__heading h1 { margin: 0 0 14px; font-size: clamp(46px, 6vw, 68px); line-height: .96; }
.case-route__heading .body-copy { max-width: 650px; margin: auto; }
.success-case-list { display: grid; gap: 12px; }
.success-case { overflow: hidden; border: 1px solid #e5e7eb; border-top: 3px solid var(--red); background: #fff; box-shadow: 0 3px 16px rgba(0,0,0,.04); scroll-margin-top: 20px; }
.success-case > summary { min-height: 116px; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 20px; cursor: pointer; list-style: none; }
.success-case > summary::-webkit-details-marker { display: none; }
.success-case > summary > img { width: 150px; height: 116px; object-fit: cover; }
.success-case > summary > span { display: grid; gap: 6px; padding: 12px 20px 12px 0; }
.success-case > summary small { color: var(--red); font-size: 9px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.success-case > summary strong { font-family: var(--serif); font-size: 25px; line-height: 1.05; }
.success-case > summary b { display: flex; justify-content: space-between; align-items: center; max-width: 170px; color: var(--red); font-size: 10px; }
.success-case[open] > summary b span { transform: rotate(180deg); }
.success-case__details { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: #fff; }
.success-case__details > p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.success-case__details > p strong, .success-case__details > strong { color: var(--ink); }
.success-case__details h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 23px; }
.success-case__details ul { display: grid; gap: 7px; margin: 0 0 15px; padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.case-contact-panel { padding: 12px 14px; border: 1px solid #eadfd4; border-radius: 10px; background: #fffaf5; }
.case-contact-panel dl { display: grid; gap: 7px; margin: 0; }
.case-contact-panel dl > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px; }
.case-contact-panel dt { color: var(--ink); font-size: 10px; font-weight: 700; }
.case-contact-panel dd { min-width: 0; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.case-contact-panel dd a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.success-case__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.success-case__gallery img { width: 100%; height: 190px; object-fit: cover; background: #f3f4f6; }

@media (max-width: 640px) {
  .success-case > summary { grid-template-columns: 96px minmax(0, 1fr); min-height: 100px; gap: 12px; }
  .success-case > summary > img { width: 96px; height: 100px; }
  .success-case > summary > span { padding-right: 12px; }
  .success-case > summary strong { font-size: 19px; }
  .success-case__details { padding: 16px; }
  .success-case__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .success-case__gallery img { height: 145px; }
}

/* Casos de éxito: presentación visual de tarjetas interactivas con imagen. */
.success-case-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.success-case { overflow: visible; border: 0; border-top: 0; background: transparent; box-shadow: none; }
.success-case > summary { position: relative; display: block; min-height: 0; aspect-ratio: .93; overflow: hidden; padding: 0; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(28,10,0,.12); }
.success-case > summary > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.success-case > summary::after { position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(28,10,0,.88)); content: ""; }
.success-case > summary:hover > img { transform: scale(1.035); }
.success-case > summary > span { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 7px; padding: 42px 18px 18px; color: #fff; }
.success-case > summary small { color: #f5ca84; font-size: 9px; }
.success-case > summary strong { color: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.15; }
.success-case > summary b { max-width: 100%; margin-top: 3px; color: #fff; }
.success-case > summary b span { color: #fff; transition: transform .2s ease; }
.success-case[open] { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(240px, .48fr) minmax(0, 1.52fr); gap: 24px; align-items: start; overflow: visible; padding: 20px; border: 1px solid #e5e7eb; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(28,10,0,.08); }
.success-case[open] > summary { aspect-ratio: .93; border-radius: 12px; }
.success-case[open] > .success-case__details { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 0; border: 0; background: #fff; }
.success-case[open] > .success-case__details > * { grid-column: 1; }
.success-case[open] > .success-case__details > .success-case__gallery { grid-column: 2; grid-row: 1; align-self: start; margin-top: 0; }
.success-case[open] > .success-case__details > .badge-list { align-self: start; }
.success-case[open] .success-case__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.success-case[open] .success-case__gallery img { height: 210px; }

/* Tarjetas de casos: reduce columnas y reorganiza la ficha en tabletas. */
@media (max-width: 900px) {
  .success-case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .success-case[open] { grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); gap: 18px; padding: 15px; }
  .success-case[open] > .success-case__details { grid-template-columns: 1fr; }
  .success-case[open] > .success-case__details > .success-case__gallery { grid-column: 1; grid-row: auto; }
}

/* Tarjetas de casos: una columna y ficha apilada en teléfonos. */
@media (max-width: 640px) {
  .success-case-list { grid-template-columns: 1fr; gap: 16px; }
  .success-case > summary { aspect-ratio: .93; }
  .success-case > summary > span { padding: 42px 17px 17px; }
  .success-case[open] { grid-template-columns: 1fr; gap: 16px; padding: 12px; }
  .success-case[open] > summary { width: min(100%, 340px); aspect-ratio: .93; }
  .success-case[open] > .success-case__details { grid-template-columns: 1fr; }
  .success-case[open] > .success-case__details > .success-case__gallery { grid-column: 1; grid-row: auto; }
  .success-case[open] .success-case__gallery img { height: 150px; }
}

/* Variante de ficha de casos: ajuste de galería para ciertos tipos de ficha. */
.success-case-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.success-case { overflow: visible; border: 0; border-top: 0; background: transparent; box-shadow: none; }
.success-case > summary { position: relative; display: block; min-height: 0; aspect-ratio: .93; overflow: hidden; padding: 0; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(28,10,0,.12); }
.success-case > summary > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.success-case > summary::after { position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(28,10,0,.88)); content: ""; }
.success-case > summary:hover > img { transform: scale(1.035); }
.success-case > summary > span { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 7px; padding: 42px 18px 18px; color: #fff; }
.success-case > summary small { color: #f5ca84; font-size: 9px; }
.success-case > summary strong { color: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.15; }
.success-case > summary b { max-width: 100%; margin-top: 3px; color: #fff; }
.success-case > summary b span { color: #fff; transition: transform .2s ease; }
.success-case[open] { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(240px, .48fr) minmax(0, 1.52fr); gap: 24px; align-items: start; overflow: visible; padding: 20px; border: 1px solid #e5e7eb; border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(28,10,0,.08); }
.success-case[open] > summary { aspect-ratio: .93; border-radius: 12px; }
.success-case[open] > .success-case__details { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 0; border: 0; background: #fff; }
.success-case[open] > .success-case__details > * { grid-column: 1; }
.success-case[open] > .success-case__details > .success-case__gallery { grid-column: 2; grid-row: 1 / span 20; align-self: start; margin-top: 0; }
.success-case[open] .success-case__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.success-case[open] .success-case__gallery img { height: 210px; }

@media (max-width: 900px) {
  .success-case-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .success-case[open] { grid-template-columns: minmax(190px, .55fr) minmax(0, 1.45fr); gap: 18px; padding: 15px; }
  .success-case[open] > .success-case__details { grid-template-columns: 1fr; }
  .success-case[open] > .success-case__details > .success-case__gallery { grid-column: 1; grid-row: auto; }
}

@media (max-width: 640px) {
  .success-case-list { grid-template-columns: 1fr; }
  .success-case[open] { grid-template-columns: 1fr; gap: 16px; padding: 12px; }
  .success-case[open] > summary { width: min(100%, 340px); }
  .success-case[open] > .success-case__details { grid-template-columns: 1fr; }
  .success-case[open] > .success-case__details > .success-case__gallery { grid-column: 1; grid-row: auto; }
  .success-case[open] .success-case__gallery img { height: 150px; }
}

/* Fichas ampliadas de casos: encabezado, datos, certificaciones y galeria. */
.success-case--enhanced[open] { display: block; grid-column: 1 / -1; padding: 0; border: 0; background: transparent; box-shadow: none; transform: none; }
.success-case--enhanced[open] > summary { width: min(260px, 100%); height: 42px; min-height: 42px; aspect-ratio: auto; margin: 0 0 11px; border-bottom: 2px solid var(--red); border-radius: 0 0 16px 16px; }
.success-case--enhanced[open] > summary::after { inset: 0; background: linear-gradient(90deg, rgba(28,10,0,.82), rgba(28,10,0,.24)); }
.success-case--enhanced[open] > summary > span { inset: 0; justify-content: center; padding: 0 13px; }
.success-case--enhanced[open] > summary > span > small, .success-case--enhanced[open] > summary > span > b { display: none; }
.success-case--enhanced[open] > summary strong { font-family: var(--sans); font-size: 12px; }
.success-case--enhanced > .success-case__details { overflow: hidden; padding: 0; border: 1px solid #e5e7eb; border-radius: 15px; background: #fff; box-shadow: 0 8px 22px rgba(28,10,0,.1); }
.success-case--enhanced[open] > .success-case__details { display: block; width: 100%; }
.success-case__panel-heading { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 1px solid #f0f1f3; }
.success-case__panel-heading p { margin: 0 0 4px; color: var(--red); font-size: 8px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.success-case__panel-heading h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.05; }
.success-case__close { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 0; background: transparent; color: var(--red); cursor: pointer; font-size: 18px; }
.success-case__content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; }
.success-case__content--with-media { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.success-case__information { min-width: 0; display: grid; align-content: start; gap: 9px; }
.case-detail__eyebrow { margin: 0 0 2px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.success-case__information > p:not(.case-detail__eyebrow) { margin: 0; color: #78350f; font-size: 10px; line-height: 1.55; }
.success-case__information > .case-detail__eyebrow:not(:first-child) { margin-top: 5px; }
.success-case__information > h3 { margin: 5px 0 0; color: var(--red); font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.success-case__information > ul { display: grid; gap: 5px; margin: 0; padding-left: 15px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.badge-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.badge-list > span { min-height: 25px; display: inline-flex; align-items: center; padding: 3px 7px; background: #fff0dc; color: #78350f; font-size: 8px; font-weight: 600; line-height: 1.25; }
.badge-list .certification-badge { min-height: 25px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; background: #fff0dc; color: #78350f; font-size: 8px; font-weight: 600; line-height: 1.25; }
.certification-badge img { width: 21px; height: 20px; flex: 0 0 auto; padding: 2px; background: #fff; object-fit: contain; }
.case-contact-panel { margin-top: 4px; padding: 13px 15px; border-radius: 11px; background: #fff8f1; }
.case-contact-panel > .case-detail__eyebrow { margin-bottom: 10px; color: var(--red); }
.case-contact-panel dl { display: grid; gap: 6px; margin: 0; }
.case-contact-panel dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; font-size: 13px; line-height: 1.6; }
.case-contact-panel dt { color: var(--ink); font-size: 13px; font-weight: 700; }
.case-contact-panel dd { min-width: 0; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.success-case__media { min-width: 0; }
.success-case__media .success-case__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; }
.success-case__media .success-case__gallery img { min-width: 0; height: 122px; border-radius: 8px; object-fit: cover; }
.success-case__media .success-case__gallery img:first-child:nth-last-child(odd) { grid-column: 1 / -1; height: 172px; }
.success-case__media .success-case__gallery img:only-child { height: auto; max-height: 360px; aspect-ratio: 1.25; }
#azul-ixtapa-grand .success-case__media .success-case__gallery img:only-child,
#casa-que-canta .success-case__media .success-case__gallery img:only-child { height: auto; max-height: 360px; aspect-ratio: auto; object-fit: contain; }

/* Fichas ampliadas: orden vertical y tipografia compacta en teléfonos. */
@media (max-width: 640px) {
  .success-case__content--with-media { grid-template-columns: 1fr; }
  .success-case__content { padding: 13px; }
  .success-case__media .success-case__gallery img { height: 105px; }
  .success-case__media .success-case__gallery img:first-child:nth-last-child(odd) { height: 150px; }
  .success-case__panel-heading h2 { font-size: 18px; }
  .success-case__panel-heading p,
  .success-case__information > .case-detail__eyebrow,
  .success-case__information > h3 { font-size: 9px; line-height: 1.45; }
  .success-case__information > p:not(.case-detail__eyebrow) { font-size: 12px; line-height: 1.6; }
  .success-case__information > ul { font-size: 11px; line-height: 1.55; }
  .badge-list > span,
  .badge-list .certification-badge { font-size: 9px; line-height: 1.35; }
  .case-contact-panel { padding: 10px 12px; }
  .case-contact-panel > .case-detail__eyebrow { margin-bottom: 7px; font-size: 8px; }
  .case-contact-panel dl { gap: 5px; }
  .case-contact-panel dl > div { grid-template-columns: 72px minmax(0, 1fr); gap: 6px; font-size: 10px; line-height: 1.45; }
  .case-contact-panel dt,
  .case-contact-panel dd { font-size: 10px; line-height: 1.45; }
}

/* Eventos: portada, cifras, contenido, reconocimiento y galería del Tianguis. */
.event-hero { padding-block: 48px; background: var(--cream); }
.event-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.event-hero__copy { padding-block: 20px; }
.event-hero__copy .eyebrow { font-size: 10px; }
.event-hero h1 { margin: 0 0 22px; font-size: clamp(58px, 7vw, 92px); line-height: .9; }
.event-hero h1 em { color: var(--red); font-style: normal; }
.event-hero__subtitle { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; color: #a64b18; font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); font-style: italic; }
.event-hero__subtitle::before { width: 48px; height: 1px; background: var(--gold); content: ""; }
.event-hero__copy .body-copy { max-width: 490px; margin-bottom: 27px; font-size: 15px; line-height: 1.9; }
.event-hero__photo, .event-recognition__photo { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--dark); }
.event-hero__photo { height: clamp(380px, 42vw, 550px); border-radius: 3px; box-shadow: 0 20px 50px rgba(41,25,15,.16); }
.event-hero__photo img, .event-recognition__photo img { width: 100%; height: 100%; object-fit: cover; }
.event-hero__photo img { object-position: center; }
.event-hero__photo figcaption, .event-recognition__photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 28px 18px 15px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: 11px; }
.event-facts { position: relative; z-index: 1; margin-top: -1px; padding-block: 12px 16px; background: #fff; }
.event-facts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event-facts__grid > div { min-height: 72px; display: flex; align-items: center; gap: 18px; padding: 14px clamp(18px, 3vw, 34px); border: 1px solid #f0d7b4; border-radius: 16px; background: #fff; box-shadow: 0 8px 22px rgba(41,25,15,.07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.event-facts__grid > div:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 14px 28px rgba(41,25,15,.13); }
.event-facts__icon { color: var(--red); font-family: var(--sans); font-size: 25px; }
.event-facts__grid > div > span:last-child { display: grid; gap: 5px; }
.event-facts__grid small { color: var(--muted); font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; }
.event-facts__grid strong { font-size: 14px; }
.event-experience { background: #fff; }
.event-experience__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 8vw, 100px); align-items: start; }
.event-experience__heading h2 { max-width: 480px; margin: 0 0 22px; font-size: clamp(38px, 4.3vw, 58px); line-height: 1.05; }
.event-experience__heading > p:last-child { max-width: 360px; color: #a64b18; font-size: 13px; line-height: 1.8; }
.event-experience__content > p:not(.event-experience__lead) { color: var(--muted); font-size: 13px; line-height: 1.9; }
.event-experience__lead { margin: 0 0 24px; color: #8b3f0b; font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); line-height: 1.45; }
.event-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; margin-top: 40px; }
.event-highlights > div { min-height: 72px; display: flex; align-items: center; gap: 17px; border-top: 1px solid #e8ba81; }
.event-highlights span { color: #db7900; font-family: var(--serif); font-size: 19px; font-style: italic; }
.event-highlights strong { color: #72370f; font-size: 11px; }
.event-recognition { padding-block: 48px; background: var(--red); color: #fff; }
.event-recognition__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 5vw, 64px); align-items: stretch; }
.event-recognition__photo { min-height: 640px; }
.event-recognition__content { padding: 12px 0 20px; }
.event-recognition__content .eyebrow { color: #ffdc9b; font-size: 10px; }
.event-recognition__content .eyebrow > span { background: #ffdc9b; }
.event-recognition__content h2 { max-width: 500px; margin: 0 0 24px; font-size: clamp(38px, 4.5vw, 58px); line-height: 1.05; }
.event-recognition__content > p:not(.eyebrow) { color: rgba(255,255,255,.88); font-size: 13px; line-height: 1.9; }
.event-project { margin: 30px 0 0; padding-left: 22px; border-left: 2px solid #ffdc9b; }
.event-project h3 { margin: 0 0 8px; font-size: 23px; }
.event-project p { margin: 0; color: rgba(255,255,255,.86); font-size: 12px; line-height: 1.9; }
.event-recognition__content .event-recognition__closing { margin: 32px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.28); }
.event-gallery { background: #f9f7f4; }
.event-gallery__heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.event-gallery__heading h2 { margin: 0; font-size: clamp(38px, 5vw, 58px); }
.event-gallery__heading h2 em { color: var(--red); font-style: normal; }
.event-gallery__heading > .body-copy { max-width: 360px; margin: 0 0 4px; }
.event-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.event-gallery__grid figure { position: relative; min-width: 0; aspect-ratio: 1.05; margin: 0; overflow: hidden; border-radius: 10px; background: #e9e3dd; box-shadow: 0 6px 18px rgba(41,25,15,.08); }
.event-gallery__photo { width: 100%; height: 100%; display: block; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
.event-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.event-gallery__photo:hover img, .event-gallery__photo:focus-visible img { transform: scale(1.04); }
.event-gallery__photo:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.event-gallery__grid figcaption { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 24px 12px 11px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: 9px; line-height: 1.5; pointer-events: none; }
/* Visor modal: controles, imagen y pie de foto para la galería de eventos. */
.event-lightbox { position: fixed; width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 46px 16px 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: #1b0b03; color: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.event-lightbox::backdrop { background: rgba(15,8,4,.86); }
.event-lightbox__close { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.event-lightbox__close:hover, .event-lightbox__close:focus-visible { background: var(--red); }
.event-lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(27,11,3,.82); color: #fff; font-size: 22px; cursor: pointer; transform: translateY(-50%); }
.event-lightbox__nav:hover, .event-lightbox__nav:focus-visible { background: var(--red); }
.event-lightbox__nav--prev { left: 28px; }
.event-lightbox__nav--next { right: 28px; }
.event-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 112px); margin: 0 auto; object-fit: contain; }
.event-lightbox__caption { margin: 12px 0 0; color: rgba(255,255,255,.85); font-size: 12px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Eventos: adapta columnas e imágenes para tabletas. */
@media (max-width: 900px) {
  .event-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
  .event-hero h1 { font-size: clamp(52px, 8vw, 72px); }
  .event-experience__grid { gap: 40px; }
  .event-recognition__grid { gap: 32px; }
  .event-recognition__photo { min-height: 580px; }
  .event-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Eventos: apila contenido y ajusta galería y controles para teléfonos. */
@media (max-width: 640px) {
  .event-hero { padding-block: 30px 38px; }
  .event-hero__grid, .event-experience__grid, .event-recognition__grid { grid-template-columns: 1fr; }
  .event-hero__grid { gap: 25px; }
  .event-hero__copy { padding-block: 8px 0; }
  .event-hero h1 { font-size: clamp(54px, 15vw, 74px); }
  .event-hero__copy .body-copy { font-size: 13px; }
  .event-hero__photo { height: min(105vw, 470px); }
  .event-facts__grid { grid-template-columns: 1fr; }
  .event-facts__grid > div { min-height: 72px; padding: 13px 20px; }
  .event-experience__grid { gap: 22px; }
  .event-experience__heading h2, .event-recognition__content h2 { font-size: clamp(38px, 11vw, 52px); }
  .event-highlights { margin-top: 28px; }
  .event-highlights > div { gap: 10px; }
  .event-highlights strong { font-size: 10px; }
  .event-recognition { padding-block: 30px; }
  .event-recognition__photo { min-height: 0; aspect-ratio: .95; }
  .event-recognition__content { padding-top: 5px; }
  .event-gallery__heading { display: block; }
  .event-gallery__heading > .body-copy { margin-top: 15px; }
  .event-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .event-gallery__grid figure { aspect-ratio: .92; }
  .event-gallery__grid figcaption { padding: 24px 8px 8px; font-size: 8px; }
}

/* Ajustes para pantallas medianas y grandes: amplía elementos de lectura. */
@media (min-width: 641px) {
  .hero__proof > a { min-height: 88px; padding: 14px 18px; }
  .hero__proof > div { min-height: 88px; padding: 14px 18px; }
  .hero__proof small { font-size: 13px; line-height: 1.5; }
  .about-info-card { min-height: 320px; padding: 28px 24px; }
  .about-info-card h3, .contact-info-card h3 { font-size: 28px; }
  .about-info-card p, .director-card summary > span > span,
  .director-card__details p, .contact-info-card p { font-size: 14px; line-height: 1.7; }
  .director-card summary > span > small, .director-card summary b { font-size: 13px; }
  .director-card summary strong { font-size: clamp(24px, 2.4vw, 31px); }
  .director-card summary > span { padding: 28px; }
  .social-links-grid strong { font-size: 13px; }
  .contact-info-card { min-height: 88px; padding: 18px 22px; }
  .contact-info-card small, .contact-info-card__link { font-size: 12px; }
  .cert-tiles { gap: 28px; }
  .cert-tile summary > img { width: min(100%, 210px); }
  .cert-tile summary > strong { font-size: 24px; line-height: 1.2; }
  .cert-tile summary > small { font-size: 13px; }
  .cert-tile__hint { font-size: 12px; }
  .cert-tile__details { padding: 28px; }
  .cert-tile__details > p:not(.eyebrow) { font-size: 15px; }
  .cert-detail-grid > div { padding: 22px; }
  .cert-detail-grid h3 { font-size: 25px; }
  .cert-detail-grid li, .point-clean__benefits p, .point-clean__commitment > p,
  .point-clean__commitment li { font-size: 14px; line-height: 1.7; }
  .point-clean__benefits > div, .point-clean__why, .point-clean__commitment { padding: 30px; }
  .point-clean__benefits h3 { font-size: 16px; }
  .success-case > summary > span { gap: 10px; padding: 48px 22px 22px; }
  .success-case > summary small { font-size: 12px; line-height: 1.5; }
  .success-case > summary strong { font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
  .success-case--enhanced[open] > summary strong { font-size: 16px; }
  .success-case > summary b { font-size: 13px; }
  .success-case[open] { gap: 28px; padding: 26px; }
  .success-case__panel-heading { min-height: 68px; padding: 15px 20px; }
  .success-case__panel-heading p, .case-detail__eyebrow,
  .success-case__information > h3 { font-size: 11px; line-height: 1.5; }
  .success-case__panel-heading h2 { font-size: 25px; }
  .success-case__content { gap: 18px; padding: 22px; }
  .success-case__information { gap: 12px; }
  .success-case__information > p:not(.case-detail__eyebrow),
  .success-case__information > ul, .case-contact-panel dl > div { font-size: 13px; line-height: 1.7; }
  .badge-list .certification-badge { min-height: 32px; padding: 6px 9px; font-size: 11px; line-height: 1.4; }
  .case-contact-panel { padding: 17px 19px; }
}