:root {
    --azul-electrico: #0046ff;
    --morado: #8a2be2;
    --negro-suave: #121212;
    --blanco: #ffffff;
    --gris-claro: #f4f4f4;
    --gris-medio: #e0e0e0;
    --gris-texto: #666666;
    --gradient: linear-gradient(135deg, var(--azul-electrico), var(--morado));
    --gradient-hover: linear-gradient(135deg, #0052ff, #9d3ef5);
    --sombra-suave: 0 10px 30px rgba(0, 0, 0, 0.1);
    --sombra-media: 0 15px 40px rgba(0, 0, 0, 0.15);
    --sombra-fuerte: 0 20px 60px rgba(0, 70, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--blanco);
    color: var(--negro-suave);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== LOADER ==================== */
#loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: var(--negro-suave);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--azul-electrico);
    border-radius: 50%;
    animation: spin 1s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== NAVBAR ==================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 10%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 2px;
    color: var(--negro-suave);
    transition: transform 0.3s ease;
}

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

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--negro-suave);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--azul-electrico);
}

.nav-links li a:hover::after {
    width: 60%;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 28px;
    height: 3px;
    background-color: var(--negro-suave);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 70, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(20deg); }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gris-texto);
    margin-bottom: 35px;
    line-height: 1.8;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-mockup img {
    width: 100%;
    max-width: 550px;
    border-radius: 25px;
    box-shadow: var(--sombra-fuerte);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: levitate 6s ease-in-out infinite;
}

.hero-mockup img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 30px 80px rgba(0, 70, 255, 0.3);
}

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

@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);
    }
}

/* ==================== BOTONES ==================== */
.btn-primary, .btn-secondary {
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(0, 70, 255, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 70, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--azul-electrico);
    border: 2px solid var(--azul-electrico);
}

.btn-secondary:hover {
    background: var(--azul-electrico);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 70, 255, 0.25);
}

.btn-small {
    padding: 10px 25px;
    background: var(--gris-claro);
    color: var(--negro-suave);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.btn-small:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 70, 255, 0.2);
}

/* ==================== STATS SECTION ==================== */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 80px 10%;
    background: var(--negro-suave);
    color: var(--blanco);
    gap: 50px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-item h2 {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--gris-medio);
    font-weight: 300;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    padding: 100px 10%;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--negro-suave);
}

.underline {
    width: 80px;
    height: 5px;
    background: var(--gradient);
    margin: 0 auto;
    border-radius: 3px;
}

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

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: var(--sombra-suave);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--sombra-fuerte);
}

.service-card i {
    font-size: 3.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--negro-suave);
}

.service-card p {
    color: var(--gris-texto);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    padding: 100px 10%;
    background: var(--negro-suave);
    color: var(--blanco);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.8rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--gris-medio);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info ul li i {
    font-size: 1.3rem;
    color: var(--azul-electrico);
    background: rgba(0, 70, 255, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 45px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--blanco);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--azul-electrico);
    box-shadow: 0 0 0 3px rgba(0, 70, 255, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gris-medio);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    width: 100%;
}

/* Estilos para el formulario ampliado */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.8rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--gris-medio);
}

.form-section {
    border: none;
    padding: 0;
    margin-bottom: 40px;
}

.form-section legend {
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--azul-electrico);
    margin-bottom: 20px;
    display: block;
    padding: 0;
    border: none;
}

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

.form-group label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--blanco);
    margin-bottom: 8px;
    display: block;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--blanco);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

.form-group select option {
    background: var(--negro-suave);
    color: var(--blanco);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--azul-electrico);
    box-shadow: 0 0 0 3px rgba(0, 70, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select::placeholder {
    color: var(--gris-medio);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

/* Estilos para checkboxes */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    cursor: pointer;
    flex-direction: row;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--azul-electrico);
    border-radius: 6px;
}

.checkbox-group span {
    font-size: 1rem;
    color: var(--blanco);
}

