/* Brand tokens (from brand/tokens.css) */
:root {
  --navy-900: #0A0E28;
  --navy-800: #11173F;
  --navy-700: #2B3370;
  --navy-100: #E7E8F0;
  --sand-50: #F7F5F1;
  --sand-100: #EFECE6;
  --sand-300: #BFBBB5;
  --gold-500: #BFBBB5;
  --gold-600: #FFFFFF;
  --ink: #11173F;
  --muted: #6E6962;
  --line: #E4E1DC;

  --font-body: "Tajawal", "Geeza Pro", "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font-body);

  --max-width: 1160px;
  --radius: 14px;
  --header-h: 76px;
}
html:is(:lang(en), :lang(es), :lang(fr)) { --font-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif; }
html:lang(ur) { --font-body: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .style-card, .style-card:hover { transform: none; transition: none; } }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.8;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -3rem; background: var(--navy-800); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .6rem 1.6rem;
  background: var(--navy-800); color: #fff;
  border: 2px solid var(--navy-800); border-radius: 999px;
  font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); }
.hero .btn:not(.btn-ghost), .site-header .btn { background: #fff; color: var(--navy-800); border-color: #fff; }
.hero .btn:not(.btn-ghost):hover, .site-header .btn:hover { background: var(--sand-300); border-color: var(--sand-300); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-small { min-height: 44px; padding: .35rem 1.2rem; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 23, 63, .97);
  backdrop-filter: blur(8px);
  color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.footer-logo { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--sand-100); font-weight: 500; }
.site-nav a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; min-width: 44px; min-height: 44px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset-inline: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; min-height: min(88vh, 760px); display: flex; align-items: center;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(191,187,181,.14), transparent 55%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(3rem, 7vw, 5rem);
}
.hero-inner { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--sand-300); }
.eyebrow { color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-bottom: .75rem; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.5rem); line-height: 1.25; max-width: 20ch;
}
.hero h1 span { color: var(--sand-300); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,14,40,0) 0%, rgba(10,14,40,.25) 45%, rgba(10,14,40,.6) 100%);
}
[dir="ltr"] .hero::before { background: linear-gradient(270deg, rgba(10,14,40,0) 0%, rgba(10,14,40,.25) 45%, rgba(10,14,40,.6) 100%); }
.hero h1, .hero .lead, .hero .eyebrow, .stats { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
@media (max-width: 760px) { .hero::before, [dir="ltr"] .hero::before { background: rgba(10,14,40,.5); } }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } .sound-toggle { display: none; } }
.sound-toggle { position: absolute; z-index: 3; top: 6.5rem; inset-inline-end: 1.5rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(10,14,40,.55); color: #fff; font: inherit; font-size: .9rem; cursor: pointer; backdrop-filter: blur(4px); animation: sound-pulse 2s ease-in-out 3; }
.sound-toggle:hover { background: rgba(10,14,40,.8); }
.sound-toggle svg { width: 20px; height: 20px; }
.sound-toggle .ico-on, .sound-toggle[aria-pressed="true"] .ico-off { display: none; }
.sound-toggle[aria-pressed="true"] .ico-on { display: block; }
.sound-toggle[aria-pressed="true"] { animation: none; }
@media (max-width: 760px) { .sound-toggle { top: auto; bottom: 1rem; padding: .55rem; min-width: 44px; min-height: 44px; justify-content: center; } .sound-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@keyframes sound-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.5); } 50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
.lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--sand-100); max-width: 60ch; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12); max-width: 640px;
}
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.75rem); color: #fff; font-weight: 700; line-height: 1.1; }
.stats dt { color: var(--sand-300); font-size: .95rem; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section-alt { background: var(--sand-100); }
.section-dark { background: var(--navy-800); color: #fff; }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.3; color: var(--navy-800); }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--sand-300); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head > p:last-child:not(.eyebrow) { color: var(--muted); margin-top: .75rem; }

.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--muted); }
.checks { margin-top: 1.75rem; display: grid; gap: .75rem; }
.checks li { position: relative; padding-inline-start: 2rem; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .5em;
  width: 1.1rem; height: .6rem; border-left: 2.5px solid var(--navy-800); border-bottom: 2.5px solid var(--navy-800);
  transform: rotate(-45deg);
}

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.5rem; border-top: 4px solid var(--navy-800);
}
.product-card h3 { font-size: 1.2rem; color: var(--navy-800); margin-bottom: .5rem; }
.product-card p { color: var(--muted); font-size: .98rem; }

