/*
Theme Name:  Conexa Capital Central
Theme URI:   https://conexacapitalcentral.com
Author:      Conexa Capital Central
Description: Tema corporativo ultra limpio y minimalista. Mobile-first, sin frameworks pesados.
Version:     2.0.0
Requires at least: 6.0
Requires PHP: 8.0
License:     Proprietary
Text Domain: conexa
*/

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --navy: #1B2A4A;
  --navy-dark: #0F1E36;
  --navy-mid: #243659;
  --gold: #C9A84C;
  --gold-lt: #DFC070;
  --gold-dk: #A8893A;
  --silver: #8A8A9A;
  --white: #FFFFFF;
  --off: #F7F7F9;
  --ink: #1A1A2E;
  --muted: #5A5A72;
  --border: #E4E4EE;
  --border-dk: rgba(255, 255, 255, 0.08);

  --f-sans: 'Montserrat', sans-serif;
  --f-serif: 'Cormorant Garamond', serif;

  --r: 6px;
  --r-lg: 14px;
  --r-xl: 24px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1460px;
  --gap: clamp(1.5rem, 4vw, 3rem);
}

/* ── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans), Sans-Serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
      word-break: break-word;
    overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-sans);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

/* ── TIPOGRAFÍA ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow--line::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: 1460px;
  margin-inline: auto;
  padding: 0 60px;
}

.wrap--sm {
  max-width: 800px;
}

.wrap--lg {
  max-width: 1440px;
}

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--sm {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

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

.section--off {
  background: var(--off);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}

/* ── SECTION HEADER ─────────────────────────────────────────── */
.sh {
  margin-bottom: 3rem;
}

.sh--center {
  text-align: center;
}

.sh--center .sh__body {
  margin-inline: auto;
}

.sh .eyebrow {
  margin-bottom: 0.75rem;
}

.sh h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.sh__body {
  max-width: 840px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.sh--dark h2 {
  color: var(--white);
}

.sh--dark .sh__body {
  color: rgba(255, 255, 255, 0.55);
}

/* ── BOTONES ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.75rem;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all 200ms var(--ease);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn--gold:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.28);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  padding: 10px 15px;
}

.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── HEADER ─────────────────────────────────────────────────── */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: background 350ms var(--ease), box-shadow 350ms var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  max-width: 1460px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-text .lg-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1;
}

.logo-text .lg-sub {
  font-size: 0.52rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Nav */
#primary-nav{
  z-index: 1999;
}
#primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

#primary-nav a {
  display: block;
  padding: 0.45rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--r);
  transition: all 180ms;
}

#primary-nav a:hover,

#primary-nav .nav-cta>a {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 0.45rem 1.1rem;
}

#primary-nav .nav-cta>a:hover {
  background: var(--gold-lt);
  color: var(--navy-dark);
}

/* States */
#site-header.is-transparent {
  background: transparent;
}

#site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
}
/* 1. Estado inicial (Normal/Negro) */
#site-header2 {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
    background: rgba(10, 14, 20, 0.85); 
    backdrop-filter: blur(12px) saturate(180%); /* El saturate hace que el blur se vea vivo */
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1); /* Un toque mínimo de dorado en el borde */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  
  animation: header-scroll linear both;
  animation-timeline: scroll();
  animation-range: 0px 60px;
}

@keyframes header-scroll {
  to {
    /* Color de fondo: Deep Navy con transparencia */
    background: rgba(10, 14, 20, 0.85); 
    backdrop-filter: blur(12px) saturate(180%); /* El saturate hace que el blur se vea vivo */
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1); /* Un toque mínimo de dorado en el borde */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}




/* Hamburguesa */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 999999;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 220ms var(--ease);
  transform-origin: center;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media(max-width:1023px) {
  .nav-toggle {
    display: flex;
  }

#primary-nav {
    position: fixed;
    /* En lugar de inset, usamos top y definimos dimensiones totales */
    top: 0; 
    left: 0;
    width: 100%;
    /* Calculamos la altura: 100% de la pantalla menos la altura del header */
    height: calc(100vh); 
    background: var(--navy-dark);
    padding: 2rem clamp(1rem, 4vw, 2.5rem);
    /* Aseguramos que esté por encima de todo */
    z-index: 9999; 
    transform: translateX(100%);
    transition: transform 350ms var(--ease);
    
    /* Scroll interno por si el menú es muy largo */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Suavidad en iOS */
}

#primary-nav.is-open {
    transform: translateX(0);
}

  #primary-nav ul {
    padding-top: 80px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  #primary-nav a {
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
  }

  #primary-nav .nav-cta>a {
    margin-top: 1.5rem;
    text-align: center;
    border-radius: var(--r);
  }
}

/* ── HERO ──────────────────────────────────────────────────────
   Imagen real de fondo — usuario sube desde WP Customizer
   Fallback: gradiente navy
─────────────────────────────────────────────────────────────── */
.hero-hola {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(rgba(13,13,13,.45), rgba(13,13,13,.45)),
    var(--bg-hero-01);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Capa 0: imagen real */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(0.7);
  transform: scale(1.03);
  transition: transform 6s linear;
}

.hero-hola.is-loaded .hero__img {
  transform: scale(1);
}

/* Capa 1: overlay con color brand */
/* Capa 2: grid sutil */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, black 30%, transparent 100%);
}

/* Contenido */
.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
  padding-block: 120px clamp(4rem, 8vw, 6rem);
}

.hero-hola h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-block: 1rem 1.25rem;
}

.hero-hola h1 em {
  font-style: normal;
  color: var(--gold);
  font-family: var(--f-serif);
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Panel de stats */
.hero__stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: all 250ms var(--ease);
}

.stat-glass:hover {
  border-color: rgba(201, 168, 76, 0.25);
  background: rgba(201, 168, 76, 0.05);
}

.stat-glass__num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-glass__label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

@media(max-width:900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    display: none;
  }
}

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}

/* Imagen real con overlay de badge */
.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.about-img-placeholder {
  width: 100%;
  height: 520px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 15px 25px;
  color: var(--white);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-badge span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0rem;
}

