:root {
  /* Paleta logo Ageagro — azul #007db6 */
  --brand: #007db6;
  --brand-deep: #005a86;
  --brand-mid: #0090ce;
  --brand-soft: #e7f4fb;
  --brand-mist: #f3f9fc;
  --navy: #005a86;
  --navy-mid: #007db6;
  --navy-soft: #e7f4fb;
  --gold: #0090ce;
  --gold-deep: #005a86;
  --gold-soft: #d9eef8;
  --ink: #123047;
  --muted: #5a7184;
  --paper: #f3f9fc;
  --white: #ffffff;
  --line: #cfe3ef;
  --coral: #c44b35;
  --radius: 0;
  --header-h: 76px;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Archivo", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--brand); color: var(--white); }

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .wrap { width: min(100% - 2.75rem, var(--max)); }
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--brand); color: var(--white); }
.btn-gold:hover { background: var(--brand-deep); color: var(--white); }
.btn-navy { background: var(--brand-deep); color: var(--white); }
.btn-navy:hover { background: var(--brand); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--brand-deep); border-color: var(--white); }
.btn-line {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}
.btn-line:hover { border-color: var(--navy); color: var(--navy); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  background: rgba(8, 18, 28, 0.88);
  backdrop-filter: blur(14px);
}
.site-header.is-solid {
  background: rgba(8, 18, 28, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.site-header.is-solid .logo-mark,
.site-header:not(.is-solid) .logo-mark { filter: none; }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; z-index: 2; }
.logo-mark {
  width: clamp(72px, 16vw, 92px);
  height: auto;
  display: block;
  background: transparent;
}
.brand-text { display: none; }
.brand-name {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 600;
}
.nav { display: none; gap: 1.6rem; }
.nav a {
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.nav a:hover, .nav a.is-active { opacity: 1; color: var(--brand); }
.site-header .header-cta { background: #c9a227; color: #0a1620; }
.site-header .header-cta:hover { background: #e8c56a; color: #0a1620; }
.site-header .nav-toggle { border-color: rgba(255,255,255,0.55); color: var(--white); }
.site-header .nav-toggle span,
.site-header .nav-toggle span::before,
.site-header .nav-toggle span::after { background: var(--white); }
@media (min-width: 920px) {
  .site-header .nav a { color: rgba(255, 255, 255, 0.78); opacity: 1; }
  .site-header .nav a:hover,
  .site-header .nav a.is-active { color: #e8c56a; opacity: 1; }
}
@media (max-width: 919px) {
  .site-header .nav a { color: var(--white); opacity: 0.92; }
  .site-header .nav a:hover,
  .site-header .nav a.is-active { color: #e8c56a; opacity: 1; }
}
.header-cta { display: none; }
.nav-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
}
.nav-toggle span {
  width: 16px; height: 1.5px; background: currentColor; position: relative; display: block;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: inherit;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
@media (min-width: 920px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 919px) {
  .nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--navy);
    color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav a {
    font-family: var(--display);
    font-size: 2.1rem;
    font-weight: 500;
  }
}

/* ——— HOME: cinematic hero ——— */
.hero-cinematic {
  min-height: 100svh;
  position: relative;
  color: var(--white);
  display: grid;
  align-items: stretch;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  min-height: 100%;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.04);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Oscuro tipo Instagram/Facebook Ageagro — deja ver la foto, sin velo celeste */
  background:
    linear-gradient(115deg, rgba(8, 18, 28, 0.78) 0%, rgba(8, 18, 28, 0.48) 48%, rgba(8, 18, 28, 0.22) 100%),
    linear-gradient(to top, rgba(8, 18, 28, 0.7) 0%, transparent 42%);
}
.hero-inner {
  padding: calc(var(--header-h) + 2.25rem) 0 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  gap: 0;
}
.hero-logo {
  width: min(78vw, 340px);
  height: auto;
  margin: 0 0 1.1rem;
  background: transparent;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
  animation: heroLogoIn 0.9s var(--ease) both;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.hero-40 { display: none; }
.hero-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.85rem;
  animation: heroLogoIn 0.9s var(--ease) 0.08s both;
}
.hero-cinematic h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 2.85rem);
  line-height: 1.12;
  max-width: 18ch;
  margin-bottom: 0.85rem;
  animation: heroLogoIn 0.9s var(--ease) 0.14s both;
}
.hero-cinematic .lead {
  max-width: 36ch;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.5rem;
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  animation: heroLogoIn 0.9s var(--ease) 0.2s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: heroLogoIn 0.9s var(--ease) 0.26s both;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .hero-logo { width: min(72vw, 260px); margin-bottom: 0.9rem; }
  .hero-inner { padding-bottom: 2rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 140px; }
}

/* ——— Tres pilares ——— */
.pillars {
  display: grid;
  background: var(--navy);
}
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}
.pillar {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}
.pillar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.9s var(--ease);
}
.pillar:hover img { transform: scale(1.06); }
.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 28, 52, 0.95) 0%, rgba(7, 28, 52, 0.35) 55%, rgba(7, 28, 52, 0.2) 100%);
}
.pillar-body { padding: 2rem 1.6rem; width: 100%; }
.pillar-body small {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.pillar-body h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.pillar-body p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  max-width: 28ch;
  margin-bottom: 1.1rem;
}
.pillar-body .go {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Campaign */
.campaign {
  display: grid;
  background: var(--white);
}
@media (min-width: 900px) {
  .campaign { grid-template-columns: 1.05fr 0.95fr; min-height: 520px; }
}
.campaign-media {
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.campaign-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.campaign-copy {
  padding: clamp(2.5rem, 6vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
}
.campaign-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 550;
  line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 12ch;
}
.campaign-copy p {
  color: rgba(255,255,255,0.72);
  max-width: 36ch;
  margin-bottom: 1.75rem;
}

/* Section basics */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 0.75rem;
}
.section-head p { color: var(--muted); }

/* Quick catalog entry */
.quick-catalog {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.quick-search {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  margin-bottom: 1.5rem;
  max-width: 640px;
}
.quick-search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  outline: none;
  min-width: 0;
}
.quick-search button {
  padding: 0 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.brand-chips a {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--paper);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.brand-chips a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.home-brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .home-brands { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1100px) {
  .home-brands { grid-template-columns: repeat(9, 1fr); }
}
.home-brands a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 96px;
  padding: 0.75rem 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.home-brands a:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(7, 28, 52, 0.08);
}
.home-brands img {
  max-width: 78%;
  max-height: 42px;
  object-fit: contain;
}
.home-brands span {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}

.home-cats {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .home-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .home-cats { grid-template-columns: repeat(3, 1fr); }
}
.home-cat {
  background: var(--white);
  padding: 1.4rem 1.25rem;
  transition: background 0.25s;
}
.home-cat:hover { background: var(--gold-soft); }
.home-cat .n {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 750;
  margin-bottom: 0.45rem;
}
.home-cat h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 550;
  margin-bottom: 0.35rem;
}
.home-cat p { color: var(--muted); font-size: 0.9rem; }
.home-cat .meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
}

