:root{
    --bg:#0b0d0f;
    --bg-soft:#11161a;
    --surface:#171d22;
    --surface-strong:#20272d;
    --text:#f7f9fb;
    --muted:#b7c0c9;
    --line:rgba(255,255,255,0.12);
    --accent:#436aaf;
    --accent-strong:#2d4f8a;
    --accent-warm:#eab308;
    --accent-cool:#5b82c8;
    --shadow:0 24px 60px rgba(0,0,0,0.35);
    --container:1180px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

body.modal-open{
    overflow:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
}

button,
input,
textarea{
    font:inherit;
}

/* EDITAR ESTILO: cambia estos colores si queres adaptar el sitio a tu marca. */
.site-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    padding:20px clamp(20px,4vw,56px);
    background:rgba(7,9,11,0.72);
    border-bottom:1px solid transparent;
    backdrop-filter:blur(16px);
    transition:padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled{
    padding-top:12px;
    padding-bottom:12px;
    background:rgba(7,9,11,0.9);
    border-color:var(--line);
}

.brand{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    min-width:0;
}

.logo{
    width:76px;
    height:76px;
    object-fit:contain;
    transition:transform 0.25s ease;
}

.brand:hover .logo{
    transform:scale(1.04);
}

.brand-copy{
    display:flex;
    flex-direction:column;
    gap:4px;
    line-height:1;
}

.brand-copy strong{
    font-size:1.35rem;
    text-transform:uppercase;
    letter-spacing:0.06em;
}

.brand-copy small{
    color:var(--muted);
    font-size:0.78rem;
}

.nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.nav a{
    position:relative;
    color:var(--muted);
    text-decoration:none;
    font-size:0.95rem;
    font-weight:700;
    transition:color 0.25s ease;
}

.nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:2px;
    background:var(--accent);
    transform:scaleX(0);
    transform-origin:left;
    transition:transform 0.25s ease;
}

.nav a:hover,
.nav a.is-active{
    color:var(--text);
}

.nav a:hover::after,
.nav a.is-active::after{
    transform:scaleX(1);
}

.menu-toggle{
    display:none;
    width:46px;
    height:46px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    background:rgba(255,255,255,0.08);
    border:1px solid var(--line);
    border-radius:8px;
    cursor:pointer;
}

.menu-toggle span{
    width:20px;
    height:2px;
    background:var(--text);
    transition:transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2){
    opacity:0;
}

.menu-toggle.is-open span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

.hero{
    position:relative;
    min-height:94svh;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:150px clamp(20px,5vw,72px) 64px;
}

.hero-slider,
.hero-overlay{
    position:absolute;
    inset:0;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transform:scale(1.04);
    transition:opacity 2.8s ease-in-out, transform 14s linear;
}

.slide.active{
    opacity:1;
    transform:scale(1);
}

.hero-overlay{
    background:
        linear-gradient(90deg, rgba(4,6,8,0.9) 0%, rgba(4,6,8,0.58) 46%, rgba(4,6,8,0.18) 100%),
        linear-gradient(0deg, rgba(11,13,15,0.92) 0%, rgba(11,13,15,0.05) 48%, rgba(11,13,15,0.5) 100%);
}

.hero-content{
    position:relative;
    z-index:2;
    width:min(960px,100%);
    margin:0 auto;
    text-align:center;
}

.section-kicker{
    color:var(--accent);
    font-size:0.82rem;
    font-weight:800;
    text-transform:uppercase;
    margin-bottom:18px;
}

.hero-title{
    font-size:clamp(2rem,4.5vw,3.6rem);
    font-weight:900;
    margin-bottom:18px;
    text-align:center;
}

.hero-copy{
    max-width:700px;
    margin-left:auto;
    margin-right:auto;
    color:var(--muted);
    font-size:clamp(1.12rem,2vw,1.5rem);
    line-height:1.6;
}

.hero-metrics{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    max-width:480px;
    margin:46px auto 0;
}

.hero-metrics article{
    padding:18px 22px;
    background:rgba(255,255,255,0.08);
    border:1px solid var(--line);
    border-radius:8px;
    backdrop-filter:blur(10px);
    text-align:center;
}

.hero-metrics strong{
    display:block;
    color:var(--accent-warm);
    font-size:clamp(2rem,4vw,3.4rem);
    line-height:1;
    margin-bottom:10px;
}

.hero-metrics span{
    color:var(--muted);
    line-height:1.35;
}

.section-band{
    padding:85px clamp(20px,5vw,72px);
}

.section-inner{
    width:min(var(--container),100%);
    margin:0 auto;
}

.split-layout,
.contact-layout{
    display:grid;
    grid-template-columns:0.95fr 1.05fr;
    gap:clamp(36px,6vw,82px);
    align-items:start;
}

