/*==================================================
    TYR PRODUCCIONES
    Version 2.0
==================================================*/


/*==================================================
    VARIABLES
==================================================*/

:root{

    --primary:#ff6b00;
    --primary-dark:#d95c00;

    --secondary:#10233F;

    --dark:#1b1f24;

    --gray:#707784;

    --light:#f8f9fb;

    --white:#ffffff;

    --radius:14px;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --transition:.35s ease;

}


/*==================================================
    RESET
==================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    color:var(--dark);

    background:var(--white);

    overflow-x:hidden;

    line-height:1.6;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    transition:var(--transition);

}

ul{

    list-style:none;

}

section{

    padding:110px 0;

}


/*==================================================
TOPBAR
==================================================*/

.topbar{

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 40px;

    display: flex;

    align-items: center;

    background: #0f172a;

    color: white;

    font-size: 14px;

    z-index: 10000;

}

.topbar .container{

    width:100%;

}

.topbar i{

    color: var(--primary);

    margin-right:8px;

}



/*==================================================
HEADER
==================================================*/

.navbar{

    position:fixed;

    top:40px;

    left:0;

    width:100%;

    padding:18px 0;

    background:transparent;

    transition:background-color .35s ease,
               padding .35s ease,
               box-shadow .35s ease;

    z-index:9999;

}

.navbar.scrolled{

    background:#ffffff;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    padding:12px 0;

}

.navbar-brand img{

    height:55px;

    transition:.35s;

}

.nav-link{

    font-weight:600;

    color:#ffffff;

    margin-left:25px;

    position:relative;

    transition:color .35s ease;

}

.navbar.scrolled .nav-link{

    color:#10233F;

}

.nav-link:hover{

    color:var(--primary);

}

.nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-link:hover::after{

    width:100%;

}


.navbar.scrolled{

    background:#ffffff;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    padding:12px 0;

    animation:navbarDown .35s ease;

}

.navbar.scrolled .nav-link{

    color:#10233F;

}

@keyframes navbarDown{

    from{

        transform:translateY(-15px);

        opacity:0;

    }

    to{

        transform:translateY(0);

        opacity:1;

    }

}

.navbar.scrolled .navbar-brand img{

    height:46px;

}


/*==================================================
    BOTONES
==================================================*/

.btn-tyr{

    background:var(--primary);

    color:white;

    border-radius:12px;

    padding:14px 32px;

    font-weight:700;

    transition:var(--transition);

}

.btn-tyr:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

    color:white;

    box-shadow:0 12px 25px rgba(255,107,0,.25);

}


/*==================================================
    HERO
==================================================*/

.hero{

padding-top:140px;

}

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:#10233F;

    color:white;

}

.hero .container{

    position:relative;

    z-index:2;

}

.badge-tyr{

    display:inline-block;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.2);

    padding:10px 18px;

    border-radius:100px;

    margin-bottom:25px;

    letter-spacing:2px;

    font-size:13px;

    font-weight:700;

}

.hero h1{

    font-size:4.4rem;

    font-weight:900;

    line-height:1.05;

    margin-bottom:30px;

}

.hero h1 span{

    color:var(--primary);

}

.hero p{

    font-size:1.25rem;

    color:rgba(255,255,255,.85);

    max-width:620px;

    margin-bottom:45px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.hero-buttons .btn-outline-light{

    padding:14px 30px;

    border-radius:12px;

    font-weight:700;

}

.dashboard-image{

    animation:float 6s ease-in-out infinite;

    filter:drop-shadow(0 30px 50px rgba(0,0,0,.4));

}


/*==================================================
    ANIMACIONES
==================================================*/

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0);

    }

}


/*==================================================
    TITULOS
==================================================*/

h2{

    font-size:2.8rem;

    font-weight:800;

    margin-bottom:25px;

    color:var(--secondary);

}

h3{

    font-weight:700;

}

.floating-card h2,
.floating-card h3{

color:white;

margin:0;

}


/*==================================================
    TARJETAS
==================================================*/

.card{

    border:none;

    border-radius:18px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 45px rgba(0,0,0,.12);

}


/*==================================================
    FOOTER
==================================================*/

footer{

    background:#0f172a;

    color:white;

    padding:70px 0;

}


/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:1200px){

.hero h1{

font-size:3.7rem;

}

}

@media(max-width:992px){

.hero{

text-align:center;

padding-top:120px;

}

.hero p{

margin:auto;

margin-bottom:40px;

}

.hero-buttons{

justify-content:center;

}

.hero img{

margin-top:60px;

}

.nav-link{

margin-left:0;

padding:12px 0;

}

}

@media(max-width:768px){

.hero h1{

font-size:2.8rem;

}

.hero p{

font-size:1.05rem;

}

section{

padding:80px 0;

}

}

@media(max-width:576px){

.hero h1{

font-size:2.2rem;

}

.hero-buttons .btn{

width:100%;

}

.hero-buttons a{

width:100%;

}

}

.hero-video{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

object-fit:cover;

z-index:0;

}

.hero h1{

max-width:700px;

}

::selection{

background:var(--primary);

color:white;

}

.hero-overlay{

position:absolute;

inset:0;

background:

linear-gradient(135deg,

rgba(16,35,63,.90),

rgba(16,35,63,.55));

z-index:1;

}

.hero .container{

position:relative;

z-index:3;

}

.floating-card{

position:absolute;

background:rgba(255,255,255,.12);

backdrop-filter:blur(14px);

border:1px solid rgba(255,255,255,.18);

padding:22px;

border-radius:18px;

color:white;

box-shadow:0 20px 50px rgba(0,0,0,.2);

animation:float 6s infinite;

z-index:4;

}

.card-events{

right:120px;

top:170px;

}

@media(max-width:1200px){

.card-events,
.card-athletes{

display:none;

}

}

.card-athletes{

right:50px;

bottom:120px;

}

.scroll-down{

position:absolute;

bottom:30px;

left:50%;

transform:translateX(-50%);

font-size:40px;

color:white;

animation:bounce 2s infinite;

z-index:4;

}

@keyframes bounce{

0%,100%{

transform:translate(-50%,0);

}

50%{

transform:translate(-50%,12px);

}

}

/*==================================================
PLATAFORMA
==================================================*/

.platform{

background:#f6f8fb;

}

.section-badge{

display:inline-block;

padding:10px 18px;

border-radius:100px;

background:#fff3ea;

color:var(--primary);

font-weight:700;

margin-bottom:20px;

}

.section-description{

max-width:750px;

margin:auto;

color:var(--gray);

margin-bottom:60px;

font-size:1.1rem;

}

.platform-card{

background:white;

padding:30px;

border-radius:20px;

box-shadow:var(--shadow);

margin-bottom:25px;

transition:.35s;

position:relative;

overflow:hidden;

}

.platform-card:hover{

transform:translateY(-8px);

}

.platform-card i{

font-size:38px;

color:var(--primary);

margin-bottom:15px;

display:block;

}

.platform-card h4{

font-weight:800;

margin-bottom:15px;

}

.platform-card p{

color:var(--gray);

margin:0;

}

.platform-center{

position:relative;

}

.dashboard-image{

border-radius:24px;

box-shadow:

0 30px 60px rgba(0,0,0,.18);

animation:float 5s infinite;

}


.container{

max-width:1320px;

}


/*==================================================
CLIENTES
==================================================*/

.clients{

background:white;

overflow:hidden;

}

.logo-slider{

margin-top:60px;

overflow:hidden;

position:relative;

}

.logo-track{

display:flex;

align-items:center;

width:max-content;

animation:logos 35s linear infinite;

}

.logo-track img{

height:70px;

margin:0 45px;

filter:grayscale(100%);

opacity:.55;

transition:.35s;

}

.logo-track img:hover{

filter:none;

opacity:1;

transform:scale(1.08);

}

