/* ==========================================================
   Virtual Media Producciones - CSS común
   Archivo: css/virtualmedia.css
   ========================================================== */

:root {
    --bg: #000000;
    --panel: #171717;
    --panel-border: #2d2d2d;
    --text: #ffffff;
    --muted: #d7d7d7;
    --blue: #00a7e8;
    --blue-dark: #007fb3;
    --footer: #007fb3;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* ==========================================================
   HEADER
   ========================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    background: #000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.logo-text {
    text-transform: uppercase;
    line-height: 1;
}

.main-name {
    display: block;
    color: var(--blue);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.sub-name {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 2px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    opacity: 1;
}

.languages {
    display: flex;
    gap: 8px;
    align-items: center;
}

.flag {
    width: 20px;
    height: auto;
    display: block;
}

.hamburger,
.close-menu {
    display: none;
}

/* ==========================================================
   PÁGINAS / SECCIONES COMUNES
   ========================================================== */

.page-wrapper {
    min-height: 100vh;
    background: #000;
}

.page-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 24px 70px;
    text-align: center;
    background: #000;
}

.page-hero.full {
    min-height: 100vh;
    padding-top: 140px;
}

.page-hero.compact {
    min-height: 47vh;
    align-items: flex-end;
}

.page-hero-inner {
    max-width: 980px;
    margin: 0 auto;
    transform-style: preserve-3d;
    will-change: transform;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(44px, 5.2vw, 82px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.page-hero h1 span {
    color: var(--blue);
}

.page-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(18px, 1.55vw, 23px);
    line-height: 1.5;
    font-weight: 400;
}

/* ==========================================================
   TARJETAS HOME
   ========================================================== */

.features-section {
    padding: 90px 24px 100px;
    background: #000;
}

.features-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    aspect-ratio: 1 / 1;
    min-height: 300px;
    padding: 42px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #121212;
    border: 1px solid #242424;
    border-radius: 8px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feature-card:hover {
    border-color: rgba(0, 167, 232, 0.55);
    background: #151515;
    box-shadow: 0 0 38px rgba(0, 167, 232, 0.12);
}

.card-icon {
    color: var(--blue);
    font-size: 52px;
    margin-bottom: 38px;
    transform: translateZ(32px);
}

.card-title {
    max-width: 260px;
    color: #fff;
    font-size: 27px;
    line-height: 1.45;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 22px;
    transform: translateZ(26px);
}

.card-description {
    max-width: 300px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
    transform: translateZ(18px);
}

/* ==========================================================
   SERVICIOS
   ========================================================== */

.services-section {
    padding: 50px 16px 95px;
    background: #000;
}

.services-grid {
    width: min(1760px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    min-height: 480px;
    padding: 30px 30px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.service-card:hover {
    background: #1b1b1b;
    border-color: rgba(0, 167, 232, 0.65);
    box-shadow: 0 0 42px rgba(0, 167, 232, 0.14);
}

.service-image {
    width: 100%;
    height: 192px;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #0a0a0a;
    transform: translateZ(24px);
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.service-card h2 {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 29px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    transform: translateZ(20px);
}

.service-card p {
    color: #fff;
    font-size: 16px;
    line-height: 1.62;
    font-weight: 500;
    transform: translateZ(14px);
}

.service-card:hover h2 {
    color: var(--blue);
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    background: var(--footer);
    color: #fff;
    padding: 62px 24px 0;
}

.footer-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px;
    padding-bottom: 58px;
}

.footer-column h3 {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.footer-column p {
    font-size: 15px;
    line-height: 1.65;
    font-weight: 500;
}

.footer-column a {
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: #fff;
    color: var(--footer);
}

.footer-bottom {
    background: #000;
    margin: 0 -24px;
    padding: 22px 24px;
    text-align: center;
    font-size: 14px;
}

/* ==========================================================
   COOKIES
   ========================================================== */

.cookie-banner {
    display: none;
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1500;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    background: #121212;
    border: 1px solid var(--panel-border);
    color: #fff;
}

.cookie-banner p {
    color: var(--muted);
    line-height: 1.45;
}

.cookie-banner a {
    color: var(--blue);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    border: 0;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
}

.cookie-btn.accept {
    background: var(--blue);
    color: #fff;
}

.cookie-btn.reject {
    background: #2a2a2a;
    color: #fff;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1500px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        width: min(1120px, 100%);
    }
}

@media (max-width: 980px) {
    .header {
        height: 82px;
        padding: 0 24px;
    }

    .logo img {
        width: 48px;
    }

    .main-name {
        font-size: 22px;
    }

    .sub-name {
        font-size: 14px;
    }

    .hamburger {
        display: block;
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 330px;
        height: 100vh;
        padding: 92px 34px 34px;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        background: #000;
        border-left: 1px solid var(--panel-border);
        transition: right 0.25s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 28px;
        right: 28px;
        color: #fff;
        font-size: 25px;
        cursor: pointer;
    }

    .features-grid,
    .footer-container {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .feature-card {
        min-height: 320px;
    }

    .page-hero.compact {
        min-height: 42vh;
        padding-top: 125px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        width: min(760px, 100%);
    }
}

@media (max-width: 680px) {
    .page-hero.compact {
        min-height: auto;
        padding: 120px 22px 55px;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .page-hero p {
        font-size: 18px;
    }

    .services-section {
        padding-top: 35px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .service-card {
        min-height: auto;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .header {
        padding: 0 18px;
    }

    .logo {
        gap: 10px;
    }

    .main-name {
        font-size: 18px;
    }

    .sub-name {
        font-size: 12px;
        letter-spacing: 1.4px;
    }

    .page-hero.full {
        padding-top: 120px;
    }

    .page-hero.full h1 {
        font-size: 38px;
    }

    .page-hero.full p {
        font-size: 17px;
    }
}


/* ==========================================================
   NOSOTROS
   ========================================================== */

.about-section {
    min-height: calc(100vh - 260px);
    padding: 150px 24px 110px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card {
    width: min(860px, 100%);
    padding: 64px 54px 58px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    transform-style: preserve-3d;
    will-change: transform;
}

.about-card h1 {
    color: #fff;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 38px;
    transform: translateZ(24px);
}

.about-card h1 span {
    color: var(--blue);
}

.about-card p {
    color: #fff;
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
    margin-bottom: 18px;
    transform: translateZ(14px);
}

.about-card h2 {
    color: #fff;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    margin: 42px 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--blue);
    transform: translateZ(18px);
}

.about-list {
    display: grid;
    gap: 22px;
}

.about-list-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 18px;
    align-items: flex-start;
    transform: translateZ(16px);
}

.about-list-item i {
    color: var(--blue);
    font-size: 18px;
    margin-top: 7px;
}

.about-list-item p {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .about-section {
        padding: 120px 18px 80px;
    }

    .about-card {
        padding: 42px 28px 38px;
    }

    .about-card p {
        font-size: 16px;
    }

    .about-card h2 {
        font-size: 24px;
    }
}


/* ==========================================================
   CONTACTO
   ========================================================== */

.contact-section {
    min-height: calc(100vh - 260px);
    padding: 150px 24px 110px;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}

.contact-card {
    width: min(860px, 100%);
    padding: 64px 54px 58px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.contact-card h1 {
    color: #fff;
    font-size: clamp(38px, 4.2vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 22px;
    transform: translateZ(24px);
}

.contact-card h1 span {
    color: var(--blue);
}

.contact-intro {
    max-width: 700px;
    margin: 0 auto 38px;
    color: #fff;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
    transform: translateZ(14px);
}

.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    transform: translateZ(18px);
}

.contact-action {
    min-height: 86px;
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    gap: 18px;
    text-align: left;
    background: #111;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-action:hover {
    background: #151515;
    border-color: rgba(0, 167, 232, 0.65);
    transform: translateY(-3px);
}

.contact-action i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 25px;
    border: 1px solid rgba(0, 167, 232, 0.45);
    border-radius: 50%;
}

.contact-action.primary i,
.contact-action.whatsapp i {
    background: var(--blue);
    color: #000;
    border-color: var(--blue);
}

.contact-action strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-action small {
    display: block;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}

.contact-note {
    margin-top: 28px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 14px;
    text-align: left;
    border-top: 1px solid rgba(0, 167, 232, 0.55);
    transform: translateZ(14px);
}

.contact-note i {
    color: var(--blue);
    font-size: 18px;
    margin-top: 4px;
}

.contact-note p {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.contact-mini-grid {
    width: min(860px, 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-mini-card {
    min-height: 190px;
    padding: 28px 22px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-mini-card:hover {
    background: #1b1b1b;
    border-color: rgba(0, 167, 232, 0.65);
    box-shadow: 0 0 35px rgba(0, 167, 232, 0.12);
}

.contact-mini-card i {
    color: var(--blue);
    font-size: 34px;
    margin-bottom: 18px;
    transform: translateZ(20px);
}

.contact-mini-card h2 {
    color: #fff;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    transform: translateZ(16px);
}

.contact-mini-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 500;
    transform: translateZ(12px);
}

@media (max-width: 760px) {
    .contact-section {
        padding: 120px 18px 80px;
    }

    .contact-card {
        padding: 42px 28px 38px;
    }

    .contact-intro {
        font-size: 17px;
    }

    .contact-action {
        grid-template-columns: 46px 1fr;
        padding: 16px;
    }

    .contact-action i {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .contact-action strong {
        font-size: 18px;
    }

    .contact-mini-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}
/* ==========================================================
   LEGAL
   ========================================================== */

.legal-page {
    padding: 150px 24px 110px;
    background: #000;
    min-height: 100vh;
}

.legal-container {
    width: min(980px, 100%);
    margin: 0 auto;
    padding: 64px 54px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
}

.legal-container h1 {
    text-align: center;
    color: #fff;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.05;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.legal-container h1 span {
    color: var(--blue);
}

.legal-content h2 {
    color: var(--blue);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    margin: 42px 0 18px;
}

.legal-content p {
    color: #fff;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 18px;
}

@media (max-width: 680px) {

    .legal-page {
        padding: 120px 18px 80px;
    }

    .legal-container {
        padding: 42px 28px;
    }

    .legal-content p {
        font-size: 16px;
    }

    .legal-content h2 {
        font-size: 24px;
    }
}
