/*
Theme Name: Tema Viera Abogados
Theme URI: https://estudioabogados.local
Author: VC Studio 
Author URI: https://estudioabogados.local
Description: Theme profesional 100% nativo para landing page de estudio de abogados
Version: 1.0.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tema-viera-abogados
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/
/* ========================================
   VARIABLES CSS - Paleta y Tipografía
   ======================================== */

:root {
  /* Colores */
  --color-primary: #233050;       /* Azul oscuro principal */
  --color-dark: #222F50;          /* Azul oscuro variante */
  --color-secondary: #C9A84C;     /* Dorado */
  --color-white: #FFFFFF;         /* Blanco puro */
  --color-white-alpha: #FFFFFFBF; /* Blanco con 75% de opacidad */

  /* Tipografía */
  --font-main: Verdana, Geneva, Tahoma, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;
  --font-size-3xl: 48px;

  /* Espaciado */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  /* Espaciado lateral (márgenes de pantalla) */
  --lateral-spacing: clamp(48px, 6vw, 140px);
  --header-spacing: clamp(48px, 5vw, 120px);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ========================================
   RESET Y ESTILOS BASE
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-primary);
  line-height: 1.6;
}

/* Tipografía Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: bold;
  line-height: 1.2;
}

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

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

.container {
  width: 100%;
  max-width: calc(1280px + 2 * var(--lateral-spacing));
  margin: 0 auto;
  padding: 0 var(--lateral-spacing);
}

/* ========================================
   ANIMACIÓN DE APARICIÓN AL SCROLL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

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

/* ========================================
   RESPONSIVO (MEDIA QUERIES)
   ======================================== */

@media (max-width: 768px) {
  :root {
    --font-size-3xl: 36px;
    --font-size-2xl: 28px;
    --font-size-xl: 22px;
    
    --spacing-3xl: 48px;
    --spacing-2xl: 32px;

    --lateral-spacing: clamp(20px, 5vw, 40px);
    --header-spacing: clamp(20px, 5vw, 40px);
  }

  .sp-cover {
    margin-left: calc(-1 * var(--lateral-spacing));
    margin-right: calc(-1 * var(--lateral-spacing));
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-3xl: 32px;
    --font-size-2xl: 24px;
    --font-size-xl: 20px;
  }
}

/* ========================================
   PANTALLA DE CARGA
   ======================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 1;
}

.preloader-logo {
  position: relative;
  z-index: 4;
  height: 220px;
}

.preloader-logo svg {
  height: 100%;
  width: auto;
}

.preloader-logo-outline {
  animation: logoGlow 2.2s ease forwards;
}

@keyframes logoGlow {
  0%, 85% {
    filter: drop-shadow(0 0 0px rgba(255,255,255,0));
  }
  100% {
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.5));
  }
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 992px) {
  .preloader-logo {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .preloader-logo {
    height: 120px; 
  }
}



/* ========================================
   HEADER PRINCIPAL
   ======================================== */