.pillar {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  border-left: 3px solid var(--gold);
  transition: all 220ms var(--ease);
}

.pillar:hover {
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

.pillar h4 {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.pillar p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

@media(max-width:768px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .about-img-wrap img,
  .about-img-placeholder {
    height: 300px;
  }
  .hero-hola{
    min-height: 75svh;
    background-position: 60% center;
    background-size: cover;
  }
  .wrap{
    padding: 0 40px;
  }
  .act-home-grid{
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ── EMPRESAS HOME — masonry con imágenes reales ──────────── */
.emp-masonry {
  display: grid;
  /* Creamos 3 columnas iguales */
  grid-template-columns: repeat(3, 1fr);
  /* 'dense' rellena huecos automáticamente si los hay */
  grid-auto-flow: dense;
  gap: 15px;
  /* Ajusta el espacio a tu gusto */
  background: var(--navy-dark);
  border-radius: var(--r-xl);
  /* Quitamos height fijo si lo tuviera */
  height: auto;
}

/* La primera tarjeta ocupa 2 columnas */
.emp-masonry .emp-card:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

/* La tarjeta número 9 también ocupa 2 para cerrar el diseño sin huecos */
.emp-masonry .emp-card:nth-child(9) {
  grid-column: span 2;
}

/* Estilos base para las tarjetas para asegurar que se vean */
.emp-card {
  position: relative;
  min-height: 300px;
  /* Asegura que tengan altura */
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
}

/* Responsive: En tablets 2 columnas, en móvil 1 columna */
@media (max-width: 992px) {
  .emp-masonry {
    grid-template-columns: repeat(2, 1fr);
  }

  .emp-masonry .emp-card:first-child,
  .emp-masonry .emp-card:nth-child(9) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .emp-masonry {
    grid-template-columns: 1fr;
  }
}

.emp-card:first-child {
  aspect-ratio: 16/9;
}

.emp-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.emp-card:hover .emp-card__img {
  transform: scale(1.06);
}

.emp-card__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.emp-card__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.emp-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 30, 0.96) 0%, rgba(10, 16, 30, 0.5) 45%, transparent 100%);
  transition: background 300ms var(--ease);
  z-index: 1;
}

.emp-card:hover .emp-card__overlay {
  background: linear-gradient(to top, rgba(10, 16, 30, 0.98) 0%, rgba(10, 16, 30, 0.72) 55%, rgba(201, 168, 76, 0.06) 100%);
}

.emp-card__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
}

.emp-card__logo {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  max-height: 36px;
  max-width: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 220ms;
}

.emp-card:hover .emp-card__logo {
  opacity: 1;
}

.emp-card__sector {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.emp-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.emp-card__desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-top: 0.4rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease), opacity 300ms;
  opacity: 0;
}

.emp-card:hover .emp-card__desc {
  max-height: 60px;
  opacity: 1;
}

.emp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.75rem;
  transition: gap 180ms;
}

.emp-card:hover .emp-card__link {
  gap: 10px;
}

.emp-card__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease);
  z-index: 3;
}

.emp-card:hover .emp-card__bar {
  transform: scaleX(1);
}

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

  .emp-masonry .emp-card:first-child {
    grid-column: span 2;
  }
}

@media(max-width:540px) {
  .emp-masonry {
    grid-template-columns: 1fr;
  }

  .emp-masonry .emp-card:first-child {
    grid-column: span 1;
  }

  .emp-card,
  .emp-card:first-child {
    aspect-ratio: 1/1;
  }
}

/* ── ACTIVIDADES HOME ───────────────────────────────────────── */
.act-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.act-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all 250ms var(--ease);
}

.act-item:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.08);
  transform: translateY(-2px);
}

.act-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 250ms var(--ease);
}

.act-item:hover .act-icon {
  transform: scale(1.08) rotate(-5deg);
}

.act-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.act-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

@media(max-width:640px) {
  .act-grid {
    grid-template-columns: 1fr;
  }
}

/* ── VACANTES HOME ──────────────────────────────────────────── */
.vac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  transition: all 250ms var(--ease);
}

.vac-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-lt));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 300ms var(--ease);
}

.vac-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.08);
}

.vac-item:hover::before {
  transform: scaleY(1);
}

.vac-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 250ms;
}

.vac-item:hover .vac-icon {
  transform: scale(1.1) rotate(4deg);
}

.vac-empresa {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}

.vac-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.vac-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.vac-tag {
  padding: 2px 9px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--off);
  transition: all 180ms;
}

.vac-item:hover .vac-tag {
  border-color: rgba(201, 168, 76, 0.25);
}

.vac-tag--new {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--gold-dk);
}

@media(max-width:600px) {
  .vac-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── ARCHIVE HERO ───────────────────────────────────────────── */
.arc-hero {
  position: relative;
  background: var(--bg-actividades);
  background-size: cover;
  background-position: center 17%;
  overflow: hidden;
  padding-top: 76px;
  height: 50svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 2rem;
}
.arc-hero2 {
  position: relative;
  background: linear-gradient(rgba(13, 13, 13, 0.15), rgba(13, 13, 13, 0.15)),
    var(--bg-hero-02);
  background-size: cover;
  background-position: center 27%;
  overflow: hidden;
  padding-top: 76px;
  height: 50svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
    padding-bottom: 2rem;
}

.arc-hero3 {
    position: relative;
  background: linear-gradient(rgba(13, 13, 13, 0.35), rgba(13, 13, 13, 0.35)),
    var(--bg-hero-03);
  background-size: cover;
  background-position: center 10%;
  overflow: hidden;
  padding-top: 76px;
  height: 50svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding-bottom: 2rem;
}
.arc-hero4 {
    position: relative;
  background: linear-gradient(rgba(13, 13, 13, 0.15), rgba(13, 13, 13, 0.15)),
    var(--bg-hero-04);
  background-size: cover;
  background-position: center 27%;
  overflow: hidden;
  padding-top: 76px;
  height: 50svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
    padding-bottom: 2rem;
}


.arc-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
  rgba(0,0,0,0.6) 0%,
  rgba(0,0,0,0.2) 40%,
  rgba(0,0,0,0.2) 60%,
  rgba(0,0,0,0.6) 100%
  );
  z-index: 1;

}


