/* ============================================================
   style.css — ShG-Partners main site
   Fonts: Cormorant Garamond (display) + Syne (ui)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Syne:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #080808;
  --fg:       #f0ece4;
  --accent:   #c8a870;
  --muted:    rgba(240,236,228,0.42);
  --border:   rgba(240,236,228,0.1);
  --overlay:  rgba(8,8,8,0.6);
  --radius:   0px;
  --gap:      3px;
  --nav-h:    64px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ────────────────────────────────────────── */
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.0;
}
.label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}
.upper {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ── Views (SPA) ───────────────────────────────────────── */
.view { display: none; animation: fadeUp 0.45s ease both; }
.view.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── NAV ───────────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  transition: background 0.35s;
}
#main-nav.scrolled {
  background: rgba(8,8,8,0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
#main-nav.hero-top {
  background: linear-gradient(to bottom, rgba(8,8,8,0.7) 0%, transparent 100%);
}

.nav-logo { cursor: pointer; display: flex; align-items: center; }
.nav-logo svg { width: 46px; height: 50px; }

/* Nav actions (lang switcher + hamburger) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Language switcher */
.lang-switcher { position: relative; }

.lang-toggle {
  height: 34px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid rgba(185,155,100,0.45);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s;
}
.lang-toggle:hover {
  border-color: var(--accent);
  background: rgba(185,155,100,0.08);
}
#lang-flag { font-size: 16px; line-height: 1; }
#lang-code { opacity: 0.9; }

.lang-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(8,8,8,0.97);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 300;
  min-width: 110px;
}
.lang-menu.open { display: flex; }

.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-align: left;
  white-space: nowrap;
}
.lang-opt:last-child { border-bottom: none; }
.lang-opt:hover { color: var(--fg); background: rgba(240,236,228,0.05); }
.lang-opt.active { color: var(--accent); }
.lang-opt span { font-size: 15px; }

/* Mobile drawer language row */
.drawer-lang {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.drawer-lang button {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.drawer-lang button:hover,
.drawer-lang button.lang-active { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  padding: 6px 16px;
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
  opacity: 0.75;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--fg); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 1px;
  background: var(--accent);
}

/* ── Services nav dropdown ───────────────────────────── */
.nav-dd-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dd-trigger {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  padding: 6px 16px;
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
  opacity: 0.75;
  user-select: none;
}
.nav-dd-trigger::after {
  content: '▾';
  font-size: 9px;
  margin-left: 5px;
  opacity: 0.6;
  vertical-align: middle;
}
.nav-dd-trigger:hover { opacity: 1; }
.nav-dd-wrap.active .nav-dd-trigger,
.nav-dd-wrap.active .nav-dd-trigger::after { opacity: 1; color: var(--accent); }

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: rgba(12,11,10,0.97);
  border: 1px solid rgba(185,155,100,0.18);
  border-top: 2px solid var(--accent);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  padding: 6px 0;
  z-index: 200;
}
.nav-dd-menu.open { display: flex; }

.nav-dd-menu a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240,236,228,0.75);
  padding: 10px 20px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dd-menu a:hover {
  color: var(--accent);
  background: rgba(185,155,100,0.07);
}

.nav-dd-divider {
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
  margin: 6px 14px;
}

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8,8,8,0.97);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px 32px;
  gap: 24px;
  z-index: 199;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-drawer a:hover,
.nav-drawer a.active { opacity: 1; color: var(--accent); }

/* Services expandable in mobile drawer */
.drawer-svc-wrap { display: flex; flex-direction: column; gap: 0; }

.drawer-svc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0.75;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 0;
}
.drawer-svc-trigger:hover { opacity: 1; color: var(--accent); }
.drawer-svc-trigger.open  { opacity: 1; color: var(--accent); }

.drawer-svc-arrow {
  font-size: 16px;
  transition: transform 0.2s;
  line-height: 1;
}
.drawer-svc-trigger.open .drawer-svc-arrow { transform: rotate(90deg); }

.drawer-svc-sub {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 14px 0 4px 16px;
  border-left: 1px solid rgba(185,155,100,0.3);
  margin-top: 10px;
}
.drawer-svc-sub.open { display: flex; }

.drawer-svc-sub a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240,236,228,0.65);
  cursor: pointer;
  transition: color 0.15s;
}
.drawer-svc-sub a:hover { color: var(--accent); }

