﻿:root {
    --bg: #0d141c;
    --panel: #151f2a;
    --panel2: #1d2a36;
    --text: #f4f7fa;
    --muted: #b9c4ce;
    --accent: #37a8ff;
    --line: #40505f;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

header {
    border-bottom: 1px solid var(--line);
    background: #101923;
}

.nav {
    max-width: 1180px;
    margin: auto;
    min-height: 70px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 0;
}

nav a:hover,
nav a:focus {
    text-decoration: underline;
}

.hero {
    max-width: 1180px;
    margin: auto;
    padding: 95px 24px 80px;
}

.hero-small {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(54px, 10vw, 104px);
    line-height: .95;
    margin: 0;
    letter-spacing: -4px;
}

.hero h2 {
    font-size: clamp(23px, 4vw, 39px);
    margin: 25px 0 10px;
}

.hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    border: 2px solid var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.button.primary {
    background: var(--white);
    color: #101820;
}

.button:hover,
.button:focus {
    text-decoration: underline;
}

section {
    padding: 70px 24px;
}

.container {
    max-width: 1180px;
    margin: auto;
}

.section-title {
    font-size: 36px;
    margin: 0 0 10px;
}

.section-description {
    color: var(--muted);
    margin: 0 0 35px;
    max-width: 800px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 25px;
}

.card h3 {
    margin-top: 0;
    font-size: 23px;
}

.card p {
    color: var(--muted);
}

.tag {
    display: inline-block;
    border: 1px solid var(--white);
    border-radius: 20px;
    padding: 5px 10px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: bold;
}

.release {
    background: var(--panel2);
}

.release-line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 15px 0;
}

.release-line:first-of-type {
    border-top: 0;
}

.release-line strong {
    display: block;
}

.release-line span {
    color: var(--muted);
    text-align: right;
}

.about {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 25px;
}

.about-box {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
}

.server {
    border: 2px solid var(--white);
}

.server strong {
    display: block;
    font-size: 20px;
}

footer {
    border-top: 1px solid var(--line);
    padding: 35px 24px;
    color: var(--muted);
}

.footer-inner {
    max-width: 1180px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 850px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 20px;
        padding-bottom: 20px;
    }

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

    .about {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 65px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }
}

/* === ARIELO HERO IMAGEN REAL: INICIO === */

.brand {
    display:inline-flex;
    align-items:center;
    gap:11px;
}

.brand-logo {
    width:42px;
    height:42px;
    display:block;
    flex:0 0 42px;
}

.hero {
    position:relative;
    max-width:none;
    margin:0;
    padding:0;
    overflow:hidden;
    min-height:620px;
    background:#0d141c;
}

.hero-bg {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    z-index:0;
    display:block;
}

.hero::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(
        90deg,
        rgba(13,20,28,.90) 0%,
        rgba(13,20,28,.72) 40%,
        rgba(13,20,28,.28) 68%,
        rgba(13,20,28,.06) 100%
    );
}

.hero-inner {
    position:relative;
    z-index:2;
    max-width:1180px;
    min-height:620px;
    margin:auto;
    padding:95px 24px 80px;
    display:flex;
    align-items:flex-start;
}

.hero-copy {
    width:min(700px,100%);
}

.hero h2 {
    max-width:720px;
    margin-top:150px;
    text-shadow:0 2px 8px rgba(0,0,0,.82);
}

.hero p {
    text-shadow:0 2px 7px rgba(0,0,0,.82);
}

.hero .button {
    box-shadow:0 2px 10px rgba(0,0,0,.32);
}

@media (max-width:850px) {
    .brand-logo {
        width:38px;
        height:38px;
        flex-basis:38px;
    }

    .hero {
        min-height:560px;
    }

    .hero-inner {
        min-height:560px;
        padding-top:65px;
        padding-bottom:60px;
    }

    .hero h2 {
        margin-top:105px;
    }
}

/* === ARIELO HERO IMAGEN REAL: FIN === */

/* === ARIELO TEXTO SOBRE HERO: INICIO === */

/* El texto queda físicamente encima de la imagen, no debajo. */
.hero {
    position: relative;
}

.hero-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    min-height: 0;
    margin: 0 auto;
    padding: 95px 24px 80px;
    display: flex;
    align-items: flex-start;
    pointer-events: none;
}

.hero-copy {
    width: min(700px, 100%);
    pointer-events: auto;
}

.hero-small {
    margin-top: 0;
}

.hero h2 {
    margin-top: 150px;
}

