/* ==========================================================================
   Nodo Garage — Landing
   Paleta de marca: Negro / Naranja / Gris perla / Blanco
   ========================================================================== */

:root {
  --black: #0a0a0b;
  --black-soft: #161618;
  --black-line: #2a2a2d;
  --orange: #f2660c;
  --orange-dark: #cf560a;
  --pearl: #e9e6e0;
  --pearl-line: #d8d4cc;
  --white: #ffffff;
  --gray-text: #97979b;
  --ink: #141414;

  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.12;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--black-soft); }

.btn-small { padding: 11px 20px; font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--black-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
}

.brand-logo {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
  transition: opacity .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--white);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(20%) contrast(1.05);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(242,102,12,0.16), transparent 55%),
              linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.72) 45%, rgba(10,10,11,0.94) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 760px;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--orange);
  border-radius: 50%;
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Sections (generic) ---------- */
.section { padding: 120px 0; position: relative; }
.section-dark { background: var(--black); color: var(--white); }
.section-light { background: var(--white); color: var(--ink); }
.section-accent { background: var(--orange); color: var(--white); }

.kicker {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.kicker-on-accent { color: var(--black); }

.section-dark h2, .section-light h2, .section-accent h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 24px; }
.section-dark h2 { color: var(--white); }
.section-light h2 { color: var(--ink); }
.section-accent h2 { color: var(--black); }

.lead {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 560px;
  font-weight: 300;
}
.section-light .lead { color: #5c5c60; }
.lead-on-accent { color: rgba(0,0,0,0.72); }

.section-head { max-width: 700px; margin-bottom: 64px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.section-subblock {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--black-line);
}

/* ---------- Pillars ---------- */
.pillars { display: flex; flex-direction: column; gap: 36px; }
.pillar { border-top: 1px solid var(--black-line); padding-top: 24px; }
.pillar-num {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-size: 20px;
  margin: 10px 0 8px;
  color: var(--white);
}
.pillar p { color: var(--gray-text); font-size: 15px; font-weight: 300; }

/* ---------- Nuestro espacio (galería) ---------- */
.taller-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 0.82fr;
  grid-template-rows: 300px 220px;
  gap: 1px;
  background: var(--pearl-line);
  border: 1px solid var(--pearl-line);
}
.taller-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}
.taller-photo-lg { grid-column: 1 / 3; grid-row: 1; }
.taller-photo-tall { grid-column: 3; grid-row: 1 / 3; }
.taller-gallery > .taller-photo:not(.taller-photo-lg):not(.taller-photo-tall) {
  grid-column: 1 / 3; grid-row: 2;
}
.taller-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05);
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.taller-photo:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.05);
}
.taller-photo figcaption {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(10,10,11,0.82), transparent);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.taller-photo figcaption::before {
  content: '';
  display: inline-block;
  width: 8px; height: 2px;
  background: var(--orange);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- Cómo trabajamos (proceso) ---------- */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.process-step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--orange);
}
.process-num {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; color: var(--white); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--gray-text); font-weight: 300; }

/* ---------- Hub de servicios ---------- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--pearl-line);
  border: 1px solid var(--pearl-line);
}
.hub-chip {
  background: var(--white);
  padding: 36px 26px;
  display: block;
  transition: background .25s var(--ease);
}
.hub-chip:hover { background: var(--pearl); }
.hub-icon {
  width: 36px; height: 36px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.6;
  margin-bottom: 20px;
  transition: stroke .25s var(--ease);
}
.hub-chip:hover .hub-icon { stroke: var(--orange); }
.hub-chip h3 {
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 8px;
}
.hub-chip p { font-size: 14px; color: #6a6a6e; font-weight: 300; margin-bottom: 18px; }
.hub-cue {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ---------- Info card (service) ---------- */
.info-card {
  border: 1px solid var(--black-line);
  background: rgba(242,102,12,0.05);
  padding: 40px;
}
.info-card h3 {
  font-size: 18px;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.info-card .check-list { margin-top: 24px; }

.check-list-onlight { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.check-list-onlight li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #45454a;
  font-weight: 300;
}
.check-list-onlight li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}
.check-list-onlight li::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- Feature photo (mecánica general) ---------- */
.feature-photo { margin: 0; height: 460px; overflow: hidden; }
.feature-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.05);
}