.drawer-svc-divider {
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
  margin: 2px 0;
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  animation: kenBurns 18s ease-in-out infinite alternate;
  animation-play-state: paused;
  will-change: transform;
}
.hero-slide.active {
  opacity: 1;
  animation-play-state: running;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,8,8,0.75) 0%,
    rgba(8,8,8,0.45) 50%,
    rgba(8,8,8,0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
}

.hero-logo-large img {
  max-height: 96px;
  width: auto;
  margin-bottom: 36px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
}

.hero-logo-large svg {
  width: 96px;
  height: 104px;
  margin-bottom: 36px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
  animation: heroIn 1s ease 0.15s both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(48px, 10vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: pre-line;
  margin-bottom: 24px;
  animation: heroIn 1.1s ease 0.3s both;
}

.hero-subtitle {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.65);
  margin-bottom: 56px;
  animation: heroIn 0.9s ease 0.5s both;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s;
  animation: heroIn 0.8s ease 0.7s both;
}
.hero-scroll:hover { opacity: 1; }
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--fg);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.55; }
  50% { transform: scaleY(0.4); opacity: 1; }
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 20px;
  height: 1.5px;
  background: rgba(240,236,228,0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hero-dot.active {
  background: var(--fg);
  width: 36px;
}

/* ── SECTION HEADER ────────────────────────────────────── */
.section-header {
  padding: 56px 32px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: 0.02em;
  line-height: 1;
}
.section-header .count {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ── PROJECT GRID (1:1 cards) ──────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding: var(--gap) 0;
}

.project-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s;
  filter: brightness(0.78);
}
.project-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.55);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.88) 0%, rgba(8,8,8,0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.4s;
}
.project-card:hover .card-overlay { opacity: 1; }

.card-cat {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 3.5vw, 22px);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 5px;
}
.card-loc {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,236,228,0.6);
}

/* Always-visible minimal info on card bottom */
.card-info-always {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 14px 12px;
  background: linear-gradient(to top, rgba(8,8,8,0.7) 0%, transparent 100%);
}
.card-info-always .card-name {
  font-size: clamp(12px, 2.5vw, 16px);
  margin-bottom: 2px;
}
.card-info-always .card-loc { font-size: 8px; }

/* ── PROJECTS PAGE ─────────────────────────────────────── */
.projects-page { padding-top: var(--nav-h); }

.projects-controls {
  padding: 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.search-wrap {
  position: relative;
}
.search-wrap svg {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  opacity: 0.45;
  pointer-events: none;
}
#project-search {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 10px 0 10px 28px;
  outline: none;
  transition: border-color 0.2s;
}
#project-search:focus { border-bottom-color: var(--accent); }
#project-search::placeholder { color: var(--muted); font-size: 12px; }

.cat-filters {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0;
}
.cat-filters::-webkit-scrollbar { display: none; }

.cat-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 20px 14px 0;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.cat-btn:hover { color: var(--fg); }
.cat-btn.active { color: var(--fg); border-bottom-color: var(--fg); }

.no-results {
  padding: 80px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── PROJECT DETAIL ────────────────────────────────────── */
#view-project { padding-top: 0; }

.detail-hero {
  position: relative;
  height: 72vh;
  min-height: 440px;
  overflow: hidden;
}
.detail-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}
.detail-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, transparent 100%);
}
.detail-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 7vw, 64px);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.detail-cat-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
}

.back-btn {
  position: absolute;
  top: calc(var(--nav-h) + 16px);
  left: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--fg);
  opacity: 0.7;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.back-btn:hover { opacity: 1; }
.back-btn svg { width: 16px; height: 16px; }

.detail-body {
  padding: 48px 32px;
  max-width: 960px;
}

.detail-description {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(240,236,228,0.85);
  letter-spacing: 0.02em;
  margin-bottom: 48px;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}
.meta-item label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.meta-item span {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 56px;
}
.service-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--border);
  padding: 5px 12px;
}

/* Gallery */
.gallery-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 0 32px;
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  padding-bottom: var(--gap);
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  filter: brightness(0.85);
  transition: filter 0.3s, transform 0.4s;
  display: block;
}
.detail-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16/7;
}
.detail-gallery img:hover { filter: brightness(1); }

