/* Reset y configuración base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  /* Bloquea colapso de márgenes del primer hijo */
  padding-top: 0.01px;
  position: relative;
}

/* Wrapper del top: topbar + header + hero con mismo fondo */
.top-stack {
  position: relative;
  background: var(--bg-noise);
}

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

/* Variables CSS */
:root {
  --primary-color: #3c3c9e;
  --primary-rgb: 60, 60, 158;
  /* para rgba(var(--primary-rgb), x) */
  --secondary-color: #3c3c9e;
  --accent-color: #3c3c9e;
  --dark-color: #2d3436;
  --light-color: #ffffff;
  --gray-color: #636e72;
  --light-gray: #f8f9fa;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
  --shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
  --shadow-hover: 0 20px 40px rgba(var(--primary-rgb), 0.2);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --bg-noise: radial-gradient(1200px 600px at 50% 0%, rgba(var(--primary-rgb), 0.08), transparent 60%),
    radial-gradient(1000px 600px at 10% 80%, rgba(var(--primary-rgb), 0.06), transparent 60%),
    linear-gradient(180deg, #f7f3ff 0%, #efe8ff 100%);
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  /* evita margen superior colapsado */
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--gray-color);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--light-color);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

.btn-outline {
  background: transparent;
  color: var(--dark-color);
  border: 2px solid #e9ecef;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-color);
  border-color: var(--primary-color);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  background: transparent;
  z-index: 1100;
  padding: 6px 0;
  /* padding superior e inferior para no pegarla arriba ni al menú */
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #2d2d2d;
  gap: 1rem;
  background: transparent;
  /* sin cápsula */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  /* usamos el padding vertical de .topbar */
  box-shadow: none;
}

.topbar-left i {
  color: var(--primary-color);
  margin-right: .5rem;
}

.topbar-right {
  display: flex;
  align-items: center;
  /* reducir espacio entre elementos para evitar huecos si falta un icono */
  gap: 0.5rem;
}

.topbar-right::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, .12);
  /* reducir separación extra junto al separador */
  margin-right: 4px;
}

.topbar-phone {
  color: inherit;
  text-decoration: none;
}

.topbar-social a {
  color: inherit;
  opacity: .7;
  /* mantener un pequeño espaciado entre iconos, pero evitar huecos grandes */
  margin-left: .25rem;
}

.topbar-social a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.topbar-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}

/* Header */
.header {
  position: fixed;
  top: 38px;
  width: 100%;
  background: transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: none;
  z-index: 1000;
  transition: var(--transition);
  overflow: visible;
  /* permitir desborde inferior del logo */
}

.header.hide {
  transform: translateY(-120%);
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  overflow: visible;
  /* permitir desbordes (cola del logo) */
  max-height: 68px;
  /* limita la cápsula; el logo puede sobresalir */
}

/* Al hacer scroll, intensificar solo la cápsula, no toda la barra */
.header.scrolled .navbar .container {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(var(--primary-rgb), 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.logo {
  text-decoration: none;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #1d1c22 0%, var(--primary-color) 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Imagen del logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: visible;
  /* no recortar cola */
}

.logo-image {
  height: 92px;
  /* altura fija solicitada */
  width: auto;
  display: block;
  margin-top: 25px;
}

@media (max-width: 1024px) {
  .logo-image {
    height: 92px;
  }
}

/* Header más delgado en tablets */
@media (max-width: 1024px) {
  .navbar .container {
    padding: 8px 14px;
    max-height: 56px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 92px;
  }
}

/* Ocultar visualmente pero accesible para lectores de pantalla */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mantener la línea inferior para la página activa */
.nav-link.active::after {
  width: 100%;
}

.nav-link.active::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cta-contact {
  white-space: nowrap;
}

/* Botón Contact Us más delgado en desktop/tablet */
.nav-actions .cta-contact {
  padding: 6px 14px;
  /* antes 14px 22px por .btn-pill */
}

.nav-actions .cta-contact .btn-icon {
  width: 30px;
  /* antes 36px */
  height: 30px;
  /* antes 36px */
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 130px 0 0;
  /* reducir un poco por el desborde del logo */
  /* espacio interno, no margin externo */
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

/* Overlay de ruido global, muy suave, para unificar textura */
.top-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="3" height="3" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.2" fill="%23000" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.25;
  z-index: 0;
}

/* Nuevo hero centrado */
.hero-center {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Hero Swiper */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(340px, 48vw, 520px);
  border-radius: 0;
  /* sin cápsula */
  overflow: hidden;
  box-shadow: none;
  /* sin contorno/sombra */
  background: transparent;
  /* fondo del contenedor transparente */
  border: 0;
  /* sin borde */
  margin-bottom: 8px;
}

.hero-slider .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  /* sin fondo en cada slide */
}

/* Sin imagen de fondo por petición del usuario */

.hero-slide-inner {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.hero-slider .swiper-pagination-bullets .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #fff;
  --swiper-navigation-size: 26px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  background: transparent;
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.hero-slider .swiper-button-prev:after,
.hero-slider .swiper-button-next:after {
  font-weight: 700;
}

/* Sin borde ni halo en cualquier estado de las flechas */
.hero-slider .swiper-button-prev:focus,
.hero-slider .swiper-button-prev:focus-visible,
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-prev:active,
.hero-slider .swiper-button-next:focus,
.hero-slider .swiper-button-next:focus-visible,
.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-next:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 0 !important;
}

.hero-slider .swiper-button-prev:focus,
.hero-slider .swiper-button_prev:focus-visible,
.hero-slider .swiper-button-next:focus,
.hero-slider .swiper-button-next:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Miniaturas en abanico como controles */
/* Se removeron las miniaturas/abanico */

.hero-display {
  color: #0e0d12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-display span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.btn-pill {
  border-radius: 999px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), .25);
}