.site-header {
  background: linear-gradient(90deg, #202B50 0%, #02A7B6 100%);
  position: sticky;
  top: 0;
  z-index: 99;
}

.site-header .container {
  padding-left: var(--header-spacing);
  padding-right: var(--header-spacing);
}

.header-content {
  display: flex;
  align-items: center;
  height: 100px;
  transition: height 0.35s ease;
}

.site-header.is-scrolled .header-content {
  height: 72px;
}

.site-header.is-scrolled .logo img {
  height: 56px;
  transition: height 0.35s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  padding-left: 45px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--color-white-alpha, rgba(255, 255, 255, 0.8));
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding-bottom: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav li.current-menu-item a {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.btn-outline {
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--color-primary, #202B50);
}

.btn-search {
  background: none;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
}

.btn-search:hover {
  transform: scale(1.1);
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 105.35px;
  height: 47.35px;
  padding: 3px 4px;
  background-color: #046D7A;
  border-radius: 39px;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: 'Verdana', sans-serif;
  font-size: 16px;
  line-height: 27px;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-switch.is-es .lang-opt:first-child {
  background-color: #118593;
  color: #F0F0F0;
}

.lang-switch.is-es .lang-opt:last-child {
  background-color: #0A5660;
  color: #074750;
}

.lang-switch.is-en .lang-opt:first-child {
  background-color: #0A5660;
  color: #074750;
}

.lang-switch.is-en .lang-opt:last-child {
  background-color: #118593;
  color: #F0F0F0;
}

/* Switch de idioma dentro del menú móvil (oculto en desktop). */
.mobile-lang-switch {
  display: none;
}

/* ========================================
   PANEL DE BÚSQUEDA
   ======================================== */

.search-backdrop {
  position: fixed;
  inset: 0;
  background: #00000063;
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 100px;
  z-index: 99;
  box-sizing: border-box;
  min-height: 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 40px 0 36px;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(0deg, rgba(34, 47, 80, 0.6), rgba(34, 47, 80, 0.6)), linear-gradient(90deg, #202B50 0%, #02A7B6 100%);
  border-top: 1px solid #FFFFFF;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

body.search-open {
  overflow: hidden;
}

body.search-open .search-backdrop {
  opacity: 1;
  visibility: visible;
}

body.search-open .search-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.search-panel .container {
  width: 100%;
  padding-left: calc(var(--lateral-spacing) + 72px);
  padding-right: calc(var(--lateral-spacing) + 72px);
}

.search-panel-top {
  display: flex;
  justify-content: flex-end;
  margin: 0 -72px 16px;
}

.search-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #FFFFFF;
}

.search-close:hover {
  opacity: 0.8;
}

.search-panel-form {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1020px;
  height: 64px;
  margin: 0 auto;
  padding: 0 3px 0 37px;
  background: #1F3D57;
  border: 1px solid #FFFFFF;
  border-radius: 200px;
}

.search-panel-submit {
  background: #0B869A;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 59px;
  height: 59px;
  border-radius: 50%;
}

.search-panel-submit svg {
  width: 26px;
  height: 26px;
}

.search-panel-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  padding: 0;
}

.search-panel-input::placeholder {
  color: #209FB8;
  opacity: 1;
}

/* Oculta la X nativa del input search (WebKit/Edge): usamos Cerrar + Borrar todo propios. */
.search-panel-input::-webkit-search-cancel-button,
.search-panel-input::-webkit-search-decoration,
.search-panel-input::-webkit-search-results-button,
.search-panel-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search-panel-input::-ms-clear,
.search-panel-input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.search-panel-body {
  width: 100%;
  max-width: 1000px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 380px);
  min-height: 120px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-initial {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-initial[hidden],
.search-results[hidden],
.search-recent[hidden],
.search-results-empty[hidden] {
  display: none !important;
}

.search-label-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.search-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.search-clear-all {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #59BFC7;
  cursor: pointer;
  flex-shrink: 0;
}

.search-clear-all:hover {
  text-decoration: underline;
}

.search-recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  max-height: 210px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-recent-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.search-recent-go {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.search-recent-go:hover span:last-child {
  text-decoration: underline;
}

.search-recent-clock {
  display: inline-flex;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.search-recent-del {
  background: none;
  border: none;
  padding: 0 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  flex-shrink: 0;
}

.search-recent-del:hover {
  color: #ffffff;
}

.search-popular {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-popular-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.search-pill {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: background 0.25s ease;
}

.search-pill:hover {
  background: rgba(255, 255, 255, 0.12);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-results-count {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.search-results-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search-group-label {
  margin: 0 0 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.search-result-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  text-decoration: none;
  border-radius: 4px;
}

.search-result-card:hover .search-result-title {
  text-decoration: underline;
}

.search-result-icon {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.85);
}

.search-result-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.search-result-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 18px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-sub {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-arrow {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.search-results-empty {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   ESTILOS RESPONSIVOS
   ======================================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1000; 
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
  .header-content {
    height: 70px;
    justify-content: space-between;
  }
  
  .header-right {
    flex-grow: 0;
    padding-left: 0;
    justify-content: flex-end;
  }

  .logo img {
    height: 48px;
  }

  .site-header.is-scrolled .header-content {
    height: 56px;
  }

  .site-header.is-scrolled .logo img {
    height: 40px;
  }

  .desktop-only {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
    margin-left: 20px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 300px;
    max-width: 80%; 
    height: 100vh;
    background-color: var(--color-primary, #202B50); 
    padding: 90px 30px 40px; 
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .site-nav.is-active {
    right: 0; 
  }

  .site-nav ul {
    flex-direction: column;
    gap: 25px;
  }

  .site-nav a {
    font-size: 16px; 
    display: block;
  }

  .mobile-lang-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-lang-switch .mobile-lang-opt {
    color: var(--color-white-alpha, rgba(255, 255, 255, 0.8));
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 6px;
  }

  .mobile-lang-switch .mobile-lang-opt.is-current {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
  }

  .mobile-lang-switch .mobile-lang-sep {
    color: rgba(255, 255, 255, 0.4);
  }

  .search-panel {
    min-height: 0;
    padding: 36px 0;
  }

  .search-panel .container {
    padding-left: var(--lateral-spacing);
    padding-right: var(--lateral-spacing);
  }

  .search-panel-top {
    margin: 0 0 12px;
  }

  .search-close {
    font-size: 17px;
  }

  .search-panel-form {
    height: 56px;
    padding: 0 3px 0 24px;
  }

  .search-panel-input {
    font-size: 18px;
  }

  .search-panel-submit {
    width: 50px;
    height: 50px;
  }

  .search-panel-submit svg {
    width: 22px;
    height: 22px;
  }

  .search-panel-body {
    max-height: calc(100vh - 180px);
  }

  .search-recent-go {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .header-content {
    height: 60px; 
  }

  .logo img {
    height: 40px;
  }

  .site-header.is-scrolled .header-content {
    height: 50px;
  }

  .site-header.is-scrolled .logo img {
    height: 34px;
  }

  .header-actions {
    gap: 15px; 
  }
}

/* ========================================
   HERO SECCIÓN
   ======================================== */
.hero-viera {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0b1a30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,26,48,.72) 0%, rgba(11,26,48,.45) 55%, rgba(11,26,48,.25) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 120px;
}

.hero-content-box {
  max-width: 680px;
  color: #ffffff;
}

.hero-overline {
  display: block;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-divider {
  width: 45px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  margin: 0;
  flex-shrink: 0;
}

.hero-subtitle {
  font-size: 16px;
  margin: 0;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 2px;
}

.btn-solid-white {
  background-color: #ffffff;
  color: #0b1a30;
  border: 1px solid #ffffff;
}

.btn-solid-white:hover {
  background-color: transparent;
  color: #ffffff;
}

.btn-outline-white {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: #0b1a30;
  border-color: #ffffff;
}

/* ========================================
   SECCIÓN AWARDS
   ======================================== */
.awards-desktop-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1D1D1D;
  z-index: 5;
}

.awards-desktop-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  min-height: 85px;
}

.awards-desktop-header {
  padding: 18px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
}

.awards-bar-pretitle {
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.awards-bar-title {
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}

.awards-desktop-logos {
  display: flex;
  flex: 1;
}

.award-desktop-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  position: relative;
}

.award-desktop-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 75%;
  width: 1px;
  background: #D9D9D9;
}

.award-desktop-item:last-child::after {
  display: none;
}

.award-desktop-item img {
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.award-desktop-item:hover img {
  opacity: 1;
  transform: scale(1.03);
}

/* Ocultar sección móvil en desktop */
.awards-mobile-section {
  display: none;
}

/* ========================================
   RESPONSIVE / MOBILE
   ======================================== */
@media (max-width: 991px) {
  .hero-viera {
    min-height: 80vh;
    padding-bottom: 0;
    justify-content: end;
  }

  .hero-container {
    padding-top: 80px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 34px;
    text-transform: none;
    font-weight: 700;
  }

  .hero-divider {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 25px;
  }

  .btn-hero {
    width: 100%;
    padding: 16px;
    font-size: 12px;
  }

  .btn-arrow-desktop {
    display: none;
  }

  .awards-desktop-bar {
    display: none;
  }

  .awards-mobile-section {
    display: block;
    background-color: #f7f9fc;
    padding: 30px 16px;
    border-top: 1px solid #e5e9f0;
  }

  .awards-mobile-title {
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #142a4a;
    font-weight: 700;
    margin-bottom: 20px;
  }

  .awards-mobile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .award-mobile-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
  }

  .award-mobile-card img {
    max-height: 28px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  
  .awards-mobile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .award-mobile-card {
    padding: 6px;
    height: 52px;
  }
}

/* ========================================
  SECCIÓN SERVICIOS
   ======================================== */
.section-servicios {
  background-color: #EFF2FA;
  padding: 80px 0;
}

#servicios-container {
  position: relative;
}

.section-title-left {
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 40px;
  font-weight: bold;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  transition: opacity 0.35s ease;
}

.service-card-viera {
  background-color: var(--color-white);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 0.5px solid #AAAAAA;
  transition: transform 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

.service-card-viera:hover {
  transform: translateY(-8px) scale(1.02);
  border: 1px solid #8497C7;
  border-bottom: 6px solid var(--color-primary);
  box-shadow: 0 15px 30px rgba(35, 48, 80, 0.1);
}

.service-title {
  font-family: var(--font-main);
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: normal;
}

.service-description {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-servicios {
    background-color: #ffffff;
    padding: 40px 0;
  }

  .section-title-left {
    font-size: 13px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    color: #233050;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card-viera {
    background-color: #f4f6fa;
    border: none;
    border-radius: 8px;
    padding: 24px 20px;
    min-height: auto;
    box-shadow: none;
    transform: none !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
  }

  .service-content {
    margin-bottom: 16px;
  }

  .service-title {
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
    color: #233050;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }

  .service-description {
    font-size: 13px;
    line-height: 1.5;
    color: #7a869a;
    margin-bottom: 0;
    transition: color 0.3s ease;
  }

  .service-card-viera:hover,
  .service-card-viera:active,
  .service-card-viera.active {
    background-color: #233050;
    border: none;
    border-bottom: none;
    box-shadow: 0 8px 20px rgba(35, 48, 80, 0.15);
  }

  .service-card-viera:hover .service-title,
  .service-card-viera:active .service-title,
  .service-card-viera.active .service-title {
    color: #ffffff;
  }

  .service-card-viera:hover .service-description,
  .service-card-viera:active .service-description,
  .service-card-viera.active .service-description {
    color: #cad3e2;
  }
}

/* ========================================
   SECCIÓN TEXTO ANIMADO
   ======================================== */
.animated-text-section {
  padding: 0;
  background-color: #EFF2FA;
  overflow: hidden;
  position: relative;
}

.animated-text-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  clip-path: polygon(0 100%, 0 50%, 100% 0%, 100% 100%);
  z-index: 0;
}

.animated-heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  font-size: clamp(36px, 8vw, 96px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  color: var(--color-primary);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.slide-element {
  display: block;
  opacity: 0;
}

.slide-left {
  transform: translateX(-150px);
  align-self: flex-start;
  padding-left: 2%;
}

.slide-right {
  transform: translateX(150px);
  align-self: flex-end; 
  padding-right: 2%;
}

/* ========================================
   RESPONSIVe
   ======================================== */
@media (max-width: 992px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .animated-heading {
    font-size: clamp(28px, 7.5vw, 62px);
  }
}

@media (max-width: 768px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  
  .animated-text-section {
    display: none;
  }
  
  .animated-heading {
    font-size: 12vw;
  }
  
  .slide-left, .slide-right {
    align-self: center;
    padding: 0;
    white-space: normal;
    text-align: center;
  }
}

/* ========================================
   SECCIÓN EXPERIENCIA
   ======================================== */
.section-experiencia {
  padding: 100px 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.experiencia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.experiencia-imagen-col {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.experiencia-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experiencia-img-overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background-color: rgba(35, 48, 80, 0.45);
  pointer-events: none;
}

.experiencia-content-col {
  padding-right: 20px;
  padding-block: 40px;
}

.exp-pre-titulo {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.exp-titulo {
  font-family: var(--font-main);
  font-size: 24px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.exp-subtitulo {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 30px;
  line-height: 1.6;
}

.sectores-wrapper {
  position: relative;
  max-height: 480px;
  overflow: hidden;
}

.sectores-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 480px;
  overflow-y: auto;
  scrollbar-width: none;
}

.sectores-list::-webkit-scrollbar {
  display: none;
}

.sector-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #E0E4E8;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.sector-item.is-open {
  border-bottom: 1px solid transparent;
}

.sector-item:last-child {
  border-bottom: none;
  margin-bottom: 60px;
}

.sector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.sector-nombre {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sector-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex-shrink: 0;
}

.sector-icon::before {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.sector-header:hover,
.sector-item.is-open .sector-header {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.sector-item.is-open .sector-icon::before {
  content: '–';
}

.sector-body {
  height: 0;
  overflow: hidden;
  background-color: #F4F7F9;
}

.sector-body-content {
  padding: 25px;
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.sectores-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sectores-wrapper.has-open .sectores-fade-overlay {
  opacity: 1;
}

.sectores-fade-overlay svg {
  animation: bounceArrow 2s infinite;
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}
/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .section-experiencia {
    padding: 50px 0;
    background-color: #f7f9fc;
  }

  .experiencia-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .experiencia-imagen-col {
    display: none;
  }

  .experiencia-content-col {
    padding: 0;
  }

  .exp-pre-titulo {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #7a869a;
    margin-bottom: 6px;
  }

  .exp-titulo {
    font-size: 20px;
    font-weight: 700;
    color: #233050;
    text-transform: none;
    margin-bottom: 12px;
  }

  .exp-subtitulo {
    font-size: 13px;
    color: #7a869a;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .sectores-wrapper {
    max-height: none;
    overflow: visible;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 43, 69, 0.06);
    overflow: hidden;
  }

  .sectores-list {
    max-height: none;
    overflow: visible;
  }

  .sector-item {
    border-bottom: 1px solid #edf0f5;
    background-color: #ffffff;
    transition: background-color 0.25s ease;
  }

  .sector-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .sector-header {
    padding: 18px 20px;
    color: #233050;
    background-color: transparent;
  }

  .sector-nombre {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }

  .sector-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sector-icon::before {
    font-size: 18px;
    font-weight: 400;
    color: currentColor;
  }

  .sector-item.is-open {
    background-color: #233050;
    border-bottom: 1px solid transparent;
  }

  .sector-item.is-open .sector-header {
    background-color: #233050;
    color: #ffffff;
    padding-bottom: 10px;
  }

  .sector-item.is-open .sector-icon::before {
    content: '–';
    color: #ffffff;
  }

  .sector-item.is-open .sector-body {
    height: auto;
    background-color: #233050;
  }

  .sector-body-content {
    padding: 0 20px 20px 20px;
    font-size: 12px;
    line-height: 1.6;
    color: #d1d8e3;
  }

  .sectores-fade-overlay {
    display: none !important;
  }
}


/* ========================================
   SECCIÓN CLIENTES
   ======================================== */
.section-clientes {
  background: linear-gradient(0deg, rgba(34, 47, 80, 0.2), rgba(34, 47, 80, 0.2)), linear-gradient(90deg, #202B50 0%, #02A7B6 100%);
  position: relative;
  width: 100%;
  margin: 36px 0;
  overflow: hidden;
  
  transition: padding 1s cubic-bezier(0.25, 1, 0.5, 1), 
              clip-path 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-clientes {
  padding: 8vw 0;
  clip-path: polygon(0 6vw, 100% 0, 100% calc(100% - 6vw), 0 100%);
}


.section-clientes.is-collapsed {
  padding: 2vw 0;
  clip-path: polygon(0 2vw, 100% 0, 100% calc(100% - 2vw), 0 100%);
}

.clientes-titulo {
  font-family: var(--font-main);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 0;
  transition: margin 1s ease;
}

.section-clientes:not(.is-collapsed) .clientes-titulo {
  margin-bottom: 50px;
}

.clientes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;

  max-height: 2500px;
  opacity: 1;
  transition: max-height 1s ease, opacity 0.8s ease;
}

.cliente-logo-wrapper {
  flex: 0 0 calc((100% - 90px) / 7);
  min-width: 160px;
}

.section-clientes .container {
  max-width: none;
  padding: 0 20px;
}

.section-clientes.is-collapsed .clientes-grid {
  max-height: 0;
  opacity: 0;
  pointer-events: none; /* Evita clics ocultos */
}

.cliente-logo-wrapper {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
}

.cliente-logo-wrapper.is-visible {
  animation: logoRise 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes logoRise {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cliente-logo-box {
  width: 100%;
  height: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cliente-logo-box:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.cliente-logo-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  
  filter: brightness(0) invert(1) opacity(0.7);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.cliente-logo-box:hover img {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.1);
}

.clientes-btn-cargar {
  display: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .cliente-logo-wrapper {
    flex: 0 0 calc((100% - 60px) / 5);
    min-width: 130px;
  }
  .clientes-grid {
    gap: 15px;
  }
  .cliente-logo-box {
    height: 90px;
    padding: 12px 15px;
  }
}

@media (max-width: 768px) {
  .cliente-logo-wrapper {
    flex: 0 0 calc((100% - 30px) / 3);
    min-width: 0;
  }
  .section-clientes,
  .section-clientes.is-collapsed {
    clip-path: none;
    margin: 0;
    padding: 40px 0;
  }
  .clientes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .cliente-logo-box {
    height: 80px;
    padding: 10px;
  }

  .cliente-logo-wrapper {
    opacity: 1;
    transform: none;
  }

  .cliente-logo-wrapper.is-visible {
    animation: none;
  }

  .cliente-logo-wrapper.is-below-fold {
    display: none;
  }

  .cliente-logo-wrapper.is-below-fold.is-revealed {
    display: block;
    animation: logoRise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .section-clientes .clientes-grid,
  .section-clientes.is-collapsed .clientes-grid {
    max-height: none;
    opacity: 1;
    pointer-events: auto;
  }

  .cliente-logo-box img {
    filter: brightness(0) invert(1) opacity(1);
  }

  .clientes-btn-cargar {
    display: block;
    width: 100%;
    margin: 24px auto 0;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    line-height: 11px;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.5);
  }

  .section-clientes.is-expanded .clientes-btn-cargar {
    display: none;
  }
}

/* ========================================
   SECCIÓN NUESTRO EQUIPO
   ======================================== */
.section-equipo {
  padding: 80px 0;
  background-color: var(--color-white);
}

.equipo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.equipo-pre-title {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.equipo-main-title {
  font-size: 24px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin: 0;
}

.equipo-enlace {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--color-primary);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 4px;
  transition: opacity 0.3s ease;
}

.equipo-enlace:hover {
  opacity: 0.7;
}

.equipo-layout {
  display: flex;
  gap: 30px;
}


.fundador-card {
  width: 50%;
  display: flex;
  background-color: var(--color-primary);
}

.fundador-img-box {
  width: 50%;
  position: relative;
}

.fundador-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fundador-info-box {
  width: 50%;
  padding: 40px 30px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fundador-tag {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.fundador-nombre {
  font-size: 22px;
  margin-bottom: 5px;
  color: var(--color-white);
}

.fundador-cargo {
  font-size: 12px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.fundador-bio {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.equipo-slider-container {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.equipo-mobile-wrap {
  display: none;
}

.equipo-slider-overflow {
  overflow: hidden;
  width: 100%;
  padding: 0 2px;
}

.equipo-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
}

.miembro-card {
  flex: 0 0 calc(50% - 10px);
  display: flex;
  flex-direction: column;
  border: 1px solid #E0E4E8;
  background-color: var(--color-white);
}

.miembro-img-wrap {
  position: relative;
  aspect-ratio: 272 / 366;
  overflow: hidden;
  background-color: #e9ecef;
}

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

.miembro-nombre-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.miembro-nombre-overlay h4 {
  color: var(--color-white);
  margin: 0;
  font-size: 16px;
}

.miembro-info-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.miembro-cargo {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.miembro-bio {
  font-size: 11px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.miembro-email {
  font-size: 11px;
  color: #4A90E2;
  text-decoration: none;
  margin-bottom: 20px;
  word-break: break-all;
}

.miembro-email:hover {
  text-decoration: underline;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.linkedin-btn svg {
  width: 20px;
  height: auto;
}

.linkedin-btn.dark {
  background-color: #1a243b;
  color: var(--color-white);
}

.linkedin-btn.light {
  background-color: transparent;
  color: var(--color-primary);
}

.linkedin-btn:hover {
  opacity: 0.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .equipo-layout {
    flex-direction: column;
    gap: 30px;
  }
  .fundador-card,
  .equipo-slider-container {
    width: 100%;
  }
  .fundador-card { flex-direction: row; }
  .fundador-img-box,
  .fundador-info-box {
    width: 50%;
  }
  .fundador-img-box {
    height: auto;
    aspect-ratio: 3 / 3;
    overflow: hidden;
  }
  .fundador-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .fundador-info-box {
    padding: 30px;
  }
  .miembro-card {
    flex: 0 0 calc(33.333% - 14px);
  }
  .miembro-img-wrap {
    height: auto;
  }
}

@media (max-width: 768px) {
  .equipo-layout { flex-direction: column; }
  .fundador-card, .equipo-slider-container { width: 100%; }
  .miembro-card {
    flex: 0 0 100%;
  }

  .fundador-card {
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    align-self: stretch;
    background-color: #233050;
    border-radius: 8px;
    overflow: hidden;
  }

  .fundador-img-box {
    width: 100%;
    height: 430px;
    aspect-ratio: 350 / 430;
    overflow: hidden;
    border-radius: 0;
  }

  .fundador-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .fundador-info-box {
    width: 100%;
    min-height: 146px;
    padding: 20px;
    gap: 6px;
    justify-content: flex-start;
  }

  .fundador-tag {
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 13px;
    letter-spacing: 1px;
    color: #99A6CC;
  }

  .fundador-nombre {
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    color: #FFFFFF;
  }

  .fundador-cargo {
    display: none;
  }

  .fundador-bio {
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 145%;
    color: #D9DEEB;
  }

  .fundador-info-box .linkedin-btn {
    display: none;
  }

  .miembro-card {
    flex: 0 0 100%;
  }

  .equipo-enlace { display: none; }
  .equipo-pre-title { display: none; }

  .equipo-slider-container { display: none; }

  .equipo-mobile-wrap {
    display: block;
    margin-top: 30px;
  }

  .equipo-miembros-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .equipo-miembros-mobile .miembro-card {
    flex: 0 0 auto;
  }

  .miembro-card--mobile {
    border-color: #B8B8B8;
  }

  .miembro-card--mobile .miembro-img-wrap {
    height: auto;
    aspect-ratio: 350 / 420;
    overflow: hidden;
  }

  .miembro-card--mobile .miembro-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .miembro-card--mobile .miembro-info-wrap {
    padding: 20px;
    gap: 12px;
    justify-content: flex-start;
  }

  .miembro-card--mobile .miembro-nombre {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    color: #222F50;
  }

  .miembro-card--mobile .miembro-cargo {
    margin: 0;
    font-size: 16px;
    color: #B8B8B8;
  }

  .miembro-card--mobile .miembro-bio {
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: #222F50;
    flex-grow: 0;
  }

  .miembro-card--mobile .miembro-email {
    font-size: 13px;
    color: #B9B9B9;
    text-decoration: underline;
    margin: 0;
  }

  .miembro-card--mobile .linkedin-btn {
    width: 41px;
    height: 41px;
    background-color: #242424;
    margin-top: auto;
  }

  .miembro-card--mobile .linkedin-btn svg {
    width: 22px;
  }

  .equipo-btn-ver {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 30px;
    border: 1px solid #233050;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #233050;
    text-decoration: none;
  }
}

/* ========================================
   SECCIÓN KPIs
   ======================================== */
.section-kpis {
  background-color: #202020;
  padding: 33px 0;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.kpis-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.kpi-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 22px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.kpi-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  height: 100%;
  width: 2px;
  background-color: #515151;
}

.kpi-number-wrap {
  font-family: var(--font-main, sans-serif);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.kpi-symbol {
  font-weight: 800;
  font-size: 44px;
}

.kpi-prefix {
  margin-right: 4px;
}

.kpi-suffix {
  margin-left: 2px;
}

.kpi-counter {
  display: inline-block;
}

.kpi-label {
  font-size: 14px;
  line-height: 1;
  font-weight: 300;
  margin: 0;
  color: #FFFFFF;
  max-width: 190px;
}

.kpi-item--optional {
  display: none;
}

.kpi-item:nth-child(3):nth-last-child(2)::after {
  display: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .section-kpis {
    background-color: #f7f9fc;
    padding: 45px 20px;
    border-top: none;
  }

  .kpis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
    column-gap: 20px;
  }

  .kpi-item {
    padding: 0;
    align-items: center;
    text-align: center;
  }

  .kpi-item:not(:last-child)::after {
    display: none;
  }

  .kpi-number-wrap {
    color: #1e2b45;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 6px;
  }

  .kpi-symbol {
    color: #1e2b45;
    font-size: 32px;
  }

  .kpi-item:nth-child(3):last-child {
    grid-column: span 2;
  }

  .kpi-item--optional {
    display: flex;
  }

  .kpi-label {
    font-size: 13px;
    color: #6e7b91;
    line-height: 1.35;
    font-weight: 400;
    max-width: 160px;
  }
}

@media (max-width: 380px) {
  .kpi-number-wrap {
    font-size: 30px;
  }
  .kpi-symbol {
    font-size: 24px;
  }
}

/* ========================================
   SECCIÓN AGENDAR CITA
   ======================================== */
.section-agenda {
  background-color: #F2F5F9;
  padding: 100px 0 160px;
  
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
  position: relative;
}

.agenda-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 32px;
}

.agenda-pre-titulo {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6B7385;
}

.agenda-titulo {
  font-family: var(--font-main);
  font-size: 32px;
  color: #222F50;
  text-transform: none;
  font-weight: 700;
  line-height: 39px;
  margin: 0;
}

.agenda-desc {
  font-size: 14px;
  color: #6B7385;
  line-height: 17px;
  margin: 0;
}

.agenda-grid {
  display: grid;
  grid-template-columns: minmax(340px, 380px) 1fr;
  gap: 32px;
  align-items: stretch;
}

.agenda-calendar-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Calendario */
.calendar-card {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.45);
  padding: 32px;
  flex: 1;
}

.calendar-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-nav {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  color: #808799;
}

.calendar-nav:hover {
  color: #222F50;
}

.calendar-month {
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: #222F50;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 28px);
  justify-content: space-between;
  margin-bottom: 6px;
}

.calendar-weekdays span {
  width: 28px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  color: #8C94A6;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 28px);
  justify-content: space-between;
  row-gap: 6px;
  margin-bottom: 20px;
}

.calendar-day {
  width: 28px;
  height: 28px;
  justify-self: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 12.5px;
  line-height: 15px;
  color: #222F50;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-day.is-empty {
  visibility: hidden;
}

.calendar-day.is-past {
  color: #CCCFD9;
  cursor: default;
}

.calendar-day.is-selected {
  background: #222F50;
  color: #FFFFFF;
  font-weight: 600;
}

.calendar-slots {
  margin-bottom: 20px;
}

.calendar-slots-title {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #808799;
  margin-bottom: 10px;
}

.calendar-slots-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-slot {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.4);
  font-size: 12.5px;
  line-height: 15px;
  color: #222F50;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-slot:hover:not(.is-disabled):not(.is-selected) {
  border-color: #222F50;
}

.calendar-slot.is-selected {
  background: #222F50;
  border-color: #222F50;
  color: #FFFFFF;
}

.calendar-slot.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calendar-divider {
  height: 1px;
  background: rgba(132, 151, 199, 0.25);
  margin-bottom: 20px;
}

.calendar-timezone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 15px;
  color: #808799;
}

.calendar-timezone-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #808799;
  flex-shrink: 0;
}

/* Formulario de reserva */
.booking-form {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.45);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.booking-form-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-form-titulo {
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: #222F50;
  margin: 0;
}

.booking-form-sub {
  font-size: 13px;
  font-weight: 400;
  line-height: 145%;
  color: #808799;
  margin: 0;
}

.booking-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-field label {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.4px;
  color: #222F50;
}

.booking-field label .booking-label-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #808799;
}

.booking-field input,
.booking-select-trigger {
  box-sizing: border-box;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: #F9FAFB;
  border: 1px solid rgba(132, 151, 199, 0.35);
  border-radius: 0;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 16px;
  color: #222F50;
}

.booking-field input::placeholder {
  color: #99A1AD;
}

.booking-field input:focus,
.booking-select-trigger:focus {
  outline: none;
  border-color: #222F50;
}

.booking-select {
  position: relative;
}

.booking-select-trigger {
  display: flex;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  text-align: left;
  cursor: pointer;
  color: #99A1AD;
}

.booking-select-trigger .booking-select-value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.booking-select-trigger.has-value {
  color: #222F50;
}

.booking-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #222F50;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.booking-select.is-open .booking-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.booking-select-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.35);
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(34, 47, 80, 0.14);
  max-height: 240px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}

.booking-select.is-open .booking-select-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.booking-select-option {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  font-size: 13.5px;
  line-height: 16px;
  color: #222F50;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.booking-select-option:hover {
  background-color: #F2F5F9;
  color: #222F50;
}

.booking-select-option.is-selected {
  background-color: #222F50;
  color: #FFFFFF;
}

.booking-note {
  background: #F9FAFB;
  padding: 14px 18px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 140%;
  color: #808799;
}

.booking-submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  background: #222F50;
  border: none;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.booking-submit:hover {
  background: #1a2540;
}

.booking-message {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.booking-message.is-success {
  color: #1a7f37;
}

.booking-message.is-error {
  color: #c0392b;
}

.btn-outline-dark {
  display: inline-block;
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline-dark:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.agenda-form-col {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.agenda-form-col .booking-form {
  flex: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .agenda-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calendar-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section-agenda {
    clip-path: none;
    padding-bottom: 0;
  }

  .agenda-heading {
    gap: 6px;
    margin-bottom: 24px;
  }

  .agenda-titulo {
    font-size: 24px;
    line-height: 30px;
  }

  .agenda-desc {
    font-size: 13px;
  }

  .calendar-card,
  .booking-form {
    padding: 24px 20px;
  }

  .booking-form-row {
    grid-template-columns: 1fr;
  }

  .booking-submit {
    width: 100%;
  }
}


/* ========================================
   SECCIÓN TRUST BADGES
   ======================================== */
.section-trust-badges {
  background-color: #FFFFFF;
  padding: 0;
}

.section-trust-badges .container {
  padding-top: 0;
  padding-bottom: 0;
}

.trust-badges {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.trust-badge {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 0;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.trust-badge + .trust-badge {
  border-left: 1px solid rgba(132, 151, 199, 0.35);
  padding-left: 32px;
}

.trust-badge-titulo {
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: #222F50;
}

.trust-badge-sub {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 15px;
  color: #808799;
}

@media (max-width: 768px) {
  .section-trust-badges {
    background-color: #F2F5F9;
    padding: 20px 0 28px;
  }

  .trust-badges {
    flex-direction: row;
    align-items: flex-start;
  }

  .trust-badge {
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 3px;
  }

  .trust-badge + .trust-badge {
    border-left: 1px solid rgba(132, 151, 199, 0.35);
    border-top: none;
    padding-left: 10px;
  }

  .trust-badge-titulo {
    font-size: 12.5px;
    line-height: 15px;
  }
}

/* ========================================
   SECCIÓN NOTICIAS Y CASOS
   ======================================== */
.section-noticias {
  padding: 80px 0;
  background-color: var(--color-white);
}

.noticias-header {
  margin-bottom: 40px;
}

.noticias-pre-titulo {
  display: block;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.noticias-titulo {
  font-family: var(--font-main);
  font-size: 32px;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 300;
  margin: 0;
}

.noticias-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 15px;
  margin-bottom: 15px;
}

.noticias-block.d-none {
  display: none;
}

.noticia-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  text-decoration: none;
  background-color: var(--color-primary);
}

.noticias-block .noticia-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.noticias-block .noticia-card:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 2; }
.noticias-block .noticia-card:nth-child(3) { grid-column: 4 / 5; grid-row: 1 / 2; }
.noticias-block .noticia-card:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; }
.noticias-block .noticia-card:nth-child(5) { grid-column: 4 / 5; grid-row: 2 / 3; }


.noticias-block.is-inverted .noticia-card:nth-child(1) {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}
.noticias-block.is-inverted .noticia-card:nth-child(2) { grid-column: 1 / 2; grid-row: 1 / 2; }
.noticias-block.is-inverted .noticia-card:nth-child(3) { grid-column: 2 / 3; grid-row: 1 / 2; }
.noticias-block.is-inverted .noticia-card:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
.noticias-block.is-inverted .noticia-card:nth-child(5) { grid-column: 2 / 3; grid-row: 2 / 3; }


.noticia-img-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.noticia-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.5s ease;
}

.noticia-overlay-color {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--color-primary);
  mix-blend-mode: color;
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

.noticia-overlay-gradient {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(35, 48, 80, 0.9) 0%, rgba(35, 48, 80, 0) 60%);
  transition: opacity 0.4s ease;
}

.noticia-card:hover .noticia-overlay-color {
  opacity: 0;
}
.noticia-card:hover .noticia-img-wrap img {
  transform: scale(1.05);
}

.noticia-content {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.noticia-categoria {
  display: block;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 8px;
  opacity: 0.8;
}

.noticia-title {
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 300;
  margin: 0;
  line-height: 1.3;
}

.noticia-card:nth-child(1) .noticia-title {
  font-size: 24px;
}

.noticia-descripcion {
  display: none;
}

.noticias-action {
  text-align: center;
  margin-top: 40px;
}

.btn-outline-dark-square {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 15px 30px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-dark-square:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .noticias-block, .noticias-block.is-inverted {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  
  .noticias-block .noticia-card:nth-child(1),
  .noticias-block.is-inverted .noticia-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto;
    height: 350px;
  }
  
  .noticias-block .noticia-card:not(:nth-child(1)),
  .noticias-block.is-inverted .noticia-card:not(:nth-child(1)) {
    grid-column: auto;
    grid-row: auto;
    height: 250px;
  }
}

@media (max-width: 576px) {
  .noticias-block, .noticias-block.is-inverted {
    grid-template-columns: 1fr;
  }
  
  .noticias-block .noticia-card:nth-child(1),
  .noticias-block.is-inverted .noticia-card:nth-child(1) {
    grid-column: 1 / 2;
  }

  .noticias-block .noticia-card:nth-child(1),
  .noticias-block.is-inverted .noticia-card:nth-child(1),
  .noticias-block .noticia-card:not(:nth-child(1)),
  .noticias-block.is-inverted .noticia-card:not(:nth-child(1)) {
    height: auto;
  }

  .noticia-card {
    background-color: #F6F7F9;
    border-radius: 8px;
    justify-content: flex-start;
  }

  .noticia-img-wrap {
    display: none;
  }

  .noticia-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 18px;
  }

  .noticia-categoria {
    display: none;
  }

  .noticia-descripcion {
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 145%;
    color: #737885;
    margin: 0;
  }

  .noticia-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 130%;
    text-transform: none;
    color: #233050;
  }

  .noticia-card:nth-child(1) .noticia-title {
    font-size: 15px;
  }
}


/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background-color: #222F50;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.footer-container {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo-col {
  width: 35%;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 180px;
}

.footer-logo-col svg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  max-width: 100%;
}

.footer-links-col {
  width: 65%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 50px 0;
}

.footer-nav-column h3 {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 25px;
}

.footer-nav-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.footer-nav-column li,
.footer-nav-column a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.5;
}

.footer-nav-column a:hover {
  color: var(--color-white);
}

.direccion-text {
  max-width: 180px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    padding: 40px 20px;
  }
  
  .footer-logo-col {
    width: 100%;
    height: 150px;
    margin-bottom: 40px;
  }
  
  .footer-links-col {
    width: 100%;
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .footer-links-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ========================================
   HERO PERFIL DE EQUIPO
   ======================================== */
.section-perfil-hero {
  background-color: #0F1623;
  color: var(--color-white);
  width: 100%;
}

.perfil-hero-layout {
  display: flex;
  min-height: 85vh;
}

.perfil-content-col {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 80px 10%;
}

.perfil-content-inner {
  max-width: 600px;
}

.perfil-pre-titulo {
  display: block;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.perfil-nombre {
  font-family: var(--font-main);
  font-size: 64px;
  line-height: 1.1;
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 20px;
}

.perfil-cargo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 60px;
}

.perfil-linea {
  width: 80px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  margin: 0;
}

.perfil-cargo {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.perfil-cita-block {
  margin: 0 0 60px 0;
  padding-right: 20px;
}

.perfil-cita-texto {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-white);
  margin-bottom: 15px;
}

.perfil-cita-autor {
  font-size: 12px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}

.perfil-reconocimientos {
  margin-top: 20px;
}

.perfil-pre-logos {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.perfil-logos-grid {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.perfil-logo-item {
  width: 130px;
  height: 56px;
  box-sizing: border-box;
  border: 1px solid #AAAAAA;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perfil-logo-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.8);
  transition: opacity 0.3s ease;
}

.perfil-logo-item:hover img {
  filter: brightness(0) invert(1) opacity(1);
}

.perfil-image-col {
  width: 50%;
  position: relative;
}

.perfil-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 1024px) {
  .perfil-nombre {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .section-perfil-hero {
    background-color: #233050;
  }

  .perfil-hero-layout {
    flex-direction: column;
    min-height: 0;
  }

  .perfil-image-col {
    width: 100%;
    height: 480px;
    order: 1;
  }

  .perfil-image-col img {
    object-position: center top;
  }

  .perfil-content-col {
    width: 100%;
    order: 2;
    padding: 28px 20px;
  }

  .perfil-content-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    max-width: 100%;
  }

  .perfil-pre-titulo {
    font-size: 11px;
    font-weight: 500;
    line-height: 13px;
    letter-spacing: 1px;
    color: #99A6CC;
    margin-bottom: 0;
  }

  .perfil-nombre {
    font-size: 28px;
    line-height: 34px;
    font-weight: 700;
    margin-bottom: 0;
  }

  .perfil-cargo-wrap {
    margin-bottom: 0;
  }

  .perfil-linea {
    display: none;
  }

  .perfil-cargo {
    font-size: 13px;
    line-height: 16px;
    color: #B3BAD9;
  }

  .perfil-cita-block {
    margin: 0;
    padding-right: 0;
  }

  .perfil-cita-texto {
    font-size: 16px;
    line-height: 140%;
    font-weight: 600;
    margin-bottom: 0;
  }

  .perfil-cita-autor {
    font-size: 12px;
    line-height: 15px;
    color: #99A6CC;
  }

  .perfil-reconocimientos {
    display: none;
  }
}

/* ========================================
   SECCIÓN DETALLE DEL PERFIL
   ======================================== */
.section-perfil-detalle {
  background-color: #EFF2FA;
  padding: 56px 0 90px;
  position: relative;
  overflow: hidden;
}

.section-perfil-detalle::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-white);
  clip-path: polygon(0 7vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  z-index: 0;
}

.section-perfil-detalle .container {
  position: relative;
  z-index: 1;
}

.perfil-detalle-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 80px;
}

.detalle-pre-titulo {
  display: block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.detalle-titulo {
  font-family: var(--font-main);
  font-size: 24px;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.detalle-contenido-texto {
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 50px;
}

.detalle-contenido-texto p {
  margin-bottom: 20px;
}

.perfil-sidebar-col {
  padding-top: 10px;
}

.sidebar-block {
  margin-bottom: 35px;
}

.sidebar-titulo {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.sidebar-lista-lineas {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-lista-lineas li {
  position: relative;
  font-size: 11px;
  color: var(--color-text-light);
  padding: 12px 0 12px 15px;
  border-bottom: 1px solid #E0E4E8;
}

.sidebar-lista-lineas li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--color-primary);
  font-size: 14px;
}

.sidebar-lista-simple {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-lista-simple li {
  font-size: 11px;
  color: var(--color-text-light);
  padding: 6px 0;
}

.sidebar-enlace-correo {
  font-size: 11px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar-enlace-correo:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.linkedin-btn.dark-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #212121;
  color: var(--color-white);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.linkedin-btn.dark-square svg {
  width: 18px;
  height: 18px;
}

.linkedin-btn.dark-square:hover {
  background-color: var(--color-primary);
}

@media (max-width: 992px) {
  .perfil-detalle-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-perfil-detalle::before {
    clip-path: polygon(0 9vw, 100% 0, 100% calc(100% - 6vw), 0 100%);
  }
}

@media (max-width: 768px) {
  .section-perfil-detalle {
    background-color: #FFFFFF;
    padding: 36px 0px;
  }

  .section-perfil-detalle::before {
    display: none;
  }

  .perfil-detalle-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .perfil-main-col,
  .perfil-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .detalle-pre-titulo {
    font-size: 11px;
    font-weight: 600;
    line-height: 13px;
    letter-spacing: 1px;
    text-transform: none;
    color: #737885;
    margin-bottom: 0;
  }

  .detalle-titulo {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #233050;
    margin-bottom: 0;
  }

  .detalle-contenido-texto {
    font-size: 13.5px;
    line-height: 155%;
    color: #4D5261;
    margin-bottom: 0;
  }

  .detalle-contenido-texto p {
    margin-bottom: 0;
  }

  .perfil-sidebar-col {
    padding-top: 0;
  }

  .sidebar-block {
    margin-bottom: 0;
  }

  .sidebar-titulo {
    font-size: 12px;
    font-weight: 600;
    line-height: 15px;
    letter-spacing: 0.5px;
    color: #233050;
    margin-bottom: 10px;
  }

  .sidebar-lista-lineas li {
    font-size: 13px;
    line-height: 16px;
    color: #4D5261;
    padding: 0 0 0 16px;
    border-bottom: none;
  }

  .sidebar-lista-lineas li + li {
    margin-top: 10px;
  }

  .sidebar-lista-lineas li::before {
    content: '';
    width: 6px;
    height: 6px;
    left: 0;
    top: 5px;
    background: #233050;
    border-radius: 1px;
  }

  .sidebar-lista-simple li {
    font-size: 13px;
    line-height: 150%;
    color: #4D5261;
    padding: 0;
  }

  .sidebar-enlace-correo {
    font-size: 13px;
    line-height: 16px;
    color: #233050;
  }

  .sidebar-block-correo .sidebar-titulo {
    display: none;
  }

  .sidebar-block-linkedin {
    display: none;
  }
}

/* ========================================
   SECCIÓN GRILLA DE EQUIPO
   ======================================== */
.section-equipo-grid {
  background-color: #EFF2FA;
  padding: 80px 0 100px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6vw), 0 100%);
}

.equipo-grid-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.equipo-grid-titulo {
  font-family: var(--font-main);
  font-size: 28px;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.equipo-grid-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.equipo-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.equipo-grid-card {
  background-color: var(--color-white);
  border: 1px solid #E0E4E8;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.equipo-grid-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.equipo-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(35, 48, 80, 0.08);
}

.equipo-grid-img {
  width: 100%;
  aspect-ratio: 272 / 366;
  overflow: hidden;
  background-color: #e9ecef;
}

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

.equipo-grid-content {
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equipo-card-nombre {
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 4px;
  font-weight: normal;
  line-height: 1.2;
}

.equipo-card-cargo {
  font-size: 10px;
  color: #A0AAB5;
  margin-bottom: 8px;
  display: block;
}

.equipo-card-bio {
  font-size: 10px;
  color: var(--color-text-light);
  line-height: 1.4;
  margin-bottom: 10px;
  flex-grow: 1;
}

.equipo-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.equipo-card-email {
  font-size: 10px;
  color: #B0B7C3;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.3s ease;
}

.equipo-card-email:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.linkedin-btn.dark-square-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #333333;
  color: var(--color-white);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border-radius: 2px;
}

.linkedin-btn.dark-square-small svg {
  width: 13px;
  height: 13px;
}

.linkedin-btn.dark-square-small:hover {
  background-color: var(--color-primary);
}

@media (max-width: 1200px) {
  .equipo-grid-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .equipo-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-equipo-grid {
    clip-path: none;
  }
  .equipo-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .equipo-grid-titulo {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .equipo-grid-container {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }
}

/* ========================================
   SECCIÓN TÉRMINOS Y CONDICIONES
   ======================================== */

.terminos-hero {
  background-color: #F9FAFB;
  padding: 64px 0;
}

.terminos-pre {
  display: block;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1px;
  color: #6B7385;
  margin-bottom: 10px;
}

.terminos-titulo {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: #222F50;
  margin: 0 0 10px;
}

.terminos-fecha {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: #6B7385;
  margin: 0;
}

.terminos-layout {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  padding: 64px 0 80px;
}

.terminos-toc {
  box-sizing: border-box;
  flex: 1 1 0;
  min-width: 0;
  background: #F9FAFB;
  border-left: 2px solid #222F50;
  padding: 24px;
  position: sticky;
  top: 120px;
}

.terminos-toc-titulo {
  display: block;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  letter-spacing: 1px;
  color: #6B7385;
  margin-bottom: 14px;
}

.terminos-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.terminos-toc-link {
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 16px;
  color: #222F50;
  text-decoration: none;
  transition: color 0.2s ease;
}

.terminos-toc-link:hover {
  color: var(--color-secondary, #C9A84C);
}

.terminos-article {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.terminos-intro {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 160%;
  color: #474D5C;
  margin: 0;
}

.terminos-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 120px;
}

.terminos-block-titulo {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #222F50;
  margin: 0;
}

.terminos-block-contenido {
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 165%;
  color: #474D5C;
}

.terminos-block-contenido p {
  margin: 0 0 12px;
}

.terminos-block-contenido p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .terminos-layout {
    flex-direction: column;
    gap: 40px;
  }

  .terminos-toc {
    position: static;
    width: 100%;
  }

  .terminos-titulo {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ========================================
   PÁGINA BLOG
   ======================================== */
.blog-hero {
  background: #F9FAFB;
  padding: 64px 0 56px;
}

.blog-hero-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 750px;
}

.blog-hero-eyebrow {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 1px;
  color: #6B7385;
}

.blog-hero-title {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  color: #222F50;
  margin: 0;
}

.blog-hero-desc {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 400;
  line-height: 150%;
  color: #6B7385;
  margin: 0;
}

.blog-filters {
  padding: 40px 0 0;
}

.blog-filters-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-filter {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 18px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.45);
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: 0.2px;
  color: #222F50;
  cursor: pointer;
  transition: all 0.25s ease;
}

.blog-filter:hover {
  border-color: #222F50;
}

.blog-filter.is-active {
  background: #222F50;
  border-color: #222F50;
  color: #FFFFFF;
}

.blog-content {
  padding: 32px 0 96px;
}

.blog-featured-wrap {
  margin-bottom: 48px;
}

.blog-featured {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 46% 1fr;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.45);
}

.blog-featured-media {
  position: relative;
  display: block;
  min-height: 460px;
  background: linear-gradient(0deg, rgba(34, 47, 80, 0.6), rgba(34, 47, 80, 0.6));
  overflow: hidden;
}

.blog-featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured-media img {
  transform: scale(1.04);
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 56px;
}

.blog-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  height: 28px;
  background: #F9FAFB;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  line-height: 13px;
  letter-spacing: 0.5px;
  color: #222F50;
}

.blog-featured-title {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 700;
  line-height: 125%;
  color: #222F50;
  margin: 0;
}

.blog-featured-title a {
  color: inherit;
}

.blog-featured-excerpt {
  font-family: var(--font-main);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 160%;
  color: #6B7385;
  margin: 0;
}

.blog-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 15px;
  color: #6B7385;
}

.blog-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 16px;
  color: #222F50;
}

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

.blog-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 12px 30px rgba(34, 47, 80, 0.08);
  transform: translateY(-4px);
}

.blog-card-media {
  position: relative;
  display: block;
  height: 210px;
  background: linear-gradient(0deg, rgba(34, 47, 80, 0.6), rgba(34, 47, 80, 0.6));
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

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

.blog-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
}

.blog-card .blog-badge {
  height: 24px;
  padding: 0 10px;
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0.4px;
}

.blog-card-title {
  font-family: var(--font-main);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 128%;
  color: #222F50;
  margin: 0;
}

.blog-card-title a {
  color: inherit;
}

.blog-card-excerpt {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 400;
  line-height: 150%;
  color: #6B7385;
  margin: 0;
}

.blog-card-date {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #6B7385;
}

.blog-action {
  text-align: center;
  margin-top: 56px;
}

.blog-btn-cargar {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 32px;
  height: 52px;
  background: #222F50;
  border: none;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.blog-btn-cargar:hover {
  background: #1a2540;
}

.blog-btn-cargar.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.blog-empty {
  padding: 40px 0;
  text-align: center;
  color: #6B7385;
  font-family: var(--font-main);
  font-size: 15px;
}

@media (max-width: 992px) {
  .blog-hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-media {
    min-height: 320px;
  }

  .blog-featured-body {
    padding: 32px;
  }

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

@media (max-width: 576px) {
  .blog-hero {
    padding: 40px 0 36px;
  }

  .blog-hero-title {
    font-size: 26px;
    line-height: 34px;
  }

  .blog-filters {
    padding-top: 28px;
  }

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

  .blog-featured-media {
    min-height: 220px;
  }

  .blog-featured-body {
    padding: 24px;
    gap: 14px;
  }

  .blog-featured-title {
    font-size: 22px;
  }

  .blog-action {
    margin-top: 40px;
  }
}

/* ========================================
   SINGLE POST (NOTICIA)
   ======================================== */
.sp-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 15px;
  color: #6B7385;
  padding-top: 32px;
  margin-bottom: 24px;
}

.sp-breadcrumb a {
  color: #6B7385;
}

.sp-breadcrumb a:hover {
  color: #222F50;
}

.sp-breadcrumb .sp-breadcrumb-sep {
  color: #B3B8C7;
}

.sp-header {
  padding: 8px 0 32px;
}

.sp-header-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 900px;
}

.sp-title {
  font-family: var(--font-main);
  font-size: 42px;
  font-weight: 700;
  line-height: 120%;
  color: #222F50;
  margin: 0;
}

.sp-excerpt {
  font-family: var(--font-main);
  font-size: 17px;
  font-weight: 400;
  line-height: 155%;
  color: #6B7385;
  margin: 0;
}

.sp-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.sp-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  object-fit: cover;
}

.sp-meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-author-name {
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 16px;
  color: #222F50;
}

.sp-date {
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 15px;
  color: #6B7385;
}

.sp-cover {
  position: relative;
  margin-bottom: 40px;
  background: linear-gradient(0deg, rgba(34, 47, 80, 0.6), rgba(34, 47, 80, 0.6));
  overflow: hidden;
}

.sp-cover img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.sp-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: 900px;
}

.sp-subtitle {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  color: #222F50;
  margin: 0;
}

.sp-p {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 170%;
  color: #474D5C;
}

.sp-p p {
  margin: 0 0 16px;
}

.sp-p p:last-child {
  margin-bottom: 0;
}

.sp-quote {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 0 0 28px;
  border-left: 3px solid #222F50;
  margin: 0;
}

.sp-quote p {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  line-height: 145%;
  color: #222F50;
  margin: 0;
}

.sp-quote cite {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
  color: #6B7385;
  font-style: normal;
}

.sp-quote-cargo {
  color: #A0A6B1;
}

.sp-quote-cargo::before {
  content: '·';
  margin: 0 6px;
  color: #6B7385;
}

.sp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 160%;
  color: #474D5C;
}

.sp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: #222F50;
}

/* Cuerpo del artículo (contenido de Gutenberg) */
.sp-body h2 {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
  color: #222F50;
  margin: 0;
}

.sp-body p {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 400;
  line-height: 170%;
  color: #474D5C;
  margin: 0;
}

.sp-body ul,
.sp-body .wp-block-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.sp-body ul li,
.sp-body .wp-block-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding-left: 0;
  list-style: none !important;
  list-style-type: none !important;
  font-family: var(--font-main);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 160%;
  color: #474D5C;
}

.sp-body ul li::marker,
.sp-body .wp-block-list li::marker,
.sp-body ol li::marker {
  content: none !important;
}

.sp-body ul li::before,
.sp-body .wp-block-list li::before {
  content: '';
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  background: #222F50;
}

.sp-share {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  max-width: 900px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(132, 151, 199, 0.4);
  margin-bottom: 40px;
}

.sp-share-label {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #6B7385;
  margin-right: 6px;
}

.sp-share-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(132, 151, 199, 0.45);
  background: #FFFFFF;
  color: #222F50;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sp-share-btn:hover {
  background: #222F50;
  color: #FFFFFF;
  border-color: #222F50;
}

.sp-share-btn.is-copied {
  background: #222F50;
  color: #FFFFFF;
  border-color: #222F50;
}

.sp-author-bio {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  background: #F9FAFB;
  padding: 32px;
  margin-bottom: 56px;
}

.sp-author-bio-img {
  width: 88px;
  height: 150px;
  object-fit: cover;
  flex: none;
}

.sp-author-bio-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
}

.sp-author-bio-label {
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 13px;
  letter-spacing: 0.5px;
  color: #6B7385;
}

.sp-author-bio-name {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
  color: #222F50;
  margin: 0;
}

.sp-author-bio-text {
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 150%;
  color: #474D5C;
}

.sp-author-bio-text p {
  margin: 0;
}

.sp-related-title {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  line-height: 31px;
  color: #222F50;
  margin: 0 0 32px;
}

.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 96px;
}

.sp-related-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(132, 151, 199, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sp-related-card:hover {
  box-shadow: 0 12px 30px rgba(34, 47, 80, 0.08);
  transform: translateY(-4px);
}

.sp-related-media {
  position: relative;
  display: block;
  height: 160px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  overflow: hidden;
}

.sp-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.sp-related-card:hover .sp-related-media img {
  transform: scale(1.05);
}

.sp-related-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
}

.sp-related-body .blog-badge {
  height: 22px;
  padding: 0 9px;
  font-size: 9.5px;
  line-height: 11px;
  letter-spacing: 0.4px;
}

.sp-related-card-title {
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  line-height: 130%;
  color: #222F50;
  margin: 0;
}

.sp-related-card-title a {
  color: inherit;
}

.sp-related-date {
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 14px;
  color: #6B7385;
}

@media (max-width: 992px) {
  .sp-title {
    font-size: 32px;
  }

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

@media (max-width: 576px) {
  .sp-title {
    font-size: 26px;
  }

  .sp-excerpt {
    font-size: 15px;
  }

  .sp-author-avatar {
    width: 36px;
    height: 61.52px;
    border-radius: 18px;
  }

  .sp-author-bio {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .sp-author-bio-img {
    width: 64px;
    height: 109.37px;
    border-radius: 0;
  }

  .sp-related-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}