:root {
  --carbon: #0c0c0d;
  --orange: #ff6c21;
  --paper: #f3f1ec;
  --paper-dim: #e8e4db;
  --ink-soft: #55534d;
  --white: #ffffff;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-width: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--carbon);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--orange);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }

.btn-primary { background: var(--carbon); color: var(--paper); }
.btn-outline { background: transparent; color: var(--carbon); border-color: rgba(12,12,13,0.25); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--paper);
  border-bottom: 1px solid rgba(12,12,13,0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 26px; flex-shrink: 0; }
.logo-text { line-height: 1; }
.logo-text .cubox { font-weight: 800; font-size: 19px; letter-spacing: 0.04em; }
.logo-text .camper { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.32em; color: var(--orange); margin-top: 2px; }

nav.main-nav { display: flex; gap: 34px; }
nav.main-nav a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--carbon); opacity: 0.75;
  padding: 4px 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}
nav.main-nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--orange);
  transition: right 0.25s ease;
}
nav.main-nav a:hover { opacity: 1; }
nav.main-nav a:hover::after { right: 0; }
nav.main-nav a.active { opacity: 1; color: var(--orange); font-weight: 600; }
nav.main-nav a.active::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--carbon); }
.nav-toggle svg { transition: transform 0.25s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }


/* Hero */
.hero { padding: 64px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
}
.hero h1 em { font-style: normal; }
.hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 480px; margin-bottom: 30px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero .trust-bullets { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.hero .trust-bullets li { list-style: none; display: flex; align-items: center; gap: 6px; }
.hero .trust-bullets li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); display: inline-block; }
.hero .trust-bullets ul { display: flex; gap: 22px; flex-wrap: wrap; padding: 0; }
.hero .trust-bullets li.highlight {
  background: var(--orange); color: var(--white); font-weight: 700;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px;
}
.hero .trust-bullets li.highlight::before { display: none; }


.hero-media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(12,12,13,0.18); }
.hero-media img { width: 100%; height: 520px; object-fit: cover; }
.hero-media img.kenburns { animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img.kenburns { animation: none; }
}
.hero-media .tag {
  position: absolute; bottom: 18px; left: 18px;
  background: var(--carbon); color: var(--paper);
  padding: 10px 16px; border-radius: 10px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Section generic */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 14px 0 16px;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* Producto */
.producto { background: var(--white); }
.producto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; border-top: 1px solid rgba(12,12,13,0.1); }
.feature-list li {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid rgba(12,12,13,0.1);
}
.feature-list .num { font-family: var(--font-serif); font-style: italic; color: var(--orange); font-size: 20px; width: 32px; flex-shrink: 0; }
.feature-list h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature-list p { font-size: 14px; color: var(--ink-soft); }
.producto-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 150px;
  gap: 12px;
}
.mosaic-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
}
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-main { grid-column: span 2; }
.mosaic-more {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,12,13,0.55);
  color: var(--paper); font-size: 13px; font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mosaic-item:hover .mosaic-more { opacity: 1; }

/* Como funciona */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(12,12,13,0.12); }
.paso { padding: 30px 28px 30px 0; border-right: 1px solid rgba(12,12,13,0.12); }
.paso:last-child { border-right: none; }
.paso .step-num { font-family: var(--font-serif); font-style: italic; color: var(--orange); font-size: 15px; margin-bottom: 14px; display: block; }
.paso h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.paso p { font-size: 14.5px; color: var(--ink-soft); }