.arc-hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(    to bottom,
  rgba(0,0,0,0.6) 0%,
  rgba(0,0,0,0.2) 40%,
  rgba(0,0,0,0.2) 60%,
  rgba(0,0,0,0.6) 100%
  );
}



.arc-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}



.arc-hero__body {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}


.arc-hero h1 {
  font-size: 45px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-block: 1rem 0.75rem;
}
.arc-hero3 h1 {
  font-size: 45px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-block: 1rem 0.75rem;
}
.arc-hero4 h1 {
  font-size: 45px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-block: 1rem 0.75rem;
}
.arc-hero__sub {
  color: rgba(255, 255, 255, 0.5);
  max-width: 500px;
  font-size: 1rem;
  line-height: 1.7;
}

.arc-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
  backdrop-filter: blur(8px);
}

.arc-count strong {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
}

/* ── EMPRESAS ARCHIVE ── imagen real, masonry elegante ─────── */
.emp-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.emp-archive-grid .emp-card {
  aspect-ratio: 4 / 3;
  width: 100%;
}

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

  .emp-archive-grid .emp-card:nth-child(3n+1) {
    grid-column: span 2;
  }
}

@media(max-width:786px) {
  .emp-archive-grid {
    grid-template-columns: 1fr;
  }

  .emp-archive-grid .emp-card:nth-child(3n+1) {
    grid-column: span 1;
    aspect-ratio: 1/1;
  }
}

/* ── VACANTES ARCHIVE ────────────────────────────────────────── */
.vac-archive-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.vac-archive-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all 250ms var(--ease);
}

.vac-archive-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-lt));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 300ms var(--ease);
}

.vac-archive-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateX(5px);
  box-shadow: 0 8px 40px rgba(27, 42, 74, 0.09);
}

.vac-archive-item:hover::before {
  transform: scaleY(1);
}

.vac-archive-item .vac-empresa {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.vac-archive-item h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.vac-archive-item h2 a {
  color: inherit;
  transition: color 180ms;
}

.vac-archive-item h2 a:hover {
  color: var(--gold-dk);
}

@media(max-width:600px) {
  .vac-archive-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ── VACANTES SIDEBAR ───────────────────────────────────────── */
.vac-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-block {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.sidebar-block--dark {
  background: var(--navy-dark);
  border-color: transparent;
  color: var(--white);
}

.sidebar-block__title {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.sidebar-block--dark .sidebar-block__title {
  color: var(--gold);
}

.sidebar-block:not(.sidebar-block--dark) .sidebar-block__title {
  color: var(--navy);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item span:first-child {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── ACTIVIDADES — editorial numbers ────────────────────────── */
.act-editorial {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: all 300ms var(--ease);
}

.act-editorial::after {
  content: attr(data-n);
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(27, 42, 74, 0.04);
  line-height: 1;
  pointer-events: none;
  transition: color 300ms;
}

.act-editorial:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 48px rgba(27, 42, 74, 0.09);
  transform: translateY(-3px);
}

.act-editorial:hover::after {
  color: rgba(201, 168, 76, 0.07);
}

.act-editorial__icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(27, 42, 74, 0.2);
  transition: transform 250ms var(--ease);
  align-self: start;
}

.act-editorial:hover .act-editorial__icon {
  transform: scale(1.08);
}

.act-editorial__n {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.act-editorial h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.act-editorial p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.act-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.act-tag {
  padding: 2px 9px;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 20px;
  background: rgba(27, 42, 74, 0.05);
  color: var(--navy);
  border: 1px solid rgba(27, 42, 74, 0.1);
}

/* ── STATS ROW ───────────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat-cell {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--border);
  transition: background 250ms, color 250ms;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell:hover {
  background: var(--navy);
}

.stat-cell:hover .stat-cell__n,
.stat-cell:hover .stat-cell__l {
  color: var(--white);
}

.stat-cell:hover .stat-cell__n {
  color: var(--gold);
}

.stat-cell__n {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 250ms;
}

.stat-cell__l {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 0.4rem;
  transition: color 250ms;
}

@media(max-width:768px) {
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .stat-cell {
    border-bottom: 1px solid var(--border);
  }

  .stat-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

/* ── NOSOTROS — mv cards ─────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.mv-card {
  background: var(--navy-dark);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--r-lg);
  border-left: 4px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.mv-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

.mv-card__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.mv-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-family: var(--f-serif);
  font-size: 1.1rem;
  font-style: italic;
}

@media(max-width:640px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* ── VALORES ────────────────────────────────────────────────── */
.val-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.1rem;
}

.val-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: all 300ms var(--ease);
  position: relative;
  overflow: hidden;
}

.val-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms var(--ease);
}

.val-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(27, 42, 74, 0.1);
}

.val-card:hover::before {
  transform: scaleX(1);
}

.val-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
  transition: transform 250ms;
}

.val-card:hover .val-icon {
  transform: rotate(-8deg) scale(1.08);
}

.val-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.val-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── HISTORIA IMAGE SPLIT ────────────────────────────────────── */
.hist-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(27, 42, 74, 0.14);
  margin-bottom: 4rem;
}

.hist-img {
  position: relative;
  min-height: 460px;
}

.hist-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hist-img-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.hist-body {
  background: var(--navy-dark);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hist-body h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-block: 0.75rem 1.25rem;
}

.hist-body p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

@media(max-width:768px) {
  .hist-split {
    grid-template-columns: 1fr;
  }

  .hist-img {
    min-height: 240px;
  }

  .hist-body {
    padding: 2rem;
  }
}

/* ── CTA ─────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6rem);
  background: linear-gradient(rgba(13, 13, 13, 0.45), rgba(13, 13, 13, 0.45)),
    var(--bg-hero-01);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;  
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.55);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2rem;
  position: relative;
}

/* ── CONTACTO ────────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--gap);
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--navy);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}

.contact-detail strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-detail span {
  font-size: 0.92rem;
  color: var(--muted);
}

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap:10px;
  width: auto;
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  display: block;
  border: none;
}

/* Form */
.cform .fg {
  margin-bottom: 1.1rem;
}