/* ── ABOUT PAGE ────────────────────────────────────────── */
.about-hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
}
.about-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.about-hero-text {
  position: absolute;
  bottom: 36px; left: 32px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 600;
  font-style: normal;
  line-height: 1;
}

.about-body {
  display: grid;
  grid-template-columns: 4px 1fr;
  column-gap: 48px;
  padding: 72px 48px 80px;
  max-width: 960px;
  position: relative;
}

.about-body::before {
  content: '';
  background: linear-gradient(to bottom, var(--accent), transparent 80%);
  grid-row: 1 / span 2;
  align-self: stretch;
}

.about-intro {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.about-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.82;
  color: rgba(240,236,228,0.92);
  white-space: pre-line;
}

/* ── SERVICES PAGE (reuses about layout) ───────────────── */
.services-page-header {
  padding: calc(var(--nav-h) + 56px) 32px 40px;
  border-bottom: 1px solid var(--border);
}
.services-page-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: -0.01em;
  margin: 0;
}
@media (max-width: 768px) {
  .services-page-header { padding: calc(var(--nav-h) + 32px) 20px 28px; }
}
@media (max-width: 480px) {
  .services-page-header { padding: calc(var(--nav-h) + 24px) 16px 24px; }
}


@keyframes svcIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* NO static opacity:0 — if animation fails for any reason, sections are visible */
.svc-sec {
  animation: svcIn 0.4s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .svc-sec { animation: none; }
}

.services-page {
  min-height: 70vh;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 0;
}

.services-page .about-header {
  padding: 0 48px 40px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .services-page { padding-top: calc(var(--nav-h) + 32px); }
  .services-page .about-header { padding: 0 20px 32px; }
}

@media (max-width: 480px) {
  .services-page { padding-top: calc(var(--nav-h) + 24px); }
  .services-page .about-header { padding: 0 16px 24px; }
}

/* ── ABOUT ADDITIONAL SECTIONS ─────────────────────────── */
.about-section {
  border-top: 1px solid var(--border);
}

.asec-text-only {
  padding: 56px 32px;
  max-width: 720px;
}

/* Side-by-side layout */
.asec-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.asec-side .asec-img-wrap {
  overflow: hidden;
  height: 480px;
  max-height: 480px;
}

.asec-side .asec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asec-side .asec-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Full-width photo + text below */
.asec-full .asec-img-wrap {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}

.asec-full .asec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.asec-full .asec-text {
  padding: 48px 32px;
  max-width: 720px;
}

/* Text elements */
.asec-title-wrap {
  display: inline-block;
  margin-bottom: 24px;
}

.asec-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--fg);
}

.asec-title-rule {
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.asec-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(240,236,228,0.82);
  white-space: pre-line;
}

.asec-body p { margin: 0 0 1em; }

/* Card-overlay layout */
.asec-overlay {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.asec-overlay .asec-img-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 65%;
  height: 100%;
}

.asec-overlay .asec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
}

.asec-overlay .asec-card {
  position: relative;
  z-index: 1;
  width: 48%;
  min-width: 280px;
  background: var(--bg);
  border: 1px solid rgba(200,168,112,0.25);
  padding: 56px 48px;
  margin: 60px 0 60px 48px;
}

/* ── Card overlay RIGHT (image left, card right) ─────── */
.asec-overlay-right {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.asec-overlay-right .asec-img-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
}
.asec-overlay-right .asec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
}
.asec-overlay-right .asec-card {
  position: relative;
  z-index: 1;
  width: 48%;
  min-width: 280px;
  background: var(--bg);
  border: 1px solid rgba(200,168,112,0.25);
  padding: 56px 48px;
  margin: 60px 48px 60px auto;
}

/* ── Cinematic (full-bleed image, title on image) ───── */
.asec-cinematic {
  position: relative;
}
.asec-cinematic .asec-img-wrap {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 380px;
  overflow: hidden;
}
.asec-cinematic .asec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
  transition: transform 0.8s ease;
}
.asec-cinematic:hover .asec-img { transform: scale(1.03); }
.asec-cinematic .asec-cin-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 80px 56px 40px;
  background: linear-gradient(to top, rgba(6,6,6,0.9) 0%, transparent 100%);
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  font-style: normal;
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.asec-cinematic .asec-cin-inner {
  display: inline-block;
}
.asec-cinematic .asec-cin-inner::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--accent);
  margin-top: 12px;
}
.asec-cinematic .asec-cin-body {
  padding: 40px 56px 56px;
  max-width: 780px;
}
.asec-cinematic .asec-body {
  font-size: 15px;
}

