/* ═══════════════════════════════════════════
   FINALLY CARS — Light Theme Premium CSS
═══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #ffffff;
  --dark:     #f5f5f5;
  --card-bg:  #ededed;
  --border:   #e0e0e0;
  --gold:     #C9A84C;
  --gold-lt:  #E8C96C;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --white:    #0a0a0a;
  --gray:     #666666;
  --gray-lt:  #333333;
  --red:      #e03030;

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

  --nav-h: 72px;
  --section-pad: 120px;
  --radius: 4px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.accent { color: var(--gold); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SECTION HEADERS ── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding-left: 24px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  max-width: 560px;
  margin-top: 20px;
}

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 20px auto 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: #0a0a0a;
}
.btn--primary:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(0,0,0,0.2);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Outline blanco para secciones oscuras (hero) */
.btn--outline-white {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover { color: #ffffff; border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 32px rgba(0,0,0,0.35);
  border-bottom-color: rgba(201,168,76,0.2);
}

.nav__container {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 48px;
}

.nav__logo { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.nav__logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 8px rgba(201,168,76,0.15));
  transition: opacity 0.2s;
}
.nav.scrolled .nav__logo-img {
  filter: none;
}
.nav__logo:hover .nav__logo-img { opacity: 0.85; }

.nav__links { display: flex; gap: 36px; margin-left: auto; }
.nav__links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--gold); }

.nav__cta { flex-shrink: 0; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: #ffffff;
  transition: all 0.3s;
}
.nav.scrolled .nav__hamburger span { background: #ffffff; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO — always dark with photo
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('fotos/hero-showroom.jpg');
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
@media (max-width: 768px) {
  .hero__bg { background-position: center 65%; }
}
.hero__bg.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.55) 50%, rgba(5,5,5,0.75) 100%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: var(--nav-h);
}

.hero__eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before {
  content: ''; width: 32px; height: 1px;
  background: var(--gold); flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: #ffffff;
}
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--gold); }

.hero__subtitle {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  margin-bottom: 48px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero__scroll-indicator span {
  font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.hero__badge {
  position: absolute; right: 80px; bottom: 100px; z-index: 2;
}
.hero__badge-inner {
  width: 100px; height: 100px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.08);
  backdrop-filter: blur(10px);
  animation: rotateBadge 8s linear infinite;
}
@keyframes rotateBadge { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero__badge-inner:hover { animation-play-state: paused; }
.hero__badge-num {
  font-family: var(--font-display); font-size: 28px;
  color: var(--gold); line-height: 1;
  animation: rotateBadge 8s linear infinite reverse;
}
.hero__badge-text {
  font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  text-align: center; animation: rotateBadge 8s linear infinite reverse;
}

/* ══════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════ */
.ticker { overflow: hidden; background: var(--gold); padding: 14px 0; white-space: nowrap; }
.ticker__track {
  display: inline-flex; gap: 32px;
  animation: ticker 30s linear infinite;
}
.ticker__track span {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #0a0a0a; flex-shrink: 0;
}
.ticker__dot { color: #0a0a0a !important; opacity: 0.4; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════
   STATS
══════════════════════════════════════════════ */
.stats { padding: 80px 0; border-bottom: 1px solid var(--border); background: var(--black); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
}
.stats__item {
  background: var(--black);
  padding: 48px 32px; text-align: center;
  transition: background 0.3s;
  position: relative;
}
.stats__item::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.4s var(--ease-out);
}
.stats__item:hover { background: var(--dark); }
.stats__item:hover::after { width: 40px; }
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 96px);
  color: #0a0a0a; line-height: 1;
}
.stats__plus {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 64px);
  color: var(--gold);
}
.stats__label {
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--gray); text-transform: uppercase; margin-top: 16px;
}

/* ══════════════════════════════════════════════
   SERVICES — foto arriba, contenido blanco abajo
══════════════════════════════════════════════ */
.services { padding: var(--section-pad) 0; background: #f5f5f5; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: #d8d8d8;
}

.service-card {
  background: #ffffff !important;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.13);
  z-index: 1;
}

