/*
 * Main Stylesheet — DSR Personal Theme (Edición Artefact Executive & Invisible Grid)
 * Diseño editorial limpio, cuadrícula abierta sin cajas pesadas, tipografía azul marino (#111A31) y estética de consultora global.
 */

:root {
  /* Lienzos y Fondos */
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-dark: #111A31;

  /* Bordes Suaves y Estructura */
  --border-light: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: #111A31;

  /* Tipografía y Textos */
  --text-main: #111A31;        /* Azul marino profundo corporativo */
  --text-body: #475569;        /* Slate para párrafos de lectura con alto contraste */
  --text-muted: #64748B;       /* Etiquetas, metadatos y fechas */

  /* Acentos de Marca Refinados */
  --accent-blue: #1D4ED8;      /* Azul institucional para líneas de acento */
  --accent-sky: #3B82F6;
  --accent-green: #10B981;

  /* Sombras y Radios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-subtle: 0 4px 20px rgba(17, 26, 49, 0.06);
  --shadow-hover: 0 12px 32px rgba(17, 26, 49, 0.12);

  /* Familias Tipográficas */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Ancho de Contenedor */
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

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

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

.mono {
  font-family: var(--font-mono);
}

.highlight-cyan,
.highlight-accent {
  color: var(--accent-blue);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-dot--blue {
  background-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* ==========================================================================
   1. TOP TELEMETRY BAR
   ========================================================================== */
.top-telemetry {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 0;
}

.top-telemetry__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-telemetry__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-telemetry__item--status {
  color: var(--text-main);
  margin-left: auto;
}

.top-telemetry__divider {
  color: var(--border-light);
}

/* ==========================================================================
   2. SITE HEADER & NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__brand img,
.site-header__brand .custom-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.site-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav__menu a {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a {
  color: var(--text-main);
  background: var(--bg-surface);
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.site-header__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================================
   3. BOTONES MODERNOS & PILLS
   ========================================================================== */
.btn-brutalist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-brutalist--primary {
  background: var(--text-main);
  color: #FFFFFF;
  border: 1px solid var(--text-main);
  box-shadow: var(--shadow-subtle);
}

.btn-brutalist--primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-brutalist--outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-medium);
}

.btn-brutalist--outline:hover {
  background: var(--bg-surface);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

.btn-brutalist--ghost {
  background: #FFFFFF;
  color: var(--accent-blue);
  border: 1px solid var(--border-medium);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
}

.btn-brutalist--ghost:hover {
  background: var(--accent-blue);
  color: #FFFFFF;
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   4. HERO EJECUTIVO
   ========================================================================== */
.hero-executive {
  padding: 100px 0 90px;
  background: radial-gradient(circle at 90% 10%, rgba(29, 78, 216, 0.04), transparent 50%), var(--bg-main);
  border-bottom: 1px solid var(--border-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 24px;
  max-width: 1080px;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.75;
  color: var(--text-body);
  max-width: 840px;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. SECCIÓN HEADERS ESTILO ARTEFACT
   ========================================================================== */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-light);
}

.section--surface {
  background: var(--bg-surface);
}

.section--dark {
  background: var(--bg-main);
}

.section-header-brutalist {
  margin-bottom: 56px;
}

.section-header-brutalist--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-index {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-heading-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-sky));
  border-radius: var(--radius-pill);
}

.section-header-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ==========================================================================
   6. CAPACIDADES CORE (INVISIBLE GRID — ARTEFACT STYLE)
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.cap-card {
  background: transparent;
  border: none;
  border-radius: 0px;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: transform 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-4px);
}

.cap-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
}

.cap-card__index {
  color: var(--accent-blue);
  background: rgba(29, 78, 216, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
}

.cap-card__tag {
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.cap-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin: 0 0 16px;
}

.cap-card__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0 0 24px;
  flex-grow: 1;
}

.cap-card__stack {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   7. BLOQUE DE AFILIACIÓN (ARTEFACT)
   ========================================================================== */
.section--partner {
  background: var(--bg-surface);
  padding: 70px 0;
}

.partner-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 48px 52px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease;
}

.partner-box:hover {
  box-shadow: var(--shadow-hover);
}

.partner-box__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.partner-box__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.partner-box__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.partner-box__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   8. CASOS & PROYECTOS (INVISIBLE GRID + IMAGE FOCUS)
   ========================================================================== */
