/* =========================================
   TONY TJ TRANSPORTES
   PÁGINA COMERCIAL
   ESTILO OSCURO / NARANJA
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0b0b;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   COLORES
========================================= */

:root {
    --negro: #0b0b0b;
    --negro-suave: #101010;
    --gris-panel: #171717;
    --gris-borde: #303030;
    --blanco: #ffffff;
    --gris-texto: #b8b8b8;
    --naranja: #e85a32;
    --naranja-claro: #f06a3c;
}


/* =========================================
   ENCABEZADO
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid #1f1f1f;

    z-index: 1000;
}

.logo {
    color: var(--naranja);

    white-space: nowrap;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
}

.navbar nav {
    display: flex;
    gap: 42px;
}

.navbar nav a {
    font-size: 17px;
    color: #eeeeee;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--naranja);
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 150px 7% 90px;

    background:
        linear-gradient(
            90deg,
            rgba(8, 8, 8, 0.98) 0%,
            rgba(8, 8, 8, 0.90) 35%,
            rgba(8, 8, 8, 0.48) 62%,
            rgba(8, 8, 8, 0.10) 100%
        ),
        url("../img/volvo-tres-virgenes.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 780px;
}

.eyebrow {
    margin-bottom: 22px;
    white-space: nowrap;
    color: var(--naranja);

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 4px;
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -2px;

    margin-bottom: 32px;
}

.hero h1 span {
    display: block;
    color: var(--naranja);
}

.hero-text {
    max-width: 760px;

    color: #dddddd;

    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.55;

    margin-bottom: 42px;
}

.btn-monitor,
.btn-contacto {
    display: inline-block;

    padding: 19px 40px;

    background: var(--naranja);
    color: #ffffff;

    border-radius: 5px;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;

    transition: 0.3s;
}

.btn-monitor:hover,
.btn-contacto:hover {
    background: var(--naranja-claro);
    transform: translateY(-3px);
}


/* =========================================
   MONITOREO
========================================= */

.monitoreo {
    min-height: 90vh;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    gap: 80px;

    padding: 150px 7%;

    background: var(--negro-suave);
}

.monitoreo-texto {
    max-width: 650px;
}

