/*
  فونت اصلی سایت از فونت‌های نصب‌شده روی سیستم کاربر استفاده می‌کند.
  برای جلوگیری از خطای 404، فایل فونت فرضی از این نسخه حذف شده است.
  اگر بعداً فایل فونت لایسنس‌دار خودتان را داشتید، آن را در assets/fonts قرار دهید و @font-face را فعال کنید.
*/

:root {
  --black: #050505;
  --black-2: #0b0b0d;
  --black-3: #141417;
  --card: rgba(255,255,255,.075);
  --card-2: rgba(255,255,255,.045);
  --white: #f7f7f7;
  --muted: #a8a8ad;
  --gold: #c9a45c;
  --gold-2: #f1d28a;
  --rose: #6b0f1a;
  --rose-2: #3b080e;
  --line: rgba(255,255,255,.12);
  --shadow: 0 26px 80px rgba(0,0,0,.55);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  color: var(--white);
  font-family: var(--site-font);
  background:
    radial-gradient(circle at 18% 8%, rgba(107,15,26,.34), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(201,164,92,.13), transparent 34%),
    linear-gradient(180deg, #030303 0%, #09090b 52%, #050505 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
img, video { max-width: 100%; display: block; }

.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.section { padding: 94px 0; position: relative; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 34px; }
.kicker { color: var(--gold); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 36px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 99px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 88px); line-height: 1.05; letter-spacing: -2px; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.25; margin-bottom: 14px; }
h3 { font-size: 22px; }
p { color: var(--muted); line-height: 2.05; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: .12;
}

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.78);
  backdrop-filter: blur(22px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(1240px, calc(100% - 28px)); margin: 0 auto;
  height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; direction: ltr; }
.brand-mark { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(201,164,92,.36); box-shadow: 0 0 0 7px rgba(201,164,92,.06); background: #fff; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-size: 19px; letter-spacing: .7px; }
.brand-name span { font-size: 11px; color: var(--gold); letter-spacing: 3.3px; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.call-btn, .primary-btn, .ghost-btn {
  border: 1px solid rgba(201,164,92,.35); color: var(--white); border-radius: 999px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  background: rgba(255,255,255,.05); transition: .25s ease;
}
.call-btn img { width: 18px; height: 18px; }
.call-btn:hover, .ghost-btn:hover { transform: translateY(-2px); border-color: var(--gold); background: rgba(201,164,92,.1); }
.primary-btn { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #101010; font-weight: 800; box-shadow: 0 14px 40px rgba(201,164,92,.18); }
.primary-btn:hover { transform: translateY(-3px); filter: brightness(1.05); }
.menu-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); display: grid; place-items: center; cursor: pointer; }
.menu-btn img { width: 24px; height: 24px; }

.side-menu {
  position: fixed; inset: 0 0 0 auto; width: min(410px, 90vw); z-index: 80;
  background: linear-gradient(180deg, rgba(14,14,16,.96), rgba(5,5,5,.98));
  border-left: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateX(110%); transition: .45s cubic-bezier(.2,.9,.2,1); padding: 26px;
  display: flex; flex-direction: column; gap: 22px;
}
.side-menu.open { transform: translateX(0); }
.menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 70; opacity: 0; pointer-events: none; transition: .3s ease; }
.menu-backdrop.open { opacity: 1; pointer-events: auto; }
.side-top { display: flex; align-items: center; justify-content: space-between; direction: ltr; }
.close-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); display: grid; place-items: center; cursor: pointer; }
.close-btn img { width: 20px; }
.menu-links { display: grid; gap: 10px; margin-top: 14px; }
.menu-link { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid transparent; transition: .25s ease; }
.menu-link img { width: 22px; height: 22px; }
.menu-link:hover { border-color: rgba(201,164,92,.3); transform: translateX(-4px); background: rgba(201,164,92,.08); }
.side-note { margin-top: auto; padding: 18px; border: 1px solid rgba(201,164,92,.18); border-radius: 24px; background: rgba(201,164,92,.06); }

