/* =========================================================
   LAS VEGAS APPLIANCE RENTALS — SHARED STYLESHEET
   One file, linked from every page. Edit here, it updates everywhere.
   ========================================================= */

:root {
  /* Color */
  --black: #141414;
  --ink: #1c1c1e;
  --muted: #5b5b60;
  --paper: #f7f5f1;      /* warm off-white section background */
  --white: #ffffff;
  --line: #e3e0da;       /* border on warm/white background */
  --line-dark: #333335;  /* border on black background */
  --accent: #c98a1e;     /* warm amber — the one accent color, used for CTAs & prices */
  --accent-ink: #7a530f; /* darker amber, for text needing AA contrast on white */
  --accent-soft: #f4e6ce;/* pale amber wash for tags/badges */
  --success: #2f6d43;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1120px;
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 24px;
  --header-h: 60px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

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

a { color: inherit; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 1.5rem + 2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 20px; }
.section-narrow { max-width: 760px; margin: 0 auto; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-paper { background: var(--paper); }

.eyebrow { color: var(--accent-ink); font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }

.center { text-align: center; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  line-height: 1.1;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: var(--black); }
.btn-primary:hover { background: #b87c17; }

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

.btn-outline { background: transparent; color: var(--white); border-color: var(--line-dark); }
.btn-outline:hover { border-color: var(--white); }

.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--ink); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  min-height: var(--header-h);
  gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-wrap img { height: 34px; width: auto; }
.site-name { color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 1rem; }

nav.primary-nav { display: flex; align-items: center; gap: 22px; }
nav.primary-nav a.nav-link { color: var(--white); text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.88; }
nav.primary-nav a.nav-link:hover,
nav.primary-nav a.nav-link.active { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
nav.primary-nav .nav-cta-group { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--black);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.mobile-nav.open { max-height: 480px; }
.mobile-nav a { color: var(--white); text-decoration: none; font-size: 1.05rem; padding: 14px 20px; border-top: 1px solid var(--line-dark); }
.mobile-nav .btn { margin: 12px 20px; }

@media (max-width: 860px) {
  nav.primary-nav { display: none; }
  .hamburger { display: block; }
  .mobile-nav { display: flex; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 14px 20px;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.trust-strip svg { width: 16px; height: 16px; flex: none; color: var(--success); }

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  padding: 52px 20px 36px;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero p.subhead { font-size: 1.08rem; color: var(--muted); max-width: 560px; margin: 0 auto 24px; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }

.card-step {
  position: relative;
  padding-top: 34px;
}
.card-step .step-num {
  position: absolute;
  top: -14px;
  left: 22px;
  background: var(--black);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Appliance category tiles ---------- */
.category-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }

.category-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 0 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: inherit;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.category-tile:hover { border-color: var(--accent); }
.category-tile[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.category-tile .icon { width: 44px; height: 44px; color: var(--black); margin-top: 20px; }
.category-tile .photo-rotator {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
}
.category-tile .cat-name { font-weight: 700; font-size: 0.98rem; margin-top: 12px; padding: 0 12px; }
.category-tile .cat-price { color: var(--accent-ink); font-weight: 600; font-size: 0.88rem; padding: 0 12px; }

/* ---------- Tier / pricing cards ---------- */
.tier-panel {
  margin-top: 28px;
  padding-top: 8px;
}
.tier-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.tier-card.is-premium { border-color: var(--accent); }
.tier-card.is-premium::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.tier-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ececea;
  color: var(--muted);
}
.tier-card.is-premium .tier-tag { background: var(--accent-soft); color: var(--accent-ink); }
.tier-price { font-size: 1.7rem; font-weight: 700; }
.tier-price .period { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.tier-fee-note { font-size: 0.85rem; color: var(--muted); background: var(--paper); border-radius: var(--radius-sm); padding: 8px 12px; }

.term-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin: 0 auto 20px;
  background: var(--paper);
}
.term-toggle button {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--muted);
}
.term-toggle button[aria-pressed="true"] { background: var(--black); color: var(--white); }

/* ---------- Price summary card (Rent Now funnel) ---------- */
.price-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px 24px;
  margin: 0 0 28px;
}
.price-summary .ps-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-summary .ps-label { color: var(--muted); font-size: 0.9rem; }
.price-summary .ps-value { font-weight: 700; }
.price-summary .ps-total { font-size: 1.5rem; font-weight: 700; margin-top: 6px; }
.price-summary .ps-fee { font-size: 0.88rem; color: var(--accent-ink); margin-top: 6px; }

/* ---------- Steps / progress ---------- */
.wizard-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.wizard-progress .dot { width: 34px; height: 4px; border-radius: 2px; background: var(--line); }
.wizard-progress .dot.is-active { background: var(--accent); }
.wizard-progress .dot.is-done { background: var(--black); }

/* ---------- Accordion (shared: FAQ + category expand) ---------- */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}
.accordion-trigger .chevron { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.accordion-trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.accordion-panel { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; background: var(--white); }
.accordion-panel.is-open { padding: 16px 20px 20px; max-height: 600px; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice-btn {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-height: 48px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
}
.choice-btn[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); margin: 20px 0; }
.consent-row input { margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonial-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); }
.testimonial-card .stars { color: var(--accent); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); }
.testimonial-card .cite { display: block; margin-top: 10px; font-weight: 600; font-size: 0.9rem; color: var(--muted); font-style: normal; }

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  text-align: center;
  padding: 20px;
}
.photo-placeholder svg { width: 40px; height: 40px; }
.photo-placeholder span { font-size: 0.85rem; }

/* ---------- Homepage showcase photos (real installs) ---------- */
.showcase-rotator {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.showcase-caption { text-align: center; color: var(--muted); font-size: 0.92rem; margin-top: 10px; }

/* ---------- Photo rotator (shared: category tiles + showcase) ----------
   Two stacked <img> layers per rotator; JS slides the incoming photo in
   from the right while the current one slides out to the left. */
.photo-rotator {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--paper);
}
.photo-rotator .rotator-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.photo-rotator .rotator-slide.is-current { transform: translateX(0); }
.photo-rotator .rotator-slide.is-prev { transform: translateX(-100%); }

/* ---------- Map ---------- */
.map-block { max-width: 640px; margin: 0 auto; }
.map-block iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--white); text-align: center; }
.cta-band .btn-primary { margin-top: 8px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--black); color: var(--white); padding: 48px 20px 96px; text-align: center; }
footer.site-footer a { color: var(--white); text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
.footer-links { margin: 10px 0; font-size: 0.95rem; color: #cfcfcf; }
.footer-links a { color: #cfcfcf; }
.social-icons a { margin: 0 10px; display: inline-block; }
.social-icons svg { width: 22px; height: 22px; fill: #fff; vertical-align: middle; }
footer.site-footer .fine-print { font-size: 0.82rem; color: #9a9a9a; margin-top: 20px; }

@media (min-width: 861px) {
  footer.site-footer { padding-bottom: 48px; }
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-cta-bar.is-visible { transform: translateY(0); }
.sticky-cta-bar .btn-primary { flex: 1; }
.sticky-cta-bar .btn-call {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-sm);
}
@media (max-width: 860px) {
  .sticky-cta-bar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Legacy inline call button (kept for pages before JS loads) ---------- */
.legacy-call-fab { display: none; }

/* ---------- Requirements condensed ---------- */
.req-line { text-align: center; color: var(--muted); }
.req-line a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
