@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');


*{
--title-font:"Inter Tight";
--primary-color: #ee2246;
--primary-color-rgb: 224, 75, 24;
--secondary-color: #ee2246;
--secondary-color-rgb: 224, 75, 24;
--bg-color: #f7f2ec;
--body-font-color:#929191;
--body-font-size: 17px;
--title-font-color: var(--primary-color);
--title-font-weight: bold;
}

.text-fit,.d-menu-1 li a{
font-weight: 500;
}

.dark-scheme .d-menu-1 li a:after{
    display: none;
}

.d-menu-1 li.active{
    background: var(--primary-color);
    padding: 0 20px;
    border-radius:30px;
    -moz-border-radius:30px;
    -webkit-border-radius:30px;
}

a.btn-main,
a.btn-main:hover{
    color:#000000;
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
}

.dark-scheme .de-marquee-list .d-item-txt{
    font-size: 60px;
    margin: 0 40px;
}

.dark-scheme .de-marquee-list .d-item-txt:nth-child(even){
    -webkit-text-stroke: 0;
    -webkit-text-fill-color: 0;
}

.owl-custom-nav .btn-prev:before,
.owl-custom-nav .btn-next:before{
    color:#000000;
}

/* Clients Carousel */
.section-clientes {
    padding: 118px 0;
}

.clients-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.clients-carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientsScroll 10s linear infinite;
}

.client-logo-img {
    height: 110px;
    width: auto;
    margin: 0 50px;
    opacity: 0.5;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.client-logo-img:hover {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px var(--primary-color));
}

@keyframes clientsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   Header Menu - Fix positioning & stacking
   ============================================= */
section.header-menu {
    position: relative;
    z-index: 100;
}

/* =============================================
   Hamburger Button (Mobile)
   ============================================= */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    outline: none;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger → X animation */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   Mobile Nav Dropdown
   ============================================= */
.mobile-nav {
    display: none;
    padding: 10px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--title-font);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    transition: color 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-nav ul li.active a {
    color: var(--primary-color);
}

/* =============================================
   Section Testimonios Carousel
   ============================================= */
.testi-quote {
    font-size: 72px;
    line-height: 0.7;
    margin-bottom: 14px;
    font-family: Georgia, serif;
    font-weight: 700;
    display: block;
}

.testi-text {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 0;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 13px;
}

.testi-card {
    height: 100%;
}

.testi-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.testi-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =============================================
   Box CTA Proyectos - prevent h2 overflow
   ============================================= */
.box-cta-proyectos h2 {
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    min-width: 0;
}