.hero { min-height: 100vh; position: relative; display: grid; align-items: center; padding: 122px 0 70px; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 47%, rgba(0,0,0,.35) 100%); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 48px; }
.hero-title .gold { color: var(--gold); font-family: var(--display-font); }
.hero-text { font-size: 18px; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card { justify-self: end; width: min(390px, 100%); padding: 26px; border-radius: 36px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border: 1px solid rgba(201,164,92,.18); backdrop-filter: blur(20px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-card::before { content: ''; position: absolute; inset: -1px; background: radial-gradient(circle at 18% 6%, rgba(201,164,92,.22), transparent 36%), radial-gradient(circle at 90% 90%, rgba(107,15,26,.28), transparent 42%); pointer-events: none; }
.logo-preview { position: relative; z-index: 2; border-radius: 28px; overflow: hidden; background: #fff; padding: 14px; border: 1px solid rgba(201,164,92,.18); box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.signature-lines { position: relative; z-index: 2; margin-top: 20px; padding: 20px; border-radius: 24px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); text-align: center; }
.signature-lines span { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 12px; }
.signature-lines strong { display: block; margin: 10px 0 6px; font-size: 19px; line-height: 1.7; }
.signature-lines em { color: var(--muted); font-style: normal; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }
.slider-controls { position: absolute; z-index: 3; inset: auto 0 26px 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); cursor: pointer; transition: .25s ease; }
.dot.active { width: 32px; border-radius: 999px; background: var(--gold); }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: center; }
.about-image { min-height: 460px; border-radius: 42px; background: linear-gradient(180deg, rgba(107,15,26,.22), rgba(201,164,92,.08)), url('../images/background/black-rose-bg.svg') center/cover; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about-image::after { content: ''; position: absolute; inset: 24px; border: 1px solid rgba(201,164,92,.25); border-radius: 30px; }
.about-content { padding: 14px 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.feature { padding: 18px; border-radius: 22px; background: var(--card-2); border: 1px solid var(--line); }
.feature strong { display: block; color: var(--gold); margin-bottom: 8px; }
.feature span { color: var(--muted); font-size: 13px; line-height: 1.8; }

.service-zone { position: relative; border-radius: 46px; padding: 56px 0; overflow: hidden; background: linear-gradient(135deg, rgba(12,12,14,.92), rgba(107,15,26,.56), rgba(5,5,5,.94)), url('../images/background/black-rose-bg.svg') center/cover; border: 1px solid rgba(201,164,92,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 80px rgba(0,0,0,.35); }
.service-zone::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(201,164,92,.22), transparent 30%); pointer-events: none; }
.service-inner { position: relative; z-index: 2; width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.service-carousel { overflow: hidden; padding: 12px 0; }
.service-track { display: flex; gap: 22px; transition: transform .45s ease; direction: ltr; }
.service-card { direction: rtl; flex: 0 0 calc(25% - 17px); min-height: 270px; display: grid; place-items: center; text-align: center; padding: 28px 20px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.055)); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.20); box-shadow: 0 20px 55px rgba(0,0,0,.25); transition: .28s ease; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(201,164,92,.38); background: linear-gradient(180deg, rgba(201,164,92,.16), rgba(255,255,255,.06)); }
.service-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: rgba(0,0,0,.38); border: 1px solid rgba(201,164,92,.28); }
.service-icon img { width: 34px; height: 34px; }
.service-card p { font-size: 13px; line-height: 1.9; }
.arrow-btn { width: 62px; height: 62px; border-radius: 20px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.12); color: var(--white); font-size: 24px; cursor: pointer; transition: .25s ease; }
.arrow-btn:hover { background: rgba(201,164,92,.22); }
.service-arrows { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-card { position: relative; min-height: 420px; border-radius: 32px; overflow: hidden; background: var(--card-2); border: 1px solid var(--line); box-shadow: 0 18px 55px rgba(0,0,0,.32); transition: .28s ease; }
.portfolio-card:hover { transform: translateY(-8px); border-color: rgba(201,164,92,.38); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .72; transition: .4s ease; }
.portfolio-card:hover img { transform: scale(1.05); opacity: .88; }
.portfolio-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.82)); }
.portfolio-info { position: absolute; z-index: 2; inset: auto 18px 18px 18px; padding: 18px; border-radius: 24px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.badge { display: inline-flex; color: #111; background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.portfolio-info h3 { margin-bottom: 6px; }
.portfolio-meta { color: var(--muted); font-size: 13px; display: flex; gap: 14px; flex-wrap: wrap; }

.detail-page { padding-top: 118px; }
.back-link { color: var(--gold); display: inline-flex; margin-bottom: 20px; }
.detail-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 30px; align-items: start; }
.media-slider { position: relative; overflow: hidden; border-radius: 36px; border: 1px solid rgba(201,164,92,.18); background: #0b0b0d; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.media-track { display: flex; transition: transform .42s ease; direction: ltr; }
.media-slide { direction: rtl; min-width: 100%; aspect-ratio: 1.12/1; display: grid; place-items: center; background: #09090b; }
.media-slide img, .media-slide video { width: 100%; height: 100%; object-fit: cover; }
.media-nav { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px; pointer-events: none; }
.media-nav button { pointer-events: auto; width: 54px; height: 54px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.38); color: #fff; font-size: 24px; cursor: pointer; }
.media-dots { position: absolute; right: 0; left: 0; bottom: 17px; display: flex; justify-content: center; gap: 8px; }
.detail-panel { padding: 30px; border-radius: 36px; background: rgba(255,255,255,.055); border: 1px solid var(--line); backdrop-filter: blur(18px); box-shadow: 0 20px 70px rgba(0,0,0,.22); }
.detail-panel h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: 14px; }
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.like-btn { border: 1px solid rgba(201,164,92,.4); color: var(--white); background: rgba(201,164,92,.08); padding: 13px 18px; border-radius: 999px; cursor: pointer; }
.like-btn.liked { background: linear-gradient(135deg, var(--rose), var(--gold)); color: #fff; }
.stat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid var(--line); }

.comments-wrap { margin-top: 42px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 24px; }
.form-card, .comments-list-card { padding: 24px; border-radius: 30px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.input, textarea.input { width: 100%; border: 1px solid rgba(255,255,255,.13); background: rgba(0,0,0,.34); color: #fff; border-radius: 18px; padding: 14px 16px; outline: none; margin-bottom: 12px; }
textarea.input { resize: vertical; min-height: 112px; }
.input:focus { border-color: rgba(201,164,92,.5); }
.rating-pick { display: flex; gap: 5px; margin: 8px 0 16px; direction: ltr; justify-content: flex-end; }
.star { border: 0; background: transparent; color: rgba(255,255,255,.25); font-size: 29px; cursor: pointer; transition: .15s ease; }
.star.active, .star:hover { color: var(--gold); }
.comment { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.comment-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; }
.comment strong { color: #fff; }
.comment-stars { color: var(--gold); direction: ltr; white-space: nowrap; }
.comment p { margin-bottom: 10px; }
.reply-btn { color: var(--gold); border: 0; background: transparent; cursor: pointer; padding: 0; }
.replies { margin-top: 12px; padding-right: 18px; border-right: 1px solid rgba(201,164,92,.18); display: grid; gap: 10px; }
.reply { padding: 12px 14px; border-radius: 16px; background: rgba(0,0,0,.22); }
.reply-form { margin-top: 12px; display: none; }
.reply-form.open { display: block; }
.empty-comments { color: var(--muted); text-align: center; padding: 28px; }

.contact-section { background: linear-gradient(180deg, transparent, rgba(107,15,26,.08)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { padding: 28px; border-radius: 32px; background: var(--card-2); border: 1px solid var(--line); }
.contact-row { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--muted); }
.contact-row:last-child { border-bottom: 0; }
.contact-row img { width: 22px; height: 22px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.social { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); transition: .25s ease; }
.social:hover { transform: translateY(-4px); border-color: rgba(201,164,92,.4); background: rgba(201,164,92,.08); }
.social img { width: 23px; height: 23px; }

.footer { padding: 70px 0 32px; background: #08080a; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 26px; }
.footer-logo { width: 260px; border-radius: 20px; border: 1px solid rgba(201,164,92,.16); margin-bottom: 18px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: var(--muted); transition: .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: #777; border-top: 1px solid rgba(255,255,255,.08); margin-top: 38px; padding-top: 22px; font-size: 13px; }
.designer { color: var(--gold); }

.toast { position: fixed; left: 22px; bottom: 22px; z-index: 120; padding: 14px 18px; border-radius: 18px; color: #121212; background: var(--gold); font-weight: 800; transform: translateY(24px); opacity: 0; pointer-events: none; transition: .3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 980px) {
  .hero-content, .about-grid, .detail-grid, .comments-wrap, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; }
  .service-card { flex-basis: calc(50% - 12px); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 24px, var(--max)); }
  .header-inner { height: 76px; }
  .brand-name span { display: none; }
  .call-btn { display: none; }
  .hero { padding-top: 110px; }
  .hero-card { display: none; }
  .section { padding: 66px 0; }
  .section-head { display: block; }
  .service-card { flex-basis: 86%; min-height: 238px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { min-height: 380px; }
  .footer-bottom { flex-direction: column; }
  .detail-panel, .form-card, .comments-list-card { padding: 18px; border-radius: 24px; }
}

.team-section {
  position: relative;
  padding: 98px 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,0,0,.92), rgba(35,5,10,.78), rgba(0,0,0,.94)),
    url('../images/background/black-rose-bg.svg') center/cover;
  border-top: 1px solid rgba(201,164,92,.13);
  border-bottom: 1px solid rgba(201,164,92,.13);
}
.team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 20%, rgba(201,164,92,.20), transparent 28%),
    radial-gradient(circle at 72% 72%, rgba(107,15,26,.40), transparent 34%);
  pointer-events: none;
}
.team-head { position: relative; z-index: 2; text-align: center; margin-bottom: 42px; }
.team-head .kicker { justify-content: center; }
.team-stage { position: relative; z-index: 2; display: grid; grid-template-columns: 70px 1fr 70px; gap: 24px; align-items: center; }
.team-carousel { overflow: hidden; padding: 16px 0; }
.team-track { display: flex; gap: 22px; direction: ltr; transition: transform .45s ease; }
.team-card {
  direction: rtl;
  flex: 0 0 calc(25% - 17px);
  min-height: 305px;
  padding: 28px 20px;
  border-radius: 32px;
  text-align: center;
  display: grid;
  justify-items: center;
  align-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 22px 64px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
  transition: .28s ease;
}
.team-card:hover { transform: translateY(-7px); border-color: rgba(201,164,92,.38); background: linear-gradient(180deg, rgba(201,164,92,.16), rgba(255,255,255,.06)); }
.team-photo { width: 126px; height: 126px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; border: 2px solid rgba(201,164,92,.35); box-shadow: 0 16px 38px rgba(0,0,0,.4); }
.team-card h3 { margin-bottom: 8px; }
.team-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.team-arrow {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: .25s ease;
  backdrop-filter: blur(12px);
}
.team-arrow:hover { background: rgba(201,164,92,.18); border-color: rgba(201,164,92,.35); }

@media (max-width: 980px) {
  .team-stage { grid-template-columns: 56px 1fr 56px; gap: 12px; }
  .team-card { flex-basis: calc(50% - 12px); }
}
@media (max-width: 650px) {
  .team-section { padding: 72px 0; }
  .team-stage { grid-template-columns: 1fr; }
  .team-arrow { width: 52px; height: 52px; position: absolute; top: 45%; z-index: 4; }
  .team-prev { right: 0; }
  .team-next { left: 0; }
  .team-card { flex-basis: 86%; min-height: 270px; }
}

/* v4 additions */
a.service-card { color: inherit; text-decoration: none; }
.service-more { display: inline-flex; margin-top: 14px; color: var(--gold); font-size: 13px; border-bottom: 1px solid rgba(201,164,92,.35); padding-bottom: 4px; }
.wide-empty { grid-column: 1 / -1; }

.category-main { padding-top: 92px; }
.category-hero { min-height: 42vh; display: grid; align-items: center; background: linear-gradient(135deg, rgba(5,5,5,.88), rgba(107,15,26,.42), rgba(5,5,5,.92)), url('../images/background/black-rose-bg.svg') center/cover; border-bottom: 1px solid rgba(201,164,92,.18); }
.category-hero-inner { padding: 82px 0 54px; text-align: center; }
.category-hero h1 { font-size: clamp(36px, 6vw, 74px); margin: 12px 0 14px; }
.category-hero p { max-width: 760px; margin: 0 auto 24px; color: var(--muted); line-height: 2; }
.category-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.category-pill { color: var(--text); text-decoration: none; border: 1px solid rgba(201,164,92,.22); background: rgba(255,255,255,.06); border-radius: 999px; padding: 10px 16px; transition: .24s ease; }
.category-pill:hover, .category-pill.active { background: rgba(201,164,92,.18); border-color: rgba(201,164,92,.46); color: var(--gold); }

.admin-body { background: #050505; color: var(--text); }
.admin-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px clamp(18px, 4vw, 48px); border-bottom: 1px solid rgba(201,164,92,.18); background: rgba(5,5,5,.84); backdrop-filter: blur(16px); }
.admin-actions-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-shell { width: min(1220px, calc(100% - 36px)); margin: 0 auto; padding: 38px 0 68px; }
.admin-hero-panel { padding: 34px; border-radius: 30px; background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(201,164,92,.18); box-shadow: 0 24px 80px rgba(0,0,0,.34); margin-bottom: 24px; }
.admin-hero-panel h1 { margin: 8px 0 10px; font-size: clamp(30px, 5vw, 58px); }
.admin-hero-panel p { color: var(--muted); line-height: 2; max-width: 880px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.admin-card { border-radius: 28px; padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.10); box-shadow: 0 18px 54px rgba(0,0,0,.25); }
.admin-card.wide, .admin-savebar { grid-column: 1 / -1; }
.admin-card h2 { font-size: 20px; margin: 0 0 12px; }
.admin-card p { color: var(--muted); line-height: 1.9; margin: 0 0 14px; }
.admin-fields { display: grid; gap: 14px; }
.admin-fields.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-fields label { color: var(--muted); font-size: 13px; display: grid; gap: 8px; }
.admin-fields .full { grid-column: 1 / -1; }
.code-textarea { min-height: 250px; direction: ltr; text-align: left; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; line-height: 1.7; resize: vertical; }
.code-textarea.big { min-height: 430px; }
.admin-savebar { position: sticky; bottom: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px; border-radius: 24px; background: rgba(5,5,5,.88); backdrop-filter: blur(16px); border: 1px solid rgba(201,164,92,.22); }
#adminStatus.ok { color: #a6f3c6; }
#adminStatus.bad { color: #ffb4b4; }

@media (max-width: 820px) {
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-fields.two-col { grid-template-columns: 1fr; }
  .category-main { padding-top: 110px; }
}


/* v5: smaller typography + stronger responsive layout */
body { font-size: 15px; }
h1 { font-size: clamp(34px, 5.4vw, 66px); line-height: 1.12; letter-spacing: -1.2px; }
h2 { font-size: clamp(24px, 3.1vw, 38px); }
h3 { font-size: 18px; }
p { font-size: 14.5px; line-height: 1.9; }
.kicker { font-size: 11px; letter-spacing: 2.1px; }
.section { padding: 78px 0; }
.hero { min-height: 88vh; padding: 112px 0 54px; }
.hero-text { font-size: 15.5px; max-width: 590px; }
.hero-content { gap: 34px; }
.call-btn, .primary-btn, .ghost-btn { padding: 11px 17px; font-size: 14px; }
.brand-name strong { font-size: 17px; }
.brand-name span { font-size: 10px; letter-spacing: 2.4px; }
.brand-mark { width: 48px; height: 48px; }
.header-inner { height: 78px; }
.hero-card { width: min(335px, 100%); padding: 20px; border-radius: 28px; }
.signature-lines strong { font-size: 16px; }
.about-image { min-height: 380px; border-radius: 34px; }
.feature { padding: 15px; }
.service-zone { padding: 42px 0; border-radius: 36px; }
.service-card { min-height: 230px; padding: 22px 16px; border-radius: 25px; }
.service-icon { width: 62px; height: 62px; margin-bottom: 14px; }
.service-icon img { width: 29px; height: 29px; }
.service-card p { font-size: 12.5px; line-height: 1.75; }
.arrow-btn, .team-arrow { width: 54px; height: 54px; border-radius: 18px; }
.portfolio-card { min-height: 350px; border-radius: 26px; }
.portfolio-info { padding: 15px; border-radius: 20px; }
.badge { font-size: 11px; padding: 6px 11px; }
.detail-page { padding-top: 96px; }
.detail-panel { padding: 24px; border-radius: 28px; }
.detail-panel h1 { font-size: clamp(24px, 3.6vw, 38px); line-height: 1.35; }
.media-slider { border-radius: 28px; }
.form-card, .comments-list-card { padding: 20px; }
.team-section { padding: 78px 0; }
.team-card { min-height: 250px; padding: 22px 16px; border-radius: 26px; }
.team-photo { width: 105px; height: 105px; }
.category-hero h1 { font-size: clamp(30px, 5vw, 52px); }
.category-hero-inner { padding: 62px 0 42px; }
.admin-hero-panel h1 { font-size: clamp(26px, 4vw, 42px); }
.admin-card h2 { font-size: 18px; }
.footer { padding: 56px 0 28px; }
.footer-logo { width: 210px; }
.pwa-install {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 110;
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(201,164,92,.38);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(5,5,5,.84);
  color: var(--gold);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  cursor: pointer;
  font-size: 13px;
}
.pwa-install.show { display: inline-flex; }
.pwa-install:hover { background: rgba(201,164,92,.12); }

@media (max-width: 1100px) {
  .hero-content { grid-template-columns: 1fr .58fr; }
  .portfolio-grid { gap: 18px; }
}
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { justify-self: stretch; width: min(420px, 100%); }
  .detail-grid { gap: 22px; }
  .service-card { flex-basis: calc(50% - 12px); }
  .team-card { flex-basis: calc(50% - 12px); }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .container { width: min(100% - 26px, var(--max)); }
  h1 { font-size: clamp(30px, 8.2vw, 46px); }
  h2 { font-size: clamp(22px, 6vw, 30px); }
  p { font-size: 13.5px; line-height: 1.85; }
  .site-header.is-scrolled, .site-header { background: rgba(5,5,5,.74); backdrop-filter: blur(18px); border-bottom-color: rgba(255,255,255,.08); }
  .header-inner { height: 70px; width: min(100% - 18px, 1240px); gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name strong { font-size: 14px; }
  .brand-name span { display: none; }
  .menu-btn { width: 43px; height: 43px; }
  .call-btn { display: none; }
  .hero { padding: 96px 0 44px; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .primary-btn, .ghost-btn { width: auto; padding: 10px 14px; font-size: 13px; }
  .hero-card { display: none; }
  .slider-controls { bottom: 16px; }
  .section { padding: 54px 0; }
  .section-head { display: block; margin-bottom: 24px; }
  .about-image { min-height: 275px; border-radius: 26px; }
  .features { margin-top: 18px; }
  .service-zone { padding: 30px 0; border-radius: 28px; }
  .service-inner { width: min(var(--max), calc(100% - 22px)); }
  .service-track, .team-track { gap: 14px; }
  .service-card { flex-basis: 84%; min-height: 210px; }
  .service-arrows { margin-top: 18px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { min-height: 305px; }
  .team-section { padding: 56px 0; }
  .team-head { margin-bottom: 24px; }
  .team-stage { grid-template-columns: 1fr; }
  .team-card { flex-basis: 84%; min-height: 230px; }
  .team-arrow { top: 49%; width: 46px; height: 46px; }
  .team-prev { right: 4px; }
  .team-next { left: 4px; }
  .media-slide { aspect-ratio: 1/1.06; }
  .media-nav { padding: 10px; }
  .media-nav button { width: 44px; height: 44px; border-radius: 14px; }
  .detail-page { padding-top: 78px; }
  .detail-panel h1 { font-size: clamp(22px, 6.5vw, 31px); }
  .actions-row { margin: 18px 0; }
  .like-btn, .stat-pill { padding: 10px 13px; font-size: 13px; }
  .comments-wrap { margin-top: 28px; }
  .contact-card { padding: 20px; border-radius: 24px; }
  .footer-grid { gap: 20px; }
  .footer-logo { width: 172px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .category-main { padding-top: 70px; }
  .category-hero { min-height: 34vh; }
  .category-hero-inner { padding: 42px 0 34px; }
  .category-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .category-pills { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .category-pill { white-space: nowrap; padding: 9px 13px; }
  .admin-shell { width: min(100% - 22px, 1220px); padding: 24px 0 56px; }
  .admin-hero-panel, .admin-card { padding: 20px; border-radius: 22px; }
  .admin-savebar { bottom: 8px; }
}
@media (max-width: 420px) {
  h1 { font-size: clamp(28px, 9.2vw, 36px); }
  .brand-name strong { font-size: 13px; letter-spacing: 0; }
  .hero-text { font-size: 13.5px; }
  .primary-btn, .ghost-btn { flex: 1 1 100%; }
  .side-menu { width: min(360px, 92vw); padding: 18px; }
  .menu-link { padding: 13px; border-radius: 15px; }
  .portfolio-card { min-height: 285px; }
  .portfolio-info { inset: auto 12px 12px 12px; }
  .team-photo { width: 92px; height: 92px; }
  .pwa-install { left: 12px; bottom: 12px; font-size: 12px; padding: 9px 12px; }
}


/* v7: portfolio comes immediately after hero */
.hero { min-height: 72vh; padding: 104px 0 42px; }
.portfolio-prime { padding-top: 54px; }
.portfolio-prime .section-head { margin-bottom: 26px; }
.portfolio-prime .portfolio-card { min-height: 390px; }
.portfolio-prime .portfolio-card:nth-child(1) { grid-column: span 2; }
.portfolio-prime .portfolio-card:nth-child(1) .portfolio-info { max-width: 520px; }
#about { padding-top: 58px; opacity: .96; }
.about-grid { grid-template-columns: .78fr 1.22fr; }
.about-image { min-height: 330px; }

@media (max-width: 980px) {
  .hero { min-height: 64vh; padding: 96px 0 34px; }
  .portfolio-prime .portfolio-card:nth-child(1) { grid-column: span 1; }
  .portfolio-prime .portfolio-card { min-height: 340px; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; padding: 92px 0 34px; }
  .portfolio-prime { padding-top: 40px; }
  .portfolio-prime .portfolio-card { min-height: 300px; }
  #about { padding-top: 38px; }
}


/* v9: cleaner detail page, smaller comments, designer socials */
.detail-panel .actions-row { margin-bottom: 0; }
.comments-wrap { margin-top: 28px; gap: 18px; align-items: start; }
.form-card, .comments-list-card { padding: 16px; border-radius: 22px; background: rgba(255,255,255,.042); }
.form-card .kicker, .comments-list-card .kicker { font-size: 10px; letter-spacing: 1.6px; }
.form-card h2, .comments-list-card h2 { font-size: clamp(18px, 2.2vw, 24px); margin-bottom: 12px; }
.input, textarea.input { border-radius: 14px; padding: 11px 13px; margin-bottom: 10px; font-size: 13px; }
textarea.input { min-height: 86px; }
.rating-pick { margin: 4px 0 12px; }
.star { font-size: 22px; line-height: 1; }
.comment { padding: 13px 14px; border-radius: 17px; margin-bottom: 10px; }
.comment-head { margin-bottom: 5px; }
.comment strong { font-size: 13.5px; }
.comment-stars { font-size: 12px; }
.comment p { font-size: 13px; line-height: 1.75; margin-bottom: 8px; }
.reply-btn { font-size: 12.5px; }
.replies { margin-top: 9px; padding-right: 12px; gap: 8px; }
.reply { padding: 9px 11px; border-radius: 13px; }
.reply-form { margin-top: 9px; }
.form-card .primary-btn { padding: 9px 15px; font-size: 13px; }
.empty-comments { padding: 20px; font-size: 13px; }
.designer-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.designer-socials { display: inline-flex; align-items: center; gap: 7px; }
.designer-social { width: 31px; height: 31px; display: inline-grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10); transition: .2s ease; }
.designer-social:hover { transform: translateY(-2px); background: rgba(201,164,92,.10); border-color: rgba(201,164,92,.34); }
.designer-social img { width: 17px; height: 17px; }
@media (max-width: 760px) {
  .comments-wrap { gap: 14px; margin-top: 20px; }
  .form-card, .comments-list-card { padding: 14px; border-radius: 18px; }
  .input, textarea.input { font-size: 12.5px; padding: 10px 12px; }
  .comment { padding: 12px; }
  .footer-bottom { align-items: flex-start; }
}

/* v9: compact detail/about + image lightbox */
body.lightbox-open { overflow: hidden; }
.zoomable-media { cursor: zoom-in; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(18px);
}
.image-lightbox.open { display: flex; }
.lightbox-img {
  width: min(94vw, 1120px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 24px;
  border: 1px solid rgba(201,164,92,.22);
  box-shadow: 0 28px 110px rgba(0,0,0,.72);
  background: #08080a;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  left: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(201,164,92,.16); border-color: rgba(201,164,92,.42); }

/* compact portfolio detail intro */
.detail-grid { grid-template-columns: 1.22fr .78fr; gap: 22px; }
.detail-panel {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.052), rgba(255,255,255,.026));
  box-shadow: 0 14px 45px rgba(0,0,0,.25);
}
.detail-panel .badge { padding: 5px 10px; font-size: 10.5px; margin-bottom: 10px; }
.detail-panel h1 { font-size: clamp(20px, 3vw, 32px); line-height: 1.38; margin-bottom: 10px; letter-spacing: -.2px; }
.detail-panel p { font-size: 13.2px; line-height: 1.95; margin-bottom: 14px; }
.detail-panel .actions-row { gap: 8px; margin: 10px 0 0; }
.detail-panel .like-btn,
.detail-panel .stat-pill { padding: 8px 12px; font-size: 12.5px; gap: 6px; }
.media-slider { border-radius: 28px; }
.media-nav button { width: 46px; height: 46px; border-radius: 15px; font-size: 21px; }
.media-slide { aspect-ratio: 1.22/1; }

/* compact comments */
.comments-wrap {
  max-width: 1020px;
  margin: 22px auto 0;
  grid-template-columns: .92fr 1.08fr;
  gap: 14px;
}
.form-card,
.comments-list-card {
  padding: 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.form-card .kicker,
.comments-list-card .kicker { font-size: 9px; letter-spacing: 1.2px; }
.form-card h2,
.comments-list-card h2 { font-size: clamp(16px, 1.8vw, 19px); margin-bottom: 9px; }
.input,
textarea.input { padding: 9px 11px; border-radius: 12px; font-size: 12.2px; margin-bottom: 8px; }
textarea.input { min-height: 62px; }
.rating-pick { margin: 2px 0 9px; gap: 2px; }
.star { font-size: 18px; }
.form-card .primary-btn { padding: 7px 13px; font-size: 12px; }
.comments-list { max-height: 355px; overflow-y: auto; padding-left: 4px; scrollbar-width: thin; scrollbar-color: rgba(201,164,92,.45) transparent; }
.comment { padding: 10px 11px; border-radius: 14px; margin-bottom: 8px; }
.comment-head { margin-bottom: 3px; }
.comment strong { font-size: 12.5px; }
.comment-stars { font-size: 10.5px; }
.comment p { font-size: 12px; line-height: 1.65; margin-bottom: 6px; }
.reply-btn { font-size: 11.5px; }
.replies { margin-top: 7px; padding-right: 10px; gap: 6px; }
.reply { padding: 7px 9px; border-radius: 11px; }
.reply strong { font-size: 12px; }
.reply p { font-size: 11.8px; margin: 2px 0 0; }
.reply-form { margin-top: 7px; }
.reply-form .primary-btn { padding: 7px 11px; font-size: 11.5px; }
.empty-comments { padding: 16px; font-size: 12px; }

/* compact home about section */
#about { padding-top: 34px; }
.about-grid { grid-template-columns: .58fr 1.42fr; gap: 22px; }
.about-image { min-height: 260px; border-radius: 28px; }
.about-image::after { inset: 16px; border-radius: 20px; }
.about-content .kicker { font-size: 9.5px; }
.about-content h2 { font-size: clamp(21px, 2.7vw, 30px); margin-bottom: 9px; }
.about-content p { font-size: 13px; line-height: 1.85; }
.features { gap: 10px; margin-top: 16px; }
.feature { padding: 12px; border-radius: 16px; }
.feature strong { font-size: 13px; margin-bottom: 5px; }
.feature span { font-size: 11.5px; line-height: 1.65; }

@media (max-width: 980px) {
  .detail-grid { grid-template-columns: 1fr; }
  .media-slide { aspect-ratio: 1.14/1; }
  .detail-panel { padding: 16px; }
  .comments-wrap { grid-template-columns: 1fr; max-width: 720px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 230px; }
}
@media (max-width: 760px) {
  .detail-page { padding-top: 76px; }
  .media-slide { aspect-ratio: 1/1.05; }
  .media-nav button { width: 40px; height: 40px; border-radius: 13px; }
  .detail-panel h1 { font-size: clamp(19px, 5.6vw, 26px); }
  .detail-panel p { font-size: 12.5px; }
  .comments-wrap { margin-top: 16px; gap: 12px; }
  .comments-list { max-height: 300px; }
  .form-card, .comments-list-card { padding: 12px; border-radius: 16px; }
  .about-image { min-height: 190px; }
  .features { grid-template-columns: 1fr; }
  .lightbox-img { width: 94vw; max-height: 82vh; border-radius: 18px; }
  .lightbox-close { top: 14px; left: 14px; width: 40px; height: 40px; }
}

/* v9: real centered icons + left brand layout */
.site-header .header-inner,
.admin-header {
  direction: ltr;
}
.header-actions,
.admin-actions-top {
  direction: rtl;
}
.site-header .brand,
.admin-header .brand {
  justify-self: flex-start;
}
.header-actions {
  margin-left: auto;
}
.brand {
  flex-direction: row;
  text-align: left;
}
.brand-name {
  direction: ltr;
  text-align: left;
}
.side-top {
  direction: ltr;
  justify-content: space-between;
}
.side-top .brand { order: 1; }
.side-top .close-btn { order: 2; margin-left: auto; }
.side-menu .brand-name { text-align: left; }

.menu-btn,
.close-btn,
.arrow-btn,
.team-arrow,
.media-nav button,
.lightbox-close,
.social,
.designer-social,
.service-icon,
.contact-row img,
.call-btn img,
.menu-link img {
  display: inline-grid;
  place-items: center;
}
.menu-btn img,
.close-btn img,
.arrow-btn img,
.team-arrow img,
.media-nav button img,
.lightbox-close img,
.social img,
.designer-social img,
.call-btn img,
.menu-link img,
.contact-row img,
.service-icon img {
  display: block;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}
.arrow-btn,
.team-arrow,
.media-nav button,
.lightbox-close {
  padding: 0;
  line-height: 1;
  font-size: 0;
  display: inline-grid;
  place-items: center;
}
.arrow-btn img,
.team-arrow img,
.media-nav button img { width: 22px; height: 22px; }
.lightbox-close img { width: 22px; height: 22px; }
.star {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  filter: grayscale(1) opacity(.38);
}
.star img { width: 18px; height: 18px; display: block; }
.star.active,
.star:hover { filter: none; }
.comment-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  direction: ltr;
}
.comment-stars img {
  width: 12px;
  height: 12px;
  display: block;
}

@media (max-width: 760px) {
  .header-inner { height: 70px; }
  .menu-btn img, .close-btn img { width: 20px; height: 20px; }
  .arrow-btn img, .team-arrow img, .media-nav button img { width: 19px; height: 19px; }
}


/* v10: close fix support + hero composition lift */
.hero {
  min-height: 86vh;
  padding-top: 104px;
  padding-bottom: 46px;
}
.hero-content {
  transform: translateY(-26px);
}
.hero-card.signature-card {
  transform: translateY(-36px);
}
.lightbox-close,
.close-btn,
.menu-btn {
  position: relative;
  z-index: 5;
}
.lightbox-close img,
.close-btn img,
.menu-btn img {
  pointer-events: none;
}
.image-lightbox.open .lightbox-close {
  pointer-events: auto;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 44px;
  }
  .hero-content,
  .hero-card.signature-card {
    transform: none;
  }
}

/* v11: hero/slider section moved higher and tightened */
.hero {
  min-height: 78vh;
  padding-top: 92px;
  padding-bottom: 28px;
}
.hero-content {
  transform: translateY(-64px);
}
.hero-card.signature-card {
  transform: translateY(-76px);
}
.slider-controls {
  bottom: 18px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 30px;
  }
  .hero-content,
  .hero-card.signature-card {
    transform: none;
  }
}

/* full admin version: preview highlight from admin guide */
.admin-highlight-section {
  outline: 2px solid rgba(201,164,92,.85);
  outline-offset: -8px;
  box-shadow: inset 0 0 0 9999px rgba(201,164,92,.08), 0 0 0 9999px rgba(0,0,0,.18);
  transition: outline .25s ease, box-shadow .25s ease;
}
.inline-form { display: inline-flex; }

.like-btn:disabled {
  opacity: .82;
  cursor: progress;
}

.like-btn.liked:disabled {
  cursor: default;
  opacity: 1;
}

/* v7 - Team profile page */
.team-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.team-card-link:focus-visible,
.mini-team-card:focus-visible,
.team-social:focus-visible {
  outline: 2px solid rgba(201,164,92,.75);
  outline-offset: 4px;
}
.team-more {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,92,.24);
  color: var(--gold);
  background: rgba(201,164,92,.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.team-card-link:hover .team-more {
  background: rgba(201,164,92,.16);
  border-color: rgba(201,164,92,.45);
}
.team-profile-page {
  padding-top: 86px;
  background:
    radial-gradient(circle at 22% 18%, rgba(107,15,26,.22), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(201,164,92,.12), transparent 30%);
}
.team-profile-hero {
  min-height: 62vh;
}
.team-profile-card {
  display: grid;
  grid-template-columns: minmax(260px, 390px) 1fr;
  gap: 34px;
  align-items: stretch;
  margin-top: 18px;
  padding: 26px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    radial-gradient(circle at 25% 15%, rgba(201,164,92,.18), transparent 38%);
  box-shadow: 0 30px 95px rgba(0,0,0,.45);
  overflow: hidden;
  position: relative;
}
.team-profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .28;
  pointer-events: none;
}
.team-profile-photo-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid rgba(201,164,92,.18);
  background:
    radial-gradient(circle at 50% 42%, rgba(201,164,92,.18), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  overflow: hidden;
}
.team-profile-photo-wrap::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(201,164,92,.18);
  transform: translateY(18px);
}
.team-profile-photo {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(201,164,92,.45);
  box-shadow: 0 22px 58px rgba(0,0,0,.5);
  background: rgba(0,0,0,.26);
}
.team-profile-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(201,164,92,.23);
  filter: blur(34px);
}
.team-profile-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 18px 10px;
}
.team-profile-content h1 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.16;
  letter-spacing: -.05em;
  margin: 0;
}
.team-role-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201,164,92,.3);
  background: rgba(201,164,92,.12);
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}
.team-profile-content p {
  max-width: 720px;
  color: var(--muted);
  line-height: 2.25;
  font-size: 15px;
  margin: 0;
}
.team-social-panel {
  margin-top: 8px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.22);
}
.team-social-panel > span {
  display: block;
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
}
.team-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.team-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.065);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.team-social:hover {
  transform: translateY(-3px);
  border-color: rgba(201,164,92,.42);
  background: rgba(201,164,92,.12);
}
.team-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.team-social b {
  font-size: 13px;
  font-weight: 900;
}
.team-social.instagram { background: linear-gradient(135deg, rgba(131,58,180,.18), rgba(253,29,29,.11), rgba(252,176,69,.12)); }
.team-social.telegram { background: linear-gradient(135deg, rgba(42,171,238,.16), rgba(0,0,0,.06)); }
.team-social-empty {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px dashed rgba(255,255,255,.14);
  font-size: 13px;
}
.related-team-box {
  margin-top: 32px;
}
.compact-head {
  margin-bottom: 16px;
}
.compact-head h2 {
  font-size: clamp(24px, 3vw, 36px);
}
.related-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.mini-team-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  min-height: 82px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  text-decoration: none;
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.mini-team-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,164,92,.35);
  background: rgba(201,164,92,.1);
}
.mini-team-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201,164,92,.28);
}
.mini-team-card span {
  display: grid;
  gap: 4px;
}
.mini-team-card b {
  font-size: 13px;
}
.mini-team-card small {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .team-profile-card { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .team-profile-photo-wrap { min-height: 290px; }
  .team-profile-photo { width: 160px; height: 160px; }
  .related-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .team-profile-page { padding-top: 76px; }
  .team-profile-card { border-radius: 26px; }
  .team-profile-content { padding: 6px 2px; }
  .team-profile-content h1 { font-size: 32px; }
  .team-profile-content p { font-size: 13px; line-height: 2; }
  .team-socials { display: grid; grid-template-columns: 1fr; }
  .team-social { width: 100%; }
  .related-team-grid { grid-template-columns: 1fr; }
}

/* v8: luxury image-based services section + stronger responsive layout */
.luxury-service-zone {
  padding: clamp(18px, 3vw, 30px) !important;
  border-radius: clamp(28px, 3vw, 46px) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(201,164,92,.22), transparent 25%),
    radial-gradient(circle at 82% 26%, rgba(107,15,26,.28), transparent 30%),
    linear-gradient(135deg, rgba(8,8,10,.96), rgba(36,13,19,.82), rgba(7,7,8,.96)),
    url('../images/background/black-rose-bg.svg') center/cover !important;
}
.luxury-service-zone::after {
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) !important;
  background-size: 54px 54px !important;
  opacity: .32 !important;
}
.service-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.service-grid .service-card,
.service-image-card {
  direction: rtl;
  min-height: unset !important;
  height: 100%;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  place-items: stretch !important;
  text-align: center;
  overflow: hidden;
  border-radius: 28px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 22px 62px rgba(0,0,0,.35) !important;
  backdrop-filter: blur(15px);
}
.service-image-card:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(201,164,92,.44) !important;
  box-shadow: 0 30px 82px rgba(0,0,0,.48) !important;
}
.service-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1.05 / 1;
  overflow: hidden;
  background: #09090b;
  position: relative;
}
.service-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 48%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}
.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, opacity .45s ease;
}
.service-image-card:hover .service-image-wrap img {
  transform: scale(1.06);
  opacity: .92;
}
.service-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 22px 18px 24px;
  min-height: 205px;
  background: linear-gradient(180deg, rgba(5,5,5,.80), rgba(5,5,5,.96));
}
.service-card-body h3 {
  margin: 0;
  font-size: clamp(19px, 2.1vw, 27px);
  color: var(--gold);
  line-height: 1.45;
}
.service-card-body p {
  margin: 0;
  max-width: 250px;
  color: rgba(245,245,245,.72);
  font-size: 13.5px;
  line-height: 2;
}
.service-card-body .service-more {
  margin-top: auto;
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--gold);
  border-bottom-color: rgba(201,164,92,.42);
}
.service-carousel,
.service-arrows,
.service-icon { display: none !important; }