.cform label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 6px;
}

.cform input,
.cform textarea,
.cform select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  appearance: none;
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.09);
}

.cform textarea {
  min-height: 130px;
  resize: vertical;
}

.fg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media(max-width:640px) {
  .fg-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width:900px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}

/* ── SINGLE EMPRESA ─────────────────────────────────────────── */
.emp-single-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: var(--r-xl);
  margin-bottom: 3rem;
}

.emp-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emp-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 30, 0.9) 0%, rgba(10, 16, 30, 0.3) 60%, transparent 100%);
}

.emp-single-hero__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
}

.emp-single-hero__name {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
}

/* ── SINGLE VACANTE ─────────────────────────────────────────── */
.vac-requisitos {
  background: var(--off);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--gold);
  padding: 2rem;
  margin-top: 2.5rem;
}

.vac-requisitos h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.vac-req-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.05);
}

.vac-req-item:last-child {
  border-bottom: none;
}

.vac-req-item::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.vac-apply-box {
  background: var(--navy-dark);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
}

.vac-apply-box h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.vac-apply-box p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ── BLOG ────────────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 250ms var(--ease);
  background: var(--white);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 64px rgba(27, 42, 74, 0.1);
  border-color: rgba(27, 42, 74, 0.2);
}

.post-card__thumb {
  overflow: hidden;
  height: 210px;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

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

.post-card__body {
  padding: 1.5rem;
}

.post-card__meta {
  font-size: 0.72rem;
  color: var(--silver);
  margin-bottom: 0.5rem;
}

.post-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: color 180ms;
}

.post-card:hover .post-card__title {
  color: var(--gold-dk);
}

.post-card__exc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── SINGLE POST ─────────────────────────────────────────────── */
.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
}

.post-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.post-content h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: disc;
}

.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--f-serif);
  font-size: 1.2rem;
  color: var(--navy);
  font-style: italic;
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--silver);
  padding-block: 0.75rem;
}

.breadcrumb a {
  color: var(--silver);
  transition: color 180ms;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  color: var(--border);
}

/* ── PAGE HERO (sub-páginas que NO son archive) ─────────────── */
.page-hero {
background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.6) 0%,
  rgba(0,0,0,0.5) 40%,
  rgba(0,0,0,0.5) 60%,
  rgba(0,0,0,0.6) 100%
), var(--bg-nosos);
  background-size: cover;
  background-position:  center 25%;
  padding-top: 86px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}


.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
  margin-block: 0.75rem 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.page-hero2 {
background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.2) 0%,
  rgba(0,0,0,0.2) 40%,
  rgba(0,0,0,0.2) 60%,
  rgba(0,0,0,0.2) 100%
), var(--bg-con);
  background-size: cover;
  background-position:  center;
  padding-top: 86px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}


.page-hero2 h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
  margin-block: 0.75rem 0.5rem;
}

.page-hero2 p {
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.page-hero3 {
background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.6) 0%,
  rgba(0,0,0,0.2) 40%,
  rgba(0,0,0,0.2) 60%,
  rgba(0,0,0,0.6) 100%
), var(--bg-pol);
  background-size: cover;
  background-position:center 30%;
  padding-top: 86px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
  height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}


.page-hero3 h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
  margin-block: 0.75rem 0.5rem;
}

.page-hero3 p {
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
  max-width: 500px;
}

.page-hero4 {
background: linear-gradient(
  to bottom,
  rgba(0,0,0,0.6) 0%,
  rgba(0,0,0,0.2) 40%,
  rgba(0,0,0,0.2) 60%,
  rgba(0,0,0,0.6) 100%
), var(--bg-lib);
  background-size: cover;
  background-position:center 50%;
  padding-top: 86px;
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden; 
  height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}


.page-hero4 h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
  margin-block: 0.75rem 0.5rem;
}

.page-hero4 p {
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
  max-width: 500px;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
#site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 55px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.70);
  text-align: left;
  margin-left: 25px;
  margin-bottom: 25px;
  line-height: 20px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 180ms;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bar p {
  color: rgba(255, 255, 255, 0.28);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.28);
  transition: color 180ms;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-gold {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

@media(max-width:900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media(max-width:500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bar {
    flex-direction: column;
  }
}

/* ── 404 ─────────────────────────────────────────────────────── */
.e404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--gap);
}

.e404__n {
  font-size: clamp(6rem, 18vw, 13rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--navy);
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.e404__t {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.e404__p {
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 2rem;
}

/* ── PAGINACIÓN ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 180ms;
}

.pagination a:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── BACK TO TOP ─────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  transform: translateY(16px);
  transition: all 250ms var(--ease);
  z-index: 100;
  cursor: pointer;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.fade-in,
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-up {
  color: rgba(255,255,255,0.85) !important;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal-right {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);

}

.fade-in.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: .08s;
}

.d2 {
  transition-delay: .16s;
}

.d3 {
  transition-delay: .24s;
}

.d4 {
  transition-delay: .32s;
}

.d5 {
  transition-delay: .4s;
}

/* ── UTILS ───────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--r);
  font-size: 0.85rem;
  z-index: 9999;
  transition: top 180ms;
}

.skip-link:focus {
  top: 1rem;
}

.gold-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  border-radius: 2px;
  margin-block: 1rem;
}

/* WP core */
.aligncenter {
  display: block;
  margin-inline: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
}

@media print {

  #site-header,
  #site-footer,
  .hero__scroll,
  #back-to-top {
    display: none;
  }
}

/* ── ACTIVIDADES — archive & single ─────────────────────────── */

/* ── Archive grid ─── */
.act-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.act-archive-grid .act-post-card {
  width: 100%;
  aspect-ratio: 4 / 3;
}

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

  .act-archive-grid .act-post-card:first-child {
    grid-column: span 2;
  }
}

@media(max-width:560px) {
  .act-archive-grid {
    grid-template-columns: 1fr;
  }

  .act-archive-grid .act-post-card:first-child {
    grid-column: span 1;
  }
}

/* ── Card de actividad ─── */
.act-post-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  display: block;
}

