:root {
    --primary-color: #ffff00;
    --secondary-color: #cc0000;
    --accent-color: #ff8800;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --border-color: #333333;
    --gradient: linear-gradient(135deg, #ffff00, #cc0000);
    --shadow: 0 10px 30px rgba(255, 255, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir scroll horizontal en todos los elementos */
*, *::before, *::after {
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text-new {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffff00, #ff8800, #cc0000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    transition: all 0.4s ease;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.logo:hover .brand-name {
    transform: translateX(5px);
    animation-duration: 1s;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 0, 0.4));
}

.logo:hover .brand-tagline {
    color: var(--primary-color);
    transform: translateX(5px);
    opacity: 1;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: #ffff00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: simpleFloat 2s ease-in-out infinite;
    transition: all 0.3s ease;
    color: #000000;
    z-index: 10;
    position: relative;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
    background: #ffff33;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffff00, #ff8800, #cc0000);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffff00, #cc0000);
    transition: width 0.5s ease;
}

.logo:hover .logo-text {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 4px 20px rgba(255, 255, 0, 0.4)) drop-shadow(0 4px 20px rgba(204, 0, 0, 0.4));
    animation-duration: 1s;
}

.logo:hover .logo-text::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0.1rem;
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.1), rgba(255, 136, 0, 0.05));
    border-color: rgba(255, 255, 0, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 255, 0, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 0, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--secondary-color);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 2rem;
    background: radial-gradient(ellipse at center, rgba(255, 255, 0, 0.08) 0%, rgba(204, 0, 0, 0.05) 50%, transparent 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight {
    background: var(--gradient);
    -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.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    transform: translateY(0);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #25d366, #20b954);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

/* Code Animation */
.code-animation {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.code-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    animation: scan 3s infinite;
}

.code-line {
    font-family: 'Courier New', monospace;
    margin: 0.5rem 0;
    opacity: 0;
    animation: typewriter 0.5s forwards;
}

.code-line:nth-child(1) { animation-delay: 0.5s; }
.code-line:nth-child(2) { animation-delay: 1s; }
.code-line:nth-child(3) { animation-delay: 1.5s; }
.code-line:nth-child(4) { animation-delay: 2s; }
.code-line:nth-child(5) { animation-delay: 2.5s; }
.code-line:nth-child(6) { animation-delay: 3s; }

.tag { color: var(--secondary-color); }
.property { color: var(--primary-color); }
.colon { color: var(--text-primary); }
.value { color: #ff9500; }

/* Services Preview */
.services-preview {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yellow-title {
    background: var(--primary-color) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid var(--border-color);
}

.footer .logo-icon {
    animation: none !important;
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.footer .brand-name {
    font-size: 1rem;
}

.footer .brand-tagline {
    font-size: 0.7rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes simpleFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-3px); 
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInBounce {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.3) rotateX(-90deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(0px) scale(1.05) rotateX(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}



@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes typewriter {
    to { opacity: 1; }
}

/* Animaciones de deslizamiento horizontal */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sistema de transitions más estable */
.animate-text {
    opacity: 0;
    transform: translateX(-50px);
}

.animate-text.animate {
    animation: slideInLeft 1.2s ease forwards;
}

.animate-text-delay {
    opacity: 0;
    transform: translateX(50px);
}

.animate-text-delay.animate {
    animation: slideInRight 1.2s ease 0.3s forwards;
}

.animate-buttons {
    opacity: 0;
    transform: translateX(-50px);
}

.animate-buttons.animate {
    animation: slideInLeft 1.2s ease 0.6s forwards;
}

.animate-card {
    /* Mantenido sin animación por estabilidad */
    opacity: 1;
    transform: translateY(0);
}

.animate-card:nth-child(1) { animation-delay: 0.2s; }
.animate-card:nth-child(2) { animation-delay: 0.4s; }
.animate-card:nth-child(3) { animation-delay: 0.6s; }
.animate-card:nth-child(4) { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .nav-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .logo-text-new .brand-name {
        font-size: 1.1rem;
    }
    
    .logo-text-new .brand-tagline {
        font-size: 0.6rem;
    }
    
    .nav-menu {
        gap: 0.4rem;
    }
    
    .nav-link {
        padding: 0.45rem 0.6rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .logo {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .hero {
        padding: 5rem 1rem 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Page Hero Styles */
.page-hero {
    padding: 8rem 2rem 4rem;
    background: var(--bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 480px) {
    .page-hero {
        padding: 6rem 1rem 3rem;
    }
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Detailed Styles */
.services-detailed {
    padding: 6rem 2rem;
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-item,
.services-grid-detailed .service-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover,
.services-grid-detailed .service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-header .service-icon,
.services-grid-detailed .service-card .service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    margin: 0;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--primary-color);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    margin-top: 1.5rem;
}

/* Process Section */
.process-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    color: white;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.step-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
}

/* Technologies Section */
.technologies-section {
    padding: 6rem 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.tech-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Portfolio Styles */
.portfolio-intro {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    text-align: center;
}

.portfolio-filter {
    padding: 2rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-primary);
    border-color: var(--primary-color);
}

.portfolio-gallery {
    padding: 4rem 2rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-image {
    position: relative;
    height: 250px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.project-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    padding: 2rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: var(--primary-color);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.portfolio-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.btn-icon:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* Stats Section */
.stats-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

/* About Page Styles */
.about-intro {
    padding: 6rem 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos para negritas en Nuestra Historia */
.about-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mission, .vision {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.mission h3, .vision h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: var(--bg-card);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.developer-avatar {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.code-elements {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.code-snippet .code-line {
    display: block;
    margin: 0.25rem 0;
    color: var(--primary-color);
}

/* Team Section */
.team-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    justify-content: center;
}

.team-member {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 400px;
    margin: 0 auto;
}

.member-photo {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    aspect-ratio: 1 / 1;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-photo:hover .member-overlay {
    opacity: 1;
}

.member-overlay .social-links {
    display: flex;
    gap: 0.5rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.member-skills {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.skill {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
}

/* Values Section */
.values-section {
    padding: 6rem 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

/* Technologies Expertise */
.technologies-expertise {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.tech-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.tech-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-list .tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 10px;
    text-align: left;
}

.tech-list .tech-item i {
    font-size: 2rem;
    margin: 0;
    color: var(--primary-color);
    flex-shrink: 0;
    width: 2.5rem;
    text-align: center;
}

.tech-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.tech-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Timeline */
.experience-timeline {
    padding: 6rem 2rem;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 100px;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    background: var(--bg-card);
    padding: 0.5rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin: 0 2rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.reason-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

/* Contact Page Styles */
.contact-section {
    padding: 6rem 2rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: start;
}

.contact-info {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-info > p {
    text-align: center;
    margin: 1rem auto;
    max-width: 600px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.method-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.method-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-link:hover {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    display: block;
    width: 100%;
}

.social-contact {
    margin-top: 2rem;
}

.social-links-large {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn.github {
    background: #333;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 255, 0, 0.3);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Quick Contact */
.quick-contact {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.quick-contact-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.quick-option {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 100%;
}

.quick-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 2rem;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 212, 255, 0.05);
}

.faq-question h3 {
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0;
        margin: 0;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .mission, .vision {
        padding: 1rem;
        margin: 0;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .member-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .page-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .portfolio-filter {
        padding: 2rem 1rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .member-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .navbar {
        padding: 0 1rem;
    }
    
    .page-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        width: 60px;
    }
    
    .timeline-content {
        margin: 0;
        margin-left: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.5rem;
    }
    
    .logo {
        gap: 0.3rem;
    }
    
    .logo-text-new .brand-name {
        font-size: 0.9rem;
    }
    
    .logo-text-new .brand-tagline {
        font-size: 0.45rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .nav-menu {
        gap: 0.6rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        min-width: 250px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
        white-space: nowrap;
        border-radius: 8px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-links-large {
        flex-direction: column;
        align-items: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Responsive para el nuevo logo */
    .logo-combined {
        gap: 0.5rem;
    }
    
    .logo-symbol {
        width: 40px;
        height: 40px;
    }
    
    .logo-alpha {
        font-size: 1.4rem;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-tagline {
        font-size: 0.6rem;
    }
    
    .services-grid-detailed {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .member-photo {
        width: 160px;
        height: 160px;
    }
    
    /* Correcciones para elementos circulares en móviles */
    [style*="border-radius: 50%"],
    .service-icon,
    .step-number,
    .developer-avatar,
    .photo-placeholder,
    .btn-icon,
    .whatsapp-btn-float,
    .author-avatar,
    .method-icon {
        flex-shrink: 0 !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    /* Corregir botón WhatsApp que se desborda */
    .btn-whatsapp {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        display: inline-block;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Correcciones adicionales para formularios y secciones */
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Corregir sección about para móviles */
    .about-intro {
        padding: 4rem 1rem;
    }
    
    .about-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .about-image {
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
        overflow: hidden;
    }
    
    .image-placeholder {
        padding: 1rem;
        max-width: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Ocultar animación de código en móviles */
    .hero-animation {
        display: none;
    }
    
    /* Correcciones para quick-contact en móviles */
    .quick-contact-centered {
        padding: 0;
        width: 100%;
    }
    
    .quick-option {
        padding: 1.5rem 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .quick-option h3 {
        font-size: 1.3rem;
        margin: 1rem 0;
    }
    
    .quick-option p {
        font-size: 1rem;
        margin: 0.5rem 0 1rem 0;
    }
    
    /* Mejoras adicionales para móviles pequeños */
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .page-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-methods {
        text-align: center;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .contact-info > p {
        text-align: center;
        padding: 0 1rem;
    }
    
    .method-icon {
        margin: 0 auto 1rem;
    }
    
    .method-info {
        text-align: center;
        width: 100%;
    }
    
    .method-info h3 {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .method-info p {
        text-align: center !important;
        margin: 0.25rem 0;
        width: 100%;
        display: block;
    }
    
    .method-info * {
        text-align: center;
    }
    
    .contact-link {
        justify-content: center;
        text-align: center;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .contact-note {
        text-align: center;
        display: block;
        margin-top: 0.5rem;
    }
    
    .contact-link {
        justify-content: center;
        margin: 0.75rem auto 0;
        display: inline-flex;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .quick-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Media query adicional para pantallas ultra pequeñas */
@media (max-width: 320px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .footer-content {
        overflow: visible !important;
        z-index: 10;
        position: relative;
    }
    
    .footer-section {
        overflow: visible !important;
        position: relative;
    }
    
    .navbar {
        padding: 0.5rem 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 0 0.5rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .logo {
        gap: 0.2rem;
        z-index: 99999 !important;
        position: relative !important;
    }
    
    .logo-icon {
        font-size: 1rem;
        z-index: 99999 !important;
        position: relative !important;
        width: 28px !important;
        height: 28px !important;
    }
    
    .footer {
        padding: 3rem 1rem 2rem;
        overflow: visible !important;
        position: relative;
        z-index: 5;
    }
    
    .footer .logo {
        position: relative;
        z-index: 20;
        overflow: visible !important;
    }
    
    .footer .logo-icon {
        z-index: 25 !important;
        position: relative !important;
        overflow: visible !important;
        margin: 0;
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
        animation: none !important;
    }
    
    .footer .brand-name {
        font-size: 0.9rem !important;
    }
    
    .footer .brand-tagline {
        font-size: 0.6rem !important;
    }
    
    .logo-text-new .brand-name {
        font-size: 0.9rem;
        line-height: 1;
    }
    
    .logo-text-new .brand-tagline {
        font-size: 0.45rem;
    }
    
    .nav-link {
        padding: 0.35rem 0.4rem;
        font-size: 0.65rem;
        margin: 0;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.55rem 0.8rem;
        font-size: 0.75rem;
        min-width: 120px;
        max-width: 160px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    
    .hero-buttons {
        gap: 0.5rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .tech-list .tech-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .tech-list .tech-item i {
        font-size: 1.8rem;
        width: 2rem;
        color: var(--primary-color);
        display: inline-block;
    }
    
    .tech-info h4 {
        font-size: 1rem;
    }
    
    .tech-info p {
        font-size: 0.85rem;
    }
    
    .portfolio-item {
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .page-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        text-align: center;
    }
    
    .faq-answer {
        text-align: center;
        padding: 0 1rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Botón flotante WhatsApp con efecto de onda */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-btn-float {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: whatsapp-scale 2s ease-in-out infinite !important;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.whatsapp-btn-float::before,
.whatsapp-btn-float::after {
    display: none !important;
}

.whatsapp-btn-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn-float i {
    font-size: 28px;
    color: white;
}

/* Círculos concéntricos removidos */

@keyframes whatsapp-scale {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Prevenir overflow horizontal */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsive para el botón flotante */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }
    
    .whatsapp-btn-float {
        width: 45px;
        height: 45px;
        box-shadow: 0 2px 15px rgba(37, 211, 102, 0.4);
    }
    
    .whatsapp-btn-float i {
        font-size: 20px;
    }
    
    /* Círculos concéntricos removidos para móviles */
}

/* Específico para pantallas muy pequeñas como 412px */
@media (max-width: 420px) {
    body {
        padding: 0;
        margin: 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .whatsapp-float {
        bottom: 8px;
        right: 8px;
    }
    
    .whatsapp-btn-float {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-btn-float i {
        font-size: 18px;
    }
}