/* Styles */
.styles-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.style-card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem 1.25rem;
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.style-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(17,23,63,.08); }
.style-tag {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-weight: 600; font-family: "Jost", sans-serif; font-size: .85rem; letter-spacing: .05em;
  margin-bottom: 1rem;
}
.style-card h3 { font-size: 1.15rem; color: var(--navy-800); margin-bottom: .4rem; }
.style-card p { color: var(--muted); font-size: .95rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service { padding: 2rem 1.75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.service-num { font-family: "Jost", sans-serif; font-weight: 500; font-size: 2.25rem; color: var(--muted); line-height: 1; display: block; margin-bottom: 1rem; }
.service h3 { font-size: 1.25rem; color: var(--navy-800); margin-bottom: .5rem; }
.service p { color: var(--muted); }

/* Branches */
.branches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.branch {
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 1.25rem; display: flex; flex-direction: column; gap: .25rem; min-height: 96px;
}
.branch strong { font-size: 1.15rem; }
.branch span { color: var(--sand-300); font-size: .9rem; }
.branch-hq { background: #fff; border-color: #fff; color: var(--navy-800); }
.branch-hq span { color: var(--muted); }
.branch-soon { border-style: dashed; opacity: .75; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact > div > p:not(.eyebrow) { color: var(--muted); margin-top: .75rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font-size: .9rem; color: var(--muted); }
.contact-list a { color: var(--navy-800); font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
[dir="rtl"] .contact-list a { text-align: right; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem); display: grid; gap: 1rem;
}
.contact-form label { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .75rem .9rem; border: 1px solid #8C877F; border-radius: 10px; background: var(--sand-50);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--navy-800); border-color: transparent; }
.contact-form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.form-note[data-kind="ok"] { color: #1d6b3a; font-weight: 500; }
.form-note[data-kind="error"] { color: #a12626; font-weight: 500; }
.contact-form .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.contact-form { position: relative; }
.contact-form button:disabled { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { background: var(--navy-900); color: var(--sand-300); padding-block: 2.5rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-inner p { margin-top: .25rem; }

/* Language switcher */
.header-tools { display: flex; align-items: center; gap: .5rem; order: 3; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem .9rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .9rem; color: #fff; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary svg { width: 18px; height: 18px; flex: none; }
.lang-switch ul { position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); background: #fff; border-radius: 10px; padding: .4rem; min-width: 150px; box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 60; }
.lang-switch a { display: flex; align-items: center; min-height: 44px; padding: .45rem .8rem; border-radius: 6px; color: var(--navy-800); text-decoration: none; }
.lang-switch a:hover, .lang-switch a[aria-current] { background: var(--navy-100); }
.site-nav { order: 2; margin-inline-start: auto; }

/* Urdu: Nastaliq needs more vertical room */
html:lang(ur) body { line-height: 2.2; }
html:lang(ur) :is(h1, h2, h3) { line-height: 1.9; }
html:lang(ur) :is(button, nav, input, textarea, label, .btn, .lang-switch, .stats dt) { font-family: "Noto Naskh Arabic", "Tajawal", sans-serif; line-height: 1.8; }
html:lang(ur) .hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

/* Responsive */
@media (max-width: 1024px) {
  .styles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .split, .contact, .services-grid { grid-template-columns: 1fr; }
  .styles-grid, .branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .stats { gap: .5rem; }
  .stats dt { font-size: .8rem; }
}

/* 404 page */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy-800); margin-bottom: .75rem; }
.notfound p { color: var(--muted); margin-bottom: 2rem; }
.notfound .langs { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Privacy / terms page */
.legal-inner { max-width: 820px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--navy-800); line-height: 1.3; }
.legal-updated { color: var(--muted); margin: .5rem 0 2rem; font-size: .95rem; }
.legal section { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.25rem; margin-bottom: .5rem; }
.legal section p { color: var(--ink); }
.legal section p + p { margin-top: .75rem; }
.legal-back { color: var(--navy-700); }
.page-legal .site-header .header-inner { justify-content: space-between; }
.site-footer a { color: inherit; }
.form-privacy { font-size: .85rem; }
.form-privacy a { color: var(--muted); }

/* Reviews */
.reviews-rating { margin-top: .75rem; font-weight: 600; color: var(--navy-800); }
.reviews-rating .star, .review-stars span { color: #C9A227; }
.review-stars .off { color: var(--sand-300); }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.review { background: #fff; border: 1px solid rgba(17,23,63,.1); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.review blockquote { margin: 0; font-size: 1.05rem; line-height: 1.8; color: var(--navy-800); flex: 1; }
.review blockquote p::before { content: "“"; } .review blockquote p::after { content: "”"; }
.review-who { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .9rem; color: var(--muted); }
.review-who strong { color: var(--navy-800); }
.reviews-more { margin-top: 2rem; }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: #fff; }

/* Visit us + map */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.visit > div > p:not(.eyebrow):not(.visit-actions) { color: var(--muted); margin-top: .75rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.map-box { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--sand-100); border: 1px solid rgba(17,23,63,.1); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--navy-800);
  background: linear-gradient(rgba(247,245,241,.92), rgba(247,245,241,.92)), repeating-linear-gradient(45deg, rgba(17,23,63,.05) 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, rgba(17,23,63,.05) 0 1px, transparent 1px 22px); }
.map-placeholder p { font-size: .85rem; color: var(--muted); max-width: 32ch; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; display: grid; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: 1.1rem 1.35rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.5; color: var(--navy-800); }
.faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--navy-700); }
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 2px; border-radius: var(--radius); }
.faq-item p { padding: 0 1.35rem 1.25rem; color: var(--muted); }
