/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #0b1f33;
  background-color: #fff;
}

/* Contenedor general */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.3s ease, color 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  height: 60px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header.scrolled {
  background: rgba(0, 65, 130, 0.8);
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
}

/* Logo en header */
.logo-header {
  height:90px;
  width: auto;
  user-select: none;
}

/* Navegación */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* Subrayado naranja */
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: orange;
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: 70px; /* espacio para header fijo */
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.logo {
  max-width: 400px;
  margin-bottom: 1rem;
  user-select: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Resultados */


.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  text-align: center;
  padding: 0 3rem;
}

.metric {
  background: white;
  border-radius: 10px;
  padding: 1.2rem 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
}



@keyframes ripple {
  from {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.7;
  }
  to {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.metric h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.metric p {
  font-size: 0.9rem;
  color: #555;
}

/* Nosotros */
.about {
  padding: 3rem 0;
}

.about h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 2rem;
}

.about p {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  text-align: justify;
}

.mision-vision {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.mision, .vision {
  flex: 1 1 45%;
  background: #f9f9f9;
  padding: 1.5rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.mision:hover, .vision:hover {
  background: #a6aaaa;
  transform: translateY(-5px);
}

.mision h3, .vision h3 {
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  text-align: center;
}

.mision p, .vision p {
  font-size: 1rem;
  color: #444;
}

/* Marcas */
.brands {
  background: #f4f6f9;
  padding: 3rem 0;
}

.brands h2 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
}

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

.brand {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: box-shadow 0.3s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.brand:hover {
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.brand img {
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 1rem;
  user-select: none;
}

.brand h3 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #0b1f33;
}

.brand p {
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  color: #0b1f33;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: orange;
}

.brand-btn {
  background-color: orange;
  color: #0b1f33;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  user-select: none;
}

.brand-btn:hover {
  background-color: darkorange;
}

/* Cifras */
.stats {
  padding: 3rem 0;
  background: #fff;
}

.stats h2 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stats-intro {
  text-align: center;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #333;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.chart-card {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  user-select: none;
  text-align: center;
}

.chart-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.25rem;
}

/* Valor Social */
.valor-social {
  padding: 3rem 0;
  background: #fdf6e3;
  color: #0b1f33;
}

.valor-social h2 {
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.valor-social blockquote {
  font-style: italic;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1rem;
  text-align: center;
  color: #555555;
}

.valor-social cite {
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #333;
}

.valor-social p {
  max-width: 750px;
  margin: 0 auto 2rem;
  font-size: 1rem;
  text-align: center;
  color: #444;
}

/* Galería acciones sociales */
.social-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: orange transparent;
  user-select: none;
}

.social-gallery::-webkit-scrollbar {
  height: 8px;
}

.social-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.social-gallery::-webkit-scrollbar-thumb {
  background-color: orange;
  border-radius: 4px;
}

.social-gallery img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.social-gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Ampliar imagenes de galería */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 165, 0, 0.9);
}

.modal.show {
  display: flex;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
}

/* Contacto */
.contact {
  padding: 3rem 0;
  background: #f9f9f9;
  user-select: none;
}

.contact h2 {
  text-align: center;
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact form input,
.contact form textarea {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  resize: vertical;
  width: 100%;
}

.contact form textarea {
  min-height: 100px;
}

.contact form button {
  padding: 1rem;
  border: none;
  border-radius: 25px;
  background-color: orange;
  color: #0b1f33;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact form button:hover,
.contact form button:focus {
  background-color: darkorange;
  outline: none;
}

/* Bolsa de Trabajo */
.trabajo-background {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.trabajo-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.trabajo-overlay {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.6);
  padding: 2.5rem 2rem 3rem;
  border-radius: 15px;
  box-sizing: border-box;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trabajo-container h2 {
  color: white;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.trabajo-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.trabajo-form input,
.trabajo-form select,
.trabajo-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  resize: vertical;
}

.trabajo-form textarea {
  min-height: 90px;
}

.trabajo-form button {
  width: 100%;
  padding: 1rem;
  background: orange;
  color: #0b1f33;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.trabajo-form button:hover,
.trabajo-form button:focus {
  background: darkorange;
  outline: none;
}

#trabajo-msg {
  text-align: center;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
  user-select: text;
}

/* Footer */
footer {
  background-color: #0b1f33;
  color: #fff;
  text-align: center;
  padding: 0.1rem 0;
  font-size: 0.85rem;
  user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
  }

  nav {
    gap: 1rem;
  }

  .metrics-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

/* botones laterales */
.social-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 2rem;
  box-sizing: border-box;
}

.social-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
  scrollbar-width: none;
}

.social-slider::-webkit-scrollbar {
  display: none;
}

.social-slide {
  flex: 0 0 auto;
  width: 200px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
}

.social-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.social-slide img:hover {
  transform: scale(1.05);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.8);
}

