/* Reset y Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #020b32;
  --secondary-purple: #020b32;
  --accent-cyan: #00d9ff;
  --accent-green: #00ff88;
  --accent-pink: #ff00d4;
  --gradient-primary: linear-gradient(135deg, #020b32 0%, #020b32 100%);
  --gradient-accent: linear-gradient(
    135deg,
    #ff00d4 0%,
    #00d9ff 50%,
    #00ff88 100%
  );
  --text-white: #ffffff;
  --text-gray: #ffffff;
  --dark-bg: #020b32;
}

.root {
  border: 2px solid transparent;
  border-radius: 30px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
}

body {
  font-family: "Sora", sans-serif;
  line-height: 1.6;
  background: var(--gradient-primary);
  color: var(--text-white);
  overflow-x: hidden;
}

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

/* Hero Slider */
.hero-slider {
  min-height: 100vh;
  padding: 120px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Video de fondo del hero */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Overlay para mejorar legibilidad del texto */
.hero-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.hero-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

/* Ocultar slides adicionales */
.hidden-slide {
  display: none;
}

/* Ocultar puntos de navegación adicionales */
.hidden-dot {
  display: none;
}

/* Ocultar toda la navegación del slider */
.hidden-navigation {
  display: none !important;
}

.hidden-navigation .slider-dots {
  display: none !important;
}

.hidden-navigation .slider-dot {
  display: none !important;
}

/* Ocultar contenido del hero slider pero mantener video de fondo */
.hidden-hero-slider .slider-container {
  display: none !important;
}

.hidden-hero-slider .slider-navigation {
  display: none !important;
}

.hidden-hero-slider .logo-slider {
  display: none !important;
}

/* Mantener el video de fondo visible */
.hidden-hero-slider .hero-video-bg {
  display: block !important;
}

/* Contenido centrado sobre el video */
.hero-centered-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-main-title {
  font-size: 7rem;
  font-weight: black;
  font-family: "Sora", sans-serif;
  color: white;
  line-height: 1.1;
  margin: 0 auto 30px auto;
  
  letter-spacing: 2px;
  text-align: center;
  width: auto;
  max-width: 100%;
}

.hero-cta-button {
  color: var(--text-white);
  padding: 20px 40px;
  font-size: 18px;
  font-family: "Sora", sans-serif;
  text-transform: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 35px;
  background: linear-gradient(var(--primary-purple), var(--primary-purple)) padding-box,
    var(--gradient-accent) border-box;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-button:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 3rem;
    letter-spacing: 1px;
  }
  
  .hero-cta-button {
    padding: 12px 25px;
    font-size: 14px;
    width: 192px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70vh;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-subtitle {
  font-size: 14px;
  font-family: "Sora", sans-serif;
  color: var(--text-gray);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 4rem;
  font-weight: bold;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  margin-bottom: 20px;
  position: relative;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(
    45deg,
    var(--accent-pink),
    var(--accent-cyan),
    var(--accent-green),
    var(--accent-pink),
    var(--accent-cyan),
    var(--accent-green)
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientMove 5s linear infinite;
}

.hero-title-white {
  font-size: 4rem;
  font-weight: bold;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-white);
  background: none;
  -webkit-text-fill-color: var(--text-white);
  animation: none;
}

.hero-description {
  font-size: 40px;
  color: var(--text-white);
  margin-bottom: 30px;
  line-height: 1.3;
  font-weight: bold;
}

.hero-content h2 {
  font-size: 40px;
  color: var(--text-white);
  margin-bottom: 30px;
  line-height: 1.3;
  font-weight: bold;
}

/* Responsive para hero-content h2 */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }
}

@media (max-width: 360px) {
  .hero-content h2 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
  align-items: center;
}

/* Mobile responsive styles moved to main media query below */

.cta-button {
  color: var(--text-white);
  padding: 10px 20px;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  text-transform: none;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 25px;
  margin-bottom: 30px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
  white-space: nowrap;
  width: 192px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.cta-button:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
}

.cta-button.secondary {
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
  color: var(--text-white);
}

.cta-button.secondary:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
}