.btn-submit {
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-info-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-footer p {
    font-size: 1rem;
    color: var(--gris-medio);
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-info-footer i {
    font-size: 1.2rem;
    color: var(--azul-electrico);
}

/* ==================== SECCIÓN CLIENTES ==================== */
.clientes {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    padding: 80px 20px;
    min-height: 100vh;
}

.clientes-container {
    max-width: 900px;
    margin: 0 auto;
}

.clientes-header {
    text-align: center;
    margin-bottom: 50px;
}

.clientes-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.clientes-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.cliente-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cliente-form .form-group {
    margin-bottom: 25px;
}

.cliente-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

.cliente-form input,
.cliente-form select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.cliente-form input::placeholder,
.cliente-form select {
    color: rgba(255, 255, 255, 0.5);
}

.cliente-form input:focus,
.cliente-form select:focus {
    outline: none;
    border-color: var(--azul-electrico);
    background: rgba(0, 70, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 70, 255, 0.2);
}

.btn-submit-cliente {
    width: 100%;
    padding: 15px 30px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 70, 255, 0.3);
}

.btn-submit-cliente:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 70, 255, 0.4);
}

.btn-submit-cliente:active {
    transform: translateY(-1px);
}

/* ==================== TARJETA DE CLIENTE ==================== */
.respuesta-cliente {
    margin-top: 40px;
    min-height: 200px;
}

.cliente-card {
    background: linear-gradient(135deg, rgba(0, 70, 255, 0.1), rgba(138, 43, 226, 0.1));
    border: 2px solid rgba(0, 70, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    animation: slideInCard 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 70, 255, 0.15);
    transition: all 0.3s ease;
}

.cliente-card:hover {
    border-color: rgba(0, 70, 255, 0.6);
    box-shadow: 0 15px 50px rgba(0, 70, 255, 0.25);
    transform: translateY(-5px);
}

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

.cliente-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 70, 255, 0.2);
}

.cliente-card-header h3 {
    color: white;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cliente-card-header h3 i {
    color: var(--azul-electrico);
    font-size: 2rem;
}

.badge-empresa {
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
}

.cliente-card-body {
    margin-bottom: 25px;
}

.cliente-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cliente-info-item:hover {
    background: rgba(0, 70, 255, 0.1);
    transform: translateX(5px);
}

.cliente-info-item i {
    color: var(--azul-electrico);
    font-size: 1.3rem;
    min-width: 30px;
}

.cliente-info-item .label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    min-width: 90px;
}

.cliente-info-item .value {
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
}

.cliente-card-footer {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 70, 255, 0.2);
}

.btn-editar,
.btn-eliminar {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-editar {
    background: rgba(0, 70, 255, 0.1);
    border-color: var(--azul-electrico);
    color: var(--azul-electrico);
}

.btn-editar:hover {
    background: var(--azul-electrico);
    color: white;
    transform: translateY(-2px);
}

.btn-eliminar {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    color: #ff4444;
}

.btn-eliminar:hover {
    background: #ff4444;
    color: white;
    transform: translateY(-2px);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--negro-suave);
    padding: 40px 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gris-medio);
}

.footer-content p {
    font-size: 0.95rem;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--blanco);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.socials a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 70, 255, 0.3);
}

/* ==================== BACK TO TOP BUTTON ==================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(0, 70, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 70, 255, 0.4);
}

/* ==================== REVEAL ANIMATIONS ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        width: 70%;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        gap: 30px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li a {
        color: var(--blanco);
        font-size: 1.3rem;
    }
    
    .burger {
        display: block;
    }
    
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .burger.active .line2 {
        opacity: 0;
    }
    
    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 5% 60px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btns a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-mockup {
        margin-top: 40px;
    }
    
    .stats {
        flex-direction: column;
        padding: 60px 5%;
    }
    
    .stat-item h2 {
        font-size: 3rem;
    }
    
    .services {
        padding: 80px 5%;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact {
        padding: 80px 5%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .form-section legend {
        font-size: 1.1rem;
    }
    
    .clientes {
        padding: 60px 15px;
    }

    .cliente-form {
        padding: 25px;
    }

    .cliente-card {
        padding: 20px;
    }

    .cliente-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cliente-card-header h3 {
        font-size: 1.4rem;
    }

    .cliente-info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-editar,
    .btn-eliminar {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stat-item h2 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}
