/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fdf9ff;
  --primary: #8a05be;
  --accent: #f97316;
  --dark: #1a0a2e;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --font-title: 'Comfortaa', cursive;
  --font-body: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 19px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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

/* ========== 1. NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 2rem;
}

.navbar__container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
}

.navbar__logo-img--white {
  display: block;
}

.navbar__logo-img--color {
  display: none;
}

.navbar.scrolled .navbar__logo-img--white {
  display: none;
}

.navbar.scrolled .navbar__logo-img--color {
  display: block;
}

.navbar__logo-text {
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 700;
  text-transform: lowercase;
  transition: color 0.3s;
}

.navbar.scrolled .navbar__logo-text {
  color: var(--dark);
}

.navbar__logo-icon {
  display: none;
  color: var(--accent);
  font-size: 1.2rem;
}

.navbar__logo-dot {
  color: var(--accent);
}

.navbar__menu {
  display: flex;
  gap: 2rem;
}

.navbar__menu a {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  transition: color 0.3s;
  position: relative;
}

.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

.navbar__menu a:hover::after {
  width: 100%;
}

.navbar.scrolled .navbar__menu a {
  color: var(--text);
}

.navbar__cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  background: var(--accent);
  color: var(--white);
  transition: background 0.3s, transform 0.2s;
}

.navbar__cta:hover {
  background: #7004a3;
  transform: scale(1.05);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s, transform 0.3s;
}

.navbar.scrolled .navbar__toggle span {
  background: var(--primary);
}

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

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ========== 2. HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #2d0f4e 50%, #1a0a2e 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slides {
  width: 100%;
  position: relative;
}

.hero__slide {
  display: none;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  align-items: center;
  gap: 3rem;
  animation: fadeSlideIn 0.6s ease;
}

.hero__slide.active {
  display: flex;
}

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

.hero--has-bg-1 .hero__slides,
.hero--has-bg-1 .hero__controls,
.hero--has-bg-1 .hero__indicator,
.hero--has-bg-2 .hero__slides,
.hero--has-bg-2 .hero__controls,
.hero--has-bg-2 .hero__indicator,
.hero--has-bg-3 .hero__slides,
.hero--has-bg-3 .hero__controls,
.hero--has-bg-3 .hero__indicator {
  z-index: 2;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: none;
}

.hero--has-bg-1 .hero__bg-image--1 {
  display: block;
}

.hero--has-bg-2 .hero__bg-image--2 {
  display: block;
}

.hero--has-bg-3 .hero__bg-image--3 {
  display: block;
}

.hero__bg-image--1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.hero__bg-image--2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg-image--3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.05);
}

.hero__bg-image--3::after {
  background: rgba(26, 10, 46, 0.88);
}

.hero__bg-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 10, 46, 0.75);
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  color: var(--accent);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.12); }
  28% { transform: scale(1); }
  42% { transform: scale(1.08); }
  56% { transform: scale(1); }
}

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.7;
}

.hero__subtitle strong {
  color: var(--accent);
}

.hero__visual {
  flex: 0.6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__icon-cloud {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bulb-svg {
  width: 200px;
  height: 200px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero__controls {
  position: absolute;
  bottom: 40%;
  left: 2rem;
  display: flex;
  gap: 0.8rem;
}

.hero__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__indicator {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.hero__indicator-current {
  color: var(--accent);
  font-weight: 700;
}

.hero__indicator-sep {
  margin: 0 0.3rem;
  opacity: 0.5;
}

.hero__indicator-total {
  opacity: 0.5;
}

/* ========== 3. MARQUEE ========== */
.marquee-section {
  padding: 4rem 0 3rem;
  overflow: hidden;
}

.marquee-track {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 2rem;
}

.marquee-content {
  display: inline-flex;
  gap: 1rem;
  animation: marqueeScroll 20s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-text {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 0.5rem;
}

.marquee-text--outline {
  -webkit-text-stroke: 2px var(--primary);
  color: transparent;
  opacity: 0.4;
}

.marquee-text--solid {
  color: var(--primary);
}

.marquee-info {
  display: none;
}

.marquee-banner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.marquee-banner__text h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
}

.marquee-banner--centered {
  grid-template-columns: 1fr;
}

.marquee-banner--centered .marquee-banner__text {
  text-align: center;
}

.ia-banner {
  padding: 3rem 2rem;
  margin: 4rem 0;
  background: var(--dark);
  color: var(--white);
}

.ia-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.ia-banner__title {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}

.ia-banner__title--accent {
  color: var(--accent);
}

.marquee-banner__solid {
  color: var(--primary);
  display: inline;
}

.marquee-banner__outline {
  -webkit-text-stroke: 2px var(--primary);
  color: transparent;
  opacity: 0.45;
  display: inline;
}

.marquee-banner__image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 100%;
}

.marquee-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.marquee-banner__placeholder {
  height: 100%;
}

.marquee-banner__placeholder svg {
  height: 100%;
}

.marquee-banner__placeholder {
  display: none;
}

.marquee-banner__placeholder {
  border-radius: 16px;
  overflow: hidden;
}