/* Botón El Parlante Latino Magazine - estilos independientes */
.portfolio-magazine-btn {
  color: var(--text-white);
  padding: 10px 24px;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  text-transform: none;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 25px;
  margin-bottom: 30px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
  white-space: nowrap;
  width: auto;
  min-width: 180px;
  height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.portfolio-magazine-btn:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.phone-mockup {
  position: relative;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

.phone-mockup img {
  max-width: 500px;
  height: auto;
}

.phone-mockup-small {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  width: 200px;
  height: 200px;
  animation: floatReverse 3s ease-in-out infinite;
}

.phone-mockup-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

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

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

@keyframes gradientMove {
  0% {
    background-position: 0% 0%;
  }
  20% {
    background-position: 100% 0%;
  }
  40% {
    background-position: 100% 100%;
  }
  60% {
    background-position: 0% 100%;
  }
  80% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* Navegación del Slider */
.slider-navigation {
  width: 100%;
  padding: 20px 0;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-dots {
  display: flex;
  gap: 15px;
  align-items: center;
}

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

.slider-dot.active {
  background: #00ff88;
  transform: scale(1.2);
}

.slider-dot:hover {
  background: var(--accent-cyan);
  transform: scale(1.1);
}

/* Logo Grid */
.logo-slider {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 0px 0;
  background: var(--dark-bg);
  margin-bottom: 60px;
}

.marquee {
  display: inline-flex;
  animation: marquee 40s linear infinite;
  background-color: rgba(255, 255, 255, 0.025);
  align-items: center;
}

.logo-item {
  flex: 0 0 auto;
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.logo-item:hover img {
  opacity: 1;
  transform: scale(1.4);
}

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

/* Services Section */
.services-section {
  padding: 40px 0;
  background: rgba(45, 27, 78, 0.3);
}

.services-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  gap: 60px;
}

.services-title {
  flex: 0 0 45%;
}

.services-title h2 {
  font-size: 4rem;
  line-height: 1.2;
  color: var(--text-white);
}

.services-info {
  flex: 1;
  padding-left: 20px;
}

.services-info p {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more-btn {
  color: var(--text-white);
  padding: 10px 20px;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  text-transform: none;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 25px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
  white-space: nowrap;
  width: 192px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learn-more-btn:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
}

.service-cards {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 20px;
  align-items: stretch;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  flex: 1;
  position: relative;
  height: 250px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

/* Service cards sin redirección */
.service-card {
  cursor: default;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
}

/* Textos en blanco para service-cards - Sobrescribir todos los estilos */
.service-card h3 {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600;
}

.service-card p {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 400;
}

.service-link {
  text-decoration: none;
  color: #ffffff;
  display: block;
  width: 100%;
  height: 100%;
}

.service-link:hover {
  text-decoration: none;
  color: inherit;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  filter: blur(1px);
  box-shadow: 0 0 8px currentColor;
}

.service-card:nth-child(1)::before {
  background: #00ffaa;
  color: #00ffaa;
}

.service-card:nth-child(2)::before {
  background: #ff00ff;
  color: #ff00ff;
}

.service-card:nth-child(3)::before {
  background: #00aaff;
  color: #00aaff;
}

.service-card:nth-child(4)::before {
  background: #aaff00;
  color: #aaff00;
}

.service-card:nth-child(5)::before {
  background: #00ffaa;
  color: #00ffaa;
}

.card-icon {
  font-size: 1rem;
  margin-bottom: 15px;
  color: var(--text-white);
}

.card-icon img {
  width: 50px;
}

.service-card:nth-child(1) .card-icon {
  color: #00ffaa;
}

.service-card:nth-child(2) .card-icon {
  color: #ff00ff;
}

.service-card:nth-child(3) .card-icon {
  color: #00aaff;
}

.service-card:nth-child(4) .card-icon {
  color: #aaff00;
}

.service-card:nth-child(5) .card-icon {
  color: #00ffaa;
}

.service-card h3 {
  font-size: 1.2rem;
  font-family: "Sora", sans-serif;
  margin-bottom: 15px;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  color: #ffffff !important;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  line-height: 1.5;
  min-height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  font-weight: 400;
}

/* Creative Section */
.creative-section {
  padding: 60px 0;
  background: var(--dark-bg);
}

.floating-elements {
  position: relative;
}

.floating-elements::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-pink) 0%,
    var(--accent-cyan) 100%
  );
}

.creative-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.creative-text {
  flex: 0 0 45%;
  max-width: 500px;
}

.creative-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
}

.creative-text p {
  color: var(--text-gray);
  margin-bottom: 30px;
  font-size: 16px;
}

.company-info {
  margin-top: 30px;
}

.info-section {
  margin-bottom: 25px;
}

.info-section h3 {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-section p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

.creative-image {
  flex: 0 0 55%;
  text-align: center;
}

.creative-image img {
  max-width: 450px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 217, 255, 0.3));
}

/* Video Section */
.video-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Responsive para video-container */
@media (max-width: 768px) {
  .video-container {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .video-container {
    margin-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .video-container {
    margin-bottom: 20px;
  }
}

.video-preview {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-preview:hover .video-thumbnail {
  transform: scale(1.05);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 13, 46, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

/* Responsive para video-overlay */
@media (max-width: 768px) {
  .video-overlay {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .video-overlay {
    margin-bottom: 20px;
  }
}

@media (max-width: 360px) {
  .video-overlay {
    margin-bottom: 20px;
  }
}

.video-preview:hover .video-overlay {
  background: rgba(26, 13, 46, 0.5);
}

.play-button-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-text {
  position: absolute;
  width: 140px;
  height: 140px;
  animation: rotate 15s linear infinite;
}

.rotating-text svg {
  width: 100%;
  height: 100%;
}

.rotating-text text {
  font-size: 20px;
  font-weight: 600;
  fill: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: "Sora", sans-serif;
}

.play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
  position: relative;
  z-index: 2;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0, 217, 255, 0.5);
}

.play-button:hover + .rotating-text {
  animation-play-state: paused;
}

.play-button i {
  font-size: 24px;
  color: white;
  margin-left: 5px;
}

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

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 11, 50, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(3px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  z-index: 10001;
  animation: modalSlideIn 0.3s ease-out;
}

.video-modal-content video {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10002;
  box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.video-close-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* Portfolio Section */
.portfolio-section {
  padding: 0px 0;
  background: var(--gradient-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--accent-cyan);
}

.portfolio-content {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.portfolio-image {
  flex: 1;
  text-align: center;
}

.portfolio-text {
  flex: 1;
  max-width: 500px;
  padding: 0 20px;
}

.portfolio-text h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  line-height: 1.2;
  text-align: left;
}

.portfolio-text p {
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 16px;
  text-align: left;
}

/* Testimonial Section */
.testimonial-section {
  padding: 0px 0;
  background: var(--dark-bg);
}

.testimonial-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 40px;
  overflow: hidden;
  border: 3px solid var(--accent-cyan);
}

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

blockquote p {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 20px;
  font-style: italic;
}

blockquote cite {
  color: var(--text-gray);
  font-size: 14px;
}

/* Testimonial Slider */
.testimonial-slider {
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}

.testimonial-slider h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 70px;
  font-family: "Sora", sans-serif;
  font-weight: bold;
  color: var(--text-white);
}

  .testimonial-slides-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 200%; /* 2 slides = 200% */
    transform: translateX(0%); /* Posición inicial */
  }

  .testimonial-slide {
    width: 50%; /* Cada slide ocupa 50% del contenedor */
    flex-shrink: 0;
    padding: 0 15px;
    box-sizing: border-box;
  }

/* El slide activo se controla mediante JavaScript con transform */

/* Testimonial Cards */
.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  max-width: 350px;
  width: 100%;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 15px 30px rgba(0, 217, 255, 0.1);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar-small {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

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

.testimonial-avatar-logo {
  background: #000;
}

.avatar-initial {
  color: white;
  font-size: 18px;
  font-weight: 600;
  font-family: "Sora", sans-serif;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  color: var(--text-white);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

.testimonial-role {
  color: var(--text-gray);
  font-size: 14px;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.stars {
  color: #ffe002;
  font-size: 20px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Testimonial Navigation Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 0;
}

.testimonial-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.testimonial-dots .dot.active {
  background: var(--accent-cyan);
  transform: scale(1.2);
  border-color: rgba(0, 217, 255, 0.5);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.testimonial-dots .dot:hover {
  background: rgba(0, 217, 255, 0.6);
  transform: scale(1.1);
}

/* Desktop: Mostrar solo desktop dots */
.desktop-dot {
  display: block;
}

.mobile-dot {
  display: none;
}


/* Nueva CTA Section */
.cta-section-new {
  background: var(--gradient-accent);
  height: 200px;
  display: flex;
  align-items: center;
}

.cta-section-new .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.cta-content-new {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.cta-content-new h2 {
  font-size: 3rem;
  color: white;
  line-height: 1.2;
  font-weight: bold;
  flex-shrink: 0;
}

.whatsapp-btn-new {
  background: #25d366;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
}

.whatsapp-btn-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: #020b32;
}

.whatsapp-btn-new img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* About Section */
.about-section {
  padding: 40px 0;
  background: var(--secondary-purple);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  line-height: 1.2;
  color: var(--text-white);
}

.about-text p {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  font-weight: bold;
}

.stat-item p {
  color: var(--text-gray);
  font-size: 14px;
  margin: 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
}

.feature-item i {
  color: var(--accent-green);
  font-size: 18px;
}

.about-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.element-1 {
  width: 20px;
  height: 20px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  width: 15px;
  height: 15px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.element-3 {
  width: 25px;
  height: 25px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

/* Projects Section */
/* Projects Section - Layout Asimétrico */
.projects-section {
  padding: 50px 0;
  background: var(--gradient-primary);
}


/* Título principal */
.projects-title {
  width: 100%;
  max-width: 1200px;
  height: 92px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.projects-subtitle {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.projects-main-title {
  font-size: 4rem;
  font-weight: bold;
  color: var(--text-white);
  margin: 0;
  line-height: 1;
}

.projects-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding: 0 20px;
  gap: 20px;
}

/* Columna izquierda */
.projects-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Texto descriptivo */
.projects-description {
  width: 635px;
  height: 167px;
}

.projects-description p {
  color: var(--text-white);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 20px 0 0;
}

/* Imágenes de la columna izquierda */
.project-image-large {
  width: 100%;
  height: 726px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.project-image-medium {
  width: 100%;
  height: 605px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

/* Columna derecha */
.projects-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Imágenes de la columna derecha */
.project-image-small {
  width: 100%;
  height: 394px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.project-image-tall {
  width: 100%;
  height: 727px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

/* Overlay para los proyectos */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 11, 50, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.project-info {
  text-align: center;
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.project-info h3 {
  color: #00d9ff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Sora", sans-serif;
  text-align: center;
  width: 100%;
}

.project-info p {
  font-size: 14px;
  margin-bottom: 20px;
  font-family: "Sora", sans-serif;
  text-align: center;
  width: 100%;
}

.project-image-large:hover .project-overlay,
.project-image-medium:hover .project-overlay,
.project-image-small:hover .project-overlay,
.project-image-tall:hover .project-overlay {
  opacity: 1;
}

.project-cta {
  color: var(--text-white);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 25px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
             var(--gradient-accent) border-box;
  text-transform: none;
  font-family: "Sora", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 192px;
  height: 49px;
}

.project-cta:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
}

.project-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.project-cta:hover::before {
  opacity: 0;
}

.project-cta:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

/* Contenedor del botón CONTINUE */
.projects-continue {
  width: 605px;
  height: 355px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botón SEE MORE PROJECTS - Replica el estilo del header */
.projects-cta-button {
  color: var(--text-white);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 14px;
  font-family: "Sora", sans-serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  border-radius: 25px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
  text-transform: none;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 49px;
}

.projects-cta-button:hover {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

/* Imágenes responsivas */
.project-image-large img,
.project-image-medium img,
.project-image-small img,
.project-image-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-image-large:hover img,
.project-image-medium:hover img,
.project-image-small:hover img,
.project-image-tall:hover img {
  transform: scale(1.05);
}

.project-image-large:hover,
.project-image-medium:hover,
.project-image-small:hover,
.project-image-tall:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 217, 255, 0.2);
}

/* El Parlante Latino Images - 600x600 */
.portfolio-image img[src*="El_Parlante_Latino.png"],
.creative-image img[src*="El_Parlante_Latino.png"] {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
}

.gradient-line-separator {
  margin: 50px 0;
  margin-bottom: 80px;
}

.gradient-line-separator::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-pink) 0%,
    var(--accent-cyan) 100%
  );
  left: 50%;
  transform: translateX(-50%);
}

/* Contact Section */
.contact-section {
  padding: 45px 0;
  background: var(--dark-bg);
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.contact-info {
  flex: 1;
  max-width: 300px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-info > p {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 2px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
    var(--gradient-accent) border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00d9ff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.contact-icon:hover::before {
  opacity: 1;
}

.contact-icon:hover {
  transform: translateY(-2px);
}

.contact-icon i {
  font-size: 20px;
  color: white;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-icon:hover i {
  color: #000000;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-white);
}

.contact-text p {
  color: #ffffff;
  font-size: 16px;
}

.contact-form {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Estilos para el contenedor de WhatsApp en la sección de contacto */
.whatsapp-contact-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-contact-content {
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
              linear-gradient(145deg, transparent 35%,#e81cff, #40c9ff) border-box;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.whatsapp-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-icon-large i {
  font-size: 40px;
  color: white;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  }
}

.whatsapp-contact-content h3 {
  font-size: 1.8rem;
  color: var(--text-white);
  margin: 0;
  font-weight: 600;
}

.whatsapp-contact-content > p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.whatsapp-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  margin-top: 8px;
}

.whatsapp-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-contact-btn:active {
  transform: translateY(-1px);
}

.whatsapp-contact-btn i {
  font-size: 1.4rem;
}

.whatsapp-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 8px;
}

.whatsapp-contact-info i {
  color: var(--accent-cyan);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .whatsapp-contact-content {
    padding: 32px 24px;
  }
  
  .whatsapp-icon-large {
    width: 70px;
    height: 70px;
  }
  
  .whatsapp-icon-large i {
    font-size: 35px;
  }
  
  .whatsapp-contact-content h3 {
    font-size: 1.5rem;
  }
  
  .whatsapp-contact-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 70px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: left;
}

/* Clase específica para textos de inputs */
.input-text {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--text-white);
  text-align: left;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Estilos específicos para textarea */
.input-text[type="textarea"],
textarea.input-text {
  min-height: 120px;
  resize: vertical;
  padding-top: 20px;
  padding-bottom: 20px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-gray);
}

.form-group select option {
  background: var(--primary-purple);
  color: var(--text-white);
}

.submit-btn {
  background: var(--gradient-accent);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-align: center;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 217, 255, 0.3);
}

/* New Form Styles - From Uiverse.io by gharsh11032000 */
.form-container {
  width: 600px;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
              linear-gradient(145deg, transparent 35%,#e81cff, #40c9ff) border-box;
  border: 2px solid transparent;
  padding: 32px 24px;
  font-size: 14px;
  font-family: inherit;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 16px;
}

.form-container button:active {
  scale: 0.95;
}

.form-container .form {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #717171;
  font-weight: 600;
  font-size: 12px;
}

.form-container .form-group input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid #414141;
}

.form-container .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #fff;
  height: 96px;
  border: 1px solid #414141;
  background-color: transparent;
  font-family: inherit;
}

.form-container .form-group select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid #414141;
  cursor: pointer;
}

.form-container .form-group select option {
  background-color: #212121;
  color: #fff;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #00f3a8;
}

/* Input Container Styles */
.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-container label {
  position: absolute;
  left: 16px;
  color: #717171;
  font-weight: 600;
  font-size: 12px;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label,
.input-container input:valid + label,
.input-container input:not([value=""]) + label {
  opacity: 0;
  transform: translateY(-10px);
}

.input-container input {
  padding-left: 120px;
}

/* Asegurar que el label se oculte cuando hay contenido */
.input-container input:not(:empty) + label {
  opacity: 0;
  transform: translateY(-10px);
}

.form-container .form-group textarea:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-group select:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #717171;
  font-weight: 600;
  width: 40%;
  background: #313131;
  border: 1px solid #414141;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.form-container .form-submit-btn:hover {
  background-color: #fff;
  border-color: #fff;
}

/* Contact Submit Button */
.contact-submit-btn {
  margin-top: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  min-width: 200px;
  max-width: 290px;
}

/* Project Modal Styles */
.project-modal-overlay {
  animation: fadeIn 0.3s ease;
}

.project-modal-content {
  animation: slideUp 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.modal-header {
  padding: 25px 30px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: var(--text-white);
  font-size: 1.8rem;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal:hover {
  color: var(--accent-cyan);
}

.modal-body {
  padding: 25px 30px;
}

.modal-body p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--primary-purple);
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-cyan);
  border: 2px solid var(--accent-cyan);
  padding: 10px 23px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* RESPONSIVE DESIGN OPTIMIZADO PARA MÓVILES */

/* Pantallas muy grandes - 1200px y más */
@media (min-width: 1200px) {
  .service-cards {
    gap: 25px;
    margin: 0 30px;
  }

  .service-card {
    height: 320px;
    padding: 45px 25px;
  }

  .service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 18px;
  }

  .service-card p {
    font-size: 15px;
  }

  .card-icon img {
    width: 55px;
  }

  .creative-content {
    gap: 100px;
  }

  .creative-image img {
    max-width: 550px;
  }
}

/* Tablets grandes - 1024px y menos */
@media (max-width: 1024px) {
  .service-cards {
    gap: 15px;
    margin: 0 15px;
  }

  .service-card {
    height: 280px;
    padding: 35px 18px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .service-card p {
    font-size: 13px;
  }

  .card-icon img {
    width: 45px;
  }
}

/* Tablets - 768px y menos */
@media (max-width: 768px) {
  .container {
    padding: 0 5px;
  }

  /* Hero Slider Mobile */
  .hero-slider {
    padding: 80px 0 30px;
    min-height: 100vh;
  }

  .slider-container {
    height: auto;
  }

  /* Asegurar que el video se muestre en móviles */
  .hero-video-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    min-height: auto;
    padding: 0 15px;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  /* Navegación del Slider Mobile */
  .slider-navigation {
    padding: 15px 0;
  }

  .slider-dots {
    gap: 10px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .hero-image {
    max-width: 100%;
    order: 1;
  }

  /* Hero Buttons Mobile */
  .hero-buttons {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .phone-mockup img {
    max-width: 300px;
  }

  /* Logo Slider Mobile */
  .logo-slider {
    margin-bottom: 40px;
  }
  .logo-item {
    margin: 0 20px;
  }

  .logo-item img {
    max-width: 70px;
  }

  /* Services Section Mobile */
  .services-section {
    padding: 30px 0;
  }

  .services-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    margin-bottom: 50px;
  }

  .services-title {
    flex: none;
  }

  .services-title h2 {
    font-size: 2.2rem;
  }

  .services-info {
    padding-left: 0;
    padding: 0 20px;
  }

  .service-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 10px;
  }

  .service-card {
    padding: 22px 13px;
    margin-bottom: 0;
    height: 180px;
    width: 100%;
    flex: 1;
  }

  .service-card::before {
    width: 40px;
    height: 2px;
  }

  .card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  /* Ocultar testimonial slider en móvil */
  .testimonial-slider-container {
    display: none !important;
  }


  /* Creative & Portfolio Sections Mobile */
  .creative-content,
  .portfolio-content,
  .about-content,
  .contact-content {
    padding: 55px 0;
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  /* Override: About content without vertical padding on mobile */
  .about-content {
    padding: 0;
  }

  .creative-section,
  .about-section {
    padding: 30px 0;
  }

  /* Mejorar espaciado del texto about en móviles */
  .about-text {
    padding: 0 20px;
  }

  .creative-text h2,
  .portfolio-text h2,
  .about-text h2,
  .contact-info h2 {
    font-size: 2.2rem;
  }

  /* Override: Contact padding en móvil */
  .contact-section,
  .contact-content {
    padding: 0;
  }

  .portfolio-text {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .portfolio-text h2 {
    text-align: center;
  }

  .portfolio-text p {
    text-align: center;
  }

  .creative-image img {
    max-width: 350px;
  }

  /* Optimizar imágenes específicas en móvil */
  .portfolio-image img[src*="El_Parlante_Latino.png"],
  .creative-image img[src*="El_Parlante_Latino.png"] {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
  }

  /* Video Section Mobile */
  .video-section {
    height: 250px;
  }

  .rotating-text {
    width: 100px;
    height: 100px;
  }

  .rotating-text text {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-button i {
    font-size: 18px;
  }

  /* Video Modal Mobile */
  .video-modal-content {
    width: 95%;
    max-width: 600px;
  }

  .video-close-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
    top: -12px;
    right: -12px;
  }

  /* Stats Grid Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    margin: 30px 0;
  }

  .stat-item h3 {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 12px;
  }

  /* About Features Mobile */
  .about-features {
    margin-top: 25px;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
  }
  .feature-item {
    gap: 12px;
  }

  .feature-item i {
    font-size: 16px;
  }

  /* Projects Section Mobile */
  /* Portfolio Grid Responsive */
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }

  .portfolio-grid-item {
    width: 100% !important;
    height: 300px !important;
    grid-row: auto !important;
  }

  .portfolio-grid-item:nth-child(1),
  .portfolio-grid-item:nth-child(2),
  .portfolio-grid-item:nth-child(7),
  .portfolio-grid-item:nth-child(8) {
    height: 400px !important;
  }

  /* Projects Section Mobile */
  .projects-section {
    padding: 0;
  }

  .projects-title {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    padding: 50px 15px;
    text-align: center;
    align-items: center;
  }

  .projects-subtitle {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .projects-main-title {
    font-size: 4rem;
    text-align: center;
  }

  .projects-layout {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .projects-left,
  .projects-right {
    width: 100%;
  }

  .projects-description {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    text-align: center;
  }

  .projects-description p {
    font-size: 15px;
    text-align: center;
  }

  .project-image-large,
  .project-image-medium,
  .project-image-small,
  .project-image-tall {
    width: 100%;
    height: 300px;
  }

  .project-cta {
    padding: 10px 20px;
    font-size: 13px;
    width: 192px;
    height: 49px;
  }

  .projects-continue {
    width: 100%;
    height: 200px;
  }

  .projects-cta-button {
    padding: 12px 30px;
    font-size: 14px;
    width: 192px;
    height: 49px;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 40px 0;
  }

  .cta-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .cta-content h2 {
    font-size: 2.2rem;
  }

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

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

  .whatsapp-btn img {
    width: 20px;
    height: 20px;
  }

  /* Nueva CTA Section Mobile */
  .cta-section-new {
    padding: 40px 0;
    height: auto;
    min-height: 170px;
    margin-top: 40px;
  }

  .cta-content-new {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
    text-align: center;
  }

  .cta-content-new h2 {
    font-size: 2.2rem;
  }

  .whatsapp-btn-new {
    padding: 12px 30px;
    font-size: 14px;
  }

  .whatsapp-btn-new img {
    width: 20px;
    height: 20px;
  }

  /* Testimonial Section Mobile */
  .testimonial-section {
    padding: 0;
  }

  .testimonial-content {
    padding: 0 20px;
  }

  .testimonial-avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
  }

  blockquote p {
    font-size: 1.2rem;
  }

  /* Contact Form Mobile */
  .contact-details {
    gap: 25px;
    align-items: center;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon i {
    font-size: 18px;
  }

  .contact-text h4 {
    font-size: 1.1rem;
  }

  .contact-text p {
    font-size: 15px;
  }

  /* New form responsive styles for tablets */
  .form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 15px 70px;
    font-size: 16px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    text-align: left;
  }

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

  /* Estilos responsivos para textos de inputs - Tablets */
  .input-text {
    font-size: 16px;
    letter-spacing: 0.5px;
  }

  /* Textarea más grande en tablets */
  textarea.input-text {
    min-height: 140px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  /* Modal Mobile */
  .modal-header {
    padding: 20px 20px 10px;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
}

/* Tablets medianas - 600px y menos */
@media (max-width: 600px) {
  .service-cards {
    gap: 12px;
    margin: 0 8px;
  }

  .service-card {
    padding: 22px 12px;
    height: 180px;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 12px;
  }

  .card-icon img {
    width: 40px;
  }
}

/* Móviles pequeños - 480px y menos */
@media (max-width: 480px) {
  .container {
    padding: 0 3px;
  }

  /* Hero Mobile Small */
  .hero-section {
    padding: 60px 0 20px;
  }

  .hero-slider {
    min-height: 100vh;
  }

  /* Asegurar que el video se muestre en móviles pequeños */
  .hero-video-bg {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }

  .hero-container {
    padding: 0 10px;
    gap: 30px;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 14px;
    width: 192px;
    height: 49px;
  }

  .portfolio-magazine-btn {
    padding: 10px 24px;
    font-size: 14px;
    width: auto;
    min-width: 180px;
    height: 49px;
  }

  /* Projects Section Mobile Small */
  .projects-section {
    padding: 0;
  }

  .projects-title {
    padding: 50px 10px;
    margin-bottom: 0;
    text-align: center;
    align-items: center;
  }

  .projects-subtitle {
    font-size: 11px;
    margin-bottom: 6px;
  }

  .projects-main-title {
    font-size: 2rem;
    text-align: center;
  }

  .projects-layout {
    padding: 0 10px;
    gap: 15px;
  }

  .projects-description {
    margin-bottom: 15px;
    text-align: center;
  }

  .projects-description p {
    font-size: 14px;
    text-align: center;
  }

  .project-image-large,
  .project-image-medium,
  .project-image-small,
  .project-image-tall {
    height: 250px;
  }

  .project-cta {
    padding: 8px 16px;
    font-size: 12px;
    width: 192px;
    height: 49px;
  }

  .projects-continue {
    height: 150px;
  }

  .projects-cta-button {
    padding: 10px 25px;
    font-size: 13px;
    width: 192px;
    height: 49px;
  }

  /* Logo Slider Mobile Small */
  .logo-slider {
    margin-bottom: 40px;
  }
  .logo-item {
    margin: 0 15px;
  }

  .logo-item img {
    max-width: 60px;
  }

  /* Services Mobile Small */
  .services-section {
    padding: 25px 0;
  }

  .services-title h2 {
    font-size: 1.8rem;
  }

  .services-info p {
    font-size: 15px;
  }

  /* Mejorar espaciado del texto services en móviles pequeños */
  .services-info {
    padding: 0 15px;
  }

  .learn-more-btn {
    padding: 12px 25px;
    font-size: 14px;
    width: 192px;
    height: 49px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .service-cards {
    display: flex;
    flex-direction: column;
    margin: 0 5px;
    gap: 12px;
  }

  .service-card {
    padding: 25px 15px;
    height: 180px;
  }

  .card-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .service-card p {
    font-size: 13px;
  }

  /* Sections Mobile Small */
  .creative-section,
  .about-section {
    padding: 0px 0;
  }

  /* Mejorar espaciado del texto about en móviles pequeños */
  .about-text {
    padding: 0 15px;
  }

  .creative-text h2,
  .portfolio-text h2,
  .about-text h2,
  .contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .creative-text p,
  .portfolio-text p,
  .about-text p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .portfolio-text {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .portfolio-text h2 {
    text-align: center;
  }

  .portfolio-text p {
    text-align: center;
  }

  .creative-image img {
    max-width: 280px;
  }

  /* Optimizar imágenes específicas en móvil pequeño */
  .portfolio-image img[src*="El_Parlante_Latino.png"],
  .creative-image img[src*="El_Parlante_Latino.png"] {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
  }

  /* Video Mobile Small */
  .video-section {
    height: 200px;
  }

  .rotating-text {
    width: 80px;
    height: 80px;
  }

  .rotating-text text {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .play-button {
    width: 50px;
    height: 50px;
  }

  .play-button i {
    font-size: 16px;
  }

  /* Video Modal Mobile Small */
  .video-modal-content {
    width: 98%;
    max-width: 500px;
  }

  .video-close-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
    top: -10px;
    right: -10px;
  }

  /* Stats Grid Mobile Small */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
    margin: 25px 0;
  }

  .stat-item {
    padding: 15px 5px;
  }

  .stat-item h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .stat-item p {
    font-size: 11px;
  }

  /* About Features Mobile Small */
  .about-features {
    margin-top: 20px;
    gap: 12px;
  }

  .feature-item {
    gap: 10px;
    font-size: 14px;
  }

  .feature-item i {
    font-size: 14px;
  }

  /* Projects Mobile Small */
  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .section-header p {
    font-size: 15px;
    padding: 0 5px;
  }

  .project-filters {
    gap: 8px;
    margin-bottom: 25px;
    padding: 0 5px;
  }

  .filter-btn {
    font-size: 11px;
    padding: 6px 12px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 5px;
  }

  .project-card {
    height: 220px;
  }

  .project-info {
    padding: 15px;
  }

  .project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .project-info p {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .project-tags {
    gap: 4px;
    margin-bottom: 20px;
  }

  .tag {
    font-size: 10px;
    padding: 2px 6px;
  }

  .view-project {
    padding: 10px 20px;
    font-size: 12px;
  }

  .projects-cta {
    margin-top: 30px;
    padding-top: 20px;
  }

  .projects-cta p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  /* CTA Mobile Small */
  .cta-section {
    padding: 30px 0;
  }

  .cta-content {
    gap: 25px;
    padding: 0 15px;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .contact-btn {
    padding: 10px 25px;
    font-size: 13px;
  }

  .whatsapp-btn {
    padding: 10px 25px;
    font-size: 13px;
  }

  .whatsapp-btn img {
    width: 18px;
    height: 18px;
  }

  /* Nueva CTA Mobile Small */
  .cta-section-new {
    padding: 30px 0;
    min-height: 150px;
    margin-top: 35px;
  }

  .cta-content-new {
    gap: 25px;
    padding: 0 15px;
  }

  .cta-content-new h2 {
    font-size: 1.8rem;
  }

  .whatsapp-btn-new {
    padding: 10px 25px;
    font-size: 13px;
  }

  .whatsapp-btn-new img {
    width: 18px;
    height: 18px;
  }

  /* Testimonial Mobile Small */
  .testimonial-section {
    padding: 0;
  }

  .testimonial-content {
    padding: 0 15px;
  }

  .testimonial-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
  }

  blockquote p {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  blockquote cite {
    font-size: 13px;
  }

  /* Testimonial Slider Mobile */
  .testimonial-slider {
    margin-top: 5px;
  }

  .testimonial-slider h2 {
    font-size: 32px;
    margin-bottom: 20px;
    padding: 30px 0px;
  }

  .testimonial-slides-container {
    width: 600%; /* 6 tarjetas individuales = 600% */
    transform: translateX(0%); /* Posición inicial: primera tarjeta (índice 0) */
    /* Remover touch-action para deshabilitar swipe */
    cursor: default;
  }

  .testimonial-slide {
    width: 16.666%; /* Cada slide ocupa 1/6 del contenedor */
    padding: 0 10px;
  }

  .testimonial-cards {
    flex-direction: column;
    gap: 0;
    padding: 0 10px;
  }

  .testimonial-card {
    max-width: 100%;
    padding: 25px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .testimonial-card:active {
    transform: scale(0.98);
  }

  /* En móvil, ocultar las tarjetas 2 y 3 de cada grupo */
  .testimonial-card:nth-child(2),
  .testimonial-card:nth-child(3) {
    display: none;
  }

  .testimonial-dots {
    margin-top: 5px;
    gap: 10px;
    padding: 5px 0;
  }

  .testimonial-dots .dot {
    width: 12px;
    height: 12px;
  }

  /* Mobile: Mostrar solo mobile dots, ocultar desktop dots */
  .desktop-dot {
    display: none;
  }

  .mobile-dot {
    display: block;
  }

  .testimonial-card {
    max-width: 100%;
    max-height: 280px;
    padding: 25px;
  }

  .testimonial-card-header {
    gap: 12px;
    margin-bottom: 15px;
  }

  .testimonial-avatar-small {
    width: 40px;
    height: 40px;
  }

  .avatar-initial {
    font-size: 16px;
  }

  .testimonial-name {
    font-size: 15px;
  }

  .testimonial-role {
    font-size: 13px;
  }

  .stars {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .testimonial-text {
    font-size: 14px;
    margin-bottom: 0;
  }

  /* Contact Mobile Small */
  .contact-info > p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .contact-details {
    gap: 20px;
    align-items: center;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

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

  .contact-icon i {
    font-size: 16px;
  }

  .contact-text h4 {
    font-size: 1rem;
    margin-bottom: 3px;
  }

  .contact-text p {
    font-size: 14px;
  }

  /* New form responsive styles for mobile */
  .form-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 24px 16px;
  }

  .form-container .form-group label {
    font-size: 14px;
  }

  .form-container .form-group input,
  .form-container .form-group select,
  .form-container .form-group textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  .form-container .form-submit-btn {
    width: 50%;
    padding: 14px 20px;
    font-size: 16px;
  }

  .contact-submit-btn {
    margin-top: 25px;
    padding: 14px 30px;
    font-size: 16px;
    width: auto;
    min-width: 180px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .input-container label {
    font-size: 11px;
    left: 14px;
  }

  .input-container input {
    padding-left: 100px;
    font-size: 16px;
    padding: 14px 16px 14px 100px;
  }

  .input-container input:focus + label,
  .input-container input:not(:placeholder-shown) + label,
  .input-container input:valid + label,
  .input-container input:not([value=""]) + label {
    opacity: 0;
    transform: translateY(-8px);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 15px 70px;
    font-size: 16px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    text-align: left;
  }

  .submit-btn {
    padding: 10px 25px;
    font-size: 13px;
  }

  /* Estilos responsivos para textos de inputs - Móviles */
  .input-text {
    font-size: 16px;
    letter-spacing: 0.3px;
  }

  /* Textarea más grande en móviles */
  textarea.input-text {
    min-height: 150px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  /* Modal Mobile Small */
  .modal-header {
    padding: 15px 15px 8px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .close-modal {
    width: 35px;
    height: 35px;
    font-size: 1.8rem;
  }

  .modal-body {
    padding: 15px;
  }

  .modal-body p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .modal-actions {
    margin-top: 25px;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 10px 15px;
    font-size: 13px;
  }
}

/* Móviles muy pequeños - 360px y menos */
@media (max-width: 360px) {
  .container {
    padding: 0 2px;
  }

  /* Hero Section - Móviles muy pequeños */
  .hero-container {
    padding: 0 8px;
    gap: 25px;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 11px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 13px;
    width: 192px;
    height: 49px;
  }

  .portfolio-magazine-btn {
    padding: 10px 20px;
    font-size: 13px;
    width: auto;
    min-width: 160px;
    height: 49px;
  }

  .phone-mockup img {
    max-width: 180px;
  }

  /* Logo Slider - Móviles muy pequeños */
  .logo-slider {
    margin-bottom: 40px;
  }
  .logo-item {
    margin: 0 10px;
  }

  .logo-item img {
    max-width: 45px;
  }

  /* Services Section - Móviles muy pequeños */
  .services-section {
    padding: 20px 0;
  }

  .services-content {
    gap: 30px;
    margin-bottom: 40px;
  }

  .services-title h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .services-info p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Mejorar espaciado del texto services en móviles muy pequeños */
  .services-info {
    padding: 0 12px;
  }

  .learn-more-btn {
    padding: 10px 20px;
    font-size: 13px;
    width: 192px;
    height: 49px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .service-cards {
    display: flex;
    flex-direction: column;
    margin: 0 3px;
    gap: 10px;
  }

  .service-card {
    padding: 20px 12px;
    height: 160px;
  }

  .card-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 12px;
  }

  /* Sections - Móviles muy pequeños */
  .creative-section,
  .about-section {
    padding: 20px 0;
  }

  /* Mejorar espaciado del texto about en móviles muy pequeños */
  .about-text {
    padding: 0 12px;
  }

  .creative-text h2,
  .portfolio-text h2,
  .about-text h2,
  .contact-info h2,
  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .creative-text p,
  .portfolio-text p,
  .about-text p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .portfolio-text {
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .portfolio-text h2 {
    text-align: center;
  }

  .portfolio-text p {
    text-align: center;
  }

  .creative-image img {
    max-width: 220px;
  }

  /* Video Section - Móviles muy pequeños */
  .video-section {
    height: 180px;
  }

  .rotating-text {
    width: 70px;
    height: 70px;
  }

  .rotating-text text {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  .play-button {
    width: 45px;
    height: 45px;
  }

  .play-button i {
    font-size: 14px;
  }

  /* Video Modal - Móviles muy pequeños */
  .video-modal-content {
    width: 98%;
    max-width: 400px;
  }

  .video-close-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
    top: -8px;
    right: -8px;
  }

  /* Stats Grid - Móviles muy pequeños */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
    margin: 20px 0;
  }

  .stat-item {
    padding: 12px 5px;
  }

  .stat-item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .stat-item p {
    font-size: 10px;
  }

  /* About Features - Móviles muy pequeños */
  .about-features {
    margin-top: 15px;
    gap: 10px;
  }

  .feature-item {
    gap: 8px;
    font-size: 13px;
  }

  .feature-item i {
    font-size: 13px;
  }

  /* Projects Section - Móviles muy pequeños */
  .section-header {
    margin-bottom: 25px;
  }

  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .section-header p {
    font-size: 14px;
    padding: 0 3px;
  }

  .project-filters {
    gap: 6px;
    margin-bottom: 20px;
    padding: 0 3px;
  }

  .filter-btn {
    font-size: 10px;
    padding: 5px 10px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 3px;
  }

  .project-card {
    height: 180px;
  }

  .project-info {
    padding: 12px;
  }

  .project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .project-info p {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .project-tags {
    gap: 3px;
    margin-bottom: 15px;
  }

  .tag {
    font-size: 9px;
    padding: 2px 5px;
  }

  .view-project {
    padding: 8px 15px;
    font-size: 11px;
  }

  .projects-cta {
    margin-top: 25px;
    padding-top: 15px;
  }

  .projects-cta p {
    font-size: 15px;
    margin-bottom: 15px;
  }

  /* CTA Section - Móviles muy pequeños */
  .cta-section {
    padding: 25px 0;
  }

  .cta-content {
    gap: 20px;
    padding: 0 10px;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .contact-btn {
    padding: 8px 20px;
    font-size: 12px;
  }

  .whatsapp-btn {
    padding: 8px 20px;
    font-size: 12px;
  }

  .whatsapp-btn img {
    width: 16px;
    height: 16px;
  }

  /* Nueva CTA Section - Móviles muy pequeños */
  .cta-section-new {
    padding: 25px 0;
    min-height: 140px;
    margin-top: 25px;
  }

  .cta-content-new {
    gap: 20px;
    padding: 0 10px;
  }

  .cta-content-new h2 {
    font-size: 1.5rem;
  }

  .whatsapp-btn-new {
    padding: 8px 20px;
    font-size: 12px;
  }

  .whatsapp-btn-new img {
    width: 16px;
    height: 16px;
  }

  /* Testimonial Section - Móviles muy pequeños */
  .testimonial-section {
    padding: 0;
  }

  .testimonial-content {
    padding: 0 10px;
  }

  .testimonial-avatar {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  blockquote p {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  blockquote cite {
    font-size: 12px;
  }

  /* Testimonial Cards Mobile Small */
  .testimonial-slider {
    margin-top: 3px;
  }

  .testimonial-slider h2 {
    font-size: 28px;
    margin-bottom: 15px;
    padding: 0 12px;
  }

  .testimonial-slides-container {
    width: 600%; /* 6 tarjetas individuales = 600% */
    transform: translateX(0%); /* Posición inicial: primera tarjeta (índice 0) */
    /* Remover touch-action para deshabilitar swipe */
    cursor: default;
  }

  .testimonial-slide {
    width: 16.666%; /* Cada slide ocupa 1/6 del contenedor */
    padding: 0 8px;
  }

  .testimonial-cards {
    gap: 15px;
    padding: 0 8px;
  }

  .testimonial-card {
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .testimonial-card:active {
    transform: scale(0.98);
  }

  /* En móvil pequeño, ocultar las tarjetas 2 y 3 de cada grupo */
  .testimonial-card:nth-child(2),
  .testimonial-card:nth-child(3) {
    display: none;
  }

  .testimonial-card-header {
    gap: 10px;
    margin-bottom: 12px;
  }

  .testimonial-avatar-small {
    width: 35px;
    height: 35px;
  }

  .avatar-initial {
    font-size: 14px;
  }

  .testimonial-name {
    font-size: 14px;
  }

  .testimonial-role {
    font-size: 12px;
  }

  .stars {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .testimonial-text {
    font-size: 13px;
    margin-bottom: 0;
  }

  /* Contact Section - Móviles muy pequeños */
  .contact-info > p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .contact-details {
    gap: 15px;
  }

  .contact-item {
    gap: 10px;
  }

  .contact-icon {
    width: 35px;
    height: 35px;
  }

  .contact-icon i {
    font-size: 14px;
  }

  .contact-text h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }

  .contact-text p {
    font-size: 13px;
  }

  /* New form responsive styles for small mobile */
  .form-container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    padding: 20px 12px;
  }

  .form-container .form-group label {
    font-size: 13px;
  }

  .form-container .form-group input,
  .form-container .form-group select,
  .form-container .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  .form-container .form-submit-btn {
    width: 60%;
    padding: 12px 18px;
    font-size: 15px;
  }

  .contact-submit-btn {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 15px;
    width: auto;
    min-width: 160px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
  }

  .input-container label {
    font-size: 10px;
    left: 12px;
  }

  .input-container input {
    padding-left: 90px;
    font-size: 16px;
    padding: 12px 14px 12px 90px;
  }

  .input-container input:focus + label,
  .input-container input:not(:placeholder-shown) + label,
  .input-container input:valid + label,
  .input-container input:not([value=""]) + label {
    opacity: 0;
    transform: translateY(-6px);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 15px 70px;
    font-size: 16px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    text-align: left;
  }

  .submit-btn {
    padding: 8px 20px;
    font-size: 12px;
  }

  /* Estilos responsivos para textos de inputs - Móviles pequeños */
  .input-text {
    font-size: 16px;
    letter-spacing: 0.2px;
  }

  /* Textarea más grande en móviles pequeños */
  textarea.input-text {
    min-height: 160px;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  /* Modal - Móviles muy pequeños */
  .modal-header {
    padding: 12px 12px 6px;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .close-modal {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
  }

  .modal-body {
    padding: 12px;
  }

  .modal-body p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .modal-actions {
    margin-top: 20px;
    gap: 8px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Mejoras adicionales para touch y usabilidad móvil */
@media (max-width: 768px) {
  /* Aumentar área de toque para botones */
  .cta-button,
  .portfolio-magazine-btn,
  .learn-more-btn,
  .contact-btn,
  .submit-btn,
  .view-project,
  .filter-btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Evitar zoom en inputs */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
  }

  /* Mejorar espaciado para dedos */
  .project-filters .filter-btn {
    margin: 2px;
  }

  /* Animaciones más suaves en móvil */
  .service-card:hover,
  .project-card:hover {
    transform: none;
  }

  /* Hover effects solo en hover real (no touch) */
  @media (hover: hover) {
    .service-card:hover {
      transform: translateY(-10px);
    }

    .project-card:hover {
      transform: translateY(-10px);
    }
  }

  /* Efectos de toque para móviles */
  .service-card:active,
  .project-card:active,
  .cta-button:active,
  .portfolio-magazine-btn:active,
  .learn-more-btn:active,
  .contact-btn:active,
  .submit-btn:active {
    transform: scale(0.98);
  }

  /* Subscription Section Responsive */
  .subscription-section {
    padding: 60px 0;
  }

  .subscription-header h2 {
    font-size: 2rem;
  }

  .subscription-header p {
    font-size: 16px;
  }

  .subscription-plans {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .plan {
    max-width: 100%;
    min-width: auto;
    width: 100%;
  }
}


/* Correcciones específicas para centrado en móviles pequeños */
@media (max-width: 480px) {
  /* Asegurar que todos los contenedores estén centrados */
  .container {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }

  /* Centrar elementos flex */
  .hero-container,
  .services-content,
  .creative-content,
  .portfolio-content,
  .about-content,
  .contact-content {
    justify-content: center;
    align-items: center;
  }

  /* Asegurar que las imágenes no se desborden */
  .phone-mockup img,
  .creative-image img,
  .portfolio-image img,
  .about-image img {
    max-width: 100%;
    height: auto;
  }

  /* Optimizar imágenes específicas en móvil extra pequeño */
  .portfolio-image img[src*="El_Parlante_Latino.png"],
  .creative-image img[src*="El_Parlante_Latino.png"] {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
  }

  /* Centrar texto en todas las secciones */
  .hero-content,
  .services-title,
  .services-info,
  .creative-text,
  .portfolio-text,
  .about-text,
  .contact-info {
    text-align: center;
  }

  /* Asegurar que las cards estén centradas */
  .service-cards {
    justify-content: center;
    align-items: center;
  }

  .service-card {
    text-align: center;
  }

  /* Centrar filtros de proyectos */
  .project-filters {
    justify-content: center;
    align-items: center;
  }

  /* Centrar grid de proyectos */
  .projects-grid {
    justify-items: center;
  }

  /* Centrar elementos de contacto */
  .contact-details {
    align-items: center;
  }

  .contact-item {
    justify-content: center;
  }
}

/* Correcciones adicionales para móviles muy pequeños */
@media (max-width: 360px) {
  /* Reducir aún más los márgenes para evitar desbordamiento */
  .container {
    padding: 0 2px;
  }

  /* Asegurar que el hero esté centrado */
  .hero-container {
    padding: 0 5px;
    text-align: center;
  }

  /* Centrar completamente las cards de servicios */
  .service-cards {
    margin: 0 auto;
    max-width: 100%;
  }

  /* Centrar grid de estadísticas */
  .stats-grid {
    margin: 0 auto;
    max-width: 100%;
  }

  /* Centrar completamente el formulario de contacto */
  .contact-form {
    margin: 0;
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  /* New form responsive styles */
  .form-container {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .contact-submit-btn {
    margin-top: 25px;
    padding: 14px 30px;
    font-size: 16px;
    width: auto;
    min-width: 180px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Asegurar que los botones estén centrados */
  .cta-button,
  .portfolio-magazine-btn,
  .learn-more-btn,
  .contact-btn,
  .submit-btn {
    margin: 0 auto;
    display: block;
  }

  /* Centrar elementos de testimonial */
  .testimonial-content {
    text-align: center;
    margin: 0 auto;
  }
}



/* Subscription Section */
.subscription-section {
  padding: 80px 0;
  background: var(--dark-bg);
}

.subscription-header {
  text-align: center;
  margin-bottom: 60px;
}

.subscription-header h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--text-white);
  background: linear-gradient(135deg, var(--accent-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subscription-header p {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.subscription-plans {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}


/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  padding: 10px 0;
}

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

.dot.active {
  background: #1adbac;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(26, 219, 172, 0.6);
}

/* Animaciones para modales de reCAPTCHA v3 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Estilos para modales de éxito y error */
.success-modal-content,
.error-modal-content {
    position: relative;
}

.success-icon,
.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-icon {
    color: #00ff88;
}

.error-icon {
    color: #ff4444;
}

.success-modal-content h3,
.error-modal-content h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-modal-content p,
.error-modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.success-close-btn,
.error-close-btn {
    background: var(--primary-purple);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.success-close-btn:hover,
.error-close-btn:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Ocultar reCAPTCHA solo cuando esté fuera del formulario */
.g-recaptcha:not(.form-container .g-recaptcha),
#g-recaptcha:not(.form-container #g-recaptcha),
.recaptcha-container:not(.form-container .recaptcha-container),
iframe[src*="recaptcha"]:not(.form-container iframe[src*="recaptcha"]) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Ocultar elementos reCAPTCHA fuera del formulario */
div[data-sitekey]:not(.form-container div[data-sitekey]),
div[class*="recaptcha"]:not(.form-container div[class*="recaptcha"]),
div[id*="recaptcha"]:not(.form-container div[id*="recaptcha"]) {
  display: none !important;
}

/* Asegurar que el reCAPTCHA dentro del formulario sea visible */
.form-container .g-recaptcha,
.form-container #g-recaptcha,
.form-container .recaptcha-container,
.form-container iframe[src*="recaptcha"],
.form-container div[data-sitekey],
.form-container div[class*="recaptcha"],
.form-container div[id*="recaptcha"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
}



/* Indicador de reCAPTCHA v3 */
.recaptcha-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: var(--accent-cyan);
    font-size: 14px;
    margin-bottom: 15px;
}

.recaptcha-info i {
    font-size: 16px;
}

.recaptcha-info span {
    font-weight: 500;
}

/* ========================================
   POPUP MODAL STYLES
   ======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.popup-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    position: relative;
    animation: popupAppear 0.4s ease-out;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.popup-content {
    display: flex;
    min-height: 400px;
}

.popup-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.section-epl {
    background: linear-gradient(135deg, #ffe002 0%, #e6c700 100%);
    color: #333;
}

.section-pd {
    background: linear-gradient(135deg, #020b32 0%, #041650 100%);
    color: white;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-epl .section-title {
    font-weight: 800;
}

.section-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.9;
}

.continue-btn {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

/* Quitar borde blanco en el botón izquierdo (EPL) */
.section-epl .continue-btn {
    border-color: transparent;
}

.section-epl .continue-btn:hover {
    background: #ffffff;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-pd .continue-btn {
    /* Apariencia igual al botón del header */
    color: var(--text-white);
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 25px;
    background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
               var(--gradient-accent) border-box;
    white-space: nowrap;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.section-pd .continue-btn:hover {
    background: var(--accent-cyan);
    color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .popup-container {
        margin: 10px;
        max-width: none;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 15px;
    }

    .popup-content {
        flex-direction: column;
        min-height: auto;
    }

    .popup-section {
        padding: 35px 25px;
        min-height: 320px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .section-description {
        font-size: 15px;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .logo-container {
        width: 100px;
        height: 100px;
        margin-bottom: 18px;
    }

    .continue-btn {
        padding: 14px 28px;
        font-size: 16px;
        border-radius: 22px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .popup-container {
        margin: 8px;
        border-radius: 12px;
    }

    .popup-section {
        padding: 30px 20px;
        min-height: 300px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .section-description {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .logo-container {
        width: 90px;
        height: 90px;
        margin-bottom: 16px;
    }

    .continue-btn {
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 20px;
    }

    /* Igualar tamaño del botón EPL al de PD en móvil */
    .section-epl .continue-btn {
        width: 140px; /* ~139.55px redondeado */
        height: 52.5px;
        padding: 0; /* Para respetar el alto fijo */
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 15px; /* mantener consistencia con PD */
    }
}

/* Extra Small Mobile (iPhone SE, older Android) */
@media (max-width: 375px) {
    .popup-section {
        padding: 25px 18px;
        min-height: 280px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .section-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .logo-container {
        width: 80px;
        height: 80px;
        margin-bottom: 14px;
    }

    .continue-btn {
        padding: 11px 22px;
        font-size: 14px;
    }
}

/* Large Mobile / Small Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .popup-container {
        max-width: 750px;
    }

    .popup-section {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-description {
        font-size: 15px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .popup-container {
        max-height: 90vh;
    }

    .popup-section {
        padding: 25px 20px;
        min-height: 250px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .section-description {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .logo-container {
        width: 70px;
        height: 70px;
        margin-bottom: 12px;
    }
}