.btn.btn-primary .btn-icon {
  color: var(--primary-color);
}

.btn.btn-primary:hover .btn-icon {
  transform: translateX(2px);
}

/* órbita eliminada */

.hero-gallery {
  position: relative;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  height: 380px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .4);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  filter: saturate(1.1) contrast(1.05);
}

.hero-card:hover img {
  transform: scale(1.05);
}

.tilt.-left {
  transform: rotate(-10deg) translateY(40px);
}

.tilt.-center {
  transform: rotate(0deg);
  height: 420px;
}

.tilt.-right {
  transform: rotate(10deg) translateY(40px);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) translateX(50px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(50px) rotate(-360deg);
  }
}

/* Secciones generales */
section {
  padding: 80px 0;
  /* sin margin para evitar blancos al tope */
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-color);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background: var(--light-color);
  /* Reducir separación desde el hero */
  padding-top: 24px;
}

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

.service-card {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--light-color);
}

.service-title {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.service-description {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.service-link:hover {
  transform: translateX(5px);
}

/* Awards Section */
.awards {
  background: var(--light-gray);
}

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

.award-item {
  text-align: center;
  padding: 2rem 1rem;
}

.award-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--light-color);
}

.award-item h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.award-item p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Why Choose Section */
.why-choose {
  background: var(--light-color);
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.cta-section {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 0;
  text-align: center;
}

.cta-section h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.cta-section p {
  margin-bottom: 1.5rem;
}

.why-choose-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--light-color);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Our Approach Section */
.our-approach {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.our-approach::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(var(--primary-rgb), 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: 600px;
  align-items: center;
}

.phase-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-width: 280px;
}

.phase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
}

/* Posicionamiento específico de cada fase */
.phase-left-top {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: end;
}

.phase-left-bottom {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: start;
}

.phase-right {
  grid-column: 3;
  grid-row: 1 / 3;
  justify-self: start;
  align-self: center;
}

.phase-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 60px;
  opacity: 0.9;
  flex-shrink: 0;
}

.phase-content {
  flex: 1;
}

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

.phase-description {
  color: var(--gray-color);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.approach-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--gradient-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ai-woman-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ai-woman-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.2);
  transition: var(--transition);
}

.phase-item:hover~.approach-visual .ai-woman-illustration img,
.phase-item.phase-active~.approach-visual .ai-woman-illustration img {
  transform: scale(1.05);
}

.phase-item.phase-active {
  background: rgba(var(--primary-rgb), 0.1);
  border-left: 4px solid var(--primary-color);
}

.phase-item.phase-active .phase-number {
  opacity: 1;
  transform: scale(1.1);
}

.visual-effects {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.effect-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  animation: float-effect 6s ease-in-out infinite;
}

.effect-1 {
  top: 10%;
  left: 15%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.3), rgba(var(--primary-rgb), 0.3));
}

.effect-2 {
  top: 30%;
  right: 20%;
  width: 40px;
  height: 40px;
  animation-delay: -1s;
  background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.25), rgba(var(--primary-rgb), 0.25));
}

.effect-3 {
  bottom: 25%;
  left: 10%;
  width: 80px;
  height: 80px;
  animation-delay: -2s;
  background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.2), rgba(var(--primary-rgb), 0.2));
}

.effect-4 {
  top: 60%;
  right: 15%;
  width: 50px;
  height: 50px;
  animation-delay: -3s;
  background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.25), rgba(var(--primary-rgb), 0.25));
}

.effect-5 {
  bottom: 15%;
  right: 30%;
  width: 30px;
  height: 30px;
  animation-delay: -4s;
  background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.4), rgba(var(--primary-rgb), 0.4));
}

