:root {
    --primary-color: #3552ff;
    --secondary-color: #e4ff83;
    --accent-color: #ff6b6b;
    --accent-color-2: #54bdb6;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
    --default-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --heading-font: "Rubik Vinyl", serif;
    --nav-font: "Poppins", sans-serif;
}

.bg-gradient-custom {
    background: linear-gradient(135deg, #222b9179, #0d48a17e, #06224285);
    position: relative;
    overflow: hidden;
}

body h2 {
    font-family: "Chakra Petch", serif;
    color: #5552ff;
}

html,
body {
    background-color: #f4f3f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%235552ff' fill-opacity='0.26' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.chat {
    color: white;
    background-color: #0078ff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* Efecto hover para cards */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), #6e8eff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 3rem;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bento-item {
    min-height: 200px;
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
}

.bento-item.vertical {
    grid-row: span 2;
}

.bento-item.horizontal {
    grid-column: span 2;
}

/* Service Cards */
.service-card {
    height: 100%;
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(58, 78, 189, 0.1) 0%,
            rgba(110, 142, 255, 0.1) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6e8eff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: white;
}

.service-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-8deg);
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6e8eff 100%);
}

.service-card.featured h3,
.service-card.featured p {
    color: white;
}

.service-card.featured .icon-wrapper {
    background: white;
}

.service-card.featured .icon-wrapper i {
    color: var(--primary-color);
}

.service-card.accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8e8e 100%);
}

.service-card.accent h3,
.service-card.accent p {
    color: white;
}

.service-card.accent-2 {
    background: linear-gradient(135deg,
            var(--accent-color-2) 0%,
            #3cca8ca7 100%);
}

.service-card.accent-2 h3,
.service-card.accent-2 p {
    color: white;
}

.service-card.gradient {
    background: linear-gradient(135deg, #6b48ff 0%, #8c6fff 100%);
}

.service-card.gradient h3,
.service-card.gradient p {
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.large,
    .bento-item.medium,
    .bento-item.vertical,
    .bento-item.horizontal {
        grid-column: span 1;
        grid-row: span 1;
    }
}

#servicios h2 {
    color: #3552ff;
}

/* Estilos del Hero Section */
.hero-pattern {
    background: linear-gradient(-45deg, #3052ff, #3552ff, #3552ff, #141010);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Animación del fondo */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Partículas */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

@keyframes particleAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-1000%) rotate(720deg);
        opacity: 0;
    }
}

.float-animation {
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Estilos del botón principal */
.btn-glow {
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 65, 108, 0.6);
    color: white;
}

/* Tarjeta de estadísticas */
.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

/* Badge de características */
.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    display: inline-block;
}

/* Texto con gradiente */
.gradient-text {
    background: linear-gradient(120deg, #ff0000, #ef0909);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Asegura que el contenido esté por encima de las partículas */
.container {
    position: relative;
    z-index: 2;
}

/* Tarjeta de estadísticas */
.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(120deg, #ff416c, #ff4b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header img {
    margin-top: 60px;
}

.position-relative {
    margin-left: 100px;
}

.counter-animation {
    transition: all 0.3s ease;
}

#opiniones {
    padding: 80px 0;
}

.badge-custom {
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator-container {
    position: relative;
    height: 4px;
    width: 60px;
    margin: 25px auto;
    margin-bottom: 0px;
}

.separator {
    height: 100%;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    border-radius: 2px;
    margin-bottom: 0px;
}

.separator-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ffffff;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    margin-bottom: 0px;
}

#contacto img {
    border-radius: 20px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #e9ecef;
    font-size: 1.5rem;
    opacity: 0.5;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #0d6efd, #0dcaf0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

.user-details {
    flex: 1;
}

.user-details h5 {
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/*.navbar.navbar-scroll {
    background-color: #3552ff;
    color: #ffffff;
    /* border-bottom: 2px solid #ffffff;
    /* Línea gris clara 
  
  }
  */

.navbar.navbar-scroll ul {
    margin-right: 100px;
    color: #ffffff;
}

.navbar.navbar-scroll a {
    color: #ffffff;
}

.navbar.navbar-scroll li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
}

.navbar.navbar-scroll li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000;
    /* Color de la línea */
    transition: width 0.3s ease;
}

.navbar.navbar-scroll li a:hover::after {
    width: 100%;
}

/* Estilo para el enlace activo */
.navbar.navbar-scroll li a.active {
    color: #ffeb3b;
    /* Cambia el color del texto */
    font-weight: bold;
    /* Opcional, para resaltar más */
}