/* responsive polish */
@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-image-wrap { aspect-ratio: 1.28 / .82; }
}
@media (max-width: 760px) {
  .luxury-service-zone { padding: 14px !important; border-radius: 26px !important; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-image-card { border-radius: 22px !important; }
  .service-image-wrap { aspect-ratio: 1.55 / 1; }
  .service-card-body { min-height: 145px; padding: 18px 15px 20px; }
  .service-card-body h3 { font-size: 21px; }
  .service-card-body p { font-size: 13px; line-height: 1.85; max-width: 290px; }
}
@media (max-width: 520px) {
  .service-image-wrap { aspect-ratio: 1.26 / 1; }
  .section-head .ghost-btn { margin-top: 14px; }
  .portfolio-grid,
  .contact-grid,
  .footer-grid,
  .comments-wrap,
  .detail-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
  }
  .portfolio-prime .portfolio-card:nth-child(1) { grid-column: auto !important; }
  .brand-name strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* v9: compact horizontal luxury service cards exactly like the approved reference */
#services {
  overflow: hidden;
}
#services .section-head {
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
#services .luxury-service-zone {
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
#services .luxury-service-zone::after {
  display: none !important;
}
#services .service-inner {
  width: 100% !important;
  margin: 0 !important;
  overflow: visible;
}
#services .service-grid {
  position: relative;
  z-index: 2;
  display: flex !important;
  grid-template-columns: unset !important;
  gap: clamp(12px, 1.55vw, 18px) !important;
  direction: ltr;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 14px;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
