/* =========================================================
   COOSAMIR SITE — estilos de página
   Importa los tokens locales (colors_and_type.css) — esta carpeta
   es autocontenida y lista para publicar.
   ========================================================= */

@import url('colors_and_type.css');

/* ----------------------------------
   Top utility bar (above nav)
---------------------------------- */
.top-bar {
  background: var(--brand-deep);
  color: var(--fg-on-dark-2);
  font-size: 13px;
  position: relative;
  z-index: 60;
}
.top-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar__left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.top-bar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-on-dark-2); }
.top-bar__item svg { stroke: var(--green-300); width: 15px; height: 15px; }
.top-bar__right { display: flex; align-items: center; gap: 10px; }

.quick-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: transform var(--d-fast) var(--ease-out), background var(--d-fast), box-shadow var(--d-fast);
  text-decoration: none;
}
.quick-btn:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}
.quick-btn img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.quick-btn--wa { background: #25D366; border-color: #25D366; }
.quick-btn--wa:hover { background: #1ebe5d; }

/* ----------------------------------
   Navbar
---------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-1);
  transition: box-shadow var(--d-base) var(--ease-out), background var(--d-base);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-md);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 50px; width: auto; }
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--brand-primary);
  letter-spacing: -0.01em;
}
.nav__logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 2px;
}

.nav__menu { display: flex; gap: 4px; align-items: center; }
.nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-1);
  padding: 10px 14px;
  border-radius: 10px;
  position: relative;
  transition: color var(--d-fast), background var(--d-fast);
  cursor: pointer;
}
.nav__link:hover { color: var(--brand-primary); background: var(--green-50); }
.nav__link.is-active { color: var(--brand-primary); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

.nav__cta {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  border: 0;
  background: var(--brand-primary);
  color: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast), background var(--d-fast);
  text-decoration: none;
}
.nav__cta:hover {
  background: var(--brand-primary-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-1);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__burger svg { stroke: var(--fg-1); }

/* Mobile menu */
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-1);
  padding: 16px 24px;
  box-shadow: var(--shadow-lg);
}
.nav__mobile.is-open { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile .nav__link { padding: 14px 16px; font-size: 16px; }

/* ----------------------------------
   Hero
---------------------------------- */
.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--brand-deep);
}
.hero__slides {
  position: absolute; inset: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(5,51,33,0.92) 0%, rgba(10,89,51,0.78) 45%, rgba(5,51,33,0.5) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 100px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  color: #fff;
}
.hero__content--centered {
  display: block;
  max-width: 860px;
  text-align: left;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-200);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-400);
  box-shadow: 0 0 0 4px rgba(50, 213, 131, 0.25);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(50, 213, 131, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(50, 213, 131, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--green-300);
  font-weight: 400;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin: 0 0 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: var(--r-pill);
  border: 0;
  background: #fff;
  color: var(--brand-primary);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-ghost-light {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background var(--d-fast), border-color var(--d-fast);
  text-decoration: none;
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.hero__emblem {
  position: relative;
  justify-self: center;
}
.hero__emblem-glow {
  position: absolute; inset: -10%;
  background: radial-gradient(circle, rgba(50,213,131,0.35), transparent 60%);
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero__emblem img { width: 380px; max-width: 100%; position: relative; z-index: 2; }

.hero__dots {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.hero__dot {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background var(--d-fast);
}
.hero__dot.is-active { background: var(--green-300); }

/* ----------------------------------
   Stats strip
---------------------------------- */
.stats {
  background: #fff;
  border-radius: var(--r-2xl);
  margin: -60px auto 0;
  max-width: var(--container);
  padding: 36px 48px;
  box-shadow: var(--shadow-xl);
  position: relative; z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat__num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.stat__divider {
  position: relative;
}
.stat__divider:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--border-1);
}

/* ----------------------------------
   Sección "Quiénes somos" (Nosotros)
   Grid de 2 columnas: texto + foto. Antes el grid estaba inline
   en el HTML (1fr 1fr) y NUNCA colapsaba en móvil — ahora vive
   aquí y se vuelve 1 columna en pantallas pequeñas.
---------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Columna de la foto */
.about-media {
  position: relative;
}
/* Resplandor decorativo detrás de la foto */
.about-media__glow {
  position: absolute;
  inset: -20px -20px -20px 20px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--r-2xl);
  transform: rotate(2deg);
  opacity: .12;
  z-index: 0;
}
.about-media__img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  z-index: 1;
}
/* Badge "1951" superpuesto en la esquina inferior */
.about-media__badge {
  position: absolute;
  left: -24px;
  bottom: 32px;
  background: #fff;
  border-radius: var(--r-xl);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.about-media__badge img { height: 48px; }
.about-media__badge-year {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1;
}
.about-media__badge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 2px;
}

/* ----------------------------------
   Misión / Visión cards
---------------------------------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mv-card {
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base), border-color var(--d-base);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
  background: #fff;
}
.mv-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.mv-card__icon svg { stroke: #fff; }
.mv-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--fg-1);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.mv-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* ----------------------------------
   Certificación band (ICONTEC prominent)
---------------------------------- */
.cert-band {
  max-width: var(--container);
  margin: 72px auto 0;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 36px 44px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cert-band__main {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  min-width: 320px;
}
.cert-band__logos {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}
.cert-band__logo {
  height: 180px;
  flex-shrink: 0;
  background: var(--green-50);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
}
.cert-band__logo--icontec { width: 150px; }
.cert-band__logo--iqnet { width: 180px; }
.cert-band__logo img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 640px) {
  .cert-band__logos { gap: 16px; }
  .cert-band__logo { height: 140px; }
  .cert-band__logo--icontec { width: 118px; }
  .cert-band__logo--iqnet { width: 140px; }
}
.cert-band__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 8px;
}
.cert-band__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  color: var(--fg-1);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.cert-band__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 460px;
}
.cert-band__divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-1);
}
.cert-band__side {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cert-band__side-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-primary);
}
.cert-band__side-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.cert-band__side-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-1);
}