.act-archive-grid .act-post-card {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.act-post-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.act-post-card:hover .act-post-card__img {
  transform: scale(1.06);
}

.act-post-card__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.act-post-card__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.act-post-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 30, 0.96) 0%, rgba(10, 16, 30, 0.45) 45%, transparent 100%);
  transition: background 300ms var(--ease);
}

.act-post-card:hover .act-post-card__overlay {
  background: linear-gradient(to top, rgba(10, 16, 30, 0.98) 0%, rgba(10, 16, 30, 0.65) 55%, rgba(201, 168, 76, 0.05) 100%);
}

.act-post-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  z-index: 2;
}

.act-post-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.act-post-card__cat {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 20px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold);
  backdrop-filter: blur(4px);
}

.act-post-card__date {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.4rem;
}

.act-post-card__title {
  font-size: 18px !important;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 200ms;
}

.act-post-card:hover .act-post-card__title {
  color: var(--gold-lt);
}

.act-post-card__excerpt {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease), opacity 300ms;
  opacity: 0;
}

.act-post-card:hover .act-post-card__excerpt {
  max-height: 60px;
  opacity: 1;
}

.act-post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.act-post-card__read {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 180ms;
}

.act-post-card:hover .act-post-card__read {
  gap: 9px;
}

.act-post-card__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 450ms var(--ease);
  z-index: 3;
}

.act-post-card:hover .act-post-card__bar {
  transform: scaleX(1);
}

/* ── Filter pills para actividades ─── */
.act-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.act-filter-pill {
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 200ms;
  text-decoration: none;
}

.act-filter-pill:hover,
.act-filter-pill.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.act-filter-pill--gold.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

/* ── SINGLE ACTIVIDAD ─── */
.act-single-hero {
  position: relative;
  width: 100%;
  max-height: 560px;
  overflow: hidden;
  border-radius: var(--r-xl);
  margin-bottom: 2.5rem;
}

.act-single-hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.act-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 16, 30, 0.8) 0%, rgba(10, 16, 30, 0.2) 55%, transparent 100%);
}

.act-single-hero__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 60px;
  max-width: 1460px;
  margin: 0 auto;
  color: white;
  z-index: 99;
}

@media(max-width:768px){
    .act-single-hero__body{
        padding: 25px 30px !important;
    }
}

.act-single-hero__body h1 {
  color: white;
  font-size: 45px;
}
@media(max-width:768px){
    .act-single-hero__body h1 {
      color: white;
      font-size: 30px !important;
}
}

.breadcrumb {
  color: white;
}

.act-single-meta {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.act-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.act-meta-item strong {
  color: var(--navy);
  font-weight: 700;
}

.act-meta-sep {
  color: var(--border);
  font-size: 1rem;
}

/* ── GALERÍA EN SINGLE ─── */
.act-galeria {
  margin: 3rem 0;
}

.act-galeria__title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.act-galeria__title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Grid masonry de fotos */
.act-galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--off);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.gal-item:hover img {
  transform: scale(1.04);
}

.gal-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 30, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 250ms;
}

.gal-item:hover .gal-item__overlay {
  background: rgba(10, 16, 30, 0.3);
}

.gal-item__zoom {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 250ms, transform 250ms;
}

.gal-item:hover .gal-item__zoom {
  opacity: 1;
  transform: scale(1);
}

@media(max-width:640px) {
  .act-galeria__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .act-galeria__grid .gal-item:first-child,
  .act-galeria__grid .gal-item:nth-child(5) {
    grid-column: span 2;
  }
}

/* ── Lightbox ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms;
}

.lightbox__nav:hover {
  background: rgba(201, 168, 76, 0.25);
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox__prev {
  left: 1.5rem;
}

.lightbox__next {
  right: 1.5rem;
}

.lightbox__counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

/* ── Related actividades ─── */
.act-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

@media(max-width:700px) {
  .act-related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:440px) {
  .act-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Share buttons ─── */
.act-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
}

.act-share__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r);
  font-size: 0.7rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  color: var(--navy);
  transition: all 200ms;
  cursor: pointer;
  text-decoration: none;
}

.share-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ── FIXES & MISSING RULES ──────────────────────────────────── */

/* Breadcrumb usa .wrap no .container */
.breadcrumb {
  padding-left: 5px;
  max-width: 1460px;
  margin-inline: auto;
}

/* Sidebar blocks (vacantes) */
.sidebar-block {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
}

.sidebar-block--dark {
  background: var(--navy-dark);
  border-color: transparent;
  color: var(--white);
}

.sidebar-block__title {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: block;
}

.sidebar-block--dark .sidebar-block__title {
  color: var(--gold);
}

.sidebar-block:not(.sidebar-block--dark) .sidebar-block__title {
  color: var(--navy);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.7);
}

.benefit-item:last-child {
  border-bottom: none;
}

/* Site logo text when no custom logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}



/* Footer brand logo text when dark bg */
#site-footer .logo-text .lg-main {
  color: var(--white);
}

#site-footer .logo-text .lg-sub {
  color: rgba(255, 255, 255, .3);
}

#site-footer .site-logo:hover .lg-main {
  color: var(--gold);
}

/* Arc hero responsive fix */


/* Wrap responsive */
@media(max-width:640px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .act-editorial {
    grid-template-columns: 1fr;
  }

  .act-editorial::after {
    display: none;
  }

  .emp-single-hero {
    height: 280px;
  }
}

/* Ensure images fill containers */
.arc-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── SEARCH FORM ─────────────────────────────────────────────── */
.search-form {
  display: flex;
  gap: .5rem;
  max-width: 520px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: var(--f-sans);
  font-size: .92rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

.search-form input[type="search"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.09);
}

.search-form button[type="submit"] {
  padding: .8rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms;
  white-space: nowrap;
}

.search-form button[type="submit"]:hover {
  background: var(--navy-mid);
}

/* ── COMMENT LIST ────────────────────────────────────────────── */
.comment-list li {
  list-style: none;
}

.comment-list .children {
  margin-top: 1rem;
  margin-left: 3rem;
}

