/* =====================================================================
   Abkhazia Translations — warm forest theme, matched to abkhaziavisa.com
   ===================================================================== */
:root {
  --ink: #06170f;
  --navy: #0b2a1d;
  --navy-2: #154a33;
  --navy-3: #1d6a45;
  --mint: #6fdc97;
  --mint-2: #9ff0c0;
  --green: #12a04a;
  --green-dark: #0a7d3a;
  --flag-green: #0a8a3e;
  --red: #d21f26;
  --white: #fff;
  --text: rgba(255,255,255,.9);
  --muted: rgba(255,255,255,.7);
  --line: rgba(255,255,255,.14);
  --radius: 22px;
  --shadow: 0 30px 60px -25px rgba(3,20,12,.65);
  --ease: cubic-bezier(.16,1,.3,1);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.6; background: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Icons */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.ico { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--mint); }

/* Type */
h1, h2, h3, h4 { margin: 0; color: var(--white); }
.h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; margin: 0 0 16px; }
.h2-xl { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.h2-sm { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -.01em; color: var(--mint); padding-right: .06em; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--mint); }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red) 0 40%, #fff 40% 60%, var(--green) 60%); }
.sub { font-size: 18px; color: var(--muted); margin: 0; max-width: 620px; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; overflow: hidden; isolation: isolate;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1; color: #fff;
  background: linear-gradient(180deg, #25bd60 0%, var(--green) 45%, var(--green-dark) 100%);
  box-shadow: 0 14px 30px -10px rgba(10,125,58,.8), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(3,60,28,.4);
  transition: box-shadow .4s var(--ease), background-color .3s, scale .15s;
}
.btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-22deg); animation: sweep 5s var(--ease) infinite; }
@keyframes sweep { 0%, 60% { left: -70%; } 100% { left: 130%; } }
.btn:hover { box-shadow: 0 22px 40px -12px rgba(10,125,58,.9), inset 0 1px 0 rgba(255,255,255,.45); }
.btn:active { scale: .97; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn .arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); transition: transform .4s var(--ease), background .4s, color .4s; }
.btn .arrow .i { width: 15px; height: 15px; }
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); background: #fff; color: var(--flag-green); }
.btn-ghost { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost::before { animation: none; }
.btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-sm .arrow { width: 22px; height: 22px; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Frosted glass (as on abkhaziavisa.com) */
.glass {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); isolation: isolate; color: #fff;
  background: linear-gradient(150deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,.09) 45%, rgba(140,225,180,.1) 100%);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -20px 40px rgba(50,170,105,.12);
}
.glass::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,255,255,.22), transparent 55%); }
.glass:hover::before { opacity: 1; }