/* ----------------------------------
   Galería — tabbed carousels
---------------------------------- */
.gal__tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.gal__tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--fg-2);
  border: 1px solid var(--border-1);
  cursor: pointer;
  transition: all var(--d-fast);
}
.gal__tab svg { stroke: currentColor; }
.gal__tab:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.gal__tab.is-active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-green);
}

.gal__album {
  display: none;
  position: relative;
  align-items: center;
}
.gal__album.is-active {
  display: flex;
  animation: galFade var(--d-base) var(--ease-out);
}
@keyframes galFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.gal__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--green-300) transparent;
}
.gal__track::-webkit-scrollbar { height: 8px; }
.gal__track::-webkit-scrollbar-track { background: var(--bg-3); border-radius: 999px; }
.gal__track::-webkit-scrollbar-thumb { background: var(--green-300); border-radius: 999px; }
.gal__slide {
  flex: 0 0 auto;
  width: clamp(260px, 32%, 380px);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.gal__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.gal__slide:hover img { transform: scale(1.06); }
.gal__nav {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-1);
  background: #fff;
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--d-fast), background var(--d-fast), color var(--d-fast);
  z-index: 2;
}
.gal__nav:hover { background: var(--brand-primary); color: #fff; transform: scale(1.06); }
.gal__nav--prev { margin-right: 8px; }
.gal__nav--next { margin-left: 8px; }

/* ----------------------------------
   Servicios page
---------------------------------- */
.srv-jumpnav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.srv-jump {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  transition: background var(--d-fast), transform var(--d-fast);
}
.srv-jump:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }

.srv-head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.srv-head--reverse .srv-head__media { order: 2; }
.srv-head__media {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.srv-head__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.srv-head__num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 600;
  color: var(--green-200);
  line-height: 1;
  margin-bottom: 8px;
}
.srv-head__desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 16px;
}

