@font-face {
    font-family: 'Designer';
    src: url('assets/fonts/Designer.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter-Light-BETA.otf';
    src: url('assets/fonts/Inter-Light-BETA.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GABRWFFR.TTF';
    src: url('assets/fonts/GABRWFFR.TTF') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --cyan: #189cd8;
    --magenta: #e3047d;
    --yellow: #fdea18;
    --black: #121212;

    --background: #0b0f19;
    --card: #1f293d;
    --text: #e2e8f0;
    --white: #f4f7fb;
    --nav-h: 72px;
    --font-display: 'Designer', sans-serif;
    --font-body: 'GABRWFFR.TTF', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    margin: 0;
    font-family: 'Inter-Light-BETA.otf', sans-serif; /* texto */
}

h1, h2, h3,
.section-title,
.about-diagonal-content h2 {
    font-family: 'Designer', sans-serif; /* títulos */
}


.cmyk-bar {
  display: flex;
  height: 6px;
  width: 100%;
}
.cmyk-bar span { flex: 1; }
.cmyk-bar .c { background: var(--cyan); }
.cmyk-bar .m { background: var(--magenta); }
.cmyk-bar .y { background: var(--yellow); }
.cmyk-bar .k { background: #000; }

body > .cmyk-bar {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
}
a {
    color: inherit;
    text-decoration: none;
}
.navbar {
  position: fixed;
  top: 6px; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.nav-logo img { width: 44px; height: 44px; object-fit: contain; }
.nav-logo em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  font-family: 'GABRWFFR.TTF', sans-serif;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.95rem;
}

.nav-links > a:not(.nav-cta) {
  position: relative;
  padding: 0.35rem 0;
}
.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links > a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


main {
    padding-top: 0;
    z-index: 1;
    position: relative;
    min-height: 100vh;
    background-color: var(--background);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,17,32,0.75) 0%, rgba(11,17,32,0.55) 45%, var(--background) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-logo {
  width: clamp(160px, 26vw, 260px);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
}

.hero h1 {
  font-size: clamp(1.9rem, 5.2vw, 3.6rem);
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.ink-c { color: var(--cyan); }
.ink-m { color: var(--magenta); }
.ink-y { color: var(--yellow); }

.hero p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: #dbe4f2;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-marks {
  position: absolute;
  right: clamp(0.8rem, 3vw, 2.5rem);
  bottom: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}
.hero-marks span {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #0b1120;
  font-weight: 700;
}
.hero-marks span:nth-child(1) { background: var(--cyan); color: #fff; }
.hero-marks span:nth-child(2) { background: var(--magenta); color: #fff; }
.hero-marks span:nth-child(3) { background: var(--yellow); }
.hero-marks span:nth-child(4) { background: #000; color: #fff; border: 1px solid #2c3a55; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 30px rgba(24, 156, 216, 0.35);
}
.btn-primary:hover { background: var(--magenta); transform: translateY(-3px); }

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-3px); }


.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--yellow);
}

.project-container {
    display: block;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    max-width: 1300px;
    height: 750px;
    margin: 40px auto;
    align-items: stretch;
    gap: 60px;
    scroll-margin-top: 140px;
}

.project-gallery {
    min-width: 300px;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #121212;
    border: 1px solid #222222;
    outline-offset: 4px;
}

.column-group {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

.column-group.active {
    opacity: 1;
    pointer-events: auto;
}

.image-column {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.mover {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mover img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.col-up .mover {
    animation: scrollUp 12s linear infinite;
}
/* Columna 3 más lenta */
.col-up.slow .mover {
    animation: scrollUp 18s linear infinite;
}

/* Columna 2 hacia abajo */
.col-down .mover {
    animation: scrollDown 15s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Se desplaza exactamente la mitad (por eso duplicamos las fotos) */
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

#about-us {
    padding: 100px 40px 60px;
    width: 100%;
    background:
    linear-gradient(rgba(14, 21, 38, 0.941), rgba(14, 21, 38, 0.94));
    box-sizing: border-box;
}

.about-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text-wrap {
    flex: 1;
    min-width: 280px;
    display: flex;
}

.about-diagonal-box {
    --skew: 0deg;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 28px;
    background:
        linear-gradient(rgba(14, 21, 38, 0.941), rgba(14, 21, 38, 0.94)),
        url("assets/fondos/letras_recortada.jpeg") center / cover no-repeat;
    border: 1px solid #2c3a55;
    box-shadow: 14px 14px 0 rgba(227, 4, 125, 0.14);
    transform: skewX(var(--skew));
}

.about-diagonal-content {
    transform: skewX(calc(-1 * var(--skew)));
    padding: 55px 50px;
}

.about-eyebrow {
    display: inline-block;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
 
.about-diagonal-content h2 {
    font-size: 32px;
    margin: 0 0 18px;
    color: #ffffff;
}
 
.about-diagonal-content p {
    color: #ffffff;
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}
 
/* --- Carrusel de imágenes (derecha) --- */
.about-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: #121212;
    border: 1px solid #222222;
    outline-offset: 4px;
}
 
.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
 
.gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--slide-color, var(--cyan)) 0%, #121212 150%);
}
 
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
 
.slide-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(0, 0, 0, 0.35);
    padding: 8px 18px;
    border-radius: 30px;
}
 
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.6);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 2;
}
 