/* ── WIDGET AREA ─────────────────────────────────────────────── */
.widget {
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ── FOOTER RESPONSIVE ───────────────────────────────────────── */
@media(max-width:560px) {
  .footer-grid {
    gap: 2rem;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ── VACANTE ARCHIVE RESPONSIVE ─────────────────────────────── */
@media(max-width:900px) {
  .vac-archive-item {
    grid-template-columns: 1fr;
  }

  .vac-archive-item>div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── SINGLE ACTIVIDADES RESPONSIVE ──────────────────────────── */
@media(max-width:900px) {
  .act-single-meta {
    flex-direction: column;
    gap: .75rem;
    align-items: flex-start !important;
  }

  .act-meta-sep {
    display: none;
  }

  .act-galeria__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .act-galeria__grid .gal-item:first-child {
    grid-column: span 2;
  }
}

@media(max-width:480px) {
  .act-galeria__grid {
    grid-template-columns: 1fr;
  }

  .act-galeria__grid .gal-item:first-child {
    grid-column: span 1;
  }
}

/* ── ARCHIVE ACTIVIDADES GRID RESPONSIVE ─────────────────────── */
@media(max-width:900px) {
  .act-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .act-archive-grid .act-post-card:first-child {
    grid-column: span 2;
  }
}

@media(max-width:768px) {
  .act-archive-grid {
    grid-template-columns: 1fr;
  }

  .act-archive-grid .act-post-card:first-child {
    grid-column: span 1;
  }
  .act-home-grid{
    height: 1080px !important;
  }

}

/* ── ENSURE WRAP CLASS WORKS IN ARC-HERO ─────────────────────── */
.arc-hero .wrap {
  position: relative;
  z-index: 2;
}

/* ── SINGLE BLOG POST THUMBNAIL ──────────────────────────────── */
.single .post-thumbnail img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}

/* ── WP ALIGNMENT CLASSES ────────────────────────────────────── */
.post-content img.aligncenter {
  display: block;
  margin-inline: auto;
  border-radius: var(--r);
}

.post-content img.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
  border-radius: var(--r);
}

.post-content img.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  border-radius: var(--r);
}

.post-content figcaption {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-top: .4rem;
}

.post-content figure {
  margin-block: 1.5rem;
}

.post-content pre {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .85);
  padding: 1.25rem 1.5rem;
  border-radius: var(--r);
  overflow-x: auto;
  font-size: .85rem;
  line-height: 1.65;
  margin-block: 1.5rem;
}

.post-content code {
  background: rgba(27, 42, 74, .06);
  color: var(--navy);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: .88em;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
  font-size: .9rem;
}

.post-content th {
  background: var(--navy);
  color: var(--white);
  padding: .6rem .875rem;
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.post-content td {
  padding: .6rem .875rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.post-content tr:hover td {
  background: var(--off);
}

/* ── ACTIVE NAV HIGHLIGHT (WP classes) ───────────────────────── */
/* Reset: quita active del inicio en todas las páginas */
body:not(.home):not(.front-page) #primary-nav .menu-item-home>a {
  color: inherit !important;
  background: transparent !important;
}

/* ── SCROLLBAR STYLING ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--off);
}

::-webkit-scrollbar-thumb {
  background: rgba(27, 42, 74, .25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--navy);
}

/* ── SELECTION COLOR ─────────────────────────────────────────── */
::selection {
  background: rgba(201, 168, 76, .25);
  color: var(--navy-dark);
}

.custom-logo {
  width: 220px !important;
  height: auto;
  margin-left: -15px;
  z-index:999999;
  position: relative;
}

.footer-brand .custom-logo-link > img {
  width: 350px !important;
  height: auto;
  margin-left: 0px;
  align-items: center;
  z-index: 10;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  row-gap: 25px;
}

.icons-logos-ft {
  display: flex;
  flex-direction: row;
  column-gap: 10px;
}
.icons-logos-ft .icon-svg-prin{
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.icons-logos-ft svg {
  color: white;
}


/* MEJORA FINAL PROYECTOS */




/* --- LUXURY SINGLE LAYOUT --- */
.emp-single-pro { background: #fff; padding-bottom: 100px; }

/* Hero inmersivo */
.emp-page-header {
    height: 50svh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: #fff;
    margin-bottom: -80px; /* Hace que el contenido suba sobre el hero */
    padding-bottom: 80px ;
  }

.emp-page-header__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,14,20,0.9) 0%, rgba(10,14,20,0.2) 100%);
}

.emp-page-header__container { position: relative; z-index: 2;}
.emp-badge { background: var(--gold); color: #000; padding: 4px 12px; font-weight: 700; font-size: 11px; text-transform: uppercase; border-radius: 2px; display: inline-block; margin-bottom: 1rem; }
.emp-page-header__title { font-size: clamp(3rem, 7vw, 5rem); line-height: 0.9; font-weight: 800; margin: 0; }
.emp-page-header__container h1 {
  color: white;
  font-size: 45px;
}
/* Grid Asimétrico */
.emp-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    position: relative;
}