.srv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.srv-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base), border-color var(--d-base);
  text-decoration: none;
  color: inherit;
}
.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}
.srv-card__logo {
  width: 96px; height: 96px;
  border-radius: var(--r-lg);
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.srv-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.srv-card__badge {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--brand-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.srv-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--fg-1);
  margin: 0;
}
.srv-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
}
.srv-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--brand-primary);
  transition: gap var(--d-fast);
}
.srv-card:hover .srv-card__link { gap: 12px; }
.srv-card__tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--green-50);
  color: var(--brand-primary);
}

.srv-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.srv-mini {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base);
}
.srv-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.srv-mini__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--green-50);
  color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.srv-mini__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg-1);
  margin: 0 0 8px;
}
.srv-mini__text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* ----------------------------------
   Section primitives
---------------------------------- */
.section {
  padding: 120px 24px;
}
.section--tinted { background: var(--bg-2); }
.section--dark {
  background: linear-gradient(160deg, var(--brand-deep), var(--brand-primary));
  color: #fff;
}
.section__inner { max-width: var(--container); margin: 0 auto; }

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section__eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 12px;
}
.section--dark .section__eyebrow { color: var(--green-300); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 0 0 18px;
}
.section--dark .section__title { color: #fff; }
.section__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.78); }

/* ----------------------------------
   Servicios cards
---------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 32px;
  overflow: hidden;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base), border-color var(--d-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}
.service__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background var(--d-base);
}
.service:hover .service__icon { background: var(--brand-primary); }
.service:hover .service__icon svg { stroke: #fff; }
.service__icon svg { stroke: var(--brand-primary); width: 26px; height: 26px; transition: stroke var(--d-base); }
.service__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--fg-1);
  margin: 0 0 8px;
}
.service__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 20px;
}
.service__arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  transition: gap var(--d-fast);
}
.service:hover .service__arrow { gap: 12px; }

/* ----------------------------------
   Directivos
---------------------------------- */
.directivos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.directivo {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base);
}
.directivo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.directivo__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--green-100), var(--brand-primary));
}
.directivo__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
.directivo:hover .directivo__photo img { transform: scale(1.05); }
.directivo__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,51,33,0.5));
  pointer-events: none;
}
.directivo__info { padding: 20px 22px 24px; }
.directivo__role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 6px;
}
.directivo__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--fg-1);
  margin: 0;
}
.directivo__title {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 4px;
}

/* ----------------------------------
   Asociadas section
---------------------------------- */
.assoc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.assoc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 36px;
  text-align: left;
  transition: transform var(--d-base) var(--ease-out), background var(--d-base), border-color var(--d-base);
  backdrop-filter: blur(10px);
}
.assoc-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}
.assoc-card__logo {
  width: 90px; height: 90px;
  border-radius: 20px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  margin-bottom: 22px;
}
.assoc-card__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.assoc-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.assoc-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  margin: 0 0 20px;
}
.assoc-card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-300);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ----------------------------------
   Galería
---------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__item:nth-child(7) { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,51,33,0.4));
  opacity: 0;
  transition: opacity var(--d-base);
}
.gallery__item:hover::after { opacity: 1; }

/* ----------------------------------
   Notificaciones / Documentos teaser
---------------------------------- */
.docs-teaser {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.docs-teaser__list {
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-1);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.doc-row {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-1);
  transition: background var(--d-fast);
  text-decoration: none;
  color: inherit;
}
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: var(--green-50); }
.doc-row__ext {
  width: 40px; height: 46px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}
