/* Al Mushan Typing & Emirates ID Center — concept by Beans Digital
   Theme: "the stamped document" — warm paper ivory, deep emerald ink, gold seal.
   Type: Fraunces (serif display) + Public Sans (body). Centered, stately rhythm. */

@view-transition { navigation: auto; }

:root {
  --paper: #faf6ee;
  --paper-2: #f3ecdd;
  --card: #fffdf7;
  --ink: #1e2a26;
  --muted: #5d6b64;
  --green: #0e5c48;
  --green-dark: #0a4234;
  --gold: #b98a1e;
  --rule: #ddd3bd;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Public Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; }
a { color: var(--green); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin: 0 auto; }

/* concept banner */
.concept-banner {
  background: var(--green-dark);
  color: #f2ecdc;
  font-size: 0.78rem;
  text-align: center;
  padding: 7px 14px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap;
}
.logo a {
  view-transition-name: brand-logo;
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  line-height: 1.2;
}
.logo .logo-main {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem;
  letter-spacing: 0.01em;
}
.logo .logo-main em { font-style: normal; color: var(--green); }
.logo .logo-sub {
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.main-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.main-nav a {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--muted); text-decoration: none; padding: 8px 13px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--green); }
.main-nav a[aria-current="page"] {
  color: var(--green); border-bottom-color: var(--gold); font-weight: 700;
}

/* hero */
.hero { padding: 76px 0 60px; text-align: center; position: relative; }
.hero::after {
  content: ""; display: block; width: 72px; height: 3px; margin: 42px auto 0;
  background: var(--gold); border-radius: 2px;
}
.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2.1rem, 5.6vw, 3.4rem); line-height: 1.12;
  letter-spacing: -0.01em; max-width: 21ch; margin: 0 auto;
}
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lede { margin: 22px auto 0; max-width: 58ch; color: var(--muted); font-size: 1.1rem; }
.hero-ctas { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.02em; padding: 14px 26px; border-radius: 6px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #f6f2e6; }
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 8px 22px rgba(14, 92, 72, 0.25); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: rgba(14, 92, 72, 0.06); }

/* seal badge */
.seal {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 126px; height: 126px; border-radius: 50%;
  border: 2px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px;
  color: var(--green-dark); background: var(--card);
  font-family: var(--font-serif); margin: 0 auto;
  transform: rotate(-6deg);
}
.seal .seal-num { font-size: 1.9rem; font-weight: 700; line-height: 1; }
.seal .seal-label {
  font-family: var(--font-sans); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-top: 5px; text-align: center; line-height: 1.5; padding: 0 10px;
}

/* sections */
section { padding: 60px 0; }
.band { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-green { background: var(--green-dark); color: #ece5d2; }
.band-green h2, .band-green .section-head h2 { color: #f7f3e7; }
.band-green p { color: #c9d4cb; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.55rem, 3.6vw, 2.25rem); letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); margin: 10px auto 0; max-width: 60ch; }
.section-head .eyebrow { margin-bottom: 12px; }

/* document cards */
.doc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.doc-card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 4px;
  padding: 30px 26px 26px; position: relative;
  box-shadow: 0 1px 0 var(--rule), 0 10px 24px rgba(30, 42, 38, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--rule), 0 16px 32px rgba(30, 42, 38, 0.1); }
.doc-card::before {
  content: ""; position: absolute; top: 0; right: 0;
  border-style: solid; border-width: 0 22px 22px 0;
  border-color: transparent var(--paper-2) transparent transparent;
}
.doc-card h3 {
  font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600;
  margin-bottom: 10px; color: var(--green-dark);
}
.doc-card p { color: var(--muted); font-size: 0.95rem; }
.doc-card .tag {
  display: inline-block; font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}

/* numbered steps */
.steps { counter-reset: step; max-width: 680px; margin: 0 auto; }
.step {
  counter-increment: step;
  display: flex; gap: 22px; padding: 26px 0;
  border-bottom: 1px solid var(--rule); align-items: flex-start;
}
.step:last-child { border-bottom: none; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); flex: none; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold); border-radius: 50%;
}
.step h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* testimonials */
.quote {
  background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--gold);
  border-radius: 4px; padding: 28px 26px;
}
.quote .stars { color: var(--gold); letter-spacing: 3px; display: block; margin-bottom: 12px; }
.quote blockquote { font-size: 0.98rem; }
.quote cite {
  display: block; margin-top: 14px; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-style: normal;
}

/* hours */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.hours-table th, .hours-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rule); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.hours-table th { font-weight: 600; color: var(--green-dark); width: 36%; }
.hours-table td { color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-table tr.today th, .hours-table tr.today td { background: rgba(185, 138, 30, 0.08); color: var(--green-dark); }
.hours-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

/* contact split */
.split { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.map-frame { border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; background: var(--card); box-shadow: 0 10px 24px rgba(30, 42, 38, 0.06); }
.map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 16px 18px; }
.contact-list .label {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px;
}
.contact-list a { font-weight: 600; }

/* stats inline */
.fact-row {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px;
}
.fact {
  border: 1px solid var(--rule); background: var(--card); border-radius: 999px;
  padding: 9px 20px; font-size: 0.84rem; color: var(--muted);
}
.fact strong { color: var(--green-dark); font-variant-numeric: tabular-nums; }

/* CTA */
.cta-final { text-align: center; }
.cta-final h2 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.3rem); max-width: 24ch; margin: 0 auto 14px;
}
.cta-final p { max-width: 52ch; margin: 0 auto 28px; }

/* footer */
.site-footer {
  background: var(--green-dark); color: #b9c8bd;
  padding: 48px 0 92px; font-size: 0.9rem;
}
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 {
  font-family: var(--font-serif); color: #f3eedd; font-size: 1rem; margin-bottom: 12px;
}
.site-footer ul { list-style: none; display: grid; gap: 7px; }
.site-footer a { color: #cdd9cf; }
.site-footer a:hover { color: #fff; }
.footer-legal {
  margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(243, 238, 221, 0.18);
  font-size: 0.76rem; letter-spacing: 0.06em;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1fa855; color: #fff; font-weight: 700; font-size: 0.86rem;
  padding: 13px 18px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(31, 168, 85, 0.45);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* reveal — only hidden when JS active */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .doc-card, .wa-float { transition: none; }
}

@media (max-width: 640px) {
  .site-header .wrap { justify-content: center; text-align: center; }
  .main-nav { justify-content: center; }
  section { padding: 46px 0; }
  .hero { padding: 54px 0 44px; }
  .step { gap: 14px; }
  .step::before { width: 42px; height: 42px; font-size: 1.15rem; }
  .footer-legal { justify-content: center; text-align: center; }
}