#services .service-grid::-webkit-scrollbar {
  width: 0;
  height: 0;
}
#services .service-grid.dragging {
  cursor: grabbing;
  user-select: none;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
#services .service-grid.dragging .service-image-card {
  pointer-events: none;
}
#services .service-grid .service-card,
#services .service-image-card {
  direction: rtl;
  flex: 0 0 clamp(214px, 21.5vw, 254px) !important;
  width: clamp(214px, 21.5vw, 254px) !important;
  min-width: clamp(214px, 21.5vw, 254px) !important;
  max-width: 254px !important;
  height: auto;
  min-height: 0 !important;
  padding: 0 !important;
  scroll-snap-align: start;
  display: flex !important;
  flex-direction: column;
  place-items: stretch !important;
  text-align: center;
  overflow: hidden;
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.135) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.34) !important;
  backdrop-filter: blur(12px);
  transform: translateZ(0);
}
#services .service-image-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(201,164,92,.36) !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.46) !important;
}
#services .service-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  max-height: 168px;
  overflow: hidden;
  background: #050506;
  position: relative;
}
#services .service-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(0,0,0,.55) 100%),
    radial-gradient(circle at 15% 15%, rgba(201,164,92,.10), transparent 40%);
  pointer-events: none;
}
#services .service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .42s ease, filter .42s ease, opacity .42s ease;
}
#services .service-image-card:hover .service-image-wrap img {
  transform: scale(1.045);
  opacity: .94;
}
#services .service-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 12px 16px;
  min-height: 100px !important;
  background: linear-gradient(180deg, rgba(3,3,4,.86), rgba(0,0,0,.97));
}
#services .service-card-body h3 {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 20px) !important;
  line-height: 1.42;
  color: var(--gold);
  font-weight: 800;
}
#services .service-card-body p {
  margin: 0;
  max-width: 205px;
  color: rgba(245,245,245,.68);
  font-size: 12px !important;
  line-height: 1.75 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#services .service-card-body .service-more {
  display: none !important;
}
#services .service-carousel,
#services .service-arrows,
#services .service-icon {
  display: none !important;
}

