/* ==========================================================
   GRUPO L'EFFORT — PRECISION MONOLITH DESIGN SYSTEM v2.0
   ========================================================== */

/* --- Global Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --background:   #fcf9f8;
  --surface:      #fcf9f8;
  --surface-low:  #f6f3f2;
  --surface-high: #eae7e7;
  --surface-dim:  #dcd9d9;
  --primary:      #000000;
  --on-primary:   #e5e2e1;
  --on-surface:   #1c1b1b;
  --on-surface-variant: #474747;
  --outline:      #777777;
  --outline-variant: #c6c6c6;
  --inverse-surface: #313030;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--on-surface);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #000; color: #e5e2e1; }

/* --- Typography --- */
.font-syncopate { font-family: 'Syncopate', sans-serif; }
.font-grotesk   { font-family: 'Space Grotesk', sans-serif; }
.font-inter     { font-family: 'Inter', sans-serif; }

/* --- Shared Layout --- */
.site-container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }

/* --- Background Patterns --- */
.blueprint-grid-dark {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
}
.blueprint-grid-light {
  background-image:
    linear-gradient(to right,  rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.dot-grid {
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- Clip Paths --- */
.diagonal-clip  { clip-path: polygon(0 0, 100% 0, 100% 87%, 0% 100%); }
.diagonal-clip2 { clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%); }

/* --- Ghost / watermark labels --- */
.ghost-label {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  color: rgba(0,0,0,0.02);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.ghost-label-white {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* --- Shared Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(252,249,248,0.80);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-nav__brand {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.site-nav__links a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.site-nav__links a:hover { color: #000; }
.site-nav__links a.active-link {
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 2px;
}

.site-nav__cta {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #000;
  color: #e5e2e1;
  border: none;
  padding: 0.75rem 2rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s, transform 0.2s;
}
.site-nav__cta:hover { opacity: 0.85; }
.site-nav__cta:active { transform: scale(0.95); }

/* --- Shared Footer --- */
.site-footer {
  background: var(--inverse-surface);
  padding: 5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}
.site-footer__brand {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.site-footer__tagline {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(229,226,225,0.4);
  margin-top: 1rem;
  max-width: 260px;
  line-height: 1.8;
}
.site-footer__links {
  display: flex;
  gap: 2.5rem;
}
.site-footer__links a {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(229,226,225,0.45);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__copyright {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(229,226,225,0.25);
}

/* --- Buttons --- */
.btn-primary-mono {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  padding: 1.25rem 3rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary-mono:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.15); }

.btn-ghost-mono {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: #000;
  padding: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: gap 0.3s;
}
.btn-ghost-mono:hover { gap: 1.5rem; }

.btn-outline-mono {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: #000;
  padding: 1rem 2rem;
  border: 1px solid rgba(0,0,0,0.2);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.4s, color 0.4s;
}
.btn-outline-mono:hover { background: #000; color: #e5e2e1; }

/* --- Section Labels --- */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  display: block;
}
.eyebrow-primary { color: #000; }

/* --- Ken Burns Anim (Hero) --- */
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
.ken-burns {
  animation: kenBurns 12s ease-out forwards;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 100;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* --- Usados Cards --- */
.usados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 0;
  border-top: 1px solid var(--outline-variant);
}
.usado-card {
  border-bottom: 1px solid var(--outline-variant);
  border-right: 1px solid var(--outline-variant);
  padding: 2.5rem;
  background: var(--surface);
  transition: background 0.4s;
  cursor: pointer;
}
.usado-card:hover { background: var(--surface-low); }
.usado-card__img { width: 100%; height: 220px; object-fit: cover; grayscale(100%); filter: grayscale(100%); transition: filter 0.6s; margin-bottom: 1.5rem; }
.usado-card:hover .usado-card__img { filter: grayscale(0%); }
.usado-card__marca {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 0.5rem;
}
.usado-card__modelo {
  font-family: 'Syncopate', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.usado-card__specs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.usado-card__spec {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.usado-card__spec-label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--outline);
}
.usado-card__spec-value {
  font-size: 0.85rem;
  font-weight: 600;
}
.usado-card__price {
  font-family: 'Syncopate', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .site-nav { padding: 1.25rem 1.5rem; }
  .site-nav__links { display: none; }
  .site-container { padding: 0 1.5rem; }
  .site-footer { padding: 3rem 1.5rem; }
  .usados-grid { grid-template-columns: 1fr; }
}