@keyframes logos{

0%{

transform:translateX(0);

}

100%{

transform:translateX(-50%);

}

}


/*==================================================
ESTADÍSTICAS
==================================================*/

.stats{

background:#10233F;

color:white;

position:relative;

overflow:hidden;

}

.stats::before{

content:"";

position:absolute;

width:700px;

height:700px;

background:rgba(255,107,0,.08);

border-radius:50%;

top:-350px;

right:-250px;

}

.stats::after{

content:"";

position:absolute;

width:500px;

height:500px;

background:rgba(255,255,255,.04);

border-radius:50%;

bottom:-250px;

left:-150px;

}

.stat-card{

position:relative;

z-index:2;

padding:45px 30px;

text-align:center;

border-radius:20px;

background:rgba(255,255,255,.05);

backdrop-filter:blur(10px);

border:1px solid rgba(255,255,255,.08);

transition:.35s;

height:100%;

}

.stat-card:hover{

transform:translateY(-10px);

background:rgba(255,255,255,.08);

}

.stat-icon{

width:80px;

height:80px;

margin:auto;

margin-bottom:25px;

border-radius:50%;

background:rgba(255,107,0,.18);

display:flex;

align-items:center;

justify-content:center;

}

.stat-icon i{

font-size:34px;

color:var(--primary);

}

.stat-card h2{

font-size:3.4rem;

font-weight:900;

margin-bottom:0;

color:white;

display:inline-block;

}

.stat-card span{

font-size:2rem;

font-weight:700;

color:var(--primary);

}

.stat-card h5{

margin-top:15px;

margin-bottom:15px;

font-weight:800;

color:white;

}

.stat-card p{

margin:0;

color:rgba(255,255,255,.75);

font-size:.95rem;

}



/*==================================================
SERVICIOS
==================================================*/

.services{

background:white;

}

.service-card{

background:white;

padding:40px 30px;

border-radius:22px;

text-align:center;

box-shadow:0 15px 40px rgba(0,0,0,.06);

transition:.35s;

height:100%;

border:1px solid #edf0f5;

position:relative;

overflow:hidden;

}

.service-card::before{

content:"";

position:absolute;

top:0;

left:0;

width:100%;

height:5px;

background:var(--primary);

transform:scaleX(0);

transform-origin:left;

transition:.35s;

}

.service-card:hover::before{

transform:scaleX(1);

}

.service-card:hover{

transform:translateY(-12px);

box-shadow:0 25px 55px rgba(0,0,0,.12);

}

.service-card i{

font-size:52px;

color:var(--primary);

margin-bottom:25px;

display:block;

}

.service-card h4{

font-weight:800;

margin-bottom:15px;

}

.service-card p{

margin:0;

color:var(--gray);

}

