@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --header-height: 3.5rem;

    /* Colores */
    --black-color: transparent;
    --black-color-light:  rgba(0, 0, 0, 1);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    --body-font: "Montserrat", sans-serif;
    --normal-font-size: 0.938rem;

    --font-regular: 400;
    --font-semi-bold: 600;

    --z-tooltip: 10;
    --z-fixed: 100;

    @media screen and (min-width: 1024px) {
        :root {
            --normal-font-size: 1rem;
        }
    }
}

* {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: black;
    background-size: cover;
    color: white;
    min-height: 100vh;
    line-height: 1.5;
}


ul {
    list-style: none;
}

html, *{
  scroll-behavior: smooth;
}

/* NAVBAR FONDO TRANSPARENTE Y ESTÉTICO */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: var(--z-fixed);
    padding: 0.5rem 0;
    
}

/* CENTRADO DE NAV */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    

}

.nav {
    height: var(--header-height);
    width: 100%; 
    display: flex; 
    align-items: center; 
    position: relative; 
    animation: fadeInDown 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);

}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.nav__logo,
.nav__burger,
.nav__close {
    color: var(--white-color);
}

.nav__logo {
    display: flex;
    align-items: center;

}

.nav__logo-img {
    height: 100px; 
    object-fit: contain;
}
.hero__logo-wrapper {
    margin: -6.2rem auto -4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__logo-img {
    height: 350px;
    padding: 0;
    line-height: 0;         
    vertical-align: bottom;  
    margin: 0.2rem auto; 
}


.nav__toggle {
    width: 32px;
    height: 32px;
    display: block; 
    cursor: pointer;
    position: absolute;
    right: 1rem; 
    top: 50%; 
    transform: translateY(-50%); 
}
.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
}

.nav__close {
    opacity: 0;
}

/* Mobile menu */
@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }

    .nav__list {
        background-color: var(--black-color);
        padding-top: 1rem;
    }
    .content .tittle{
      font-size: 3.0rem;
    }
}

/* Nav links */
.nav__link {
    color: var(--white-color);
    background-color: var(--black-color);
    font-weight: var(--font-semi-bold);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    border-bottom: 2px solid #550808 ;
    text-decoration: none;

}

.nav__link a{
  text-decoration: none;
  color: var(--white-color);
}
.nav__link:hover{
    padding-bottom: 5px;
    border-bottom: 2px solid #ffffff ;
    transition: 0.5s ease;

}
.nav__link:hover {
    background-color: var(--black-color-light);
}

.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/* Dropdowns */
.dropdown__item {
    cursor: pointer;
}

.dropdown__arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform 0.4s;
}

.dropdown__link {
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: var(--white-color);
    background-color: var(--black-color-light);
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    font-weight: var(--font-semi-bold);
    transition: background-color 0.3s;
    text-decoration: none;
}

.dropdown__link i {
    font-size: 1.25rem;
    font-weight: initial;
}

.dropdown__link:hover {
    background-color: var(--black-color);
}

.dropdown__menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.dropdown__item:hover .dropdown__menu {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
}

.dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .nav__logo-img {
        height: 80px; 
    }
    .tittle{
        font-size: 2.8rem;
    }
    .subtitle{
        font-size: 1.1rem;
    }

    .cta-btn{
        padding: 1rem 2.2rem;
    }
}

@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }

    .nav__link {
        padding-inline: 1rem;
    }
    .tittle{
        font-size: 2.2rem;
    }
    .subtitle{
        font-size: 1rem;
    }
}

@media screen and (min-width: 1119px) {
    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }

    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: 0.25rem;
    }

    .nav__link:hover {
        background-color: transparent;
    }

    .dropdown__item {
        position: relative;
    }

    .dropdown__menu {
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 0;
        top: 100%;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s, top 0.3s;
    }

    .dropdown__link {
        padding-inline: 1rem 3.5rem;
    }

    .dropdown__item:hover .dropdown__menu {
        opacity: 1;
        top: 100%;
        pointer-events: initial;
        transition: top 0.3s;
    }
}