.service-card__photo-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #111;
}
.service-card__photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.6s var(--ease-out);
  display: block;
}
.service-card:hover .service-card__photo { transform: scale(1.07); }

.service-card__num {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-display); font-size: 52px;
  color: rgba(255,255,255,0.25); line-height: 1;
  pointer-events: none;
}

.service-card__body {
  padding: 24px 28px 28px;
  background: #ffffff;
  border-top: 3px solid #C9A84C;
}

.service-card__title {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 22px; letter-spacing: 0.05em;
  color: #0a0a0a !important; margin-bottom: 10px;
  text-transform: uppercase;
}

.service-card__desc {
  font-size: 13px; line-height: 1.65;
  color: #666666 !important; margin-bottom: 16px;
}

.service-card__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.service-card__tags span {
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #C9A84C;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 3px 9px; border-radius: 2px;
  background: transparent;
}

/* ══════════════════════════════════════════════
   PROJECTS — grid de proyectos reales
══════════════════════════════════════════════ */
.projects { padding: var(--section-pad) 0; background: var(--black); }
.projects .section-header { margin-bottom: 48px; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 6px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  background-size: cover;
  background-position: center;
}

.project-card--large { grid-column: span 2; }
.project-card--tall { grid-row: span 2; }

.project-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.7s var(--ease-out);
}
.project-card:hover .project-card__img { transform: scale(1.06); }

.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.2) 60%, transparent 100%);
  opacity: 0.8;
  transition: opacity 0.4s;
}
.project-card:hover .project-card__overlay { opacity: 1; }

.project-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}
.project-card:hover .project-card__content { transform: translateY(0); }

.project-card__tag {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--gold); color: #0a0a0a;
  padding: 4px 10px; margin-bottom: 8px;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 22px; letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff; margin-bottom: 4px;
}

.project-card__sub {
  font-size: 12px; color: rgba(255,255,255,0.6);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
}
.project-card:hover .project-card__sub { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about { padding: var(--section-pad) 0; background: var(--black); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about__img-wrap { position: relative; padding-bottom: 110%; }

.about__img-real {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  border-radius: 2px;
}

.about__img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 2px solid var(--gold);
  opacity: 0.2; pointer-events: none;
}

.about__cert-badge {
  position: absolute; bottom: 24px; left: -24px;
  background: var(--black);
  border: 1px solid var(--border);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.about__cert-icon { color: var(--gold); font-size: 20px; }
.about__cert-badge strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); }
.about__cert-badge span { font-size: 11px; color: var(--gray); letter-spacing: 0.05em; }