/* ---------- Feature checklist (chapa/pintura, cajas, flotas) ---------- */
.feature-checklist {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--black-line);
  border: 1px solid var(--black-line);
}
.fc-item {
  background: var(--black);
  padding: 24px 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--white);
  font-weight: 300;
}
.fc-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 5px;
  background: var(--orange);
}
.feature-checklist-onlight { background: var(--pearl-line); border-color: var(--pearl-line); }
.feature-checklist-onlight .fc-item { background: var(--white); color: var(--ink); }
.feature-checklist-onaccent { background: rgba(0,0,0,0.18); border-color: rgba(0,0,0,0.18); }
.feature-checklist-onaccent .fc-item { background: var(--orange); color: var(--white); }
.feature-checklist-onaccent .fc-dot { background: var(--black); }

/* ---------- Photo row (cajas automáticas, chapa y pintura) ---------- */
.photo-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--black-line);
  border: 1px solid var(--black-line);
}
.photo-row figure {
  position: relative;
  margin: 0;
  height: 300px;
  overflow: hidden;
  background: var(--black);
}
.photo-row img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.05);
  transition: transform .6s var(--ease);
}
.photo-row figure:hover img { transform: scale(1.035); }
.photo-row figcaption {
  position: absolute;
  left: 0; bottom: 0; right: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(10,10,11,0.85), transparent);
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}
.photo-row figcaption::before {
  content: '';
  display: inline-block;
  width: 8px; height: 2px;
  background: var(--orange);
  margin-right: 8px;
  vertical-align: middle;
}
.photo-row-onlight { background: var(--pearl-line); border-color: var(--pearl-line); }

/* ---------- Diferenciales ---------- */
.diff-visual { display: flex; flex-direction: column; gap: 20px; }
.diff-card {
  border: 1px solid var(--black-line);
  padding: 28px 30px;
  border-radius: var(--radius);
}
.diff-card-accent { border-color: var(--orange); background: rgba(242,102,12,0.06); }
.diff-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 16px;
}
.diff-tag-accent { color: var(--orange); }
.diff-list li {
  font-size: 15px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-weight: 300;
}
.diff-list li:first-child { border-top: none; }
.diff-list-off li { color: var(--gray-text); text-decoration: line-through; text-decoration-color: rgba(151,151,155,0.5); }

.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  color: #d8d8da;
  font-weight: 300;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border: 1px solid var(--orange);
  border-radius: 50%;
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 8px;
  width: 6px; height: 3px;
  border-left: 1.5px solid var(--orange);
  border-bottom: 1.5px solid var(--orange);
  transform: rotate(-45deg);
}

/* ---------- CTA block (chapa y pintura, cajas automáticas, flotas) ---------- */
.cta-block { max-width: 680px; }
.cta-block .btn { margin-top: 32px; }

/* ---------- Contacto ---------- */
.contact-list { margin: 32px 0 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; flex-direction: column; gap: 4px; }
.contact-label {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.contact-list a, .contact-list span:not(.contact-label) {
  font-size: 16px;
  color: var(--ink);
}
.contact-list a:hover { color: var(--orange); }

.map-panel {
  position: relative;
  border: 1px solid var(--pearl-line);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.map-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.map-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,0.9), rgba(10,10,11,0.15) 55%);
}
.map-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 32px;
  width: 100%;
}
.map-icon { width: 30px; height: 30px; fill: none; stroke: var(--orange); stroke-width: 1.6; flex-shrink: 0; }
.map-link:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding: 56px 0 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--black-line);
}
.footer-logo { height: 22px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.footer-nav a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
}
.footer-social a:hover { color: var(--orange); }
.footer-bottom { padding: 22px 0 28px; }
.footer-bottom p { font-size: 12px; color: #5f5f63; text-align: center; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split-reverse { direction: ltr; }
  .taller-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 260px 260px;
  }
  .taller-photo-lg, .taller-photo-tall,
  .taller-gallery > .taller-photo:not(.taller-photo-lg):not(.taller-photo-tall) {
    grid-column: 1; grid-row: auto;
  }
  .process-flow { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-photo { height: 340px; }
  .feature-checklist { grid-template-columns: repeat(2, 1fr); }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .photo-row figure { height: 220px; }
  .section { padding: 88px 0; }
}

@media (max-width: 980px) {
  .nav {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--black-soft);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 16px; opacity: 1; }
}

@media (max-width: 600px) {
  .header-inner { padding: 14px 20px; }
  .btn-small { display: none; }
  .container { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .taller-gallery { grid-template-rows: 220px 220px 220px; }
  .process-flow { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .feature-checklist { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr; }
  .photo-row figure { height: 240px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
