/* ==========================================================================
   DOMÍNGUEZ & CÍA. ABOGADOS — SISTEMA DE DISEÑO Y ESTILOS WEB
   ========================================================================== */

:root {
  /* Paleta cromática corporativa */
  --navy-deep: #0B1325;
  --navy-main: #131E3A;
  --navy-surface: #1C2B4E;
  --navy-card: #172443;
  --navy-border: #2B3D66;
  
  --gold-primary: #C5A059;
  --gold-light: #E5C380;
  --gold-dark: #A37F38;
  --gold-glow: rgba(197, 160, 89, 0.15);
  
  --slate-bg: #F8FAFC;
  --slate-surface: #FFFFFF;
  --slate-border: #E2E8F0;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  /* Tipografía */
  --font-serif: 'Plantagenet Cherokee', Georgia, 'Playfair Display', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-geometric: 'Century Gothic', CenturyGothic, 'Outfit', 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Sombras y elevaciones */
  --shadow-sm: 0 2px 4px rgba(11, 19, 37, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(11, 19, 37, 0.08), 0 8px 10px -6px rgba(11, 19, 37, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(11, 19, 37, 0.12);
  --shadow-gold: 0 10px 30px -5px rgba(197, 160, 89, 0.3);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--slate-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography & Utility ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-deep);
}

.text-gold {
  color: var(--gold-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8955rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--gold-primary);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.27rem;
  color: var(--text-muted);
  max-width: 680px;
}

.center-text {
  text-align: center;
}
.center-text .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Header & Navigation ---------- */
.top-bar {
  background-color: var(--navy-deep);
  color: var(--text-light);
  font-size: 0.8955rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.5rem;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 37, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  transition: all var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-title {
  color: var(--text-white);
  font-family: var(--font-serif);
  font-size: 1.4111rem;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  font-size: 0.7715rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0333rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1.0333rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.btn-outline-gold:hover {
  background: rgba(197, 160, 89, 0.1);
  color: var(--text-white);
  border-color: var(--gold-light);
}

.btn-navy {
  background: var(--navy-main);
  color: var(--text-white);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.6933rem;
  cursor: pointer;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 70% 30%, #1E2B4E 0%, #0B1325 70%);
  color: var(--text-white);
  min-height: 82vh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 600 145' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3C/svg%3E") repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* Hero Video Background */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.1);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(to right, rgba(11, 19, 37, 0.75) 0%, rgba(11, 19, 37, 0.45) 50%, rgba(11, 19, 37, 0.25) 100%),
    linear-gradient(to bottom, rgba(11, 19, 37, 0.5) 0%, transparent 40%, rgba(11, 19, 37, 0.75) 100%);
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: var(--gold-light);
  font-size: 0.9644rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-description {
  font-size: 1.4111rem;
  color: #F3F4F6;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-video-control {
  background: rgba(28, 43, 78, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold-light);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3547rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.btn-video-control:hover {
  background: var(--gold-primary);
  color: var(--primary-dark);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Hero Statement Box (Cuadro Inicio Inferior Izquierda) */
.hero-container-bottom,
.hero-container-center {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  width: 100%;
}

/* Hero Split Banner (Fiel a la referencia de diseño) */
.hero-split-banner {
  display: flex;
  align-items: stretch;
  max-width: 960px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  margin-bottom: 0.5rem;
  transition: all var(--transition-normal);
}

.hero-split-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.65);
}

/* 1. Cuadro Azul Acero (Slate Blue) con letras blancas */
.hero-box-blue {
  background: rgba(43, 64, 89, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem 2.25rem;
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-blue-title {
  font-family: var(--font-geometric);
  font-size: clamp(1.5rem, 2.15vw, 2.15rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.22;
  margin: 0;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* 2. Cuadro Blanco Hueso (Cream / Off-White) con letras negras */
.hero-box-white {
  background: rgba(245, 244, 238, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.25rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.hero-white-p {
  font-family: var(--font-geometric);
  font-size: clamp(0.92rem, 1.05vw, 0.98rem);
  font-weight: 400;
  line-height: 1.58;
  color: #242930;
  margin: 0;
  letter-spacing: -0.005em;
}

.hero-white-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-geometric);
  font-size: 0.92rem;
  font-weight: 600;
  color: #1F2833;
  text-decoration: none;
  margin-top: 0.35rem;
  width: fit-content;
  border-bottom: 1.5px solid #1F2833;
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}

.hero-white-link i {
  transition: transform var(--transition-fast);
}

.hero-white-link:hover {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

.hero-white-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding: 5rem 0 2rem;
  }
  .hero-split-banner {
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 0;
  }
  .hero-box-blue {
    flex: none;
    width: 100%;
    padding: 1.6rem 1.6rem;
  }
  .hero-box-white {
    flex: none;
    width: 100%;
    padding: 1.6rem 1.6rem;
    gap: 0.75rem;
  }
  .hero-blue-title {
    font-size: 1.5rem;
  }
  .hero-white-p {
    font-size: 0.92rem;
  }
}

.hero-card {
  background: rgba(11, 19, 37, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-card-title {
  color: var(--gold-light);
  font-size: 1.4111rem;
  font-family: var(--font-serif);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.54rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.8955rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Highlights Bar ---------- */
.highlights-bar {
  background: var(--navy-deep);
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding: 2rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-white);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6933rem;
  flex-shrink: 0;
}

.highlight-title {
  font-size: 1.1022rem;
  font-weight: 600;
  color: var(--text-white);
}

.highlight-desc {
  font-size: 0.8955rem;
  color: var(--text-light);
}

/* ---------- Section Formatting ---------- */
.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: #F1F5F9;
}

/* ---------- Section: Estudio & Historia (Side-by-Side) ---------- */
.studio-history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.studio-col {
  display: flex;
  flex-direction: column;
}

.studio-col p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.68;
  margin-bottom: 1.15rem;
}

.history-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.history-timeline-scroll {
  flex: 1 1 auto;
  padding-right: 0.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
  margin-top: 0.25rem;
}

.history-timeline-scroll::-webkit-scrollbar {
  width: 5px;
}

.history-timeline-scroll::-webkit-scrollbar-track {
  background: rgba(11, 19, 37, 0.05);
  border-radius: var(--radius-full);
}

.history-timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: var(--radius-full);
}

.history-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(197, 160, 89, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
}

.history-item {
  position: relative;
  padding-left: 1.25rem;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 0.55rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid var(--slate-surface);
  box-shadow: 0 0 8px rgba(197, 160, 89, 0.4);
}

.history-marker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
  background: rgba(197, 160, 89, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.history-card {
  background: var(--slate-surface);
  border: 1px solid var(--slate-border);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.history-card:hover {
  transform: translateX(3px);
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: var(--shadow-md);
}

.history-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-feature-box {
  background: var(--slate-surface);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.about-feature-box h4 {
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}

.about-feature-box p {
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ---------- 3 Cajas Inferiores: Pilares y Expansión ---------- */
.studio-cards-row {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--slate-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.studio-pillar-card {
  background: var(--slate-surface);
  border: 1px solid var(--slate-border);
  border-top: 3px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.studio-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.5);
}

.studio-pillar-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.studio-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.studio-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.studio-pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 992px) {
  .studio-history-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .history-timeline-scroll {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    flex: none;
  }
  .studio-cards-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
}

@media (max-width: 768px) {
  .history-timeline {
    padding-left: 1.25rem;
    gap: 1.25rem;
  }
  .history-item {
    padding-left: 0.75rem;
  }
  .history-item::before {
    left: -1.65rem;
  }
  .history-card {
    padding: 1rem 1.15rem;
  }
  .history-card p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Section: Practice Areas ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.area-card {
  background: var(--slate-surface);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--slate-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.4);
}

.area-card:hover::before {
  opacity: 1;
}

.area-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(11, 19, 37, 0.04);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9755rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.area-card:hover .area-icon {
  background: var(--navy-deep);
  color: var(--gold-primary);
}

.area-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 190px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--navy-surface);
  border: 1px solid var(--slate-border);
  position: relative;
}

.area-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 37, 0.05) 0%, rgba(11, 19, 37, 0.35) 100%);
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.area-card:hover .area-card-img-wrap::after {
  opacity: 0.15;
}

.area-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform var(--transition-normal);
}

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

.area-card-img-wrap .area-icon-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(11, 19, 37, 0.88);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.area-card:hover .area-card-img-wrap .area-icon-badge {
  background: var(--gold-primary);
  color: var(--navy-deep);
}

.area-title {
  font-size: 1.524rem;
  margin-bottom: 0.875rem;
}

.area-desc {
  color: var(--text-muted);
  font-size: 1.0333rem;
  line-height: 1.6;
}

/* ---------- Section: Team / Equipo ---------- */
.team-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--slate-border);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9644rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy-deep);
  color: var(--gold-light);
  border-color: var(--navy-deep);
  box-shadow: 0 4px 12px rgba(11, 19, 37, 0.2);
}

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

.team-card {
  background: var(--slate-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-border);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-primary);
}