/* ── Banner (letterbox strip + text below) ──────────── */
.asec-banner {
  display: flex;
  flex-direction: column;
}
.asec-banner .asec-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}
.asec-banner .asec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
  transition: transform 1s ease;
}
.asec-banner:hover .asec-img { transform: scale(1.04) translateY(-2%); }
.asec-banner .asec-banner-text {
  display: grid;
  grid-template-columns: 6px 1fr;
  gap: 32px;
  padding: 44px 56px;
  max-width: 900px;
}
.asec-banner .asec-banner-bar {
  background: linear-gradient(to bottom, var(--accent), transparent 85%);
  align-self: stretch;
  min-height: 80px;
}
.asec-banner .asec-text {
  padding: 0;
}

/* ── Responsive for new layouts ─────────────────────── */
@media (max-width: 768px) {
  .asec-side          { grid-template-columns: 1fr; }
  .asec-side .asec-img-wrap { height: 280px; max-height: 280px; }
  .asec-side .asec-text { padding: 36px 18px; }
  .asec-text-only     { padding: 36px 18px; }
  .asec-full .asec-text { padding: 36px 18px; }
  .about-body         { grid-template-columns: 3px 1fr; column-gap: 24px; padding: 48px 18px 56px; }
  .about-text         { font-size: 15px; }
  .asec-overlay       { min-height: 0; display: flex; flex-direction: column; }
  .asec-overlay .asec-img-wrap { position: relative; width: 100%; height: 220px; order: 1; }
  .asec-overlay .asec-card { width: 100%; margin: 0; border-top: none; order: -1; padding: 28px 20px 24px; }

  .asec-overlay-right { min-height: 0; display: flex; flex-direction: column; }
  .asec-overlay-right .asec-img-wrap { position: relative; width: 100%; height: 220px; order: 1; }
  .asec-overlay-right .asec-card { width: 100%; margin: 0; border-top: none; order: -1; padding: 28px 20px 24px; }

  .asec-cinematic .asec-img-wrap { height: 44vh; min-height: 260px; }
  .asec-cinematic .asec-cin-title { font-size: clamp(20px, 6vw, 32px); padding: 60px 20px 28px; }
  .asec-cinematic .asec-cin-body { padding: 28px 20px 40px; }

  .asec-banner .asec-img-wrap { height: 160px; }
  .asec-banner .asec-banner-text { padding: 28px 20px; gap: 18px; }
}

/* ── CONTACT PAGE ──────────────────────────────────────── */
.contact-page { padding: calc(var(--nav-h) + 48px) 0 0; }
.contact-header {
  padding: 0 32px 40px;
  border-bottom: 1px solid var(--border);
}
.contact-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 600;
  font-style: normal;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.contact-info-col {
  padding: 40px 32px;
  border-bottom: 1px solid var(--border);
}
.contact-info-item {
  margin-bottom: 32px;
}
.contact-info-item h3 {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-info-item p,
.contact-info-item a {
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  display: block;
  line-height: 1.7;
  transition: color 0.2s;
}
.contact-info-item a:hover { color: var(--accent); }

.contact-form-col { padding: 40px 32px 56px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-field {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  transition: border-color 0.2s;
}
.form-field:focus-within { border-bottom-color: var(--accent); }
.form-field label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.form-field:focus-within label { color: var(--accent); }
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: none;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  outline: none;
  text-transform: uppercase;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field textarea { min-height: 80px; resize: none; }
.form-field select { -webkit-appearance: none; color: var(--muted); }
.form-field select.has-val { color: var(--fg); }
.form-field select option { background: #111; }

.btn-send {
  margin-top: 32px;
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--fg);
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 40px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-send:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

/* ── LOCATION PAGE ─────────────────────────────────────── */
.location-page { padding: calc(var(--nav-h) + 56px) 32px 64px; }
.location-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  font-style: normal;
  margin-bottom: 12px;
}
.location-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.location-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  margin-bottom: 32px;
  filter: brightness(0.88);
}

.map-frame {
  width: 100%;
  height: 300px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
}
.map-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.location-details { display: flex; flex-direction: column; gap: 24px; }
.loc-row h3 {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.loc-row p {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.7;
  white-space: pre-line;
}

/* ── FOOTER ────────────────────────────────────────────── */
/* ── RICH FOOTER ───────────────────────────────────────── */
.site-footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 64px 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--border);
}