.doc-row__ext.pdf { background: var(--doc-pdf); }
.doc-row__ext.doc { background: var(--doc-word); }
.doc-row__ext.xls { background: var(--doc-excel); }
.doc-row__main { flex: 1; min-width: 0; }
.doc-row__title {
  font-weight: 700; font-size: 15px;
  color: var(--fg-1);
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.doc-row__meta {
  font-size: 12px;
  color: var(--fg-3);
}
.doc-row__action {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--d-fast), transform var(--d-fast);
}
.doc-row:hover .doc-row__action {
  background: var(--brand-primary);
  transform: translateY(-2px);
}
.doc-row:hover .doc-row__action svg { stroke: #fff; }
.doc-row__action svg { stroke: var(--brand-primary); transition: stroke var(--d-fast); }

/* ----------------------------------
   Contacto
---------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact__card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact__field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 18px;
}
.contact__label {
  font-size: 12px; font-weight: 700;
  color: var(--fg-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact__input, .contact__textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-1);
  background: #fff;
  color: var(--fg-1);
  outline: none;
  transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.contact__input:focus, .contact__textarea:focus {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-glow);
}
.contact__textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info__row {
  display: flex; gap: 16px; align-items: flex-start;
}
.contact-info__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-50);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info__icon svg { stroke: var(--brand-primary); }
.contact-info__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 4px;
}
.contact-info__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-1);
  line-height: 1.4;
}

/* ----------------------------------
   Footer
---------------------------------- */
.footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.82);
  padding: 80px 24px 24px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer__logo img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #fff;
}
.footer__about {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
  max-width: 320px;
}
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background var(--d-fast), transform var(--d-fast);
}
.footer__social:hover { background: var(--brand-accent); transform: translateY(-2px); border-color: var(--brand-accent); }
.footer__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__list a {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: color var(--d-fast);
}
.footer__list a:hover { color: #fff; }
.footer__bottom {
  max-width: var(--container);
  margin: 24px auto 0;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  flex-wrap: wrap;
}

/* ----------------------------------
   Reveal animations
---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ----------------------------------
   Floating WhatsApp
---------------------------------- */
.fab-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  animation: pulse-wa 3s ease-out infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 18px 40px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 18px 40px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ----------------------------------
   Loader
---------------------------------- */
.loader {
  position: fixed; inset: 0;
  background: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 600ms var(--ease-out), visibility 600ms;
  /* Respaldo SOLO-CSS: aunque el JavaScript falle o no cargue, el
     loader se desvanece solo a los 3.5s y nunca atrapa al usuario.
     El JS lo oculta antes (apenas el DOM está listo) vía .is-hidden. */
  animation: loaderAutoHide 600ms var(--ease-out) 3500ms forwards;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderAutoHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader__logo {
  width: 100px; height: 100px;
  animation: spin 2s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ----------------------------------
   Document & Normatividad pages
---------------------------------- */
.page-hero {
  background: linear-gradient(160deg, var(--brand-deep), var(--brand-primary));
  color: #fff;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(50,213,131,0.18), transparent 70%);
  filter: blur(40px);
}
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative; z-index: 2;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { color: rgba(255,255,255,0.4); }

.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 16px;
}
.page-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
  margin: 0 0 36px;
}

.search-row {
  background: rgba(255,255,255,0.96);
  border-radius: var(--r-xl);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  box-shadow: var(--shadow-xl);
}
.search-row svg { stroke: var(--fg-2); flex-shrink: 0; }
.search-row input {
  border: 0; outline: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  flex: 1;
  background: transparent;
  color: var(--fg-1);
}

.docs-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.docs-categories {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cat-chip {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--fg-2);
  border: 1px solid var(--border-1);
  cursor: pointer;
  transition: all var(--d-fast);
  display: inline-flex; align-items: center; gap: 8px;
}
.cat-chip:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.cat-chip.is-active { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.cat-chip__count {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(0,0,0,0.06);
  padding: 2px 7px; border-radius: 999px;
}
.cat-chip.is-active .cat-chip__count { background: rgba(255,255,255,0.18); }

.sort-select {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--border-1);
  cursor: pointer;
  color: var(--fg-2);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base), border-color var(--d-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
}
.doc-card__head {
  display: flex; align-items: center; justify-content: space-between;
}
.doc-card__ext {
  width: 48px; height: 54px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #fff;
  position: relative;
}
.doc-card__ext.pdf { background: var(--doc-pdf); }
.doc-card__ext.doc { background: var(--doc-word); }
.doc-card__ext.xls { background: var(--doc-excel); }
.doc-card__ext::before {
  content: ''; position: absolute;
  top: 0; right: 0;
  width: 14px; height: 14px;
  background: rgba(255,255,255,0.3);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.doc-card__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  padding: 4px 10px;
  background: var(--green-50);
  border-radius: 999px;
}
.doc-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
}
.doc-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
  flex: 1;
}
.doc-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
}
.doc-card__date {
  font-size: 12px;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 6px;
}
.doc-card__download {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
}

