/* ============================================================
   Grúa para Motos BS — v2 "Oro & Negro"
   Paleta de marca: Oro #D4AF37 · Negro #000000 · Carbón #111111
   Tipografía: Cinzel (estilo Trajan) para títulos · Inter para texto
   ============================================================ */

:root {
  --black:     #000000;
  --charcoal:  #0c0c0c;
  --charcoal-2:#141414;
  --surface:   #16150f;   /* carbón con tinte cálido */
  --surface-2: #1c1a12;

  --gold:      #d4af37;
  --gold-2:    #e7c75a;
  --gold-deep: #a8842a;
  --gold-line: rgba(212,175,55,.22);
  --gold-glow: rgba(212,175,55,.16);

  --white:     #f4efe2;
  --text:      #c4bda8;
  --muted:     #8c867a;

  --whatsapp:  #25d366;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 20px 55px rgba(0,0,0,.6);
  --shadow-gold: 0 14px 36px rgba(212,175,55,.22);

  --maxw: 1180px;
  --ff-head: 'Cinzel', Georgia, serif;
  --ff-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html { scrollbar-color: var(--gold-deep) var(--charcoal); }
body {
  font-family: var(--ff-sans);
  background: var(--black);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg.ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 8px; border: 3px solid var(--charcoal); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 820px; }
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--charcoal); }
.section__head { max-width: 740px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; font-size: .74rem;
  color: var(--gold); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content: "—"; opacity: .5; margin: 0 .5em; }
.section__title {
  font-family: var(--ff-head); font-weight: 600; color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.18; letter-spacing: .02em;
}
.section__lead { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.gold { color: var(--gold); }

/* hairline dorada decorativa */
.rule { width: 70px; height: 2px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: 14px 26px;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: .25s ease; white-space: nowrap;
}
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1a1505; box-shadow: var(--shadow-gold); font-weight: 700;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(212,175,55,.4); }
.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold-line); }
.btn--outline:hover { border-color: var(--gold); background: var(--gold-glow); transform: translateY(-2px); }
.btn--ghost { background: rgba(212,175,55,.06); color: var(--white); border-color: var(--gold-line); }
.btn--ghost:hover { background: var(--gold); color: #1a1505; border-color: var(--gold); }

/* ---------- Topbar ---------- */
.topbar { background: var(--charcoal); color: var(--gold); font-size: .8rem; border-bottom: 1px solid var(--gold-line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; opacity: .92; letter-spacing: .04em; }
.topbar__item--strong { font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(0,0,0,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gold-line);
  transition: background .3s, box-shadow .3s, transform .35s ease;
}
.header.scrolled { background: rgba(0,0,0,.96); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.header--hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__lockup { height: 52px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: var(--text); transition: .2s; letter-spacing: .02em; }
.nav__link:hover { color: var(--gold); background: rgba(212,175,55,.07); }
.nav__call { margin-left: 6px; }

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

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 42%, rgba(0,0,0,.45) 100%),
    linear-gradient(0deg, rgba(0,0,0,.85), transparent 55%);
}
.hero__inner { position: relative; z-index: 1; padding: 110px 0 90px; max-width: 680px; }
.hero__tagline { font-family: var(--ff-head); letter-spacing: .34em; text-transform: uppercase; font-size: .76rem; color: var(--gold); margin-bottom: 22px; }
.hero__title { font-family: var(--ff-head); font-weight: 600; color: var(--white); font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.1; letter-spacing: .015em; }
.hero__title .gold { display: block; }
.hero__sub { margin: 22px 0 32px; font-size: 1.12rem; color: #d8d2c4; max-width: 540px; }
.hero__sub strong { color: var(--gold-2); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 32px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted); }
.hero__trust .ic { color: var(--gold); }

/* ---------- Stats strip ---------- */
.stats { background: var(--charcoal); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.stats__inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { text-align: center; padding: 30px 16px; border-right: 1px solid var(--gold-line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.stat__label { font-size: .8rem; color: var(--muted); margin-top: 8px; display: block; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: #160f02; overflow: hidden; }
.marquee__track { display: flex; gap: 26px; white-space: nowrap; padding: 12px 0; font-family: var(--ff-head); font-weight: 600; letter-spacing: .16em; font-size: .82rem; text-transform: uppercase; animation: scroll 30s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.card {
  background: linear-gradient(165deg, var(--surface), var(--charcoal));
  border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 34px 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.card__icon {
  width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 30%, rgba(212,175,55,.2), rgba(212,175,55,.04));
  border: 1px solid var(--gold-line); margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; fill: var(--gold); }
.card__title { font-family: var(--ff-head); font-weight: 600; color: var(--white); font-size: 1.2rem; margin-bottom: 10px; letter-spacing: .02em; }
.card__text { color: var(--muted); font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { position: relative; background: var(--charcoal); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 32px 26px; }
.step__num {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.2rem; color: var(--gold);
  border: 1px solid var(--gold); margin-bottom: 18px; background: rgba(212,175,55,.06);
}
.step__title { font-family: var(--ff-head); font-weight: 600; color: var(--white); font-size: 1.12rem; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: .92rem; }

/* ---------- Galería (fotos reales) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--gold-line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 50px -30px rgba(0,0,0,.8); pointer-events: none; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--gold-line); }
.why__media::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); border-radius: 0 var(--radius) 0 0; opacity: .6; }
.why__sticker { position: absolute; left: -16px; bottom: -16px; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: #160f02; padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-gold); text-align: center; }
.why__sticker strong { font-family: var(--ff-head); font-size: 1.5rem; display: block; line-height: 1; }
.why__sticker span { font-size: .74rem; letter-spacing: .04em; }
.checklist { margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.checklist .ic { color: var(--gold); margin-top: 4px; width: 1.2em; height: 1.2em; }

/* ---------- Zones ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 920px; margin: 0 auto; }
.chip { padding: 9px 18px; border-radius: 999px; background: var(--charcoal); border: 1px solid var(--gold-line); color: var(--text); font-size: .9rem; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.chip--alt { background: rgba(212,175,55,.08); border-color: var(--gold); color: var(--gold-2); }

/* ---------- Reviews ---------- */
.review { background: linear-gradient(165deg, var(--surface), var(--charcoal)); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 30px; }
.review__stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 16px; }
.review blockquote { color: var(--text); font-size: 1rem; font-style: italic; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--gold-line); }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700; color: #160f02; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); }
.review figcaption strong { color: var(--white); display: block; font-size: .95rem; }
.review figcaption small { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--charcoal); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 85% 50%, var(--gold-glow), transparent 60%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 64px 0; flex-wrap: wrap; }
.cta-band__title { font-family: var(--ff-head); font-weight: 600; color: var(--white); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.18; }
.cta-band__text { color: var(--muted); margin-top: 10px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--charcoal); border: 1px solid var(--gold-line); border-radius: var(--radius-sm); padding: 4px 22px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--gold); }
.faq__item summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--white); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--ff-head); letter-spacing: .01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--ff-head); font-size: 1.5rem; color: var(--gold); transition: transform .25s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__list { margin-top: 30px; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(212,175,55,.1); border: 1px solid var(--gold-line); color: var(--gold); flex: none; }
.contact__list small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__list a, .contact__list span { color: var(--white); font-weight: 600; }
.contact__list a:hover { color: var(--gold); }

