/*
Theme Name: Realtix
Theme URI: https://realtix.uk/
Author: PROIEXIA
Author URI: https://proiexia.it/
Description: One-page marketing theme for Realtix — interactive property presentations. Dark, modern, no external requests: no web fonts, no CDN, no tracking. The whole page reads in 33 languages, picked from a flag menu in the header. Sections, contact form and video embed are built in; the video URL, links and contact address are set in the Customizer.
Version: 1.3.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: realtix
Tags: one-column, custom-colors, custom-logo, translation-ready, full-width-template
*/

/* ------------------------------------------------------------------ *
   Tokens
 * ------------------------------------------------------------------ */
:root {
  --bg: #070b16;
  --bg-2: #0a0f1e;
  --bg-3: #0d1426;
  --ink: #eef1f8;
  --ink-2: #c3cbdd;
  --muted: #8d99b5;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.06);
  --panel: rgba(255, 255, 255, 0.035);
  --violet: #8b5cf6;
  --pink: #ec4899;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shell: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------ *
   Base
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #c4b5fd; text-decoration: none; }
a:hover { color: #ddd6fe; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.14rem; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }

code {
  font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: #e9d5ff;
}

::selection { background: rgba(139, 92, 246, 0.35); color: #fff; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: #fff; color: #0b1020; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------------------------------ *
   Buttons
 * ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05); color: var(--ink);
  font-size: 0.95rem; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); color: var(--ink); transform: translateY(-1px); }
.btn-primary {
  background: var(--grad); border: none; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.65);
}
.btn-primary:hover { filter: brightness(1.07); color: #fff; box-shadow: 0 14px 36px -8px rgba(236, 72, 153, 0.6); }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* ------------------------------------------------------------------ *
   Header
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line-2); background: rgba(7, 11, 22, 0.9); }
.hdr { display: flex; align-items: center; gap: 22px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { display: block; }
.brand-name { font-size: 1.06rem; }
.brand-name b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { flex: 0 0 auto; }
.custom-logo { max-height: 46px; width: auto; flex: 0 0 auto; }
.site-footer .custom-logo { max-height: 40px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.hdr > .lang { margin-left: 12px; }
.nav a {
  padding: 9px 13px; border-radius: 9px; color: var(--ink-2);
  font-size: 0.93rem; font-weight: 500; transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.nav .btn { margin-left: 8px; padding: 10px 20px; font-size: 0.9rem; }

/* ---- Language picker ---- */
.lang { position: relative; flex: 0 0 auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 0.9rem; font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.lang-flag { width: 20px; height: 20px; border-radius: 50%; display: block; flex: 0 0 auto; }
.lang-name { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-caret { font-size: 0.7rem; color: var(--muted); transition: transform 0.18s ease; }
.lang.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 80;
  width: 232px; max-height: min(70vh, 460px); overflow-y: auto; padding: 7px;
  background: rgba(11, 16, 32, 0.98); border: 1px solid var(--line); border-radius: 15px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.92);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.lang-menu::-webkit-scrollbar { width: 9px; }
.lang-menu::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.16); border-radius: 9px; border: 3px solid transparent; background-clip: content-box; }
.lang-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 9px 11px; border: 0; border-radius: 10px; cursor: pointer;
  background: none; color: var(--ink-2); font: inherit; font-size: 0.92rem; text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
}
.lang-item:hover { background: rgba(255, 255, 255, 0.07); color: var(--ink); }
.lang-item img { width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto; }
.lang-item[aria-current="true"] { background: rgba(139, 92, 246, 0.16); color: #fff; font-weight: 600; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; padding: 0;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 11px;
  color: var(--ink); cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: currentColor; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ------------------------------------------------------------------ *
   Section rhythm
 * ------------------------------------------------------------------ */
.sec { padding: clamp(72px, 9vw, 118px) 0; position: relative; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line-2); }
.sec-head { max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #c4b5fd;
}
.lede { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); margin: 0; text-wrap: pretty; }

/* ------------------------------------------------------------------ *
   Hero
 * ------------------------------------------------------------------ */
.hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: 0; top: -280px; left: 50%; width: 1100px; height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.32), transparent 72%);
  filter: blur(28px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; z-index: 0; right: -220px; bottom: -320px; width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.20), transparent 70%);
  filter: blur(24px); pointer-events: none;
}
.hero .shell { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.04rem, 1.7vw, 1.22rem); color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.88rem; color: var(--muted); }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes svg { flex: 0 0 auto; color: #a78bfa; }

.hero-media { position: relative; }
.hero-media img {
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

/* ---- The hero pictures, one fading into the next ---- */
.hero-slides { position: relative; aspect-ratio: 1600 / 950; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.015);
  transition: opacity 0.9s ease, transform 6s ease-out;
  pointer-events: none;
}
.hero-slide.is-on { opacity: 1; transform: scale(1); pointer-events: auto; }

.hero-dots {
  position: absolute; z-index: 2; right: 14px; top: 14px;
  display: flex; gap: 7px; padding: 7px 9px; border-radius: 999px;
  background: rgba(7, 11, 22, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-dot {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, 0.35); transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero-dot.is-on { background: #fff; transform: scale(1.25); }
.hero-badge {
  position: absolute; left: -14px; bottom: -18px;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(11, 16, 32, 0.94); border: 1px solid var(--line);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.9);
}
.hero-badge b { display: block; color: var(--ink); font-size: 0.92rem; }
.hero-badge small { color: var(--muted); font-size: 0.78rem; }
.hero-badge .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex: 0 0 auto; }

/* Logo strip / claim under hero */
.claims { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg-2); }
.claims-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 26px 0; }
.claim { text-align: center; }
.claim b { display: block; color: var(--ink); font-size: 1.5rem; letter-spacing: -0.02em; }
.claim span { font-size: 0.84rem; color: var(--muted); }

/* ------------------------------------------------------------------ *
   Steps
 * ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  counter-increment: step; position: relative; padding: 30px 26px 28px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
}
.step::before {
  content: counter(step); position: absolute; top: -16px; left: 26px;
  width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.8);
}
.step h3 { margin-top: 8px; }
.step p { margin: 0; font-size: 0.97rem; color: var(--muted); }

/* ------------------------------------------------------------------ *
   Features
 * ------------------------------------------------------------------ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.06); }
.feature .ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.3); color: #c4b5fd;
}
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ------------------------------------------------------------------ *
   Split rows (image + text)
 * ------------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 66px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 92px); }
.split.flip .split-media { order: 2; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85); }
.split h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.split p { color: var(--muted); }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 0 30px; margin-bottom: 11px; color: var(--ink-2); font-size: 0.97rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(139, 92, 246, 0.18); border: 1px solid rgba(139, 92, 246, 0.5);
}
.ticks li::after {
  content: ''; position: absolute; left: 5px; top: 12px; width: 6px; height: 3px;
  border-left: 2px solid #c4b5fd; border-bottom: 2px solid #c4b5fd; transform: rotate(-45deg);
}

.cost-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 9px 15px;
  border-radius: 999px; background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35); color: #ddd6fe; font-size: 0.86rem; font-weight: 600;
}

/* ------------------------------------------------------------------ *
   Video
 * ------------------------------------------------------------------ */
.video-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-3);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.9);
}
.video-frame .ratio { position: relative; width: 100%; padding-top: 56.25%; }
.video-frame iframe, .video-frame video, .video-frame .ratio > * {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  text-align: center; padding: 30px;
  background:
    radial-gradient(60% 70% at 50% 40%, rgba(139, 92, 246, 0.18), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    var(--bg-3);
}
.video-placeholder .play {
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad); display: grid; place-items: center;
  color: #fff; box-shadow: 0 16px 40px -12px rgba(139, 92, 246, 0.8);
}
.video-placeholder b { color: var(--ink); font-size: 1.05rem; }
.video-placeholder span { color: var(--muted); font-size: 0.9rem; max-width: 34em; }

/* ------------------------------------------------------------------ *
   Gallery
 * ------------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* Editor screenshots are 1600px of interface: at half width they are unreadable. */
.gallery-stack { grid-template-columns: 1fr; gap: 26px; }
.gallery-stack .shot img { width: 100%; }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.shot img { border-bottom: 1px solid var(--line-2); }
/* Side by side, two shots of different proportions leave the cards ragged. */
.gallery:not(.gallery-stack) .shot img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.shot figcaption { padding: 15px 18px 17px; font-size: 0.9rem; color: var(--muted); }
.shot figcaption b { display: block; color: var(--ink); font-size: 0.97rem; margin-bottom: 3px; }

/* ------------------------------------------------------------------ *
   Docs band
 * ------------------------------------------------------------------ */
.band {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 56px); align-items: center;
  padding: clamp(30px, 4vw, 46px); border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(236, 72, 153, 0.13), transparent 60%),
    var(--bg-3);
}
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
.band p { color: var(--muted); }
.band img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 26px 60px -28px rgba(0, 0, 0, 0.9); }
.band-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* ------------------------------------------------------------------ *
   About
 * ------------------------------------------------------------------ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85); }
.about p { color: var(--muted); }
.about .quote {
  margin: 24px 0 0; padding: 20px 24px; border-left: 3px solid transparent;
  border-image: var(--grad) 1; background: rgba(255, 255, 255, 0.03);
  color: var(--ink); font-size: 1.02rem;
}

