/* Variables globales */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #111111;
    --accent-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #8a8a8a;
    --accent-color: #278ea5;
    --secondary-accent: #0b1f3b;
    --gradient-primary: linear-gradient(135deg, #278ea5 0%, #0b1f3b 100%);
    --gradient-secondary: linear-gradient(135deg, #1f4068 0%, #278ea5 100%);
    --shadow-light: 0 4px 20px rgba(39, 142, 165, 0.1);
    --shadow-medium: 0 8px 40px rgba(39, 142, 165, 0.2);
    --shadow-heavy: 0 16px 60px rgba(39, 142, 165, 0.3);
    --border-radius: 16px;
    --border-radius-large: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(39, 142, 165, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(39, 142, 165, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    z-index: 1001;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

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

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

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

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

.cta-button {
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    font-size: 0.9rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== MENU MÓVIL GOOGLE AI CON COLORES TEMA ===== */
.mobile-menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 6px;
}

.hamburger-line {
    position: absolute;
    left: 6px;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-line:nth-child(1) {
    top: 10px;
}

.hamburger-line:nth-child(2) {
    top: 15px;
}

.hamburger-line:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
}

/* Overlay oscuro */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu móvil con COLORES TEMA */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, var(--secondary-bg) 0%, var(--accent-bg) 100%);
    border-left: 1px solid rgba(39, 142, 165, 0.2);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 80px 0 24px 0;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(39, 142, 165, 0.1);
}

.mobile-nav-link {
    display: block;
    padding: 18px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.mobile-nav-link:hover {
    background: rgba(39, 142, 165, 0.1);
    color: var(--accent-color);
    padding-left: 32px;
}

.mobile-nav-link:hover::before {
    transform: scaleY(1);
}

.mobile-cta-button {
    display: block;
    margin: 24px;
    padding: 16px 24px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===============================
   SECCIÓN SERVICIOS Y PÁGINAS WEB
=============================== */
.web-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.web-service-card {
  background: linear-gradient(145deg, rgba(20,20,20,0.9), rgba(30,30,30,0.95));
  border: 1px solid rgba(39,142,165,0.1);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  color: var(--text-secondary);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.web-service-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 18px;
}

.web-service-card h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.web-service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(39,142,165,0.15);
}

.website-examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.website-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20,20,20,0.85);
  border: 1px solid rgba(39,142,165,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.website-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(15, 83, 101, 0.18);
}

.website-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.website-info {
  padding: 20px;
}

.website-info h4 {
  color: var(--text-primary);
  margin-bottom: 6px;
}

.website-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.website-info .tag {
  background: rgba(39,142,165,0.1);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  display: inline-block;
}

/* Responsivo */
@media (max-width: 768px) {
  .web-service-card { padding: 24px; }
  .web-service-card i { font-size: 2rem; }
  .website-card img { height: 180px; }
}
.web-service-card,
.website-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.web-service-card.visible,
.website-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.website-features {
  list-style: none;
  margin-top: 10px;
  padding-left: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 6px 14px;
}

.website-features li::before {
  content: "•";
  color: var(--accent-color);
  margin-right: 8px;
}

.website-card .website-info p {
  margin-bottom: 10px;
  color: var(--text-secondary);
}


/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(39, 142, 165, 0.1) 0%, var(--primary-bg) 70%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(39, 142, 165, 0.1), rgba(31, 64, 104, 0.1));
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: -4s;
}

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

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #278ea5 50%, #0b1f3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: slideInUp 1s ease 0.2s forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: slideInUp 1s ease 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 1s ease 0.6s forwards;
}

