/* Minification failed. Returning unminified contents.
(3,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(12,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(15,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(16,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(23,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(45,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(46,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(51,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-dark'
(52,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(67,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(133,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(134,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(141,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-dark'
(157,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(158,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(159,33): run-time error CSS1039: Token not allowed after unary operator: '-color-border'
(163,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(164,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(189,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(193,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(209,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(210,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(215,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(227,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(231,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(278,35): run-time error CSS1039: Token not allowed after unary operator: '-color-border'
(300,26): run-time error CSS1039: Token not allowed after unary operator: '-color-background-light'
(309,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(315,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(325,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(333,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(349,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(376,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(413,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(414,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(418,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(428,26): run-time error CSS1039: Token not allowed after unary operator: '-color-gray-light'
(448,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(456,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(461,26): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(465,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(479,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(493,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(566,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(623,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(631,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(637,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(640,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(647,26): run-time error CSS1039: Token not allowed after unary operator: '-color-background-light'
(667,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(675,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(683,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(722,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(947,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(970,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(1017,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(1051,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(1158,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1174,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1194,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(1204,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(1214,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(1225,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1240,20): run-time error CSS1039: Token not allowed after unary operator: '-color-bg'
(1262,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1333,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(1343,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(1344,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1477,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-dark'
(1488,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(1500,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(1539,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(1548,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(1562,26): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(1659,26): run-time error CSS1039: Token not allowed after unary operator: '-color-background-light'
(1763,22): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(1769,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1780,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-light'
(1793,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1806,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(1813,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-light'
(1825,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(1855,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(1884,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(1920,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2020,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2080,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2085,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2108,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2109,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(2123,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2179,26): run-time error CSS1039: Token not allowed after unary operator: '-color-background-light'
(2220,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2226,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-light'
(2231,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2236,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2274,26): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(2275,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(2349,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2350,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(2359,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2360,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(2433,20): run-time error CSS1039: Token not allowed after unary operator: '-shadow-card'
(2439,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-light'
(2447,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(2452,20): run-time error CSS1039: Token not allowed after unary operator: '-color-card-bg'
(2457,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-light'
(2461,35): run-time error CSS1046: Expect comma, found '207'
(2461,43): run-time error CSS1046: Expect comma, found '/'
(2477,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(2490,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(2505,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-primary'
(2515,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2523,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2534,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2548,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(2554,26): run-time error CSS1039: Token not allowed after unary operator: '-color-border'
(2561,22): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2566,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2571,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2572,22): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2576,20): run-time error CSS1039: Token not allowed after unary operator: '-gradient-light'
(2582,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2595,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2645,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2826,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(2844,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2850,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2866,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(2900,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(2908,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(3007,26): run-time error CSS1039: Token not allowed after unary operator: '-color-background-light'
(3027,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(3097,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(3128,15): run-time error CSS1039: Token not allowed after unary operator: '-color-yellow'
(3137,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3150,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(3151,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(3232,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3233,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(3682,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3687,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3691,15): run-time error CSS1039: Token not allowed after unary operator: '-color-border'
(3696,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(3709,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(3710,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(3714,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(3766,15): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(3810,26): run-time error CSS1039: Token not allowed after unary operator: '-color-background-light'
(3816,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(3834,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(3849,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3861,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3872,33): run-time error CSS1039: Token not allowed after unary operator: '-color-border'
(3878,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(3885,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(3891,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(3908,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(3915,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3924,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(3934,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(3973,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(3978,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(3979,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(3994,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4000,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4020,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(4021,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4033,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4050,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4057,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4063,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4091,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4098,26): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4125,31): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-rgb'
(4137,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4172,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(4180,31): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-rgb'
(4188,26): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4200,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4205,38): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-rgb'
(4212,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4213,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4214,3): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4224,20): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(4225,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4226,23): run-time error CSS1039: Token not allowed after unary operator: '-cookie-radius'
(4227,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-shadow'
(4232,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-transition'
(4281,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4297,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-transition'
(4302,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4333,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-transition'
(4347,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4427,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4458,23): run-time error CSS1039: Token not allowed after unary operator: '-cookie-radius'
(4462,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-transition'
(4468,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4473,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4478,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4484,22): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4485,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4491,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4498,22): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4501,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4505,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4507,22): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4511,20): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4519,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4525,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4545,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-shadow'
(4546,20): run-time error CSS1039: Token not allowed after unary operator: '-cookie-transition'
(4550,20): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4575,25): run-time error CSS1039: Token not allowed after unary operator: '-cookie-radius'
(4575,46): run-time error CSS1039: Token not allowed after unary operator: '-cookie-radius'
(4635,27): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4642,28): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4652,28): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4658,26): run-time error CSS1039: Token not allowed after unary operator: '-color-white'
(4659,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(4671,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4688,15): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(4695,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4727,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4734,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
(4759,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4780,15): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(4787,15): run-time error CSS1039: Token not allowed after unary operator: '-color-text-muted'
 */
:root {
  /* Colores principales */
  --color-primary: #26408b; /* Azul oscuro, color principal */
  --color-primary-dark: #00233f; /* Azul más oscuro para hover */
  --color-secondary: #1bb8d1; /* Azul claro para hover */
  --color-accent: #6b8fed; /* Azul medio/violeta */
  --color-yellow: #feff86; /* Amarillo */
  /* Colores neutros */
  --color-white: #fff; /* Blanco */
  --color-background-light: #fcfcfc; /* Gris muy claro para fondos */
  --color-card-bg: #f8f9fa; /* Gris aún más claro para tarjetas */
  --color-gray-light: #e9ecef; /* Gris claro */

  /* Colores de texto */
  --color-text: #333; /* Gris oscuro para texto principal */
  --color-text-muted: #555; /* Gris para texto secundario */

  /* Colores de bordes */
  --color-border: rgba(0, 0, 0, 0.1); /* Color para bordes sutiles */

  /* Colores con transparencia */
  --color-accent-transparent: rgba(107, 143, 237, 0.8);
  --color-primary-transparent: rgba(0, 61, 112, 0.3);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', system-ui, sans-serif;
  letter-spacing: 0.05em;
}
.main-content {
  flex: 1 0 auto;
}
.btn-primary {
  margin-left: auto;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-primary);
  color: var(--color-white);
  transition: background 0.3s, color 0.3s;
}

