/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Evitar overflow horizontal */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

:root {
    --primary-color: #c0fa39;
    --secondary-color: #4626b2;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Barra Superior de Contacto */
.top-bar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #5a37d8 100%);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
}

.contact-info-top i {
    color: var(--primary-color);
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px rgba(192, 250, 57, 0.3));
}

.phone-cta {
    position: relative;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(192, 250, 57, 0.3);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.phone-link:hover {
    background: #a8e230;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 250, 57, 0.4);
}

.phone-link i {
    font-size: 1.2rem;
    color: #25d366;
}

.phone-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.phone-number {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 4px 15px rgba(192, 250, 57, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(192, 250, 57, 0.5);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(192, 250, 57, 0.3);
        transform: scale(1);
    }
}

/* Efecto adicional para llamar la atención */
.phone-link::after {
    content: '🔥';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.2rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Fuentes y Base */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Utilidades */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

/* Navegación */
.navbar {
    position: fixed;
    top: 60px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(192, 250, 57, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    top: 0;
    padding: 1.1rem 0; /* Aumentar padding para dar más espacio al logo */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 60px; /* Aumentar altura del contenedor */
}

.logo-img {
    height: 55px; /* Aumentar altura del logo */
    width: auto;
    max-width: 180px; /* Añadir ancho máximo */
    transition: var(--transition);
    object-fit: contain;
    object-position: center; /* Centrar el logo */
}

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

.logo-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(192, 250, 57, 0.3);
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    background: rgba(192, 250, 57, 0.1);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 50%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(192, 250, 57, 0.1);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 140px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(70, 38, 178, 0.8) 0%, 
        rgba(192, 250, 57, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #a8e230;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #1ebf5b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Secciones */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Servicios */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features {
    display: grid;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    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 3px rgba(192, 250, 57, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
    object-fit: contain;
}

.footer-logo-img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(192, 250, 57, 0.6));
}

.footer-logo-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design - Tablet y Móvil Grande */
@media (max-width: 768px) {
    /* Contenedor base */
    .container {
        padding: 0 15px;
    }

    /* Barra Superior */
    .top-bar {
        padding: 10px 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 15px;
    }

    .contact-info-top {
        font-size: 0.85rem;
        order: 2;
        justify-content: center;
    }

    .phone-cta {
        order: 1;
    }

    .phone-link {
        padding: 10px 20px;
        gap: 0.8rem;
    }

    .phone-text {
        font-size: 0.8rem;
    }

    .phone-number {
        font-size: 1rem;
    }

    /* Navegación */
    .navbar {
        top: 90px;
        padding: 1.2rem 0; /* Aumentar padding para dar más espacio al logo */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 160px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Logo */
    .nav-logo {
        height: 50px; /* Ajustar altura del contenedor para móvil */
    }

    .logo-img {
        height: 45px; /* Aumentar altura para móvil */
        max-width: 150px; /* Ajustar ancho máximo para móvil */
    }

    .logo-text {
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 170px;
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Secciones */
    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .services {
        padding: 4rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .service-card {
        margin: 0 1rem;
    }

    /* About Section */
    .about {
        padding: 4rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .about-text .section-title {
        text-align: center;
    }

    /* Contact Section */
    .contact {
        padding: 4rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .contact-form {
        margin: 0 1rem;
    }

    .contact-info {
        padding: 0 1rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-img {
        height: 35px;
    }

    .footer-logo-text {
        font-size: 0.7rem;
    }

    /* Botón flotante WhatsApp */
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    .whatsapp-text {
        display: none;
    }
}

/* Responsive Design - Móvil Pequeño */
@media (max-width: 480px) {
    /* Contenedor base */
    .container {
        padding: 0 10px;
    }

    /* Barra Superior */
    .top-bar-content {
        padding: 0 10px;
    }

    .phone-link {
        padding: 8px 16px;
        gap: 0.5rem;
    }

    .phone-text {
        font-size: 0.75rem;
    }

    .phone-number {
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2rem;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        padding: 0 0.5rem;
    }

    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 0.9rem 1.5rem;
    }

    /* Secciones */
    .section-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* Servicios */
    .service-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* Contacto */
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.9rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.9rem 1.5rem;
    }

    /* About Section */
    .about-image img {
        height: 350px;
    }

    /* Botón flotante */
    .whatsapp-float {
        bottom: 70px;
        right: 10px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
    }

    .whatsapp-button i {
        font-size: 1.3rem;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .about-content {
        gap: 3rem;
    }
}

/* Responsive Design - Móvil Extra Pequeño */
@media (max-width: 320px) {
    /* Navegación */
    .nav-logo {
        gap: 0.3rem;
        height: 45px; /* Ajustar altura del contenedor para móvil extra pequeño */
    }

    .logo-img {
        height: 38px; /* Aumentar altura para móvil extra pequeño */
        max-width: 100px; /* Ajustar ancho máximo para móvil extra pequeño */
    }

    .logo-text {
        font-size: 0.7rem;
    }

    /* Hero */
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Servicios */
    .service-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    /* Formulario */
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
}

/* Efectos adicionales */
.service-card,
.about-image,
.contact-form {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    font-weight: 600;
    gap: 0.5rem;
}

.whatsapp-button:hover {
    background: #1ebf5b;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    font-size: 1.5rem;
}

.whatsapp-text {
    white-space: nowrap;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

 