/* Numi Beauty Studio website: same identity as the app.
   Numi Blue, white, paper off-white, editorial black; Didot headlines, clean sans for everything else. */

:root {
  --blue: #113E56;
  --deep: #0A2C40;
  --slate: #5D707B;
  --black: #111111;
  --paper: #F5F4F1;
  --white: #FFFFFF;
  --line: #E4E1DB;
  --mist: #DCE3E7;
  --serif: Didot, "Bodoni Moda", "Bodoni 72", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  --arabic: "SF Arabic", "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); }

[lang="ar"] body, html[lang="ar"] { font-family: var(--arabic); }
html[lang="ar"] .serif, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--arabic); font-weight: 500; }

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

/* Small uppercase tracked label */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 10px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 13px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; }

/* Header */
.site-header {
  background: var(--blue);
  color: var(--white);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 76px;
}
.logo { display: block; width: 132px; height: 54px; overflow: hidden; position: relative; }
.logo img { position: absolute; width: 284px; height: 284px; max-width: none; left: -76px; top: -115px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
html[lang="ar"] .nav { letter-spacing: 0; font-size: 15px; }
.nav a { color: var(--white); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav .lang { border: 1px solid rgba(255,255,255,.5); padding: 6px 12px; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; }
.btn-white { background: var(--white); color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-outline { border-color: currentColor; color: inherit; }
.btn:hover { opacity: .88; }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,44,64,0) 30%, rgba(10,44,64,.55) 62%, rgba(10,44,64,.92) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(36px, 7vw, 80px); width: 100%; }
.hero .eyebrow { color: var(--white); }
.hero h1 { max-width: 12ch; }
.hero p { max-width: 520px; color: var(--mist); font-size: 17px; margin: 18px 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: clamp(56px, 9vw, 110px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.lead { color: var(--slate); max-width: 560px; margin: 14px 0 0; }

.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.intro img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

.points { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.points li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.points li::before { content: ""; width: 6px; height: 6px; background: var(--blue); margin-top: 10px; flex: none; }

/* Treatment tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile { position: relative; aspect-ratio: 4/5; overflow: hidden; color: var(--white); background: var(--blue); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,44,64,0) 45%, rgba(10,44,64,.85) 100%); }
.tile div { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.tile h3 { font-size: clamp(22px, 2.6vw, 30px); }
.tile p { margin: 4px 0 0; font-size: 13px; color: var(--mist); }

.note { font-size: 13px; color: var(--slate); margin-top: 18px; }

/* Band */
.band { background: var(--blue); color: var(--white); text-align: center; }
.band h2 { max-width: 18ch; margin: 0 auto; }
.band p { color: var(--mist); max-width: 560px; margin: 16px auto 28px; }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote .stars { color: var(--blue); letter-spacing: 3px; font-size: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
html[lang="ar"] .quote blockquote { font-family: var(--serif); direction: ltr; text-align: left; }
.quote cite { font-style: normal; font-size: 13px; color: var(--slate); margin-top: auto; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.contact .number { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); direction: ltr; unicode-bidi: embed; }
.contact .actions { display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.hours { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Footer */
.site-footer { background: var(--deep); color: var(--mist); font-size: 13px; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Text pages (privacy, support) */
.page { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.page h2 { font-size: 26px; margin: 44px 0 12px; }
.page p, .page li { color: #2a2a2a; }
.page .meta { color: var(--slate); font-size: 14px; }
.draft { border: 1px dashed var(--blue); padding: 14px 16px; font-size: 14px; color: var(--blue); margin: 24px 0; }

details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--slate); }

/* Keyboard "skip to content" link: invisible until focused, works in both reading directions. */
.skip { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; top: 12px; inset-inline-start: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }
