/* ============================================
   SISTEMA BASE — IGUAL A LA LANDING
============================================ */

html,
body {
    margin: 0;
    padding: 0;
    background: black;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Kumbh Sans', sans-serif;
}

/* CANVAS PRINCIPAL 1920px */
#aria-canvas {
    width: 1920px;
    height: auto;
    position: relative;
    overflow: visible;
    opacity: 0;
    transition: opacity .9s ease;
}

/* Cuando ya escaló */
body.page-loaded #aria-canvas {
    opacity: 1;
}

/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kumbh Sans', sans-serif !important;
}

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

#aria-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: black;
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 92%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 48px;
}

/* NAV LINKS */
.nav-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 300;
    transition: color .28s ease, text-shadow .28s ease, letter-spacing .28s ease, filter .28s ease;
}

.nav-links a:hover {
    color: #fbb03b;
    text-shadow: 0 0 14px rgba(248, 176, 59, 0.55);
    letter-spacing: 4.4px;
}

.nav-links a.active {
    color: #fbb03b;
    text-shadow:
        0 0 8px rgba(248, 176, 59, 0.9),
        0 0 18px rgba(248, 176, 59, 0.8),
        0 0 32px rgba(248, 176, 59, 0.75);
    letter-spacing: 6px;
    filter: brightness(1.10);
}

/* ============================================
   BASE SECTION RULES
============================================ */

section {
    width: 100%;
}

.container {
    width: 92%;
    margin: auto;
}

h1, h2, h3 {
    font-weight: 300;
    margin-bottom: 20px;
    color: white;
}

h1 { font-size: 64px; }
h2 { font-size: 38px; }

p {
    font-size: 21px;
    line-height: 1.45;
    max-width: 700px;
    opacity: .92;
    color: white;
}

/* -------------------------------- HERO -------------------------------- */
#vfx-hero {
    height: 85vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Video full cover */
#vfx-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido encima del video */
.hero-inner {
    position: relative;
    z-index: 2;
}

#vfx-hero h1 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ============================================
   SUBTITLE
============================================ */

#vfx-subtitle {
    background: black;
    text-align: center;
    padding: 80px 0 70px;
}

#vfx-subtitle h2 {
    font-size: 50px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ============================================
   INTRO
============================================ */

#vfx-intro {
    display: flex;
    justify-content: center;
    text-align: center;
    background: black;
    align-items: center;
}

#vfx-intro .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   CONTENT SECTIONS (Behind / Showreel / Tech / Immersion / Trust / Future)
============================================ */

#vfx-behind,
#vfx-showreel,
#vfx-tech,
#vfx-immersion,
#vfx-trust,
#vfx-future {
    padding: 120px 0;
}

#vfx-behind {
    background: #3C3A48;
}

/* ---------- SERVICES INTRO (del primer CSS) ---------- */

.services-intro {
    max-width: 900px;
    margin-bottom: 80px;
}

/* ---------- SERVICES GRID (primer CSS) ---------- */

.services-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px 60px;
    justify-items: center;
    align-items: start;
}

.service-card {
    text-align: center;
    max-width: 420px;
}

.service-card img.service-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* ============================================
   SHOWREEL GRID
============================================ */

#vfx-showreel {
    background: white;
    color: black;
}

#vfx-showreel h2,
#vfx-showreel p {
    color: black;
}

.showreel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showreel-grid > div:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: black;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   BEHIND GRID
============================================ */

.behind-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.behind-text h2 {
    color: white;
    margin-top: 20px;
}

.behind-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}


/* =========================== */
/*         SECTION 14          */
/* =========================== */

#section-14 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 100%;
}

.sec14-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    max-width: 1600px;
    z-index: 10;
}

/* ================= LEFT TEXT ================= */
.sec14-left {
    text-align: right;
    width: 40%;
}

.sec14-title {
    font-size: 70px;
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -1px;
}

/* ================= RIGHT BLOCK ================= */
.sec14-right {
    width: 55%;
    display: flex;
    justify-content: flex-start;
}

.sec14-right-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    /* espacio entre botón y textos */
}

.sec14-btn-img {
    width: 260px;
    height: auto;
    cursor: pointer;
}

/* CONTACT TEXT */
.sec14-contact-text {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.sec14-phone {
    color: #ffb347;
    font-weight: 700;
    margin-bottom: 6px;
}

.sec14-mail {
    color: #fff;
    opacity: 0.8;
}

/* ===== Forzar centrado absoluto de iconos Section 14 ===== */
.sec14-icons {
    position: absolute;
    bottom: 0%;
    left: 0% !important;
    transform: translateX(-50%) !important;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 50px !important;
    text-align: center !important;
    z-index: 20;
}

/* Tamaño garantizado */
.sec14-icon-img {
    width: 150px !important;
    height: auto;
    display: block;
}


.sec14-icon-img:hover {
    transform: scale(1.08);
}

/* ============================ */
/*   ANIMACIÓN SECTION 14       */
/* ============================ */

.sec14-anim {
    opacity: 0;
    transform: translateY(80px);
    /* aparece desde abajo */
    transition: opacity 1s ease, transform 1s cubic-bezier(.25, 0, .15, 1);
}

.show14 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
/* ============================================
   FOOTER
============================================ */

#aria-footer {
    width: 100%;
    background: #1a1a1a;
    color: #d5d5d5;
    padding: 80px 0 0;
    font-family: 'Kumbh Sans', sans-serif;
}

.footer-row {
    width: 100%;
    padding: 0 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.footer-logo {
    height: 60px;
    opacity: 0.9;
    display: block;
}

.footer-right {
    display: flex;
    gap: 60px;
}

.footer-right a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    letter-spacing: 2px;
    transition: color .28s ease, text-shadow .28s ease, letter-spacing .28s ease, filter .28s ease;
}

.footer-right a:hover {
    color: #fbb03b;
    text-shadow: 0 0 14px rgba(248, 176, 59, 0.5);
    letter-spacing: 2.4px;
}

.footer-subfooter {
    width: 100%;
    padding: 40px 120px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #484949;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    color: #b5b5b5;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 1px;
    font-weight: 200;
}

.sub-left {
    width: 70%;
    opacity: 0.75;
}

.sub-right {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    padding-top: 30px;
}

.sub-right a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    letter-spacing: 2px;
    transition: color .28s ease, text-shadow .28s ease, letter-spacing .28s ease;
}

.sub-right a:hover {
    color: #fbb03b;
    text-shadow: 0 0 12px rgba(248, 176, 59, 0.4);
    letter-spacing: 2.3px;
}

/* ============================================================
   MOBILE NAV (HAMBURGER + DRAWER) — INTERNOS
============================================================ */

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}

/* 3 líneas */
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  transition: transform .25s ease, top .25s ease, opacity .2s ease, background .25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

/* Estado abierto: X */
body.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9998;
}

body.nav-open .mobile-nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100vh;
  background: rgba(0,0,0,0.96);
  border-left: 1px solid rgba(255,255,255,.08);
  transform: translateX(110%);
  transition: transform .28s ease;
  z-index: 9999;
  padding: 110px 26px 26px;
}

body.nav-open .mobile-nav {
  transform: translateX(0);
}

/* Links dentro del drawer */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 300;
  transition: color .25s ease, text-shadow .25s ease, letter-spacing .25s ease;
}

.mobile-nav-links a:hover {
  color: #fbb03b;
  text-shadow: 0 0 14px rgba(248,176,59,0.45);
  letter-spacing: 4.4px;
}

.mobile-nav-links a.active {
  color: #fbb03b;
  text-shadow:
    0 0 8px rgba(248,176,59,0.9),
    0 0 18px rgba(248,176,59,0.75),
    0 0 32px rgba(248,176,59,0.65);
  letter-spacing: 6px;
}

/* Responsive: ocultar nav desktop, mostrar hamburger */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 980px) {
    .logo img {
        height: 25px; /* 50% de 50px */
    }
}
