:root {
    --primary-bg: #000f24;
    --gold: #FFD700;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');
html {
    scroll-behavior: smooth;
}
body {
    background-color: var(--primary-bg);
    color: white;
    font-family: sans-serif;
}

h1, h2, h3, .hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

main {
   
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.hero {
    display: flex;
    padding: 50px;
    padding-top: 0px;
    align-items: center; /* Corregido */
     background-image: url('../img/fondo.jpeg');
         background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

h1 {
    color: white;
    font-size: 3em;
    line-height: 1.2;
}

/* Header y Navegación */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #000f24;
    /* Código para fijar el menú */
    position: sticky;
    top: 0;
    z-index: 1000; /* Asegura que siempre esté por encima de otros elementos */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Sombra sutil para que resalte al hacer scroll */

}

.menu-toggle { display: none; color: white; font-size: 24px; cursor: pointer; }

.nav-menu ul { display: flex; list-style: none; gap: 25px; }

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 5px;
}

.nav-menu a.active { border-bottom: 2px solid #FFD700; color: #FFD700; }

/* Botón CTA */
.cta-button {
    background-color: #d4af37;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s;
}

.cta-button:hover { transform: scale(1.05); }

.cta-icon { font-size: 24px; display: flex; align-items: center; }

.cta-text { display: flex; flex-direction: column; line-height: 1.1; }

.cta-label { font-size: 10px; font-weight: 700; text-transform: uppercase; }

.cta-number { font-size: 18px; font-weight: 800; }

/* Logo */
.logo { display: flex; align-items: center; }
.logo img { width: 250px; height: auto; display: block; transition: transform 0.3s ease; }

/* Hero Content */
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .gold-text {
    color: #FFD700;
    text-shadow: 2px 2px 8px rgba(255, 215, 0, 0.3);
}

.highlight {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid #FFD700;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    background-color: rgba(255, 215, 0, 0.05);
}

.highlight .gold-text { color: #FFD700; }

/* Servicios */
.services-section {
    max-width: 600px;
    background-color: #000f24;
    border: 2px solid #FFD700;
    border-radius: 8px;
}

.services-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.service-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 140px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:last-child { border-right: none; }

.service-item i { font-size: 40px; color: #FFD700; margin-bottom: 15px; display: block; }

.service-item h3 { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; margin: 0; }

/* Floating Badge */
.floating-badge {
    position: absolute;
    top: 150px;
    right: 5%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid #d4af37;
    background-color: #000f24;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.badge-content { color: white; font-size: 14px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }

.badge-content i { color: #d4af37; font-size: 30px; margin-bottom: 8px; display: block; }

.badge-content span { color: #d4af37; }
.badge-content p { font-size:large; }

/* Media Queries */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #000f24;
        flex-direction: column;
        padding: 20px 0;
    }
    .nav-menu.active { display: flex; }
    .nav-menu ul { flex-direction: column; align-items: center; gap: 15px; }
    .cta-button { display: none; }
    .hero-visual { display: none !important; }
    .hero-content h1 {  font-size:2.5rem }
}

@media (max-width: 768px) {
    .logo img { width: 180px; }
    .service-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.1); width: 45%; }
}
@media (max-width: 900px) {
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
.results-bar {
    max-width: 600px;
    background-color: #000f24;
    border: 1px solid #333;
    border-radius: 20px; /* Bordes muy redondeados */
    padding: 20px 40px;
    margin: 40px 5%;
    margin-left: 0px; 
    border: 2px solid #FFD700;
}

.results-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    flex-wrap: wrap;
    gap: 20px;
*/


}

.result-item {
    display: flex;
    align-items: center;
    margin-left: 0px;
    color: white;
    font-size: 0.9em;
    text-transform: uppercase;
}

.result-item i {
    font-size: 35px;
    color: #FFD700; /* Color dorado */
}

/* Responsive para pantallas pequeñas */
@media (max-width: 900px) {
    .results-container { flex-direction: column; align-items: flex-start; }
    .results-bar { border-radius: 20px; }
}
.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #e2e8f0;
}
/* Sección de Servicios Digitales Full Width */
.digital-services.full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #000f24; /* Fondo azul marino de tu marca */
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.digital-services .services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.digital-services .main-title {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.digital-services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas en escritorio */
    gap: 20px;
}

.service-box {
    background: rgba(255, 255, 255, 0.03); /* Fondo sutil */
    border: 1px solid rgba(255, 215, 0, 0.2); /* Borde dorado tenue */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 20px;
}

.service-box i {
    font-size: 40px;
    color: #FFD700; /* Color dorado */
    margin-bottom: 15px;
    display: block;
}

.service-box h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.service-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-box li {
    color: #e2e8f0;
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.service-box li::before {
    content: "–";
    color: #FFD700;
    position: absolute;
    left: 0;
}

.service-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
}

/* Media Query para Móviles */
@media (max-width: 900px) {
    .digital-services .services-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
        gap: 30px;
    }
}
.main-footer {
    background-color: #00050d; /* Un tono ligeramente más oscuro que el fondo principal */
    color: #ffffff;
    padding: 40px 5%;
    border-top: 2px solid #FFD700;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
}

.footer-contact p, .footer-contact a {
    display: block;
    color: #e2e8f0;
    margin: 10px 0;
    text-decoration: none;
}

.legal-footer {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    line-height: 1.5;
}
.cta-bar-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #d4af37; /* Dorado de marca */
    color: #000;
    padding: 20px 5%;
}

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

.benefits-group { display: flex; gap: 30px; }

.item { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 0.85em; text-transform: uppercase; }

.action-group { display: flex; gap: 15px; }