/* Events */
.events {
  background: var(--navy);
  color: var(--white);
}
.events .section-head p { color: rgba(255,255,255,0.65); }
.event-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
@media (min-width: 800px) {
  .event-grid { grid-template-columns: repeat(4, 1fr); }
}
.event-card {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 1.25rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s, transform 0.25s var(--ease);
}
a.event-card:hover {
  background: var(--navy-mid);
  transform: translateY(-3px);
}
.event-card span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 750;
  margin-bottom: auto;
}
.event-card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

/* Story split */
.story {
  display: grid;
}
@media (min-width: 900px) {
  .story { grid-template-columns: 0.9fr 1.1fr; }
}
.story-media {
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-copy {
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 1rem;
  max-width: 14ch;
}
.story-copy p { color: var(--muted); margin-bottom: 0.9rem; max-width: 44ch; }
.story-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.story-facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.story-facts span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 650;
}

/* Contact strip */
.contact-strip {
  background: var(--gold-soft);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.contact-strip-inner {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .contact-strip-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}
.contact-strip h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.contact-strip p { color: var(--muted); max-width: 40ch; }
.contact-list {
  display: grid;
  gap: 0.85rem;
}
.contact-list a,
.contact-list div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(7, 28, 52, 0.12);
}
.contact-list small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--gold-deep);
}
.contact-list strong { font-size: 1.02rem; font-weight: 700; }
.contact-list a:hover strong { color: var(--navy-mid); }

/* Inner pages */
.page-hero {
  padding: calc(var(--header-h) + 3.25rem) 0 3rem;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/cr-field.jpg") center/cover;
  opacity: 0.25;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: 0.75rem;
}
.page-hero p { max-width: 42ch; color: rgba(255,255,255,0.72); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-bottom: 1.15rem;
  opacity: 0.7;
}
.breadcrumb a:hover { color: var(--gold); }

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-soft);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(transparent, rgba(7, 28, 52, 0.88));
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.mission-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .mission-grid { grid-template-columns: 1fr 1fr; }
}
.mission-item {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}
.mission-item h3 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.mission-item p { color: var(--muted); font-size: 0.95rem; }

