/* ========================================
   VARIABLES Y RESET
======================================== */

:root {
    /* Colores principales */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #06b6d4;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #475569;
    --gray-light: white;
    --white: #ffffff;
    --light-bg: #f8fafc;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-text: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Tipografía */
    --font-primary: 'Heebo', 'Poppins', sans-serif;
    --font-headings: 'Nunito', 'Poppins', sans-serif;
    --font-decorative: 'Pacifico', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container1 {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   UTILIDADES
======================================== */

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-secondary .fa-whatsapp {
    color: #25D366;
}

.btn-secondary:hover .fa-whatsapp {
    color: var(--white);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-family: var(--font-decorative);
    font-weight: 400;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0.5px;
}
.section-tag1 {
    font-family: var(--font-decorative);
    font-size: 1.3rem;
    text-transform: none;
    letter-spacing: 0.5px;
}

.section-subtitle1 {
    color: var(--gray-light);
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* ========================================
   NAVBAR
======================================== */

.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);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--dark);
}

.logo i img{
    width: 100px;
}

.logo strong {
    color: var(--primary-color);
}
.fot{
    color: var(--light-bg);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-nav-contact {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}

.btn-nav-contact::after {
    display: none;
}

.btn-nav-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1b68e4 100%);
    padding-top: 150px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2310b981" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.hero-subtitle {
    color: var(--gray-light);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-stars {
    display: flex;
    gap: 3px;
}