.slider-btn.left {
  left: 0.5rem;
}

.slider-btn.right {
  right: 0.5rem;
}

/* ===================================== VACANTES ===================================== */

.vacantes {
  background-image: url('assets/rh.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  padding: 4rem 0;
  text-align: center;
}

.vacantes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.vacantes > .container {
  position: relative;
  z-index: 1;
}

.vacantes h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 800;
  color: #f0f3f7;
}

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

.vacante-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.vacante-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0b1f33;
  margin-bottom: 1rem;
}

.vacante-card p {
  flex-grow: 1;
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.btn-vacante {
  background-color: orange;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-vacante:hover {
  background-color: darkorange;
}

.vacantes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.vacantes > .container {
  position: relative;
  z-index: 1;
}

/* ===================================== CONTACTO Y REDES SOCIALES ====================================== */
.contacto-redes {
  background: #153f68;
  color: hsl(0, 0%, 100%);
  padding: 3rem 0;
  font-family: 'Inter', sans-serif;
}

.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: flex-start;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contacto-info h3,
.redes-sociales h3 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.contacto-info p {
  margin: 0.3rem 0;
  font-size: 0.8rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: flex-start;
  text-align: left;
}

.contacto-info p i {
  color: #fff;
  font-size: 1.1rem;
}

.contacto-info a {
  color: #fff;
  text-decoration: none;
}

.contacto-info a:hover {
  text-decoration: underline;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.iconos-redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.iconos-redes a:hover {
  background: #067eee;
  transform: scale(1.1);
}

/* =====================================
   FORMULARIO DE CONTACTO - MODERNO
====================================== */
.contact {
  background: #fdfdfd;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact form {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact form h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #0b1f33;
  margin-bottom: 1rem;
}

.contact form input,
.contact form textarea {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  resize: vertical;
  width: 100%;
  transition: border-color 0.3s ease;
}

.contact form input:focus,
.contact form textarea:focus {
  outline: none;
  border-color: #067eee;
}

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

.contact form button {
  padding: 1rem;
  border: none;
  border-radius: 25px;
  background-color: #067eee;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact form button:hover {
  background-color: #005bb5;
}

/* Imagen de fondo para sección Vacantes */
.vacantes {
  background-image: url('assets/rh.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  padding: 4rem 0;
  text-align: center;
}

.vacantes::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.vacantes > .container {
  position: relative;
  z-index: 1;
}

/* Sección de resultados en una sola fila */


.success h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0b1f33;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  text-align: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.metric {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}



.metric h3 {
  font-size: 1.5rem;
  color: #094ac4;
  margin-bottom: 0.3rem;
}

.metric p {
  font-size: 0.9rem;
  color: #333;
}

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

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

.stats .container {
  max-width: 1200px;
  margin: 0 auto;
}

.stats .charts-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.css-chart {
  flex: 1 1 300px;
  max-width: 320px;
  min-width: 260px;
  text-align: center;
}

.stats {
  background: #f5f8fb;
  padding: 4rem 1rem;
  text-align: center;
}

.stats .container {
  max-width: 1200px;
  margin: 0 auto;
}

.charts-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.css-chart {
  flex: 1 1 300px;
  max-width: 320px;
  min-width: 260px;
  text-align: center;
}

.bar-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  height: 220px;
  margin-top: 1rem;
}

.bar {
  --max-height: 200;
  width: 60px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: calc(var(--value) * 1px);
  max-height: calc(var(--max-height) * 1px);
  transition: height 0.6s ease-in-out;
  border-radius: 0.5rem;
}

.bar span {
  position: absolute;
  bottom: -2rem;
  font-size: 0.9rem;
  color: #333;
}

.bar label {
  position: absolute;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.bar-container.blue .bar {
  background: linear-gradient(to top, #007bff, #66b2ff);
}

.bar-container.orange .bar {
  background: linear-gradient(to top, #ff8800, #ffbe66);
}

.bar-container.green .bar {
  background: linear-gradient(to top, #00aa66, #66e0aa);
}

.stats-subtitle {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #333;
}

.bar label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
}

.bar-container.blue .blue-2022 {
  background: linear-gradient(to top, #a8d0ff, #cce6ff);
}
.bar-container.blue .blue-2023 {
  background: linear-gradient(to top, #66b2ff, #99ccff);
}
.bar-container.blue .blue-2024 {
  background: linear-gradient(to top, #007bff, #3399ff);
}

.bar-container.orange .orange-2022 {
  background: linear-gradient(to top, #ffd9a6, #ffeacc);
}
.bar-container.orange .orange-2023 {
  background: linear-gradient(to top, #ffbe66, #ffdb99);
}
.bar-container.orange .orange-2024 {
  background: linear-gradient(to top, #ff8800, #ffaa33);
}

.bar-container.green .green-2022 {
  background: linear-gradient(to top, #a5f0c3, #d5fce6);
}
.bar-container.green .green-2023 {
  background: linear-gradient(to top, #66e0aa, #99f0cc);
}
.bar-container.green .green-2024 {
  background: linear-gradient(to top, #00aa66, #33cc88);
}

.bar:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.success {
  background: url('https://www.transparenttextures.com/patterns/blue-graph.png') repeat, #0d47a1;
  padding: 2rem 1rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  background-size: cover;
  color: #fff;
}

.success::before,
.success::after {
  content: "";
  display: block;
  height: 4px;
  background-color: orange;
  width: 100%;
  position: absolute;
  left: 0;
}

.success::before {
  top: 0;
}

.success::after {
  bottom: 0;
}

.success .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Contacto Moderno */
.contacto-redes {
  background: #f4f4f4;
  padding: 60px 20px;
}

.contacto-redes h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.contacto-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info p {
  font-size: 1rem;
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: #333;
}

.social-icons {
  flex: 1;
  min-width: 250px;
  text-align: right;
}

.social-icons a {
  font-size: 1.5rem;
  color: #0077cc;
  margin-left: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #005599;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .contacto-flex {
    flex-direction: column;
    text-align: center;
  }

  .social-icons {
    text-align: center;
    margin-top: 20px;
  }
}


/* Responsive contacto-redes */
@media (max-width: 768px) {
  .contacto-redes .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contacto-redes .contact-info,
  .contacto-redes .redes-sociales {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }

  .contacto-redes h2 {
    font-size: 22px;
  }

  .contacto-redes p,
  .contacto-redes a {
    font-size: 16px;
  }
}


/* Responsive general para todo el proyecto Grupo Capmobi */
@media (max-width: 992px) {
  header nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 16px;
  }

  section {
    padding: 40px 20px;
  }

  .marcas,
  .stats,
  .valor-social,
  .trabajo {
    flex-direction: column;
    align-items: center;
  }

  .marcas .marca,
  .stats .dato,
  .valor-social .beneficio,
  .trabajo .vacante {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  h1, h2, h3 {
    font-size: 20px;
  }

  p, li, a {
    font-size: 14px;
  }

  .hero {
    padding: 40px 20px;
    text-align: center;
  }

  footer {
    font-size: 14px;
    padding: 20px 10px;
    text-align: center;
  }

  .container {
    padding: 0 10px;
  }
}


/* Estilo para la sección contacto-redes */
.contacto-redes {
  background-color: #003366;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contacto-redes h3,
.contacto-redes p,
.contacto-redes i {
  color: white;
}

.contacto-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.contacto-info {
  flex: 1 1 250px;
  min-width: 250px;
  text-align: left;
}

.iconos-redes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.iconos-redes i {
  font-size: 28px;
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.iconos-redes a:hover i {
  color: orange;
  transform: scale(1.1);
}


/* === Estilos para sección de estadísticas === */
section.stats {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

section.stats h2 {
  color: #003366;
  font-size: 2rem;
  margin-bottom: 20px;
}

.stats-intro {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
}

.charts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.chart-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  width: 320px;
  max-width: 90%;
  transition: transform 0.3s ease;
}

.chart-card:hover {
  transform: translateY(-4px);
}

.chart-card h3 {
  font-size: 1.1rem;
  color: #003366;
  margin-bottom: 15px;
}


/* canvas de las gráficas */
.chart-card canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 240px;
  display: block;
  margin: 0 auto;
}


/* Aumentar tamaño de las imágenes del slider */
.social-slide img {
  height: 240px;
  width: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.social-slide img:hover {
  transform: scale(1.03);
}