.values-band { background: var(--navy); color: var(--white); }
.values-band .section-head p { color: rgba(255,255,255,0.62); }
.values-list { display: grid; border-top: 1px solid rgba(255,255,255,0.12); }
.value-row {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 720px) {
  .value-row {
    grid-template-columns: 4rem 14rem 1fr;
    align-items: baseline;
    gap: 2rem;
  }
}
.value-row .n {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.1rem;
}
.value-row h3 { font-size: 1.05rem; font-weight: 700; }
.value-row p { color: rgba(255,255,255,0.58); font-size: 0.95rem; }

.timeline {
  margin-top: 1.75rem;
  border-left: 1px solid var(--line);
  padding-left: 1.2rem;
}
.timeline li { position: relative; padding: 0.8rem 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.2rem - 4px);
  top: 1.1rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
  margin-bottom: 0.2rem;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  max-width: 16ch;
  margin-bottom: 0.5rem;
}
.cta-band p { color: rgba(255,255,255,0.68); max-width: 38ch; }

/* Catalog */
.catalog-layout {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 4rem;
}
@media (min-width: 920px) {
  .catalog-layout {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.catalog-side {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.catalog-side h2 {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--muted);
}
.side-list { display: grid; gap: 0.1rem; }
.side-list button,
.side-list a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.4rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.side-list button:hover,
.side-list a:hover,
.side-list button.is-active,
.side-list a.is-active {
  background: var(--gold-soft);
  color: var(--navy);
}
.side-list .count { color: var(--muted); font-weight: 550; font-size: 0.8rem; }

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.85rem;
}
.search:focus-within { border-color: var(--navy); }
.search input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
}
.search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.catalog-count { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.catalog-count strong { color: var(--ink); }

/* Visual catalog */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(180deg, #f7f9fb 0%, #fff 100%);
  border: 1px solid var(--line);
}
.brand-logos-label {
  grid-column: 1 / -1;
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}
.brand-logo-btn {
  min-height: 88px;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.4rem 0.5rem;
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.brand-logo-btn:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(7, 28, 52, 0.08);
}
.brand-logo-btn img {
  max-width: 86%;
  max-height: 40px;
  object-fit: contain;
}
.brand-logo-btn span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.side-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.side-brand img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.v-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .v-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .v-grid { grid-template-columns: repeat(3, 1fr); }
}
.v-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.v-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 28, 52, 0.1);
}
.v-card-media {
  aspect-ratio: 1.05;
  background: linear-gradient(160deg, #f7f9fb, #e8eef5);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.v-card-media .product-photo {
  max-height: 78%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(7, 28, 52, 0.12));
}
.v-card-media .product-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.product-cover-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  background: rgba(7, 28, 52, 0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
}
.product-logo-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--c) 10%, white);
  padding: 1.5rem;
}
.product-logo-wrap img {
  max-width: 70%;
  max-height: 90px;
  object-fit: contain;
}
.product-mono {
  text-align: center;
  color: var(--c);
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 600;
}
.product-mono small {
  display: block;
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  opacity: 0.8;
}
.v-card-body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.v-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.v-card-brand {
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}
.v-card-cat {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.v-card-body h3 {
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.v-card-body h3 a:hover { color: var(--navy-mid); }
.v-card-body > p {
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}
.v-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f6;
  margin-top: 0.35rem;
}
.v-card-foot .ask {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.v-card-foot .ask.wa { color: #1b7a45; }
.v-card-foot .ask:hover { color: var(--gold-deep); }

.featured-thumb {
  width: 72px;
  height: 72px;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.featured-thumb img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.featured-thumb .mono {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--c, var(--navy));
}
.featured-item {
  text-decoration: none;
}
.featured-item:hover h3 { color: var(--navy-mid); }

/* Product detail page */
.product-layout {
  display: grid;
  gap: 2rem;
  padding: 0 0 2rem;
}
@media (min-width: 880px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}
.product-media {
  background: var(--white);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
  overflow: hidden;
}
.product-media img {
  max-height: 85%;
  width: auto;
  object-fit: contain;
}
.product-media .p-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
}
.p-logo-stage {
  text-align: center;
  color: var(--c);
}
.p-logo-stage img {
  max-width: 220px;
  max-height: 120px;
  margin: 0 auto 1rem;
}
.p-logo-stage span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
}
.product-info h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}
.product-brand-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}
.product-tags span {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  background: var(--gold-soft);
  color: var(--navy);
}
.product-desc {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 42ch;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.product-meta-box {
  display: grid;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.product-meta-box small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 750;
  margin-bottom: 0.15rem;
}
.related-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
.rel-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.75rem;
  transition: border-color 0.2s;
}
.rel-card:hover { border-color: var(--gold); }
.rel-thumb {
  width: 72px;
  height: 72px;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.rel-thumb img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}