.scroll-down{
    height: 5rem;
    width: 2rem;
    position: absolute;
    right:  96%;
    bottom: 5%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    z-index: 10000;
}

.scroll-down::before,.scroll-down::after{
    content: "";
    top: 20%;
    position: absolute;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%,-100%) rotate(45deg);
    border: 2px solid #990f0f;
    border-left: transparent;
    border-top: transparent;
    animation: scroll-down 3s ease-in-out infinite;
}

.scroll-down::before{
    top: 30%;
    animation-delay: 0.8s;
}
.scroll-downl{
    height: 5rem;
    width: 2rem;
    position: absolute;
    right: 2%;
    bottom: 5%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    z-index: 10000;
}

.scroll-downl::before,.scroll-downl::after{
    content: "";
    top: 20%;
    position: absolute;
    left: 50%;
    height: 10px;
    width: 10px;
    transform: translate(-50%,-100%) rotate(45deg);
    border: 2px solid #990f0f;
    border-left: transparent;
    border-top: transparent;
    animation: scroll-down 3s ease-in-out infinite;
}

.scroll-downl::before{
    top: 30%;
    animation-delay: 0.8s;
}
.hero{
    padding-top: 150px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.0) 80%);
    z-index: 1;
}
.content{
    position: relative;
    z-index: 10;
    padding: 0;
    max-width: 700px;
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tittle{
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    letter-spacing: -1px;
}

.tittle span.Gradient-text{
    background: linear-gradient(90deg,#990f0f,#550808);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.tittle span.Gradient-text::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,#990f0f,#550808);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.65,0,0.35,1);
}
.tittle span.Gradient-text::after{
    transform: scaleX(1);
    transform-origin:left ;
}
.subtitle{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.3rem;
    color: #fff;
    line-height: 1.3;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    animation: fadeIn 1s ease 0.6s both;
}

.cta-container {
    margin-top: 0.8rem;
    animation: fadeIn 1s ease 0.8s both;
}
.cta-btn{
    position: relative;
    background:linear-gradient(90deg,#990f0f,#990f0f);
    color: var(--white-color);
    padding: 1.2rem 2.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 4px 30px rgba(110, 10, 20, 0.5);
    overflow: hidden;
    z-index: 1;
}
.cta-btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,#990f0f,#550808);
    z-index:-1;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.cta-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(110, 10, 20, 0.9);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInUp{
    0%{
        opacity: 0;
        transform: translateY(40px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-down{
    0%{
        opacity: 0;
    }
    30%,60%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        top: 90%;
    }
}
/* Spline Viewer Fullscreen */
spline-viewer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
    color: #ffffff;
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    outline: none;
    font-family: inherit;
}
.btn:focus {
    outline: 2px solid rgba(0, 245, 255, 0.5);
    outline-offset: 2px;
}

/* Neon Glow Buttons */
.neon-btn {
    background: transparent;
    border: 2px solid;
    text-shadow: 0 0 10px currentColor;
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 0 20px currentColor;
    transition: all 0.3s ease;
}

.neon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.2),
        0 0 40px currentColor,
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.neon-pink {
    color: #f76e6e;
    border-color: #ff4141;
}

.info-strip {
    position: relative;
    height: 160px;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 3;
    margin-top: -1rem; /* esto la empuja más abajo del hero */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }
  
  .info-strip.reveal {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  .info-strip__content {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .info-strip__left,
  .info-strip__right {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .info-strip__label,
  .info-strip__available {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.7;
  }
  
  .info-strip__location {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -1px;
  }
  

  @media screen and (max-width: 768px) {
    .info-strip__content {
      flex-direction: column;
      gap: 0.5rem;
      padding: 1rem;
    }
  
    .info-strip__location {
      font-size: 1.8rem;
    }
  }
  


.about {
    padding: 6rem 2rem;
    position: relative;
    color: #ffffff;
    text-align: center;
    z-index: 5;
    background: radial-gradient(circle at center, rgba(153, 15, 15, 0.2), rgba(0, 0, 0, 0.95));
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(153, 15, 15, 0.25), transparent 70%);
    animation: pulseGlow 6s infinite ease-in-out;
    top: -50%;
    left: -50%;
    z-index: 1;
    opacity: 0.3;
}

.about__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}


.about__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg,#990f0f,#550808);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about__text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}


/* seccion del what */
/* ========== ANIMACIONES DE SCROLL CON REVERSE ========== */
.scroll-fade-down, .scroll-slide-left, .scroll-fade, .scroll-reveal {
    opacity: 0;
    transition: all 0.8s ease;
  }
  
  .scroll-fade-down {
    transform: translateY(-40px);
  }
  
  .scroll-slide-left {
    transform: translateX(100px);
  }
  
  .scroll-fade {
    transform: scale(0.95);
  }
  
  .reveal.scroll-fade-down {
    opacity: 1;
    transform: translateY(0);
  }
  
  .reveal.scroll-slide-left {
    opacity: 1;
    transform: translateX(0);
  }
  
  .reveal.scroll-fade {
    opacity: 1;
    transform: scale(1);
  }
  
  .reveal.scroll-reveal {
    opacity: 1;
  }
  
  /* ========== SECCIÓN WHAT ========== */
  .what-section {
    background: #000;
    color: white;
    text-align: center;
    padding: 3rem 1rem 5rem;
    position: relative;
    overflow: hidden;
  }
  
  .marquee {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
  }
  
  .marquee__inner {
    display: inline-block;
    animation: scrollText 25s linear infinite;
  }
  
  .marquee__inner span {
    display: inline-block;
    margin: 0 1rem;
    letter-spacing: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.2;
  }
  
  .what-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
  }
  
  .what-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
  }
  
  .what-item {
    flex: 1 1 260px;
    max-width: 280px;
  }
  
  .what-subtitle {
    font-weight: 700;
    font-size: 0.95rem;
    background: white;
    color: black;
    display: inline-block;
    padding: 0.2rem 0.4rem;
    margin-bottom: 1rem;
  }
  
  .what-btn-container {
    transition: all 0.8s ease;
  }
  
  .delay-1 { transition-delay: 0.2s; }
  .delay-2 { transition-delay: 0.4s; }
  .delay-3 { transition-delay: 0.6s; }
  
  @keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
  
  @media screen and (max-width: 768px) {
    .what-title {
      font-size: 2.5rem;
    }
    .what-columns {
      flex-direction: column;
      align-items: center;
    }
  }
  
  @keyframes pulseContent {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.02);
      opacity: 0.95;
    }
  }
  