.marquee-description {
  display: none;
}

/* Shared button styles */
.btn-circle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-circle__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  transition: all 0.3s;
}

.btn-circle:hover .btn-circle__icon {
  background: var(--primary);
  color: var(--white);
}

.btn-circle__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-pill:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-pill__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn-pill--submit {
  background: var(--white);
  border: 1px solid #ddd;
}

.btn-pill--submit:hover {
  border-color: var(--accent);
}

.btn-pill--whatsapp {
  background: #25D366;
  border: 1px solid #25D366;
  color: var(--white);
  text-decoration: none;
}

.btn-pill--whatsapp:hover {
  background: #1ebe5a;
  border-color: #1ebe5a;
  color: var(--white);
}

.btn-pill--whatsapp svg {
  flex-shrink: 0;
}

.btn-pill--small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ========== 4. PROBLEMAS QUE RESOLVEMOS ========== */
.problemas {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.problemas__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.problemas__title--accent {
  color: var(--primary);
}

.problemas__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.problemas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.problemas__card {
  background: var(--white);
  border: 1px solid #e0d4f0;
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.problemas__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(138, 5, 190, 0.1);
}

.problemas__icon {
  margin-bottom: 1rem;
}

.problemas__card-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.problemas__card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== 5. CARRUSEL PROCESO ========== */
.servicios {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.servicios__title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
  padding-left: 1rem;
}

.servicios__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.carousel__viewport {
  overflow: hidden;
  flex: 1;
}

.carousel__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding: 2rem 0;
}

.carousel__card {
  min-width: 280px;
  max-width: 280px;
  padding: 2rem 1.8rem;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid #e8e0f0;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  cursor: pointer;
  position: relative;
}

.carousel__card:hover,
.carousel__card.active {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(138, 5, 190, 0.3);
}

.carousel__card:hover *,
.carousel__card.active * {
  color: var(--white);
}

.carousel__card:hover .carousel__card-num,
.carousel__card.active .carousel__card-num {
  color: rgba(255, 255, 255, 0.5);
}

.carousel__card-icon {
  margin-bottom: 1.5rem;
}

.carousel__card-num {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: block;
}

.carousel__card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.carousel__card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.carousel__arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel__arrow:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* ========== 6. PARTNERS/TECNOLOGIAS ========== */
.partners {
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #f3e8ff 50%, var(--bg) 100%);
}

.partners__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text);
  text-transform: uppercase;
}

.partners__line {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto;
  border-radius: 2px;
}

.partners__title {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--text-light);
  margin-bottom: 3rem;
}

.partners__title em {
  color: var(--accent);
  font-style: italic;
}

.partners__marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners__track {
  display: flex;
  gap: 2rem;
  animation: partnersScroll 25s linear infinite;
  width: max-content;
}

@keyframes partnersScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 80px;
  padding: 1rem 1.5rem;
  border: 1px solid #e0d4f0;
  border-radius: 12px;
  background: var(--white);
  transition: all 0.3s;
}

.partners__logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.3s;
}

.partners__logo:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.15);
}

.partners__logo:hover img {
  filter: grayscale(0);
}