.rel-thumb .rel-logo { max-height: 40px; }
.rel-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.rel-card span {
  font-size: 0.8rem;
  color: var(--muted);
}
.empty {
  display: none;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  background: var(--white);
}
.empty.is-visible { display: block; }
.featured-strip {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
@media (min-width: 800px) {
  .featured-strip { grid-template-columns: repeat(3, 1fr); }
}
.featured-item {
  background: var(--white);
  padding: 1.15rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 72px 1fr;
  align-items: center;
}
.featured-item h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }
.featured-item span { font-size: 0.78rem; color: var(--muted); }

.contact-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0 4rem;
}
@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 2rem; }
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.contact-card.dark {
  background: var(--navy);
  color: var(--white);
  border-color: transparent;
}
.contact-card h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.contact-card > p { color: var(--muted); margin-bottom: 1.5rem; }
.contact-card.dark > p { color: rgba(255,255,255,0.65); }
.channel {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-card:not(.dark) .channel { border-top-color: #eef2f6; }
.channel small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  font-weight: 750;
}
.channel strong { font-size: 1rem; font-weight: 700; }
.channel:hover strong { color: var(--gold); }
.contact-card:not(.dark) .channel:hover strong { color: var(--navy-mid); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-success {
  background: #e8f6ee;
  color: #14532d;
  border: 1px solid #b7e4c7;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 650;
}
.captcha-box { margin-top: 0.25rem; }
.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto 5.5rem;
  gap: 0.5rem;
  align-items: center;
}
.captcha-q {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.85rem;
  background: #f3f6fa;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  font-weight: 700;
  color: var(--navy);
}
.captcha-refresh {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  border: 1px solid #d7e0ea;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
}
.captcha-refresh:hover { border-color: var(--gold); }
.captcha-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.68);
  padding: 3rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.25rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .brand-name { color: var(--white); margin-bottom: 0.75rem; }
.footer-logo {
  width: min(220px, 70%);
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-col h4 {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col a { display: block; padding: 0.28rem 0; font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.footer-credit {
  color: rgba(255,255,255,0.55);
  text-align: right;
  max-width: 42ch;
}
.footer-credit:hover { color: var(--gold); }

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* —— Comunidad / Webinars / Foros —— */
.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.social-pill {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  min-width: 140px;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.social-pill:hover { border-color: var(--gold); transform: translateY(-2px); }
.social-pill strong { font-size: 0.95rem; }
.social-pill span { font-size: 0.78rem; color: var(--muted); }
.social-pill.wa { border-color: rgba(37, 211, 102, 0.35); }

.hl-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .hl-grid { grid-template-columns: repeat(3, 1fr); }
}
.hl-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.hl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(7, 28, 52, 0.1);
}
.hl-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
}
.hl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.hl-card:hover .hl-media img { transform: scale(1.05); }
.hl-body { padding: 1rem 1.1rem 1.2rem; }
.hl-body span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--gold-deep);
}
.hl-body h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0.35rem 0 0.4rem;
}
.hl-body p { color: var(--muted); font-size: 0.9rem; }

.video-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-cover {
  display: grid;
  place-items: end start;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.video-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-cover span {
  position: relative;
  margin: 0.85rem;
  background: rgba(7, 28, 52, 0.88);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
}
.video-body { padding: 1rem 1.1rem 1.25rem; }
.v-type {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--muted);
}
.video-body h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin: 0.35rem 0 0.4rem;
}
.video-body p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }

.community-split { background: var(--navy); color: var(--white); }
.community-split-inner {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
@media (min-width: 800px) {
  .community-split-inner { grid-template-columns: 1fr 1fr; }
}
.comm-panel {
  background: var(--navy);
  padding: 2.5rem 1.75rem;
  transition: background 0.25s;
}
.comm-panel.alt { background: #0a2744; }
.comm-panel:hover { background: var(--navy-mid); }
.comm-panel small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 750;
}
.comm-panel h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  margin: 0.5rem 0 0.65rem;
}
.comm-panel p { color: rgba(255,255,255,0.7); max-width: 36ch; margin-bottom: 1.25rem; }
.comm-panel .go { font-weight: 750; letter-spacing: 0.04em; color: var(--gold); }

