/* ========================================
   NEXUS BRAND - Modern CSS Stylesheet
   Paleta corporativa tech/marketing
   ======================================== */

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Esto evita que elementos con animaciones AOS empujen el borde */
#testimonios, .how-we-do-it, .hero-section {
    overflow: hidden;
}

/* ===== ROOT VARIABLES ===== */
:root {
    /* Colores primarios */
    --primary-color: #7a1cb5;
    --primary-dark: #2F0B45;
    --primary-light: #ce9aef;
    --secondary-color: #fbe84d;
    --secondary-dark: #db2777;
    
    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    --bg-gradient: linear-gradient(135deg, #2f0b45 30%, #d5006c 100%);
    
    /* Colores de texto */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    
    /* Colores de acento */
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #3b82f6;
    
    /* WhatsApp */
    --whatsapp-color: #25d366;
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    width: 45px;
    height: 45px;

    display: flex;
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-text {
    font-family: var(--font-primary);
	color: whie;
	font-weight: 600;
}

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

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

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.6rem 2rem !important;
    border-radius: var(--radius-full);
    font-weight: 600;
	display: inline-block !important;
    text-align: center;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: #fbe84d;
    color: #2f0b45;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    padding: var(--spacing-xl) 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #2f0b45 30%, #d5006c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    color: white;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

/* --- Estilos del Logo Hero Responsivo --- */

.logo-hero-container {
    display: flex;
    width: 100%;
    /* Espacio debajo del logo antes del título */
    margin-bottom: 40px;
    margin-top: 70px;
    
    /* POR DEFECTO: Centrado en móviles */
}

.logo-hero-img {
    /* En móviles le damos un poco más de presencia */
    width: 60%; 
    height: auto;
    display: block;
}

/* VERSION WEB: Pantallas de computadoras (más de 768px) */
@media (min-width: 768px) {
    .logo-hero-container {
        /* Se alinea a la izquierda en computadoras */
        justify-content: flex-start;
        margin-bottom: 50px;
    }
    
    .logo-hero-img {
        /* En web se ve más elegante un poco más pequeño */
        width: 40%; 
    }
}


.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fbe84d;
}

.stat-label {
    font-size: 0.9rem;
    color: whitesmoke;
}

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

.hero-illustration {
    width: 400px;
    height: 400px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

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

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

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

.alt-bg {
    background: var(--bg-secondary);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card h3 {
    margin-bottom: 1rem;
}

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

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

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

.service-card.featured {
    border: 3px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #fbe84d;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-list {
    text-align: left;
    margin: 1.5rem 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.service-list i {
    color: var(--accent-success);
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: var(--bg-secondary);
    z-index: -1;
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--bg-gradient);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

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

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content,
    .about-content,
    .services-grid,
    .process-timeline,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-illustration {
        width: 300px;
        height: 300px;
        font-size: 7rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 768px) {
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 120px 0 60px;
    background: var(--bg-gradient);
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.page-title {
	color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.2rem;
    color: white;
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
    padding: var(--spacing-xl) 0;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-illustration {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    margin: 0 auto;
}

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

.social-media-illustration {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.audiovisual-illustration {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.illustration-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.2) 0%, transparent 60%);
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.service-badge.featured {
    background: var(--primary-color);
    color: white;
}

.service-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-features h3,
.service-benefits h3,
.service-deliverables h3,
.service-process h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-list strong {
    display: block;
    margin-bottom: 0.25rem;
}

.feature-list p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

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

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.deliverable-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.deliverable-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.deliverable-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.process-steps-small {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-small {
    text-align: center;
    flex: 1;
}

.step-small span {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-small p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== WHY CHOOSE US ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.why-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-normal);
}

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

.why-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.why-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.why-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== PRICING ===== */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.discount-badge {
    background: var(--accent-danger);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-md);
    transition: var(--transition-normal);
    position: relative;
}

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

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

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 2px solid var(--bg-secondary);
    border-bottom: 2px solid var(--bg-secondary);
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

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

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-secondary);
}

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

.pricing-features i {
    font-size: 1.1rem;
}

.pricing-features .fa-check {
    color: var(--accent-success);
}

.pricing-features .fa-times {
    color: var(--text-light);
}

.pricing-features .feature-disabled {
    opacity: 0.5;
}

/* ===== ADDITIONAL SERVICES ===== */
.additional-services {
    margin-top: var(--spacing-xl);
}

.services-table {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem var(--spacing-md);
    border-bottom: 1px solid var(--bg-secondary);
}

.service-row:last-child {
    border-bottom: none;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.service-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border-collapse: collapse;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
}

.comparison-table thead tr {
    background: var(--bg-gradient);
    color: white;
}

.comparison-table thead th {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--bg-secondary);
}

.comparison-table tbody tr:hover {
    background: var(--bg-secondary);
}

.feature-column {
    text-align: left !important;
    font-weight: 600;
}

.featured-column {
    background: rgba(99, 102, 241, 0.05);
}

.text-success {
    color: var(--accent-success);
    font-size: 1.5rem;
}

.text-danger {
    color: var(--accent-danger);
    font-size: 1.5rem;
}

.price-row {
    background: var(--bg-secondary);
    font-weight: 700;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

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

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

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

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.contact-form-wrapper,
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-header {
    margin-bottom: var(--spacing-md);
}

.form-header h2 {
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

.contact-form {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--bg-secondary);
    border-radius: var(--radius-md);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

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

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

.contact-info-card,
.contact-social-card,
.quick-info-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3,
.contact-social-card h3 {
    margin-bottom: 0.5rem;
}

.contact-info-card p,
.contact-social-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

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

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-icon {
    background: var(--whatsapp-color);
}

.method-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.method-content p {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.availability {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.linkedin {
    background: black;
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.quick-info-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.quick-info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.quick-info-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.quick-info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== WHATSAPP CTA ===== */
.whatsapp-cta {
    background: var(--bg-secondary);
    padding: var(--spacing-md) 0;
}

.whatsapp-banner {
    background: var(--whatsapp-color);
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.whatsapp-content i {
    font-size: 3rem;
}

.whatsapp-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.whatsapp-content p {
    margin: 0;
    opacity: 0.9;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 9999; /* Aumentado para que siempre esté arriba */
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* FIX ESPECÍFICO PARA MÓVILES */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px; /* Lo forzamos a 20px reales de la pantalla */
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 992px) {
    .service-detail-content,
    .contact-grid,
    .why-grid,
    .pricing-grid,
    .faq-grid,
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .process-steps-small {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .form-row,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-banner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .whatsapp-content {
        flex-direction: column;
    }
    
    .service-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 2rem;
    }
    
    .service-illustration {
        width: 280px;
        height: 280px;
        font-size: 5rem;
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}


/* === Sección Quienes Somos === */
.about {
	background: white;	
}

.about span {
	color: white;
}


/* ===== Seccion Que Hacemos ===== */
.what-we-do {
	background: linear-gradient(135deg, #2f0b45 30%, #d5006c 100%);
}

.what-we-do h2 {
	color: #fbe84d;
}

.what-we-do p {
	color: white;
}

.what-we-do span {
	color: var(--secondary-color);
}

.what-we-do .section-badge {
	background: white;
	color: var(--primary-dark);
}



/* ===== Seccion Cómo lo Hacemos ===== */
.how-we-do .section-badge {
	background: var(--primary-dark);
	color: var(--secondary-color);
}

.service-detail-image img {
    border-radius: 20px; /* Ajusta el valor según qué tan redondo lo quieras */
    display: block;      /* Elimina espacios extra en la base de la imagen */
    width: 100%;         /* Asegura que ocupe el ancho del contenedor */
    height: auto;
}

.how-we-do .section-badge {
	background: var(--primary-dark);
	color: white;
}


/* ===== TESTIMONIALS SECTION UPDATED ===== */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.testimonials-container {
    position: relative;
    max-width: 1000px; /* Un poco más estrecho para que sea legible */
    margin: 40px auto 0;
    overflow: hidden; /* Importante para ocultar los otros slides */
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Transición más elegante */
    cursor: grab;
}

.testimonial-card {
    min-width: 100%; /* Muestra solo uno a la vez */
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-sizing: border-box;
}

/* El resto de estilos (iconos, autor, dots) se mantienen igual que el anterior */

/* ===== ICONO DE COMILLA GIGANTE ===== */
.quote-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.quote-icon i {
    font-size: 5rem; /* Tamaño gigante */
    background: var(--bg-gradient); /* Usa tu degradado morado/rosa */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.25; /* Sutil para que no tape el texto */
    line-height: 1;
}

/* Ajuste del texto para que no quede muy pegado */
.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 30px;
    position: relative;
    z-index: 2; /* Para que el texto esté por encima de cualquier sombra */
}