.gallery-arrow:hover {
    background-color: var(--magenta);
}
 
.gallery-arrow:active {
    transform: translateY(-50%) scale(0.92);
}
 
.gallery-arrow.prev {
    left: 14px;
}
 
.gallery-arrow.next {
    right: 14px;
}
 
.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
 
.gallery-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
 
.gallery-dot.active {
    background-color: var(--yellow);
    transform: scale(1.25);
}
 
@media (max-width: 640px) {
    .about-diagonal-box {
        --skew: -3deg;
        box-shadow: 8px 8px 0 rgba(227, 4, 125, 0.14);
    }
    .about-diagonal-content {
        padding: 38px 26px;
    }
}

#contact-us{
    padding: 100px 40px;
    width: 100%;
    box-sizing: border-box;
    background:
    linear-gradient(rgba(14, 21, 38, 0.94), rgba(14, 21, 38, 0.94)),
    url("assets/fondos/fondo_hexagonos.png") center / cover no-repeat;
}
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    text-align: left; /* Alineación a la izquierda para el contenido interno */
    flex-wrap: wrap; /* Hace que se adapte a celulares poniéndose una columna sobre otra */
}

.contact-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(18, 18, 18, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-button img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.social-button:hover {
    background-color: var(--magenta);
    transform: scale(1.08);
}

.social-button:active {
    transform: scale(0.92);
}

/* Columna de Información */
.contact-info {
    flex: 1;
    min-width: 280px;
    background-color: #121212;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #2c3a55;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info p {
    font-size: 15px;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info strong {
    color: #ffffff;
}

.contact-map {
  border-radius: var(--radius);
  flex: 1.6;
  overflow: hidden;
  min-height: 320px;
  background: var(--card);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.2);
}

footer {
    background-color: rgba(14, 21, 38, 0.941);
    position: sticky;
    display: grid;
    bottom: 0;
    left: 0;
    width: 100%;
    gap: 40px;
    box-sizing: border-box;
}

.footer-main {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.footer-logo {
    display: flex;
    position: 1;
    height: 200px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer-logo:hover{
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 40px;
}

.footer-links p {
    color: var(--yellow);
    font-family: 'Designer', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'GABRWFFR.TTF', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--magenta); /* Línea roja de acento */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 40px;
    max-width: 320px; /* <- clave: evita que el texto invada la columna vecina */
}

.footer-contact h4 {
    color: var(--yellow);
    font-family: 'Designer', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start; /* el ícono queda arriba si el texto pasa a 2 líneas */
    gap: 8px;
    margin: 5px 0;
}

.footer-icon {
    flex-shrink: 0; /* el ícono nunca se encoge ni se deforma */
    width: 20px;
    height: 20px;
}

.footer-contact p span {
    flex: 1;
    min-width: 0; /* permite que el texto haga wrap dentro de su espacio */
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-direction: column;
}

.footer-social h3 {
    color: var(--yellow);
    font-family: 'Designer', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.footer-social-icon {
    display: flex;
    gap: 8px;
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* lo pone blanco, igual que en contact-social */
    transition: filter 0.3s ease;
}

.footer-social a {
    gap: 20px;
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-family: 'GABRWFFR.TTF', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--yellow);
}

.footer-social a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--magenta); /* Línea roja de acento */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.footer-social a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.footer-social a:hover .footer-social-icon {
    filter: invert(84%) sepia(59%) saturate(1000%) hue-rotate(1deg) brightness(105%);
}

.footer-bottom {
    background: linear-gradient(180deg, rgba(14, 21, 38, 0.94) 0%, rgba(4, 18, 52, 0.94) 300%);
    text-align: center;
    padding: 20px 0;
    border-top: 2px solid #222222;
    color: #aaaaaa;
    font-size: 14px;
}

.back-to-top {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    background-color: transparent;
    color: var(--cyan);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.back-to-top:hover {
    background-color: var(--cyan);
    color: var(--black);
    transform: translateY(-50%) translateY(-3px);
}

@media (max-width: 600px) {
    .back-to-top {
        position: static;
        transform: none;
        margin-top: 10px;
    }
    .back-to-top:hover {
        transform: translateY(-3px);
    }
    .footer-bottom {
        flex-direction: column;
        padding: 20px;
    }
}

.contacto-rapido {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    box-shadow: 0px 0px 15px rgba(2, 82, 104, 0.5);
}
.contacto-rapido-text {
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.contacto-rapido-text h3 {
    color: var(--cyan);
    font-size: 25px;
}
.contacto-rapido-text p {
    font-size: 20px;
    font-family: 'Inter-Light-BETA', sans-serif;
    color: var(--cyan);
    font-weight: 600;
}
.contacto-rapido-button {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px;
}
.whatsapp-button-cyan {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.contact-whatsapp-cyan {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--cyan);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'GABRWFFR.TTF', sans-serif;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(12, 135, 176, 0.35);
}
.contact-whatsapp-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(5, 112, 151, 0.729);
}
.whatsapp-icon-cyan {
    height: 22px;
    width: 22px;
    filter: brightness(0) invert(1);
}

.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 40;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 30px; height: 30px; filter: brightness(0) invert(1); }

.atribuciones {
    background: none;
    border: none;
    color: #aaaaaa;
    font-family: 'GABRWFFR.TTF', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.atribuciones:hover {
    color: var(--yellow);
    text-decoration: underline;
}