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

:root {
  --rojo: #da291c;
  --rojo-800: #b52217;
  --gris-700: #3c3c3c;
  --gris-800: #2d2d2d;
  --dot: #f1f1f1;
  --max: 1280px;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  color: var(--gris-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: rgb(255 255 255 / 70%);
  background-image: url('../img/bg/body-bg-region.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-blend-mode: color;
  background-attachment: fixed;
}

.wrap,
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.wrap {
  padding: 0 32px;
}

.headerEv {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: transparent;
  box-shadow: 0 2px 4px rgba(45, 45, 45, 0.15);
}

.headerTop {
  height: 36px;
  background: #fff;
}

.headerTop .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.listSegment {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.listSegment li {
  width: 100px;
  position: relative;
}

.listSegment a {
  display: inline-block;
  width: 100px;
  height: 36px;
  padding: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #525252;
  text-align: center;
}

.listSegment li.active a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(271.92deg, #ffc722 0%, #f4d327 100%);
  border-radius: 0 0 2px 2px;
  box-shadow: 0 4px 14px rgba(255, 199, 34, 0.9);
}

.headerMain {
  position: relative;
  z-index: 2;
  height: 64px;
  padding: 6px 0;
  overflow: visible;
  background: transparent;
  box-shadow: 0 2px 4px rgba(45, 45, 45, 0.14);
}

.headerMain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(246, 246, 246, 0.76) 0%, rgba(245, 245, 245, 0.66) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.headerMain-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
}

.logo {
  position: relative;
  z-index: 3;
  margin-top: -6px;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 50px;
}

.header-link {
  position: relative;
  z-index: 3;
  margin-left: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gris-800);
}

.header-link:hover {
  color: var(--rojo);
}

.main {
  flex: 1;
  padding: 24px 0 64px;
}

/* Slider: mismo corte del sitio Vue (desktop > 1024) */
.carousel-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
}

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

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
  background: #f4f4f4;
}

.carousel.is-single .carousel-dots {
  display: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 28px 16px 8px;
}

.carousel-dots button {
  width: 17px;
  height: 17px;
  border: 0;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  padding: 0;
  transition: width 0.45s ease, border-radius 0.45s ease, background 0.45s ease;
}

.carousel-dots button.is-active {
  width: 37px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--rojo) 0%, var(--rojo-800) 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 48px auto 0;
  text-align: center;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.stat-value {
  font-family: 'Lato', 'Roboto', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--rojo);
}

.stat-label {
  font-family: 'Lato', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.15;
  color: #111;
  text-transform: uppercase;
  margin-top: 8px;
  white-space: pre-line;
}

.intro {
  max-width: 920px;
  margin: 56px auto 0;
  text-align: center;
}

.intro h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 20px;
}

.intro p {
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.45;
  font-weight: 400;
  color: #111;
  text-wrap: pretty;
}

.intro p + p {
  margin-top: 18px;
}

.footer {
  background: #000;
  color: #fff;
  min-height: 88px;
  display: flex;
  align-items: center;
}

.footer-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
}

.footer a:hover {
  color: #ffd0cc;
}

@media (min-width: 1025px) {
  .main {
    padding: 32px 0 64px;
  }

  .carousel-inner {
    padding: 0 52px;
  }

  .banner-image {
    border-radius: 46px;
  }
}

@media (min-width: 1200px) {
  .listSegment {
    display: flex;
    margin-left: 150px;
  }

  .logo img {
    height: 83px;
    margin-bottom: 22px;
    max-width: none;
  }
}

@media (max-width: 1199px) {
  .listSegment {
    display: flex;
  }

  .listSegment li {
    display: none;
  }

  .listSegment li.active {
    display: block;
  }
}

@media (max-width: 1024px) {
  .wrap {
    padding: 0 20px;
  }

  .main {
    padding: 20px 0 48px;
  }

  .stats {
    gap: 16px;
    margin-top: 36px;
  }

  .intro {
    margin-top: 40px;
  }
}

@media (max-width: 700px) {
  .logo img {
    height: 45px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 420px;
    row-gap: 28px;
  }

  .footer {
    min-height: 120px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .stat-icon {
    width: 40px;
    height: 40px;
  }
}