@media (min-width: 1280px) {
  #services .service-grid .service-card,
  #services .service-image-card {
    flex-basis: 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
}
@media (max-width: 760px) {
  #services .section-head {
    margin-bottom: 16px;
  }
  #services .service-grid {
    gap: 13px !important;
    padding-inline: 2px;
  }
  #services .service-grid .service-card,
  #services .service-image-card {
    flex-basis: min(76vw, 278px) !important;
    width: min(76vw, 278px) !important;
    min-width: min(76vw, 278px) !important;
    max-width: 278px !important;
    border-radius: 17px !important;
  }
  #services .service-image-wrap {
    aspect-ratio: 1.48 / 1;
    max-height: none;
  }
  #services .service-card-body {
    min-height: 98px !important;
    padding: 12px 12px 15px;
  }
}
@media (max-width: 420px) {
  #services .service-grid .service-card,
  #services .service-image-card {
    flex-basis: 82vw !important;
    width: 82vw !important;
    min-width: 82vw !important;
  }
  #services .service-card-body h3 {
    font-size: 17px !important;
  }
}

/* v10: final compact service carousel + polished team profile */
#services .service-inner {
  width: 100% !important;
  max-width: none !important;
}
#services .service-grid {
  display: flex !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 0 12px !important;
  margin: 0 !important;
  scroll-snap-type: x mandatory !important;
  direction: ltr !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
}
#services .service-grid::-webkit-scrollbar { display: none !important; }
#services .service-image-card,
#services .service-grid .service-card {
  flex: 0 0 194px !important;
  width: 194px !important;
  min-width: 194px !important;
  max-width: 194px !important;
  min-height: 0 !important;
  height: 256px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.36) !important;
}
#services .service-image-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(201,164,92,.40) !important;
}
#services .service-image-wrap {
  width: 100% !important;
  height: 132px !important;
  max-height: 132px !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}