/* Galeria */
.galeria { background: var(--carbon); color: var(--paper); }
.galeria .section-head p { color: rgba(243,241,236,0.65); }
.galeria .eyebrow { color: var(--orange); }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gal-item {
  position: relative; border-radius: 14px; overflow: hidden;
  border: none; padding: 0; cursor: pointer; background: none;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item .label {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(12,12,13,0.55); padding: 6px 10px; border-radius: 8px;
  transition: background 0.2s ease;
}
.gal-item:hover .label { background: var(--orange); }
.gal-item.tall { grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(12,12,13,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure {
  max-width: 82vw; max-height: 82vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-figure { transform: scale(1); }
.lightbox-figure img { max-width: 82vw; max-height: 72vh; width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lightbox-figure figcaption { color: var(--paper); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(243,241,236,0.1); color: var(--paper);
  border: none; width: 44px; height: 44px; border-radius: 50%;
  font-size: 18px; cursor: pointer; transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(243,241,236,0.22); }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(243,241,236,0.1); color: var(--paper);
  border: none; width: 52px; height: 52px; border-radius: 50%;
  font-size: 32px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-arrow:hover { background: rgba(243,241,236,0.22); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(243,241,236,0.6); font-size: 13px; letter-spacing: 0.08em;
}

/* Video showcase */
.video-showcase { background: var(--white); }
.video-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12,12,13,0.18);
  background: var(--carbon);
}
.video-frame video { width: 100%; max-height: 640px; display: block; object-fit: cover; }

/* Extras */
.extras { background: var(--paper-dim); }
.extras-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.extra-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.extra-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(12,12,13,0.08); }
.extra-icon { font-size: 28px; display: block; margin-bottom: 14px; }
.extra-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.extra-card p { font-size: 14px; color: var(--ink-soft); }
.extras-note { margin-top: 30px; font-size: 14px; color: var(--ink-soft); }

/* Contacto */
.contacto { background: var(--carbon); color: var(--paper); }
.contacto .eyebrow { color: var(--orange); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contacto-copy h2 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(30px, 4vw, 46px); margin: 14px 0 18px; line-height: 1.08; }
.contacto-copy .lead { color: rgba(243,241,236,0.75); font-size: 16.5px; max-width: 440px; margin-bottom: 30px; }
.contacto .cta-row { margin-bottom: 24px; }
.furgo-note {
  font-size: 13.5px;
  color: rgba(243,241,236,0.55);
  max-width: 440px;
}

.contacto-form {
  background: rgba(243,241,236,0.06);
  border: 1px solid rgba(243,241,236,0.14);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(243,241,236,0.6); }
.form-row input, .form-row textarea {
  background: rgba(243,241,236,0.08);
  border: 1px solid rgba(243,241,236,0.18);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 14.5px;
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(243,241,236,0.4); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--orange); }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: 12.5px; color: rgba(243,241,236,0.45); text-align: center; }
.form-note.success { color: var(--orange); }
.form-note.error { color: #ff8a80; }

/* Footer */
footer { background: var(--carbon); color: var(--paper); padding-bottom: 40px; }
.contact-bars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.contact-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; border-radius: 14px;
  background: rgba(243,241,236,0.06);
  font-size: 14px;
}
.contact-bar.whatsapp { background: var(--orange); color: var(--white); font-weight: 600; }
.contact-bar span.label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; opacity: 0.75; }
.contact-bar.whatsapp span.label { opacity: 0.85; }

.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; padding-top: 32px; border-top: 1px solid rgba(243,241,236,0.12); }
.footer-bottom .meta { font-size: 13px; color: rgba(243,241,236,0.5); text-align: right; }

/* Floating WhatsApp */
.float-whatsapp {
  position: fixed; bottom: 24px; right: 24px; z-index: 600;
  background: var(--orange); color: var(--white);
  padding: 14px 20px; border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px rgba(255,108,33,0.4);
  animation: pulse-ring 2.8s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.05); }
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 10px 30px rgba(255,108,33,0.4), 0 0 0 0 rgba(255,108,33,0.35); }
  50% { box-shadow: 0 10px 30px rgba(255,108,33,0.4), 0 0 0 10px rgba(255,108,33,0); }
}
@media (prefers-reduced-motion: reduce) {
  .float-whatsapp { animation: none; }
}

@media (max-width: 860px) {
  nav.main-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(12,12,13,0.08);
    padding: 0 24px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }
  nav.main-nav.open { max-height: 400px; opacity: 1; padding: 8px 24px 20px; pointer-events: auto; }
  nav.main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(12,12,13,0.06); opacity: 1; }
  nav.main-nav a::after { display: none; }
  .desktop-only { display: none; }
  .nav-toggle { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media img { height: 360px; }
  .producto-grid { grid-template-columns: 1fr; }
  .producto-mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .mosaic-main { grid-column: span 3; height: 260px; }
  .mosaic-item:not(.mosaic-main) { height: 140px; }
  .pasos { grid-template-columns: 1fr; }
  .paso { border-right: none; border-bottom: 1px solid rgba(12,12,13,0.12); padding: 24px 0; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .extras-grid { grid-template-columns: 1fr 1fr; }
  .video-frame video { max-height: 320px; }
  .contact-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .meta { text-align: left; }
  .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
  .contacto-form { padding: 26px; }
  .lightbox-arrow { font-size: 28px; width: 44px; height: 44px; }
  .lightbox-figure { max-width: 92vw; }
}