@keyframes float-effect {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  33% {
    transform: translateY(-20px) rotate(120deg);
    opacity: 0.8;
  }

  66% {
    transform: translateY(10px) rotate(240deg);
    opacity: 0.4;
  }
}

/* Testimonials Section */
.testimonials {
  background: var(--light-gray);
}

.testimonials-slider {
  margin-bottom: 3rem;
}

.testimonial-item {
  display: none;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item.active {
  display: block;
}

.testimonial-content {
  background: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial-text {
  margin-bottom: 2rem;
}

.testimonial-text p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark-color);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin: 0;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-item img {
  height: 40px;
  filter: grayscale(100%);
  transition: var(--transition);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Pricing Section */
.pricing {
  background: var(--light-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(108, 92, 231, 0.1);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.plan-name {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.amount {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: 800;
}

.period {
  font-size: 1rem;
  color: var(--gray-color);
}

.plan-description {
  color: var(--gray-color);
  margin: 0;
}

.pricing-features {
  margin-bottom: 2rem;
}

.features-list {
  list-style: none;
  text-align: left;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list i {
  color: var(--primary-color);
  font-size: 1rem;
}

/* FAQ Section */
.faq {
  background: var(--light-gray);
}

.faq-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--light-color);
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question h4 {
  color: var(--dark-color);
  margin: 0;
  font-size: 1.1rem;
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.7;
}

.faq-image .image-placeholder {
  width: 250px;
  height: 250px;
}

/* Blog Section */
.blog {
  background: var(--light-color);
}

.blog-stats {
  text-align: center;
  margin-bottom: 3rem;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
}

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

.blog-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.author span {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.date,
.category {
  font-size: 0.8rem;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.blog-title {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--gray-color);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Contact Section */
.contact {
  background: var(--light-gray);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info h2 {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto;
  font-size: 3rem;
  color: var(--light-color);
  animation: pulse 3s ease-in-out infinite;
}

.contact-form {
  background: var(--light-color);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand h3 {
  color: var(--light-color);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-apps h4 {
  color: var(--light-color);
  margin-bottom: 1rem;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--light-color);
  text-decoration: none;
  transition: var(--transition);
}

.app-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.app-button i {
  font-size: 1.5rem;
}

.app-button div span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.app-button div strong {
  display: block;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  color: var(--light-color);
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--light-color);
}

.footer-newsletter h4 {
  color: var(--light-color);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-color);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  background: var(--primary-color);
  color: var(--light-color);
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--secondary-color);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.checkbox-label input {
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-copyright a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--light-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .topbar-inner {
    font-size: 12px;
  }

  .topbar-right .topbar-phone {
    display: none;
  }

  .topbar-social {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--light-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

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

  .nav-toggle {
    display: flex;
  }

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

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

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

  /* Ocultar CTA Contact Us en móvil */
  .cta-contact {
    display: none !important;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  .hero-graphic {
    width: 300px;
    height: 300px;
  }

  /* Nuevo hero centrado */
  .hero-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .tilt.-left,
  .tilt.-right {
    transform: rotate(0deg) translateY(10px);
  }

  .tilt.-center {
    height: 360px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-content,
  .contact-content,
  .faq-content,
  .approach-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: initial;
  }

  .approach-visual {
    order: 1;
  }

  .phase-left-top,
  .phase-left-bottom,
  .phase-right {
    order: 2;
    justify-self: center;
    align-self: center;
    max-width: 100%;
  }

  .visual-container {
    height: 350px;
    max-width: 300px;
    margin: 0 auto;
  }

  .phase-item {
    padding: 1.5rem;
    gap: 1rem;
    max-width: 100%;
  }

  .phase-number {
    font-size: 2rem;
    min-width: 50px;
  }

  .phase-title {
    font-size: 1.3rem;
  }

  .phase-description {
    font-size: 0.9rem;
  }

  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-content {
    padding: 2rem 1rem;
  }

  .client-logos {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 0;
  }

  section {
    padding: 60px 0;
  }

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }

  .testimonial-content {
    padding: 1.5rem;
  }

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

  .btn-large {
    width: 100%;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat {
    min-width: 100px;
  }

  /* Hero en móvil */
  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .tilt.-center {
    height: 320px;
  }

  /* órbita eliminada */
}

/* Animaciones adicionales */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Efectos de scroll */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Loading spinner */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--light-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Ajustes de hero para tablets */
@media (max-width: 1024px) {
  .hero-display {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
  }

  .hero-card {
    height: 340px;
  }

  .tilt.-left,
  .tilt.-right {
    transform: rotate(0deg) translateY(20px);
  }
}