/* ========== SECCIÓN WHAT ========== */
.what-section {
    background: #000;
    color: white;
    text-align: center;
    padding: 0; 
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  
  .what-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 2rem 0 2.5rem; 
  }
  
  .what-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }
  
  .what-item {
    flex: 1 1 260px;
    max-width: 280px;
  }
  
  .what-subtitle {
    font-weight: 700;
    font-size: 0.95rem;
    background: white;
    color: black;
    display: inline-block;
    padding: 0.2rem 0.4rem;
    margin-bottom: 1rem;
  }
  
  .what-btn-container {
    padding-bottom: 2rem;
  }
  
  
  .marquee-border {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: black;
    padding: 0.4rem 0;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    z-index: 2;
    margin: 0; 
  }
  
  .marquee__inner {
    display: inline-block;
    animation: scrollText 18s linear infinite;
  }
  
  .marquee__inner span {
    display: inline-block;
    margin: 0 1rem;
    letter-spacing: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.25;
    color: rgb(255, 255, 255);
  }
  
  @keyframes scrollText {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
  }
@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.scroll-left {
    animation: scrollLeft 25s linear infinite;
  }
  .scroll-right {
    animation: scrollRight 25s linear infinite;
  }
  
  /* Keyframes */
  @keyframes scrollLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  @keyframes scrollRight {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

 /* SECCIÓN HOW */
.how-section {
    position: relative;
    padding: 6rem 2rem;
    color: white;
    text-align: center;
    background: black;
    overflow: hidden;
    z-index: 2;
   
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .how-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .how-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
  }
  
  .how-subtitle {
    font-weight: 700;
    font-size: 1.1rem;
    background: white;
    color: black;
    display: inline-block;
    padding: 0.3rem 0.6rem;
    margin-bottom: 1.5rem;
  }
  
  .how-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    max-width: 720px;
    margin: 0 auto 2rem;
  }
  
  .how-btn-container {
    transition: all 0.8s ease;
  }
  

  .grid-container {
    --grid: 8rem;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    perspective: 100rem;
    animation: rotate 100s linear infinite forwards;
  }
  
  .plane {
    --dir: 1;
    width: 300%;
    height: 150%;
    min-height: 70rem;
    position: absolute;
    bottom: 0;
    transform-style: preserve-3d;
    transform-origin: bottom center;
    transform: translateX(-50%) rotateX(85deg);
    left: 50%;
  }
  
  .plane:last-child {
    --dir: -1;
    top: 0;
    transform-origin: top center;
    transform: translateX(-50%) rotateX(-85deg);
  }
  
  .plane > * {
    transform-style: preserve-3d;
    height: 100%;
    width: 100%;
    position: absolute;
  }
  
  .plane > *::before,
  .plane > *::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .plane > *::before {
    background-image: repeating-linear-gradient(to left, #550808, #550808 4px, transparent 4px, transparent var(--grid)),
                      repeating-linear-gradient(to bottom, #550808, #550808 4px, transparent 4px, transparent var(--grid));
    animation: move 1s linear infinite forwards;
  }
  
  .plane:last-child > *::after {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 1) var(--grid), rgba(0, 0, 0, 0));
  }
  
  .plane > *::after {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) var(--grid), rgba(0, 0, 0, 0));
    z-index: 1;
    transform: translateZ(1px);
  }
  
  .glow {
    filter: blur(1rem);
    z-index: 1;
    mix-blend-mode: plus-lighter;
  }
  
  @keyframes move {
    from {
      transform: translateY(0px);
    }
    to {
      transform: translateY(calc(var(--grid) * var(--dir)));
    }
  }
/* ============ WHERE (Ubicación) ============ */
.where-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
  background: #000;
  color: #fff;
  isolation: isolate;
  border-top: 1px solid rgba(255,255,255,0.12); 
}


.where-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  perspective: 100rem;
  transform-style: preserve-3d;
  animation: whereRotate 120s linear infinite;
}
@keyframes whereRotate {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

.grid-plane {
  --dir: 1;
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 300%;
  height: 160%;
  transform-origin: bottom center;
  transform: translateX(-50%) rotateX(82deg);
}
.grid-plane.top {
  --dir: -1;
  top: -20%;
  bottom: auto;
  transform-origin: top center;
  transform: translateX(-50%) rotateX(-82deg);
}

.grid-plane > .grid::before,
.grid-plane > .grid::after {
  content: "";
  position: absolute;
  inset: 0;
}
.grid-plane > .grid::before {
  background-image:
    repeating-linear-gradient(to left, #550808, #550808 3px, transparent 3px, transparent 6rem),
    repeating-linear-gradient(to bottom, #550808, #550808 3px, transparent 3px, transparent 6rem);
  animation: whereMove 1.2s linear infinite;
  opacity: 0.35;
}
@keyframes whereMove {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(6rem * var(--dir))); }
}
.grid-plane > .grid::after {
  background-image: linear-gradient(to bottom, rgba(0,0,0,1) 6rem, rgba(0,0,0,0));
  transform: translateZ(1px);
}

.grid-plane > .glow {
  position: absolute;
  inset: 0;
  filter: blur(60px);
  background: radial-gradient(ellipse at center, rgba(153, 15, 15, 0.28), transparent 60%);
  animation: whereGlow 6s ease-in-out infinite;
  mix-blend-mode: plus-lighter;
}
@keyframes whereGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.08); opacity: 0.8; }
}

