/* Estilos Base */
:root {
    --primary-black: #0F0F0F;
    --accent-green: #00FF00;
    --accent-dark-green: #00B300;
    --white: #FFFFFF;
    --white-80: rgba(255, 255, 255, 0.8);
    --green-gradient: linear-gradient(135deg, #00B300 0%, #00FF00 50%, #00B300 100%);
}

/* Corrección para la barra blanca en iOS */
body {
    /* Asegura que el fondo negro se extienda a toda la pantalla */
    background-color: var(--primary-black);
    -webkit-tap-highlight-color: transparent;
}

/* Configuración específica para iOS */
@supports (-webkit-touch-callout: none) {
    html {
        background-color: var(--primary-black);
    }
    
    header.fixed-top {
        padding-top: env(safe-area-inset-top);
    }
    
    .hero-section {
        padding-top: env(safe-area-inset-top);
    }
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-black);
    color: var(--white);
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.green-text {
    color: var(--accent-green);
}

/* Barra de Navegación */
.navbar {
    background-color: rgba(15, 15, 15, 0.95);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.social-icon {
    color: var(--white);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-green);
}

/* Sección Hero */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.9)), url('https://images.unsplash.com/photo-1581092921461-39b9d08a9b21?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero-text p {
    color: var(--white-80);
    font-size: 1.2rem;
}

/* Botones */
.btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-green {
    background: var(--green-gradient);
    border: none;
    color: var(--primary-black);
    box-shadow: 0 4px 15px rgba(0, 179, 0, 0.3);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 179, 0, 0.4);
    color: var(--primary-black);
}

.btn-outline-green {
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    background: transparent;
}

.btn-outline-green:hover {
    background: var(--green-gradient);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* Estilo de Secciones */
.section-padding {
    padding: 100px 0;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.title-underline {
    height: 3px;
    width: 70px;
    background: var(--accent-green);
    margin: 0 auto;
}

.bg-light-dark {
    background-color: #161616;
}

/* Tarjeta de Catálogo */
.catalog-card {
    background-color: #161616;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 179, 0, 0.1);
    transition: all 0.3s ease;
}

.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 179, 0, 0.2);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.card {
    background-color: #161616;
    border: 1px solid rgba(0, 179, 0, 0.1);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green-gradient);
}

.card-title {
    color: var(--accent-green);
    font-weight: 600;
}

.card-text {
    color: var(--white-80);
    line-height: 1.8;
}

/* Icon Container */
.icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.green-icon {
    color: var(--accent-green);
    font-size: 1.8rem;
}

/* Service Cards */
.service-card {
    background-color: #161616;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 179, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.service-title {
    color: var(--accent-green);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding-left: 0;
    color: var(--white-80);
}

.service-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-green);
    position: absolute;
    left: 0;
}

.coming-soon-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--green-gradient);
    color: var(--primary-black);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
}

/* Contact Form */
.contact-form-container {
    background-color: #161616;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    color: var(--white);
    padding: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 255, 0, 0.25);
    color: var(--white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Contact Buttons */
.contact-buttons {
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
}

.footer-social .social-icon {
    margin-left: 20px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--green-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-black);
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.5);
}

/* Form Message */
#form-message {
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
}

#form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #28a745;
}

#form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: rgba(15, 15, 15, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
    
    .social-icons {
        margin-top: 15px;
    }
    
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .contact-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* Color verde premium */
.green-text {
    color: var(--accent-green);
}

.green-icon {
    color: var(--accent-green);
    filter: drop-shadow(0 0 3px rgba(0, 179, 0, 0.5));
}

.btn-green {
    background: var(--green-gradient);
    border: none;
    color: var(--primary-black);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-green:hover {
    background: var(--green-gradient);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-outline-green {
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-green:hover {
    background: var(--green-gradient);
    color: var(--primary-black);
}

/* Soporte Técnico Section */
.support-card {
    background-color: #161616;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 179, 0, 0.1);
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.support-icon {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.support-title {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.support-description {
    color: var(--white-80);
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-container {
    background-color: #161616;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 179, 0, 0.1);
}

.faq-container:hover {
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.faq-question {
    color: var(--accent-green);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.collapsed i {
    transform: rotate(-90deg);
}

.faq-answer {
    color: var(--white-80);
    padding-top: 15px;
}

/* Team Section */
.team-card {
    background-color: #161616;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 179, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--accent-green);
    padding: 5px;
}

.team-name {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 5px;
}

.team-position {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--white-80);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.team-social a {
    color: var(--white);
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--accent-green);
}

/* Partners Section */
.partners-container {
    background-color: #161616;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 179, 0, 0.1);
}

.partners-container:hover {
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.partner-logo {
    max-width: 150px;
    height: auto;
    margin: 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-green);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--primary-black);
    border: 3px solid var(--accent-green);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid var(--accent-green);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--accent-green);
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--accent-green);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--accent-green) transparent transparent;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #161616;
    position: relative;
    border-radius: 15px;
    border: 1px solid rgba(0, 179, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.timeline-date {
    color: var(--accent-green);
    font-weight: 600;
}

/* Pricing Tables */
.pricing-card {
    background-color: #161616;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 179, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 179, 0, 0.3);
}

.pricing-popular {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--green-gradient);
    color: var(--primary-black);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 40px;
    transform: rotate(45deg);
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-price {
    color: var(--accent-green);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-duration {
    color: var(--white-80);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.pricing-features li {
    color: var(--white-80);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--accent-green);
    margin-right: 10px;
}

/* Responsive Media Queries for new sections */
@media (max-width: 991.98px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-container::before {
        left: 60px;
        border: medium solid var(--accent-green);
        border-width: 10px 10px 10px 0;
        border-color: transparent var(--accent-green) transparent transparent;
    }
    
    .left::after, .right::after {
        left: 15px;
    }
    
    .right {
        left: 0%;
    }
}

@media (max-width: 767.98px) {
    .team-card, .pricing-card, .support-card {
        margin-bottom: 30px;
    }
    
    .partners-container {
        padding: 20px;
    }
    
    .partner-logo {
        max-width: 120px;
        margin: 10px;
    }
}

@media (max-width: 575.98px) {
    .timeline-content {
        padding: 15px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .partner-logo {
        max-width: 100px;
        margin: 5px;
    }
}

/* Logo en la barra de navegación */
.navbar-logo {
    height: 30px;
    width: 30px; /* Hacemos que el ancho sea igual a la altura para forma circular */
    object-fit: cover; /* Asegura que la imagen cubra el espacio sin distorsionarse */
    border-radius: 50%; /* Esto hace que la imagen sea completamente circular */
    vertical-align: middle;
    margin-right: 8px; /* Un poco más de espacio entre el logo y el texto */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil para mejorar apariencia */
}