.btn-primary:hover {
  background: var(--color-primary-dark) !important;
  color: var(--color-white);
}
.main-title {
  font-size: 2rem;
  font-weight: bold;
  color: #252525;
  margin-bottom: 3rem;
  padding: 0 0.7rem;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Oswald', 'Nunito', sans-serif;
}
.yellow-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--color-yellow);
  margin: 1rem;
  text-align: center;
}
/* Estilos comunes para todos los controles de carrusel */
.carousel-control-prev,
.carousel-control-next,
.nav button {
  opacity: 1;
  background: transparent;
  border: none;
  pointer-events: all;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s;
  font-size: 2.5rem;
  color: #808080;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
}

.carousel-control-prev-icon::before {
  content: '‹';
  color: #808080;
  font-size: 2.5rem;
}

.carousel-control-next-icon::before {
  content: '›';
  color: #808080;
  font-size: 2.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover,
.nav button:hover {
  opacity: 0.7;
  background: transparent;
}

/* Estilos para botón de cierre en modales */
.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.modal-close .bi-x {
  color: var(--color-white);
  background-color: var(--color-accent);
  border-radius: 2rem;
  font-size: 1.5rem;
  padding: 0% 0.25rem;
}

.modal-close:hover .bi-x {
  color: var(--color-primary-dark);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  gap: 1rem;
  transition: background 0.3s, color 0.3s, border-bottom 0.3s;
  z-index: 1000;
  background: var(--color-white);
  color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header--solid {
  background: var(--color-white);
  color: var(--color-primary);
}

.header__logo {
  height: 40px;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__nav-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0 auto;
}

.header__nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  color: var(--color-text-muted);
}

.header__nav-link:hover {
  color: var(--color-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.header__cta {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-accent);
  color: var(--color-white);
  transition: background 0.3s;
}

.header__cta:hover {
  background: var(--color-primary);
}

/* Menu Toggle Button */
.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
  color: var(--color-primary) !important;
}

.header__menu-toggle.active {
  color: var(--color-accent) !important;
}

/* Responsive Design */
@media (max-width: 767.98px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .header__logo {
    height: 32px;
    order: 1;
  }

  .header__menu-toggle {
    display: block;
    order: 3;
  }

  .header__actions {
    order: 2;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .header__nav.active {
    display: block;
  }

  .header__nav-list {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .header__nav-item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .header__nav-item:last-child {
    border-bottom: none;
    padding-top: 1rem;
  }

  .header__nav-item:first-child {
    padding-bottom: 1rem;
  }

  .header__cta {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
}

/* Footer */
footer.site-footer {
  position: relative;
  width: 100%;
  background-color: var(--color-background-light);
  padding: 2rem 0;
  margin-top: auto;
  flex-shrink: 0;
}


.site-footer h5 {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer .text-muted {
  font-size: 0.875rem;
}

.site-footer .bi {
  color: var(--color-text-muted);
  margin-right: 0.3rem;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.9;
}

.main-hero {
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 0;
  /* min-height: calc(100vh - 80px); */
}

.hero-logo-container {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.hero-cards-container,
.hero-cards-ct {
  width: 90%;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.hero-card {
  background-color: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  flex: 1;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.hero-carousel {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  max-width: 320px;
}

.hero-carousel .carousel-item {
  text-align: center;
}

.hero-carousel .btn-carousel {
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  border-radius: 2rem;
  background-color: var(--color-accent);
  color: var(--color-white);
}

.hero-carousel .btn-carousel:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.card-image-wrapper {
  width: 100%;
  height: 285px;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  background-color: var(--color-gray-light);
}

.card-image-clipper {
  width: 100%;
  height: 100%;
  position: relative;
}

.card-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bottom-text {
  text-align: center;
  font-weight: bold;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: 2rem 0;
}

.hero-bottom-text2 {
  text-align: center;
  font-weight: bold;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.label-highlight {
  border: 2px solid var(--color-yellow);
  background-color: transparent;
  font-weight: bold;
  border-radius: 2rem;
  color: var(--color-yellow);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.main-hero .carousel-control-prev-icon::before {
  color: #ffffff;
}
.main-hero .carousel-control-next-icon::before {
  color: #ffffff;
}
.card-subtitle {
  text-align: center;
  color: var(--color-white);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.card-content-wrapper {
  position: absolute;
  z-index: 2;
}

.card-text-content {
  text-align: center;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-image-clipper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .hero-card {
    margin-bottom: 1.5rem;
    max-width: 100%;
  }

  .hero-card:last-child {
    margin-bottom: 0;
  }

  .hero-carousel {
    position: relative;
    top: 0;
    transform: translateX(-50%);
    margin: 2rem 0;
  }
}

@media (max-width: 767.98px) {
  .main-hero {
    min-height: auto;
  }

  .hero-cards-ct {
    width: 90%;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .hero-card {
    width: 100%;
    margin: 0;
  }

  .card-image-wrapper {
    height: 200px;
  }

  .hero-bottom-text {
    font-size: 0.9rem;
    margin: 1.5rem 0;
  }

  .hero-bottom-text2 {
    font-size: 0.7rem;
  }
}

/* Estilos generales del carrusel */
.stats {
  background: var(--color-white);
}
.stats .carousel-inner {
  padding: 5rem 0;
  width: 100%;
}

/* Centrado vertical de las flechas del carrusel */
.stats .carousel-control-prev,
.stats .carousel-control-next {
  width: 5%;
  color: #333;
  top: 50%; /* Posiciona el elemento al 50% desde arriba */
  transform: translateY(
    -50%
  ); /* Desplaza el elemento hacia arriba la mitad de su altura */
  bottom: auto; /* Anula el bottom: 0 predeterminado */
  height: auto; /* Anula la altura completa predeterminada */
}

/* Mejora de la visualización de los iconos de flechas */
.stats .carousel-control-prev-icon,
.stats .carousel-control-next-icon {
  filter: invert(1);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  padding: 10px;
  width: 40px; /* Tamaño fijo para los iconos */
  height: 40px;
}

/* Estilos del contenedor y elementos estadísticos */
.stats-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  margin: 0 auto;
}

.stat-item {
  flex: 0 1 auto;
  text-align: center;
  min-width: 180px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

/* Estilos específicos para los números */
.stat-item .number,
.stat-item .number-bottom {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* Estilo específico para números fijos */
.stat-item .number-fixed {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.4;
  font-weight: bold;
  color: var(--color-text-muted);
  margin: 1rem;
}

/* Estadísticas con porcentajes */
.stats-percentage {
  padding: 6rem 0;
  background-color: var(--color-background-light);
}

.stats-percentage-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-percentage-item {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.stat-percentage-header {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.percentage {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.stat-percentage-text {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1500px) {
  .stats-container {
    gap: 0;
  }
  .stat-item .number,
  .stat-item .number-fixed {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .stats-container {
    padding: 1rem;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
    min-width: 150px;
  }

  .stat-item .number,
  .stat-item .number-bottom,
  .stat-item .number-fixed {
    font-size: 2.5rem;
  }

  .stat-item .label {
    font-size: 1rem;
  }
}

/* Estilos específicos para la sección de companies */
.companies {
  background: var(--color-white);
  text-align: center;
  padding: 5rem 0;
}

.slider-logo {
  background: white;
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 90%;
  padding: 1rem 0;
}

.slider-logo::before,
.slider-logo::after {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: '';
  height: 100px;
  position: absolute;
  width: 150px;
  z-index: 2;
}

.slider-logo::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider-logo::before {
  left: 0;
  top: 0;
}

.slide-track-logo {
  animation: scroll 35s linear infinite;
  display: flex;
  width: calc(250px * 14);
  gap: 4rem;
}

.slide-logo {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.slide-logo:hover img {
  opacity: 1;
  filter: none;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

/* Case Studies Carousel Styles */
.case-studies {
  text-align: center;
}

.case-study-container {
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.case-study-container:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.case-study-carousel {
  position: relative;
  width: 100%;
}

.case-studies .carousel-control-prev,
.case-studies .carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}

.case-studies .carousel-control-next {
  right: 5%;
}

.case-studies .carousel-control-prev {
  left: 5%;
}

.case-studies .carousel-control-prev-icon::before,
.case-studies .carousel-control-next-icon::before {
  color: #ffffff;
}

.case-study-slide {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.case-study-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.4s cubic-bezier(0.4, 1, 0.4, 1);
}

.case-study-slide img.img-darkened {
  filter: brightness(0.75);
}

.case-study-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: white;
}

.case-study-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.6;
}

.testimonial-text {
  font-size: 1.08rem;
  color: #fff;
  line-height: 1.7;
  text-align: center;
  max-width: 1200px;
  font-style: italic;
  width: 100%;
  margin: 0 auto;
}

/* Flip Components Base Styles */
.flip-testimonio,
.flip-retail {
  perspective: 1200px;
  width: 100%;
  margin: 0 auto;
  min-height: 220px;
  position: relative;
}

.flip-testimonio {
  max-width: 1200px;
}

.flip-retail {
  max-width: 900px;
}

.flip-inner {
  position: relative;
  width: 100%;
  min-height: 220px;
  transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-testimonio.is-flipped .flip-inner,
.flip-retail.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  min-height: 220px;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.flip-front {
  z-index: 2;
}

.flip-back {
  transform: rotateY(180deg);
  z-index: 3;
}

/* Buttons */
.flip-btn,
.retail-btn,
.case-study-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.case-study-btn {
  padding: 1rem 2rem;
  margin-top: 2rem;
}

.flip-btn:hover,
.flip-btn:focus,
.retail-btn:hover,
.retail-btn:focus,
.case-study-btn:hover {
  background: var(--color-primary);
  color: #fff;
  outline: none;
}

.timeline-content {
  width: 100%;
  max-width: 100%;
  padding: 1rem;
  text-align: left;
  box-sizing: border-box;
}

.timeline-content-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.timeline-content-inner.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
}

.timeline-year-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.timeline-year {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  word-break: break-word;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.timeline-desc {
  font-size: 0.95rem;
  color: #e0e0e0;
  line-height: 1.5;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-content {
    padding: 0 5rem;
  }
  .case-study-slide {
    height: 400px;
  }

  .case-study-text {
    font-size: 0.8rem;
    padding: 0 3.5rem;
  }

  .timeline-header {
    gap: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .timeline-year {
    font-size: 1.5rem;
  }

  .timeline-title {
    font-size: 1rem;
  }

  .timeline-desc {
    font-size: 1rem;
    line-height: 1.4;
  }

  .icon-circle {
    width: 35px;
    height: 35px;
  }
  .flip-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 600px) {
  .case-study-content {
    padding-bottom: 2rem;
  }
  .testimonial-text {
    font-size: 0.8rem;
  }

  .timeline-header {
    gap: 0.5rem;
  }

  .timeline-year {
    font-size: 1.2rem;
  }

  .timeline-title {
    font-size: 0.9rem;
  }

  .timeline-desc {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .icon-circle {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .timeline-header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .timeline-year {
    font-size: 1.3rem;
  }

  .timeline-title {
    font-size: 0.95rem;
  }

  .timeline-desc {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .icon-circle {
    width: 30px;
    height: 30px;
  }
}

/* Social Media Section Styles */
.social-section {
  background: var(--color-white);
  text-align: center;
  padding: 5rem 0;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.social-card {
  flex: 1;
  max-width: 460px;
  background: var(--color-white);
  border-radius: 2rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.social-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.social-icon {
  width: 40%;
  height: 40%;
  object-fit: contain;
}

.social-description {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background-color: var(--color-primary);
  color: white;
}

.social-btn i {
  font-size: 1.2rem;
}

.social-section .bi-linkedin,
.bi-arrow-right,
.bi-bell {
  color: var(--color-white);
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .social-container {
    padding: 0 1rem;
  }

  .social-card {
    min-width: 100%;
  }
}

/* Video Cards Carousel Styles */
.video-section {
  background: var(--color-bg);
  text-align: center;
  padding: 3rem 0;
}

.video-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 5rem;
  position: relative;
}

.video-cards-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 1rem;
}

.video-card {
  flex: 0 0 calc(25% - 1.125rem); /* 4 cards visible */
  background: var(--color-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.video-card:hover {
  transform: scale(1.05);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.video-thumbnail video,
.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-content {
  opacity: 1;
}

.video-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-align: center;
  max-width: 80%;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.video-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.video-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 1rem;
}

.video-nav button {
  pointer-events: auto;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: #808080;
  cursor: pointer;
  transition: opacity 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-nav button:hover {
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .video-card {
    flex: 0 0 calc(33.333% - 1rem); /* 3 cards visible */
  }
}

@media (max-width: 992px) {
  .video-card {
    flex: 0 0 calc(50% - 0.75rem); /* 2 cards visible */
  }
}

@media (max-width: 576px) {
  .video-card {
    flex: 0 0 100%; /* 1 card visible */
  }
}

/* Estilos para la página Control Tower */

/* Nueva sección con gradiente - Inspirada en el diseño mostrado */
.modern-gradient-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(90deg, #353a73 0%, #6b8fed 50%, #5ecbcb 100%);
  overflow: hidden;
  color: #ffffff;
}

.gradient-container {
  display: flex;
  flex-direction: row;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 4rem;
}

/* Columna de texto */
.gradient-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gradient-subheading {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.gradient-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.gradient-description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Columna de carrusel */
.gradient-carousel-col {
  flex: 1.2;
  position: relative;
}

/* Tarjeta de contenido del carrusel */
.gradient-slide-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 3rem;
  padding: 2.5rem;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gradient-slide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary-dark);
  z-index: 1;
}

.gradient-slide-card > * {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.gradient-slide-header {
  color: var(--color-yellow);
}

.gradient-slide-title {
  color: #ffffff;
}

.gradient-slide-list li {
  color: rgba(255, 255, 255, 0.9);
}

.gradient-slide-list li::before {
  color: var(--color-yellow);
}

.gradient-slide-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.gradient-slide-header-row .gradient-slide-header {
  margin-bottom: 0;
}

.gradient-slide-header-row .gradient-action-btn {
  margin-top: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.gradient-slide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.gradient-slide-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: white;
  font-size: 0.95rem;
  line-height: 1.4;
}

.gradient-slide-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-yellow);
  font-weight: bold;
  font-size: 1.2rem;
}

.gradient-slide-header {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-yellow);
}

.gradient-slide-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
  line-height: 1.2;
}

/* Botón de acción */
.gradient-action-btn {
  display: inline-block;
  background-color: var(--color-yellow);
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.gradient-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(91, 107, 232, 0.3);
  color: #ffffff;
}

/* Controles de carrusel */
.gradient-carousel-col .carousel-control-prev,
.gradient-carousel-col .carousel-control-next {
  width: 10px;
  height: 40px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.gradient-carousel-col .carousel-control-prev {
  left: -20px;
}

.gradient-carousel-col .carousel-control-next {
  right: -20px;
}

/* Responsive */
@media (max-width: 992px) {
  .gradient-container {
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .gradient-heading {
    font-size: 2rem;
  }

  .gradient-slide-card {
    padding: 2rem;
    height: auto;
    min-height: 400px;
  }

  .gradient-slide-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .modern-gradient-section {
    padding: 3rem 0;
  }

  .gradient-subheading {
    font-size: 1rem;
  }

  .gradient-heading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .gradient-description {
    font-size: 0.9rem;
  }

  .gradient-slide-header {
    font-size: 1.1rem;
  }

  .gradient-slide-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .gradient-action-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
}
/* -----------------------------
   Sección de fotos en tarjetas
   ----------------------------- */
.photo-cards-section {
  padding: 5rem 0;
  background-color: var(--color-background-light);
}

.photo-cards-section .main-title {
  text-align: center;
}

.photo-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.photo-card {
  position: relative; /* necesario para el título superpuesto */
  aspect-ratio: 4 / 5; /* más alto que ancho */
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Título superpuesto en la parte inferior */
.photo-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #ffffff;
  text-align: center;
  padding: 1rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* Responsive: ir disminuyendo columnas */
@media (max-width: 1200px) {
  .photo-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 992px) {
  .photo-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .photo-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .photo-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Estilos para contenido dinámico */
.content-section {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.content-section.active {
  display: block;
  opacity: 1;
}

/* Estilos para cambio de pestañas */
.hero-card {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2rem;
}

.hero-card.active {
  border-color: var(--color-yellow);
}

/* Sección de integraciones */
.integrations-cards-section {
  padding: 2rem 0;
  background-color: var(--color-white);
}

.integrations-cards-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.integrations-description {
  font-size: 1.125rem;
  color: var(--color-text-light);
  text-align: center;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.integration-card {
  background-color: var(--color-white);
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.integration-card h3 {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.integration-card p {
  color: var(--color-text-light);
  line-height: 1.6;
}
/* .network-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: bold;
  color: var(--color-primary);

  margin-bottom: 2rem;
  text-align: center;
} */
.network-subheading {
  color: var(--color-text-muted);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 2rem;
}
@media (max-width: 992px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .integrations-cards-section {
    padding: 3rem 0;
  }

  .integrations-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

/* Sección de network */
.network-cards-section {
  padding: 5rem 0;
  background-color: var(--color-white);
}

.network-cards-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.network-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  position: relative;
}

.network-item {
  flex: 1;
  position: relative;
  max-width: 250px;
  aspect-ratio: 1;
  text-align: center;
}

.network-item {
  position: relative;
}

.network-item-title {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.network-item-image {
  width: 90%;
  height: 65%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  filter: grayscale(25%);
}

.network-item-content {
  /* position: absolute; */
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
  z-index: 10;
}

.network-item.visible .network-item-content {
  opacity: 1;
  transform: translateY(0);
}

.network-item-content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.95);
}
@media (max-width: 992px) {
  .network-grid {
    flex-wrap: wrap;
  }

  .network-item {
    flex: 0 0 calc(50% - 1rem);
    max-width: none;
  }

  .network-item:nth-child(even) {
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .network-grid {
    flex-direction: column;
    align-items: center;
  }

  .network-item {
    flex: 0 0 100%;
    max-width: 200px;
  }
}
/* ================================
   Contenedor General
   ================================ */
.container {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ================================
   SECCIÓN: INTEGRACIONES
   ================================ */
.integrations-cards-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.integrations-cards-section .main-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 1rem;
}

.integrations-cards-section .integrations-description {
  font-size: 1rem;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.integrations-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .integrations-grid {
    flex-direction: row;
  }
}

.integration-card {
  background-color: #ffffff;
  border-radius: 2rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  flex: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
/* .integration-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
} */
.integration-subheading {
  color: var(--color-text-muted);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 2rem;
}
/* ================================
   SECCIÓN: TRABAJAMOS CONJUNTAMENTE (CUSTOMER CARE)
   ================================ */
.workflow-section {
  padding: 2rem 0 5rem;
  background-color: #ffffff;
}
.workflow-section .container {
  display: flex;
  align-items: center;
}

@media (max-width: 992px) {
  .workflow-section .container {
    flex-direction: column;
  }

  .workflow-content {
    padding: 0 2rem; /* Reducir el padding horizontal */
  }

  .workflow-header {
    margin-bottom: 1rem; /* Espacio adicional después del encabezado */
  }
}

/* Para móviles, ajustar aún más */
@media (max-width: 576px) {
  .workflow-content {
    padding: 0 1rem;
  }
}
.workflow-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.workflow-header-img {
  width: 100%;
  max-width: 400px;
}

.workflow-header-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}

.workflow-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}
.workflow-subheading {
  color: var(--color-text-muted);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  padding-bottom: 2rem;
}
.workflow-content {
  padding: 0 4rem;
}
.workflow-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.workflow-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.workflow-icon {
  flex-shrink: 0;
  background-color: var(--color-accent);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.workflow-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  text-transform: capitalize;
}

.workflow-card p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.5;
  margin: 0;
}

/* ================================
   Responsividad General
   ================================ */
@media (max-width: 575px) {
  .integrations-cards-section .main-title,
  .workflow-section .workflow-title {
    font-size: 1.5rem;
  }

  .integration-card {
    padding: 1.25rem 1rem;
  }

  .workflow-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-top: 0.2rem;
  }

  .workflow-card h3 {
    font-size: 1rem;
  }

  .workflow-card p {
    font-size: 0.9rem;
  }
}

/* Estilos para la sección de valor */
@keyframes pulsate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.value-section {
  padding: 5rem 0;
  background-color: var(--color-background-light);
}

.value-section .mb-3 img {
  animation: pulsate 3s ease-in-out infinite;
}

.value-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.value-item img {
  width: 100px;
  height: auto;
}

.value-arrow {
  width: 70px;
}

.value-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-primary);
  text-align: center;
}
.value-text2 {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text-light);
}

.value-text span {
  font-size: 1.5rem;
  color: var(--color-accent);
}

/* Contenedor del logo con fondo azul */
.logo-container {
  background-color: var(--color-accent);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.logo-container img {
  width: 100px;
  height: auto;
}

/* Contenedor de flecha */
.arrow-container i {
  color: white;
  font-size: 2rem;
}

/* Responsive para la sección de valor */
@media (max-width: 768px) {
  .value-container {
    flex-direction: column;
    gap: 3rem;
  }

  .value-item {
    padding: 1rem;
  }

  .value-text {
    font-size: 1rem;
  }
}

/* Estilos para los botones de navegación */
.label-highlight:hover {
  background-color: var(--color-yellow);
  color: var(--color-text);
  font-weight: bold;
  border: none;
}

/* ================================
   ESTILOS PARA DISCOVER MORE OVERLAY
   ================================ */

/* Asegurar que el contenedor padre tenga position relative */
.photo-modal-image {
  position: relative;
  overflow: hidden;
}

.discover-more-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4),
    transparent
  );
  backdrop-filter: blur(2px);
  z-index: 10;
  /* Asegurar que nunca salga del contenedor */
  max-width: 100%;
  box-sizing: border-box;
}

.discover-content {
  color: white;
  text-align: center;
  max-width: 100%;
}

.discover-content h3 {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  line-height: 1.3;
}

.discover-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* Estilos específicos para los botones de la modal */
.discover {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(0.7rem, 1.8vw, 0.85rem);
  white-space: nowrap;
  border: 2px solid transparent;
  min-width: 0;
  flex-shrink: 1;
}

.discover-loader,
.discover-operator {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-weight: bold;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.discover-loader:hover,
.discover-operator:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: bold;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive para diferentes tamaños de pantalla */
@media (max-width: 1200px) {
  .discover-more-overlay {
    padding: 0.8rem;
  }

  .discover-content h3 {
    margin-bottom: 0.8rem;
  }

  .discover-buttons {
    gap: 0.4rem;
  }
}

@media (max-width: 768px) {
  .discover-more-overlay {
    padding: 0.6rem;
  }

  .discover-content h3 {
    margin-bottom: 0.6rem;
  }

  .discover-buttons {
    flex-direction: column;
    gap: 0.3rem;
  }

  .discover {
    padding: 0.3rem 0.6rem;
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .discover-more-overlay {
    padding: 0.5rem;
  }

  .discover-content h3 {
    margin-bottom: 0.5rem;
  }

  .discover {
    padding: 0.3rem 0.5rem;
    max-width: 200px;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 320px) {
  .discover-more-overlay {
    padding: 0.4rem;
  }

  .discover {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    max-width: 200px;
  }
}

.modal-content {
  border: none;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-height: 90vh;
}

.modal-header {
  background: var(--gradient-light);
  border-bottom: 1px solid rgba(107, 143, 237, 0.1);
  padding: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.modal-body {
  padding: 0;
  background: var(--color-card-bg);
}

/* Columna de contacto */
.contact-info {
  background: var(--gradient-light);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-right: 2px solid rgb(207 207 207 / 40%);
  font-size: 0.9rem;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.05;
  z-index: 0;
}

.contact-info-content {
  display: flex;
  z-index: 1;
  flex-direction: column;
  position: relative;
}

.contact-info-title {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  align-items: flex-start;
}

.contact-info-item i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-text {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

.contact-link {
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.contact-link:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

.contact-text p {
  margin: 0;
}

.form-group {
  margin-bottom: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.form-control {
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 0.2rem rgba(107, 143, 237, 0.1);
}

.form-check-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.form-check-input:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.modal-footer {
  background: var(--gradient-light);
  border-top: 1px solid rgba(107, 143, 237, 0.1);
  padding: 1.5rem;
}

.btn-submit {
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 143, 237, 0.2);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
  background: var(--color-primary);
}

.btn-close {
  opacity: 0.7;
  transition: all 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background-color: white;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Validación de formulario */
.form-control:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-control:valid:not(:placeholder-shown) {
  border-color: #198754;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Animación del modal */
.modal.fade .modal-dialog {
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: scale(1);
  height: auto;
  display: flex;
  align-items: center;
}

.modal-body .bi {
  color: var(--color-primary);
}

.bi-box-arrow-up-right::before {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

/* Ajustes para evitar scroll en portátiles */
.modal-dialog.modal-lg {
  max-width: 900px;
}

#message {
  height: 100px;
}

.contact-info img {
  max-height: 150px;
  object-fit: contain;
  width: 100%;
  margin-bottom: 0.75rem;
}
#demoForm {
  padding: 4rem;
}
/* Responsive styles */
@media (max-width: 991.98px) {
  .modal-dialog {
    max-width: 90%;
    margin: 1rem auto;
  }
}

@media (max-width: 767.98px) {
  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-body .row {
    flex-direction: column;
  }

  .btn-close {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0.6rem;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
  }

  .contact-info {
    border-right: none;
    border-bottom: 3px solid rgba(107, 143, 237, 0.4);
    padding: 1.5rem;
    order: -1;
  }

  .contact-info img {
    max-height: 120px;
    object-fit: contain;
    width: 100%;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-control {
    padding: 0.5rem 0.75rem;
  }

  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-content {
    border-radius: 1rem;
  }
  #demoForm {
    padding: 0 2rem 2rem 2rem;
  }
}

@media (max-width: 575.98px) {
  .contact-info {
    padding: 0;
  }

  .contact-info img {
    display: none;
  }

  .contact-info-title {
    margin-bottom: 0.75rem;
  }

  .contact-info-item {
    margin-bottom: 0.75rem;
  }

  .col-md-7.p-5 {
    padding: 1.25rem !important;
  }

  .btn-submit {
    padding: 0.6rem 1.5rem;
  }

  .form-control {
    font-size: 0.9rem;
  }

  .modal-dialog {
    margin: 0.25rem;
    max-width: calc(100% - 0.5rem);
  }
}

/* Fix for modal close button */
#demoModal .modal-content {
  position: relative;
}

#demoModal .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* Estilos para la modal de foto */
.photo-card-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1050;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-card-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  padding: clamp(0.5rem, 2vw, 2rem);
}

.photo-modal-content {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(400px, 1.5fr);
  width: clamp(300px, 90%, 1200px);
  min-height: min(500px, 90vh);
  max-height: 90vh;
  border-radius: clamp(8px, 1vw, 12px);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: white;
  position: relative;
}

.photo-modal-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100%;
  width: 100%;
}

.photo-modal-text {
  padding: clamp(1rem, 2vw, 2rem);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

/* Estilizar la barra de scroll */
.photo-modal-text::-webkit-scrollbar {
  width: 8px;
}

.photo-modal-text::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.photo-modal-text::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
}

.section-label {
  display: block;
  color: var(--color-text-muted);
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 0.5rem;
}

.photo-modal-title {
  font-size: 2rem;
  font-weight: bold;
  color: #252525;
  font-family: 'Oswald', 'Nunito', sans-serif;
}

.photo-modal-intro {
  line-height: 1.6;
  color: var(--color-text-muted);
}

.photo-modal-features {
  display: flex;
  justify-content: center;
  width: 100%;
}

.modal-features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.modal-features-list li {
  /* background: var(--color-background-light); */
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  /* gap: 0.5rem; */
  transition: background-color 0.3s ease;
}

.modal-features-list li:hover {
  background-color: #f8f9fa;
}

.modal-features-list h4 {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.modal-features-list p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Animación de entrada */
.photo-card-modal.show .photo-modal-content {
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1500px) {
  .modal-features-list li {
    padding: 0.3rem;
  }
  .modal-features-list h4 {
    font-size: 0.9rem;
  }
  .modal-features-list p {
    font-size: 0.8rem;
  }
  .photo-modal-intro {
    font-size: 0.9rem;
  }
}
@media (max-width: 1200px) {
  .photo-modal-content {
    grid-template-columns: 1fr 1.2fr;
  }
}

@media (max-width: 992px) {
  .photo-modal-content {
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr;
  }

  .photo-modal-image {
    height: 30vh;
    min-height: 200px;
  }

  .photo-modal-text {
    max-height: calc(60vh - 32px);
  }
}

@media (max-width: 576px) {
  .photo-card-modal.show {
    padding: 0.5rem;
  }

  .modal-features-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .photo-modal-content {
    width: 100%;
    min-height: calc(100vh - 1rem);
    border-radius: 0;
  }
}

/* Orientación landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
  .photo-modal-content {
    grid-template-columns: 300px 1fr;
    min-height: 100%;
  }

  .photo-modal-image {
    height: 100%;
  }

  .photo-modal-text {
    padding: 1rem;
  }

  .photo-modal-header {
    margin-bottom: 1rem;
  }
}

/* Sección de productos */
.modern-product-section {
  background-color: var(--color-background-light);
  padding: 5rem 0;
}
.modern-product-section .main-title {
  margin-bottom: 2rem;
}
.product-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-text-col {
  width: 100%;
  text-align: center;
}

.product-subheading {
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 600;
}

/* Grid de productos */
.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2rem;
  width: 100%;
  padding: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-grid::-webkit-scrollbar {
  display: none;
}

/* Tarjetas de producto */
.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 400px;
  min-width: 400px;
  height: auto;
  border-radius: 8px;
  overflow: visible;
  margin-bottom: 30px;
  background-color: transparent;
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  position: relative;
  margin-top: -40px;
  background-color: #252525;
  color: #fff;
  padding: 25px;
  border-radius: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.product-type {
  font-style: italic;
  color: var(--color-yellow);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 5px;
  color: #fff;
  font-family: 'Oswald', 'Nunito', sans-serif;
}

.product-features {
  list-style: none;
  padding: 0;
  flex-grow: 1;
}

.product-features li {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.4;
}

.product-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-yellow);
}

.discover-btn {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  padding: 0.7rem 1.5rem;
  background-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.discover-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.product-card.second {
  margin-bottom: 40px;
}

/* Media queries */
@media (max-width: 1400px) {
  .product-grid {
    padding: 1rem 0.5rem;
    gap: 1.5rem;
  }

  .product-card {
    width: 350px;
    min-width: 350px;
  }
}

@media (max-width: 1080px) {
  .product-grid {
    flex-direction: column;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 1rem;
    gap: 2.5rem;
    align-items: center;
  }

  .product-card {
    width: 100%;
    max-width: 600px;
    min-width: auto;
    margin-bottom: 20px;
  }

  .product-content {
    min-height: 280px;
  }

  .product-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    padding: 1rem;
    gap: 2rem;
  }

  .product-card {
    max-width: 100%;
  }

  .product-image {
    height: 200px;
  }

  .product-content {
    padding: 20px;
    min-height: 260px;
  }

  .product-title {
    font-size: 1.75rem;
  }

  .product-features li {
    font-size: 0.9rem;
  }

  .discover-btn {
    bottom: -15px;
  }
}

:root {
  --primary-color: #ecad29;
  --text-color: #ffffffdd;
}
.hero-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  padding-bottom: 5rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: transform 8s ease-out;
  background-color: #181818;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-content {
  color: white;
  padding: 3rem;
  margin-top: 3rem;
  z-index: 10;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-content h1 {
  font-family: 'Oswald', 'Nunito', sans-serif;
  font-size: 4.5rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 3px;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 30%;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.cta-button {
  display: inline-block;
  background: transparent;
  border: 2px solid #feff86;
  color: #feff86;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.8rem;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: 0.5s;
}

.cta-button:hover {
  background: #feff86;
  color: #333;
}

.cta-button:hover::before {
  left: 100%;
}

/* Cards Carousel - Nuevo enfoque flexbox */
.cards-carousel {
  position: relative;
  z-index: 10;
  margin-top: auto; /* Empuja el carrusel hacia la parte inferior */
  width: 100%;
}

.cards-container {
  display: flex;
  gap: 20px;
  padding: 35px 40px;
  cursor: grab;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
  justify-content: flex-end;
}

/* Ocultar scrollbar para Chrome, Safari y Opera */
.cards-container::-webkit-scrollbar {
  display: none;
}

.card {
  width: 200px;
  height: 300px;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  border: none;
  transform: perspective(1000px) rotateY(0deg);
}

.hero-bg-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.2) 70%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

.card:hover {
  transform: translateY(-10px) perspective(1000px) rotateY(5deg);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
}

.card.active {
  border: 2px solid #feff86;
  transform: scale(1.05) perspective(1000px) rotateY(0deg);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card-image {
  transform: scale(1.1);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 12px 12px;
  color: white;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.card-content h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInCorner {
  from {
    transform: translate(100%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
.hero-background.slide-in-corner {
  animation: slideInCorner 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-bg-layer.slide-in-corner {
  animation: slideInCorner 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Navigation Dots */
.mobile-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
@media (min-width: 1200px) {
  .mobile-dots {
    display: none !important;
  }
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.dot.active {
  background: #feff86;
  transform: scale(1.2);
}

.hero-first-load {
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.cards-carousel.first-load {
  animation: slideInRightStrong 1s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRightStrong {
  0% {
    transform: translateX(300px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Design */

@media (max-width: 1592px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    max-width: 100%;
  }

  .card {
    width: 180px;
    height: 220px;
  }

  .cards-container {
    padding: 5px 0 35px;
    justify-content: center;
  }
}
/* Tablets */
@media (max-width: 992px) {
  .hero-content {
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .card {
    width: 180px;
    height: 220px;
  }

  .cards-container {
    justify-content: flex-start;
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .hero-content p {
    margin-bottom: 20px;
    text-align: center;
  }

  .cards-carousel {
    padding: 0 15px 30px;
  }

  .card {
    width: 160px;
    height: 200px;
    border-radius: 20px;
  }

  .card-content {
    padding: 15px 10px 10px;
  }

  .card-content h3 {
    font-size: 0.95rem;
  }
}

/* Móviles */
@media (max-width: 576px) {
  .hero-content {
    padding: 25px 15px 15px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-content p {
    font-size: 0.9rem;
    max-width: 90%;
  }

  .cards-carousel {
    padding: 0 10px 20px;
  }

  .cards-container {
    justify-content: flex-start;
    padding-left: 1rem;
  }

  .card {
    width: 140px;
    height: 180px;
    border-radius: 18px;
  }

  .card-content h3 {
    font-size: 0.8rem;
  }
}

/* Móviles pequeños */
@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }

  .card {
    width: 130px;
    height: 170px;
  }

  .card-content h3 {
    font-size: 0.75rem;
  }
}

.lang-switch {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.lang-switch:hover {
  color: var(--color-accent);
}

.current-lang {
  font-weight: bold;
  color: var(--color-accent);
}

.lang-separator {
  color: var(--color-border);
}

.other-lang {
  opacity: 0.7;
  color: var(--color-text-muted);
}

/* Responsive styles */
@media (max-width: 767.98px) {
  .lang-switch {
    font-size: 0.85rem;
  }
}

/* Integrations Section */
.integrations-section {
  padding: 4rem 0;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.integrations-section .main-title {
  color: var(--color-white);
}

.integrations-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.integration-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.integration-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.integration-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.integration-icon img {
  object-fit: contain;
  height: auto;
}

.integration-icon .img-erp {
  width: 50%;
}

.integration-icon .img-proveedores {
  width: 50%;
}

.integration-icon .img-servicios {
  width: 50%;
}

.integration-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.integration-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .integration-item {
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .integration-item {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  .integrations-section {
    padding: 3rem 0;
  }

  .integration-item {
    padding: 1.5rem;
  }

  .integration-item i {
    font-size: 2rem;
  }

  .integration-item h3 {
    font-size: 1.1rem;
  }
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
  background-color: var(--color-background-light);
}

.pricing-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-weight: 600;
}

.pricing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: var(--color-white);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--color-accent);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-accent);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-bottom-left-radius: 0.5rem;
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.pricing-btn {
  display: block;
  width: 80%;
  margin: 0 auto 2rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: white;
  border: none;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pricing-btn:hover {
  background: var(--color-primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .pricing-card {
    min-width: 100%;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .pricing-header {
    padding: 1.5rem;
  }

  .price {
    font-size: 2rem;
  }

  .pricing-features {
    padding: 1.5rem;
  }
}

/* Legal pages styles */
.legal-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
  text-align: center;
  text-transform: uppercase;
}
.legal-content {
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: 3rem;
}

.legal-content .container {
  max-width: 900px;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.legal-section h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.legal-section p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.update-date {
  font-style: italic;
  font-size: 0.9rem;
}
.legal-header-img {
  width: 15%;
  margin: 0 2rem 1rem 0;
}

/* Estilos para la página de política de cookies */
.cookies-content {
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: 3rem;
}

.cookies-content .container {
  max-width: 900px;
}

.cookies-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.cookies-header-img {
  width: 15%;
  margin: 0 2rem 1rem 0;
}

.cookies-section {
  margin-bottom: 3rem;
}

.cookies-section h2 {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.cookies-section h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}
.cookies-section h4 {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}
.cookies-section p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.cookies-section ul,
.cookies-section ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.cookies-section li {
  margin-bottom: 0.5rem;
}

.update-date {
  font-style: italic;
  font-size: 0.9rem;
  text-align: right;
  margin-top: 3rem;
}

/* Estilos para las tablas de cookies */
.table {
  --bs-table-bg: transparent;
  margin-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
}

.table > thead {
  background-color: var(--color-accent);
}

.table > thead > tr > th {
  padding: 1.25rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: none;
  vertical-align: middle;
  color: white !important;
}

.table > tbody > tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.table > tbody > tr:last-child {
  border-bottom: none;
}

.table > tbody > tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.01);
}

.table > tbody > tr:hover {
  background-color: rgba(var(--color-primary-rgb), 0.03);
}

.table > tbody > tr > td {
  padding: 1.25rem 1rem;
  vertical-align: middle;
  border: none;
}

/* Columna Nombre */
.table > tbody > tr > td:first-child {
  font-weight: 600;
  color: var(--color-primary);
}

/* Columna Tipo */
.table > tbody > tr > td:nth-child(2) {
  font-size: 0.9rem;
}

/* Badge para tipos de cookies */
.table .badge {
  padding: 0.5em 1em;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
}

.table td:nth-child(2):contains('Técnica') {
  color: #0d6efd;
}

.table td:nth-child(2):contains('Personalización') {
  color: #198754;
}

.table td:nth-child(2):contains('Analítica') {
  color: #6f42c1;
}

.table td:nth-child(2):contains('Publicitaria') {
  color: #fd7e14;
}

/* Columna Caducidad */
.table > tbody > tr > td:nth-child(3) {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Enlaces en la tabla */
.table .text-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: rgba(var(--color-primary-rgb), 0.1);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.table .text-primary:hover {
  background-color: var(--color-primary);
  color: white !important;
}

.table .text-primary::after {
  content: '↗';
  margin-left: 0.25rem;
  font-size: 0.9rem;
}

/* Títulos de tablas */
.cookies-section h4 {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.1);
}

/* ===== COOKIE BANNER COMPONENT ===== */

/* CSS Variables integration with existing design */
:root {
  --cookie-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  --cookie-radius: 2rem;
  --cookie-transition: all 0.4s ease;
}

/* Main cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 100%;
  max-width: 525px;
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--cookie-radius);
  box-shadow: var(--cookie-shadow);
  padding: 1rem;
  z-index: 1000;
  display: none;
  font-family: Arial, sans-serif;
  transition: var(--cookie-transition);
  border: 1px solid #e0e0e0;
  outline: none; /* Prevent initial focus outline */
}

/* Prevent initial focus outline flash */
#cookie-banner:not(.show) {
  outline: none;
}

#cookie-banner:not(.show) * {
  outline: none;
}

/* Animation for banner appearance */
#cookie-banner.show {
  display: block;
  animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header */
#cookie-banner header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

#cookie-banner header > div {
  font-size: 1.2rem;
  flex-shrink: 0;
}

#cookie-banner h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}

#cookie-banner .close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--cookie-transition);
}

#cookie-banner .close-btn:hover {
  background: #f5f5f5;
  color: var(--color-text);
}

/* Description */
#cookie-banner p.description {
  margin: 0.75rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

/* Cookie items */
.cookie-item {
  display: none;
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.cookie-item:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: var(--cookie-transition);
}

.cookie-header:hover {
  background: rgba(0, 140, 255, 0.05);
  border-radius: 4px;
  margin: 0 -0.5rem;
  padding: 0.5rem;
}

.cookie-header label {
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-text);
}

.cookie-header .toggle-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-header .state {
  font-size: 0.85rem;
  color: #4caf50;
  font-weight: 500;
}

.cookie-header .arrow {
  font-size: 0.8rem;
  transition: transform 0.3s;
  color: #666;
}

.cookie-header.open .arrow {
  transform: rotate(180deg);
}

/* Cookie content */
.cookie-content {
  display: none;
  font-size: 0.85rem;
  line-height: 1.4;
  padding-bottom: 0.75rem;
  color: #666;
  margin-left: 1rem;
  border-left: 2px solid #e0e0e0;
  padding-left: 1rem;
}

/* Toggle switches */
.toggle-switch {
  position: relative;
  width: 40px;
  height: 20px;
}

.toggle-switch input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background: var(--color-accent);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

input:focus + .slider {
  box-shadow: 0 0 0 2px rgba(0, 140, 255, 0.3);
}

/* Actions */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.actions .button-group {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.actions button {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: var(--cookie-radius);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--cookie-transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.actions .accept {
  background: var(--color-accent);
  color: #fff;
}

.actions .accept:hover {
  background: var(--color-primary);
}

.actions .decline {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #ccc;
}

.actions .decline:hover {
  background: #f8f8f8;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.actions .prefs,
.actions .save {
  background: #fff;
  color: var(--color-text);
  border: 1px solid #ccc;
}

.actions .prefs:hover,
.actions .save:hover {
  background: #f8f8f8;
  border-color: var(--color-accent);
}
.actions .prefs:hover {
  color: var(--color-accent);
}
.actions .save {
  display: none;
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.actions .save:hover {
  background: var(--color-primary);
}

.policy-link {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-top: 0.5rem;
  text-decoration: underline;
}

.policy-link:hover {
  color: var(--color-primary);
}

/* Cookie settings button (reopen) */
#cookie-settings-btn {
  position: fixed;
  bottom: 10px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--cookie-shadow);
  transition: var(--cookie-transition);
}

#cookie-settings-btn:hover {
  background: var(--color-accent);
}

#cookie-settings-btn.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  #cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0;
    max-width: none;
    border-radius: var(--cookie-radius) var(--cookie-radius) 0 0;
  }

  .actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .actions button,
  .actions a {
    width: 100%;
    text-align: center;
  }

  #cookie-settings-btn {
    bottom: 20px;
    right: 15px;
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  #cookie-banner {
    padding: 0.75rem;
  }

  #cookie-banner h2 {
    font-size: 1rem;
  }

  .cookie-header label {
    font-size: 0.9rem;
  }

  .actions button,
  .actions a {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  #cookie-banner,
  .cookie-header,
  .slider,
  .slider:before,
  .actions button,
  #cookie-settings-btn {
    animation: none !important;
    transition: none !important;
  }
}

/* Focus indicators for accessibility */
.cookie-header:focus,
.toggle-switch input:focus + .slider,
.actions button:focus,
#cookie-settings-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  #cookie-banner {
    border: 2px solid var(--color-text);
  }

  .actions .accept {
    border: 2px solid #fff;
  }

  .actions .decline,
  .actions .prefs,
  .actions .save {
    border: 2px solid var(--color-text);
  }
}

/* Estilos para la página de política de privacidad */
.privacy-content {
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  padding-top: 3rem;
}

.privacy-content .container {
  max-width: 900px;
}

.privacy-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

.privacy-header-img {
  width: 15%;
  margin: 0 2rem 1rem 0;
}

.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section h2 {
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.privacy-section h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.privacy-section p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.privacy-section ul,
.privacy-section ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.privacy-section li {
  margin-bottom: 0.5rem;
}

.update-date {
  font-style: italic;
  font-size: 0.9rem;
  text-align: right;
  margin-top: 3rem;
}

/* Estilos para la sección de Operadores Logísticos */

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Tarjetas de características */
.ct-feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ct-feature-card:hover {
  transform: translateY(-5px);
}

.ct-feature-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(91, 107, 232, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ct-feature-card:hover .ct-feature-icon {
  background: rgba(91, 107, 232, 0.2);
  transform: scale(1.1);
}

.ct-feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.ct-feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.8rem;
  }

  .section-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .ct-feature-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .ct-feature-icon {
    font-size: 2rem;
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }

  .ct-feature-title {
    font-size: 1.1rem;
  }

  .ct-feature-card p {
    font-size: 0.9rem;
  }
}

