/* Inter, variable — un solo archivo cubre todos los pesos (100-900) */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.woff2') format('woff2-variations'),
       url('assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   Alter Collective — hoja de estilos compartida
   Un solo archivo CSS para todo el sitio: cualquier cambio
   de color, tipografía o espaciado aquí se refleja en TODAS
   las páginas que lo importan.
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-alt: #121212;
  --bg-card: #1a1a1a;
  --fg: #f5f3ee;
  --muted: #a3a3a0;
  --border: rgba(245, 243, 238, 0.12);

  --accent-green: #05E455;
  --accent-gold: #eab308;
  --accent-orange: #f97316;
  --accent-red: #b91c1c;

  /* Degradados de marca, tomados de la press de credenciales */
  --grad-gold: linear-gradient(135deg, #F2C230 0%, #A66A00 100%);
  --grad-green: linear-gradient(135deg, #00A85E 0%, #003D14 100%);
  --grad-orange: linear-gradient(135deg, #EC9517 0%, #6B3A12 100%);

  /* Gradiente de TEXTO (no de panel) para la tagline, tal como en la press */
  --text-grad-green: linear-gradient(90deg, #05E455 0%, #C8FCE8 100%);

  --font-display: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
}

/* La tagline de portada es la excepción: va en formato normal, como en la press, y con menos peso (no bold) */
.hero-tagline {
  text-transform: none;
  letter-spacing: -0.02em;
  font-weight: 400;
}

p { margin: 0 0 1em 0; color: var(--muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--accent-green);
  color: #06210f !important;
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--fg);
}

.btn:hover { transform: translateY(-2px); opacity: 0.92; }


/* ---------- Texto con degradado (títulos de unidad, como en la press) ---------- */
.grad-text {
  background-image: var(--title-grad, var(--text-grad-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Logo (texto real, no imagen) ---------- */
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Header / navegación ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 240px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.06); }

.nav-cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 26px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 24px 20px;
}
.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-nav.open { display: flex; }

@media (max-width: 860px) {
  nav.nav-links { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 3rem 3rem;
  min-height: 50rem;
  background: #0a0a0a;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero.hero-home {
  background-image:
    linear-gradient(100deg, rgba(6,10,8,0.94) 0%, rgba(6,10,8,0.55) 45%, rgba(6,10,8,0.85) 100%),
    url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 35%;
}

.hero-gradient-blob {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(5,228,85,0.35), transparent 60%),
    radial-gradient(55% 55% at 85% 30%, rgba(242,194,48,0.28), transparent 60%),
    radial-gradient(60% 60% at 75% 85%, rgba(107,58,18,0.35), transparent 60%);
  filter: blur(40px);
}

.hero.hero-home .hero-gradient-blob { opacity: 0.55; mix-blend-mode: screen; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  max-width: 900px;
}

.hero .lede {
  font-size: 19px;
  max-width: 560px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* Variante de hero para páginas de servicio: mismo 100vh, título más compacto */
.hero.hero-service h1 { font-size: clamp(34px, 5vw, 56px); }

.unit-logo {
  height: 6rem;
  width: 100%;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

/* ---------- Secciones genéricas ---------- */
section { padding: 90px 0; }
section.alt { background: var(--bg-alt); }
section.cta-wrap { padding: 0; background: none; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }

/* ---------- Grid de servicios (home) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  display: block;
  background: var(--grad-green);
  border: none;
  border-radius: 20px;
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.service-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.service-card.card-gold { background: var(--grad-gold); }
.service-card.card-green { background: var(--grad-green); }
.service-card.card-orange { background: var(--grad-orange); }

/* Variante de alto contraste: para unidades cuyo logo (dorado/naranja)
   se perdía sobre un fondo del mismo color. Fondo neutro + borde de
   acento en vez de degradado del mismo tono que el logo. */
.service-card.card-neutral { background: var(--bg-card); border: 1px solid var(--border); }
.service-card.card-accent-gold { border-color: rgba(234, 179, 8, 0.4); box-shadow: 0 12px 30px rgba(234, 179, 8, 0.10); }
.service-card.card-accent-orange { border-color: rgba(249, 115, 22, 0.4); box-shadow: 0 12px 30px rgba(249, 115, 22, 0.10); }

/* Todas las tarjetas del home: logo + texto centrados dentro de la tarjeta */
#unidades .service-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#unidades .service-card .card-logo { margin: 0 0 18px; }
#unidades .service-card p { text-align: center; }

/* Tarjetas verticales (grid de #unidades), como en la presentación de credenciales */
#unidades .service-card.card-vertical {
  aspect-ratio: 3 / 4;
  padding: 40px 24px;
}
#unidades .service-card.card-vertical .card-logo { margin: 0 0 22px; }
.service-card .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  display: block;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.service-card p { font-size: 14px; margin: 0; color: rgba(255,255,255,0.85); }
.service-card .card-logo { height: 68px; width: auto; max-width: 100%; margin-bottom: 14px; display: block; object-fit: contain; }
#related-units .service-card { display: flex; align-items: center; justify-content: center; min-height: 110px; }
#related-units .service-card .card-logo { margin-bottom: 0; height: 68px; }

/* ---------- Carrusel de unidades (home) ---------- */
.carousel {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  margin-top: 28px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.05) 100%);
}
.carousel-content {
  position: relative;
  z-index: 2;
  padding: 48px 56px;
  max-width: 560px;
}
.carousel-content .eyebrow { color: #fff; opacity: 0.8; }
.carousel-logo {
  height: 6rem;
  width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45));
}
.carousel-content p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
  font-size: 15px;
  max-width: 460px;
}
.btn-carousel {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 13px;
  padding: 13px 26px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0a;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-carousel:hover { transform: translateY(-2px); opacity: 0.9; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.carousel-arrow:hover { background: rgba(10,10,10,0.8); }
.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }
.carousel-dots {
  position: absolute;
  bottom: 22px;
  right: 32px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.carousel-dots button.active { background: #fff; }
@media (max-width: 760px) {
  .carousel { height: 460px; }
  .carousel-content { padding: 32px 24px; }
}

/* ---------- Bloques de categorías (páginas de servicio) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--title-grad, var(--grad-green));
  border: none;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.category-card h3 {
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: #fff;
}

.category-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-card li {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  padding-left: 18px;
  position: relative;
}

.category-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

/* ---------- Categorías con imagen + lista de íconos (páginas de servicio) ---------- */
.feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-media {
  flex: 0 0 42%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
}
.feature-media img.feature-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-media.feature-media-grad {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.feature-media-logo {
  width: 68%;
  max-height: 45%;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.feature-content { flex: 1 1 auto; min-width: 0; }
.feature-content h3 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin-bottom: 22px;
}
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.icon-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.icon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}
.icon-list .icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: var(--accent-green);
}
@media (max-width: 760px) {
  .feature-row, .feature-row.reverse {
    flex-direction: column;
    gap: 28px;
    padding: 36px 0;
  }
  .feature-media { flex-basis: auto; width: 100%; }
  .icon-list.two-col { grid-template-columns: 1fr; }
}

/* ---------- Bento de datos y argumentos (home) ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: 20px;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.bento-card h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  margin-bottom: 14px;
}
.bento-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.bento-card .bento-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-green);
}
.bento-fact { justify-content: space-between; }
.bento-fact .eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bento-fact .arrow-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--fg);
}
.bento-fact .fact-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  margin: 24px 0 14px;
}
.bento-fact .fact-number sup {
  font-size: 0.4em;
  font-weight: 700;
  vertical-align: super;
}
.bento-image {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 260px;
  grid-row: span 1;
}
.bento-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.bento-image .bento-image-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 28px;
  color: #fff;
}
.bento-image .bento-image-content h3 { color: #fff; }
.bento-image .bento-image-content .bento-link { color: var(--accent-green); }
.bento-process { grid-column: span 2; }
.bento-process-inner {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.bento-process-text { flex: 1 1 260px; }
.bento-process .roadmap { flex: 1 1 320px; padding-top: 20px; }
.bento-process .roadmap-step .node { width: 44px; height: 44px; font-size: 13px; }
.bento-process .roadmap-step h3 { font-size: 13px; margin: 0; }
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-image { grid-column: span 2; }
  .bento-process { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-image, .bento-process { grid-column: span 1; }
  .bento-process-inner { flex-direction: column; align-items: stretch; }
}

/* ---------- Animación al hacer scroll (Unidades de Negocio) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Grid de logos (ecosistema, La Agencia) ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 16px;
  min-height: 120px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.logo-grid a:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.3); }
.logo-grid img { height: 56px; width: auto; max-width: 100%; object-fit: contain; display: block; }
@media (max-width: 900px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Roadmap / proceso (Cómo trabajamos) ---------- */
.roadmap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  gap: 12px;
  padding-top: 8px;
}
.roadmap::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.roadmap-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 14px;
}
.roadmap-step .node {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-green);
}
.roadmap-step:nth-child(2) .node { border-color: var(--accent-gold); color: var(--accent-gold); }
.roadmap-step:nth-child(3) .node { border-color: var(--accent-orange); color: var(--accent-orange); }
.roadmap-step:nth-child(4) .node { border-color: var(--accent-green); color: var(--accent-green); }
.roadmap-step h3 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0;
}
@media (max-width: 700px) {
  .roadmap { flex-direction: column; align-items: flex-start; gap: 28px; }
  .roadmap::before { display: none; }
  .roadmap-step { flex-direction: row; text-align: left; }
}