.about__quote {
  font-size: 17px; font-style: italic;
  line-height: 1.6; color: var(--gray-lt);
  border-left: 2px solid var(--gold);
  padding-left: 20px; margin: 24px 0 8px;
}
.about__founder {
  font-size: 12px; letter-spacing: 0.12em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 24px;
}
.about__body {
  font-size: 15px; line-height: 1.75;
  color: var(--gray); margin-bottom: 32px;
}
.about__pillars { display: flex; flex-direction: column; gap: 16px; }
.about__pillars li { display: flex; align-items: flex-start; gap: 14px; }
.about__pillar-icon { color: var(--gold); font-size: 10px; margin-top: 5px; flex-shrink: 0; }
.about__pillars strong { display: block; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.about__pillars span { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ══════════════════════════════════════════════
   BRANDS
══════════════════════════════════════════════ */
.brands {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black);
}
.brands__label {
  text-align: center; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 40px;
}
.brands__grid {
  display: flex; justify-content: center; align-items: center;
  gap: 64px; flex-wrap: wrap;
}
.brands__item {
  font-family: var(--font-display);
  font-size: 24px; letter-spacing: 0.1em;
  color: rgba(0,0,0,0.35); text-transform: uppercase;
  transition: color 0.3s; cursor: default;
  border: 1px solid var(--border);
  padding: 16px 28px;
}
.brands__item:hover { color: var(--gold); border-color: var(--gold); }

/* ══════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════ */
.process { padding: var(--section-pad) 0; background: var(--black); }
.process__steps { display: flex; align-items: flex-start; position: relative; }
.process__step { flex: 1; padding: 0 32px; text-align: center; }
.process__step:first-child { padding-left: 0; }
.process__step:last-child { padding-right: 0; }
.process__num {
  font-family: var(--font-display); font-size: 80px;
  color: #0a0a0a; line-height: 1; margin-bottom: 20px;
  -webkit-text-stroke: 1px rgba(0,0,0,0.15);
}
.process__step h3 {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #0a0a0a; margin-bottom: 12px;
  border-top: 2px solid var(--gold);
  padding-top: 16px; display: inline-block;
}
.process__step p { font-size: 14px; line-height: 1.7; color: var(--gray); }
.process__connector {
  flex-shrink: 0; width: 48px; height: 1px;
  background: var(--border);
  margin-top: 40px; align-self: flex-start;
}

/* ══════════════════════════════════════════════
   EXPANSION
══════════════════════════════════════════════ */
.expansion {
  padding: 80px 0; background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.expansion .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.expansion__content p { font-size: 15px; line-height: 1.7; color: var(--gray); margin-top: 20px; }
.expansion__locations { display: flex; flex-direction: column; gap: 20px; }
.expansion__location {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  opacity: 0.4; transition: opacity 0.3s;
}
.expansion__location--active { opacity: 1; }
.expansion__location:hover { opacity: 0.8; }
.expansion__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); flex-shrink: 0; border: 1px solid var(--gray);
}
.expansion__dot--active {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}
.expansion__location strong { display: block; font-size: 16px; font-weight: 600; color: var(--white); }
.expansion__location span { font-size: 12px; color: var(--gray); }

/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact { padding: var(--section-pad) 0; background: var(--dark); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact__desc { font-size: 15px; line-height: 1.7; color: var(--gray); margin: 20px 0 40px; }
.contact__details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.contact__detail { display: flex; align-items: flex-start; gap: 16px; }
.contact__detail-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.contact__detail strong {
  display: block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 4px;
}
.contact__detail span { font-size: 14px; color: var(--gray); line-height: 1.5; }

.contact__social { display: flex; gap: 12px; }
.social__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--gray);
  border-radius: var(--radius); transition: all 0.3s;
}
.social__btn svg { width: 16px; height: 16px; }
.social__btn:hover { border-color: var(--gold); color: var(--gold); }

.contact__form-wrap {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.05);
}
.contact__form-title {
  font-family: var(--font-display); font-size: 28px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); margin-bottom: 32px;
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form__group { position: relative; }
.form__group input,
.form__group textarea,
.form__group select {
  width: 100%; background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--white);
  font-size: 14px; padding: 16px; outline: none;
  transition: border-color 0.2s; appearance: none; -webkit-appearance: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--gray); }
.form__group select { color: var(--gray); cursor: pointer; }
.form__group select option { background: var(--black); color: var(--white); }
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus { border-color: var(--gold); }
.form__group textarea { resize: vertical; min-height: 100px; }
.form__group label { display: none; }

/* ══════════════════════════════════════════════
   FOOTER — dark
══════════════════════════════════════════════ */
.footer { border-top: 1px solid rgba(201,168,76,0.15); background: #0a0a0a; }
.footer__top { padding: 80px 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 64px; }
.footer__logo { display: flex; align-items: center; margin-bottom: 20px; overflow: hidden; }
.footer__logo-img {
  height: 64px; width: auto; object-fit: contain; display: block;
  filter: brightness(1.1);
}
.footer__brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 280px; margin-bottom: 24px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); color: rgba(255,255,255,0.45); transition: all 0.3s;
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }

.footer__col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #ffffff; margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer__col ul a:hover { color: var(--gold); }
.footer__address,
.footer__hours { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.45); margin-bottom: 12px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.06em; }

/* ══════════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
  padding: 20px;
  animation: lbFadeIn 0.25s ease;
}
.lightbox.active { display: flex; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  pointer-events: none;
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}
.lightbox__close:hover { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }

.lightbox__meta {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  text-align: center; white-space: nowrap;
}
.lightbox__title {
  display: block;
  font-family: var(--font-display); font-size: 18px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
}
.lightbox__sub {
  display: block;
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-top: 4px; letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--gold); color: #0a0a0a;
  border: none; border-radius: var(--radius);
  font-size: 18px; font-weight: 700; cursor: pointer;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-lt); }

/* Swipe hint oculto en desktop */
.projects__swipe-hint { display: none; }