/* Progress bar */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--flag-green), #fff, var(--red)); }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .4s, box-shadow .4s, transform .45s var(--ease); }
.site-header.scrolled { background: rgba(8,33,22,.82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); }
.site-header.hide { transform: translateY(-100%); }
.flag-band { height: 4px; background: linear-gradient(90deg, var(--red) 0 64px, var(--flag-green) 64px 33%, #fff 33% 66%, var(--flag-green) 66%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; line-height: 1.02; letter-spacing: .02em; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.logo-flag { width: 40px; height: auto; margin-left: 4px; border-radius: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { padding: 10px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4); transition: background .3s; }
.nav > a:not(.btn):hover { background: rgba(255,255,255,.16); }
.nav .btn { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); cursor: pointer; padding: 0; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #2b5a43; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.08); animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.18) translate(-1.5%, -1%); } }
.hero-haze { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(4,22,14,.72) 0%, rgba(4,22,14,.35) 45%, rgba(4,22,14,.1) 70%),
  linear-gradient(0deg, rgba(6,23,15,1) 0%, rgba(6,30,20,.55) 22%, transparent 50%),
  linear-gradient(180deg, rgba(4,22,14,.55) 0%, transparent 20%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 50px; align-items: center; padding-top: 140px; padding-bottom: 70px; min-height: 100vh; min-height: 100svh; align-content: center; }
.hero h1 { margin: 0 0 22px; font-size: clamp(42px, 5vw, 76px); line-height: 1.03; font-weight: 800; letter-spacing: -.03em; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 .accent { display: block; color: var(--mint-2); }
.hero .lead { max-width: 560px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.92); font-weight: 500; margin: 0 0 34px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Price checker */
.checker { justify-self: end; width: min(420px, 100%); padding: 26px; background: linear-gradient(160deg, rgba(11,42,29,.66), rgba(11,42,29,.4)); border-color: rgba(111,220,151,.45); }
.checker-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.checker-head b { display: block; font-size: 21px; font-weight: 800; line-height: 1.2; }
.checker-head small { display: block; font-size: 13px; color: var(--muted); }
.live-dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 10px rgba(210,31,38,.8); }
.live-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--red); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.checker label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); margin: 12px 0 6px; }
.ck-pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: end; }
.ck-sel { position: relative; }
.ck-sel select { width: 100%; appearance: none; -webkit-appearance: none; padding: 13px 38px 13px 14px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font: inherit; font-size: 15px; cursor: pointer; transition: border-color .3s, background .3s; }
.ck-sel select:focus { outline: none; border-color: var(--mint); background: rgba(255,255,255,.18); }
.ck-sel option, .field option { background: var(--navy); color: #fff; }
.ck-sel .caret { position: absolute; right: 12px; top: 50%; translate: 0 -50%; pointer-events: none; width: 16px; height: 16px; }
.ck-swap { width: 40px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); cursor: pointer; display: grid; place-items: center; color: var(--mint); transition: background .3s, rotate .4s var(--ease); }
.ck-swap:hover { background: rgba(255,255,255,.18); rotate: 180deg; }
.checker-result { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.12); font-size: 14.5px; line-height: 1.5; min-height: 86px; }
.checker-result .ck-price { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; }
.checker-result .ck-price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.checker-result .ck-meta { color: var(--muted); }
.checker .btn { width: 100%; margin-top: 14px; }

.hero-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.feature { padding: 26px 20px; text-align: center; display: grid; justify-items: center; gap: 4px; }
.feature .ico { width: 44px; height: 44px; margin-bottom: 10px; color: #fff; }
.feature h3 { font-size: 19px; font-weight: 800; }
.feature p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.85); }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; font-size: 11px; font-weight: 700; letter-spacing: .3em; color: rgba(255,255,255,.75); display: grid; justify-items: center; gap: 6px; }
.scroll-cue i { width: 1.5px; height: 30px; background: linear-gradient(#fff, transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ===== AMBIENT PHOTO BACKGROUND ===== */
.ocean { position: relative; isolation: isolate; }
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.amb-layer { position: absolute; inset: 0; overflow: hidden; clip-path: circle(0% at 50% 50%); }
.amb-layer.first { clip-path: none; }
.amb-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(1.2); opacity: .9; animation: ambDrift 28s ease-in-out infinite alternate; }
@keyframes ambDrift { from { transform: scale(1.15); } to { transform: scale(1.28) translate(-2.5%, -2%); } }
.amb-tint { position: absolute; inset: 0; z-index: 2; background:
  linear-gradient(180deg, rgba(11,42,29,.42) 0%, rgba(8,33,22,.58) 50%, rgba(6,26,17,.74) 100%),
  radial-gradient(60% 50% at 85% 20%, rgba(18,160,74,.12), transparent 70%); }

/* ===== SECTIONS ===== */
.block { position: relative; padding: 110px 0; }
.block.tight { padding-top: 30px; }
.sec-head { margin-bottom: 46px; }
.sec-head .sub { margin-top: 4px; }
.two-col { display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: stretch; }
.panel { padding: 44px; }
.panel .h2 { font-size: clamp(30px, 3.2vw, 46px); }

/* Languages */
.flags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.flag { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); transition: background .3s, border-color .3s; }
.flag:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.flag img { grid-row: span 2; width: 48px; height: 32px; object-fit: cover; border-radius: 5px; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.flag b { font-size: 16px; color: #fff; line-height: 1.2; }
.flag small { font-size: 13px; color: var(--muted); }

/* Photo card */
.photo-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 360px; display: flex; align-items: flex-end; border: 1px solid rgba(255,255,255,.35); box-shadow: var(--shadow); isolation: isolate; }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.photo-card:hover > img { transform: scale(1.06); }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,23,15,.05) 20%, rgba(6,23,15,.85) 100%); }
.photo-copy { padding: 30px; }
.photo-copy h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.photo-copy h3 .i { color: var(--mint); width: 24px; height: 24px; }
.photo-copy p { margin: 0 0 18px; color: rgba(255,255,255,.88); }