/* ========== 7. MODELO DE TRABAJO ========== */
.modelos {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.modelos__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.modelos__title--accent {
  color: var(--primary);
}

.modelos__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

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

.modelos__card {
  background: var(--white);
  border: 1px solid #e0d4f0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.modelos__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(138, 5, 190, 0.1);
}

.modelos__card-icon {
  margin-bottom: 1.2rem;
}

.modelos__card-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.modelos__card-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== 8. SEGURIDAD Y CUMPLIMIENTO ========== */
.seguridad {
  padding: 5rem 2rem;
  background: var(--dark);
  color: var(--white);
}

.seguridad__layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.seguridad__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.seguridad__title--accent {
  color: var(--accent);
}

.seguridad__desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.seguridad__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.seguridad__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.seguridad__check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.seguridad__item h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.seguridad__item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ========== 11. STATS ========== */
.stats {
  padding: 5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.stats__heading {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  color: var(--text);
  margin-bottom: 3.5rem;
}

.stats__heading--accent {
  color: var(--accent);
}

.stats__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.stats__item {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}

.stats__number {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  display: inline;
}

.stats__plus {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
  opacity: 0.6;
}

.stats__label {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.5;
}

.stats__label strong {
  color: var(--text);
}

.stats__divider {
  width: 1px;
  background: #e0d4f0;
  align-self: stretch;
}

/* ========== 12. CASOS DE EXITO ========== */
.casos {
  padding: 5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.casos__slider {
  position: relative;
}

.casos__slide {
  display: none;
  gap: 3rem;
  align-items: center;
  animation: fadeSlideIn 0.5s ease;
}

.casos__slide.active {
  display: flex;
}

.casos__info {
  flex: 1;
}

.casos__title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.casos__client {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.casos__client-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

.casos__client span {
  font-weight: 500;
  color: var(--text);
}

.casos__desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.casos__image {
  flex: 1;
  position: relative;
}

.casos__image-placeholder {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e8e0f0;
  box-shadow: 0 10px 40px rgba(138, 5, 190, 0.08);
}

.casos__counter {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--text-light);
}

.casos__counter-current {
  color: var(--primary);
  font-weight: 700;
}

.casos__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 2rem;
}

.casos__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e0d4f0;
  background: transparent;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.casos__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.casos__arrow--next {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.casos__arrow--next:hover {
  background: #e8660f;
}

/* ========== 10. ROI ========== */
.roi {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.roi__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.roi__title--accent {
  color: var(--primary);
}

.roi__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

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

.roi__card {
  background: linear-gradient(135deg, var(--primary), #6b04a0);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  color: var(--white);
}

.roi__number {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.roi__label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ========== 11. FAQ ========== */
.faq {
  padding: 5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 3rem;
}

.faq__title--accent {
  color: var(--primary);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid #e0d4f0;
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color 0.3s;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  min-width: 24px;
  text-align: center;
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq__answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== 13. CONTACTO ========== */
.contacto {
  padding: 5rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.contacto__layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contacto__title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 3rem;
}

.contacto__side-text {
  display: none;
}

.contacto__form-wrapper {
  flex: 1;
}

.contacto__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contacto__subtitle::before {
  content: '+';
  color: var(--accent);
  font-weight: 700;
}

.contacto__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contacto__row {
  display: flex;
  gap: 2rem;
}

.contacto__row--full {
  display: block;
}

.contacto__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contacto__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.contacto__field input,
.contacto__field select,
.contacto__field textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: none;
  border-bottom: 2px solid #e0d4f0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s;
  outline: none;
}

.contacto__field input:focus,
.contacto__field select:focus,
.contacto__field textarea:focus {
  border-bottom-color: var(--accent);
}

.contacto__field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a05be' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}

.contacto__field textarea {
  resize: vertical;
  min-height: 80px;
}

.contacto__row--checks {
  flex-direction: column;
  gap: 0.8rem;
}

.contacto__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
}

.contacto__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.contacto__check a {
  color: var(--primary);
  text-decoration: underline;
}

.contacto__submit {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* ========== MARQUEE PRE-FOOTER ========== */
.marquee-prefooter {
  padding: 0 0 20px;
  overflow: hidden;
}

.marquee-pf {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 700;
  white-space: nowrap;
  padding: 0 1.5rem;
}

.marquee-pf--solid {
  color: var(--primary);
}

.marquee-pf--outline {
  -webkit-text-stroke: 2px var(--primary);
  color: transparent;
  opacity: 0.4;
}

/* ========== 14. FOOTER ========== */
.footer {
  background: linear-gradient(135deg, var(--dark) 0%, #2d0f4e 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 2rem 0;
  margin-top: 0;
}

.footer__container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__logo {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.footer__logo-img {
  height: 2.2rem;
  width: auto;
  display: block;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 0.8rem;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

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

.footer__links h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__newsletter h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__newsletter p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__newsletter-form label {
  font-size: 0.85rem;
  font-weight: 500;
}

.footer__newsletter-form input {
  width: 100%;
  padding: 0.6rem 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.footer__newsletter-form input:focus {
  border-bottom-color: var(--accent);
}

.footer__newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer__newsletter-form .btn-pill {
  align-self: flex-start;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: transparent;
  margin-top: 0.5rem;
}

.footer__newsletter-form .btn-pill:hover {
  border-color: var(--accent);
}

.footer__bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }

  .hero__slide {
    flex-direction: column;
    text-align: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__controls {
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero__indicator {
    bottom: 3rem;
    right: 2rem;
  }

  .casos__slide {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .navbar__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.open {
    display: flex;
  }

  .navbar__menu a {
    color: var(--text) !important;
    font-size: 1rem;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .hero__slide {
    padding: 7rem 1.5rem 3rem;
  }

  .hero__visual {
    display: none;
  }

  .hero__controls {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 2rem;
  }

  .hero__indicator {
    position: static;
    text-align: center;
    margin-top: 1rem;
  }

  .marquee-info {
    flex-direction: column;
  }

  .marquee-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .carousel__arrow--prev,
  .carousel__arrow--next {
    display: none;
  }

  .carousel__track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .carousel__track::-webkit-scrollbar {
    display: none;
  }

  .carousel__card {
    scroll-snap-align: center;
    min-width: 260px;
  }

  .stats__grid {
    flex-direction: column;
    align-items: center;
  }

  .stats__divider {
    width: 60%;
    height: 1px;
  }

  .contacto__layout {
    flex-direction: column;
  }

  .contacto__side-text {
    writing-mode: horizontal-tb;
    -webkit-text-stroke: 1.5px var(--primary);
    font-size: 2.5rem;
  }

  .contacto__row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .casos__slide.active {
    flex-direction: column;
  }

  .casos__nav {
    justify-content: center;
  }

  .seguridad__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .marquee-text {
    font-size: 2.5rem;
  }

  .carousel__card {
    min-width: 240px;
    max-width: 240px;
  }
}
