/* ============================================
   ALTUM CONSTRUCTORA — design tokens
   ============================================ */
:root {

  --black: #0e0e0e;
  --charcoal: #1a1a1a;
  --charcoal-2: #232323;
  --line: #2e2e2e;
  --white: #f5f5f4;
  --gray: #9a9a9a;
  --orange-1: #ff7a1a;
  --orange-2: #f54e00;
  --gradient: linear-gradient(100deg, var(--orange-1), var(--orange-2));

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 76px;
  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  overflow-x: hidden;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 .5em;
  line-height: 1.15;
}

:focus-visible {
  outline: 2px solid var(--orange-1);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.section-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--orange-1);
  margin: 0 0 .6em;
}
.section-label.center { text-align: center; margin-bottom: 3em; }

.btn {
  display: inline-block;
  padding: .9em 1.8em;
  border-radius: 3px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,78,0,.35); }
.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--orange-1); color: var(--orange-1); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { height: 44px; width: auto; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-word strong {
  font-size: 1.15rem;
  letter-spacing: .04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-word small { font-size: .6rem; letter-spacing: .18em; color: var(--gray); text-transform: uppercase; margin-top: 3px; }

.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--gray);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-color: var(--orange-1); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.btn-whatsapp-inline {
  background: var(--gradient);
  padding: .6em 1.3em;
  border-radius: 3px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .04em;
  font-weight: 600;
}
.nav-toggle { display: none; background: none; border: 0; width: 32px; height: 24px; padding: 0; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 24px 60px;
  background: var(--black);
}
.hero-shape {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 65%;
  height: 160%;
  background: var(--gradient);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0% 100%);
  opacity: .14;
}

.hero-inner { position: relative; max-width: var(--max-w); margin: 0 auto; }
.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin: 0 0 .5em;
}
.hero-sub { color: var(--gray); font-size: 1.05rem; max-width: 55ch; margin: 0 0 1.6em; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   ABOUT
   ============================================ */
.about { padding: 90px 24px; background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; }
.about-text p { color: var(--gray); max-width: 56ch; }
.services-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
}
.services-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--white);
}
.services-chips li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-1);
  flex-shrink: 0;
}

/* ============================================
   WORK / TABS / CAROUSEL
   ============================================ */
.work { padding: 90px 24px; }
.work-inner { max-width: var(--max-w); margin: 0 auto; }
.work h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .8em; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.tab-btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .85rem;
  padding: .7em 1.4em;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: all .15s ease;
}
.tab-btn:hover { color: var(--white); border-color: var(--orange-1); }
.tab-btn.active { background: var(--gradient); color: #fff; border-color: transparent; }

.carousel { position: relative; }
.car-track-wrap { overflow: hidden; border-radius: 6px; }
.car-track { display: flex; transition: transform .45s cubic-bezier(.6,0,.3,1); }
.car-slide {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
  background: var(--charcoal-2);
  position: relative;
}
.car-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-slide .car-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .02em;
}
.car-slide.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--gray);
  border: 1px dashed var(--line);
  text-align: center;
  padding: 20px;
}
.car-slide.placeholder strong { color: var(--orange-1); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: .85rem; }

.car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(14,14,14,.75);
  color: var(--white);
  cursor: pointer;
  font-size: .9rem;
}
.car-arrow:hover { border-color: var(--orange-1); color: var(--orange-1); }
.car-prev { left: -6px; }
.car-next { right: -6px; }

.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: var(--line); cursor: pointer; padding: 0;
}
.car-dots button.active { background: var(--gradient); width: 22px; border-radius: 4px; transition: width .2s; }

/* ============================================
   SPONSORS — cinta continua
   ============================================ */
.sponsors { padding: 100px 24px 120px; border-top: 1px solid var(--line); overflow: hidden; }
.section-label.center { margin-bottom: 3em; font-size: 1.1rem; }

