@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,700;12..96,800&family=Poppins:wght@300;400;500;600;800&display=swap');

:root {
    --navy: #0b2941;
    --orange: #ff6501;
    --beige: #eee2b0;
    --navy-light: #0e3560;
    --white: #ffffff;

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Bricolage Grotesque', sans-serif;
}
/* =========================
   BASE
========================= */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}
.bodymain {
    background:
        radial-gradient(circle at top,
        rgba(61,146,231,0.45),
        transparent 40%),
        linear-gradient(to bottom,
        #092135 10%,
        #0e3560 35%,
        #084469 70%,
        #0b3d62 100%);
    color: white;
    font-family: var(--font-body);
    min-height: 100vh;
}
/* =========================
   TIPOGRAFÍA GLOBAL
========================= */
h1,h2,h3,h4,h5,h6,
.buttonMenu,
.menuFlotante a,
.stackItem,
.ctaButton,
.formButton,
.footerSocial a {
    font-family: var(--font-display);
}
body,p,a,span,label,input,textarea,select {
    font-family: var(--font-body);
}
/* =========================
   NAVBAR
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 20px; /* 👈 baja de 40 a 20 */
    box-sizing: border-box;

    background: rgba(11,41,65,0.35);
    backdrop-filter: blur(12px);
    z-index: 999;
    border-bottom: 2px solid rgba(255,101,1,0.35);
}
.logoNavbar img {
    height: 48px;
    margin-left: 40px; /* ajusta este valor */

}
/* =========================
   MENU
========================= */
.buttonMenu {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    padding: 12px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: .3s ease;
}
.buttonMenu:hover {
    background: var(--orange);
    border-color: var(--orange);
}
.menuFlotante {
    position: fixed;
    inset: 0;
    background: rgba(11,41,65,0.92);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
    z-index: 9999;
}
.menuFlotante.active {
    opacity: 1;
    pointer-events: auto;
}
.menuFlotante a {
    color: white;
    text-decoration: none;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 700;
}
.heroSection {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.heroOverlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 2;
}
.heroContent {
    position: relative;
    z-index: 3;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.heroContent .title-light {
    font-size: clamp(28px, 7vw, 52px);
}
.heroContent .title-accent {
    font-size: clamp(52px, 16vw, 140px);
}
.heroBtn {
    position: absolute !important;
    bottom: clamp(80px, 18vh, 220px) !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    font-size: clamp(18px, 2.5vw, 28px) !important;
    padding: 14px 24px !important;
    width: auto !important;
    white-space: nowrap;
}
.heroArrow{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.title-light{
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 4.5vw, 54px);
    font-weight: 300;
    color: white;
    margin: 0;
}
.reelsHero .title-light{
    letter-spacing: -7px;
}
.title-accent {
    font-family: var(--font-body);   
    font-size: clamp(72px, 16vw, 140px);
    font-weight: 800;
    color: var(--orange);
    margin: 0;
    line-height: .9;
    letter-spacing: clamp(-2px, -0.5vw, -8px);
    text-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.procesoCard h3{
    font-family:var(--font-body);
    color:var(--orange);
    font-size:40px;
    margin:0 0 8px;
    line-height:.9;
    letter-spacing:-10px;

    height: 85px;
}
/* =========================
   STACK
========================= */
.stackSection {
    width: 100%;
    min-height: 120vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stackContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.stackItem {
    font-size: clamp(24px, 5.5vw, 72px);
    font-weight: 900;
    text-transform: uppercase;
}
.serviciosSection {
    padding: 60px 40px;
}
.serviciosTitleGroup {
    text-align: center;
}
/* =========================
   PORTAFOLIO
========================= */
.portafolioSection {
    padding: 120px 0 180px;
    overflow: hidden;
}
.portafolioTitle{
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    transform: translateY(5px); /* lo baja hacia el carrusel */
    margin-bottom: -40px;        /* lo mete dentro del carrusel */
}
.portafolioTitle .title-light{
    margin-bottom: -25px;
    position: relative;
    top: -15px;
}
.portfolioCard {
    min-width: 160px;
    height: 650px;   /* 👈 aquí lo haces más pequeño */
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}
.portfolioCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carouselContainer {
    overflow: hidden;
}
.carouselVertical {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollHorizontal 35s linear infinite;
}
.carouselVertical:hover {
    animation-play-state: paused;
}
@keyframes scrollHorizontal{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-50%);
    }
}
/* =========================
   CLIENTES
========================= */
.clientesSection {
    width: 86%;
    margin: 220px auto; /* antes 140px */
    padding: 140px 60px;
    background: #f4f4f4;
    border-radius: 40px;
    color: black;
}
/* =========================
   FOOTER
========================= */
.footer {
    background: #0b2941;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: white;
}
.navbarButtons{
    display:flex;
    align-items:center;
    gap:12px;
    margin-right: 40px; 

}
.navbarCta{
    background: var(--orange) !important;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}
.navbarCta:hover{
    background: #e05500;
}
.whatsappBtn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}
.whatsappBtn:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}
.whatsappFloat{
    position: fixed;
    bottom: 220px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
    transition: .3s ease;
        animation: whatsappPulse 2s infinite;
}
.whatsappFloat:hover{
    transform: scale(1.1);
}
@keyframes whatsappPulse{
    0%{
        box-shadow: 0 0 0 0 rgba(37,211,102,.6);
    }
    70%{
        box-shadow: 0 0 0 18px rgba(37,211,102,0);
    }
    100%{
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}
.callFloat{
    position:fixed;
    right:25px;
    /* 80px debajo del WhatsApp */
    bottom:140px;
    width:65px;
    height:65px;
    background:#0b3d62;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
    transition:.3s ease;
    background: var(--orange);
    animation: callPulse 2s infinite;    
    animation-delay: 1s;
}
@keyframes callPulse{
    0%{
        box-shadow: 0 0 0 0 rgba(255,101,1,.7);
    }

    70%{
        box-shadow: 0 0 0 18px rgba(255,101,1,0);
    }

    100%{
        box-shadow: 0 0 0 0 rgba(255,101,1,0);
    }
}
.whatsappFloat:hover,
.callFloat:hover{
    transform:scale(1.1);
}
@media (max-width: 768px) {
    .portafolioTitle {
        margin-bottom: -15px;
    }
}
@media (min-width: 769px) {
    .serviciosTitleGroup {
        position: relative;
        top: 15px;
    }
}
@media (max-width: 768px) {
    .carouselContainer {
        width: 80%;
        max-height: 650px;
        margin: 0 auto;
        border-radius: 12px;
    }
}
@media (max-width: 1366px){

    .portfolioCard{
        min-width: 125px;
        height: 500px;
    }

    .carouselVertical{
        gap: 0px;
    }
    .portafolioTitle{
        transform: translateY(0);
        margin-bottom: -20px;
    }

}