/* Layout de 2 columnas */
.where-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  border-right: #e0e0e0;
}

.where-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;

}

.where-title {
  font-size: clamp(2.4rem, 4vw + 1rem, 5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: left;
  margin-bottom: 0.5rem;
  line-height: 1;
  filter: drop-shadow(0 10px 30px rgba(153, 15, 15, 0.25));
}

/* Lista de datos */
.where-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.where-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.45;
  opacity: 0.9;
}
.where-item i {
  font-size: 1.4rem;
  color: #fff; /* blancos, como pediste */
  filter: drop-shadow(0 0 12px rgba(153,15,15,.35));
}
.where-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: border-color .25s ease, color .25s ease;
}
.where-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

/* CTA */
.where-cta {
  margin-top: 0.5rem;
}
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #990f0f, #550808);
  box-shadow: 0 10px 35px rgba(153, 15, 15, 0.45);
  transition: transform .25s cubic-bezier(.2,.9,.2,1), box-shadow .25s ease;
}
.btn-map:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(153, 15, 15, 0.7);
}
.btn-map i { font-size: 1.2rem; }

/* Mapa (columna derecha) */
.where-right {
  display: flex;
  align-items: center;
}
.map-card {
  width: 100%;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06),
              0 20px 60px rgba(0,0,0,.5),
              0 0 60px rgba(153,15,15,.2);
  overflow: hidden;
  transform: translateZ(0);
}
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 11;
  border: 0;
  filter: contrast(1.02) saturate(1.02);
}


.where-section.scroll-fade { opacity: 0; transform: translateY(40px); transition: all .9s ease; }
.where-section.reveal       { opacity: 1; transform: translateY(0); }
.where-left, .where-right   { opacity: 0; transform: translateY(20px); transition: all .9s ease .1s; }
.where-section.reveal .where-left,
.where-section.reveal .where-right { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .where-container {
    grid-template-columns: 1fr;
  }
  .where-title {
    text-align: center;
  }
  .where-left { align-items: center; text-align: center; }
  .where-item { grid-template-columns: 24px 1fr; }
  .map-frame { aspect-ratio: 16/12; }
}

  /* ========== FOOTER 642 Studio ========== */
.footer {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
}


