:root {
  --bg: #101010;
  --bg2: #181818;
  --card: #202020;
  --text: #ffffff;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, .12);
  --red: #e50914;
  --red2: #ff2732;
  --shadow: 0 25px 80px rgba(0, 0, 0, .45);
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: Montserrat, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  background: rgba(10, 10, 10, .45);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: .35s
}

.site-header.scrolled {
  padding: 12px 5vw;
  background: rgba(10, 10, 10, .86)
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  font-size: 14px
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em
}

.main-nav>a,
.nav-drop-btn {
  opacity: .9;
  transition: .25s
}

.main-nav>a:hover,
.nav-drop-btn:hover {
  color: var(--red2)
}

.nav-dropdown {
  position: relative
}

.nav-drop-btn {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-transform: uppercase;
  display: flex;
  gap: 6px;
  align-items: center
}

.mega-menu {
  position: absolute;
  right: -240px;
  top: 38px;
  width: min(900px, 92vw);
  background: rgba(16, 16, 16, .96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: .25s;
  border-radius: 0 0 22px 22px
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.mega-col h4 {
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: 8px;
  margin-bottom: 10px
}

.mega-col button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  margin: 8px 0;
  cursor: pointer;
  transition: .2s
}

.mega-col button:hover {
  color: #fff;
  transform: translateX(4px)
}

.menu-toggle {
  display: none;
  background: var(--red);
  color: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  font-size: 22px
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .1)), url('../img/hero/hero-moto.png') center/cover no-repeat;
  transform: scale(1.04);
  animation: heroMove 12s ease-in-out infinite alternate
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(229, 9, 20, .12), transparent 36%), linear-gradient(180deg, transparent 60%, var(--bg) 100%)
}

.hero-logo{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:2;
}

.hero-logo-img{
    width:650px;
    max-width:85%;
    height:auto;
    display:block;
    filter:
        drop-shadow(0 15px 40px rgba(0,0,0,.45))
        drop-shadow(0 0 30px rgba(255,255,255,.15));
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--muted)
}

.section {
  padding: 100px 5vw
}

.intro{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:20px;
    border-top:1px solid var(--line);
    max-width:1600px;
    width:100%;
    margin:0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--red2);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 14px
}

h1,
h2 {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.04em
}

p {
  color: var(--muted);
  line-height: 1.75;
  font-weight: 500
}

.section-head{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:15px;
    margin-bottom:42px;
}

.section-head p{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.category-tabs{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:30px;
}

.tab-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  padding: 12px 18px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .06em;
  cursor: pointer;
  transition: .25s
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px)
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

.model-card {
  background: linear-gradient(145deg, #222, #151515);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  min-height: 440px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .24);
  transition: .35s;
  cursor: pointer
}

.model-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: rgba(229, 9, 20, .7)
}

.model-img{
    height:280px;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    overflow:hidden;
    padding:20px;
    background:linear-gradient(180deg,#111,#0a0a0a);
}

.model-img img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center bottom;
    transition:.4s;
}

.model-card:hover .model-img img{
    transform:scale(1.05);
}

.model-content {
  padding: 24px
}

.model-category {
  display: inline-block;
  background: var(--red);
  padding: 6px 10px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 12px
}

.model-content h3 {
  font-size: 27px;
  text-transform: uppercase;
  margin-bottom: 12px
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 13px;
  color: #fff
}

.spec-row span {
  color: var(--muted);
  font-weight: 600
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.feature-card {
  padding: 36px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  min-height: 230px;
  transition: .35s
}

.feature-card:hover {
  background: rgba(229, 9, 20, .12);
  transform: translateY(-8px)
}

.feature-card span {
  font-size: 48px;
  color: var(--red);
  font-weight: 900
}

.feature-card h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin: 18px 0 10px
}

.finance-card,
.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(135deg, #202020, #111);
  border: 1px solid var(--line);
  padding: 44px;
  box-shadow: var(--shadow)
}

.finance-card h2 {
  max-width: 720px;
  margin-bottom: 18px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  padding: 16px 24px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: .25s;
  white-space: nowrap;
  border: 0
}

.btn:hover {
  background: var(--red2);
  transform: translateY(-3px)
}

.model-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: .25s
}

.model-modal.active {
  opacity: 1;
  visibility: visible
}

.modal-panel {
  position: relative;
  width: min(1080px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: #151515;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 28px;
  cursor: pointer
}

.modal-gallery {
  padding: 30px;
  background: transparent;
}

.modal-gallery > img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
}

.modal-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px
}

.modal-thumbs button {
  width: 78px;
  height: 60px;
  border: 1px solid var(--line);
  background: #222;
  cursor: pointer;
  padding: 0;
  overflow: hidden
}

.modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-info {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.modal-category {
  color: var(--red2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 12px
}

.modal-info h2 {
  margin-bottom: 18px
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 25px 0
}

.spec-item {
  border: 1px solid var(--line);
  padding: 14px;
  background: rgba(255, 255, 255, .04)
}

.spec-item strong {
  display: block;
  font-size: 24px
}

.spec-item span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700
}

.footer{
  background:#050505;
  border-top:1px solid var(--line);
  padding:60px 20px 30px;
}

.footer-container{
  max-width:1200px;
  margin:0 auto;
  text-align:center;
}

.footer-logo{
  height:70px;
  width:auto;
  display:block;
  margin:0 auto 20px;
}

.footer-text{
  max-width:700px;
  margin:0 auto 25px;
  color:var(--muted);
  line-height:1.8;
}

.footer-social{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:15px;
  margin-bottom:25px;
}

.footer-social a{
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111;
  border:1px solid var(--line);
  color:#fff;
  transition:.3s;
}

.footer-social a:hover{
  background:var(--red);
  border-color:var(--red);
  transform:translateY(-4px);
}

.footer-social svg{
  width:22px;
  height:22px;
}

.footer-bottom{
  color:var(--muted);
  font-size:14px;
}

.footer-bottom strong{
  color:#fff;
}

.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:.8s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

@keyframes heroMove{
  to{
    transform:scale(1.09) translateX(-18px);
  }
}

.floating-whatsapp{
  position:fixed;
  right:25px;
  bottom:25px;
  width:65px;
  height:65px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  z-index:9999;
  box-shadow:0 10px 35px rgba(0,0,0,.35);
  transition:.3s;
}

.floating-whatsapp:hover{
  transform:translateY(-5px);
}

.floating-whatsapp svg{
  width:34px;
  height:34px;
}

@media(max-width:980px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(14, 14, 14, .96);
    border: 1px solid var(--line);
    padding: 22px;
  }

  .main-nav.active {
    display: flex;
  }

  .mega-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 12px;
  }

  .nav-dropdown.open .mega-menu {
    display: grid;
  }

  .intro,
  .modal-panel {
    grid-template-columns: 1fr;
  }

  .models-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .section-head,
  .finance-card,
  .contact-box {
    display: block;
  }

  .btn {
    margin-top: 22px;
  }

  .hero {
    min-height: 620px;
  }

  .modal-gallery > img {
    height: 320px;
    object-fit: contain;
  }
}

@media(max-width:620px) {

  .site-header {
    padding: 14px 4vw;
  }

  .brand span:last-child {
    display: none;
  }

  .hero-logo {
    padding: 28px;
  }

  .section {
    padding: 72px 5vw;
  }

  /* ===== CATALOGO ===== */

.models-grid{
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

  .model-card {
    min-height: auto;
  }

  .model-img {
    height: 130px;
    padding: 10px;
  }

  .model-img img {
    object-fit: contain;
  }

  .model-content {
    padding: 12px;
  }

  .model-content h3 {
    font-size: 16px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .model-content p {
    font-size: 12px;
    line-height: 1.4;
  }

  .model-category {
    font-size: 9px;
    padding: 4px 6px;
  }

  .spec-row {
    font-size: 11px;
    margin-top: 10px;
    padding-top: 10px;
  }

  /* ===== MENU ===== */

  .mega-menu {
    grid-template-columns: 1fr;
  }

  /* ===== MODAL ===== */

  .modal {
    padding: 12px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .modal-panel {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    margin: 20px auto;
    max-height: none;
    overflow: visible;
  }

  .modal-gallery {
    padding: 12px;
  }

  .modal-gallery > img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border: none;
  }

  .modal-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
  }

  .modal-thumbs img {
    width: 100%;
    height: 50px;
    object-fit: contain;
  }

  .modal-info {
    padding: 18px;
  }

  .modal-info h2 {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .modal-info p {
    font-size: 14px;
    line-height: 1.5;
  }

  .spec-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .spec-item {
    padding: 12px;
  }

  .spec-item strong {
    font-size: 14px;
  }

  .modal-close {
    width: 42px;
    height: 42px;
    top: 10px;
    right: 10px;
    z-index: 999;
  }

  .modal-cta,
  .modal-info .btn {
    width: 100%;
    margin-top: 12px;
  }

  /* ===== FOOTER ===== */

  .footer {
    padding: 40px 15px 20px;
  }

  .footer-logo {
    height: 55px;
  }

  .footer-text {
    font-size: 13px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 44px;
    height: 44px;
  }

  .footer-social svg {
    width: 20px;
    height: 20px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* ===== WHATSAPP ===== */

  .floating-whatsapp {
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
  }

  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }

  /* ===== HERO ===== */

  .hero-bg {
    background-image:
      linear-gradient(
        90deg,
        rgba(0,0,0,.7),
        rgba(0,0,0,.25)
      ),
      url('../img/hero/hero-moto.png');
  }

  /* ===== UNIDADES DESTACADAS MOBILE ===== */

.featured-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  width:100%;
}

.feature-card{
  width:100%;
  min-height:auto;
  padding:22px 20px;
}

.feature-card span{
  font-size:38px;
  line-height:1;
}

.feature-card h3{
  font-size:20px;
  line-height:1.1;
  margin:12px 0 8px;
}

.feature-card p{
  font-size:13px;
  line-height:1.55;
}

}