/*
 * Nayef Cars — tiny shared base.
 * These rules are identical in every static page's inline <style>; they are repeated here only so the
 * fallback templates (page.php, index.php, 404.php) get the same container, font and footer styling.
 * Page templates keep their own inline <style> exactly as in the HTML (it loads after this file).
 */
html { scroll-behavior: smooth; }
body { font-family: "Outfit", sans-serif; background: #fff; }
.container-page { width: min(1440px, calc(100% - 1.5rem)); margin-inline: auto; }
@media (min-width: 1024px) {
  .container-page { width: min(1440px, calc(100% - 3rem)); }
}

/* Footer: social buttons + floating dock */
.ft-social {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}
.ft-social:hover { border-color: #c5a36c; background: #c5a36c; color: #3a2c18; }
.ft-dock {
  position: fixed;
  inset-inline-start: 1.15rem;
  bottom: 1.4rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ft-dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ft-float { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 999px; color: #fff; }
.ft-top { background: #fff; color: #1c1915; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22); }
.ft-call { background: #c5a36c; box-shadow: 0 0 0 7px rgba(197, 163, 108, 0.22), 0 0 18px 4px rgba(197, 163, 108, 0.38); }
.ft-wa { position: relative; background: #25d366; box-shadow: 0 0 16px 4px rgba(37, 211, 102, 0.55); }
.ft-wa::before,
.ft-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: ftPulse 2.2s ease-out infinite;
}
.ft-wa::after { animation-delay: 1.1s; }
@keyframes ftPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

/* Shared order / request form */
.req-input { width: 100%; height: 3rem; border-radius: 0.9rem; border: 1px solid #efe4cf; background: #fff; padding: 0 0.9rem; color: #1c1915; outline: none; }
.req-input:focus { border-color: #d2ae68; box-shadow: 0 0 0 3px rgba(197, 163, 108, 0.18); }
.req-input:disabled { background: #f7f2ea; color: #8a7b68; }
textarea.req-input { height: auto; min-height: 6rem; padding: 0.75rem 0.9rem; }
.req-card { position: relative; overflow: visible; }
.req-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d2ae68, transparent);
  border-radius: 999px;
}
.req-step {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 999px;
  background: #f6efe3;
  color: #8d6a32;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.req-seg { display: inline-flex; gap: 0.2rem; border-radius: 999px; background: #f3eee6; padding: 0.25rem; }
.req-seg button { border-radius: 999px; padding: 0.55rem 1.15rem; font-size: 0.9rem; font-weight: 500; color: #5c564e; }
.req-seg button.is-on { background: #c5a36c; color: #3a2c18; box-shadow: 0 6px 16px rgba(176,138,78,0.28); }