#services .service-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
#services .service-card-body {
  height: 124px !important;
  min-height: 124px !important;
  padding: 12px 11px 13px !important;
  gap: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: linear-gradient(180deg, rgba(3,3,4,.88), rgba(0,0,0,.98)) !important;
}
#services .service-card-body h3 {
  font-size: 16px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  color: var(--gold) !important;
}
#services .service-card-body p {
  font-size: 11.3px !important;
  line-height: 1.75 !important;
  max-width: 164px !important;
  color: rgba(245,245,245,.66) !important;
  -webkit-line-clamp: 2 !important;
}
#services .service-card-body .service-more {
  display: none !important;
}
@media (min-width: 1100px) {
  #services .service-grid { gap: 14px !important; }
  #services .service-image-card,
  #services .service-grid .service-card {
    flex-basis: 204px !important;
    width: 204px !important;
    min-width: 204px !important;
    max-width: 204px !important;
  }
}
@media (max-width: 760px) {
  #services .service-grid { gap: 12px !important; padding-inline: 0 !important; }
  #services .service-image-card,
  #services .service-grid .service-card {
    flex-basis: 184px !important;
    width: 184px !important;
    min-width: 184px !important;
    max-width: 184px !important;
    height: 246px !important;
  }
  #services .service-image-wrap { height: 126px !important; max-height: 126px !important; }
  #services .service-card-body { height: 120px !important; min-height: 120px !important; padding: 11px 10px 12px !important; }
  #services .service-card-body h3 { font-size: 15px !important; }
  #services .service-card-body p { font-size: 10.9px !important; max-width: 154px !important; }
}
@media (max-width: 420px) {
  #services .service-image-card,
  #services .service-grid .service-card {
    flex-basis: 172px !important;
    width: 172px !important;
    min-width: 172px !important;
    max-width: 172px !important;
    height: 236px !important;
  }
  #services .service-image-wrap { height: 118px !important; max-height: 118px !important; }
  #services .service-card-body { height: 118px !important; min-height: 118px !important; }
}