.featured{

background:linear-gradient(135deg,#10233F,#1d3d68);

color:white;

}

.featured p{

color:rgba(255,255,255,.8);

}

.featured i{

color:#ffb347;

}

.featured h4{

color:white;

}



/*==================================================
EVENTOS
==================================================*/

.events{

background:#f8fafc;

}

.event-card{

background:white;

border-radius:22px;

overflow:hidden;

box-shadow:0 18px 45px rgba(0,0,0,.08);

transition:.4s;

height:100%;

}

.event-card:hover{

transform:translateY(-12px);

box-shadow:0 30px 60px rgba(0,0,0,.14);

}

.event-image{

position:relative;

overflow:hidden;

height:260px;

}

.event-image img{

width:100%;

height:100%;

object-fit:cover;

transition:.6s;

}

.event-card:hover img{

transform:scale(1.08);

}

.event-status{

position:absolute;

top:20px;

left:20px;

padding:10px 18px;

border-radius:100px;

font-size:13px;

font-weight:700;

color:white;

}

.open{

background:#16a34a;

}

.closed{

background:#f97316;

}

.event-content{

padding:30px;

}

.event-date{

color:#64748b;

font-size:14px;

margin-bottom:15px;

}

.event-location{

margin-top:18px;

color:#64748b;

}

.event-location i{

color:var(--primary);

margin-right:8px;

}

.event-content h3{

font-size:1.6rem;

margin-top:10px;

font-weight:800;

}



/*==================================================
TECNOLOGÍA
==================================================*/

.technology{

background:white;

overflow:hidden;

}

.dashboard-wrapper{

position:relative;

}

.dashboard-main{

border-radius:24px;

box-shadow:0 35px 70px rgba(0,0,0,.18);

}

.dashboard-floating{

position:absolute;

background:white;

padding:18px 22px;

border-radius:16px;

box-shadow:0 15px 40px rgba(0,0,0,.12);

font-weight:700;

animation:float 6s infinite;

}

.dashboard-floating i{

color:var(--primary);

margin-right:8px;

}

.dashboard-1{

top:30px;

left:-30px;

}

.dashboard-2{

bottom:60px;

left:-20px;

}

.dashboard-3{

top:120px;

right:-25px;

}

.tech-list{

margin-top:35px;

}

.tech-item{

margin-bottom:20px;

font-size:1.1rem;

display:flex;

align-items:center;

gap:15px;

}

.tech-item i{

font-size:24px;

color:#16a34a;

}



/*==================================================
GALERÍA
==================================================*/

.gallery{

background:#f8fafc;

}

.gallery-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

grid-auto-rows:260px;

gap:18px;

}

.gallery-item{

position:relative;

overflow:hidden;

border-radius:22px;

cursor:pointer;

}

.gallery-item img{

width:100%;

height:100%;

object-fit:cover;

transition:.7s;

}

.gallery-item:hover img{

transform:scale(1.12);

}

.gallery-overlay{

position:absolute;

inset:0;

background:linear-gradient(
to top,
rgba(16,35,63,.92),
rgba(16,35,63,.15)
);

display:flex;

align-items:flex-end;

padding:30px;

opacity:0;

transition:.4s;

}

.gallery-item:hover .gallery-overlay{

opacity:1;

}

.gallery-overlay h4{

color:white;

font-size:1.4rem;

font-weight:700;

margin:0;

}

.gallery-item.tall{

grid-row:span 2;

}

.gallery-item.wide{

grid-column:span 2;

}

@media(max-width:992px){

.gallery-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.gallery-grid{

grid-template-columns:1fr;

grid-auto-rows:260px;

}

.gallery-item.tall,
.gallery-item.wide{

grid-column:span 1;

grid-row:span 1;

}

}


/*==========================================
FORZAR COLOR DEL MENÚ
==========================================*/

.navbar .nav-link,
.navbar .navbar-brand,
.navbar .navbar-brand span{

    color:#fff !important;

}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand,
.navbar.scrolled .navbar-brand span{

    color:#10233F !important;

}

.navbar .nav-link.active{

    color:#fff !important;

}

.navbar.scrolled .nav-link.active{

    color:#10233F !important;

}



/*=========================================================
CONTACTO
=========================================================*/

.contact{

    padding:140px 0;

    background:#08111f;

}

.contact-wrapper{

    overflow:hidden;

    border-radius:28px;

    box-shadow:0 25px 70px rgba(0,0,0,.35);

}

.contact-image{

    position:relative;

    min-height:760px;

    background:url("../img/contact/contact.png") center center;

    background-size:cover;

}

.contact-image::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        180deg,
        rgba(5,12,22,.55),
        rgba(5,12,22,.92)
    );

}

.contact-overlay{

    position:relative;

    z-index:2;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:70px;

}

.contact-overlay h3{

    color:#fff;

    font-size:40px;

    font-weight:800;

    margin-bottom:25px;

}