.footer-brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 18px;
}

.footer-brand-svg { width: 50px; margin-bottom: 22px; }

.footer-desc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 230px;
}

.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent);
  margin-bottom: 20px;
}

.footer-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-services li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--muted);
  transition: color 0.2s;
  cursor: default;
}

.footer-services li::before {
  content: '»';
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
}

.footer-services li:hover { color: var(--fg); }

.footer-services li a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.65;
}

.footer-contact-item svg { color: var(--accent); margin-top: 1px; flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(240,236,228,0.28);
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--accent); }

.footer-admin-link {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(240,236,228,0.2);
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-admin-link:hover { color: var(--accent); }

/* ── LIGHTBOX ──────────────────────────────────────────── */
#lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(4,4,4,0.97);
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#lightbox.open {
  opacity: 1;
  visibility: visible;
}
#lb-img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#lightbox.open #lb-img {
  transform: scale(1);
}
.lb-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 28px;
  cursor: pointer;
  color: var(--fg);
  opacity: 0.6;
  transition: opacity 0.2s;
  line-height: 1;
  background: none;
  border: none;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 32px;
  cursor: pointer;
  color: var(--fg);
  opacity: 0.4;
  padding: 24px 20px;
  user-select: none;
  transition: opacity 0.2s;
  background: none;
  border: none;
}
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-count {
  position: absolute;
  bottom: 20px;
  left: 50%; transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── TOAST ─────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--fg);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 12px 28px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ────────────────────────────────────────── */

/* ── Mobile first: single column everything ── */
.projects-grid            { grid-template-columns: 1fr; }
.detail-meta              { grid-template-columns: repeat(2, 1fr); }
.contact-grid             { grid-template-columns: 1fr; }
.location-details         { flex-direction: column; gap: 28px; }