/* Tarjeta Sticky */
.emp-sidebar { position: relative; }
.emp-sticky-card {
    background: #0b1220;
    padding: 40px;
    color: #fff;
    border-radius: 4px;
    position: sticky;
    top: 120px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.emp-sticky-card__logo { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.emp-sticky-card__logo img { max-height: 50px; filter: brightness(0) invert(1); }

.emp-detail-item { margin-bottom: 20px; }
.emp-detail-item small { color: var(--gold); text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.emp-detail-item p { font-size: 1.2rem; margin: 0; font-weight: 500; }

.btn--full { width: 100%; display: block; text-align: center; margin-top: 20px; }

/* Contenido */
.emp-main-body { padding-top: 120px; }
.emp-breadcrumb-container { margin-bottom: 40px; }
.post-content { font-size: 1.2rem; line-height: 1.8; color: #444; }

/* Navegación Back */
.emp-navigation { margin-top: 80px; padding-top: 40px; border-top: 1px solid #eee; }
.nav-back-link { display: flex; align-items: center; gap: 15px; text-decoration: none; color: #000; font-weight: 700; transition: 0.3s; }
.nav-back-link__icon { width: 40px; height: 1px; background: #000; position: relative; transition: 0.3s; }
.nav-back-link__icon::before { content: ''; position: absolute; left: 0; top: -4px; width: 8px; height: 8px; border-left: 1px solid #000; border-top: 1px solid #000; transform: rotate(-45deg); }
.nav-back-link:hover .nav-back-link__icon { width: 60px; background: var(--gold); }
.nav-back-link:hover .nav-back-link__icon::before { border-color: var(--gold); }

@media (max-width: 991px) {
    .emp-grid { grid-template-columns: 1fr; }
    .emp-page-header { margin-bottom: 0; height: 50vh; }
    .emp-main-body { padding-top: 40px; }
    .emp-sticky-card { position: static; margin-top: -60px; }
}

.emp-masonry .emp-card:last-child {
    grid-column: span 2;
    grid-row: span 1;
}
.emp-card:last-child {
    aspect-ratio: 16 / 9;
}
@media(max-width:768px){
  .emp-masonry .emp-card:last-child{
    grid-column: span 1;
    grid-row: span 1;
  }
  .emp-card:last-child{
    aspect-ratio: 1/1;
  }
}



/* POSTULACIÓN - VER */

/* ============================================================
   CONEXA HOLDING — Página de Postulación
   Agrega este bloque a tu style.css
   ============================================================ */

/* ── Tokens de color (ajusta a tu brand) ────────────────────── */
:root {
    --cx-navy:        #0a1628;
    --cx-navy-mid:    #152240;
    --cx-gold:        #e8b84b;
    --cx-gold-light:  #f5d080;
    --cx-white:       #ffffff;
    --cx-off-white:   #f7f8fc;
    --cx-text:        #1a1a2e;
    --cx-text-muted:  #5a6a8a;
    --cx-border:      #dde3ef;
    --cx-success:     #1a7a4a;
    --cx-success-bg:  #edfaf3;
    --cx-error:       #c0392b;
    --cx-error-bg:    #fdf0ee;
    --cx-radius-sm:   6px;
    --cx-radius-md:   10px;
    --cx-radius-lg:   16px;
    --cx-shadow-sm:   0 2px 8px rgba(10,22,40,.08);
    --cx-shadow-md:   0 6px 24px rgba(10,22,40,.12);
    --cx-transition:  0.2s ease;
}

/* ── Hero ───────────────────────────────────────────────────── */
.conexa-hero-postulacion {
    position: relative;
    background-image: var(--bg-nosos);
    background-size: cover;
    background-position: center;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2.5rem;
}
.conexa-hero-postulacion::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,.88) 0%, rgba(10,22,40,.55) 100%);
}

/* ── Sección principal ──────────────────────────────────────── */
.conexa-postulacion-section {
    background: var(--cx-off-white);
    padding: 4rem 0 5rem;
}

/* ── Intro ──────────────────────────────────────────────────── */
.post-intro {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}
.post-intro__badge {
    display: inline-block;
    background: var(--cx-gold);
    color: var(--cx-navy);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35em 1em;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.post-intro__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--cx-navy);
    line-height: 1.2;
    margin: 0 0 1rem;
}
.post-intro__title span {
    color: var(--cx-gold);
}
.post-intro__lead {
    color: var(--cx-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

/* ── Layout grid ────────────────────────────────────────────── */
.postulacion-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.post-sidebar__card {
    background: var(--cx-white);
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--cx-shadow-sm);
    transition: box-shadow var(--cx-transition);
}
.post-sidebar__card:hover {
    box-shadow: var(--cx-shadow-md);
}
.post-sidebar__card--accent {
    background: var(--cx-navy);
    border-color: var(--cx-navy);
    color: #aec2e0;
}
.post-sidebar__card--accent h3 { color: var(--cx-gold); }
.post-sidebar__card--accent p  { color: #aec2e0; }
.post-sidebar__icon {
    font-size: 1.75rem;
    margin-bottom: .6rem;
    display: block;
}
.post-sidebar__card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cx-navy);
    margin: 0 0 .75rem;
}
.post-sidebar__list,
.post-sidebar__steps {
    margin: 0;
    padding: 0;
    list-style: none;
}
.post-sidebar__list li {
    font-size: .9rem;
    color: var(--cx-text-muted);
    padding: .35rem 0;
    border-bottom: 1px dashed var(--cx-border);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.post-sidebar__list li::before {
    content: '✓';
    color: var(--cx-gold);
    font-weight: 700;
    flex-shrink: 0;
}
.post-sidebar__list li:last-child { border-bottom: none; }
.post-sidebar__steps { counter-reset: steps; }
.post-sidebar__steps li {
    font-size: .9rem;
    color: var(--cx-text-muted);
    padding: .4rem 0 .4rem 2.25rem;
    position: relative;
    counter-increment: steps;
}
.post-sidebar__steps li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.55rem;
    height: 1.55rem;
    background: var(--cx-navy);
    color: var(--cx-gold);
    border-radius: 50%;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Formulario wrapper ─────────────────────────────────────── */
.post-form-wrap {
    background: var(--cx-white);
    border: 1px solid var(--cx-border);
    border-radius: var(--cx-radius-lg);
    box-shadow: var(--cx-shadow-md);
    overflow: hidden;
}
.post-form {
    padding: 2.5rem 2rem;
}

/* ── Fieldsets / Secciones ──────────────────────────────────── */
.post-form__section {
    border: none;
    padding: 0;
    margin: 0 0 2.5rem;
}
.post-form__section:last-of-type { margin-bottom: 1rem; }
.post-form__legend {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cx-navy);
    width: 100%;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--cx-border);
    margin-bottom: 1.5rem;
}
.legend-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--cx-navy);
    color: var(--cx-gold);
    border-radius: 50%;
    font-size: .8rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── Grid de campos ─────────────────────────────────────────── */
.post-form__grid { display: grid; gap: 1.25rem; }
.post-form__grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ── Campo individual ───────────────────────────────────────── */
.post-form__field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.post-form__field label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--cx-navy);
    display: flex;
    align-items: center;
    gap: .35rem;
}
.req { color: var(--cx-gold); font-weight: 700; }
.char-count {
    margin-left: auto;
    font-size: .78rem;
    font-weight: 400;
    color: var(--cx-text-muted);
}
.char-count.near-limit { color: #e67e22; }

/* ── Inputs & selects ───────────────────────────────────────── */
.post-form input[type="text"],
.post-form input[type="email"],
.post-form input[type="tel"],
.post-form input[type="url"],
.post-form select,
.post-form textarea {
    width: 100%;
    padding: .7rem 1rem;
    font-size: .95rem;
    font-family: inherit;
    color: var(--cx-text);
    background: var(--cx-off-white);
    border: 1.5px solid var(--cx-border);
    border-radius: var(--cx-radius-md);
    outline: none;
    transition: border-color var(--cx-transition), box-shadow var(--cx-transition), background var(--cx-transition);
    box-sizing: border-box;
    appearance: none;
}
.post-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6a8a' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.post-form textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}
.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus {
    border-color: var(--cx-navy);
    background: var(--cx-white);
    box-shadow: 0 0 0 3px rgba(10,22,40,.08);
}
.post-form input::placeholder,
.post-form textarea::placeholder { color: #b0bac9; }

/* Estados de validación */
.post-form input.is-error,
.post-form select.is-error,
.post-form textarea.is-error {
    border-color: var(--cx-error);
    background: #fff8f7;
}
.post-form input.is-ok,
.post-form textarea.is-ok {
    border-color: #27ae60;
    background: #f0fdf5;
}
.post-form__err {
    font-size: .8rem;
    color: var(--cx-error);
    min-height: 1rem;
    display: block;
}

/* ── Honeypot ───────────────────────────────────────────────── */
.conexa-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tabindex: -1;
}

/* ── File drop zone ─────────────────────────────────────────── */
.file-drop {
    position: relative;
    border: 2px dashed var(--cx-border);
    border-radius: var(--cx-radius-md);
    background: var(--cx-off-white);
    transition: border-color var(--cx-transition), background var(--cx-transition);
    cursor: pointer;
}
.file-drop:hover,
.file-drop.is-dragover {
    border-color: var(--cx-navy);
    background: #eef1f8;
}
.file-drop__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.file-drop__ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1rem;
    gap: .4rem;
    pointer-events: none;
    text-align: center;
}
.file-drop__icon { font-size: 2rem; }
.file-drop__text {
    font-size: .9rem;
    color: var(--cx-text-muted);
}
.file-drop__text strong { color: var(--cx-navy); }
.file-drop__hint {
    font-size: .78rem;
    color: #b0bac9;
}
.file-drop__preview {
    padding: .75rem 1rem;
    border-top: 1px solid var(--cx-border);
}
.file-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #e8f0fe;
    color: var(--cx-navy);
    font-size: .85rem;
    padding: .4em .85em;
    border-radius: 50px;
}
.file-chip strong { font-weight: 600; }
.file-chip em     { font-style: normal; color: var(--cx-text-muted); font-size: .78rem; }
.file-chip__remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cx-error);
    font-size: .85rem;
    padding: 0;
    line-height: 1;
    margin-left: .25rem;
}