.monitoreo h2,
.seccion-titulo h2,
.nosotros h2,
.contacto h2 {
    font-size: clamp(45px, 5vw, 72px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2px;

    margin-bottom: 32px;
}

.monitoreo h2 span,
.seccion-titulo h2 span,
.nosotros h2 span,
.contacto h2 span {
    display: block;
    color: var(--naranja);
}

.monitoreo-descripcion {
    max-width: 720px;

    color: #d0d0d0;

    font-size: 20px;
    line-height: 1.7;

    margin-bottom: 55px;
}


/* =========================================
   CARACTERÍSTICAS
========================================= */

.monitoreo-caracteristicas {
    display: flex;
    gap: 60px;
}

.monitoreo-caracteristicas > div {
    text-align: center;
}

.monitoreo-caracteristicas strong {
    display: block;

    font-size: 38px;

    margin-bottom: 10px;
}

.monitoreo-caracteristicas p {
    color: #bdbdbd;
    font-size: 16px;
}


/* =========================================
   PANEL DE MONITOREO
========================================= */

.monitoreo-panel {
    max-width: 570px;
    width: 100%;

    margin-left: auto;

    padding: 45px 55px;

    background: var(--gris-panel);

    border: 1px solid var(--gris-borde);
    border-radius: 18px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.estado {
    display: flex;
    align-items: center;
    gap: 14px;

    color: #dddddd;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;

    margin-bottom: 55px;
}

.punto-verde {
    width: 15px;
    height: 15px;

    display: inline-block;

    background: #48c85a;

    border-radius: 50%;

    box-shadow: 0 0 18px rgba(72, 200, 90, 0.55);
}

.temperatura {
    font-size: clamp(65px, 7vw, 92px);
    line-height: 1;

    font-weight: 800;

    letter-spacing: -3px;
}

.temperatura span {
    color: var(--naranja);

    font-size: 42px;
    letter-spacing: 0;
}

.temperatura-label {
    color: #999999;
    font-size: 17px;

    margin-top: 14px;
}

.monitoreo-panel hr {
    border: 0;
    border-top: 1px solid #353535;

    margin: 48px 0 35px;
}

.ubicacion {
    color: #eeeeee;
    font-size: 23px;

    margin-bottom: 12px;
}

.actualizacion {
    color: #888888;
    font-size: 16px;
}


/* =========================================
   SERVICIOS
========================================= */

.servicios {
    min-height: 80vh;

    padding: 120px 7%;

    background: #0b0b0b;
}

.seccion-titulo {
    max-width: 850px;
    margin-bottom: 70px;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.servicio-card {
    padding: 40px 35px;

    background: #151515;

    border: 1px solid #292929;
    border-radius: 12px;

    transition: 0.3s;
}

.servicio-card:hover {
    transform: translateY(-6px);
    border-color: var(--naranja);
}

.icono {
    font-size: 42px;

    margin-bottom: 25px;
}

.servicio-card h3 {
    font-size: 25px;

    margin-bottom: 18px;
}

.servicio-card p {
    color: #aaaaaa;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   SOBRE NOSOTROS
========================================= */

.nosotros {
    min-height: 80vh;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 90px;

    padding: 120px 7%;

    background: var(--negro-suave);
}

.nosotros-contenido {
    max-width: 700px;
}

.nosotros-contenido p {
    color: #c2c2c2;

    font-size: 20px;
    line-height: 1.8;

    margin-bottom: 25px;
}

.nosotros-datos {
    display: grid;
    gap: 22px;
}

.nosotros-datos > div {
    padding: 30px;

    background: #171717;

    border-left: 4px solid var(--naranja);

    border-radius: 6px;
}

.nosotros-datos strong {
    display: block;

    color: var(--naranja);

    font-size: 48px;
    line-height: 1;

    margin-bottom: 10px;
}

.nosotros-datos span {
    color: #bcbcbc;

    font-size: 17px;
}


/* =========================================
   CONTACTO
========================================= */

.contacto {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 100px 7%;

    background: #0b0b0b;
}

.contacto h2 {
    max-width: 900px;
}

.contacto > p:not(.eyebrow) {
    color: #bbbbbb;

    font-size: 20px;

    margin-bottom: 35px;
}


/* =========================================
   PIE DE PÁGINA
========================================= */

footer {
    padding: 35px 7%;

    background: #070707;

    border-top: 1px solid #202020;

    text-align: center;

    color: #777777;

    font-size: 14px;
}

footer p + p {
    margin-top: 5px;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 900px) {

    .navbar {
        height: 80px;
        padding: 0 5%;
    }

    .logo {
        font-size: 27px;
    }

    .navbar nav {
        gap: 18px;
    }

    .navbar nav a {
        font-size: 14px;
    }

    .hero {
        padding: 130px 5% 80px;

        background-position: 62% center;
    }

    .monitoreo {
        grid-template-columns: 1fr;

        padding: 90px 5%;
    }

    .monitoreo-panel {
        margin: 0;
    }

    .servicios {
        padding: 90px 5%;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

    .nosotros {
        grid-template-columns: 1fr;

        padding: 90px 5%;
    }

}


/* =========================================
   RESPONSIVE - CELULAR
========================================= */

@media (max-width: 600px) {

    .navbar {
        position: absolute;

        height: auto;

        padding: 22px 5%;

        flex-direction: column;

        gap: 18px;
    }

    .logo {
        font-size: 26px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;

        gap: 15px 22px;
    }

    .navbar nav a {
        font-size: 14px;
    }

    .hero {
        min-height: 100vh;

        padding: 180px 6% 70px;

        background-position: 63% center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-text {
        font-size: 19px;
    }

    .btn-monitor,
    .btn-contacto {
        padding: 17px 28px;
    }

    .monitoreo {
        padding: 80px 6%;
        gap: 50px;
    }

    .monitoreo h2,
    .seccion-titulo h2,
    .nosotros h2,
    .contacto h2 {
        font-size: 46px;
    }

    .monitoreo-descripcion {
        font-size: 19px;
    }

    .monitoreo-caracteristicas {
        gap: 25px;
        justify-content: space-between;
    }

    .monitoreo-caracteristicas strong {
        font-size: 32px;
    }

    .monitoreo-panel {
        padding: 35px 28px;
    }

    .temperatura {
        font-size: 68px;
    }

    .temperatura span {
        font-size: 32px;
    }

    .servicios {
        padding: 80px 6%;
    }

    .servicio-card {
        padding: 32px 25px;
    }

    .nosotros {
        padding: 80px 6%;
    }

    .nosotros-contenido p {
        font-size: 18px;
    }

    .contacto {
        padding: 80px 6%;
    }

}