/* ============================================================
   The Perfect Blend Dubai — shared design system
   Tokens pulled directly from the real logo (NEW PB LOGO JULY 2026):
   blush/dusty-rose textured background, black serif wordmark.
   Loaded on every page — edit here, it updates the whole site.
   ============================================================ */

:root {
  --blush-deep: #d9b6b1;
  --blush: #ecd9d6;
  --blush-panel: #f3e5e2;
  --cream: #faf5f3;
  --ink: #211c1a;
  --ink-soft: #5c5150;
  --rule: #c9a8a3;
  --eyebrow: #9c6f68;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }

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

.eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--eyebrow);
}

.rule { width: 44px; height: 1px; background: var(--ink); border: none; margin: 18px 0 22px; }
.rule.center { margin: 18px auto 22px; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.14;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--ink-soft); }
a { color: inherit; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #3a3130; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: rgba(33,28,26,0.06); }
.btn-small { padding: 10px 22px; font-size: 12px; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.blush { background: var(--blush); }
section.blush-panel { background: var(--blush-panel); }
section.dark { background: var(--ink); color: var(--cream); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--cream); }
section.dark .eyebrow { color: var(--blush-deep); }
section.dark .rule { background: var(--blush-deep); }
section.tight { padding: 64px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,245,243,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-brand img { height: 40px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 30px; list-style: none;
  margin: 0; padding: 0; flex: 1; justify-content: center;
}
.nav-links a {
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft); transition: color 0.15s ease; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--ink); color: var(--ink);
  width: 38px; height: 38px; border-radius: 2px; cursor: pointer; font-size: 16px;
}
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 20px 28px 26px; border-bottom: 1px solid var(--rule); gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav .btn-small { display: none; }
}

/* ---------- Footer ---------- */
footer.site-footer { padding: 50px 0 40px; background: var(--ink); color: var(--cream); }
footer.site-footer .footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px;
  padding-bottom: 30px; border-bottom: 1px solid rgba(250,245,243,0.14);
}
footer.site-footer h4 {
  font-family: var(--font-sans); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blush-deep); margin: 0 0 16px;
}
footer.site-footer p { color: rgba(250,245,243,0.7); font-size: 14.5px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 10px; }
footer.site-footer a { color: rgba(250,245,243,0.7); text-decoration: none; font-size: 14px; }
footer.site-footer a:hover { color: var(--cream); }
footer.site-footer .footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 10px; padding-top: 22px;
}
footer.site-footer .footer-bottom p {
  margin: 0; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(250,245,243,0.55);
}
@media (max-width: 700px) { footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: var(--cream); border: 1px solid var(--rule); border-top: 3px solid var(--ink);
  padding: 32px 28px; border-radius: 3px;
}
.service-card .service-eyebrow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 10px; }
.service-card h3 { font-size: 22px; margin-bottom: 14px; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li {
  font-size: 15px; color: var(--ink-soft); padding: 9px 0; border-bottom: 1px solid var(--rule);
}
.service-card li:last-child { border-bottom: none; }
@media (max-width: 800px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Location cards ---------- */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.location-card {
  background: var(--blush-panel); border: 1px solid var(--rule); padding: 30px 26px; border-radius: 3px;
  text-align: center;
}
.location-card h3 { font-size: 22px; margin-bottom: 10px; }
.location-card p { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 800px) { .location-grid { grid-template-columns: 1fr; } }

/* ---------- Press / proof strip ---------- */
.proof-strip {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 40px; text-align: center;
}
.proof-item .proof-num { font-family: var(--font-serif); font-size: 34px; color: var(--ink); }
.proof-item .proof-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
section.dark .proof-item .proof-num { color: var(--cream); }
section.dark .proof-item .proof-label { color: var(--blush-deep); }

.press-list { max-width: 720px; margin: 48px auto 0; }
.press-item {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.press-item:last-child { border-bottom: none; }
.press-item .press-pub { font-family: var(--font-serif); font-size: 19px; }
.press-item .press-title { font-size: 14.5px; color: var(--ink-soft); }
.press-item a { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: underline; flex-shrink: 0; }
@media (max-width: 600px) { .press-item { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* ---------- Review placeholder ---------- */
.review-pending {
  max-width: 700px; margin: 44px auto 0; text-align: center;
  border: 1px dashed var(--rule); border-radius: 3px; padding: 36px 30px;
  color: var(--ink-soft); font-size: 15px;
}

/* ---------- Real review cards ---------- */
.review-list { max-width: 720px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 22px; }
.review-card {
  background: var(--blush-panel); border: 1px solid var(--rule); border-radius: 3px;
  padding: 30px 32px;
}
.review-card p.quote {
  font-family: var(--font-serif); font-style: italic; font-size: 18px; color: var(--ink);
  margin-bottom: 14px;
}
.review-card .review-by {
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--eyebrow);
}
.review-pending strong { color: var(--ink); }

/* ---------- Scrolling photo gallery ---------- */
.gallery-scroll {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll-left 50s linear infinite;
}
.gallery-scroll:hover .gallery-track { animation-play-state: paused; }
.gallery-track img {
  height: 280px;
  width: auto;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes gallery-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; overflow-x: auto; }
}
@media (max-width: 640px) {
  .gallery-track img { height: 180px; }
}

/* ---------- Utility ---------- */
.center-text { text-align: center; }
.max-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