.home-community {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .home-community { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
}
.home-vid {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}
.home-vid .video-embed { min-height: 280px; }
.home-comm-links {
  display: grid;
  gap: 0.75rem;
}
.home-comm-links a {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.home-comm-links a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.home-comm-links strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.home-comm-links span { color: var(--muted); font-size: 0.88rem; }

.webinar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.webinar-filters button {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.webinar-filters button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.webinar-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .webinar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .webinar-grid { grid-template-columns: repeat(3, 1fr); }
}
.webinar-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.webinar-card.is-featured { border-color: var(--gold); }
.webinar-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
}
.webinar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.webinar-media .status,
.wp-copy .status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  background: var(--navy);
  color: var(--white);
}
.webinar-media .status.grabado,
.wp-copy .status.grabado { background: #2e7d32; }
.webinar-media .status.proximo,
.wp-copy .status.proximo { background: var(--gold); color: var(--navy); }
.webinar-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.w-date { font-size: 0.75rem; color: var(--muted); font-weight: 650; }
.webinar-body h3 { font-size: 1.1rem; font-weight: 750; line-height: 1.3; }
.webinar-body > p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.w-aud { font-size: 0.78rem; color: var(--navy-mid); font-weight: 650; }
.webinar-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f6;
  margin-top: 0.35rem;
}

.webinar-player { border: 1px solid var(--line); overflow: hidden; }
.wp-media {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: grid;
  align-items: end;
}
.wp-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,28,52,0.15), rgba(7,28,52,0.92));
}
.wp-copy {
  position: relative;
  padding: 2rem 1.5rem;
  color: var(--white);
  max-width: 640px;
}
.wp-copy .status { position: static; display: inline-block; margin-bottom: 0.75rem; }
.wp-copy h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.wp-copy p { color: rgba(255,255,255,0.78); margin-bottom: 1rem; }
.wp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 650;
  margin-bottom: 0.85rem;
  opacity: 0.85;
}
.wp-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.wp-topics span {
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.3rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 650;
}

.forum-layout {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0 4rem;
}
@media (min-width: 900px) {
  .forum-layout { grid-template-columns: 260px 1fr; }
}
.forum-side h2 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.forum-cats { display: grid; gap: 0.4rem; }
.forum-cats button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.forum-cats button.is-active {
  border-color: var(--c, var(--navy));
  background: color-mix(in srgb, var(--c, var(--navy)) 8%, white);
}
.f-ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--c, var(--navy));
  color: var(--white);
  font-weight: 800;
  flex-shrink: 0;
}
.forum-cats strong { display: block; font-size: 0.9rem; }
.forum-cats small { color: var(--muted); font-size: 0.75rem; }
.forum-head { margin-bottom: 1.25rem; }
.forum-head h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  margin: 0.25rem 0 0.4rem;
}
.forum-head p { color: var(--muted); max-width: 48ch; }
.thread-list { display: grid; gap: 0.65rem; }
.thread-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.thread-row:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.thread-row h3 { font-size: 1.02rem; font-weight: 750; margin-bottom: 0.3rem; }
.thread-row p { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.4rem; }
.t-meta { font-size: 0.75rem; color: var(--muted); font-weight: 650; }
.t-count {
  text-align: center;
  flex-shrink: 0;
  min-width: 64px;
}
.t-count strong { display: block; font-size: 1.25rem; color: var(--navy); }
.t-count span { font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

.thread-layout {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 960px) {
  .thread-layout { grid-template-columns: 1fr 280px; }
}
.thread-main {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem 1.4rem 2rem;
}
.thread-main h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  margin: 0.35rem 0 0.5rem;
}
.thread-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.thread-body {
  font-size: 1.05rem;
  line-height: 1.6;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eef2f6;
  margin-bottom: 1.5rem;
}
.thread-replies h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.reply {
  padding: 1rem 0;
  border-bottom: 1px solid #eef2f6;
}
.reply.is-op { background: var(--gold-soft); margin: 0 -1.4rem; padding: 1rem 1.4rem; border: 0; }
.reply-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}
.reply-top span { color: var(--muted); }
.reply p { line-height: 1.55; }
.reply-form {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.reply-form h2 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.thread-aside { display: grid; gap: 1rem; align-content: start; }
.thread-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem;
}
.thread-card h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.rel-mini {
  display: block;
  padding: 0.65rem 0;
  border-top: 1px solid #eef2f6;
}
.rel-mini strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.rel-mini span { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 720px) {
  .thread-row { flex-direction: column; align-items: flex-start; }
  .t-count { text-align: left; }
}
