/* ===================== VARIABLES ===================== */
:root {
  --bg-dark: #1a1a1a;
  --bg-darker: #121212;
  --bg-card: #242424;
  --red: #e50000;
  --red-light: #ff2d2d;
  --chrome: #e0e0e0;
  --chrome-dim: #9a9a9a;
  --white: #f5f5f5;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0,0,0,.45);
  --transition: .35s cubic-bezier(.25,.8,.25,1);
  --font: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 20px; height: 20px; fill: currentColor; }

.text-accent { color: var(--red-light); }

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(229,0,0,.4);
}
.btn--primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(229,0,0,.55);
}
.btn--secondary {
  background: transparent;
  color: var(--chrome);
  border-color: var(--chrome-dim);
}
.btn--secondary:hover {
  border-color: var(--chrome);
  color: var(--white);
  transform: translateY(-3px);
  background: rgba(255,255,255,.05);
}
.btn--call {
  background: var(--red);
  color: var(--white);
  padding: 12px 22px;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(229,0,0,.35);
}
.btn--call:hover { background: var(--red-light); transform: translateY(-2px); }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 18px 0;
}
.navbar.scrolled {
  background: rgba(18,18,18,.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0,0,0,.4);
  padding: 10px 0;
}
.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar__brand { display: flex; align-items: center; }
.navbar__logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
  transition: height var(--transition);
}
.navbar.scrolled .navbar__logo { height: 44px; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--chrome);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.navbar__cta { margin-left: 6px; }
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(.6);
  transform: scale(1.05);
}
.hero__poster {
  z-index: 0;
  transition: opacity .6s ease;
}
.hero__poster.is-hidden {
  opacity: 0;
}
.hero__poster--mobile { display: none; }
@media (max-width: 760px) {
  .hero__poster--desktop { display: none; }
  .hero__poster--mobile { display: block; }
}
.hero__video {
  z-index: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.75) 55%, rgba(18,18,18,.95) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 140px 24px 80px;
}
.hero__badge {
  display: inline-block;
  background: rgba(229,0,0,.15);
  border: 1px solid var(--red);
  color: var(--red-light);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--chrome);
  max-width: 620px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 46px;
  border: 2px solid var(--chrome-dim);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px;
  height: 10px;
  background: var(--red);
  border-radius: 4px;
  animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ===================== SECTION COMMON ===================== */
section { padding: 110px 0; position: relative; }
.section__eyebrow {
  color: var(--red-light);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.section__lead {
  color: var(--chrome);
  max-width: 640px;
  font-size: 1.05rem;
  margin-bottom: 50px;
}

/* ===================== SERVICES ===================== */
.services { background: var(--bg-dark); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-10px);
  border-color: rgba(229,0,0,.4);
  box-shadow: 0 30px 60px rgba(229,0,0,.18);
}
.card__media { height: 220px; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 28px; }
.card__icon { font-size: 28px; display: inline-block; margin-bottom: 14px; }
.card__body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.card__body p { color: var(--chrome); font-size: .95rem; margin-bottom: 22px; }
.card__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.card__whatsapp .icon { width: 18px; height: 18px; }
.card__whatsapp:hover {
  background: #2eeb78;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37,211,102,.4);
}

/* ===================== LOCATION ===================== */
.location { background: var(--bg-darker); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.location__list { list-style: none; margin: 26px 0 36px; display: flex; flex-direction: column; gap: 16px; }
.location__list li { display: flex; align-items: center; gap: 14px; color: var(--chrome); font-weight: 600; }
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(229,0,0,.15);
  flex-shrink: 0;
}
.location__map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.08);
}
.location__map iframe { filter: grayscale(.3) contrast(1.1); }

/* ===================== EXPERIENCE / GALLERY ===================== */
.experience { background: var(--bg-dark); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
}
.gallery__item img, .gallery__item video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .4s ease;
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.65) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover img, .gallery__item:hover video { transform: scale(1.1); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item--video .gallery__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
  background: rgba(229,0,0,.35);
  z-index: 2;
  transition: background var(--transition);
}
.gallery__item--video:hover .gallery__play { background: rgba(229,0,0,.55); }

/* ===================== ABOUT ===================== */
.about { background: var(--bg-darker); }
.about__inner { max-width: 800px; text-align: center; margin: 0 auto; }
.about__text { color: var(--chrome); font-size: 1.05rem; margin-bottom: 50px; }
.about__stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat strong { font-size: 2.4rem; font-weight: 900; color: var(--red-light); }
.stat span { color: var(--chrome); font-size: .9rem; font-weight: 600; }

/* ===================== FOOTER ===================== */
.footer { background: #0d0d0d; padding-top: 80px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo { height: 70px; border-radius: 8px; margin-bottom: 18px; }
.footer__brand p { color: var(--chrome-dim); font-size: .92rem; margin-bottom: 18px; max-width: 320px; }
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(229,0,0,.15);
  border: 1px solid var(--red);
  color: var(--red-light);
}
.footer h4 { font-size: 16px; margin-bottom: 20px; color: var(--white); }
.footer__link {
  display: block;
  color: var(--chrome-dim);
  font-size: .95rem;
  margin-bottom: 14px;
  transition: color var(--transition), transform var(--transition);
}
.footer__link:hover { color: var(--red-light); transform: translateX(4px); }
.footer__bottom {
  text-align: center;
  padding: 26px 0;
  color: var(--chrome-dim);
  font-size: .85rem;
}

/* ===================== FLOATING CTA ===================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.floating-cta__btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}
.floating-cta__btn .icon { width: 26px; height: 26px; }
.floating-cta__btn--whatsapp { background: #25d366; color: #fff; }
.floating-cta__btn--call { background: var(--red); color: #fff; animation: pulse 2.4s infinite; }
.floating-cta__btn:hover { transform: scale(1.12); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229,0,0,.55), 0 10px 30px rgba(0,0,0,.5); }
  70% { box-shadow: 0 0 0 16px rgba(229,0,0,0), 0 10px 30px rgba(0,0,0,.5); }
  100% { box-shadow: 0 0 0 0 rgba(229,0,0,0), 0 10px 30px rgba(0,0,0,.5); }
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10,10,10,.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 40px;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__content { max-width: 1000px; max-height: 88vh; }
.lightbox__content img, .lightbox__content video {
  max-width: 100%; max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close {
  position: absolute;
  top: 28px; right: 36px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 42px;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition), transform var(--transition);
}
.lightbox__close:hover { color: var(--red-light); transform: rotate(90deg); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .location__grid { grid-template-columns: 1fr; }
  .location__map { height: 340px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .navbar__toggle { display: flex; }
  .navbar__links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: rgba(18,18,18,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,.5);
  }
  .navbar__links.is-open { transform: translateX(0); }
  .navbar__cta { margin-left: 0; }
  .hero { min-height: 100svh; }
  .hero__poster,
  .hero__video {
    transform: scale(1);
    filter: blur(2px) brightness(.65);
  }
  .hero__content { padding: 110px 20px 140px; }
  .hero__title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero__actions .btn {
    width: 100%;
    white-space: normal;
    word-break: break-word;
    justify-content: center;
    font-size: 14px;
    padding: 15px 18px;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .about__stats { gap: 30px; }
  .floating-cta { bottom: 16px; right: 16px; gap: 12px; }
  .floating-cta__btn { width: 50px; height: 50px; }
  .floating-cta__btn .icon { width: 22px; height: 22px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .navbar__logo { height: 46px; }
  .section__lead { margin-bottom: 36px; }
  .cards { gap: 22px; }
}
