:root {
  --blue-100: #EAF3FB;
  --brand-blue: #0072CE;
  --blue-dark: #003a6b;
  --accent: #00A4FF;
  --muted: #6b7785;
  --bg: #f6f7f8;
  --white: #ffffff;
  --black: #000000;
  --dark-block: #0b0b0b;
  --max-width: 1200px;
  --header-height: 110px;
  --topbar-height: 80px;
  --container-padding: 20px;
  --content-width: 80%;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #213242;
}

/* Reset y Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  font-family: Arial, sans-serif;
}

/* REUTILIZABLES */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

/* HEADER PRINCIPAL */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(3, 18, 39, 0.06);
}

/* TOP BAR */
.top-bar-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.top-bar-link:hover .top-bar {
  background: var(--blue-dark);
  transition: background 0.3s ease;
}

.top-bar {
  height: var(--topbar-height);
  background: var(--brand-blue);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.top-bar:hover {
  background: var(--blue-dark) !important;
}

.top-bar-content {
  max-width: var(--max-width);
  width: var(--content-width);
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-text {
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}

.top-bar-flags {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.top-bar-flags img {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
}

/* Nav - LOGO CON ESPACIO Y TAMAÑO DE 150px */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 25px var(--container-padding);
  width: var(--content-width);
}

/* LOGO CON ESPACIO */
.brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 20px 0;
}

/* TAMAÑO DEL LOGO - 150px EN DESKTOP */
.brand .logo {
  width: 150px;
  height: auto;
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 15px 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav ul li a {
  text-decoration: none;
  color: var(--blue-dark);
  font-weight: 600;
  letter-spacing: 0.6px;
  font-size: 18px;
  font-family: Arial, sans-serif;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 10px 0;
}

.main-nav ul li a:hover {
  color: var(--brand-blue);
}

.cta-and-burger {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 26px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: Arial, sans-serif;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gradient {
  background: linear-gradient(90deg, var(--brand-blue), var(--accent));
  color: white;
  box-shadow: 0 6px 18px rgba(0, 114, 206, 0.18);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 114, 206, 0.25);
}

/* Botón Contactanos solo para mobile */
.mobile-only {
  display: none;
}

.mobile-only .mobile-btn {
  width: calc(100% + 4px) !important;
  margin-left: -2px;
  margin-right: -2px;
  padding: 12px 22px !important;
  color: white !important;
  font-weight: 700;
  font-size: 14px;
  background: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  border-radius: 26px;
  display: block;
  text-align: center;
  text-decoration: none;
}

/* Burger Menu */
.burger {
  width: 44px;
  height: 44px;
  display: none;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--brand-blue);
  margin: 3px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================== */
/* HERO PRINCIPAL - SOLO AJUSTES SOLICITADOS */
/* =========================================== */
.hero {
  margin-top: calc(var(--topbar-height) + var(--header-height));
  background: linear-gradient(90deg, #0095ff, #8a00ff);
  color: white;
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 500px;
  gap: 0;
}

/* Contenedor principal de slides */
.hero-slides-container {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
  margin: 0 20px;
}

/* SLIDES DEL HERO */
.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slide.active {
  display: block;
  position: relative;
}

/* CONTENEDOR INTERNO PARA CADA SLIDE */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 50px;
  padding: 0;
}

/* VERSIÓN PC/DESKTOP */
@media (min-width: 769px) {
  .hero-content {
    flex-direction: row; /* Texto izquierda, imagen derecha */
    justify-content: space-between;
  }
  
  /* 1. CUADRO DE TEXTO MÁS GRANDE (SOLICITADO) */
  .hero-copy {
    flex: 1;
    text-align: left;
    min-width: 0;
    /* 2. CORRER TEXTO 30px A LA IZQUIERDA (SOLICITADO) */
    margin-left: 50px; /* 80px - 30px = 50px (moviendo 30px a la izquierda) */
    /* 1. AUMENTAR ANCHO DEL CUADRO DE TEXTO (SOLICITADO) */
    width: 55%; /* Aumentado para texto más grande */
    max-width: 700px;
  }
  
  .hero-figure {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 3. CORRER IMAGEN 30px A LA IZQUIERDA (SOLICITADO) */
    margin-left: -30px; /* Mueve la imagen 30px a la izquierda */
  }
}

/* IMAGEN DEL HERO */
.hero-figure img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
}

/* TEXTO DEL HERO */
@media (min-width: 769px) {
  .hero-title {
    font-size: 36px;
    line-height: 1.2;
    color: var(--white);
    margin: 0 0 25px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 650px; /* Aumentado para coincidir con cuadro más grande */
  }
}

.hero-copy .accent {
  color: #1ff0ff;
  font-style: italic;
  font-family: Arial, sans-serif;
}

/* BOTÓN DEL HERO */
.hero-cta-wrap {
  margin-top: 30px !important;
  display: flex;
}

@media (min-width: 769px) {
  .hero-cta-wrap {
    justify-content: flex-start;
  }
}

.btn-gradient {
  background: linear-gradient(90deg, #ffffff, #f0f0f0);
  color: #0095ff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-gradient:hover {
  background: linear-gradient(90deg, #f0f0f0, #ffffff);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #0095ff !important;
}

/* Hero arrows - FIJAS EN AMBAS VERSIONES */
.hero-arrow {
  position: relative;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
  margin: 0;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.hero-arrow.left {
  margin-right: 10px;
}

.hero-arrow.right {
  margin-left: 10px;
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 20px !important;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active {
  background: var(--white);
  transform: scale(1.2);
}

.hero-indicator:hover {
  background: var(--white);
}

/* =========================================== */
/* VERSIÓN MOBILE - FLECHAS A LOS LADOS */
/* =========================================== */
@media (max-width: 768px) {
  /* HERO RESPONSIVE MÓVIL */
  .hero {
    margin-top: calc(var(--topbar-height) + var(--header-height));
    padding: 30px 0 20px;
    min-height: auto;
  }
  
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    gap: 0;
    min-height: 450px;
    justify-content: center;
  }
  
  .hero-slides-container {
    margin: 20px 0;
    width: 100%;
  }
  
  /* MOBILE: Todos los slides en columna */
  .hero-content {
    flex-direction: column !important;
    gap: 30px;
    padding: 0;
    max-width: 100%;
  }
  
  /* MOBILE: Eliminar márgenes especiales */
  .hero-copy {
    flex: none;
    width: 100%;
    order: 2;
    text-align: center !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  
  /* MOBILE: Imagen arriba */
  .hero-figure {
    flex: none;
    width: 100%;
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0 !important; /* Resetear margen izquierdo */
  }
  
  .hero-figure img {
    max-width: 280px;
    margin: 0 auto;
  }
  
  /* MOBILE: Título ajustado */
  .hero-title {
    font-size: 28px;
    line-height: 1.3;
    text-align: center !important;
    margin: 0 0 20px;
    word-break: keep-all;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  
  /* MOBILE: Eliminar saltos de línea forzados */
  .hero-title br {
    display: inline;
  }
  
  /* MOBILE: Botón centrado */
  .hero-cta-wrap {
    justify-content: center !important;
    margin-top: 20px !important;
  }
  
  /* FLECHAS A LOS LADOS EN MOBILE */
  .hero-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
  
  .hero-arrow.left {
    left: 5px !important;
    margin-right: 0 !important;
  }
  
  .hero-arrow.right {
    right: 5px !important;
    margin-left: 0 !important;
  }
  
  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero-indicators {
    bottom: 10px !important;
  }
}

@media (max-width: 480px) {
  /* HERO MÓVIL PEQUEÑO */
  .hero {
    padding: 20px 0;
  }
  
  .hero-inner {
    padding: 15px 10px;
    min-height: 420px;
  }
  
  .hero-title {
    font-size: 24px;
    line-height: 1.25;
  }
  
  .hero-figure img {
    max-width: 240px;
  }
  
  .hero-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .hero-arrow.left {
    left: 2px !important;
  }
  
  .hero-arrow.right {
    right: 2px !important;
  }
  
  .btn-gradient {
    padding: 12px 28px;
    font-size: 15px;
  }

  .hero-indicators {
    bottom: 5px !important;
  }
}

/* SERVICIOS LIST */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.services-list li {
  display: block;
}

.service-item {
  display: flex;
  align-items: center !important;
  gap: 14px;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 0;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: default;
}

.service-item:hover {
  background: transparent;
  color: var(--muted);
  transform: none;
  border-color: transparent;
}

.services-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center !important;
  justify-content: center;
  margin-top: 0;
}

.services-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item span:not(.services-icon) {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

/* BULLETS INTERACTIVOS */
.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
}

.bullets li {
  display: block;
}

.bullets li .bullet-link {
  display: flex;
  align-items: center !important;
  gap: 16px;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 0 !important;
  font-family: Arial, sans-serif;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.bullets li .bullet-link:hover {
  background: var(--blue-100);
  color: var(--brand-blue);
  transform: translateX(5px);
  border-color: var(--brand-blue);
}

.bullets .services-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center !important;
  justify-content: center;
  margin-top: 0 !important;
}

.bullets .services-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ABOUT SECTION */
.about {
  padding: 40px 0;
  background: var(--white);
}

.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-images {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-images .img-box {
  width: 100%;
  max-width: 550px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: none;
}

.about-images .img-box img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

.img-box:hover {
  transform: none;
}

.about-copy h3 {
  color: var(--accent);
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
}

.about-title {
  margin: 10px 0 14px;
  font-size: 22px;
  color: var(--blue-dark);
  line-height: 1.3;
  font-family: Arial, sans-serif;
  font-weight: 400;
}

.highlight-blue {
  color: #003a6b;
  font-weight: 700;
  font-style: italic;
}

.about-copy .lead {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

/* TIPS */
.tips {
  padding: 64px 0;
  background: var(--bg);
}

.tips-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.tips-copy h4 {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 8px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.tips-title {
  color: var(--blue-dark);
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-family: Arial, sans-serif;
  font-weight: 400;
}

.tips-copy .accent {
  color: var(--brand-blue);
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.tips-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  font-family: Arial, sans-serif;
}

.tips-art {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tips-art img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: none !important;
}

.tips-art img:hover,
.tips-art:hover img {
  transform: none !important;
  box-shadow: none !important;
}

/* CLIENTS - CARRUSEL */
.clients {
  padding: 64px 0;
  background: var(--brand-blue);
  color: white;
}

.clients-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.clients-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  color: white;
  line-height: 1.15;
}

.clients-carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.clients-carousel {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
}

.clients-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.client-item {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.client-item:hover img {
  opacity: 1;
}

.clients-arrow {
  background: var(--white);
  color: var(--brand-blue);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 5;
  flex-shrink: 0;
}

.clients-arrow:hover {
  background: var(--blue-100);
  transform: scale(1.1);
}

.clients-arrow.left,
.clients-arrow.right {
  position: static;
  transform: none;
}

.clients-indicators {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.clients-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clients-indicator.active {
  background: var(--white);
  transform: scale(1.2);
}

.clients-indicator:hover {
  background: var(--white);
}

/* Spacer */
.spacer {
  height: 40px;
}

/* FOOTER PRINCIPAL */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.95);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  text-align: left;
}

.footer-title-white {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 18px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  text-align: left;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link-linkedin {
  color: #0072ce;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: flex-start;
  text-align: left;
}

.footer-link-linkedin:hover {
  color: var(--accent);
}

.linkedin-text {
  color: #0072ce;
  font-weight: 600;
}

.footer-link-mediakit {
  color: #0072ce;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: flex-start;
  text-align: left;
}

.footer-link-mediakit:hover {
  color: var(--accent);
}

.mediakit-text {
  color: #0072ce;
  font-weight: 600;
}

.footer-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.footer-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-top: -15px;
}

.brand-col .logo-footer {
  width: 200px;
  height: auto;
  max-width: 100%;
}

.copyright {
  opacity: 0.8;
  font-size: 14px;
  font-family: Arial, sans-serif;
  margin: 0;
  text-align: left;
}

.footer-contact {
  font-style: normal;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.contact-link {
  color: #0072ce;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  justify-content: flex-start;
  text-align: left;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-text {
  color: #0072ce;
  font-weight: 600;
}

/* =========================================== */
/* MODAL DE ARTÍCULOS (AJUSTES SOLICITADOS) */
/* =========================================== */
.articles-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.articles-modal.active {
  opacity: 1;
  visibility: visible;
}

.articles-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.articles-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.articles-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--brand-blue);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.articles-modal-close:hover {
  background: var(--blue-dark);
  transform: scale(1.1);
}

.articles-modal-body {
  padding: 40px;
}

/* AJUSTE PRINCIPAL: IMAGEN COMPLETA Y BIEN PROPORCIONADA */
.articles-modal-image {
  width: 100%;
  max-height: 250px; /* Reducido para mejor visualización */
  object-fit: contain; /* Cambiado de 'cover' a 'contain' para ver imagen completa */
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  /* ELIMINADO: background-color: #f6f7f8; */ /* Quitamos el fondo gris */
  /* ELIMINADO: padding: 10px; */ /* Quitamos el padding que creaba espacio */
}

.articles-modal-title {
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.articles-modal-text {
  color: var(--muted);
  line-height: 1.6;
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.articles-modal-text strong {
  color: var(--blue-dark);
  font-weight: 700;
}

.articles-modal-text br {
  margin-bottom: 10px;
  display: block;
  content: "";
}

/* Responsive del modal */
@media (max-width: 768px) {
  .articles-modal-content {
    max-width: 95%;
    max-height: 85vh;
  }
  
  .articles-modal-body {
    padding: 30px 20px;
  }
  
  .articles-modal-title {
    font-size: 20px;
  }
  
  .articles-modal-text {
    font-size: 14px;
  }
  
  .articles-modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  
  /* AJUSTE PARA MOBILE: Imagen más pequeña pero completa */
  .articles-modal-image {
    max-height: 180px; /* Reducido para mobile */
    /* ELIMINADO: padding: 8px; */ /* Quitamos el padding en mobile también */
  }
}

@media (max-width: 480px) {
  .articles-modal-body {
    padding: 25px 15px;
  }
  
  .articles-modal-title {
    font-size: 18px;
  }
  
  /* AJUSTE PARA MÓVILES PEQUEÑOS */
  .articles-modal-image {
    max-height: 150px; /* Aún más pequeño para móviles */
    /* ELIMINADO: padding: 5px; */ /* Quitamos el padding en móviles pequeños */
  }
}

/* RESPONSIVE IMPROVEMENTS */
@media (max-width: 992px) {
  :root {
    --max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tips-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .about-images {
    max-width: 70%;
    margin: 0 auto;
  }

  .about {
    padding: 35px 0;
  }

  .services-list {
    gap: 5px;
  }

  .service-item {
    padding: 10px 0 !important;
    gap: 14px;
    align-items: center !important;
  }

  .services-icon {
    width: 42px;
    height: 42px;
    align-items: center !important;
    margin-top: 0 !important;
    justify-content: center;
  }

  .bullets li .bullet-link {
    padding: 10px 0 !important;
    gap: 14px;
    align-items: center !important;
  }

  .bullets .services-icon {
    align-items: center !important;
    margin-top: 0 !important;
    justify-content: center;
  }

  .main-nav ul {
    gap: 20px;
  }

  .clients-title {
    font-size: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
  }

  .brand-col .logo-footer {
    width: 180px;
  }

  .top-bar-content {
    width: var(--content-width);
    flex-direction: row;
    gap: 8px;
  }

  .top-bar-flags {
    justify-content: center;
  }

  .top-bar-flags img {
    width: 40px;
    height: 40px;
  }

  .nav-wrap {
    width: var(--content-width);
  }

  .clients-carousel-container {
    max-width: 400px;
  }
  
  .clients-carousel {
    width: 180px;
    height: 180px;
  }
  
  .client-item {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
  }
  
  .client-item img {
    max-width: 140px;
    max-height: 140px;
  }
  
  .clients-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    right: 0;
    background: var(--white);
    width: 100%;
    height: calc(100vh - (var(--topbar-height) + var(--header-height)));
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -12px 0 30px rgba(3, 18, 39, 0.08);
    padding: 24px;
  }

  .main-nav.open {
    transform: translateX(0%);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    text-align: left;
  }

  .main-nav ul li a {
    font-size: 16px;
    padding: 10px 0;
    display: block;
  }

  .mobile-only {
    display: block;
    margin-top: 20px;
  }

  .cta-and-burger .btn-primary {
    display: none !important;
  }

  .nav-wrap {
    padding: 25px 15px !important;
    width: 100%;
  }

  .brand {
    padding: 15px 0;
  }

  .brand .logo {
    width: 150px;
    height: auto;
    padding: 10px 0;
  }

  .top-bar {
    height: 70px;
    padding: 8px 0;
  }

  .top-bar-content {
    width: 100% !important;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .top-bar-text {
    font-size: 16px;
    text-align: center;
    width: 100%;
    line-height: 1.2;
  }

  .top-bar-flags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
  }

  .top-bar-flags img {
    width: 28px !important;
    height: 28px !important;
  }

  .about-images {
    max-width: 80%;
  }

  .about {
    padding: 30px 0;
  }

  .about-copy {
    text-align: left;
  }

  .about-copy h2 {
    text-align: left;
  }

  .about-copy h3 {
    text-align: left;
  }

  .about-copy .lead {
    text-align: left;
  }

  .services-list {
    gap: 4px;
  }

  .service-item {
    padding: 8px 0 !important;
    gap: 12px;
    align-items: center !important;
  }

  .services-icon {
    width: 36px;
    height: 36px;
    align-items: center !important;
    margin-top: 0 !important;
    justify-content: center;
  }

  .bullets li .bullet-link {
    padding: 8px 0 !important;
    gap: 12px;
    align-items: center !important;
  }

  .bullets .services-icon {
    width: 36px;
    height: 36px;
    align-items: center !important;
    margin-top: 0 !important;
    justify-content: center;
  }

  .bullets li span:not(.services-icon) {
    font-size: 14px;
  }

  .tips-copy {
    text-align: left;
  }

  .tips-copy h4 {
    text-align: left;
  }

  .tips-copy h3 {
    text-align: left;
  }

  .tips-copy p {
    text-align: left;
  }

  .clients-title {
    font-size: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
  }

  .brand-col {
    align-items: flex-start;
  }

  .brand-col .logo-footer {
    width: 160px;
  }

  .about-copy h2 {
    font-size: 20px;
    text-align: left;
  }

  .tips-copy h3 {
    font-size: 18px;
    text-align: left;
  }

  .clients-carousel-container {
    max-width: 320px;
    gap: 10px;
  }
  
  .clients-carousel {
    width: 150px;
    height: 150px;
  }
  
  .client-item {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
  }
  
  .client-item img {
    max-width: 120px;
    max-height: 120px;
  }
  
  .clients-arrow {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
    --header-height: 110px;
  }

  .brand .logo {
    width: 140px;
    height: auto;
  }

  .top-bar {
    height: 70px;
  }

  .top-bar-content {
    gap: 5px;
  }

  .top-bar-text {
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }

  .top-bar-flags img {
    width: 26px !important;
    height: 26px !important;
  }

  .about-images {
    max-width: 90%;
  }

  .about {
    padding: 25px 0;
  }

  .services-list {
    gap: 3px;
  }

  .service-item {
    padding: 6px 0 !important;
    gap: 10px;
    align-items: center !important;
  }

  .services-icon {
    width: 32px;
    height: 32px;
    align-items: center !important;
    margin-top: 0 !important;
    justify-content: center;
  }

  .bullets li .bullet-link {
    padding: 6px 0 !important;
    gap: 10px;
    align-items: center !important;
  }

  .bullets .services-icon {
    width: 32px;
    height: 32px;
    align-items: center !important;
    margin-top: 0 !important;
    justify-content: center;
  }

  .bullets li span:not(.services-icon) {
    font-size: 13px;
  }

  .clients-title {
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .brand-col .logo-footer {
    width: 140px;
  }

  .about-copy h2 {
    font-size: 18px;
    text-align: left;
  }

  .about,
  .tips {
    padding: 48px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    max-width: 200px;
  }

  .clients-carousel-container {
    max-width: 280px;
    gap: 8px;
  }
  
  .clients-carousel {
    width: 130px;
    height: 130px;
  }
  
  .client-item {
    flex: 0 0 130px;
    width: 130px;
    height: 130px;
  }
  
  .client-item img {
    max-width: 100px;
    max-height: 100px;
  }
  
  .clients-arrow {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  
  .clients-indicators {
    margin-top: 15px;
  }
  
  .clients-indicator {
    width: 10px;
    height: 10px;
  }
}