/* Team profile: clean card layout */
.team-profile-page {
  padding-top: 78px !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(107,15,26,.18), transparent 30%),
    radial-gradient(circle at 80% 12%, rgba(201,164,92,.10), transparent 26%),
    #050505 !important;
}
.team-profile-hero {
  min-height: auto !important;
  padding-top: clamp(34px, 5vw, 58px) !important;
}
.team-profile-card {
  max-width: 1050px;
  margin: 18px auto 0 !important;
  display: grid !important;
  grid-template-columns: 310px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
  padding: 18px !important;
  border-radius: 28px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    radial-gradient(circle at 30% 20%, rgba(201,164,92,.12), transparent 34%) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 22px 70px rgba(0,0,0,.45) !important;
}
.team-profile-card::before {
  opacity: .16 !important;
  background-size: 42px 42px !important;
}
.team-profile-photo-wrap {
  min-height: 310px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 50% 38%, rgba(201,164,92,.16), transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018)) !important;
}
.team-profile-photo-wrap::after {
  width: 210px !important;
  height: 210px !important;
  opacity: .7 !important;
}
.team-profile-photo {
  width: 176px !important;
  height: 176px !important;
  border-width: 2px !important;
}
.team-profile-content {
  padding: 14px 8px !important;
  justify-content: center !important;
  gap: 12px !important;
}
.team-profile-content h1 {
  font-size: clamp(28px, 4vw, 46px) !important;
  line-height: 1.25 !important;
}
.team-role-pill {
  padding: 7px 14px !important;
  font-size: 12px !important;
}
.team-profile-content p {
  font-size: 13.5px !important;
  line-height: 2.05 !important;
  max-width: 660px !important;
}
.team-social-panel {
  margin-top: 4px !important;
  padding: 13px !important;
  border-radius: 20px !important;
  background: rgba(0,0,0,.24) !important;
}
.team-socials {
  gap: 10px !important;
}
.team-social {
  min-height: 42px !important;
  padding: 0 15px !important;
  border-radius: 14px !important;
}
.related-team-box {
  max-width: 1050px;
  margin: 26px auto 0 !important;
  padding: 18px !important;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
}
.related-team-box .compact-head {
  margin-bottom: 14px !important;
}
.related-team-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.mini-team-card {
  min-height: 0 !important;
  padding: 14px 12px !important;
  border-radius: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  gap: 9px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.11) !important;
}
.mini-team-card img {
  width: 66px !important;
  height: 66px !important;
  border-radius: 50% !important;
}
.mini-team-card span {
  display: grid !important;
  justify-items: center !important;
  gap: 4px !important;
}
.mini-team-card b {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.mini-team-card small {
  font-size: 11px !important;
  line-height: 1.6 !important;
}
@media (max-width: 900px) {
  .team-profile-card {
    grid-template-columns: 1fr !important;
    max-width: 640px !important;
  }
  .team-profile-photo-wrap { min-height: 250px !important; }
  .team-profile-photo { width: 148px !important; height: 148px !important; }
  .team-profile-content { text-align: center !important; align-items: center !important; }
  .team-profile-content p { max-width: 520px !important; }
  .team-socials { justify-content: center !important; }
  .related-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
  .team-profile-page { padding-top: 68px !important; }
  .team-profile-card,
  .related-team-box { border-radius: 22px !important; padding: 14px !important; }
  .team-profile-photo-wrap { min-height: 210px !important; }
  .team-profile-photo { width: 126px !important; height: 126px !important; }
  .team-profile-content h1 { font-size: 27px !important; }
  .team-socials { display: grid !important; grid-template-columns: 1fr !important; width: 100% !important; }
  .team-social { width: 100% !important; }
  .related-team-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .mini-team-card { padding: 12px 8px !important; }
  .mini-team-card img { width: 56px !important; height: 56px !important; }
}

/* v11: final service-category link, no white overscroll flash, category page polish */
html,
body {
  min-height: 100%;
  background-color: #050505 !important;
  overscroll-behavior-y: none;
}
html {
  background: #050505 !important;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 8%, rgba(107,15,26,.34), transparent 30%),
    radial-gradient(circle at 82% 0%, rgba(201,164,92,.13), transparent 34%),
    linear-gradient(180deg, #030303 0%, #09090b 52%, #050505 100%);
  pointer-events: none;
}
main, .site-footer, .site-header, .side-menu {
  background-color: transparent;
}

/* v11 services: compact, horizontal, picture-first, always small */
#services .container:has(.service-zone) {
  width: min(1180px, calc(100% - 28px));
}
#services .service-zone,
#services .luxury-service-zone {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}
#services .service-zone::after,
#services .luxury-service-zone::after {
  display: none !important;
}
#services .service-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}
#services .service-grid {
  display: flex !important;
  grid-template-columns: unset !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  direction: ltr !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-inline: contain !important;
  scrollbar-width: none !important;
  padding: 3px 0 14px !important;
  margin: 0 !important;
}
#services .service-grid::-webkit-scrollbar { display: none !important; }
#services .service-grid .service-card,
#services .service-image-card {
  direction: rtl !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 188px !important;
  width: 188px !important;
  min-width: 188px !important;
  max-width: 188px !important;
  height: 238px !important;
  min-height: 0 !important;
  max-height: 238px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  scroll-snap-align: start !important;
  text-align: center !important;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.016)) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.36) !important;
  backdrop-filter: blur(12px) !important;
}
#services .service-image-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(201,164,92,.42) !important;
}
#services .service-image-wrap {
  width: 100% !important;
  height: 122px !important;
  max-height: 122px !important;
  min-height: 122px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  background: #050506 !important;
}
#services .service-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
#services .service-card-body {
  height: 116px !important;
  min-height: 116px !important;
  max-height: 116px !important;
  padding: 10px 10px 11px !important;
  gap: 5px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: linear-gradient(180deg, rgba(3,3,4,.88), rgba(0,0,0,.98)) !important;
}
#services .service-card-body h3 {
  font-size: 15.5px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  color: var(--gold) !important;
  font-weight: 900 !important;
}
#services .service-card-body p {
  font-size: 10.8px !important;
  line-height: 1.72 !important;
  max-width: 156px !important;
  margin: 0 !important;
  color: rgba(245,245,245,.66) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