/* ── Checkbox términos ──────────────────────────────────────── */
.post-form__check {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: .5rem .75rem;
    align-items: start;
    margin-top: 1.5rem;
}
.post-form__check input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: .1rem;
    accent-color: var(--cx-navy);
    cursor: pointer;
    flex-shrink: 0;
}
.post-form__check label {
    font-size: .85rem;
    color: var(--cx-text-muted);
    line-height: 1.5;
    cursor: pointer;
}
.post-form__check .post-form__err {
    grid-column: 2;
}

/* ── Submit ─────────────────────────────────────────────────── */
.post-form__submit {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
}
.btn-postular {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: var(--cx-navy);
    color: var(--cx-white);
    font-size: 1rem;
    font-weight: 700;
    padding: .9rem 2.25rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background var(--cx-transition), transform var(--cx-transition), box-shadow var(--cx-transition);
    box-shadow: 0 4px 16px rgba(10,22,40,.25);
    position: relative;
    overflow: hidden;
}
.btn-postular::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
    transform: translateX(-100%);
    transition: transform .45s ease;
}
.btn-postular:hover {
    background: var(--cx-navy-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10,22,40,.3);
}
.btn-postular:hover::before { transform: translateX(100%); }
.btn-postular:active { transform: translateY(0); }
.btn-postular__icon {
    font-size: 1.1rem;
    transition: transform var(--cx-transition);
}
.btn-postular:hover .btn-postular__icon { transform: translateX(4px); }
.btn-postular:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}
.btn-postular.is-loading .btn-postular__icon { display: none; }
.post-form__privacy {
    font-size: .8rem;
    color: var(--cx-text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: .35rem;
}

/* ── Alertas ────────────────────────────────────────────────── */
.conexa-alert {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: 1.1rem 1.35rem;
    border-radius: var(--cx-radius-md);
    font-size: .95rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1.5px solid transparent;
}
.conexa-alert--success {
    background: var(--cx-success-bg);
    color: var(--cx-success);
    border-color: #a8e6c4;
}
.conexa-alert--error {
    background: var(--cx-error-bg);
    color: var(--cx-error);
    border-color: #f5c6c2;
}
.conexa-alert__icon {
    font-size: 1.1rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: .05rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .postulacion-grid {
        grid-template-columns: 1fr;
    }
    .post-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 680px) {
    .post-form { padding: 1.75rem 1.25rem; }
    .post-form__grid--2 { grid-template-columns: 1fr; }
    .post-sidebar { display: flex; }
    .conexa-postulacion-section { padding: 2.5rem 0 3rem; }
    .btn-postular { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
    .post-form { padding: 1.25rem 1rem; }
    .post-form__legend { font-size: .9rem; }
}

/* ── Animación de entrada ───────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .postulacion-grid > * {
        animation: fadeInUp .5s ease both;
    }
    .postulacion-grid > *:nth-child(2) {
        animation-delay: .1s;
    }
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}