/* Custom Properties */
:root {
  --primary-color: #0a4065;
  --secondary-color: #22cade;
  --background-color: #f7f9f0;
  --text-color: #c4c4c4;
  --white: #ffffff;
  --dark: #1a1a1a;
  --light-gray: #f8f9fa;
  --shadow: 0 4px 20px rgba(10, 64, 101, 0.1);
  --shadow-hover: 0 8px 30px rgba(10, 64, 101, 0.15);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Fixed Social Links */
.fixed-social-links {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.social-link.instagram {
  background: linear-gradient(135deg, #e4405f, #c13584, #833ab4);
}

.social-link.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-hover);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--white);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 15px 0;
  transition: var(--transition);
  left: 0;
  right: 0;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.nav-logo h2 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  font-family: "Bruno Ace SC", cursive;
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

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

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

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

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  position: relative;
  background: var(--background-color);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.hero-carousel {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 400px;
  margin-bottom: 40px;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s ease-in-out;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 40px;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  position: relative;
  z-index: 2;
}

.animated-elements {
  position: relative;
  width: 280px;
  height: 180px;
  margin-bottom: 30px;
}

/* Device Mockups */
.device-mockup {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.device-mockup.laptop {
  width: 180px;
  height: 110px;
  background: #2c3e50;
  top: 10px;
  left: 20px;
  border-radius: 8px 8px 0 0;
}

.device-mockup.tablet {
  width: 70px;
  height: 90px;
  background: #34495e;
  top: 50px;
  right: 60px;
  border-radius: 12px;
}

.device-mockup.mobile {
  width: 45px;
  height: 80px;
  background: #2c3e50;
  bottom: 20px;
  right: 30px;
  border-radius: 15px;
}

.screen {
  margin: 8px;
  background: #ecf0f1;
  border-radius: 4px;
  height: calc(100% - 16px);
  overflow: hidden;
}

.website-preview {
  padding: 8px;
  height: 100%;
}

.header {
  height: 15px;
  background: var(--primary-color);
  border-radius: 2px;
  margin-bottom: 8px;
}

.content-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.line {
  height: 6px;
  background: #bdc3c7;
  border-radius: 2px;
}

.line.short {
  width: 60%;
}

/* Server Rack */
.server-rack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
  top: 20px;
  left: 40px;
}

.server-unit {
  width: 140px;
  height: 30px;
  background: #2c3e50;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.server-lights {
  display: flex;
  gap: 8px;
}

.light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: blink 2s infinite;
}

.light.green {
  background: #27ae60;
}

