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

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: #ffffff;
    background-color: #000000;
	overflow: hidden;
}

/* HEADER */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: auto;
    padding:12px 60px;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.container {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.logo img{
    height:58px;
    display:block;
}

.lang {
    font-size: 14px;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
	filter: grayscale(100%);
	z-index: -2;
    pointer-events: none;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;

    background:
    linear-gradient(
        to right,
        rgba(0,0,0,0.70) 0%,
        rgba(0,0,0,0.45) 35%,
        rgba(0,0,0,0.15) 70%
    ),
    linear-gradient(
        to bottom,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.25) 60%,
        rgba(0,0,0,0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;

    padding-left: 60px;
    max-width: 650px;
}

.hero-content p {
    font-size: 16px;
    max-width: 1100px;
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
	border-left:3px solid #FF7002;
    padding-left:16px;
}

.btn-primary {
    padding: 14px 40px;
    background: transparent;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background:#ffffff;
    color:#FF7002;
}

/* AUTHORITY SECTION */

.authority {
    position: absolute;
    bottom: 120px;
    right: 50px;

    background:rgba(95,95,95,0.55);
    backdrop-filter:blur(6px);

    padding: 10px 14px;   /* más pequeño */

    border-radius: 8px;

    box-shadow:0 18px 35px rgba(0,0,0,0.6);

    z-index: 10;

}

.authority-container {

    display:grid;

    grid-template-columns:repeat(2, minmax(90px, auto));

    column-gap:38px;
    row-gap:16px;

    align-items:start;

}

.hero-content h1 {
    font-size: 50px;
    max-width: 650px;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.8px;
}
.authority-item h2 {

    font-size:18px;

    font-weight:600;

    letter-spacing:0.5px;

    margin-bottom:2px;

}

.authority-item p {

    font-size:9px;

    letter-spacing:1.2px;

    text-transform:uppercase;

    opacity:0.85;

}

/* Animation fade up */

.authority-item {
    opacity: 1;
    transform: translateY(0);
}

.authority-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* SOLUTIONS SECTION */

.solutions {
    background: #161616;
    padding: 140px 60px;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
}

.solutions-header h2 {
    font-size: 40px;
    margin-bottom: 80px;
    max-width: 900px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.solutions-grid {
    display: flex;
    gap: 40px;
}

.solution-card {
    flex: 1;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #0D1F43;
    transition: all 0.4s ease;
    background-size: cover;
    background-position: center;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.70);
    transition: all 0.4s ease;
}

.solution-card > * {
    position: relative;
    z-index: 2;
}
.solution-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
}

.solution-card p {
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
}

.solutions-header::before {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin: 0 auto 30px auto;
}

.solution-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.solution-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin-top: 6px;
    transition: all 0.3s ease;
}

.solution-link:hover {
    color: #cccccc;
}

.solution-link:hover::after {
    background: #FF7834;
}

.solution-card:nth-child(1) {
    background-image: url('../assets/images/casetas.jpg');
}

.solution-card:nth-child(2) {
    background-image: url('../assets/images/modulares.jpg');
}

.flexpace-card {
    background-image: url('../assets/images/flexpace.jpg');
}

/* MENU SOLUCIONES DESPLEGABLE */

.dropdown{
    position: relative;
    flex:1;
}
.dropdown::after{
    content:"";
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    height:24px;
}

.dropdown > a{
    display:block;
    text-align:center;
}

.dropdown-menu{

    position:absolute;
    top:32px;
    left:50%;
    transform:translate(-50%, -10px);

    background:rgba(95,95,95,0.55);
    backdrop-filter:blur(6px);

    padding:22px 24px;

    display:flex;
    gap:28px;

    border-radius:8px;

    box-shadow:0 18px 35px rgba(0,0,0,0.45);

    min-width:520px;

    opacity:0;
    pointer-events:none;

    transition:all .25s ease;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    transform:translate(-50%, 0);
    pointer-events:auto;
}

/* columnas */

.dropdown-section{
    display:flex;
    flex-direction:column;
    gap:10px;
    min-width:220px;
}

/* titulos */

.dropdown-section span{

    font-size:10px;
    letter-spacing:2px;
    text-transform:uppercase;

    color:rgba(255,255,255,0.55);

    margin-bottom:2px;

    text-align:center;
}

/* links */

.dropdown-section a{

    margin:0;

    font-size:13px;
    font-weight:600;

    color:#ffffff;

    text-decoration:none;

    padding:10px 14px;

    border:1px solid rgba(255,255,255,0.22);

    border-radius:8px;

    background:rgba(255,255,255,0.03);

    transition:all .25s ease;
}
.dropdown-section a:hover{

    background:#ffffff;
    color:#FF7002;
    border-color:#ffffff;

    transform:translateY(-1px);
}

.dropdown-section a:hover{

    color:#FF7834;

    transform:translateX(4px);
}



/* Contenedor principal */
.container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

/* Menú principal centrado y más ancho */
.nav{
    display:flex;
    align-items:center;
    justify-content:stretch;
    flex:1;
    margin:0 4px;
    gap:4px;
}
.nav > *{
    flex:1;
}
/* Botones del menú */
.nav a{
    flex:1;
    text-align:center;
    padding:6px 0;
    background:rgba(95,95,95,0.55);
    backdrop-filter:blur(6px);
    border-radius:6px;
    font-size:14px;
    text-decoration:none;
    color:#fff;
    transition:all .25s ease;
}

.nav a:hover{
    background:#ffffff;
    color:#FF7002;
    transform:translateY(-1px);
}

/* degradado lateral */

.overlay{
background:linear-gradient(
to right,
rgba(0,0,0,0.75) 0%,
rgba(0,0,0,0.55) 25%,
rgba(0,0,0,0.15) 50%,
rgba(0,0,0,0.05) 70%
),
linear-gradient(
to bottom,
rgba(0,0,0,0.25) 0%,
rgba(0,0,0,0.25) 60%,
rgba(0,0,0,0.95) 100%
);
}
.submenu-logo{
height:52px;
max-width:170px;
display:block;
margin:auto;
object-fit:contain;
transition: opacity .25s ease, transform .25s ease;
}

.submenu-logo:hover{
transform:scale(1.05);
}

.submenu-logo.movilx{
height:65px;
}

/* CAMBIO DE LOGO AL PASAR EL MOUSE */

.dropdown-section a:hover img[src*="movilx_blanco"]{
content:url("../assets/images/movilx_color.png");
}

.dropdown-section a:hover img[src*="reubic_blanco"]{
content:url("../assets/images/reubic_color.png");
}

.dropdown-section a:hover img[src*="flexpace_blanco"]{
content:url("../assets/images/flexpace_color.png");
}