.team-avatar-box {
  height: 320px;
  background: var(--navy-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-avatar-monogram {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #172a45 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s ease;
}

.team-avatar-monogram::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

.monogram-text {
  font-family: var(--font-serif);
  font-size: 4.2897rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.team-card:hover .team-avatar-img,
.team-card:hover .team-avatar-monogram {
  transform: scale(1.04);
}

.team-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.4901rem;
  font-family: var(--font-serif);
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9369rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-bio {
  font-size: 0.9644rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-grow: 1;
}

.team-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 0.75rem;
  margin-top: auto;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.team-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8818rem;
  color: var(--navy-main);
  font-weight: 500;
}

.btn-modal-trigger {
  font-size: 0.8818rem;
  color: var(--gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.team-card:hover .btn-modal-trigger,
.pub-card:hover .btn-modal-trigger {
  color: var(--navy-deep);
}

/* ---------- Team Member Modal ---------- */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.team-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

.team-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 37, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.team-modal-dialog {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-primary);
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.team-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(11, 19, 37, 0.08);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 2.032rem;
  color: var(--navy-deep);
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-modal-close:hover {
  background: var(--navy-deep);
  color: var(--gold-light);
  transform: rotate(90deg);
}

.team-modal-content {
  padding: 2.5rem;
}

.team-modal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .team-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .team-modal-content {
    padding: 1.5rem;
  }
}

.team-modal-img-wrapper {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-main);
  position: sticky;
  top: 0;
}

.team-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-modal-badge {
  display: inline-block;
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-dark);
  border: 1px solid rgba(197, 160, 89, 0.4);
  font-size: 0.8818rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.team-modal-name {
  font-family: var(--font-serif);
  font-size: 2.3706rem;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.team-modal-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-main);
  font-weight: 600;
  font-size: 1.0471rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-modal-email:hover {
  color: var(--gold-dark);
}

.team-modal-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-border);
}