.btn-primary {
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.btn-secondary {
    padding: 18px 36px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(39, 142, 165, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: rgba(39, 142, 165, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

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

/* ===== SECCIONES GENERALES ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background: var(--secondary-bg);
    position: relative;
}

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

.service-card {
    background: linear-gradient(145deg, var(--accent-bg), rgba(39, 142, 165, 0.05));
    border-radius: var(--border-radius-large);
    padding: 30px;
    border: 1px solid rgba(39, 142, 165, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: fit-content;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 142, 165, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(39, 142, 165, 0.3);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    flex-shrink: 0;
}

/* ===== PRODUCTIVITY SECTION ===== */
.productivity {
    padding: 80px 0;
    background: var(--primary-bg);
    position: relative;
}

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

.productivity-header h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.productivity-header p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

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

.tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 50px;
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    padding: 6px;
    border: 1px solid rgba(39, 142, 165, 0.1);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
    min-width: 140px;
}

.tab-button.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.tab-button:not(.active):hover {
    background: rgba(39, 142, 165, 0.1);
    color: var(--text-primary);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.tab-content.active {
    display: block;
}

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

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

.tab-info h3 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tab-info p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 25px;
}

.tab-features {
    list-style: none;
    margin-bottom: 30px;
}

.tab-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.tab-features li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.tab-visual {
    background: var(--secondary-bg);
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(39, 142, 165, 0.1);
    position: relative;
    overflow: hidden;
}

.tab-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    pointer-events: none;
}

.tab-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.tab-content.active .tab-icon {
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.tab-visual h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.tab-visual p {
    color: var(--text-secondary);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 80px 0;
    background: var(--secondary-bg);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.stat-card {
    background: linear-gradient(145deg, var(--accent-bg), rgba(39, 142, 165, 0.05));
    border-radius: var(--border-radius-large);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(39, 142, 165, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 142, 165, 0.1), transparent);
    transition: left 0.6s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(39, 142, 165, 0.3);
    box-shadow: var(--shadow-heavy);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== TESTIMONIALS SECTION FINAL CORREGIDA ===== */
.testimonials {
    padding: 100px 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(39, 142, 165, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.testimonials-btn {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--secondary-bg), var(--accent-bg));
    border: 2px solid rgba(39, 142, 165, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonials-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s ease;
}

.testimonials-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.testimonials-btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(39, 142, 165, 0.3);
}

.testimonials-btn i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.testimonials-btn:hover i {
    color: white;
}

.testimonials-counter {
    background: var(--accent-bg);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(39, 142, 165, 0.1);
}

.testimonials-container {
    position: relative;
    background: linear-gradient(135deg, rgba(39, 142, 165, 0.03) 0%, rgba(17, 17, 17, 0.8) 100%);
    border-radius: 32px;
    padding: 50px 30px;
    overflow: hidden;
    border: 1px solid rgba(39, 142, 165, 0.1);
    backdrop-filter: blur(20px);
}

.testimonials-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(39, 142, 165, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(31, 64, 104, 0.08) 0%, transparent 30%);
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 24px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

/* ===== GRID CENTRADO Y TAMAÑOS CORRECTOS ===== */
.testimonial-slide {
    min-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex-shrink: 0;
    padding: 0 10px;
    justify-content: center;
    align-items: stretch;
}

.testimonial-card {
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.9) 0%, 
        rgba(17, 17, 17, 0.95) 50%, 
        rgba(39, 142, 165, 0.08) 100%);
    border-radius: 24px;
    padding: 35px 30px;
    border: 1px solid rgba(39, 142, 165, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;

    /* ===== TAMAÑOS FIJOS PARA DESKTOP ===== */
    width: 380px;
    min-height: 350px;
    max-height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(39, 142, 165, 0.15) 50%, 
        transparent 100%
    );
    transition: left 0.8s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(39, 142, 165, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(39, 142, 165, 0.2);
    z-index: 10;
}

.testimonial-card.testimonial-paused {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--accent-color);
    box-shadow: 
        0 25px 80px rgba(39, 142, 165, 0.4),
        0 0 0 2px var(--accent-color);
    z-index: 20;
    background: linear-gradient(135deg, 
        rgba(39, 142, 165, 0.15) 0%, 
        rgba(26, 26, 26, 0.95) 30%, 
        rgba(17, 17, 17, 0.98) 100%);
}

/* ===== TEXTO CON COMILLAS MEJOR POSICIONADAS ===== */
.testimonial-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    font-weight: 400;
    padding: 5px 15px;
}

.testimonial-text::before {
    content: '"';
    font-size: 3.5rem;
    color: var(--accent-color);
    position: absolute;
    top: -18px;
    left: -5px;
    opacity: 0.4;
    font-family: serif;
}

.testimonial-text::after {
    content: '"';
    font-size: 3.5rem;
    color: var(--accent-color);
    position: absolute;
    bottom: -25px;
    right: 5px;
    opacity: 0.4;
    font-family: serif;
}

.testimonial-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(39, 142, 165, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
    justify-content: flex-start;
    align-items: center;
}

.star {
    color: #FFD700;
    font-size: 1rem;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

.half-star {
    color: #FFD700;
    font-size: 1rem;
    position: relative;
    display: inline-block;
}

.half-star::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
}

.half-star::after {
    content: '☆';
    color: #444;
}

.rating-number {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 8px;
}

.testimonial-author {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.testimonial-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.testimonial-location::before {
    content: '📍';
    font-size: 0.8rem;
}

.testimonial-project {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 0 20px;
}

.testimonial-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(39, 142, 165, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid transparent;
}

.testimonial-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.testimonial-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(39, 142, 165, 0.5);
}

.testimonial-dot.active::before {
    width: 6px;
    height: 6px;
    background: white;
}

.testimonial-dot:not(.active):hover {
    background: rgba(39, 142, 165, 0.6);
    transform: scale(1.15);
}

/* ===== RESPONSIBLE SECTION ===== */
.responsible {
    padding: 80px 0;
    background: var(--secondary-bg);
    position: relative;
}

.responsible::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(39, 142, 165, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.responsible-content {
    text-align: center;
    margin-bottom: 60px;
}

.responsible-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.responsible-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

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

.responsible-card {
    background: linear-gradient(145deg, var(--accent-bg), rgba(39, 142, 165, 0.08));
    border-radius: var(--border-radius-large);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(39, 142, 165, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.responsible-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(39, 142, 165, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.responsible-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.responsible-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(39, 142, 165, 0.3);
    box-shadow: var(--shadow-heavy);
}

.responsible-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.responsible-card:hover .responsible-icon {
    transform: scale(1.15) rotate(10deg);
}

.responsible-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.responsible-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

/* ===============================
   FORMULARIOS LOGIN Y REGISTRO CON ANIMACIÓN
=============================== */

.auth-section {
  padding: 100px 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  transform: scale(0.9);
  opacity: 0;
  transition: all 1s ease;
}

.auth-section.visible {
  opacity: 1;
  transform: scale(1);
}

.auth-form {
  background: linear-gradient(145deg, rgba(18,18,18,0.9), rgba(26,26,26,0.98));
  border-radius: 20px;
  padding: 40px 35px;
  margin-top: 35px;
  box-shadow: 0 10px 40px rgba(15, 83, 101, 0.12);
  border: 1px solid rgba(39,142,165,0.08);
  text-align: left;
  color: var(--text-primary);
  animation: none;
}


.auth-form:hover {
  box-shadow: 0 15px 45px rgba(15, 83, 101, 0.18);
}

.form-group {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.auth-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(39,142,165,0.12);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.auth-form input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(39,142,165,0.25);
  outline: none;
}

.btn-primary.w-full {
  width: 100%;
  padding: 14px 0;
  font-size: 1.05rem;
  margin-top: 12px;
  justify-content: center;  
  align-items: center;      
  text-align: center;
}


.auth-footer {
  text-align: center;
  margin-top: 18px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

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

/* ANIMACIÓN DE ENTRADA CENTRAL */
.fade-zoom {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   CHATBOTS - SECCIONES Y TARJETAS
=============================== */

.chatbot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.chatbot-card-small {
  background: linear-gradient(145deg, rgba(18,18,18,0.95), rgba(26,26,26,0.98));
  border: 1px solid rgba(39,142,165,0.1);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  color: var(--text-primary);
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.chatbot-card-small i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 14px;
}

.chatbot-card-small:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(39,142,165,0.2);
  border-color: rgba(39,142,165,0.3);
}

/* CHATBOT EXAMPLES */

.chatbot-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.chatbot-card {
  background: rgba(20,20,20,0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.2);
  transition: all 0.35s ease;
  border: 1px solid rgba(39,142,165,0.1);
}

.chatbot-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 45px rgba(39,142,165,0.25);
}

.chatbot-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.chatbot-content {
  padding: 25px;
}

.chatbot-type {
  display: inline-block;
  background: rgba(39,142,165,0.1);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.chatbot-features {
  list-style: none;
  margin-top: 12px;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.chatbot-features li {
  margin-bottom: 6px;
}

.chatbot-features li::before {
  content: "•";
  color: var(--accent-color);
  margin-right: 8px;
}

/* ANIMACIÓN ENTRADA */
.fade-zoom {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   SERVICIOS EDUCATIVOS
=============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

#educational-services .card {
  background: rgba(18,18,18,0.95);
  border: 1px solid rgba(39,142,165,0.2);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  padding: 2rem;
  text-align: center;
  color: var(--text-primary);
  transition: all 0.4s ease;
  transform: translateY(15px);
  opacity: 0;
}

#educational-services .card.visible {
  transform: translateY(0);
  opacity: 1;
}

#educational-services .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(39,142,165,0.25);
}

#educational-services h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 0.6rem;
}

#educational-services p {
  color: var(--text-secondary);
  line-height: 1.6;
}

#educational-services i {
  color: var(--accent-color);
  margin-right: 8px;
}

/* ===============================
   CURSOS DISPONIBLES
=============================== */
.course-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 3fr));
  gap: 2rem;
  margin-top: 3rem;
}

