    /*FONTS*/

    @import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Lexend+Zetta:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Press+Start+2P&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');



    .montserrat{
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400px;
    font-style: normal;
    }



    /* ===== ESTILOS BASE ===== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Montserrat", sans-serif;
    }


    html,
    body {
        background: #333;
        font-family: system-ui, -apple-system, sans-serif;
        overflow-x: hidden;
    }

    /*FONTS*/

    @font-face {
        font-family: "icons";
        src: url('fonts/websymbols-regular-webfont.eot');
        src: url('fonts/websymbols-regular-webfont.eot?#iefix'),
            url('fonts/websymbols-regular-webfont.woff') format('woff'),
            url('fonts/websymbols-regular-webfont.ttf') format('truetype'),
            url('fonts/websymbols-regular-webfont.svg#WebsimbolsRegular') format('svg');
        font-weight: normal;
        font-style: normal;

    }

    .icon {
        font-family: "icons";
        color: white;
    }

    body {
        font-family: Arial, sans-serif;
        background-color: #333;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        /*align-items: center;*/
        /* ← Centra todo el contenido horizontalmente */
    }

    /* NAV - fijo en la parte superior */
    nav {
        background: #0a0c10;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        top: 0;
        left: 0;
        width: 100%;
        /*z-index: 1000;*/
    }

    .logo>img {
        color: white;
        width: 126px;
        font-weight: bold;
    }

    .logo span {
        color: #ff3366;
    }

    .menu {
        display: flex;
        list-style: none;
        gap: 2rem;
    }

    .menu a {
        color: white;
        text-decoration: none;
        padding: 0.5rem 0;
        transition: color 0.3s;
    }

    .menu a:hover {
        color: #00a9fe;
    }

    /* Submenú */
    .menu li {
        position: relative;
    }

    .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 200px;
        list-style: none;
        padding: 0.5rem 0;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 100;
    }

    .menu li:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .submenu li a {
        color: #333;
        padding: 0.5rem 1.5rem;
        display: block;
    }

    .submenu li a:hover {
        background: #f5f5f5;
        color: #00a9fe;
    }

    /* Flecha */
    .menu li:has(.submenu)>a::after {
        content: " ▼";
        font-size: 0.7rem;
        transition: transform 0.3s;
    }

    .menu li:has(.submenu):hover>a::after {
        transform: rotate(180deg);
    }


    .menu-toggle:active {
        .menu {
            width: 100%;
        }
    }


    #welcome {
        width: 100%;
        display: flex;
        min-height: 994px;
        background-color: #a50cba;
        justify-content: center;
    }



    #fanmedia{
        width: 50%;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;  
        text-align: left;
        min-height: 400px;
    }


    #fanmedia h4{
        color: white;
        font-size: 20px;
        text-align: left;
    }

    #fanmedia  h1{
        font-size: 60px;
        color: white;
        text-align: left;
    }


    #fanmedia h3{
        text-align: left;
        color: white;
        font-size: 50px;
    }




    .contenido {
        font-family: "Montserrat, sans-serif";
        text-align: center;
        padding: 4rem;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;

    }

    #about-us {
        display: flex;
        width: 100%;
        height: 832;
        min-height: 700px;
        margin: 0 auto;
        background-color: #ffd332;
        align-items: center;
    }

    #wrap-about-us{
        width: 80%;
        max-width: 1200px;
        min-height: 200px;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    #element1-about-us{
        width: 60%;
        min-width: 280px;
        padding: 20px;
    }

    #element2-about-us{
        width: 65%;
        min-width: 280px;
        padding: 20px;
    }


    #element1-about-us > h3{
        color:rgb(144, 144, 144);
        font-weight: 200px;
    }


    h1 {
        margin-bottom: 1rem;
        font-size: 2rem;
    }


    #cards-section {
        width: 100%;
        min-height: 600px;
        background-image: url("../imagenes/bg_fanmedia.jpg"); 
        background-position: center -130px;
    }


    #cards {

        width: 80%;
        /* ✅ Ancho fijo del 80% */
        max-width: 1200px;
        /* ✅ Máximo para pantallas grandes */
        margin: 0 auto;
        /* ✅ Centra el contenedor */
        width: auto;
        height: 600px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-position: center;

    }

    .card:hover {
        background-color: rgba(255, 255, 255, 0.1);
        /* ✅ Fondo oscuro visible */
        cursor: pointer;

    }

    #card-title>h2 {
        display: block;
        color: black;
        text-align: center;

    }

    #card-icon {
        display: block;
        text-align: center;
        margin: 0 auto;
        color: white;
        font-size: 50px;

    }

    .card {
        display: flex;
        padding: 20px;
        flex-direction: column;
        width: 246px;
        height: 462px;
        background-color: rgba(0, 0, 0, 0.3);
        /* ✅ Fondo oscuro visible */
    }

    #card-content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /*Alineación horizontal*/
        align-items: center;
        /*Alineación horizonta*/
    }

    #card-title {
        display: flex;
        margin-bottom: 20px;
        justify-content: center;
        align-items: center;
        color: white;
    }

    .clicker {
        display: flex;
        width: 200px;
        height: 6px;
        font-size: 200px;
        background-color: #f8c200;

        align-items: center;
        justify-content: center;
    }

    /*WEB DEVELOPER*/

    #clients {
        width: 100%;
        text-align: center;
        min-height: 400px;
        background-color: white;

    }

    #wrap-clients {
        width: 600px;
        margin: 0 auto;
        margin-top: 145px;
    }


    #web-developer {
        margin-top: 30px;
        color:  #4164b6;
    }


    #quotation {
        width: 100px;
        height: auto;
        margin-bottom: 42px;
    }

    .brand-element{
        width: 270px;
        height: auto;
        object-fit: contain;
    }

    #brands{
        width: 100%;
        margin: auto;
        min-height: 300px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;

    }

    /* ===== ESTILOS DEL BOTÓN HAMBURGUESA ===== */
    .menu-toggle {
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }

    /* ===== ESTILOS DEL BOTÓN CERRAR ===== */
    .btn-close {
        display: none;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1002;
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        font-family: Arial, sans-serif;
    }


    /* El resto de tus estilos globales... */

    #card-more {
        display: flex;
        margin-top: 20px;
        justify-content: center;
        align-items: center;
        color: white;
    }



    .menu.active {
        display: flex;
    }


    .submenu {
        position: absolute;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #1a1c22;
        margin-left: 1rem;
        margin-top: 0.5rem;
        display: none;
    }

    .menu li:hover .submenu {
        display: block;
    }

    .submenu li a {
        color: #ccc;
    }

    .submenu li a:hover {
        background: #2a2c32;
    }

    /*
            #cards{
                width: auto;
                display: flex;
                flex-direction: column; /* Para que la imagen y texto estén en columna 
            }*/

    #cards>img {
        width: 100%;
        height: auto;
    }

    /*FORMULARIO*/


    #form {
        padding-top: 45px;
    }

    .container-form>h2 {
        margin: 0 auto;
        text-align: center;
        font-size: 50px;
    }

    .form-group {
        padding-bottom: 83px;
    }

    #name,
    #email,
    #message {
        padding-top: 3px;
    }

    .container-form {
        width: 90%;
        /* ← Responsive: 90% del ancho de la pantalla */
        max-width: 900px;
        /* ← Máximo 900px en pantallas grandes */
        background-color: #333;
        color: white;
        margin: 0 auto;
        /* Esto centra el bloque horizontalmente */
        ;
        margin-top: 10px;
        padding: 20px;
        border-radius: 10px;
    }


    .form-group input,
    textarea {
        width: 100%;
        /* Input ocupa todo el ancho */
        font-size: 20px;
        color: white;
        display: block;
        /* Hace que el label ocupe toda la línea */
        border: none;
        border-bottom: 1px solid grey;
        background-color: transparent;
        /* ← Esto hace que sea del mismo color que el fondo */
    }

    .form-group>input:hover,
    .form-group>textarea:hover {

        border-bottom: 1px solid #00a9fe;
        ;

    }

    #btn-form {
        display: flex;
        margin: 10px auto;
        align-items: center;
        justify-content: center;
        border: none;
        background: none;
        color: white;
        font-size: 40px;
        cursor: pointer;

    }

    #btn-form:hover {
        color: rgb(54, 53, 53);
        background-color: #f8c200;

    }

    /*FOOTER*/

    #footer {
        background-color: #333;
        color: white;
        display: flex;
        min-height: 20vh;
        display: flex;
        /* ← Añade esto */
        flex-direction: column;
        /* ← Añade esto: coloca elementos en columna */
        align-items: center;
        /* ← Centra horizontalmente */
    }

    .copyright {
        margin: 0 auto;
        font-size: 12px;
        color: white;
        display: block;
    }

    #redes {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .icon:hover {

        color: #00a9fe;
    }

    /*REDES LATERAL*/

    .icon-lg {
        font-size: 40px;
    }



    #redes_lateral {
        position: fixed;
        left: 10px;
        top: 50%;
    }

    /*CONTACTO.HTML*/


    #section-contact {
        width: 100%;
        align-items: center;
        min-height: 434px;
        background-color: white;
        justify-content: center;
        
    }

    .section-name {
        margin-top: 10px;
        display: block;
        /* o inline-block */
        margin-right: 20px;
        margin-left: auto;
        /* ✅ Así se manda a la derecha */
        width: fit-content;
        /* Para que el fondo/color no ocupe todo */
        font-size: 20px;
        color: rgb(65, 65, 145);
    }


    #wrap-contact {
        width: 1000px;
        padding-top: 50px;
        display: flex;
        margin: 0 auto;
        margin-top: 100px;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 0 auto;
        gap: 30px;
    }

    #g-in-touch {
        width: 45%;
        height: 200px;
        margin: 0 auto;
    }

    #g-in-touch h2 {
        color: rgb(65, 65, 145);
    }

    #contact {
        margin: 0 auto;
        display: flex;
        width: 450px !important;
        height: 200px;
        flex-direction: column;
        align-items: left;
        justify-content: center;

    }

    #contact h2{    
        font-size: 20px;
        

    }#contact-icons{
        display: flex;
        gap: 20px;
    }

    #contact .icon{
        margin: 0;
        color: #2a2c32;
    }

    #contact .icon:hover{
        color: #00a9fe;
        
    }


    #section-map {
        width: 100%;
        min-height: 400px;
        display: flex;
        justify-content: center;
        flex-direction: row;
        background-color: white;
    }

    #map {
        margin-top: 30px;
        width: 100%;
        justify-content: center;
    }


    /*---------------------------------------------MOSAICO--------------------------------------------------------------------*/


    /* Inicio CSS */

    h1 {
        text-align: center;
        margin-bottom: 20px;
        color: white;
    }

    .descripcion {
        text-align: center;
        margin-bottom: 30px;
        color: #ccc;
    }

    /* ============================================ */
    /* ESTE ES EL CSS QUE USA FAN MEDIA (adaptado) */
    /* ============================================ */


    .elementor-section-full_width {
        width: 85%;
        max-width: 1500px;
        margin: 0 auto;
        margin-left: 0;

    }

    .elementor-container {
        display: flex;
        flex-wrap: wrap;
    }

    .elementor-column-gap-no {
        gap: 0;
    }

    /* Columnas: 3 columnas iguales */
    .elementor-col-33 {
        width: 33.333%;
    }

    .elementor-col-66 {
        width: 66.666%;
    }

    /* Las imágenes ocupan el 100% de su contenedor */
    .elementor-widget-image img {
        width: 100%;
        display: block;
    }

    .elementor-widget-image .shi {
        height: 867px;
    }

    /* Inner section: dos columnas internas */
    .elementor-inner-section {
        display: flex;
        flex-wrap: wrap;
    }

    /* Elimina espacios entre elementos */
    .elementor-element-populated {
        padding: 0 !important;

    }

    /* Para que las columnas internas no tengan gap */
    .elementor-inner-section .elementor-column {
        padding: 0;
        margin: 0;
    }



    /* Responsive: en móvil se apilan */
    @media (max-width: 768px) {

        .elementor-col-33,
        .elementor-col-66,
        .elementor-inner-section .elementor-col-66,
        .elementor-inner-section .elementor-col-33 {
            width: 100%;
        }
    }