/* ═══════════════════════════════════════════════════════════
   ouadie.com — profile page
   Editorial minimal design · Blue accent · Content-first
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-soft: #fafbfc;
  --bg-sunk: #f4f6f8;
  --line: #e5e8ed;
  --line-strong: #d1d6de;
  --ink: #0a0d14;
  --ink-2: #384151;
  --ink-3: #6b7380;
  --ink-4: #9aa2ad;
  --accent: #0066FF;
  --accent-soft: #e8f0ff;
  --accent-dim: #003fb3;
  --green: #059669;
  --star: #f59e0b;
  --nav-h: 58px;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-display: 'Fraunces', Georgia, serif;
  --content-max: 780px;
}

[data-theme="dark"] {
  --bg: #0b0d12;
  --bg-soft: #0f1218;
  --bg-sunk: #161a22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f0f2f5;
  --ink-2: #c2c7cf;
  --ink-3: #8a919c;
  --ink-4: #5a6069;
  --accent: #3385ff;
  --accent-soft: rgba(51, 133, 255, 0.1);
  --accent-dim: #66a3ff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  font-feature-settings: 'cv11', 'ss01';
  transition: background 0.2s, color 0.2s;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 4px; }

/* ─────────── NAVIGATION ─────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-in {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  font-family: var(--f-display);
  font-style: italic;
}

.brand em {
  color: var(--ink-3);
  font-style: normal;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-btn {
  padding: 7px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: 0.15s;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-btn:hover { background: var(--bg-sunk); color: var(--ink); }

.nav-btn.primary {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.nav-btn.primary:hover { background: var(--accent); color: #fff; }

.theme-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
}

/* ─────────── HERO ─────────── */
.profile-hero {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: start;
}

.hero-main { min-width: 0; }

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-soft);
}

.tag svg {
  width: 13px; height: 13px;
  color: var(--ink-3);
  flex-shrink: 0;
}

.tag.tag-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.tag.tag-accent svg { color: var(--accent); }

.tag.tag-verified {
  background: rgba(5, 150, 105, 0.08);
  color: var(--green);
  border-color: rgba(5, 150, 105, 0.2);
}

.tag.tag-verified svg { color: var(--green); }

.profile-h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 14px;
}

.profile-h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.profile-tagline {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 26px;
  max-width: 600px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.18s;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.cta-wa { background: #25d366; color: #fff; }
.cta-wa:hover { background: #1dbf5a; transform: translateY(-1px); }

.cta-call { background: var(--ink); color: var(--bg); }
.cta-call:hover { background: var(--accent); color: #fff; }

.cta-website {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line-strong);
}
.cta-website:hover { border-color: var(--accent); color: var(--accent); }

.hero-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(10, 13, 20, 0.04);
  flex-shrink: 0;
}

.hero-photo-ph {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-4);
  flex-shrink: 0;
}

.hero-photo-ph svg { width: 54px; height: 54px; }

/* ─────────── SECTIONS ─────────── */
.profile-body { padding: 32px 0 56px; }

section.profile-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

section.profile-section:last-of-type { border-bottom: none; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.section-label svg { width: 14px; height: 14px; color: var(--accent); }

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

/* About / prose */
.about-prose {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
}

.about-prose p { margin-bottom: 14px; }
.about-prose p:last-child { margin-bottom: 0; }

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.info-cell { background: var(--bg); padding: 14px 18px; }

.info-key {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-key svg { width: 12px; height: 12px; }

.info-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}

.info-val a { color: var(--accent); transition: 0.14s; }
.info-val a:hover { text-decoration: underline; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.15s;
}

.service-item:hover {
  border-color: var(--accent);
  background: var(--bg);
  transform: translateY(-1px);
}

.service-dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.service-text {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

/* Photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-sunk);
  border: 1px solid var(--line);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}

.photo-card:hover img { transform: scale(1.05); }

.photo-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 10px;
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 100px;
}

/* Trust */
.trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.trust-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.trust-check svg { width: 13px; height: 13px; }

.trust-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

/* Reviews */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-item {
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--f-display);
  font-style: italic;
}

.review-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.2;
}

.review-stars {
  color: var(--star);
  font-size: 12.5px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.review-date {
  font-size: 12px;
  color: var(--ink-3);
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  font-family: var(--f-display);
  font-style: italic;
}

.review-text::before { content: '"'; color: var(--ink-4); margin-right: 3px; }
.review-text::after { content: '"'; color: var(--ink-4); margin-left: 3px; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}

details.faq-item {
  border-bottom: 1px solid var(--line);
}

details.faq-item:last-child { border-bottom: none; }

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: 0.15s;
}

details.faq-item summary:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: '';
  width: 18px;
  height: 18px;
  background: no-repeat center / 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7380' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  transition: transform 0.2s;
  flex-shrink: 0;
}

