/* ==========================================
   ADVENSA Consulting – refreshed layout (Getflowly, 23.10.2026)
   Same colour schemes and texts as advensa-consulting.com, new layout. Typography (Rodion, 23.10.2026): Clash Display for headings
   and the wordmark, Satoshi for text, labels and buttons (both Fontshare, ITF Free Font License: self-hosting for our own website allowed,
   files unmodified, licence texts FFL-ClashDisplay.txt / FFL-Satoshi.txt next to the font files). Neither has Cyrillic glyphs, so Russian falls back to Geist (SIL OFL, cyrillic subset only).
   ========================================== */

/* ---------- Fonts ---------- */
@font-face { font-display: swap; font-family: 'Clash Display'; font-style: normal; font-weight: 200 700; src: url('assets/fonts/ClashDisplay-Variable.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Satoshi'; font-style: normal; font-weight: 300 900; src: url('assets/fonts/Satoshi-Variable.woff2') format('woff2'); }
@font-face { font-display: swap; font-family: 'Geist'; font-style: normal; font-weight: 100 900; src: url('assets/fonts/geist-cyrillic-wght.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- Tokens ---------- */
:root {
  --gold: #C7A76C;
  --gold-light: #D1B88A;
  --gold-dark: #A68B4B;
  --font-heading: 'Clash Display', 'Geist', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Satoshi', 'Geist', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-accent: 'Satoshi', 'Geist', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-wordmark: 'Clash Display', 'Geist', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 80px;
  --radius: 24px;
  --on-dark: #F8F9FA;
}

/* ---------- Colour schemes (unchanged from the live site; content.json selects scheme 2) ---------- */
[data-theme="light"][data-scheme="1"] {
  --bg-primary: #FDFCFA; --bg-secondary: #F5F3EF; --bg-tertiary: #EDE9E3; --bg-dark: #1A1918;
  --text-primary: #1A1918; --text-secondary: #4A4744; --text-muted: #7A756F;
  --accent: #C7A76C; --accent-hover: #D1B88A; --border: rgba(26, 25, 24, 0.1); --shadow: rgba(26, 25, 24, 0.08);
  --header-bg: rgba(253, 252, 250, 0.95); --card-bg: #FFFFFF;
}
[data-theme="light"][data-scheme="2"] {
  --bg-primary: #FFFFFF; --bg-secondary: #F8F9FA; --bg-tertiary: #E9ECEF; --bg-dark: #212529;
  --text-primary: #212529; --text-secondary: #495057; --text-muted: #6C757D;
  --accent: #B8860B; --accent-hover: #DAA520; --border: rgba(0, 0, 0, 0.08); --shadow: rgba(0, 0, 0, 0.06);
  --header-bg: rgba(255, 255, 255, 0.98); --card-bg: #FFFFFF;
}
[data-theme="dark"][data-scheme="1"] {
  --bg-primary: #0D0D0D; --bg-secondary: #1A1918; --bg-tertiary: #252423; --bg-dark: #000000;
  --text-primary: #F5F3EF; --text-secondary: #C9C5BF; --text-muted: #8A857F;
  --accent: #D4AF37; --accent-hover: #E8C54A; --border: rgba(255, 255, 255, 0.08); --shadow: rgba(0, 0, 0, 0.3);
  --header-bg: rgba(13, 13, 13, 0.95); --card-bg: #1A1918;
}
[data-theme="dark"][data-scheme="2"] {
  --bg-primary: #0A0E14; --bg-secondary: #111827; --bg-tertiary: #1F2937; --bg-dark: #000000;
  --text-primary: #F9FAFB; --text-secondary: #D1D5DB; --text-muted: #9CA3AF;
  --accent: #F59E0B; --accent-hover: #FBBF24; --border: rgba(255, 255, 255, 0.1); --shadow: rgba(0, 0, 0, 0.4);
  --header-bg: rgba(10, 14, 20, 0.95); --card-bg: #111827;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 17.5px; font-weight: 400; line-height: 1.65; color: var(--text-primary); background: var(--bg-primary); overflow-x: clip; transition: background-color .4s ease, color .4s ease; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--gold-light); color: #212529; }
.container { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 11vw, 150px); }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; color: var(--text-primary); letter-spacing: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.1; }
h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.25; letter-spacing: 0; }
p { color: var(--text-secondary); text-wrap: pretty; }

/* Language visibility (unchanged logic) */
.lang-de, .lang-en, .lang-ru { display: none; }
[data-lang="de"] .lang-de { display: inline; }
[data-lang="en"] .lang-en { display: inline; }
[data-lang="ru"] .lang-ru { display: inline; }
h2.lang-de, h2.lang-en, h2.lang-ru, h3.lang-de, h3.lang-en, h3.lang-ru,
p.lang-de, p.lang-en, p.lang-ru, div.lang-de, div.lang-en, div.lang-ru { display: none; }
[data-lang="de"] h2.lang-de, [data-lang="de"] h3.lang-de, [data-lang="de"] p.lang-de, [data-lang="de"] div.lang-de { display: block; }
[data-lang="en"] h2.lang-en, [data-lang="en"] h3.lang-en, [data-lang="en"] p.lang-en, [data-lang="en"] div.lang-en { display: block; }
[data-lang="ru"] h2.lang-ru, [data-lang="ru"] h3.lang-ru, [data-lang="ru"] p.lang-ru, [data-lang="ru"] div.lang-ru { display: block; }

/* Labels */
.accent-text, .section-label { font-family: var(--font-accent); font-size: 11.5px; font-weight: 700; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-label::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .45; }
.section-index { font-weight: 500; letter-spacing: .1em; color: var(--text-muted); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease; }
.header.scrolled { background: var(--header-bg); border-bottom-color: var(--border); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.header-inner { width: min(100% - 2 * var(--gutter), var(--wrap)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-icon { width: 38px; height: 38px; }
.logo-text { font-family: var(--font-wordmark); font-size: 19px; font-weight: 600; letter-spacing: .1em; color: var(--text-primary); }
.logo-text span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 40px; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; display: inline-block; padding: 6px 0; font-family: var(--font-accent); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--text-secondary); transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: scaleX(1); }
.header-controls { display: flex; align-items: center; gap: 12px; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--text-secondary); transition: color .2s ease, border-color .2s ease; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 17px; height: 17px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
.lang-switcher { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; }
.lang-btn { min-width: 38px; padding: 7px 10px; border-radius: 999px; font-family: var(--font-accent); font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--text-muted); transition: background-color .2s ease, color .2s ease; }
.lang-btn:hover { color: var(--text-primary); }
.lang-btn.active { background: var(--accent); color: #fff; }
[data-theme="dark"] .lang-btn.active { color: var(--bg-primary); }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--text-primary); }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }

/* Mobile navigation */
/* above the Getflowly showcase bar (z-index 1500), otherwise it covers the language/theme controls at the bottom */
.mobile-nav-overlay { position: fixed; inset: 0; z-index: 1600; display: flex; flex-direction: column; padding: calc(var(--header-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--bg-primary); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-close { position: absolute; top: 12px; right: var(--gutter); width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; font-size: 30px; line-height: 1; color: var(--text-primary); }
.mobile-nav { display: flex; flex: 1; flex-direction: column; }
.mobile-nav-menu { border-top: 1px solid var(--border); }
.mobile-nav-menu li { border-bottom: 1px solid var(--border); }
.mobile-nav-link { display: block; padding: 16px 0; font-family: var(--font-heading); font-size: 30px; font-weight: 500; letter-spacing: 0; line-height: 1.15; color: var(--text-primary); }
.mobile-controls { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: min(100svh, 940px); padding: calc(var(--header-h) + 48px) 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(40px, 6vw, 96px); }
.hero-tagline { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.hero-tagline::before { content: ""; width: 40px; height: 1px; background: currentColor; }
/* Clash Display is wide: “Unsere Strategie.” must stay on one line next to the mark (≈ 8.1 em) */
.hero-title { margin-bottom: 30px; font-size: clamp(44px, 5.2vw, 76px); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }
.hero-title-line { display: block; }
.gold-line { font-weight: 300; color: var(--accent); }
.hero-description { max-width: 34em; margin-bottom: 42px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 32px; border-radius: 999px; font-family: var(--font-accent); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background-color .25s ease, transform .25s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
[data-theme="dark"] .btn-primary { color: var(--bg-primary); }
.hero-more { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-accent); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); transition: color .2s ease; }
.hero-more:hover { color: var(--text-primary); }
.hero-more-line { position: relative; width: 1px; height: 28px; overflow: hidden; background: var(--border); }
.hero-more-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: scroll-cue 2.6s ease-in-out infinite; }
@keyframes scroll-cue { 0% { top: -40%; } 60%, 100% { top: 100%; } }
.hero-visual { position: relative; display: grid; place-items: center; width: min(100%, 520px); aspect-ratio: 1; margin-left: auto; }
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-rings circle { fill: none; stroke: var(--gold); vector-effect: non-scaling-stroke; }
.ring-1 { stroke-width: 1.2; vector-effect: none; }
.ring-2 { stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0 7; opacity: .75; }
.ring-3 { stroke-width: 1; opacity: .4; }
.hero-mark { position: relative; width: 58%; }
.js .ring-1 { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring-draw 2.2s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.js .ring-2, .js .ring-3 { opacity: 0; animation: ring-in 1.4s ease .9s forwards; }
.js .hero-mark { opacity: 0; transform: translateY(14px); animation: mark-in 1s cubic-bezier(.2, .7, .2, 1) .7s forwards; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes ring-in { to { opacity: var(--o, .6); } }
.js .ring-2 { --o: .75; }
.js .ring-3 { --o: .4; }
@keyframes mark-in { to { opacity: 1; transform: none; } }

/* ---------- About ---------- */
.about { background: var(--bg-secondary); }
.about-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(48px, 7vw, 112px); }
.about-visual { position: relative; width: 100%; max-width: 440px; }
.about-image-wrapper { position: relative; z-index: 1; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-tertiary); }
.about-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .9s ease, transform 1.4s ease; }
.about-visual:hover .about-image { filter: grayscale(0); transform: scale(1.02); }
.about-decoration { position: absolute; inset: 22px -22px -22px 22px; z-index: 0; border: 1px solid var(--gold); border-radius: var(--radius); }
.about-content h2 { margin-bottom: 30px; }
.about-text p { max-width: 62ch; margin-bottom: 18px; font-size: clamp(16px, 1.15vw, 17.5px); }
.about-signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.signature-name { font-family: var(--font-heading); font-size: 24px; font-weight: 500; letter-spacing: 0; line-height: 1.2; color: var(--accent); }
.signature-title { font-family: var(--font-accent); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Approach (dark band) ---------- */
.services { background: var(--bg-dark); color: var(--on-dark); }
[data-theme="dark"] .services { background: var(--bg-secondary); border-block: 1px solid var(--border); }
.services h2, .services h3 { color: var(--on-dark); }
.services .section-index { color: rgba(248, 249, 250, .5); }
.services-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 26px clamp(40px, 6vw, 96px); margin-bottom: clamp(52px, 6vw, 84px); }
.services-head .section-label { grid-column: 1 / -1; margin-bottom: 0; }
.services-subtitle { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: rgba(248, 249, 250, .76); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(248, 249, 250, .16); }
.pillar { position: relative; padding: 42px clamp(22px, 3vw, 44px) 6px; border-left: 1px solid rgba(248, 249, 250, .12); }
.pillar:first-child { padding-left: 0; border-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .7s ease; }
.pillar:hover::before { width: 100%; }
.pillar-number { display: block; margin-bottom: 26px; font-family: var(--font-heading); font-size: clamp(46px, 4.4vw, 64px); font-weight: 300; letter-spacing: 0; line-height: 1; color: var(--accent); }
.pillar-title { margin-bottom: 10px; }
.pillar-subtitle { margin-bottom: 18px; font-family: var(--font-accent); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pillar-text { font-size: 16px; color: rgba(248, 249, 250, .74); }

/* ---------- Contact ---------- */
.contact { background: var(--bg-primary); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: clamp(48px, 7vw, 112px); }
.contact-content h2 { margin-bottom: 24px; }
.contact-text { max-width: 46ch; margin-bottom: 40px; font-size: clamp(16px, 1.2vw, 18px); }
.contact-details { border-top: 1px solid var(--border); }
.contact-item { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; }
.contact-icon svg { width: 19px; height: 19px; fill: var(--accent); }
.contact-item-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-label { font-family: var(--font-accent); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }
.contact-value { font-family: var(--font-body); font-size: 16.5px; font-weight: 500; line-height: 1.4; color: var(--text-primary); overflow-wrap: anywhere; }
.contact-value a { transition: color .2s ease; }
.contact-value a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 28px; }
.social-link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; transition: border-color .2s ease; }
.social-link svg { width: 17px; height: 17px; fill: var(--text-secondary); transition: fill .2s ease; }
.social-link:hover { border-color: var(--accent); }
.social-link:hover svg { fill: var(--accent); }
.contact-card { padding: clamp(28px, 4vw, 48px); background: var(--card-bg); border: 1px solid var(--border); border-radius: 28px; box-shadow: 0 40px 80px -48px var(--shadow); }
.contact-card-title { margin-bottom: 26px; font-size: 26px; }
.contact-form { display: grid; gap: 14px; }
.form-input { width: 100%; padding: 15px 18px; font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--text-primary); background: var(--bg-primary); border: 1px solid var(--border); border-radius: 14px; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease; }
.form-input::placeholder { color: var(--text-muted); opacity: 1; }
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(199, 167, 108, .22); }
textarea.form-input { min-height: 140px; resize: vertical; }
.btn-gold { position: relative; height: 56px; margin-top: 6px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-accent); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transition: background-color .25s ease; }
.btn-gold:hover { background: var(--accent-hover); }
[data-theme="dark"] .btn-gold { color: var(--bg-primary); }
.btn-gold:disabled { opacity: .7; cursor: default; }
.btn-loader { display: none; }
.btn-gold.loading .btn-loader { display: inline-block; width: 15px; height: 15px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.sending { color: var(--text-secondary); }
.form-status.success { color: #2F855A; }
.form-status.error { color: #C53030; }
.qr-section { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.qr-title { max-width: 22ch; font-family: var(--font-accent); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.qr-code { flex: 0 0 auto; width: 124px; padding: 8px; background: #FFFFFF; border: 1px solid var(--border); border-radius: 14px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg-secondary); }
.gallery h2 { margin-bottom: clamp(36px, 5vw, 60px); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.gallery-slide { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--bg-dark); }
[data-theme="dark"] .gallery-slide { background: var(--bg-tertiary); }
.gallery-slide img { width: 76%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform .9s ease; }
.gallery-slide:hover img { transform: scale(1.04); }

/* ---------- Impressum ---------- */
.impressum { padding-block: clamp(64px, 8vw, 96px); background: var(--bg-primary); border-top: 1px solid var(--border); }
.impressum h2 { margin-bottom: 18px; font-size: clamp(26px, 2.6vw, 34px); }
.impressum-content { max-width: 760px; }
.impressum-content p { margin-bottom: 10px; font-size: 15.5px; }
.impressum-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--bg-dark); color: rgba(248, 249, 250, .7); }
[data-theme="dark"] .footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-wordmark); font-size: 17px; font-weight: 600; letter-spacing: .1em; color: var(--on-dark); }
.footer-logo-icon { width: 32px; height: 32px; }
.footer-logo span span { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-link { font-family: var(--font-accent); font-size: 13px; font-weight: 500; letter-spacing: 0; color: rgba(248, 249, 250, .72); transition: color .2s ease; }
.footer-link:hover { color: var(--accent); }
.footer-copyright { font-family: var(--font-accent); font-size: 12px; color: rgba(248, 249, 250, .5); }

/* ---------- Reveal on scroll (content stays visible without JS) ---------- */
.js .fade-in, .js .fade-in-left, .js .fade-in-right { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .fade-in-left { transform: translateX(-26px); }
.js .fade-in-right { transform: translateX(26px); }
.js .fade-in.visible, .js .fade-in-left.visible, .js .fade-in-right.visible { opacity: 1; transform: none; }
.js .animate-fade-up, .js .animate-slide-up { opacity: 0; animation: fade-up 1s cubic-bezier(.2, .7, .2, 1) var(--delay, 0s) forwards; }
.js .animate-slide-up { animation-name: slide-up; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(36%); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav { gap: 26px; }
  .nav-menu { gap: 22px; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .nav-menu, .header-controls { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 0; padding: calc(var(--header-h) + 44px) 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: min(70%, 340px); margin: 10px auto 0; }
  .about-inner, .contact-inner, .services-head { grid-template-columns: minmax(0, 1fr); }
  .about-visual { width: calc(100% - 22px); max-width: 380px; }
  .pillars { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .pillar, .pillar:first-child, .pillar:last-child { padding: 34px 0; border-left: 0; border-top: 1px solid rgba(248, 249, 250, .16); }
  .pillar-number { margin-bottom: 18px; }
  .gallery-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 72%); margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-slide { scroll-snap-align: start; }
  .footer { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .hero-title { font-size: clamp(36px, 10.6vw, 52px); }
  h2 { font-size: clamp(30px, 8.6vw, 42px); }
  h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .hero-actions .btn { width: 100%; }
  .contact-card { border-radius: 22px; }
  .qr-section { flex-direction: column; align-items: flex-start; }
  .mobile-nav-link { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .fade-in, .js .fade-in-left, .js .fade-in-right { opacity: 1; transform: none; }
}