/* How it works */
.how-title { font-size: clamp(30px, 3vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.how .sub { margin-top: 6px; }
.hsteps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 46px; }
.hsteps .rail { position: absolute; top: 44px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 8px, transparent 8px 16px); }
.hsteps .rail b { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green-dark), var(--mint)); }
.hstep { position: relative; text-align: center; }
.bubble { width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 35% 28%, #2fbf6a, var(--navy-2) 55%, var(--navy) 100%); border: 2px solid rgba(255,255,255,.85); box-shadow: 0 0 0 7px rgba(255,255,255,.1), 0 14px 30px -8px rgba(0,0,0,.6); transition: box-shadow .5s; position: relative; }
.bubble .i { width: 34px; height: 34px; }
.hstep.lit .bubble { box-shadow: 0 0 0 7px rgba(111,220,151,.28), 0 14px 30px -8px rgba(0,0,0,.6); }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: 16px 0 8px; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(180deg, #e8383f, var(--red)); box-shadow: 0 4px 12px -2px rgba(210,31,38,.6); }
.hstep h4 { font-size: 17px; font-weight: 800; line-height: 1.25; }
.hstep h4 small { display: block; font-weight: 500; font-size: 15px; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); margin-top: 90px; }
.stat { position: relative; padding: 44px 24px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: linear-gradient(transparent, rgba(111,220,151,.6), transparent); }
.stat b { display: block; font-size: clamp(42px, 4.6vw, 66px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat b sup { font-size: .42em; color: var(--mint); margin-left: 2px; }
.stat > span { display: block; margin-top: 10px; font-size: 14px; letter-spacing: .04em; color: var(--muted); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc { padding: 32px 26px; }
.svc .ico { margin-bottom: 18px; }
.svc h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.svc p { margin: 0; color: rgba(255,255,255,.82); font-size: 15px; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { padding: 40px 34px 34px; display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(150deg, rgba(111,220,151,.3), rgba(255,255,255,.1) 50%, rgba(111,220,151,.12)); border-color: rgba(111,220,151,.85); }
.price-card h3 { font-size: 22px; font-weight: 800; }
.price-card .muted { font-size: 14px; margin: 4px 0 0; }
.price { display: flex; align-items: baseline; gap: 2px; margin: 22px 0 0; font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-right: 10px; }
.price-card ul { list-style: none; padding: 0; margin: 26px 0 30px; flex: 1; }
.price-card li { position: relative; padding: 11px 0 11px 32px; border-top: 1px solid rgba(255,255,255,.14); }
.price-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: rgba(111,220,151,.22) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ff0c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 12px no-repeat; }
.price-card .btn { width: 100%; }
.ribbon { position: absolute; top: 22px; right: -42px; width: 170px; padding: 7px 0; text-align: center; transform: rotate(45deg); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #e8383f, var(--red)); box-shadow: 0 6px 14px -4px rgba(0,0,0,.4); }
.fine { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Quote */
.quote-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; padding: 50px; align-items: center; }
.quote-copy .h2 { font-size: clamp(32px, 3.4vw, 50px); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-size: 16px; color: #fff; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks .i { width: 24px; height: 24px; color: var(--navy); fill: var(--mint); stroke: var(--navy); stroke-width: 2.4; }
.ticks .i circle { stroke: none; }

.form { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; display: flex; align-items: center; }
.field > .i:first-child { position: absolute; left: 15px; color: var(--mint); pointer-events: none; z-index: 1; }
.field .caret { position: absolute; right: 14px; pointer-events: none; color: #fff; }
.field input, .field select, .field textarea, .file {
  width: 100%; height: 50px; padding: 0 40px 0 46px; font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.3); border-radius: 12px; outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.75); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus, .file:focus-within { border-color: var(--mint); background: rgba(255,255,255,.16); box-shadow: 0 0 0 4px rgba(111,220,151,.16); }
.file { display: flex; align-items: center; cursor: pointer; overflow: hidden; color: rgba(255,255,255,.85); }
.file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; padding: 0; height: 100%; }
.area textarea { height: 96px; padding: 13px 15px 24px; resize: none; }
.area small { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: var(--muted); }
.invalid, .field .invalid { border-color: #ff9a9a !important; }
.btn-send { justify-self: start; min-width: 240px; margin-top: 4px; }
.btn-send.sending .i:first-child { animation: fly .9s var(--ease) forwards; }
@keyframes fly { to { transform: translate(40px, -30px) rotate(10deg); opacity: 0; } }
.form-note { margin: 0; font-size: 15px; min-height: 1.2em; }
.form-note.ok { color: var(--mint-2); font-weight: 600; }
.form-note.err { color: #ffb3a8; font-weight: 600; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 70px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-side .sub { margin-bottom: 28px; }
.faq-side .photo { margin-top: 36px; border-radius: var(--radius); overflow: hidden; height: 280px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.3); }
.faq-side .photo img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { display: grid; gap: 14px; }
.qa { border-radius: 18px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; font-weight: 700; font-size: 17px; color: #fff; }
.qa summary::-webkit-details-marker { display: none; }
.pm { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(111,220,151,.2); color: var(--mint); transition: transform .4s var(--ease), background .3s; }
.pm .i { width: 18px; height: 18px; }
.qa[open] .pm { transform: rotate(45deg); background: var(--green); color: #fff; }
.qa p { margin: 0; padding: 0 26px 24px; color: rgba(255,255,255,.85); }
.qa a { color: var(--mint-2); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { display: block; padding: 34px; }
.contact-card .ico { margin-bottom: 18px; }
.contact-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.contact-card p { margin: 0; color: rgba(255,255,255,.82); overflow-wrap: anywhere; }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; padding: 170px 0 150px; text-align: center; }
.final .bg { position: absolute; inset: -15% 0; z-index: -2; }
.final .bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(8,30,20,.5) 30%, rgba(8,30,20,.55) 70%, var(--ink) 100%); }
.final .h2 { font-size: clamp(40px, 5.6vw, 86px); max-width: 1000px; margin: 0 auto 22px; }
.final .h2 .accent { display: block; }
.final p:not(.eyebrow) { font-size: 19px; color: rgba(255,255,255,.9); margin: 0 0 38px; }

/* Language marquee */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: #061a11; }
.marquee::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 64px, var(--flag-green) 64px 33%, #fff 33% 66%, var(--flag-green) 66%); }
.marquee .row { display: flex; gap: 60px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(28px, 3.2vw, 46px); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(111,220,151,.75); }
.marquee span:nth-child(even) { color: rgba(255,255,255,.92); -webkit-text-stroke: 0; }
.marquee:hover .row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Footer */
.site-footer { background: var(--ink); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.f-brand p { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.footer-grid h4 { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid > div:not(.f-brand) { display: grid; align-content: start; gap: 10px; }
.footer-grid > div a { color: rgba(255,255,255,.85); font-size: 15px; overflow-wrap: anywhere; transition: color .3s; }
.footer-grid > div a:hover { color: var(--mint); }
.pay-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 50px; }
.pay-row span { font-size: 14px; color: var(--muted); margin-right: 6px; }
.pay-row img { height: 40px; width: auto; border-radius: 6px; background: #fff; padding: 6px 10px; }
.pay-pill { display: inline-grid; place-items: center; height: 40px; padding: 0 14px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); font-size: 13px; font-weight: 700; color: #fff; }
.republic { display: grid; justify-items: center; gap: 10px; margin-top: 34px; }
.republic > div { display: flex; align-items: center; gap: 22px; }
.republic img { height: 64px; width: auto; }
.republic span { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* WhatsApp button */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(180deg, #25bd60, var(--green-dark)); box-shadow: 0 14px 30px -10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.4); transition: scale .3s var(--ease); }
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { scale: 1.08; }

/* Dialog */
.dlg { width: min(760px, 100% - 32px); max-height: 85vh; padding: 34px; overflow: auto; background: linear-gradient(160deg, rgba(21,74,51,.97), rgba(11,42,29,.98)); }
.dlg::backdrop { background: rgba(3,14,9,.75); backdrop-filter: blur(6px); }
.dlg-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.dlg .muted { margin: 8px 0 20px; }
.pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.pairs div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #fff; }
.pairs img { width: 26px; height: 18px; object-fit: cover; border-radius: 3px; }

/* Scroll reveal fallback (no GSAP) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 130px; }
  .checker { justify-self: start; margin-top: 36px; }
  .hero-bottom { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-panel { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .burger { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 24px 22px;
    background: rgba(8,33,22,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 13px 10px; }
  .nav .btn { margin: 10px 0 0; }
  .prices { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .container { width: min(1280px, 100% - 32px); }
  .logo { font-size: 14px; }
  .logo img:first-child { width: 44px; height: auto; }
  .logo-flag { width: 32px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-bottom { gap: 12px; }
  .feature { padding: 20px 12px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 13px; }
  .block { padding: 80px 0; }
  .panel, .quote-panel { padding: 26px 20px; }
  .flags { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .flag { padding: 12px; column-gap: 10px; }
  .flag img { width: 38px; height: 26px; }
  .hsteps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .hsteps .rail { display: none; }
  .bubble { width: 74px; height: 74px; }
  .svc-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .btn-send { width: 100%; }
  .stat { padding: 30px 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .final { padding: 120px 0 100px; }
}


/* =====================================================================
   SUB PAGES — pay, privacy, terms, 404
   ===================================================================== */
.subpage { min-height: 100vh; display: flex; flex-direction: column; background:
  linear-gradient(180deg, rgba(11,42,29,.6), rgba(6,23,15,.93) 60%), url("media/bg-books.jpg") center / cover fixed, var(--ink); }
.subpage main { flex: 1; }
.subnav { position: sticky; top: 0; z-index: 20; background: rgba(8,33,22,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--red) 0 64px, var(--flag-green) 64px 33%, #fff 33% 66%, var(--flag-green) 66%); }
.subnav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; line-height: 1.02; letter-spacing: .02em; color: #fff; text-transform: uppercase; }
.page { padding: 60px 0 90px; }
.page-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.page-lead { color: var(--text); font-size: 18px; margin: 14px 0 0; }
.footer { border-top: 1px solid var(--line); padding: 26px 0; background: var(--ink); }
.footer-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: 14px; color: var(--muted); }
.footer-inner nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.footer-inner nav a:hover { color: var(--mint); }

/* Pay */
.pay-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; max-width: 1080px; margin: 0 auto; }
.pay-card { padding: 24px; display: grid; gap: 16px; }
.money em { position: absolute; right: 14px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--mint); pointer-events: none; }
.money input { padding-right: 56px; }
.field input[readonly] { color: var(--mint-2); background: rgba(111,220,151,.1); }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tab { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; border-radius: 14px; cursor: pointer; font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.25); color: #fff; transition: border-color .25s, background .25s; }
.tab .i { width: 26px; height: 26px; color: var(--mint); }
.tab:hover { background: rgba(255,255,255,.14); }
.tab[aria-selected="true"] { border-color: var(--mint); background: rgba(111,220,151,.22); }
.tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pay-panel { min-height: 150px; padding: 18px; border-radius: 14px; background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 12px; align-content: start; }
.pay-panel.in { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.pay-panel p { margin: 0; }
.pay-panel .btn { justify-self: start; }
.pay-panel .small { font-size: 14px; color: var(--muted); }
.soon { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.soon .i { color: var(--mint); margin-top: 2px; }
.soon strong { display: block; color: #fff; margin-bottom: 2px; }
.addr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 10px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.14); }
.addr span { font-size: 13px; font-weight: 700; color: var(--mint); white-space: nowrap; }
.addr code { font-size: 14px; color: #fff; overflow-wrap: anywhere; }
.copy { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; cursor: pointer; background: rgba(111,220,151,.15); border: 1px solid rgba(255,255,255,.2); color: var(--mint); }
.copy:hover { background: rgba(111,220,151,.28); }
.copy.copied, .copy-all.copied { background: var(--green); color: #fff; }
.bank { display: grid; gap: 4px; padding: 12px 14px; border-radius: 10px; background: rgba(0,0,0,.22); border: 1px solid rgba(255,255,255,.14); font-size: 15px; color: #fff; }
.pay-confirm { display: grid; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.pay-confirm .btn-send { justify-self: center; }
.pc-title { margin: 8px 0 0; font-weight: 700; color: #fff; text-align: center; }
.pay-confirm .form-note { text-align: center; }
.pay-side { padding: 26px; display: grid; gap: 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: linear-gradient(180deg, #e8383f, var(--red)); color: #fff; }
.steps span { font-size: 15px; color: var(--muted); }
.steps strong { display: block; color: #fff; font-weight: 700; font-size: 16px; }
.pay-side .ticks { font-size: 15px; gap: 10px; margin: 0; }
.pay-side .ticks .i { width: 20px; height: 20px; }
.side-help { margin: 4px 0 -8px; font-weight: 700; color: #fff; }
.clist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.clist a { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.clist a:hover { color: var(--mint); }
.clist .i { color: var(--mint); }

/* Legal */
.doc { max-width: 780px; }
.doc .updated { color: var(--muted); font-size: 15px; margin: 8px 0 30px; }
.doc h2 { font-size: 24px; font-weight: 800; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text); font-size: 17px; line-height: 1.75; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc a { color: var(--mint-2); text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.err404 { text-align: center; display: grid; justify-items: center; align-content: center; min-height: 60vh; }
.big404 { margin: 0; font-weight: 800; font-size: clamp(7rem, 18vw, 12rem); line-height: 1; letter-spacing: -.04em; color: #fff; text-shadow: 0 20px 50px rgba(0,0,0,.4); }
.err-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .page { padding: 36px 0 60px; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .subnav .brand span { display: none; }
  .addr { grid-template-columns: 1fr auto; }
  .addr span { grid-column: 1 / -1; }
  .footer-inner nav { margin-left: 0; }
}

/* Layering: the fixed photo background lives inside <main>; keep everything outside it on top */
.hero, .final, .marquee, .site-footer { position: relative; z-index: 1; }

/* ===== Video backgrounds ===== */
.hero-media video { animation: none; transform: scale(1.02); }
.hero-media { background: #2b5a43 url("media/hero-library.jpg") center / cover; }
.amb-layer video { filter: blur(14px) saturate(1.2); opacity: .95; }
/* slow diagonal light beams drifting over the background */
.amb-beams { position: absolute; inset: -20%; z-index: 3; mix-blend-mode: screen; pointer-events: none; opacity: .45;
  background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(111,220,151,.10) 180px, rgba(255,255,255,.12) 200px, transparent 260px, transparent 420px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
  -webkit-mask-size: 200% 100%; mask-size: 200% 100%;
  animation: beams 16s linear infinite, beamMask 11s ease-in-out infinite alternate; }
@keyframes beams { to { background-position: 840px 0; } }
@keyframes beamMask { from { -webkit-mask-position: 0% 0; mask-position: 0% 0; } to { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
.final .bg { background: #123 url("media/final-gega.jpg") center / cover; }

/* ===== Loading screen (same as abkhaziavisa.com) ===== */
body.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0a5a2e; color: #fff;
  animation: ldOut .45s cubic-bezier(.65,0,.35,1) 2.55s forwards; }
.loader.out { animation: ldOut .45s cubic-bezier(.65,0,.35,1) 0s forwards; }
@keyframes ldOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; } }
.ld { width: min(560px, 88vw); text-align: center; }
.ld-logo img { width: 84px; height: auto; display: block; margin: 0 auto 14px; animation: ldPop .9s var(--ease) both; }
@keyframes ldPop { from { opacity: 0; transform: scale(.7) translateY(10px); } }
.ld-logo span { display: block; font: 700 clamp(15px, 2.4vw, 20px) var(--sans); letter-spacing: .42em; padding-left: .42em; animation: ldPop .9s var(--ease) .15s both; }
.ld-bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 0; }
.ld-bar span { width: 70px; height: 2px; background: rgba(255,255,255,.28); overflow: hidden; border-radius: 2px; }
.ld-bar span.r { transform: scaleX(-1); }
.ld-bar span i { display: block; height: 100%; width: 0; background: #fff; animation: ldFill 2.55s linear forwards; }
@keyframes ldFill { to { width: 100%; } }
.ld-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px dotted rgba(255,255,255,.85); animation: ldspin 1.4s linear infinite; }
@keyframes ldspin { to { transform: rotate(360deg); } }
.ld-flagwrap { width: 100%; aspect-ratio: 16 / 9; margin: 14px auto 0; }
.ld-flagwrap img { width: 100%; height: 100%; display: block; object-fit: contain; }
.ld-skip { margin-top: 6px; padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: 600 13px var(--sans); letter-spacing: .08em; cursor: pointer; transition: background .3s; }
.ld-skip:hover { background: rgba(255,255,255,.18); }

/* Sub pages: soft video behind the content */
.sub-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sub-bg video { width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(1.2); transform: scale(1.12); }
.sub-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,42,29,.55), rgba(6,23,15,.9) 65%); }
.subpage { position: relative; isolation: isolate; }

/* Service cards: photo that comes alive as a video */
.svc { padding: 0; display: flex; flex-direction: column; }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.25); }
.svc-media video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,23,15,.55)); pointer-events: none; }
.svc:hover .svc-media video, .svc.playing .svc-media video { transform: scale(1.08); filter: saturate(1.1) brightness(1); }
.svc-body { position: relative; padding: 0 24px 28px; }
.svc-body .ico { width: 52px; height: 52px; padding: 11px; margin: -26px 0 14px; border-radius: 14px; color: #fff; stroke-width: 1.8;
  background: linear-gradient(180deg, #25bd60, var(--green-dark)); box-shadow: 0 10px 22px -8px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.4); position: relative; z-index: 1; }
.credits { margin-top: 30px; text-align: center; font-size: 12px; color: rgba(255,255,255,.45); } .credits a { text-decoration: underline; text-underline-offset: 2px; } .credits a:hover { color: #fff; }

/* ===== Modern background: sharp video, light depth blur, deep green grade + vignette ===== */
.amb-layer video { filter: blur(2.5px) saturate(1.15) brightness(.9) contrast(1.05) !important; opacity: 1; animation: ambZoom 30s ease-in-out infinite alternate; }
@keyframes ambZoom { from { transform: scale(1.06); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.amb-tint { background:
  radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(4,18,12,.75) 100%),
  linear-gradient(180deg, rgba(6,30,20,.55) 0%, rgba(6,30,20,.62) 50%, rgba(5,22,15,.8) 100%) !important; }
/* fine dot texture for a modern finish */
.amb-tint::after { content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 4px 4px; }
.amb-beams { opacity: .22; }
.sub-bg video { filter: blur(2.5px) saturate(1.15) brightness(.85); transform: scale(1.06); }
.sub-bg::after { background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(4,18,12,.8) 100%), linear-gradient(180deg, rgba(8,33,22,.6), rgba(6,23,15,.85) 70%); }

/* Hero: bright, colour-graded video; dark only behind the text */
.hero-media video { filter: saturate(1.2) contrast(1.06) brightness(1.02); }
.hero-haze { background:
  linear-gradient(90deg, rgba(4,22,14,.82) 0%, rgba(4,22,14,.55) 32%, rgba(4,22,14,.15) 62%, rgba(4,22,14,.05) 100%),
  linear-gradient(0deg, rgba(6,23,15,1) 0%, rgba(6,30,20,.45) 18%, transparent 42%),
  linear-gradient(180deg, rgba(4,22,14,.5) 0%, transparent 18%) !important; }
@media (max-width: 1100px) { .hero-haze { background: linear-gradient(180deg, rgba(4,22,14,.55) 0%, rgba(4,22,14,.62) 50%, rgba(6,23,15,1) 100%) !important; } }
.svc-grid { grid-template-columns: repeat(3, 1fr); } @media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
/* Hero (library): warm, crisp grade; lighter overlay since the clip is already dark */
.hero-media video { filter: saturate(1.1) contrast(1.08) brightness(1.08); }
.hero-haze { background:
  linear-gradient(90deg, rgba(4,22,14,.7) 0%, rgba(4,22,14,.4) 35%, rgba(4,22,14,.08) 65%, transparent 100%),
  linear-gradient(0deg, rgba(6,23,15,1) 0%, rgba(6,30,20,.35) 18%, transparent 40%),
  linear-gradient(180deg, rgba(4,22,14,.45) 0%, transparent 16%) !important; }

/* Photo cards now hold short looping videos */
.photo-card > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.photo-card:hover > video { transform: scale(1.06); }
.faq-side .photo video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* backgrounds: book/writing footage reads best a touch darker and warmer */
.amb-layer video { filter: blur(2px) saturate(1.05) brightness(.8) contrast(1.05) sepia(.12) !important; }
.final .bg video { filter: brightness(.9) saturate(1.05); }