.contact__form { background: linear-gradient(165deg, var(--surface), var(--charcoal)); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 32px; }
.contact__form-title { font-family: var(--ff-head); font-weight: 600; color: var(--white); font-size: 1.4rem; margin-bottom: 20px; letter-spacing: .02em; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .85rem; color: var(--text); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--gold-line); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--white); font-family: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.field input::placeholder, .field textarea::placeholder { color: #6a6557; }
.contact__note { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); border-top: 1px solid var(--gold-line); padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 42px; }
.footer__lockup { height: 84px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(212,175,55,.06); border: 1px solid var(--gold-line); transition: .2s; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__social a:hover svg { fill: #160f02; }
.footer__social svg { width: 18px; height: 18px; fill: var(--gold); transition: fill .2s; }
.footer__col h4 { font-family: var(--ff-head); color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: .08em; text-transform: uppercase; }
.footer__col a, .footer__muted { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid var(--gold-line); padding: 22px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }

/* ---------- Floating button ---------- */
.fab { position: fixed; bottom: 22px; right: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: transform .25s; }
.fab--whatsapp { background: var(--whatsapp); animation: bob 3s ease-in-out infinite; }
.fab--whatsapp svg { width: 32px; height: 32px; fill: #fff; }
.fab:hover { transform: scale(1.08); }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--3 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stats__inner { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat { border-bottom: 1px solid var(--gold-line); }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 180px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .topbar__item:first-child { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh;
    width: min(82%, 320px); flex-direction: column; align-items: stretch; gap: 6px;
    background: #050505; border-left: 1px solid var(--gold-line);
    padding: 90px 22px 30px; transform: translateX(100%); transition: transform .32s ease;
    box-shadow: -18px 0 50px rgba(0,0,0,.7); overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 13px 16px; border-radius: 10px; }
  .nav__call { margin: 8px 0 0; }
  .nav-toggle { display: flex; z-index: 70; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions .btn { flex: 1; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .brand__lockup { height: 42px; }
}

@media (max-width: 380px) {
  .brand__lockup { height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