.course-card {
  background: rgba(18,18,18,0.95);
  border: 1px solid rgba(39,142,165,0.15);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: all 0.4s ease;
  transform: translateY(20px);
  opacity: 0;
}

.course-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.course-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(39,142,165,0.25);
}

.course-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(39,142,165,1), rgba(15,83,101,0.8));
  color: #fff;
  text-align: center;
}

.course-icon {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.course-title {
  font-size: 1.6rem;
  font-weight: 700;
}

.course-subtitle {
  opacity: 0.85;
  font-size: 1rem;
}

.course-content {
  padding: 1.8rem;
}

.course-levels {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.level-tag {
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.8rem;
  color: #fff;
}

.level-tag.basico { background: #28a745; }
.level-tag.medio { background: #ffc107; color: #222; }
.level-tag.intermedio { background: #dc3545; }

.course-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-topics h4 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.6rem;
}

.topic-item {
  background: rgba(39,142,165,0.08);
  border-left: 3px solid var(--accent-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.4rem 0.6rem;
}

.course-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(39,142,165,0.05);
  border-radius: 10px;
}

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

.info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.info-value {
  font-weight: 600;
  color: var(--accent-color);
}

/* ANIMACIÓN */
.fade-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-zoom.visible {
  opacity: 1;
  transform: scale(1);
}


/* Para pantallas pequeñas */
@media (max-width: 768px) {
  .auth-form {
    padding: 30px 25px;
  }
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 80px 0;
    background: var(--primary-bg);
}

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

.pricing-card {
    background: var(--secondary-bg);
    border-radius: var(--border-radius-large);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(39, 142, 165, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: linear-gradient(145deg, var(--accent-bg), rgba(39, 142, 165, 0.1));
    border-color: var(--accent-color);
    transform: scale(1.05);
}

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

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.pricing-period {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

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

.pricing-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--secondary-bg);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--accent-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
}

.contact-method:hover {
    background: rgba(39, 142, 165, 0.1);
    transform: translateX(8px);
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-bg);
    padding: 50px 0 25px;
    border-top: 1px solid rgba(39, 142, 165, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(39, 142, 165, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

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

/* ===== RESPONSIVE MEJORADO ===== */
@media (max-width: 1400px) {
    .testimonial-card {
        width: 360px;
        min-height: 330px;
        max-height: 400px;
    }
}

@media (max-width: 1200px) {
    .testimonial-slide {
        gap: 25px;
    }

    .testimonial-card {
        width: 340px;
        min-height: 320px;
        max-height: 380px;
        padding: 32px 28px;
    }

    .testimonial-text {
        -webkit-line-clamp: 5;
        padding: 3px 12px;
    }
}

@media (max-width: 768px) {
    .nav-menu,
    .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 15px 30px;
        font-size: 0.95rem;
    }

    .services {
        padding: 60px 0;
    }

    .section-subtitle {
        margin-bottom: 40px;
    }

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

    .service-card {
        padding: 25px;
    }

    .productivity {
        padding: 60px 0;
    }

    .tab-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .tabs-nav {
        flex-wrap: wrap;
        gap: 5px;
    }

    .tab-button {
        padding: 12px 15px;
        font-size: 0.8rem;
        min-width: auto;
        flex: 1;
    }

    .stats {
        padding: 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .testimonials {
        padding: 80px 0;
    }

    .testimonials-wrapper {
        padding: 0 15px;
    }

    .testimonials-container {
        padding: 35px 20px;
        border-radius: 24px;
    }

    .testimonial-slide {
        gap: 20px;
        padding: 0 5px;
    }

    .testimonial-card {
        width: 100%;
        max-width: 400px;
        min-height: 300px;
        max-height: 360px;
        padding: 25px 22px;
        margin: 0 auto;
    }

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        -webkit-line-clamp: 5;
        padding: 8px 18px;
    }

    .testimonial-text::before {
        font-size: 2.5rem;
        top: -15px;
        left: -2px;
    }

    .testimonial-text::after {
        font-size: 2.5rem;
        bottom: -20px;
        right: 8px;
    }

    .testimonials-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .testimonials-nav {
        margin-bottom: 30px;
        gap: 15px;
    }

    .contact {
        padding: 60px 0;
    }

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

    .responsible {
        padding: 60px 0;
    }

    .responsible-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .responsible-card {
        padding: 30px 25px;
    }

    .pricing {
        padding: 60px 0;
    }

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

    .pricing-card {
        padding: 30px 20px;
    }

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

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .footer {
        padding: 40px 0 20px;
    }

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

    .floating-element {
        display: none;
    }
}

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

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

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

    .testimonials-wrapper {
        padding: 0 15px;
    }

    .tabs-container {
        padding: 0 15px;
    }

    .tab-button {
        padding: 10px 12px;
        font-size: 0.75rem;
    }

    .testimonial-card {
        max-width: 320px;
        min-height: 280px;
        max-height: 340px;
        padding: 20px 18px;
    }

    .testimonial-text {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
        padding: 10px 20px;
    }

    .testimonial-text::before {
        font-size: 2rem;
        top: -12px;
        left: 0px;
    }

    .testimonial-text::after {
        font-size: 2rem;
        bottom: -18px;
        right: 12px;
    }

    .testimonials-indicators {
        gap: 8px;
    }

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

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hidden {
  display: none !important;
}

/* ===== ADVERTISING SHOWCASE SECTION ===== */
.ads-showcase {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.ads-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.ads-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ads-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.25);
}

.ads-card.featured-ads {
    border: 2px solid #6366f1;
}

.ads-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.ads-badge.badge-popular {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.ads-badge.badge-offer {
    background: linear-gradient(135deg, #10b981, #059669);
}

.ads-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f0f4ff, #faf5ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-photo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    transition: transform 0.5s ease;
    object-fit: contain;
}

.ads-card:hover .ads-photo img {
    transform: scale(1.1);
}

/* Responsivo - Tablets */
@media (max-width: 768px) {
    .ads-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

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

/* Responsivo - Móviles */
@media (max-width: 480px) {
    .ads-showcase {
        padding: 40px 0;
    }

    .ads-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ads-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .ads-photo {
        aspect-ratio: 1 / 1;
    }
}