.social-stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.social-divider {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.social-text {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tech Badges */
.tech-badges {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.tech-badges-title {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.tech-badges-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.tech-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-badge-item span {
    color: var(--gray-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hero-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hero-card h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: var(--primary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SOBRE NOSOTROS
======================================== */

.about {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-img-wrapper {
    width: 500px;
    height: 500px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}
.about-img-wrapper img {
    width: 90%;           /* Ancho de la imagen */
    height: 90%;          /* Alto de la imagen */
    object-fit: cover;     /* Para que la imagen cubra todo el espacio sin deformarse */
    border-radius: 20px;   /* Para que mantenga los bordes redondeados */
}

.about-img-wrapper i {
    font-size: 8rem;
    color: var(--white);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 5px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-content h4 {
    margin-bottom: 5px;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   SERVICIOS
======================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-benefits {
    margin: 25px 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray);
}

.service-benefits i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   PORTAFOLIO
======================================== */

.portfolio {
    background: var(--light-bg);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.5);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.portfolio-overlay p {
    color: var(--gray-light);
    margin-bottom: 15px;
}

.portfolio-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.portfolio-link i {
    font-size: 0.85rem;
}

/* ========================================
   BENEFICIOS
======================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--gray);
}

/* ========================================
   TESTIMONIOS
======================================== */

.testimonials {
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.testimonial-info h4 {
    margin-bottom: 5px;
}

.testimonial-info span {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    margin-right: 5px;
}

.testimonial-card p {
    color: var(--gray);
    font-style: italic;
    line-height: 1.8;
}

/* ========================================
   CONTACTO
======================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--gray-light);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: center;
}

.method-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.method-info h4 {
    margin-bottom: 5px;
}

.method-info a {
    color: var(--primary-color);
    font-weight: 500;
}

.method-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--dark-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition);
    background: var(--white);
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
    top: -10px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: block;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: disc;
    padding-left: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    background: var(--dark-light);
    color: var(--white);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    border: none;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   BOTONES FLOTANTES
======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ========================================
   TEAM VALUES, PROCESS & GUARANTEES
======================================== */

/* Team Values */
.team-values {
    margin-top: 80px;
}

.values-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.value-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Work Process */
.work-process {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 20px;
}

.process-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding-top: 50px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.process-step h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Guarantees */
.guarantees {
    margin-top: 80px;
}

.guarantees-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.guarantee-item {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.guarantee-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-width: 6px;
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.guarantee-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.guarantee-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ========================================
   PORTFOLIO ENHANCEMENTS
======================================== */

/* Project Status Badges */
.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.project-status.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.project-status.available {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
}

.portfolio-item:hover .project-status {
    transform: scale(1.05);
}

/* Project Metrics */
.project-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.metric {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.metric i {
    font-size: 0.9rem;
}

/* Project Tech Stack */
.project-tech {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: help;
}

.tech-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    section {
        padding: 70px 0;
    }
    
    /* Navbar mobile */
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i img {
        width: 60px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Hero mobile */
    .hero {
        padding-top: 100px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }
    
    /* Social proof mobile */
    .hero-social-proof {
        justify-content: center;
        gap: 10px;
    }
    
    .social-text {
        font-size: 0.85rem;
    }
    
    .hero-image {
        display: none;
    }
    
    /* Tech badges mobile */
    .tech-badges {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .tech-badges-title {
        text-align: center;
    }
    
    .tech-badges-grid {
        justify-content: center;
        gap: 15px;
    }
    
    .tech-badge-item i {
        font-size: 1.5rem !important;
    }
    
    .tech-badge-item span {
        font-size: 0.85rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-img-wrapper {
        width: 100%;
        height: 300px;
    }
    
    .experience-badge {
        right: 20px;
    }
    
    /* Values, Process, Guarantees mobile */
    .values-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .work-process {
        padding: 40px 20px;
    }
    
    .values-title,
    .process-title,
    .guarantees-title {
        font-size: 1.8rem;
    }
    
    /* Portfolio mobile */
    .project-status {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.65rem;
    }
    
    .project-metrics {
        flex-direction: column;
        gap: 8px;
    }
    
    .metric {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .scroll-top {
        right: 90px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 640px) {
    /* Logo más pequeño en móviles pequeños */
    .logo {
        font-size: 1rem;
    }
    
    .logo i img {
        width: 50px;
    }
    
    /* Hero extra mobile */
    .hero {
        padding-top: 120px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    /* Tech badges extra small screens */
    .tech-badges-title {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .tech-badges-grid {
        gap: 12px;
        justify-content: center;
    }
    
    .tech-badge-item {
        gap: 6px;
    }
    
    .tech-badge-item i {
        font-size: 1.3rem !important;
    }
    
    .tech-badge-item span {
        font-size: 0.75rem;
    }
    
    /* Stats más compactas en móvil pequeño */
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Social proof extra small */
    .hero-social-proof {
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .social-stars i {
        font-size: 0.85rem;
    }
    
    .social-text {
        font-size: 0.75rem;
    }
    
    .social-divider {
        display: none;
    }
    
    .services-grid,
    .portfolio-grid,
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   CHATBOT WIDGET
======================================== */

.chatbot-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 1000;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.chatbot-icon i {
    font-size: 1.8rem;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.chatbot-pulse {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    border: 3px solid white;
    animation: pulse 2s infinite;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-height: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: var(--gradient-primary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chatbot-header-info {
    display: flex;
    gap: 12px;
    align-items: center;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chatbot-avatar i {
    font-size: 1.5rem;
    color: white;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
}

.chatbot-details h4 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.status-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.chatbot-close i {
    color: white;
    font-size: 1.2rem;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 75%;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-end;
    align-self: flex-end;
}

.message-content {
    padding: 12px 16px;
    border-radius: 18px;
    margin-bottom: 4px;
}

.bot-message .message-content {
    background: #1e293b;
    color: white;
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message-time {
    font-size: 0.75rem;
    color: #64748b;
    padding: 0 8px;
}

.chatbot-quick-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.quick-option {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.quick-option:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.quick-option i {
    font-size: 1rem;
}

.chatbot-input-area {
    display: flex;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    gap: 10px;
}

.chatbot-input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition);
}

.chatbot-input:focus {
    border-color: var(--primary-color);
}

.chatbot-send {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send i {
    color: white;
    font-size: 1.1rem;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: #1e293b;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Responsive Chatbot */
@media (max-width: 968px) {
    .chatbot-container {
        bottom: 90px;
        right: 20px;
    }
    
    .chatbot-button {
        width: 55px;
        height: 55px;
    }
    
    .chatbot-icon i {
        font-size: 1.6rem;
    }
    
    .chatbot-window {
        width: calc(100vw - 40px);
        max-width: 380px;
        max-height: 500px;
    }
    
    .chatbot-messages {
        max-height: 300px;
    }
}

@media (max-width: 640px) {
    .chatbot-container {
        bottom: 85px;
        right: 15px;
    }
    
    .chatbot-window {
        width: calc(100vw - 30px);
        bottom: 70px;
        right: -15px;
    }
}