details.faq-item[open] summary::after { transform: rotate(180deg); }

.faq-answer {
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* Business table */
.biz-table {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.biz-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
}

.biz-row:last-child { border-bottom: none; }

.biz-key {
  padding: 12px 18px;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.biz-val {
  padding: 12px 18px;
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
}

.biz-val a { color: var(--accent); }
.biz-val a:hover { text-decoration: underline; }

/* Keywords */
.kw-intro {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.kw-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.kw-pill {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg);
  transition: 0.14s;
}

.kw-pill:hover { border-color: var(--accent); }

.kw-g {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: 0.14s;
}

.kw-g:hover { background: var(--accent-soft); color: var(--accent); }

.kw-g svg { width: 11px; height: 11px; color: var(--ink-3); }

.kw-b {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  border-left: 1px solid var(--line-strong);
  transition: 0.14s;
}

.kw-b:hover { background: var(--accent-soft); color: var(--accent); }

/* Map */
.map-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
}

.map-head {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.map-addr {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 7px;
}

.map-addr svg { width: 14px; height: 14px; color: var(--accent); }

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 7px;
  transition: 0.14s;
}

.map-link:hover { background: var(--accent-soft); }
.map-link svg { width: 12px; height: 12px; }

.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ─────────── FOOTER ─────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
}

.footer-bot {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.footer-bot a { color: var(--ink-3); transition: 0.14s; }
.footer-bot a:hover { color: var(--accent); }

.footer-bot-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ─────────── LIGHTBOX ─────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 13, 20, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  z-index: 999;
  cursor: zoom-out;
}

.lightbox[aria-hidden="false"] { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-cap { color: rgba(255, 255, 255, 0.75); font-size: 13px; }

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.15s;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ─────────── ANIMS ─────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.5s cubic-bezier(.2,.7,.2,1) both; }
.fade-up-1 { animation: fadeUp 0.5s 0.08s cubic-bezier(.2,.7,.2,1) both; }
.fade-up-2 { animation: fadeUp 0.5s 0.16s cubic-bezier(.2,.7,.2,1) both; }
.fade-up-3 { animation: fadeUp 0.5s 0.24s cubic-bezier(.2,.7,.2,1) both; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-photo, .hero-photo-ph { width: 120px; height: 120px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .biz-row { grid-template-columns: 120px 1fr; }
}

@media (max-width: 560px) {
  .profile-hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 30px; }
  .container { padding: 0 18px; }
  .nav-in { padding: 0 16px; }
  .section-title { font-size: 22px; }
  .profile-tagline { font-size: 15.5px; }
  .cta { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; }
  .biz-row { grid-template-columns: 100px 1fr; }
  .biz-key { font-size: 11px; padding: 10px 14px; }
  .biz-val { padding: 10px 14px; }
  .footer-bot { justify-content: center; text-align: center; }
}

/* ─────────── GEO ANCHOR ─────────── */
.geo-anchor-section .section-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.geo-anchor-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.geo-anchor-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 8px;
}

.wiki-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.14s;
}

.wiki-link:hover {
  border-bottom-color: var(--accent);
}

.wiki-link::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230066FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}