* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #0f3460;
    --highlight: #e94560;
    --text: #eaeaea;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header / Hero */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: var(--text-dark);
    padding: 80px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

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

.logo h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Secciones */
section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 700;
}

.intro {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #666;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cómo Trabajamos */
.como-trabajamos {
    background: var(--bg-light);
}

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

.paso {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.paso:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.paso-numero {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.paso h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.paso p {
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    color: #666;
    line-height: 1.6;
}

/* Servicios */
.servicios {
    background: white;
}

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

.servicio {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.servicio:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.servicio.destacado {
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    color: white;
    position: relative;
}

.servicio-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.servicio h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 15px;
    font-weight: 600;
}

.servicio p {
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 15px;
}

.servicio-lista {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-top: 20px;
}

.servicio-lista li {
    padding: 8px 0;
    font-size: clamp(0.9rem, 1.5vw, 0.95rem);
    line-height: 1.6;
}

.servicio.destacado .servicio-lista li {
    color: rgba(255, 255, 255, 0.95);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Confianza */
.confianza {
    background: white;
    padding: 80px 20px;
}

.confianza h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 50px;
    color: var(--primary);
    font-weight: 700;
}

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

.confianza-item {
    text-align: center;
    padding: 30px;
}

.confianza-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confianza-item h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.confianza-item p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: #555;
}

.youtube-link {
    color: #FF0000;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.youtube-link:hover {
    color: #CC0000;
    border-bottom: 2px solid #FF0000;
}

/* Equipos */
.equipos {
    background: var(--bg-light);
}

.equipos-content {
    max-width: 900px;
    margin: 0 auto;
}

.equipos-text {
    background: white;
    padding: clamp(30px, 5vw, 50px);
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow);
}

.equipos-text h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 600;
}

.equipos-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: 20px;
}

.equipos-text ul {
    list-style: none;
    margin: 30px 0;
}

.equipos-text li {
    padding: 12px 0;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.btn-secondary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.btn-secondary:hover {
    background: var(--highlight);
    transform: translateY(-2px);
}

/* Ventaja */
.ventaja {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    color: white;
    text-align: center;
}

.ventaja h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    color: white;
}

.ventaja p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Quién Soy */
.quien-soy {
    background: white;
}

.quien-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.quien-content p {
    margin-bottom: 20px;
}

/* Ubicación */
.ubicacion {
    padding: 60px 20px;
    background: var(--bg-light);
    text-align: center;
}

.ubicacion h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
}

.ubicacion p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 80px 20px;
    background: var(--primary);
    color: white;
    text-align: center;
}

.footer h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 30px;
    color: white;
}

.btn-whatsapp-large {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 20px 50px;
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.footer-text {
    margin-top: 40px;
    opacity: 0.7;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.info-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-info {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: clamp(0.95rem, 1.5vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

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

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section h3 {
    color: var(--accent);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 15px;
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    padding: 10px 0;
    line-height: 1.8;
    border-bottom: 1px solid #eee;
}

.modal-section li:last-child {
    border-bottom: none;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.faq-item h4 {
    color: var(--primary);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 10px;
}

.faq-item p {
    line-height: 1.8;
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }
    
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .pasos {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .paso, .servicio {
        padding: 30px 20px;
    }
    
    .equipos-text {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        width: 100px;
        height: 100px;
    }
    
    .btn-whatsapp, .btn-secondary {
        padding: 15px 30px;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-whatsapp-large {
        padding: 18px 40px;
        width: 100%;
        max-width: 300px;
    }
}

/* Animaciones suaves */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}