/* 800Sayara Sharjah — Beans Digital concept
   Palette from their own logo plate and workshop: signal red "800",
   charcoal "SAYARA", amber bay striping, light steel floor.
   Display: Saira Condensed. Body: Saira. */

@view-transition { navigation: auto; }

:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --ink: #171a1f;
  --muted: #5b6370;
  --red: #d7261e;
  --red-dark: #a91b15;
  --amber: #f2a900;
  --dark: #15181d;
  --dark-2: #1e232b;
  --line: #dde0e5;
  --line-dark: #2c333d;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Saira", system-ui, sans-serif;
  font-size: 1.0425rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }

h1, h2, h3 {
  font-family: "Saira Condensed", "Saira", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.5rem, 7.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }
a { color: var(--red); }
.muted { color: var(--muted); }

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

/* Hazard stripe motif */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--dark) 14px 28px);
}

/* Concept banner */
.concept-banner {
  background: var(--dark);
  color: #e8eaee;
  font-size: 0.8rem;
  text-align: center;
  padding: 7px 14px;
  line-height: 1.4;
}
.concept-banner a { color: var(--amber); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  view-transition-name: sayara-header;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
  view-transition-name: sayara-logo;
}
.logo .n8 { color: var(--red); }
.logo .branch {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
  line-height: 1;
}

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.nav .call-link {
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  border-bottom: 0;
  margin-left: 8px;
}
.nav .call-link:hover { background: var(--red-dark); color: #fff; }

.menu-toggle {
  display: none;
  background: var(--dark);
  border: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--amber);
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.3; } }

/* Hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 4vw, 48px);
  align-items: center;
  padding-top: clamp(36px, 7vw, 80px);
  padding-bottom: clamp(28px, 5vw, 60px);
}
.hero h1 .red { color: var(--red); }
.hero .sub { color: var(--muted); font-size: 1.12rem; max-width: 46ch; }
.hero-car img { width: 100%; height: auto; display: block; }
.hero-car { animation: drive-in 0.9s ease-out both; }
@keyframes drive-in {
  from { transform: translateX(60px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 4px;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-amber { background: var(--amber); color: var(--dark); }
.btn-amber:hover { transform: translateY(-2px); }

/* Trust chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.chip strong { color: var(--red); }

/* Sections */
section { padding: clamp(42px, 7vw, 84px) 0; }
.section-head { margin-bottom: clamp(22px, 4vw, 40px); }
.section-head .kicker {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.78rem;
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 6px;
  padding: 22px 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(23, 26, 31, 0.1); }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.card h3 { font-size: 1.15rem; }

/* Service list (compact, on services page) */
.svc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.svc-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 4px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.97rem;
}

/* Dark band */
.dark-band { background: var(--dark); color: #eceef2; }
.dark-band h2 { color: #fff; }
.dark-band p { color: #aab2bf; }
.dark-band .section-head .kicker { color: var(--amber); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 22px 20px;
}
.step h3 { color: var(--amber); font-size: 1.1rem; }
.step p { font-size: 0.95rem; margin: 0; }
.step .n {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--dark);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 24px 14px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(16, 18, 22, 0.85));
}

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
blockquote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  font-size: 0.98rem;
  position: relative;
}
blockquote::before {
  content: "\201C";
  font-family: "Saira Condensed", sans-serif;
  font-size: 3rem;
  color: var(--amber);
  line-height: 0.6;
  display: block;
  margin-bottom: 10px;
}
blockquote footer { color: var(--muted); font-size: 0.84rem; margin-top: 10px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  text-align: center;
}
.stat .num {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--red);
  line-height: 1;
}
.stat .label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.dark-band .stat { background: var(--dark-2); border-color: var(--line-dark); }
.dark-band .stat .num { color: var(--amber); }
.dark-band .stat .label { color: #aab2bf; }

/* Hours table */
.hours-table { width: 100%; border-collapse: collapse; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}
.hours-table th { color: var(--muted); font-weight: 600; }
.hours-table td { font-weight: 700; color: var(--ink); }
.hours-table td .open-24 { color: var(--red); }
.hours-table tr.today th, .hours-table tr.today td { background: #fdf3e3; }

/* Split */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(22px, 5vw, 52px); align-items: start; }

/* Map */
.map-frame { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #aab2bf;
  padding: 38px 0 96px;
  font-size: 0.93rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.site-footer a { color: #e3e6eb; }
.site-footer strong { color: #fff; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #06210f;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* Reveal animations (JS adds .js to <html>; without JS everything stays visible) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-car { animation: none; }
  .badge .dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery img, .wa-float { transition: none; }
  @view-transition { navigation: none; }
}

/* Mobile nav — collapsed only when JS is available; with JS off it stays visible */
@media (max-width: 800px) {
  .site-header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .nav { flex-wrap: wrap; width: 100%; }
  .js .menu-toggle { display: block; }
  .js .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 6px 0 12px;
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 10px; border-bottom: 1px solid var(--line); }
  .js .nav .call-link { margin: 10px 0 0; text-align: center; border-bottom: 0; }
}