/* ------------------------------------------------------------------ *
   Contact
 * ------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.form-card {
  padding: clamp(24px, 3.4vw, 38px); border-radius: 22px;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; letter-spacing: 0.02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; font: inherit; font-size: 0.97rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6c7793; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(139, 92, 246, 0.7); background: rgba(139, 92, 246, 0.07);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 4px 0 20px; }
/* The browser's own checkbox is a white block on a dark card. */
.consent input {
  appearance: none; -webkit-appearance: none;
  width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 auto; cursor: pointer;
  border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, 0.06);
  display: grid; place-content: center; transition: background 0.15s ease, border-color 0.15s ease;
}
.consent input::before {
  content: ''; width: 10px; height: 5px; margin-top: -2px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0); transition: transform 0.15s ease;
}
.consent input:checked { background: var(--grad); border-color: transparent; }
.consent input:checked::before { transform: rotate(-45deg) scale(1); }
.consent input:hover { border-color: rgba(139, 92, 246, 0.6); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Cloudflare Turnstile, when the keys are set. Only takes room when there. */
.cf-turnstile { margin: 0 0 18px; min-height: 65px; }
.cf-turnstile:empty { margin: 0; min-height: 0; }

.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; font-size: 0.94rem; }
.notice-ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #bbf7d0; }
.notice-err { background: rgba(236, 72, 153, 0.12); border: 1px solid rgba(236, 72, 153, 0.45); color: #fbcfe8; }

.contact-aside .info { margin-bottom: 26px; }
.contact-aside .info b { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 4px; }
.contact-aside .info a { color: #c4b5fd; }
.contact-aside .info p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 0.93rem; color: var(--muted); }
.aside-list li:first-child { border-top: none; }
.aside-list svg { flex: 0 0 auto; color: #a78bfa; margin-top: 2px; }

/* ------------------------------------------------------------------ *
   Footer
 * ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line-2); background: var(--bg-2); padding: 48px 0 34px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
.foot p { color: var(--muted); font-size: 0.93rem; }
.foot h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 9px; }
.foot a { color: var(--ink-2); font-size: 0.94rem; }
.foot a:hover { color: #fff; }
.foot-bottom {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: 0.86rem; color: var(--muted);
}

/* ------------------------------------------------------------------ *
   Small helpers the templates lean on
 * ------------------------------------------------------------------ */
.shell-narrow { max-width: 820px; }
.center { text-align: center; }
.lede-gap { margin-bottom: 28px; }
.split-h { font-size: 1.3rem; }
.video-note { text-align: center; margin-top: 20px; }
.foot-tagline { margin-top: 14px; max-width: 34em; }
.ticks-loose { margin-top: 26px; }
.gallery-pair { margin-top: clamp(40px, 6vw, 72px); }
.entry { margin-bottom: 48px; }
.entry-title { font-size: 1.5rem; }
.entry-thumb { margin: 22px 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }

/* ------------------------------------------------------------------ *
   Posts on the one-pager
 * ------------------------------------------------------------------ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, 0.45); }
.post-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-blank {
  width: 100%; height: 100%; display: grid; place-items: center; color: #6d5bb0;
  background: radial-gradient(70% 90% at 50% 30%, rgba(139, 92, 246, 0.16), transparent 70%), var(--bg-3);
}
.post-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.post-date { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { margin: 8px 0 8px; font-size: 1.08rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: #ddd6fe; }
.post-card p { margin: 0 0 16px; font-size: 0.94rem; color: var(--muted); }
.post-more { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; font-size: 0.9rem; font-weight: 600; }

/* ------------------------------------------------------------------ *
   A post, and a page, on their own
 * ------------------------------------------------------------------ */
.post-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(20px, 3vw, 30px); position: relative; overflow: hidden; }
.post-hero::before {
  content: ''; position: absolute; z-index: 0; top: -300px; left: 50%; width: 900px; height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.24), transparent 72%);
  filter: blur(30px); pointer-events: none;
}
.post-hero .shell { position: relative; z-index: 1; }
.post-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 12px; }
.post-hero .lede { margin-top: 14px; }