/* ══════════════════════════════════════════════
   MOBILE MENU OVERLAY
══════════════════════════════════════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: #0a0a0a;
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.mobile-menu.active { display: flex; }

.mobile-menu__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.mobile-menu__close:hover { background: #C9A84C; color: #0a0a0a; border-color: #C9A84C; }

.mobile-menu__nav {
  display: flex; flex-direction: column;
  align-items: center; gap: 36px;
  margin-bottom: 48px;
}

.mobile-menu__link {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 32px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu__link:hover,
.mobile-menu__link:active { color: #C9A84C; }

.mobile-menu__cta { font-size: 13px; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--large { grid-column: span 2; }
  .project-card--tall { grid-row: span 1; height: 360px; }
}

@media (max-width: 900px) {
  :root { --section-pad: 80px; }

  /* ── NAV MOBILE ── */
  .nav__container { justify-content: space-between; padding: 0 20px; }
  .nav__logo-img { height: 44px; max-width: 150px; object-fit: contain; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; margin-left: 0; flex-shrink: 0; }
  .nav__hamburger span { background: #ffffff !important; }

  /* Overlay: cubre pantalla completa, el nav queda encima */
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: #0a0a0a !important;
    align-items: center;
    justify-content: center;
    padding-top: 72px;
    gap: 40px;
    z-index: 999;
  }
  .nav__links.open a {
    display: block;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.9) !important;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 0;
  }
  .nav__links.open a:hover { color: #C9A84C !important; }

  .hero__badge { display: none; }
  .hero__title { font-size: clamp(56px, 12vw, 120px); }

  .about__grid,
  .contact__grid,
  .expansion .container { grid-template-columns: 1fr; gap: 48px; }

  .about__img-wrap { padding-bottom: 70%; }
  .about__cert-badge { left: 0; }

  .process__steps { flex-direction: column; gap: 40px; }
  .process__connector { display: none; }
  .process__step { text-align: left; padding: 0; }

  .projects__grid { grid-template-columns: 1fr 1fr; }
  .project-card--large { grid-column: span 2; }
  .project-card--tall { grid-row: span 1; }
  .project-card { height: 280px; }

  .brands__grid { gap: 12px; }
  .brands__item { padding: 12px 16px; font-size: 18px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 60px; }
  .container { padding: 0 20px; }

  .hero__title { font-size: clamp(48px, 14vw, 80px); }
  .hero__subtitle { font-size: 15px; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .services__grid { grid-template-columns: 1fr; }
  .service-card__photo-wrap { height: 200px; }

  /* ── PROYECTOS: scroll horizontal en móvil ── */
  .projects__grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 0 20px 0 0;
    cursor: grab;
    /* Ocultar scrollbar completamente */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .projects__grid::-webkit-scrollbar { display: none; }

  .project-card {
    flex-shrink: 0;
    width: 80vw;
    height: 260px;
    scroll-snap-align: start;
  }
  .project-card--large { width: 88vw; height: 260px; grid-column: unset; }
  .project-card--tall  { height: 260px; grid-row: unset; }

  /* Swipe hint */
  .projects__swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.45);
  }
  .projects__swipe-hint svg {
    animation: swipeAnim 1.6s ease-in-out infinite;
  }
  @keyframes swipeAnim {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(6px); opacity: 1; }
  }

  .about__grid { gap: 32px; }
  .about__img-wrap { padding-bottom: 80%; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .expansion .container { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 28px 20px; }
  .brands__grid { gap: 8px; }
  .brands__item { font-size: 16px; padding: 10px 14px; }

  .section-title { font-size: clamp(36px, 10vw, 60px); }

  .lightbox__img { max-width: 95vw; max-height: 75vh; }
  .lightbox__meta { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .hero__bg { transition: none; }
}