.navbar.navbar-scroll li a.active::after {
    width: 100%;
    /* Línea permanece visible */
}

.navbar.navbar-scroll span {
    color: #ffffff;
}

/* Navbar transparente al scroll */
.navbar-scroll {
    transition: all 0.3s ease;
    background: transparent;
}

navbar-expand-lg .navbar-scroll.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Animación para productos */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card img {
    transition: all 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    bottom: 0;
}

/* Loader animado */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.navbar-scroll {
    background-color: #ffffff;
}

.carousel-container {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.control-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: white;
    transform: scale(1.1);
}

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.slide {
    animation: fadeIn 0.5s ease-out;
}

#imagenes {
    text-align: center;
    padding-bottom: 50px;
    padding-top: 20px;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    text-transform: uppercase;
    font-weight: bold;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
}

iframe {
    max-width: 100%;
    border-radius: 16px;
    max-height: 100%;
}

#contacto h3 i {
    color: #3552ff;
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card {
    max-width: 900px;
    width: 100%;
    border-radius: 1rem;
    border: none;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box i {
    font-size: 24px;
    color: white;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.info-content p {
    margin-bottom: 0.25rem;
    color: #64748b;
}

.bg-primary {
    background-color: #3552ff !important;
}

.bg-success {
    background-color: #22c55e !important;
}

.bg-info {
    background-color: #8b5cf6 !important;
}

.bg-danger {
    background-color: #ef4444 !important;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20b956;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    text-decoration: none;
}

@media screen {
    .service-menu {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;

        .bento-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 20px;
        }
    }
}

.service-menu .service-btn {
    margin: 0 10px;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.service-btn {
    border-radius: 25px;
    border: 2px solid #007bff;
}

.service-btn:hover {
    background-color: #007bff;
    color: white;
}

.service-btn.selected {
    background-color: #007bff;
    color: white;
    font-weight: bold;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.bento-item {
    background-color: transparent;
    /* Elimina cualquier color de fondo */
    border: none;
    /* Elimina el borde alrededor de la card */
    padding: 0;
    /* Elimina el espacio interno alrededor de la tarjeta */
    box-shadow: none;
    /* Elimina cualquier sombra */
    transition: transform 0.3s ease;
    text-align: center;
}

.bento-item:hover {
    transform: scale(1.05);
}

.icon-wrapper {
    font-size: 40px;
    color: #4caf50;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

p {
    font-size: 0.9rem;
    color: #555;
}

.bento-item .service-card.circular {
    border-radius: 50%;
    /* Hace que la tarjeta sea un círculo */
    width: 250px;
    /* Ajusta el tamaño de las tarjetas */
    height: 250px;
    /* Ajusta el tamaño de las tarjetas */
    display: flex;
    /* Asegura que los elementos dentro estén centrados */
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Esconde cualquier parte que sobresalga */
}

.bento-item .service-card.circular .card-content {
    text-align: center;
    /* Centra el contenido dentro del círculo */
    padding: 20px;
}

.bento-item .service-card.circular .icon-wrapper {
    font-size: 40px;
    /* Ajusta el tamaño del icono */
    margin-bottom: 10px;
}

.bento-item .service-card.circular h3,
.bento-item .service-card.circular p {
    margin: 0;
    padding: 5px 0;
}

/*
  */

.modern-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.modern-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.modern-list li i {
    color: #4caf50;
    /* Verde para el ícono */
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.modern-list li:last-child {
    margin-bottom: 0;
}

#footer p {
    color: #f8f9fa;
}

#servcios-destacados,
#servicios,
#contacto,
#footer,
#imagenes,
#nosotros,
#productos,
#opiniones {
    position: relative;
    padding-bottom: 20px;
}

#servcios-destacados::after,
#servicios::after,
#contacto::after,
#footer::after,
#nosotros::after,
#productos::after,
#opiniones::after {
    content: "";

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    border-bottom: 2px solid #5552ff;
    bottom: 0;
}

#servicios-destacados::after,
#servicios::after,
#contacto::after,
#footer::after,
#nosotros::after,
#productos::after,
#opiniones::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    border-bottom: 2px solid #5552ff60;
    bottom: 0;
}

/* Ajustes específicos para dispositivos móviles */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item {
        width: 100%;
    }

    .service-card {
        padding: 15px;
        text-align: center;
    }

    .service-card .icon-wrapper {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .service-menu .service-btn {
        display: inline-block;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-card {
        padding: 18px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-menu .service-btn {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
}

* {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}