/* Landing ADNR — layout propio (no plantilla corporativa tipo Rentrip) */
:root {
  --sand: #f0ebe3;
  --sand-dark: #e2d9cc;
  --ink: #1c1917;
  --muted: #57534e;
  --rust: #c2410c;
  --rust-soft: #fed7aa;
  --teal: #0f766e;
  --white: #fff;
  --line: #d6d3d1;
  --font-head: "Bebas Neue", "Impact", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --wrap: min(1180px, 94vw);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--rust); }
address { font-style: normal; }

.shell { width: var(--wrap); margin-inline: auto; }

/* —— Top strip —— */
.topstrip {
  background: var(--ink);
  color: var(--sand);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}
.topstrip .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.topstrip__rating { display: flex; align-items: center; gap: 0.35rem; }
.topstrip__stars { color: #fbbf24; letter-spacing: 0.05em; }

/* —— Masthead —— */
.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(240, 235, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img { height: 36px; width: auto; }
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pillnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--white);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.06);
}
.pillnav a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.pillnav a:hover,
.pillnav a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}
.mast__call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--rust);
  color: var(--white);
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.mast__call:hover { background: #9a3412; color: var(--white); }
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* —— Split hero —— */
.split-hero {
  display: grid;
  min-height: min(88vh, 720px);
}
@media (min-width: 900px) {
  .split-hero { grid-template-columns: 1fr 1.05fr; }
}
.split-hero__copy {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, var(--sand) 0%, var(--sand-dark) 100%);
  border-right: 1px solid var(--line);
}
.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.split-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.split-hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 1.5rem;
}
.period-picker {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  overflow: hidden;
  max-width: 22rem;
}
.period-picker button {
  flex: 1;
  border: none;
  background: var(--white);
  padding: 0.65rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--muted);
}
.period-picker button.is-on {
  background: var(--ink);
  color: var(--white);
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.btn-ghost {
  font-weight: 700;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 2px;
  color: var(--ink);
}
.btn-ghost:hover { color: var(--rust); }
.split-hero__media {
  position: relative;
  min-height: 280px;
}
.split-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
}
.quote-card {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  max-width: 320px;
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  border-left: 5px solid var(--rust);
}
.quote-card strong { display: block; font-size: 0.95rem; margin-bottom: 0.35rem; }
.quote-card p { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.65rem; }
.quote-card a {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
}
.quote-card a:hover { background: #115e59; color: var(--white); }

/* —— Bento catálogo —— */
.block { padding: clamp(3rem, 6vw, 5rem) 0; }
.block--white { background: var(--white); }
.block__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}
.block__sub { color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }
.bento {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 140px; }
  .bento__cell--wide { grid-column: span 2; }
  .bento__cell--tall { grid-row: span 2; }
}
.bento__cell {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.bento__cell:hover {
  transform: translateY(-3px);
  border-color: var(--rust);
}
.bento__cell--accent {
  background: var(--ink);
  color: var(--sand);
  border-color: var(--ink);
}
.bento__cell--accent .bento__tag { color: var(--rust-soft); }
.bento__cell--accent p { color: rgba(240,235,227,0.85); }
.bento__num {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-family: var(--font-head);
  font-size: 2.5rem;
  opacity: 0.12;
  line-height: 1;
}
.bento__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
.bento__cell h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.bento__cell p { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

/* —— Stepper horizontal —— */
.stepper-wrap { overflow-x: auto; padding-bottom: 0.5rem; }
.stepper {
  display: flex;
  gap: 0;
  min-width: min(100%, 900px);
  counter-reset: renta-step;
}
.stepper__item {
  flex: 1;
  position: relative;
  padding: 1.25rem 1rem 1rem 2.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  margin-right: -1px;
}
.stepper__item:first-child { border-radius: 10px 0 0 10px; }
.stepper__item:last-child { border-radius: 0 10px 10px 0; margin-right: 0; }
.stepper__item::before {
  counter-increment: renta-step;
  content: counter(renta-step);
  position: absolute;
  left: 0.85rem;
  top: 1.1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--rust-soft);
  color: var(--rust);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.stepper__item h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.stepper__item p { font-size: 0.82rem; color: var(--muted); }

/* —— Testimonio destacado —— */
.voice {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 800px) {
  .voice { grid-template-columns: 1.2fr 0.8fr; }
}
.voice__big {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  font-weight: 500;
  border-left: 6px solid var(--teal);
  padding-left: 1.25rem;
}
.voice__meta { font-size: 0.9rem; color: var(--muted); margin-top: 1rem; }
.voice__list { display: flex; flex-direction: column; gap: 0.75rem; }
.voice__chip {
  background: var(--white);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  border: 1px dashed var(--line);
}

/* —— Sucursales tabs —— */
.branch-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.branch-tabs button {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.branch-tabs button.is-on {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.branch-panel {
  display: none;
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.branch-panel.is-on { display: grid; }
@media (min-width: 800px) {
  .branch-panel.is-on { grid-template-columns: 1fr 1fr; }
}
.branch-panel dl { font-size: 0.92rem; }
.branch-panel dt { font-weight: 700; margin-top: 0.65rem; }
.branch-panel dt:first-child { margin-top: 0; }
.branch-panel dd { color: var(--muted); margin-left: 0; }
.map-embed iframe { width: 100%; height: 260px; border: 0; border-radius: 8px; }

/* —— Página catálogo (equipos.html) —— */
.catalog-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 3px solid var(--ink);
}
.catalog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}
.catalog-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
.catalog-tile {
  background: var(--white);
  padding: 1.35rem;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.catalog-tile h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}
.catalog-tile ul {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  list-style: none;
}
.catalog-tile li::before { content: "— "; color: var(--rust); }

/* —— Página sucursales —— */
.contact-banner {
  background: var(--ink);
  color: var(--sand);
  padding: 2rem 0;
  text-align: center;
}
.contact-banner a { color: var(--rust-soft); font-weight: 700; font-size: 1.25rem; }
.form-panel {
  max-width: 520px;
  margin: 2rem auto;
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.form-panel label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.3rem; }
.form-panel input,
.form-panel textarea,
.form-panel select {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  margin-bottom: 1rem;
  background: var(--sand);
}
.form-panel button {
  width: 100%;
  border: none;
  background: var(--rust);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
}

/* —— Legal minimal —— */
.legal-page { padding: 3rem 0; }
.legal-page h1 { font-family: var(--font-head); font-size: 2.2rem; margin-bottom: 1rem; }
.legal-page p { color: var(--muted); margin-bottom: 0.75rem; max-width: 42rem; }

/* —— Footer + dock móvil —— */
.site-foot {
  background: var(--ink);
  color: rgba(240,235,227,0.7);
  padding: 2rem 0 5rem;
  font-size: 0.88rem;
}
.site-foot a { color: var(--rust-soft); }
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.08);
}
.dock a {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink);
}
.dock a:first-child { background: var(--rust); color: var(--white); }
.dock a:hover { opacity: 0.9; }

@media (max-width: 860px) {
  .pillnav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 52px;
    flex-direction: column;
    border-radius: 0;
    transform: translateY(-120%);
    transition: transform 0.25s;
    z-index: 39;
    padding: 1rem;
  }
  .pillnav.is-open { transform: translateY(0); }
  .menu-btn { display: block; }
  .mast__call { display: none; }
}