.section-heading h2{
    font-size:clamp(2.4rem,5vw,5.2rem);
    line-height:1.02;
}

.section-heading.centered{
    max-width:820px;
    margin:0 auto 54px;
    text-align:center;
}

.section-heading.centered p:last-child{
    color:var(--muted);
    font-size:1.12rem;
    line-height:1.6;
    margin-top:18px;
}

.services{
    background:#0e1114;
}

.services-container{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
}

.service-card{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    color:var(--text);
    text-align:left;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:10px;
    cursor:pointer;
    overflow:hidden;
    box-shadow:none;
    transition:transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
    min-height:420px;
}

.service-card:hover,
.service-card:focus-visible{
    transform:translateY(-8px);
    background:var(--surface-strong);
    border-color:rgba(67,106,175,0.48);
    box-shadow:var(--shadow);
    outline:none;
}

.card-image{
    position:relative;
    width:100%;
    height:200px;
    overflow:hidden;
    flex-shrink:0;
}

.card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.4s ease;
}

.service-card:hover .card-image img{
    transform:scale(1.06);
}

.card-body{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:22px 24px 26px;
    flex:1;
}

.service-number{
    color:var(--accent-warm);
    font-size:0.9rem;
    font-weight:900;
}

.service-card h3{
    font-size:clamp(1.3rem,2.2vw,1.65rem);
    line-height:1.15;
}

.service-card p{
    color:var(--muted);
    font-size:0.92rem;
    line-height:1.55;
    flex:1;
}

.card-link{
    color:var(--accent-cool);
    font-weight:800;
    margin-top:auto;
}

.contact{
    background:var(--bg-soft);
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    max-width:620px;
    margin:0 auto;
}

.contact-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    padding:24px 18px 22px;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:10px;
    text-align:center;
}

.contact-card--wide{
    grid-column:1/-1;
    flex-direction:row;
    justify-content:center;
    gap:12px;
    padding:18px 20px;
}

.contact-icon{
    width:24px;
    height:24px;
    color:var(--accent);
    opacity:0.7;
    flex-shrink:0;
}

.contact-card strong{
    font-size:0.95rem;
    color:var(--text);
}

.contact-card span{
    font-size:0.88rem;
    color:var(--muted);
}

.contact-email{
    word-break:break-all;
}

@media(max-width:760px){
    .contact-grid{
        grid-template-columns:1fr;
        max-width:380px;
    }

    .contact-card--wide{
        flex-direction:column;
        gap:8px;
        padding:20px 18px;
    }
}

.modal{
    position:fixed;
    inset:0;
    z-index:3000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
}

.modal.is-open{
    display:flex;
}

.modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.82);
    backdrop-filter:blur(8px);
}

.modal-panel{
    position:relative;
    z-index:1;
    width:min(1080px,100%);
    max-height:90vh;
    display:grid;
    grid-template-columns:1.5fr 0.8fr;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:8px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.modal-media{
    position:relative;
    min-height:520px;
    background:#000;
}

.modal-media img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.modal-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:38px;
}

.modal-info h3{
    font-size:clamp(2rem,4vw,3.7rem);
    line-height:1;
    margin-bottom:22px;
}

.modal-info p:last-child{
    color:var(--muted);
    font-size:1.08rem;
    line-height:1.7;
}

.modal-close,
.modal-nav{
    position:absolute;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:var(--text);
    background:rgba(0,0,0,0.58);
    border:1px solid rgba(255,255,255,0.2);
    border-radius:8px;
    cursor:pointer;
    transition:background 0.25s ease, transform 0.25s ease;
}

.modal-close:hover,
.modal-nav:hover{
    background:rgba(67,106,175,0.85);
    transform:translateY(-1px);
}

.modal-close{
    top:18px;
    right:18px;
    width:46px;
    height:46px;
    font-size:2rem;
}

.modal-nav{
    top:50%;
    width:48px;
    height:48px;
    transform:translateY(-50%);
    border-radius:50%;
}

.modal-nav::after{
    content:'';
    display:block;
    width:14px;
    height:14px;
    border:2px solid var(--text);
    border-left:0;
    border-bottom:0;
}

.modal-nav.left::after{
    transform:rotate(-135deg);
}

.modal-nav.right::after{
    transform:rotate(45deg);
}

.modal-nav:hover{
    transform:translateY(-50%) scale(1.06);
}

.modal-nav.left{
    left:18px;
}

.modal-nav.right{
    right:18px;
}

.footer{
    padding:28px 20px;
    color:var(--muted);
    background:#050607;
    border-top:1px solid var(--line);
    text-align:center;
}

.footer-inner{
    width:min(var(--container),100%);
    margin:0 auto;
    display:grid;
    gap:6px;
}

.footer-inner strong{
    color:var(--text);
}

