/* ============================================================
   COLORES DEL SITIO — cámbialos aquí cuando decidan el tema
   ============================================================ */
:root {
  --accent: #c8a24a;        /* color principal de botones y detalles */
  --accent-dark: #a8862f;
  --ink: #111111;           /* texto y fondos oscuros (como el logo) */
  --ink-2: #2b2b2b;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --line: #e4e4e0;
  --ok: #1f9d55;
  --danger: #d64545;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --font: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.3em; border-radius: 10px;
  border: 0; font: 600 .95rem var(--font); cursor: pointer; text-decoration: none; transition: .15s; white-space: nowrap; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); color: var(--ink); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { filter: brightness(.92); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm { padding: .5em 1em; font-size: .85rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-btn { background: none; border: 0; color: var(--accent-dark); font-weight: 600; cursor: pointer; text-decoration: underline; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--accent-dark); }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.lang-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .45em .7em; font-weight: 700; cursor: pointer; }
.menu-btn { display: none; border: 0; background: none; font-size: 1.5rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 400px at 80% -10%, #3a3a3a, transparent), linear-gradient(160deg, #0b0b0b, #232323);
  color: #fff; padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: 16ch; }
.hero__sub { font-size: 1.1rem; color: #d0d0d0; max-width: 55ch; margin-bottom: 2rem; }
.search { display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; background: #fff; color: var(--ink); padding: 1rem; border-radius: var(--radius);
  box-shadow: var(--shadow); max-width: 720px; align-items: end; }
.search label, .form-grid label { min-width: 0; display: flex; flex-direction: column; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.search .btn { height: 46px; background: var(--accent); color: var(--ink); }
.search .btn:hover { background: var(--accent-dark); }
input, select, textarea { font: 1rem var(--font); padding: .7em .8em; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- secciones ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section__sub { color: var(--muted); margin-top: -.3rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1rem; }
.chip { border: 1px solid var(--line); background: #fff; padding: .45em 1em; border-radius: 99px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.avail-bar { display: flex; gap: 1rem; align-items: center; background: #fff8e6; border: 1px solid #f0dca8; padding: .6rem 1rem; border-radius: 10px; margin-bottom: 1rem; flex-wrap: wrap; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.car { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.car:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.car--busy { opacity: .6; }
.car__img { position: relative; aspect-ratio: 16/10; background: linear-gradient(180deg, #f6f6f4, #e9e9e5); display: grid; place-items: center; color: var(--ink); }
.car__img img { width: 100%; height: 100%; object-fit: cover; }
.car__img svg { width: 70%; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: .25em .7em; border-radius: 99px; }
.car__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.car__body h3 { font-size: 1.15rem; }
.car__body h3 small { color: var(--muted); font-weight: 500; }
.car__body p { margin: 0 0 .7rem; font-size: .92rem; }
.specs { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--ink-2); }
.car__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price strong { font-size: 1.35rem; }
.price span { color: var(--muted); font-size: .85rem; }
.tag-busy { font-size: .8rem; color: var(--danger); font-weight: 600; text-align: right; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2rem 0; }
.step { background: #fff; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
.step__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); font-weight: 800; margin-bottom: .8rem; }
.step p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.card-box { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: .55rem; }
.checks--inline { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1rem; }

.transport { background: var(--ink); color: #fff; }
.transport__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.transport p { color: #cfcfcf; max-width: 60ch; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:last-child { display: none; } }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: 1.05rem; }
.contact__list a { text-decoration: none; }
.contact__list a[href]:hover { color: var(--accent-dark); text-decoration: underline; }

.footer { background: #0b0b0b; color: #a8a8a8; padding: 1.5rem 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__admin { color: #666; text-decoration: none; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); display: grid;
  place-items: center; font-size: 1.7rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); z-index: 40; }

/* ---------- modales ---------- */
.modal { border: 0; border-radius: 18px; padding: 0; width: min(560px, 94vw); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.modal::backdrop { background: rgba(0, 0, 0, .55); }
.modal__body { padding: 1.6rem; position: relative; }
.modal__body--center { text-align: center; }
.modal__close { position: absolute; top: .6rem; right: .8rem; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; background: var(--bg-alt); padding: .8rem 1rem; border-radius: 10px; margin-top: 1rem; }
.summary:empty { display: none; }
.summary strong { font-size: 1.15rem; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1em; margin: .6rem 0 0; }
.modal__actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }
.modal__actions--center { justify-content: center; flex-wrap: wrap; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 1rem; }

/* ---------- móvil ---------- */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav--open { display: flex; }
  .nav a { padding: 1rem 4%; border-top: 1px solid var(--line); }
  .header__actions { margin-left: auto; }
  .header__actions .btn { display: none; }
  .brand img { height: 44px; }
  .steps, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .search { grid-template-columns: 1fr 1fr; padding: .8rem; gap: .6rem; }
  .search input { padding: .7em .5em; font-size: .95rem; }
  .search .btn { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
}