.project-filters-brutalist {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn-mono {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #FFFFFF;
  color: var(--text-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn-mono:hover,
.filter-btn-mono.is-active {
  background: var(--text-main);
  color: #FFFFFF;
  border-color: var(--text-main);
  box-shadow: var(--shadow-subtle);
}

.projects-grid-brutalist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.project-card-brutalist {
  background: transparent;
  border: none;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: transform 0.25s ease;
}

.project-card-brutalist.is-hidden {
  display: none !important;
}

.project-card-brutalist:hover {
  transform: translateY(-6px);
}

.project-card-brutalist__thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
}

.project-card-brutalist__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card-brutalist:hover .project-card-brutalist__thumb img {
  transform: scale(1.05);
}

.project-card-brutalist__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-card-brutalist__body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-brutalist__category {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.project-card-brutalist__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.project-card-brutalist__title a {
  color: var(--text-main);
  transition: color 0.2s ease;
}

.project-card-brutalist__title a:hover {
  color: var(--accent-blue);
}

.project-card-brutalist__excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 20px;
  flex-grow: 1;
}

.project-card-brutalist__excerpt p {
  margin: 0;
}

.btn-link-mono {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  transition: all 0.2s ease;
}

.btn-link-mono:hover {
  background: var(--text-main);
  color: #FFFFFF;
  border-color: var(--text-main);
}

.empty-state-brutalist {
  grid-column: 1 / -1;
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
}

/* ==========================================================================
   9. SOBRE MÍ & TIMELINE
   ========================================================================== */
.about-split-brutalist {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin: 0 0 20px;
}

.stack-box-brutalist {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 36px;
}

.stack-box-brutalist__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.stack-tags-mono {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tags-mono span {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
}

.timeline-brutalist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-brutalist__item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-brutalist__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.timeline-brutalist__marker {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.timeline-brutalist__tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.timeline-brutalist__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
}

.timeline-brutalist__desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   10. CONTACTO & FORMULARIO
   ========================================================================== */
.section--contact {
  background: var(--bg-surface);
}

.contact-card-brutalist {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 64px 56px;
  box-shadow: var(--shadow-hover);
}

.contact-card-brutalist__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.contact-card-brutalist__lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 780px;
  margin: 0 0 44px;
}

/* CF7 Inputs */
.wpcf7-form p {
  margin: 0 0 24px;
}

.wpcf7-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.wpcf7-form input[type="submit"] {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--text-main);
  color: #FFFFFF;
  border: 1px solid var(--text-main);
  border-radius: var(--radius-pill);
  padding: 16px 36px;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.contact-fallback-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 28px;
  font-size: 0.95rem;
}

/* ==========================================================================
   11. BLOG & SINGLE PAGES
   ========================================================================== */
.blog-page,
.generic-page,
.single-post-page {
  padding: 80px 0;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.post-card {
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.post-card__image-link {
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card__image {
  transform: scale(1.05);
}

.post-card__content {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card__terms {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 0 0 8px;
}

.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.post-card__title a {
  color: var(--text-main);
}

.post-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 20px;
  flex-grow: 1;
}

.post-card__link {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  width: fit-content;
}

.generic-entry,
.single-entry {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  padding: 56px;
}

.generic-entry__title,
.single-entry__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 24px;
}

.single-entry__meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-body);
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-heading);
  color: var(--text-main);
  text-transform: uppercase;
  margin-top: 40px;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 0;
  gap: 36px;
  flex-wrap: wrap;
}

.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.site-footer__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 6px 0 0;
}

.site-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__menu a,
.site-footer__nav a {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-body);
  transition: color 0.2s ease;
}

.site-footer__menu a:hover,
.site-footer__nav a:hover {
  color: var(--accent-blue);
}

.site-footer__bottom {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   13. ANIMACIONES DE REVELADO (REVEAL UP)
   ========================================================================== */
.js .reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   14. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 980px) {
  .capabilities-grid,
  .projects-grid-brutalist,
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-split-brutalist {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .partner-box__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-header__toggle {
    display: flex;
  }

  .site-header__navwrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
    box-shadow: var(--shadow-hover);
  }

  body.menu-open .site-header__navwrap {
    display: block;
  }

  .site-nav__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .site-container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 70px 0;
  }

  .hero-executive {
    padding: 70px 0 60px;
  }

  .partner-box,
  .contact-card-brutalist,
  .generic-entry,
  .single-entry {
    padding: 32px 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-brutalist {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