.post-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
}
.post-back:hover { color: var(--ink); }
.post-back svg { transform: rotate(180deg); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.post-meta a { color: #c4b5fd; }
.post-meta .sep { opacity: 0.5; }

.post-figure { margin: clamp(20px, 4vw, 40px) auto clamp(24px, 4vw, 44px); }
.post-figure img {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 40px 90px -34px rgba(0, 0, 0, 0.9);
}

/* ---- The body of a post or page ---- */
.entry-content { padding-bottom: clamp(40px, 6vw, 80px); font-size: 1.04rem; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 20px; text-wrap: pretty; }
.entry-content h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 42px 0 14px; }
.entry-content h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.entry-content h4 { font-size: 1.05rem; margin: 26px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 22px; }
.entry-content li { margin-bottom: 9px; }
.entry-content li::marker { color: #8b5cf6; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content strong { color: var(--ink); }
.entry-content img, .entry-content figure img {
  border-radius: 14px; border: 1px solid var(--line);
}
.entry-content figure { margin: 28px 0; }
.entry-content figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); text-align: center; }
.entry-content blockquote {
  margin: 28px 0; padding: 18px 24px; border-left: 3px solid transparent;
  border-image: var(--grad) 1; background: rgba(255, 255, 255, 0.03); color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content pre {
  margin: 24px 0; padding: 18px 20px; overflow-x: auto; border-radius: 14px;
  background: var(--bg-3); border: 1px solid var(--line); font-size: 0.88rem;
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.94rem; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; }
.entry-content th { color: var(--ink); }
.entry-content hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line-2); }

.post-nav { display: flex; gap: 16px; justify-content: space-between; padding-bottom: clamp(50px, 7vw, 90px); }
.post-nav-item {
  flex: 1 1 0; display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--panel); color: var(--ink-2); font-size: 0.94rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.post-nav-item:hover { border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.06); color: var(--ink); }
.post-nav-next { justify-content: flex-end; text-align: right; }
.post-nav-dir { color: var(--muted); flex: 0 0 auto; }

.empty { text-align: center; padding: 30px 0 60px; }
.empty p { color: var(--muted); margin-bottom: 22px; }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--panel);
  color: var(--ink-2); font-size: 0.92rem; font-weight: 600;
}
.pagination .page-numbers:hover { border-color: rgba(139, 92, 246, 0.45); color: var(--ink); }
.pagination .page-numbers.current { background: var(--grad); border-color: transparent; color: #fff; }

/* ------------------------------------------------------------------ *
   The floating WhatsApp button
 * ------------------------------------------------------------------ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: #25d366;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-2px) scale(1.04); box-shadow: 0 18px 40px -10px rgba(37, 211, 102, 0.8); }
.wa-float svg { display: block; }
/* While the cookie notice is up, sit above it rather than under it. */
body:has(.cookiebar:not([hidden])) .wa-float { bottom: 150px; }

/* ------------------------------------------------------------------ *
   Cookie notice
 * ------------------------------------------------------------------ */
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(10, 15, 30, 0.97);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, 0.9);
}
.cookiebar-in {
  width: 100%; max-width: var(--shell); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 26px;
}
.cookiebar-text { flex: 1 1 auto; min-width: 0; }
.cookiebar-text b { display: block; color: var(--ink); font-size: 0.98rem; margin-bottom: 4px; }
.cookiebar-text p { margin: 0; font-size: 0.88rem; color: var(--muted); max-width: 78ch; }
.cookiebar-more { display: inline-block; margin-top: 6px; font-size: 0.85rem; }
.cookiebar-buttons { flex: 0 0 auto; display: flex; gap: 10px; }
.cookiebar-buttons .btn { padding: 11px 20px; font-size: 0.9rem; }

.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.foot-legal a { color: var(--muted); }
.foot-legal a:hover { color: var(--ink); }

/* The still image standing in for a video nobody has agreed to load yet. */
.video-consent { cursor: pointer; }
.video-consent:hover .play { filter: brightness(1.1); }
.video-consent-btn { margin-top: 6px; padding: 10px 20px; font-size: 0.88rem; }

/* ------------------------------------------------------------------ *
   Reveal on scroll
 * ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------ *
   WordPress bits (admin bar, alignments, screen readers)
 * ------------------------------------------------------------------ */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ------------------------------------------------------------------ *
   Responsive
 * ------------------------------------------------------------------ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: 8px; bottom: -14px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .about, .band, .contact { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Flag first, burger on the outside — the order a thumb expects. */
  .nav-toggle { display: block; order: 3; margin-left: 10px; }
  .hdr > .lang { order: 2; margin-left: auto; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: 68px; display: none;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: rgba(10, 15, 30, 0.98); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .claims-in { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { padding: 0 18px; }
  .features { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; gap: 26px; }
  .custom-logo { max-height: 38px; }
  .hero-cta .btn { width: 100%; }
  .cookiebar-in { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
  .cookiebar-buttons .btn { flex: 1 1 0; }
  .cookiebar-text p { font-size: 0.85rem; }
  .lang-name { max-width: 7ch; }
  .lang-menu { width: min(232px, calc(100vw - 36px)); }
}