.sponsors-marquee {
  max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sponsors-track {
  display: flex;
  align-items: center;
  gap: 90px;
  width: max-content;
  animation: sponsors-scroll 22s linear infinite;
}
.sponsors-track img {
  height: 3.5cm;
  width: auto;
  object-fit: contain;
  
}

.sponsor-placeholder {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  color: var(--gray);
  border: 1px dashed var(--line);
  padding: 10px 18px;
  border-radius: 4px;
  white-space: nowrap;
}

@keyframes sponsors-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .sponsors-track { animation: none; }
}
/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--charcoal); border-top: 1px solid var(--line); padding: 70px 24px 0; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-mark { height: 30px; margin-top: 2px; }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: 1rem; }
.footer-brand span { color: var(--gray); font-family: var(--font-body); font-size: .82rem; }

.footer-col h3 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange-1);
  margin-bottom: 1em;
}
.footer-col p { margin: 0 0 .8em; font-size: .92rem; color: var(--white); }
.footer-col p span { color: var(--gray); font-size: .85rem; }
.footer-col a:hover { color: var(--orange-1); }
.footer-links { display: flex; flex-direction: column; gap: .6em; }
.footer-links a { font-size: .92rem; color: var(--white); }
.footer-links a:hover { color: var(--orange-1); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
  font-size: .8rem;
  color: var(--gray);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 60px; height: 60px; color: #fff; }

/* ============================================
   CARRUSEL DE PORTADA (estilo Netflix — full width, antes del hero)
   ============================================ */
.cover-carousel {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 340px;
  overflow: hidden;
  background: var(--black);
}
.cover-track {
  display: flex;
  height: 100%;
  transition: transform .6s cubic-bezier(.6,0,.3,1);
}
.cover-slide {
  flex: 0 0 100%;
  height: 100%;
}
}
.cover-slide.active { opacity: 1; }


.cover-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;    /* se ve la foto entera, sin recortar nada */
}

.cover-slide.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--charcoal), var(--black) 75%);
}
.cover-slide.placeholder span {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray);
  font-size: .85rem;
  border: 1px dashed var(--line);
  padding: 10px 20px;
  border-radius: 4px;
}

/* funde el pie del carrusel con el fondo negro del resto de la página */
.cover-carousel::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: linear-gradient(0deg, var(--black), transparent);
  pointer-events: none;
}

.cover-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(14,14,14,.45);
  color: #fff;
  cursor: pointer;
  font-size: .95rem;
  backdrop-filter: blur(2px);
  transition: border-color .15s, background .15s;
}
.cover-arrow:hover { border-color: var(--orange-1); background: rgba(14,14,14,.7); }
.cover-prev { left: 20px; }
.cover-next { right: 20px; }

.cover-dots {
  position: static;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.cover-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}
.cover-dots button.active {
  background: var(--gradient);
  border-color: transparent;
  width: 24px;
  border-radius: 4px;
}

.highlights {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 24px;
}
.highlights-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.highlights-inner { transition: opacity .4s ease; }
.highlights-inner.is-hidden { opacity: 0; }
.highlight { display: flex; align-items: center; gap: 14px; }
.highlight-icon { width: 34px; height: 34px; color: var(--orange-1); flex-shrink: 0; }
.highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.highlight span { display: block; font-size: .82rem; color: var(--gray); }

@media (max-width: 760px) {
  .highlights-inner { justify-content: flex-start; gap: 22px; }
}
/* ============================================
   SPLASH DE CARGA (video animado al ingresar)
   ============================================ */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease;
}
.splash-screen.hide { opacity: 0; pointer-events: none; }

.splash-logo {
  width: 100vw;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: splash-fade-in .4s ease forwards;
}

@keyframes splash-fade-in {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo { animation: none; opacity: 1; }
}
/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .services-chips { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .btn-whatsapp-inline { display: none; }
  .header-inner { padding: 0 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 70px 20px 60px; }
  .hero-columns { grid-template-columns: 1fr; gap: 20px; }
  .hero-cta { justify-content: flex-start; }
  .cover-carousel { height: auto; min-height: 0px; aspect-ratio: 3/1; }
  .about, .work { padding: 60px 20px; }
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .cover-carousel { height: auto; min-height: 0px; aspect-ratio: 3/1; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-logo { animation: none; opacity: 1; }
  .splash-bar span { animation: none; width: 100%; }
}