.team-modal-subtitle {
  font-size: 1.2418rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.team-modal-subtitle i {
  color: var(--gold-primary);
}

.team-modal-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.area-badge {
  background: var(--navy-deep);
  color: var(--gold-light);
  font-size: 0.8955rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(11, 19, 37, 0.15);
}

.team-modal-bio,
.team-modal-text {
  font-size: 1.0746rem;
  color: #334155;
  line-height: 1.75;
  white-space: pre-line;
}

.team-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.team-modal-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0471rem;
  color: #334155;
  line-height: 1.6;
}

.team-modal-list li::before {
  content: "•";
  position: absolute;
  left: 0.4rem;
  top: 0;
  color: var(--gold-primary);
  font-size: 1.3547rem;
  line-height: 1.4;
}

.team-modal-recognitions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.recognition-badge-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--slate-bg);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.recognition-badge-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}

.recognition-badge-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}

.recognition-badge-info {
  display: flex;
  flex-direction: column;
}

.recognition-badge-title {
  font-size: 0.9369rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
}

.recognition-badge-year {
  font-size: 0.8542rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ---------- Section: Platform Access Banner ---------- */
.platform-banner {
  background: linear-gradient(135deg, #0B1325 0%, #172443 100%);
  color: var(--text-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.platform-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 90% 50%, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
}

.platform-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.platform-title {
  color: var(--text-white);
  font-size: 2.54rem;
  margin-bottom: 1rem;
}

.platform-desc {
  color: var(--text-light);
  font-size: 1.1711rem;
  margin-bottom: 2rem;
}

.platform-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  list-style: none;
}

.platform-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.0333rem;
  color: rgba(255, 255, 255, 0.9);
}

.platform-features-list li i {
  color: var(--gold-primary);
}

/* ---------- Section: Contact & Location ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--navy-deep);
  color: var(--text-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: var(--text-white);
  font-size: 1.9755rem;
  margin-bottom: 1.5rem;
}

.contact-detail-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.524rem;
  flex-shrink: 0;
}

.contact-detail-content h5 {
  color: var(--gold-light);
  font-size: 1.1022rem;
  margin-bottom: 0.25rem;
}

.contact-detail-content p {
  color: var(--text-light);
  font-size: 1.0333rem;
}

.contact-form-card {
  background: var(--slate-surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9644rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-border);
  font-family: var(--font-sans);
  font-size: 1.0333rem;
  background-color: var(--slate-bg);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background-color: var(--slate-surface);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--text-light);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-heading {
  color: var(--gold-primary);
  font-size: 0.9644rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 1.0333rem;
}

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

.footer-areas-col {
  width: 100%;
}

.footer-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.footer-areas-grid .footer-links li {
  margin-bottom: 0.6rem;
}

.footer-areas-grid .footer-links a {
  font-size: 0.925rem;
  line-height: 1.45;
  display: inline-block;
  color: var(--text-light);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-areas-grid .footer-links a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

.footer-contact-col .footer-links li {
  margin-bottom: 0.75rem;
}

.footer-contact-col .footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer-contact-col .footer-links a:hover {
  color: var(--gold-light);
}

.footer-actions-card {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brochure-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  height: 42px;
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.footer-brochure-btn:hover {
  background: var(--gold-primary);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

.footer-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--gold-primary) !important;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.footer-linkedin-btn:hover {
  background: var(--gold-primary);
  color: var(--navy-deep) !important;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.footer-linkedin-btn i {
  font-size: 1.25rem;
  line-height: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8955rem;
  color: var(--text-light);
}

.footer-developer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.forjalabs-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-white);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.forjalabs-link:hover {
  color: var(--gold-light);
  opacity: 0.9;
}

.forjalabs-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.forjalabs-link:hover .forjalabs-logo {
  transform: scale(1.08);
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .platform-box, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-areas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    padding: 4rem 0 6rem;
  }
}

/* ---------- Section: Reconocimientos / Awards Carousel ---------- */
.awards-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 3rem;
  padding: 0 3.25rem;
}