/* ----------------------------------
   Normatividad list
---------------------------------- */
.norm-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.norm-group {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.norm-group__head {
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-2));
  color: #fff;
  display: flex; align-items: center; gap: 16px;
}
.norm-group__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.norm-group__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  margin: 0;
  letter-spacing: -0.01em;
}
.norm-group__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 999px;
}
.norm-group__items {
  padding: 8px 0;
}
.norm-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border-1);
  transition: background var(--d-fast);
  text-decoration: none; color: inherit;
}
.norm-item:last-child { border-bottom: 0; }
.norm-item:hover { background: var(--bg-2); }
.norm-item__ext {
  width: 36px; height: 42px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 10px;
  color: #fff;
  background: var(--doc-pdf);
  flex-shrink: 0;
}
.norm-item__main { flex: 1; min-width: 0; }
.norm-item__title {
  font-weight: 700; font-size: 16px;
  color: var(--fg-1);
  margin: 0 0 4px;
}
.norm-item__meta {
  font-size: 12px;
  color: var(--fg-3);
  display: flex; gap: 12px; flex-wrap: wrap;
}
.norm-item__btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform var(--d-fast), background var(--d-fast);
}
.norm-item:hover .norm-item__btn { background: var(--brand-accent); }

/* ----------------------------------
   Responsive
---------------------------------- */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; padding: 80px 24px 80px; }
  .hero__emblem { display: none; }
  /* Nosotros: una sola columna, la foto debajo del texto */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat__divider:nth-child(2n)::after { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .directivos { grid-template-columns: repeat(2, 1fr); }
  .assoc { grid-template-columns: 1fr; }
  .docs-teaser { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cert-band__divider { display: none; }
  .cert-band { gap: 28px; }
  .srv-head { grid-template-columns: 1fr; gap: 32px; }
  .srv-head--reverse .srv-head__media { order: 0; }
  .srv-mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 80px 20px; }
  .top-bar__inner { padding: 8px 16px; gap: 10px; }
  .top-bar__left { gap: 12px; font-size: 12px; }
  .top-bar__item:nth-child(2) { display: none; }
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .stats { grid-template-columns: 1fr 1fr; padding: 24px; gap: 18px; }
  .stat__num { font-size: 32px; }
  .services, .directivos { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  /* Nosotros en móvil: el resplandor y el badge se ajustan para
     no salirse de la pantalla. El badge queda dentro de la foto. */
  .about-media__glow { inset: -12px -12px -12px 12px; }
  .about-media__badge { left: 12px; bottom: 12px; padding: 14px 18px; gap: 10px; }
  .about-media__badge img { height: 38px; }
  .about-media__badge-year { font-size: 20px; }
  .cert-band { padding: 28px; flex-direction: column; align-items: flex-start; }
  .cert-band__main { flex-direction: column; text-align: left; align-items: flex-start; gap: 18px; min-width: 0; }
  /* Logos de certificaci\u00f3n: en m\u00f3vil se mantienen grandes y visibles,
     centrados y conservando su proporci\u00f3n (sin cuadrarlos). */
  .cert-band__logos { width: 100%; justify-content: center; }
  .cert-band__logo { height: 130px; }
  .cert-band__logo--icontec { width: 110px; }
  .cert-band__logo--iqnet { width: 130px; }
  .srv-cards { grid-template-columns: 1fr; }
  .srv-mini-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(4), .gallery__item:nth-child(7) { grid-column: span 1; grid-row: span 1; }
  .gal__slide { width: 78%; }
  .gal__nav { width: 40px; height: 40px; }
  .footer__inner { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-toolbar { flex-direction: column; align-items: stretch; }
}
