:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-gray: #333333;
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-color: rgba(255, 255, 255, 0.05);
    --primary-glow: rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
    position: relative;
}

/* Background Effects Removed */

/* Custom Cursor */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    z-index: 9999;
    mix-blend-mode: difference;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.03em;
}

a,
button {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

/* Header */
header {
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--bg-color);
    /* Fondo negro sólido, igual que la web */
    border-bottom: none;
    /* Sin cortes */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    /* Tamaño óptimo */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.btn-contact {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.btn-contact:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0;
}

/* Hero */
.hero {
    min-height: 100vh;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
}

h1 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #666666 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: shineText 5s linear infinite;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: #ccc;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.badge:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

/* About Section */
.about {
    align-items: center;
}

.profile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    text-align: center;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: 0.5;
}

.profile-card h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.role {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: #888;
    font-weight: 600;
}

.profile-card p {
    font-size: 1.2rem;
    color: #bbb;
    line-height: 1.8;
}

/* Services */
.services-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-item h3 {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    line-height: 1;
    font-weight: 800;
}

.service-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.service-item p {
    color: #aaa;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact / Footer */
footer {
    padding: 8rem 0 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

footer h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

footer>p {
    color: #888;
    margin-bottom: 4rem;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 5rem;
    position: relative;
}

.discount-banner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ddd;
    backdrop-filter: blur(10px);
}

.discount-banner .highlight {
    color: #fff;
    font-weight: 800;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.btn-submit {
    padding: 0.8rem 1.5rem;
    background: #fff;
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: none;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-submit svg {
    width: 20px;
}

.form-footer {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

/* Contact Info */
.contact-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-link {
    font-size: 1.2rem;
    color: #bbb;
    transition: color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-link span.label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
}

.contact-link:hover {
    color: #fff;
}

.copyright {
    color: #444;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes floatGlow1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, 50px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatGlow2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, -30px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes shineText {
    to {
        background-position: 200% center;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    /* App-like behaviors for mobile */
    body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: none;
        /* Prevents pull-to-refresh bounce if desired, feels more native */
    }

    body,
    a,
    button,
    .whatsapp-float {
        cursor: auto;
    }

    /* Disable text selection on UI elements for an app feel, remove tap highlight */
    button,
    a,
    .badge,
    .service-item {
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .cursor-follower {
        display: none;
    }

    /* Layout adjustments */
    header {
        padding: 0.5rem 5%;
    }

    .logo {
        font-size: 1rem;
    }

    .btn-contact {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    section {
        padding: 4rem 0;
    }

    h1 {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .badges {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .badge {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 1.2rem;
    }

    .profile-card {
        padding: 2rem 1.5rem;
    }

    .profile-card h2 {
        font-size: 2.2rem;
    }

    .services-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .services {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .service-item {
        padding: 1rem 0.5rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .service-item h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .service-item p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    footer h2 {
        font-size: 2rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}