/* Mobile-specific overrides */
@media (max-width: 599px) {
  :root {
    --nav-h: 56px;
    --gap: 2px;
  }

  /* Nav */
  .nav-links  { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero { height: 100svh; min-height: 520px; }
  .hero-title { font-size: clamp(48px, 14vw, 72px); }
  .hero-logo-large svg { width: 72px; height: 78px; margin-bottom: 24px; }
  .hero-logo-large img { max-height: 72px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 40px; }

  /* Section header */
  .section-header { padding: 36px 18px 20px; }

  /* Project grid — 1 card full width on phone */
  .projects-grid { grid-template-columns: 1fr; gap: var(--gap); }
  .project-card  { aspect-ratio: 1 / 1; }

  /* Always show card info on mobile (no hover) */
  .card-overlay  { opacity: 1; }

  /* Projects page controls */
  .projects-controls { padding: 20px 18px 0; }
  .cat-btn           { padding: 12px 14px 12px 0; font-size: 10px; }

  /* Project detail */
  .detail-hero           { height: 55vh; min-height: 320px; }
  .detail-hero-overlay   { padding: 24px 18px; }
  .detail-name           { font-size: clamp(26px, 8vw, 44px); }
  .detail-body           { padding: 32px 18px; }
  .detail-description    { font-size: 16px; padding-left: 16px; }
  .detail-meta           { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .meta-item span        { font-size: 12px; }
  .gallery-label         { padding: 0 18px; }
  .detail-gallery        { grid-template-columns: 1fr; }
  .detail-gallery img:first-child { aspect-ratio: 4/3; }

  /* Back btn */
  .back-btn { top: calc(var(--nav-h) + 10px); left: 16px; }

  /* About */
  .about-hero      { height: 44vh; }
  .about-hero-text { font-size: clamp(36px, 11vw, 54px); left: 18px; bottom: 24px; }
  .about-body      { padding: 36px 18px; }
  .about-text      { font-size: 15px; }

  /* Contact */
  .contact-page          { padding: calc(var(--nav-h) + 32px) 0 0; }
  .contact-header        { padding: 0 18px 28px; }
  .contact-header h1     { font-size: clamp(34px, 10vw, 52px); }
  .contact-info-col      { padding: 28px 18px; }
  .contact-form-col      { padding: 28px 18px 48px; }
  .btn-send              { width: 100%; text-align: center; padding: 16px; }

  /* Location */
  .location-page    { padding: calc(var(--nav-h) + 36px) 18px 48px; }
  .location-page h1 { font-size: clamp(32px, 10vw, 52px); }
  .map-frame        { height: 240px; }

  /* Footer */
  .site-footer       { padding: 48px 18px 0; }
  .footer-grid       { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; }

  /* Services tags */
  .services-tags     { gap: 6px; }
  .service-tag       { font-size: 8px; padding: 5px 10px; }

  /* No results */
  .no-results { padding: 48px 18px; }
}

/* ── Tablet: 2 columns ── */
@media (min-width: 600px) and (max-width: 899px) {
  .projects-grid    { grid-template-columns: repeat(2, 1fr); }
  .detail-meta      { grid-template-columns: repeat(3, 1fr); }
  .contact-grid     { grid-template-columns: 1fr 1fr; }
  .location-details { flex-direction: row; flex-wrap: wrap; gap: 40px; }
  .loc-row          { min-width: 180px; }
}

/* ── Desktop: 3–4 columns ── */
@media (min-width: 900px) {
  .projects-grid  { grid-template-columns: repeat(3, 1fr); }
  .detail-meta    { grid-template-columns: repeat(5, 1fr); }
  .contact-grid   { grid-template-columns: 4fr 6fr; }
  .location-details { flex-direction: row; flex-wrap: wrap; gap: 48px; }
  .loc-row        { min-width: 180px; }

  /* Desktop: card overlay only on hover */
  .card-overlay   { opacity: 0; }
  .project-card:hover .card-overlay { opacity: 1; }
}

@media (min-width: 1200px) {
  .projects-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Scroll reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Custom cursor (hover devices only) ────────────────── */
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  transition: transform 0.1s;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200, 168, 112, 0.45);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
.cursor-ring.hovering {
  width: 54px;
  height: 54px;
  border-color: var(--accent);
}
body.custom-cursor,
body.custom-cursor * { cursor: none !important; }

/* ── Gallery image hover ───────────────────────────────── */
.detail-gallery {
  overflow: hidden;
}
.detail-gallery img {
  transition: filter 0.4s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.detail-gallery img:hover {
  filter: brightness(1);
  transform: scale(1.025);
}

/* ── FLOATING ACTION BUTTON ────────────────────────────── */
.fab-root {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 900;
}

/* Main trigger button — gold pill */
.fab-main {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border: none;
  color: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 28px;
  box-shadow: 0 4px 20px rgba(200,168,112,0.35);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  flex-shrink: 0;
}

.fab-main:hover {
  background: #b8924e;
  box-shadow: 0 6px 28px rgba(200,168,112,0.5);
  transform: scale(1.06);
}

.fab-icon-plus,
.fab-icon-close {
  position: absolute;
  transition: opacity 0.2s, transform 0.3s;
}

.fab-icon-close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.7);
}

.fab-root.fab-open .fab-icon-plus {
  opacity: 0;
  transform: rotate(45deg) scale(0.7);
}

.fab-root.fab-open .fab-icon-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Stack of child pills */
.fab-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.fab-root.fab-open .fab-stack {
  pointer-events: auto;
}

/* Pill-shaped child buttons */
.fab-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px 0 14px;
  height: 42px;
  background: rgba(10,10,10,0.92);
  border: 1px solid rgba(200,168,112,0.4);
  border-radius: 21px;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px) scale(0.94);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s, border-color 0.2s, color 0.2s;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.fab-pill svg { flex-shrink: 0; color: var(--accent); }

.fab-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.fab-pill:hover svg { color: var(--bg); }

.fab-root.fab-open .fab-pill {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.fab-root.fab-open .fab-pill:nth-child(1) { transition-delay: 0.12s; }
.fab-root.fab-open .fab-pill:nth-child(2) { transition-delay: 0.09s; }
.fab-root.fab-open .fab-pill:nth-child(3) { transition-delay: 0.06s; }
.fab-root.fab-open .fab-pill:nth-child(4) { transition-delay: 0.03s; }

@media (max-width: 599px) {
  .fab-root { bottom: 20px; right: 18px; }
  .fab-main { width: 50px; height: 50px; border-radius: 25px; }
  .fab-pill { height: 38px; font-size: 10px; padding: 0 14px 0 11px; }
}