#services .service-card-body .service-more,
#services .service-carousel,
#services .service-arrows,
#services .service-icon {
  display: none !important;
}
@media (min-width: 1180px) {
  #services .service-grid .service-card,
  #services .service-image-card {
    flex-basis: 198px !important;
    width: 198px !important;
    min-width: 198px !important;
    max-width: 198px !important;
    height: 246px !important;
    max-height: 246px !important;
  }
  #services .service-image-wrap { height: 128px !important; min-height: 128px !important; max-height: 128px !important; }
  #services .service-card-body { height: 118px !important; min-height: 118px !important; max-height: 118px !important; }
}
@media (max-width: 640px) {
  #services .service-grid {
    gap: 10px !important;
  }
  #services .service-grid .service-card,
  #services .service-image-card {
    flex-basis: 168px !important;
    width: 168px !important;
    min-width: 168px !important;
    max-width: 168px !important;
    height: 224px !important;
    max-height: 224px !important;
    border-radius: 15px !important;
  }
  #services .service-image-wrap { height: 112px !important; min-height: 112px !important; max-height: 112px !important; }
  #services .service-card-body { height: 112px !important; min-height: 112px !important; max-height: 112px !important; padding: 9px 9px 10px !important; }
  #services .service-card-body h3 { font-size: 14px !important; }
  #services .service-card-body p { font-size: 10.2px !important; max-width: 140px !important; }
}

/* v11 category page: service-specific result page */
.category-main {
  min-height: 100vh;
  background: transparent !important;
}
.category-hero {
  padding: clamp(110px, 13vw, 150px) 0 34px;
  position: relative;
  overflow: hidden;
}
.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(107,15,26,.26), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(201,164,92,.14), transparent 30%);
  pointer-events: none;
}
.category-hero-inner {
  position: relative;
  z-index: 2;
}
.category-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
    radial-gradient(circle at 26% 18%, rgba(201,164,92,.13), transparent 36%);
  box-shadow: 0 22px 78px rgba(0,0,0,.42);
}
.category-cover {
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(201,164,92,.18);
  background: #080809;
  position: relative;
}
.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
}
.category-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.62));
  pointer-events: none;
}
.category-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 8px;
}
.category-copy h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.16;
  margin: 0;
}
.category-copy p {
  max-width: 760px;
  font-size: 14px;
  line-height: 2.1;
  margin: 0;
}
.category-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #101010;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 900;
  font-size: 12px;
}
.category-pills {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
  transition: .2s ease;
}
.category-pill:hover,
.category-pill.active {
  color: #101010;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: rgba(201,164,92,.4);
}
.category-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.category-results-head h2 {
  margin-bottom: 6px;
}
.category-results-head p {
  margin: 0;
  font-size: 13px;
}
.category-main .portfolio-prime {
  padding-top: 34px;
}
@media (max-width: 900px) {
  .category-showcase {
    grid-template-columns: 1fr;
  }
  .category-cover {
    min-height: 260px;
  }
  .category-copy {
    text-align: center;
    align-items: center;
  }
  .category-pills {
    justify-content: center;
  }
  .category-results-head {
    display: block;
  }
}
@media (max-width: 560px) {
  .category-hero { padding-top: 94px; }
  .category-showcase { padding: 13px; border-radius: 24px; }
  .category-cover { min-height: 210px; border-radius: 19px; }
  .category-copy h1 { font-size: 31px; }
  .category-copy p { font-size: 12.5px; line-height: 2; }
}