/* ---------- Franja de logos / clientes ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  opacity: 0.85;
}
.logo-strip span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- CTA final ---------- */
.cta-band {
  position: relative;
  background-image:url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  padding: 8rem;
  aspect-ratio: 1800 / 688;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
}
@media (max-width: 760px) {
  .cta-band { padding: 4rem 2rem; aspect-ratio: auto; min-height: 400px; }
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.69);
  z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); color: #ffffff; }
.cta-band .btn { margin-top: 16px; }

/* ---------- Testimoniales: espacios reservados, sin contenido de relleno ---------- */
.testimonial-slot {
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  justify-content: center;
  color: var(--muted);
}
.testimonial-slot .quote-mark { font-size: 32px; color: var(--accent-green); opacity: 0.5; line-height: 1; }
.testimonial-slot p { font-size: 14px; line-height: 1.6; margin: 0; }

/* Tarjetas de muestra — contenido de ejemplo, marcado como tal, mientras llegan los testimonios reales */
.testimonial-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
}
.testimonial-card .quote-mark { font-size: 32px; color: var(--accent-green); opacity: 0.6; line-height: 1; }
.testimonial-card p.quote { font-size: 14px; line-height: 1.6; margin: 0; color: var(--fg); flex: 1; }
.testimonial-card .testimonial-author { font-size: 13px; color: var(--muted); }
.testimonial-card .testimonial-author strong { color: var(--fg); display: block; font-size: 14px; }
.testimonial-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 24px 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.footer-watermark {
  display: block;
  width: 90%;
  max-width: 1400px;
  margin: 40px auto 0;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p { display: block; font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--fg);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.footer-social-link:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
}

/* ---------- Galería de imágenes ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* ---------- Bloque de video / reel ---------- */
.video-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  cursor: pointer;
}
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: #0a0a0a;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------- Manifiesto ---------- */
.manifesto p {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--fg);
  line-height: 1.5;
  font-weight: 500;
}

/* ---------- Unidades relacionadas (páginas de servicio) ---------- */
#related-units .services-grid { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { #related-units .services-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Logos de unidad en el footer ---------- */
.footer-logo-link {
  display: block;
  margin-bottom: 12px;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.footer-logo-link:hover { opacity: 1; }
.footer-logo-link img {
  height: 20px;
  width: auto;
  object-fit: contain;
}
