    html {
        scroll-behavior: smooth;
        scroll-padding-top: 60px;
    }
    body {
        font-family: 'Playfair Display', serif;
        margin: 0;
        padding: 0;
        width: 100%;
        background-color: #f9f9f9;
        color: #333;
        line-height: 1.6;
        background: url("Background/GlamisBackgroundTileBwhite.jpg");
        background-repeat: repeat;
        background-position: center right;
        background-attachment: scroll;
        font-variant-numeric: lining-nums;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    strong {
        font-size: 1.1em;
        font-weight: 800;
    }
    
    .container {
        position: relative;
        width: 100%;
        max-width: 1200px;
        padding: 0;
        border: 0;
        margin: 80px auto;
        text-align: center;
        z-index: 2;
    }

    /* CALL TO ACTION BUTTONS */    
    .cta-button {
        background: #ff9800;
        color: white;
        padding: 8px 15px;
        border-radius: 5px;
        font-weight: bold;
        transition: background 0.3s, transform 0.3s;
        display: inline-block;
    }
    
    .cta-button:hover {
        background: #e68900;
        transform: scale(1.05);
    }
    
    .phone-number {
        font-size: 1.2em;
        padding: 4px 10px;
    }
    
    .phone-number-big {
        font-size: 1.8em;
        padding: 8px 15px;
    }

    /* HEADER */
    
    .header {
        position: fixed;
        max-height: 50px;
        top: 0;
        left: 0;
        margin: 0;
        width: 100%;
        background: #004080;
        color: white;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        position: relative; 
    }
    
    .businesslogo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .businesslogo img {
        max-height: 40px;
        max-width: 40px;
    }

    .company-name {
        font-size: 24px;
        font-weight: bold;
    }


    .nav-container {
        display: flex;
        align-items: center;
        gap: 20px;
        transition: max-height 0.3s ease; 
    }

    .menu {
        list-style: none;
        display: flex;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .menu li {
        display: inline;
    }

    .menu a {
        color: white;
        font-size: 16px;
        font-weight: bold;
        transition: color 0.3s, transform 0.3s;
    }

    .menu a:hover {
        color: #ff9800;
        transform: scale(1.05);
    }

    .hamburger {
        display: none;
        flex-direction: column;
        gap: 4px;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 2px;
    }

    /* SECTION */
    
    .section {
        max-width: 100%;
        margin: 0 auto;
        padding: 40px;
        text-align: left; 
    }
    
    .section.home {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 70px;
    }
    
    .section-title {
        font-size: 40px;
        font-weight: 600;
        color: #004080;
        margin-bottom: 40px;
        text-align: center; 
    }
    
    .section-description {
        font-size: 18px;
        color: #555;
        line-height: 1.6;
        margin-bottom: 16px;
    }
    
    /* HOME */
    
    .home-firstrow {
        display: flex;
        width: 100%;
        font-size: 25px;
        font-weight: 600;                
        justify-content: space-between;
        align-items: center;
        color: #cc0000;
    }

    .home-firstright {
        flex: 1;
        width: 100%;
        align-items: flex-end;
        text-align: right;
        justify-content: center;
    }
    
    .home-row {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .home-left {
        flex: 1;
        display: flex;
        max-width: 300px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
    }

    .home-right {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        justify-content: center;
    }
    
    .home-left.logo {
        order: 1;
    }
    
    .home-right.title {
        order: 2;
    }
    
    .home-title {
        font-size: 44px;
        font-weight: 600;
        color: #004080;
        line-height: 1.4;
        letter-spacing: 4px;
        text-align: right;
        margin: 0;
    }
    
    .home-note {
        font-size: 14px;
        color: #555;
        margin-top: 10px;
    }
    
    .home-description {
        font-size: 24px;
        color: #cc0000;
        margin-top: 0px;
        font-weight: 600;
        letter-spacing: 1px;
        text-align: right;
    }
    
    .home-description.name {
        color: black;
        font-size: 20px;
        padding-top: 0;
    }


    
    /* CAROUSEL */
    
    .carousel-container {
        position: relative;
        overflow: hidden;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .carousel-images {
        position: relative;
        width: 300px;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-images img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;      
    }

    .carousel-images img.active {
        opacity: 1;
    }

    .carousel-text {
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.98);
        color: black;
        padding: 5px 25px;
        font-size: 20px;
        font-weight: 800;
        border-radius: 5px;
        letter-spacing: 2px;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .carousel-images img.active + .carousel-text {
        opacity: 1;
    }
    
    /* QUOTES */
    
    .quote-box {
        max-width: 400px;
        margin: 40px auto;
        padding: 20px 20px 20px 30px;
        font-family: "Playfair Display", serif;
        font-weight: 300;
        font-style: italic;
        position: relative;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
        border-left: 4px solid rgba(0, 0, 0, 0.8);
        transition: border-left 2s ease-in-out;
        animation: glamis-bar-glow 4s infinite alternate ease-in-out;
        text-align: left;
    }

    .quote-text {
        font-size: 20px;
        line-height: 2.0;
        color: #333;
        margin: 10px 0 5px 15px;
        position: relative;
    }

    .quote-text strong {
        font-size: 2.5em;
        font-weight: 100;
        color: rgba(0, 0, 0, 0.1);
        vertical-align: middle;
        display: inline-block;
        line-height: 1;
        overflow: hidden;
        height: 0.8em;
    }

    .quote-text strong.quote-start {
        padding-right: 8px;
    }

    .quote-text strong.quote-end {
        padding-right: 6px;
    }

    .quote-author {
        font-size: 16px;
        font-weight: 400;
        color: #666;
        display: block;
        text-align: right;
        margin-right: 10px;
    }

    @keyframes glamis-bar-glow {
        0% {
            border-left: 6px solid rgba(255, 204, 102, 0.2);
        }
        100% {
            border-left: 6px solid rgba(255, 204, 102, 0.9);
        }
    }
    
    /* SERVICE */
    
    .service-item {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 80px;
    }

    .service-item:nth-child(even) {
        flex-direction: row-reverse;
    }

    .service-image {
        flex: 1;
        max-width: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-image img {
        width: 300px;
        border-radius: 25px;
        opacity: 0.9;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
        border: 8px solid white;
    }
    
    .service-title {
        margin-bottom: 6px;
        font-size: 36px; 
        color: #cc0000; 
        margin-top: 0; 
        margin-bottom: 10px;
    }

    .service-subtitle {
        font-size: 22px;
        color: #004080;
        font-weight: 600;
        margin-bottom: 16px; 
    }

    .service-content {
        flex: 1;
        max-width: 60%;
    }
    
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        padding-top: 20px;
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
    }

    .services-grid-item {
        font-size: 20px;
        font-weight: 700;
        color: #cc0000;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .services-grid-item::after {
        content: " • ";
        color: #cc0000;
        font-size: 22px;
        font-weight: bold;
    }

    .services-grid-item:last-child::after {
        content: "";
    }

    .service-footer {
        font-size: 18px;
        font-weight: 400;
        color: #333;
        text-align: center;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 2px solid #ddd;
    }

    
    /* ABOUT */
    
    .about-content {
        display: flex;
        align-items: flex-start;
        gap: 40px;
    }

    .about-image {
        max-width: 300px;
        height: auto;
        border: 8px solid white;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
        margin-left: 20px;
        margin-top: 40px;
    }
    
    /* CONTACTO */
    
    .contact-details {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .contact-item {
        margin-bottom: 40px;
    }

    .contact-type {
        font-family: 'Montserrat', sans-serif;
        font-size: 28px;
        color: #004080;
        margin-bottom: 15px;
    }

    .contact-info {
        font-size: 30px;
        font-weight: 700; 
    }

    .contact-info a {
        color: #cc0000; 
        text-decoration: none;
        transition: color 0.3s ease, transform 0.2s ease;
    }

    .contact-info a:hover {
        color: #e68900;
        transform: scale(1.05);
    }




    /* CONFIANZA */
    
    .section.confianza {
        text-align: left; 
    }

    .section.confianza .section-subtitle {
        text-align: center; 
        font-size: 22px;
        color: #004080;
        font-weight: 600;
    }

    .linkedin-link {
        display: block;
        max-width: fit-content;
        margin: 0 auto 30px auto;
        color: #fff;
        background-color: #0077b5;
        padding: 8px 15px;
        border-radius: 5px;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        transition: background 0.3s ease, transform 0.3s ease;
    }

    .linkedin-link:hover {
        background-color: #005582;
        transform: scale(1.05);
    }
    
    .logos-section {
        background-color: rgba(201, 213, 223, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        padding: 20px;
        border: 3px solid rgba(255, 255, 255, 0.9);
        border-radius: 20px;
        box-sizing: border-box;
        max-width: 1200px;
        margin: 40px auto;
    }

    .logos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        justify-items: center;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }

    .logos-grid-small {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 250px));
        gap: 20px;
        justify-items: center;
        align-items: center;
        justify-content: center;
    }

    .logos-grid-small img,
    .logos-grid img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .logos-grid-small img:hover,
    .logos-grid img:hover {
        transform: scale(1.05);
    }
    
    /* FOOTER */
    
    .footer {
        background-color: #004080;
        color: white;
        padding: 15px;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        text-align: center;
    }
    
    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .footer p {
        margin: 0;
    }


    @media (max-width: 900px) {

        /* HEADER */
        
        .hamburger {
            display: flex;
        }
  
        .nav-container {
            position: absolute;
            top: 39px; 
            right: 0;
            background: #004080;
            flex-direction: column;
            gap: 0;
            width: 100%;
            max-height: 0;
            overflow: hidden;
        }

        .nav-container.open {
            max-height: 500px; 
            padding-bottom: 20px;
        }

        .menu {
            flex-direction: column;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
        }

    }


    @media (max-width: 768px) {
        
        strong {
            font-size: 1.05em;
        }
        
        .businesslogo img {
            max-height: 25px;
            max-width: 25px;
        }

        .company-name {
            font-size: 18px;
        }

        /* SECTION */
        
        .section-title {
            font-size: 27px;
        }
        
        /* HOME */
        
        .home-content {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
        }
        
        .home-firstrow {
            text-align: center;
            margin-bottom: 0; 
            order: 0;
        }
  
        .home-firstright {
            font-size: 20px;
            align-items: center;
            text-align: center;
        }
        
        .home-title {
            text-align: center !important;
            font-size: 30px;
            line-height: 1.5;
        }
        
        .home-row {
            flex-direction: column;
        }
        
        .home-left.logo {
            order: 2;
        }
        
        .home-right.title {
            order: 1;
        }
        
        .home-description {
           font-size: 22px;
           text-align: center;
        }
        
        .home-description.name {
            font-size: 18px;
        }
        
        /* CAROUSEL */
        
        .carousel-images {
            width: 200px;
            height: 200px;
        }
        
        .carousel-text {
            padding: 3px 10px;
            font-size: 18px;
            border-radius: 3px;
            letter-spacing: 0px;
        }
        
        /* QUOTES */
    
        .quote-box {
            max-width: 250px;
            padding: 10px 10px 10px 20px;
        }

        .quote-text {
            font-size: 17px;
            margin: 10px 0 5px 10px;
        }
        
        /* SERVICES */
        
        .service-item {
            flex-direction: column;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .service-item:nth-child(even) {
            flex-direction: column;
        }
        
        .service-image,
        .service-content {
            max-width: 100%;
        }
        
        .service-title {
            font-size: 26px; 
        }
    
        .service-subtitle {
            font-size: 20px;
        }
        
        /* ABOUT */
        
        .about-content {
            flex-direction: column;
            gap: 0;
        }
        
        .about-image {
            margin: 0 auto 10px;
            display: block;
        }
        
        /* CONTACTO */
        
        .contact-info {
            font-size: 20px;
        }
        
        /* CONFIANZA */
        
        .logos-grid-small,
        .logos-grid {
            grid-template-columns: 1fr;
        }



    }