.section-glow::before {
  content: "";
  position: absolute;
  inset: -30% -10%;
  background: radial-gradient(circle at 50% 40%, rgba(153,15,15,0.3) 0%, rgba(153,15,15,0.08) 30%, transparent 65%);
  filter: blur(80px);
  animation: footerBreath 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes footerBreath {
  0%,100% { transform: scale(1); opacity: .7; }
  50%     { transform: scale(1.08); opacity: 1; }
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 2rem;
}


.footer__logo { height: 80px; object-fit: contain; display:block; }
.footer__brand{
  text-align: center;
}
.footer__brand .footer__logo {
  margin: 0 auto; 
}
.footer__tagline {
  margin: .6rem 0 1rem;
  opacity: .85;
  letter-spacing: .5px;
}
.footer__social {
  display: flex;
  gap: .8rem;
  margin-top: .5rem;
  text-align: center;
  justify-content: center;
}
.footer__social-link {
  width: 44px; height: 44px;
  display: grid; place-items:center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-decoration: none;
  color: #fff;
}
.footer__social-link i { font-size: 1.2rem; }
.footer__social-link:hover {
  transform: translateY(-3px);
  background: rgba(153, 15, 15, 0.25);
  box-shadow: 0 8px 30px rgba(153, 15, 15, .35);
}


.footer__title {
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: .9rem;
  background: linear-gradient(90deg,#fff,#d9d9d9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__list { display: grid; gap: .45rem; }
.footer__link {
  color: #e7e7e7;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  opacity: .9;
  transition: opacity .25s ease, transform .25s ease, color .25s ease;
}
.footer__link:hover { opacity: 1; color: #fff; transform: translateX(2px); }

.footer__info-row {
  display: flex; align-items: center; gap: .5rem;
  opacity: .9;
}
.footer__cta {
  margin-top: .9rem;
  border: 1px solid rgba(255,255,255,0.12);
  padding: .6rem 1rem;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  text-decoration: none; color: #fff;
}
.footer__cta:hover {
  transform: translateY(-2px);
  background: rgba(153, 15, 15, .2);
  box-shadow: 0 8px 34px rgba(153, 15, 15, .35);
}


.footer__news-text { opacity: .9; margin-bottom: .9rem; }
.footer__form { display: flex; gap: .5rem; }
.footer__input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  height: 44px;
  border-radius: 10px;
  padding: 0 .9rem;
  outline: none;
  transition: border-color .25s ease, background .25s ease;
}
.footer__input:focus {
  background: rgba(255,255,255,0.07);
  border-color: rgba(153, 15, 15, .6);
}
.footer__btn {
  height: 44px; padding: 0 1.1rem;
  border: none; cursor: pointer;
  border-radius: 10px;
  background: linear-gradient(90deg,#990f0f,#550808);
  color: #fff; font-weight: 700;
  box-shadow: 0 6px 26px rgba(110,10,20,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.footer__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(110,10,20,.55); }

.footer__marquee {
  width: 100vw;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
}
.footer__marquee--top { border-bottom: none; }
.footer__marquee--bottom { border-top: none; }

.footer__marquee-inner {
  display: inline-block;
  white-space: nowrap;
  animation: footerTicker 24s linear infinite;
  padding: .55rem 0;
  letter-spacing: .35rem;
  font-size: .72rem;
  opacity: .6;
}
.footer__marquee-inner span {
  margin: 0 1.4rem;
}
@keyframes footerTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}


.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  border-top: 1px dashed rgba(255,255,255,0.12);
  opacity: .9;
}
.footer__policies { display:flex; gap:.9rem; }
.footer__mini-link {
  color: #e9e9e9; text-decoration: none; opacity: .85;
  transition: opacity .25s ease;
}
.footer__mini-link:hover { opacity: 1; }


@media (max-width: 1024px){
  .footer__container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer__container { grid-template-columns: 1fr; }
  .footer__form { flex-direction: column; }
  .footer__btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}



.bg{
  width: 100%;
  height: 100%;
  background: url(assets/images/bg.jpg) ;
  position: absolute;
  top: 0;
  left: 0;
  animation: bg 50s linear infinite;
}

@keyframes bg {
  from {
    background-position-x:0%;
  }
  to {
    background-position-x: 100%;
  }
}

.header-wrp{
  position: relative;
  width: 100%;
  height: 100vh;
  
}

.headerservicios{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  max-width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.headerservicios > h2{
  font-size: 18rem;
  -webkit-text-stroke: 3px;
  -webkit-text-fill-color: transparent;
  margin: 0;
  z-index: 2;
  line-height: 16rem;
  pointer-events: none;
  overflow: hidden;
  line-height: clamp(0px 20vw, 16rem);
  font-size: clamp(0px, 20vw, 16rem);
}

.headerservicios > h2 > span{
  background-clip: text;
  display: inline-block;
}

.images .img{
  width: 200px;
  transform: translate(-50%,-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  opacity: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.images .img img{
  width: inherit;
  height: 100%;
  object-fit: contain;
}



.headerservicios:not(.active){
  display: none;
}