@media (max-width: 850px) {
    .hero-inner {
        padding-top: 65px;
        padding-bottom: 60px;
    }

    .hero h2 {
        margin-top: 105px;
    }
}

/* === ARIELO TEXTO SOBRE HERO: FIN === */


/* AJUSTE FONDO ARIELO - SVG COMPLETO */
.hero-bg { object-fit: contain !important; object-position: center top !important; }

/* AJUSTE HERO: imagen menor y a la derecha */
.hero-bg { width: 76% !important; left: auto !important; right: 0 !important; object-fit: contain !important; object-position: center center !important; }

/* === ARIELO SPLASH WEB DEFINITIVO: INICIO === */
.hero-bg {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}
/* === ARIELO SPLASH WEB DEFINITIVO: FIN === */

/* === ARIELO RESPONSIVE MOVIL FINAL: INICIO === */

.hero-picture {
    position:absolute;
    inset:0;
    z-index:0;
    display:block;
    overflow:hidden;
}

.hero-picture .hero-bg {
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:block !important;
    object-fit:cover !important;
    object-position:center center !important;
}

@media (max-width: 850px) {

    /* Cabecera ordenada: marca arriba, navegación debajo */
    .nav {
        min-height:auto;
        padding:12px 16px 14px;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:8px;
    }

    .brand {
        font-size:21px;
        gap:9px;
    }

    .brand-logo {
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    nav {
        width:100%;
        display:grid;
        grid-template-columns:repeat(3, auto);
        justify-content:center;
        align-items:center;
        gap:4px 15px;
    }

    nav a {
        font-size:12px;
        padding:4px 0;
        text-align:center;
        white-space:nowrap;
    }

    /* Hero vertical: mensaje arriba, identidad visual abajo */
    .hero {
        min-height:760px !important;
        overflow:hidden;
    }

    .hero-picture .hero-bg {
        object-fit:cover !important;
        object-position:center center !important;
    }

    .hero::after {
        background:linear-gradient(
            180deg,
            rgba(13,20,28,.96) 0%,
            rgba(13,20,28,.90) 36%,
            rgba(13,20,28,.58) 56%,
            rgba(13,20,28,.14) 76%,
            rgba(13,20,28,.04) 100%
        ) !important;
    }

    .hero-inner {
        position:relative !important;
        inset:auto !important;
        z-index:2;
        width:100% !important;
        max-width:none !important;
        min-height:760px !important;
        margin:0 !important;
        padding:50px 20px 330px !important;
        display:block !important;
    }

    .hero-copy {
        width:100% !important;
        max-width:620px;
        margin:0 auto;
    }

    .hero-small {
        margin:0 0 24px !important;
        font-size:12px;
        letter-spacing:1.6px;
    }

    .hero h2 {
        margin:0 0 18px !important;
        max-width:none !important;
        font-size:clamp(31px, 9vw, 42px);
        line-height:1.08;
        letter-spacing:-1px;
    }

    .hero p {
        max-width:none !important;
        margin:0;
        font-size:16px;
        line-height:1.5;
    }

    .actions {
        margin-top:25px;
        display:flex;
        flex-direction:column;
        gap:10px;
        width:100%;
    }

    .actions .button {
        width:100%;
        text-align:center;
        padding:13px 16px;
    }

    /* Contenido general de la web */
    section {
        padding:52px 18px;
    }

    .section-title {
        font-size:31px;
        line-height:1.15;
    }

    .section-description {
        margin-bottom:26px;
    }

    .grid {
        grid-template-columns:1fr;
        gap:16px;
    }

    .card {
        padding:21px;
    }

    .release-line {
        flex-direction:column;
        align-items:flex-start;
        gap:7px;
        padding:17px 0;
    }

    .release-line a,
    .release-line span {
        text-align:left !important;
    }

    .about {
        grid-template-columns:1fr;
        gap:17px;
    }

    footer {
        padding:28px 18px;
    }

    .footer-inner {
        flex-direction:column;
        gap:10px;
    }
}

@media (max-width: 420px) {
    .nav {
        padding-left:12px;
        padding-right:12px;
    }

    nav {
        gap:3px 10px;
    }

    nav a {
        font-size:11px;
    }

    .hero {
        min-height:740px !important;
    }

    .hero-inner {
        min-height:740px !important;
        padding:42px 16px 315px !important;
    }

    .hero h2 {
        font-size:clamp(29px, 9vw, 37px);
    }

    .hero p {
        font-size:15px;
    }
}

/* === ARIELO RESPONSIVE MOVIL FINAL: FIN === */