.footer-copy{
    font-size:0.82rem;
    opacity:0.6;
}

.reveal{
    opacity:0;
    transform:translateY(30px);
    transition:opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible{
    opacity:1;
    transform:translateY(0);
}

/* NOVEDAD - franja premium */
#novedades-destacadas{
    position:relative;
    overflow:hidden;
    box-shadow:0 0 30px rgba(67,106,175,0.2);
    animation:novGlow 2.6s ease-in-out infinite;
}

#novedades-destacadas::after{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:60%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation:novShimmer 3.4s ease-in-out infinite;
}

#novedades-destacadas:hover{
    opacity:0.94;
    box-shadow:0 0 55px rgba(67,106,175,0.4);
}

@keyframes novGlow{
    0%,100%{box-shadow:0 0 20px rgba(67,106,175,0.15);}
    50%{box-shadow:0 0 45px rgba(67,106,175,0.3);}
}

@keyframes novShimmer{
    0%{left:-60%;}
    60%{left:120%;}
    100%{left:120%;}
}

@media(max-width:980px){
    .modal-panel{
        grid-template-columns:1fr;
    }

    .services-container{
        grid-template-columns:1fr 1fr;
    }

    .modal-media{
        min-height:420px;
    }
}

@media(max-width:760px){
    .site-header{
        padding:14px 18px;
    }

    .logo{
        width:56px;
        height:56px;
    }

    .brand-copy small{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .nav{
        position:absolute;
        top:100%;
        left:18px;
        right:18px;
        display:grid;
        gap:0;
        padding:12px;
        background:rgba(7,9,11,0.96);
        border:1px solid var(--line);
        border-radius:8px;
        transform:translateY(-10px);
        opacity:0;
        pointer-events:none;
        transition:opacity 0.25s ease, transform 0.25s ease;
    }

    .nav.is-open{
        opacity:1;
        transform:translateY(0);
        pointer-events:auto;
    }

    .nav a{
        padding:14px;
    }

    .nav a::after{
        display:none;
    }

    .hero{
        min-height:92svh;
        padding:126px 20px 42px;
    }

    .hero-title{
        font-size:clamp(1.6rem,5vw,2.8rem);
    }

    .hero-copy{
        font-size:clamp(0.95rem,3vw,1.15rem);
    }

    .hero-overlay{
        background:
            linear-gradient(0deg, rgba(4,6,8,0.92) 0%, rgba(4,6,8,0.55) 50%, rgba(4,6,8,0.7) 100%);
    }

    .hero-metrics,
    .services-container{
        grid-template-columns:1fr;
    }

    .hero-metrics{
        gap:10px;
        margin-top:32px;
    }

    .section-band{
        padding:54px 18px;
    }

    .section-heading.centered{
        margin-bottom:32px;
    }

    .section-heading h2{
        font-size:clamp(1.6rem,6vw,2.4rem);
    }

    .section-heading.centered p:last-child{
        font-size:0.95rem;
    }

    .service-card{
        min-height:280px;
    }

    .card-image{
        height:160px;
    }

    .card-body{
        padding:16px 18px 20px;
        gap:8px;
    }

    .service-card h3{
        font-size:1.2rem;
    }

    .service-card p{
        font-size:0.85rem;
    }

    .modal{
        padding:10px;
    }

    .modal-panel{
        max-height:95vh;
    }

    .modal-media{
        min-height:260px;
    }

    .modal-info{
        padding:20px;
    }

    .modal-info h3{
        font-size:clamp(1.3rem,5vw,1.8rem);
        margin-bottom:14px;
    }

    .modal-info p:last-child{
        font-size:0.92rem;
    }

    .modal-nav{
        width:40px;
        height:40px;
    }

    .modal-nav::after{
        width:12px;
        height:12px;
    }

    .modal-nav.left{
        left:10px;
    }

    .modal-nav.right{
        right:10px;
    }

    .modal-close{
        width:40px;
        height:40px;
        font-size:1.6rem;
        top:12px;
        right:12px;
    }
}

@media(max-width:480px){
    .hero{
        padding:106px 16px 34px;
        min-height:90svh;
    }

    .hero-title{
        font-size:1.4rem;
    }

    .hero-copy{
        font-size:0.88rem;
    }

    .hero-metrics strong{
        font-size:clamp(1.6rem,6vw,2rem);
    }

    .hero-metrics span{
        font-size:0.82rem;
    }

    .section-band{
        padding:40px 14px;
    }

    .section-heading h2{
        font-size:1.4rem;
    }

    .card-image{
        height:140px;
    }

    .modal-info{
        padding:16px;
    }
}

@media(prefers-reduced-motion:reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        transition-duration:0.01ms !important;
        animation-duration:0.01ms !important;
        animation-iteration-count:1 !important;
    }
}