.call-btn, .whatsapp-btn {
    background: #000;
    color: #FFD700;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.action-group .text { display: flex; flex-direction: column; line-height: 1.1; }

/* Responsividad */
@media (max-width: 1024px) {
    .cta-bar-container { flex-direction: column; text-align: center; }
    .benefits-group { flex-wrap: wrap; justify-content: center; }
}
.packages-section {
    padding: 60px 5%;
    background-color: #000f24;
}

.packages-header { text-align: center; color: white; margin-bottom: 50px; }
.packages-header h2{ font-size:2rem; }
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.package-card {
    background: #111;
    border: 2px solid #FFD700;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.package-card h3 { color: #FFD700; text-align: center; margin-bottom: 20px; }

.package-card ul { list-style: none; color: white; margin-bottom: 30px; flex-grow: 1; }

.package-card ul li { margin-bottom: 10px; font-size: 0.9em; }

.price-btn {
    background: #FFD700;
    color: #000;
    text-align: center;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.price-btn:hover { background: #fff; }

@media (max-width: 768px) {
    .packages-header h2 { font-size: 1.5em; }
}
.highlight-text {
    color: #FFD700; /* Dorado para resaltar la frase inicial */
    font-weight: 800;
}

.highlight-gold {
    color: #FFD700; /* Dorado para resaltar presencia física y digital */
    font-weight: 700;
}
.compact-services-section {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(0, 15, 36, 0.5); /* Fondo semitransparente */
}

.compact-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.compact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%; /* Tres por fila */
    text-align: center;
}

.compact-item i {
    font-size: 40px; /* Icono grande dorado */
    color: #FFD700;
    margin-bottom: 10px;
}

.compact-item p {
    color: white;
    font-size: 12px; /* Texto en tamaño compacto */
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* Responsivo para móviles */
@media (max-width: 480px) {
    .compact-item { width: 45%; } /* Dos por fila en móviles muy estrechos */
}
 

.compact-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.compact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%; /* Ajustado para 4 columnas */
    text-align: center;
}

.compact-item i {
    font-size: 35px; /* Icono grande dorado */
    color: #FFD700;
    margin-bottom: 10px;
}

.compact-item p {
    color: white;
    font-size: 0.9rem; /* Tamaño compacto como en la imagen */
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* Responsivo para móviles */
@media (max-width: 480px) {
    .compact-item { width: 40%; margin-bottom: 15px; }
}
.contact-section {
    padding: 60px 5%;
    background-color: #000f24; /* Color de fondo de tu marca */
}

.contact-header { text-align: center; margin-bottom: 40px; color: white; }
.contact-header h2 { color: #FFD700; font-size: 1rem; letter-spacing: 2px; }
.contact-header .section-title { font-size: 2.5rem; font-weight: 800; margin: 10px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: #0a172a; /* Ligeramente más claro que el fondo principal */
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
}

.contact-card:hover { border-color: #FFD700; }

.contact-card i { font-size: 30px; color: #FFD700; margin-bottom: 15px; }

.contact-card h3 { color: white; font-size: 1.2rem; margin-bottom: 10px; }

.contact-card p { color: #a0aec0; font-size: 0.9rem; margin-bottom: 20px; }

.contact-link {
    color: #FFD700;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
}

/* Responsividad */
@media (max-width: 768px) {
    .contact-header .section-title { font-size: 1.8rem; }
}
/* Definición de la animación de latido */
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); } /* Aumenta ligeramente */
    30% { transform: scale(1); }    /* Regresa al tamaño normal */
    45% { transform: scale(1.05); } /* Segundo pulso rápido */
    60% { transform: scale(1); }    /* Se queda quieto el resto del tiempo */
}

/* Aplicación de la animación al div */
.floating-badge {
    animation: heartbeat 3s ease-in-out infinite; /* Se repite infinitamente cada 3 segundos */
    cursor: pointer; /* Indica al usuario que es un elemento interactivo */
}

/* Opcional: Pausar al pasar el mouse para que no distraiga al leer */
.floating-badge:hover {
    animation-play-state: paused;
}
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FFD700; /* Dorado al pasar el mouse */
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 900px) {
    .social-links {
        display: none; /* Puedes ocultarlos en móvil para ahorrar espacio o moverlos al menú hamburguesa */
    }
}
.hero2 {
    display: flex;
    padding: 50px;
    padding-top: 0px;
    align-items: center; /* Corregido */
     background-image: url('../img/fondo2.jpeg');
         background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Color oficial de WhatsApp */
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    z-index: 9999; /* Asegura que esté siempre encima de todo */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Ligero zoom al pasar el mouse */
    background-color: #128c7e;
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}
.service-box .price-btn {
    display: block;
    margin-top: 20px; /* Separación respecto a la imagen */
    padding: 12px;
    text-align: center;
    background-color: #FFD700; /* Dorado de marca */
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    transition: 0.3s;
}

.service-box .price-btn:hover {
    background-color: #fff;
}
.web-design-full-width {
    width: 100%;
    background: #000f24; /* Color oscuro base */
    padding: 80px 5%;
    color: white;
}

.web-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.text-side { flex: 1; }

.features-list { list-style: none; padding: 0; margin: 20px 0; }
.features-list li { margin-bottom: 10px; font-weight: 300; }
.features-list i { color: #FFD700; margin-right: 10px; }

.image-side {
    flex: 1;
    height: 400px;
    background-image: url('../img/web.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    border: 2px solid #FFD700;
}

.cta-button-gold {
    display: inline-block;
    padding: 15px 30px;
    background: #FFD700;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    margin-top: 20px;
}