.contact-overlay p{

    color:#c6d0df;

    line-height:1.9;

    margin-bottom:45px;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.contact-item{

    display:flex;

    gap:18px;

    align-items:center;

}

.contact-item i{

    width:58px;

    height:58px;

    background:#FF6B00;

    color:#fff;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

}

.contact-item h5{

    color:#fff;

    margin:0;

    font-size:18px;

}

.contact-item span{

    color:#c6d0df;

}

.contact-form{

    background:#111c31;

    height:100%;

    padding:70px;

}

.contact-form label{

    color:#fff;

    margin-bottom:10px;

    font-weight:600;

}

.contact-form .form-control,
.contact-form .form-select{

    background:#0d1728;

    border:1px solid rgba(255,255,255,.08);

    color:#fff;

    border-radius:14px;

    padding:16px;

}

.contact-form .form-control:focus,
.contact-form .form-select:focus{

    border-color:#FF6B00;

    background:#0d1728;

    color:#fff;

    box-shadow:none;

}

.contact-form textarea{

    resize:none;

}

.contact-form button{

    padding:16px 40px;

}

@media(max-width:991px){

    .contact-image{

        min-height:500px;

    }

    .contact-overlay,
    .contact-form{

        padding:45px;

    }

}



.contact-title{

    color:#fff;

    font-size:52px;

    font-weight:800;

    margin-bottom:20px;

}

.contact-description{

    color:#c8d3e4;

    max-width:760px;

    margin:0 auto;

    font-size:19px;

    line-height:1.8;

}



.contact-title{

    color:#fff;

    font-size:56px;

    font-weight:800;

    line-height:1.2;

}

.contact-title span{

    color:#FF6B00;

}



/*=========================================================
FOOTER
=========================================================*/

.footer{

    background:#050b16;

    padding:90px 0 35px;

}

.footer-logo{

    height:55px;

    margin-bottom:25px;

}

.footer-description{

    color:#9db0cb;

    line-height:1.9;

    max-width:360px;

}

.footer h5{

    color:#fff;

    font-size:18px;

    margin-bottom:25px;

    font-weight:700;

}

.footer ul{

    list-style:none;

    padding:0;

    margin:0;

}

.footer li{

    margin-bottom:14px;

}

.footer a{

    color:#9db0cb;

    text-decoration:none;

    transition:.3s;

}

.footer a:hover{

    color:#FF6B00;

}

.footer-contact{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.footer-contact div{

    color:#9db0cb;

}

.footer-contact i{

    color:#FF6B00;

    margin-right:12px;

}

.footer-social{

    display:flex;

    gap:14px;

    margin-top:35px;

}

.footer-social a{

    width:48px;

    height:48px;

    border-radius:14px;

    background:#111c31;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    color:#fff;

    transition:.35s;

}

.footer-social a:hover{

    background:#FF6B00;

    transform:translateY(-5px);

}

.footer-divider{

    border-color:rgba(255,255,255,.08);

    margin:60px 0 30px;

}

.footer-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#7d8da6;

    font-size:14px;

}

.footer-bottom a{

    margin-left:25px;

    color:#7d8da6;

}

.footer-bottom a:hover{

    color:#fff;

}

@media(max-width:991px){

    .footer-bottom{

        flex-direction:column;

        gap:20px;

        text-align:center;

    }

}



/*=========================================================
BACK TO TOP
=========================================================*/

.back-to-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:56px;

    height:56px;

    border:none;

    border-radius:18px;

    background:#FF6B00;

    color:#fff;

    font-size:22px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    opacity:0;

    visibility:hidden;

    transform:translateY(20px);

    transition:all .35s ease;

    z-index:9999;

    box-shadow:0 12px 35px rgba(0,0,0,.35);

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.back-to-top:hover{

    background:#ff7d1f;

    transform:translateY(-6px);

    box-shadow:0 20px 40px rgba(0,0,0,.45);

}

.back-to-top:active{

    transform:scale(.95);

}

@media(max-width:768px){

    .back-to-top{

        right:20px;

        bottom:20px;

        width:50px;

        height:50px;

        border-radius:16px;

    }

}