.awards-carousel-container {
  overflow: hidden;
  width: 100%;
}

.awards-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.award-badge-card {
  background: var(--slate-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex: 0 0 calc(25% - 1.125rem);
  box-sizing: border-box;
  height: 140px;
}

@media (max-width: 992px) {
  .award-badge-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .awards-carousel-wrapper {
    padding: 0 2.5rem;
  }
  .award-badge-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 480px) {
  .awards-carousel-wrapper {
    padding: 0 2rem;
  }
  .award-badge-card {
    flex: 0 0 100%;
  }
}

.award-badge-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.4);
}

.award-badge-img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.awards-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4111rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.awards-carousel-btn.prev-btn {
  left: 0;
}

.awards-carousel-btn.next-btn {
  right: 0;
}

.awards-carousel-btn:hover {
  background: var(--gold-primary);
  color: var(--navy-dark);
  transform: translateY(-50%) scale(1.1);
}

.awards-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.awards-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.awards-dot.active {
  background: var(--gold-primary);
  width: 24px;
  border-radius: 6px;
}

/* ---------- Section: Publicaciones & Actualidad Tabs ---------- */
.publications-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.pub-tab-btn {
  background: var(--slate-surface);
  color: var(--text-muted);
  border: 1px solid var(--slate-border);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.992rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pub-tab-btn:hover {
  color: var(--gold-primary);
  border-color: rgba(197, 160, 89, 0.5);
  background: var(--navy-dark);
}

.pub-tab-btn.active {
  background: var(--navy-dark);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.pub-card {
  background: var(--slate-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.pub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.4);
}

.pub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pub-category-badge {
  font-size: 0.8267rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.pub-badge-doctrina {
  background: rgba(197, 160, 89, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.pub-badge-alerta {
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.pub-badge-noticia {
  background: rgba(13, 202, 240, 0.15);
  color: #0dcaf0;
  border: 1px solid rgba(13, 202, 240, 0.3);
}

.pub-date {
  font-size: 0.8818rem;
  color: var(--text-muted);
}

.pub-title {
  font-size: 1.2418rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.pub-author {
  font-size: 0.8955rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.pub-excerpt {
  font-size: 0.9644rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pub-card-footer {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-border);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