.light.blue {
  background: #3498db;
  animation-delay: 0.5s;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

.cloud-visual {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 50px;
  color: var(--secondary-color);
}

.connection-lines {
  position: absolute;
  top: 30px;
  left: -80px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.connection-lines .line {
  width: 60px;
  height: 2px;
  background: var(--secondary-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Social Posts */
.social-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
  top: 10px;
  left: 30px;
}

.post {
  width: 160px;
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.username {
  width: 80px;
  height: 8px;
  background: #bdc3c7;
  border-radius: 4px;
}

.post-image {
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, #f093fb, #f5576c);
  border-radius: 8px;
  margin-bottom: 10px;
}

.post-actions {
  display: flex;
  gap: 15px;
  color: #7f8c8d;
}

.post-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.text-line {
  height: 8px;
  background: #ecf0f1;
  border-radius: 4px;
}

.text-line.short {
  width: 70%;
}

/* AI Dashboard */
.ai-dashboard {
  width: 180px;
  height: 130px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: absolute;
  top: 20px;
  left: 30px;
  overflow: hidden;
}

.dashboard-header {
  height: 30px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

.title-bar {
  width: 60px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
}

.controls {
  display: flex;
  gap: 5px;
}

.control {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.dashboard-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 40px;
}

.bar {
  width: 15px;
  background: linear-gradient(
    to top,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px 2px 0 0;
  animation: grow 2s ease-in-out infinite;
}

@keyframes grow {
  0%,
  100% {
    transform: scaleY(0.8);
  }
  50% {
    transform: scaleY(1);
  }
}

.metrics {
  display: flex;
  gap: 15px;
}

.metric {
  flex: 1;
}

.value {
  width: 100%;
  height: 12px;
  background: var(--secondary-color);
  border-radius: 6px;
  margin-bottom: 5px;
}

.label {
  width: 80%;
  height: 6px;
  background: #ecf0f1;
  border-radius: 3px;
}

.robot-visual {
  position: absolute;
  bottom: 15px;
  right: 40px;
  text-align: center;
}

.robot-visual i {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.processing-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
  animation: bounce 1.4s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(10, 64, 101, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.hero-cta {
  margin-bottom: 40px;
  z-index: 3;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: "Bruno Ace SC", cursive;
}

.highlight {
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 30px;
  font-weight: 600;
  font-family: "Bruno Ace SC", cursive;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 16px;
}

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

.btn-primary:hover {
  background: var(--secondary-color);
  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(--white);
  transform: translateY(-2px);
}

/* Hero Graphics */

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 8px 25px rgba(10, 64, 101, 0.3);
  animation: float 3s ease-in-out infinite;
}

.floating-icon.web-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: 20px;
  left: 50px;
  animation-delay: 0s;
}

.floating-icon.design-icon {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  top: 80px;
  right: 40px;
  animation-delay: 0.5s;
}

.floating-icon.mobile-icon {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  bottom: 30px;
  left: 80px;
  animation-delay: 1s;
}

.floating-icon.server-icon {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  top: 30px;
  left: 60px;
  animation-delay: 0s;
}

.floating-icon.cloud-icon {
  background: linear-gradient(135deg, #fa709a, #fee140);
  top: 70px;
  right: 50px;
  animation-delay: 0.7s;
}

.floating-icon.shield-icon {
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  bottom: 40px;
  left: 90px;
  animation-delay: 1.2s;
}

.floating-icon.social-icon {
  background: linear-gradient(135deg, #d299c2, #fef9d7);
  top: 25px;
  left: 70px;
  animation-delay: 0s;
}

.floating-icon.facebook-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: 90px;
  right: 30px;
  animation-delay: 0.8s;
}

.floating-icon.twitter-icon {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  bottom: 20px;
  left: 100px;
  animation-delay: 1.5s;
}

.floating-icon.ai-icon {
  background: linear-gradient(135deg, #a8edea, #fed6e3);
  top: 40px;
  left: 40px;
  animation-delay: 0s;
}

.floating-icon.brain-icon {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  top: 60px;
  right: 60px;
  animation-delay: 0.6s;
}

.floating-icon.chart-icon {
  background: linear-gradient(135deg, #667eea, #764ba2);
  bottom: 50px;
  left: 70px;
  animation-delay: 1.1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.slide-info {
  text-align: left;
}

.slide-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-family: "Bruno Ace SC", cursive;
}

.slide-description {
  font-size: 1.1rem;
  color: var(--text-color);
  margin: 0;
  margin-bottom: 30px;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  font-family: "Bruno Ace SC", cursive;
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-subtitle {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-color);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--white);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

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

.service-card-flip {
  background: transparent;
  width: 100%;
  height: 300px;
  perspective: 1000px;
  margin-bottom: 20px;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner {
  transform: rotateY(180deg);
}

/* Auto animation for service cards */
.service-card-inner.auto-animate {
  transform: rotateY(180deg);
}

.service-card-inner.auto-animate.paused {
  transform: rotateY(0deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.service-card-flip h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.service-card-back {
  background: var(--background-color);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.service-icon i {
  font-size: 32px;
  color: var(--white);
}

.service-card-back h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.service-card-back p {
  color: var(--primary-color);
  line-height: 1.8;
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background: var(--background-color);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

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

.portfolio-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  height: 300px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  box-shadow: -10px 10px 5px 0px rgba(0, 0, 0, 0.5);
}

.portfolio-item:nth-child(1) {
  background-image: url("../assets/images/portafolio-servicel.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.portfolio-item:nth-child(2) {
  background-image: url("../assets/images/portafolio-lilys.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.portfolio-item:nth-child(6) {
  background-image: url("../assets/images/portafolio-promedac.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.portfolio-item:nth-child(3) {
  background-image: url("../assets/images/portafolio-maesmi.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.portfolio-item:nth-child(4) {
  background-image: url("../assets/images/portafolio-jescel.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.portfolio-item:nth-child(5) {
  background-image: url("../assets/images/portafolio-csc.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 64, 101, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-content {
  text-align: center;
  color: var(--white);
}

.portfolio-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.portfolio-content p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.portfolio-link {
  display: inline-flex;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.portfolio-link:hover {
  transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-image: url("../assets/images/bg-testimonials.jpg");
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.testimonials .container {
  position: relative;
  z-index: 2;
}

/* Título de la sección */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Contenedor del slider */
.testimonial-container {
  overflow: hidden;
  position: relative;
  border-radius: 2rem;
  padding: 2rem 0;
}

.testimonial-slider {
  display: flex;
  width: calc(400px * 10); /* Ancho total para 10 testimoniales */
  animation: infiniteSlide 30s linear infinite;
}

/* Animación infinita */
@keyframes infiniteSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-400px * 5)
    ); /* Mueve exactamente 5 testimoniales */
  }
}

/* Pausa al hover */
.testimonial-slider:hover {
  animation-play-state: paused;
}

/* Tarjeta de testimonial */
.testimonial-card {
  width: 380px;
  margin: 0 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Header del testimonial */
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.1);
}

.avatar-1 {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}
.avatar-2 {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}
.avatar-3 {
  background: linear-gradient(135deg, #45b7d1, #96c93d);
}
.avatar-4 {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}
.avatar-5 {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.user-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.user-info p {
  color: #64748b;
  font-size: 0.875rem;
}

/* Estrellas */
.rating {
  display: flex;
  margin-bottom: 1.5rem;
  gap: 0.25rem;
}

.star {
  color: #fbbf24;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.star:hover {
  transform: scale(1.2) rotate(10deg);
}

/* Comentario */
.testimonial-comment {
  position: relative;
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-comment::before {
  content: '"';
  font-size: 4rem;
  color: #e2e8f0;
  position: absolute;
  top: -1.5rem;
  left: -0.75rem;
  font-family: serif;
  line-height: 1;
}

.testimonial-comment::after {
  content: '"';
  font-size: 4rem;
  color: #e2e8f0;
  position: absolute;
  bottom: -2.5rem;
  right: 0;
  font-family: serif;
  line-height: 1;
}

/* Controles */
.controls {
  text-align: center;
  margin-top: 3rem;
}

/* Indicador de pausa */
.pause-indicator {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.testimonial-slider:hover ~ .controls .pause-indicator {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .testimonial-card {
    width: 320px;
    padding: 1.5rem;
  }

  .testimonial-slider {
    width: calc(340px * 10);
    animation-duration: 35s;
  }

  @keyframes infiniteSlide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-340px * 5));
    }
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .testimonial-card {
    width: 280px;
    padding: 1.25rem;
  }

  .testimonial-slider {
    width: calc(300px * 10);
  }

  @keyframes infiniteSlide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 5));
    }
  }
}

/* Efectos adicionales */
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 1.5rem 1.5rem 0 0;
}

.testimonial-card {
  position: relative;
}

/* Animación de entrada */
.testimonial-card {
  animation: fadeInUp 0.6s ease forwards;
}

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

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: var(--background-color);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

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

.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

.pricing-card.recommended {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.recommended-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.price {
  margin-bottom: 30px;
}

.currency {
  font-size: 2.5rem;
  color: var(--text-color);
  vertical-align: center;
}

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

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

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(196, 196, 196, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features i.fa-check {
  color: #28a745;
}

.pricing-features i.fa-times {
  color: #dc3545;
}

.pricing-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.pricing-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--white);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-details a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
  background: var(--background-color);
  padding: 40px;
  border-radius: var(--border-radius);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(196, 196, 196, 0.3);
  border-radius: var(--border-radius);
  background: var(--white);
  font-size: 16px;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--text-color);
  transition: var(--transition);
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: var(--white);
  padding: 0 5px;
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.footer-shape {
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100px;
  background: var(--secondary-color);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  animation: slideOutFromBottom 1s ease-in;
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: "Bruno Ace SC", cursive;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .fixed-social-links {
    left: 10px;
    gap: 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .nav-container {
    padding: 0 15px;
    overflow: hidden;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100vw;
    height: calc(100vh - 70px);
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
    padding: 40px 0;
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
  }

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

  .nav-menu .nav-link {
    color: var(--primary-color);
    padding: 20px 0;
    display: block;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid rgba(10, 64, 101, 0.1);
    transition: var(--transition);
  }

  .nav-menu .nav-link:hover {
    color: var(--secondary-color);
    background-color: rgba(10, 64, 101, 0.1);
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .carousel-slide {
    flex-direction: column;
    justify-content: center;
    gap: 30px;
  }

  .slide-visual {
    display: none;
  }

  .slide-content {
    align-items: center;
    text-align: center;
    padding-left: 0;
  }

  .slide-info {
    text-align: center;
  }

  .hero-carousel {
    height: 300px;
    margin-bottom: 30px;
  }

  .animated-elements {
    width: 250px;
    height: 150px;
  }

  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .slide-title {
    font-size: 1.5rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

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

    .hero-carousel {
      height: 250px;
      margin-bottom: 25px;
    }

    .animated-elements {
      width: 200px;
      height: 120px;
    }

    .floating-icon {
      width: 40px;
      height: 40px;
      font-size: 16px;
    }

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

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

    .btn-large {
      padding: 12px 25px;
      font-size: 1rem;
    }

    .section-title {
      font-size: 2rem;
    }

    .btn {
      padding: 12px 24px;
      font-size: 14px;
    }

    .service-card,
    .contact-form {
      padding: 30px 20px;
    }
  }

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

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

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

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-graphic {
    height: 300px;
  }

  .floating-card {
    position: relative;
    margin: 20px auto;
    display: inline-flex;
  }

  .card-1,
  .card-2,
  .card-3 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
  }
}

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

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .service-card,
  .contact-form {
    padding: 30px 20px;
  }
}

/* Modern Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  position: absolute;
  inset: 0;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide.inactive {
  opacity: 0;
  transform: translateX(20px);
}

.gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  position: absolute;
  inset: 0;
}

.hero-bg-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-bg-2 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-bg-3 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-bg-4 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slider-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

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

.slider-text {
  color: white;
}

.slider-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.slider-title-highlight {
  display: block;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slider-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #e5e7eb;
  line-height: 1.6;
}

.slider-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.slider-btn-primary {
  background: white;
  color: #7c3aed;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: auto;
  min-width: 180px;
  white-space: nowrap;
}

.slider-btn-primary:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

.slider-btn-secondary {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
  min-width: 180px;
  white-space: nowrap;
}

.slider-btn-secondary:hover {
  background: white;
  color: #7c3aed;
}

.slider-visual {
  display: flex;
  justify-content: center;
}

.floating-animation {
  animation: float 6s ease-in-out infinite;
}

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* Navigation Controls */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.slider-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-prev {
  left: 5rem;
}

.slider-next {
  right: 5rem;
}

/* Dots Navigation */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 1rem;
}

.slider-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Progress Bar */
.slider-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 20;
}

.slider-progress-bar {
  height: 100%;
  background: white;
  transition: all 0.3s ease-linear;
  width: 0%;
}

/* Responsive Design for Hero Slider */
@media (max-width: 1024px) {
  .slider-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .slider-visual {
    display: none;
  }

  .slider-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .slider-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .slider-btn-primary,
  .slider-btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .slider-title {
    font-size: 2rem;
  }

  .slider-subtitle {
    font-size: 1.125rem;
  }

  .slider-nav-btn {
    padding: 0.75rem;
  }

  .slider-prev {
    left: 1rem;
  }

  .slider-next {
    right: 1rem;
  }
}
