/* SG Energie Beratung, Sashko Gijevski. Hand-written, no framework. */

@font-face { font-family: "Lora"; src: url("../fonts/lora-variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-variable.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --onyx: #0e0c09;
  --smoke: #1b1711;
  --gold: #d9a521;
  --gold-hi: #f7dc7a;
  --gold-lo: #8f5c0c;
  --ember: #c7361b;
  --porcelain: #f7f7f7;
  --ink: #17130e;
  --text: #efe9dc;
  --muted: #a9a08e;
  --hairline: rgba(217, 165, 33, .3);
  --metal: linear-gradient(100deg, #b17612 0%, #f7dc7a 38%, #d39a1c 62%, #f3d26a 100%);
  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section: clamp(76px, 10vw, 148px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--black); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans); font-feature-settings: "calt", "case";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.3vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.95rem, 3.6vw, 3.05rem); line-height: 1.12; }
p { text-wrap: pretty; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-hi); color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.icon { flex: none; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.6; color: #d8d0bf; max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 26px; border-radius: 3px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn-gold {
  color: #140d00; background: var(--metal); background-size: 180% 100%; background-position: 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(90, 55, 0, .45), 0 10px 30px -12px rgba(217, 165, 33, .7);
  transition: background-position .5s ease, transform .18s ease;
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); }
.btn-line { color: var(--gold-hi); border: 1px solid var(--hairline); background: rgba(217, 165, 33, .04); }
.btn-line:hover { border-color: var(--gold); background: rgba(217, 165, 33, .12); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
  transition: background-color .3s ease, border-color .3s ease; border-bottom: 1px solid transparent;
}
.site-header.is-solid, .site-header.is-open { background: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--hairline); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-name { font: 500 1.12rem/1.15 var(--serif); letter-spacing: .01em; }
.brand-name span { display: block; font: 400 .78rem/1.3 var(--sans); color: var(--muted); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .95rem; color: #d8d0bf; padding: 8px 0; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .25s ease, color .2s ease; }
.nav-links a:hover { color: #fff; background-size: 100% 1px; }
.lang { display: flex; border: 1px solid var(--hairline); border-radius: 3px; overflow: hidden; }
.lang a { padding: 7px 11px; font: 500 .8rem/1 var(--sans); text-decoration: none; color: var(--muted); }
.lang a + a { border-left: 1px solid var(--hairline); }
.lang a:hover { color: #fff; }
.lang a[aria-current] { background: var(--gold); color: #000; }
.header-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 .95rem/1 var(--sans); color: var(--gold-hi); white-space: nowrap; font-feature-settings: "tnum"; }
.header-call:hover { color: #fff; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--hairline); border-radius: 3px; background: none; color: var(--gold-hi); cursor: pointer; place-items: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .25s ease, background-color .2s; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; } .menu-lines::after { top: 6px; }
.is-open .menu-lines { background: transparent; }
.is-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(28px, 6vw, 84px)); overflow: hidden;
  background:
    radial-gradient(48% 56% at 78% 38%, rgba(217, 165, 33, .2), transparent 70%),
    radial-gradient(30% 34% at 84% 62%, rgba(199, 54, 27, .16), transparent 72%),
    var(--black);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(28px, 5vw, 80px); min-height: min(64vh, 620px); }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .1, 1) both; }
.hero-copy h1 { color: #f6f1e6; }
.hero-copy .lead { margin-top: 26px; animation-delay: .12s; }
.hero-copy .actions { margin-top: 36px; animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* The seal as a coin */
.coin-stage { --coin: clamp(230px, 31vw, 420px); position: relative; width: var(--coin); aspect-ratio: 1; justify-self: center; perspective: 1100px; margin-block: 24px 56px; }
.coin-dial {
  position: absolute; inset: -17%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(247, 220, 122, .7) 0 .45deg, transparent .45deg 3deg);
  -webkit-mask: radial-gradient(closest-side, transparent 91%, #000 91.5%, #000 95.5%, transparent 96%);
  mask: radial-gradient(closest-side, transparent 91%, #000 91.5%, #000 95.5%, transparent 96%);
  opacity: .5; animation: dial 120s linear infinite;
}
@keyframes dial { to { transform: rotate(360deg); } }
.coin-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.coin { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg); animation: coin-in 2.1s cubic-bezier(.16, .72, .12, 1) both, coin-sway 11s ease-in-out 2.1s infinite; }
@keyframes coin-in { from { transform: rotateY(-554deg) rotateX(20deg) scale(.55); opacity: 0; } 18% { opacity: 1; } to { transform: rotateY(-14deg) rotateX(6deg) scale(1); } }
@keyframes coin-sway { 0%, 100% { transform: rotateY(-14deg) rotateX(6deg); } 50% { transform: rotateY(13deg) rotateX(2deg); } }
.coin-edge { position: absolute; inset: 0; border-radius: 50%; transform: translateZ(calc((var(--i) - 6) * 2px)); background: linear-gradient(90deg, #5e3a05, #e9c34f 18%, #86560a 42%, #f3d672 58%, #70460a 82%, #caa032); }
.coin-face {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: radial-gradient(circle at 32% 24%, #2e2617 0, #0e0b06 56%, #000 100%);
  box-shadow: inset 0 0 0 3px #dcae32, inset 0 0 0 6px #4b2f05, inset 0 0 60px rgba(0, 0, 0, .85);
}
.coin-front { transform: translateZ(13px); }
.coin-front img { width: 93%; height: auto; }
.coin-front::after { content: ""; position: absolute; inset: -30%; background: linear-gradient(112deg, transparent 42%, rgba(255, 242, 196, .3) 50%, transparent 58%); animation: glare 11s ease-in-out 2.1s infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes glare { 0%, 100% { transform: translateX(-38%); } 50% { transform: translateX(38%); } }
.coin-back { transform: rotateY(180deg) translateZ(13px); }
.coin-back span { font: 600 calc(var(--coin) * .34) / 1 var(--serif); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.coin-shadow { position: absolute; left: 12%; right: 12%; bottom: -17%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(217, 165, 33, .38), transparent); filter: blur(10px); }

/* Facts under the hero */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 6vw, 72px); border-top: 1px solid var(--hairline); }
.facts > div { padding: 30px 32px 44px 0; }
.facts > div + div { padding-left: 32px; border-left: 1px solid var(--hairline); }
.facts dt { font: 500 clamp(1.9rem, 3.2vw, 2.7rem)/1.1 var(--serif); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; font-variant-numeric: lining-nums; }
.facts dd { margin-top: 10px; color: var(--muted); font-size: .98rem; max-width: 30em; }

/* Video (mk, sr) */
.video-section { padding-block: var(--section); background: var(--onyx); border-top: 1px solid var(--hairline); }
.video-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.video-frame { padding: 10px; border-radius: 28px; background: linear-gradient(160deg, #f3d672, #8f5c0c 30%, #2a1c05 55%, #caa032 85%, #f7dc7a); box-shadow: 0 40px 80px -30px rgba(217, 165, 33, .45); }
.video-frame video { width: 100%; aspect-ratio: 9 / 16; border-radius: 19px; background: #000; object-fit: cover; }
.video-copy blockquote { margin-top: 28px; padding-left: 24px; border-left: 2px solid var(--gold); }
.video-copy blockquote p { font: italic 400 clamp(1.25rem, 2vw, 1.6rem)/1.45 var(--serif); color: #f1e9d6; max-width: 26em; }
.video-copy > p { margin-top: 22px; color: #d8d0bf; max-width: 34em; }
.video-copy .video-note { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.video-copy .btn { margin-top: 30px; }

/* About: the seal's own porcelain ground */
.about { background: var(--porcelain); color: var(--ink); padding-block: var(--section); }
.about-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.portrait { position: relative; perspective: 1200px; }
.portrait picture { display: block; transform: rotateY(7deg) rotateX(1deg); transform-origin: left center; transition: transform .6s cubic-bezier(.2, .7, .1, 1); box-shadow: -1px 0 0 #c9951c, 30px 40px 70px -30px rgba(40, 25, 0, .55); }
.portrait:hover picture { transform: none; }
.portrait::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 1px solid #c9951c; }
.portrait img { position: relative; width: 100%; }
.portrait figcaption { position: relative; margin-top: 30px; font-size: .9rem; color: #6b6253; }
.about-copy h2 { color: #100c06; }
.about-copy p { margin-top: 20px; max-width: 36em; color: #3b352b; }
.about-copy h3 { margin-top: 38px; font: 600 1rem/1.3 var(--sans); color: #100c06; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.clients li { padding: 7px 14px; border: 1px solid #cdb67a; border-radius: 999px; font-size: .92rem; color: #4a3a12; background: #fff; }

/* Services */
.services { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; }
.section-head p { color: var(--muted); }
.service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 6vw, 76px); }
.service-group h3 { font: italic 500 1.45rem/1.2 var(--serif); color: var(--gold-hi); padding-bottom: 16px; border-bottom: 1px solid var(--gold); }
.service-group li { padding: 22px 0; border-bottom: 1px solid rgba(217, 165, 33, .18); }
.service-group h4 { font: 500 1.2rem/1.3 var(--serif); color: #f6f1e6; hyphens: auto; }
.service-group p { margin-top: 6px; color: var(--muted); font-size: .98rem; }

/* Steps: a real sequence, so it is numbered */
.steps { padding-block: var(--section); background: var(--onyx); border-block: 1px solid var(--hairline); }
.step-list { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(40px, 6vw, 72px); }
.step-list li { counter-increment: step; position: relative; padding-top: 26px; border-top: 1px solid var(--hairline); }
.step-list li::before { content: counter(step); display: block; font: 500 clamp(3rem, 5vw, 4.4rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--gold); margin-bottom: 18px; }
.step-list li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-hi); }
.step-list h3 { font: 500 1.25rem/1.3 var(--serif); color: #f6f1e6; }
.step-list p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* Price-rise notice */
.tip { padding-block: var(--section) 0; }
.tip-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 36px; align-items: center; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--gold); outline: 1px solid var(--hairline); outline-offset: 6px; background: linear-gradient(120deg, rgba(199, 54, 27, .16), rgba(217, 165, 33, .07) 55%, transparent); }
.tip-mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-hi); }
.tip-mark .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.tip-box h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.tip-box p { margin-top: 10px; color: #d8d0bf; max-width: 46em; }

/* FAQ */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-grid > h2 { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list details:first-child { border-top: 1px solid var(--hairline); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 { font: 500 1.2rem/1.35 var(--serif); color: #f6f1e6; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--gold-hi); border-bottom: 1.5px solid var(--gold-hi); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-list summary:hover h3 { color: var(--gold-hi); }
.faq-list details p { padding: 0 44px 26px 0; color: #cfc7b6; max-width: 44em; }

/* Contact */
.contact { padding-block: var(--section); border-top: 1px solid var(--hairline); background: radial-gradient(50% 70% at 82% 50%, rgba(217, 165, 33, .14), transparent 70%), var(--black); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.contact-copy .lead { margin-top: 20px; }
.big-phone { display: inline-block; margin-top: 30px; font: 500 clamp(2.4rem, 6.2vw, 5rem)/1.05 var(--serif); letter-spacing: -.01em; text-decoration: none; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: lining-nums; white-space: nowrap; }
.big-phone:hover { filter: brightness(1.15); }
.contact-copy .actions { margin-top: 34px; }
.card-stage { perspective: 1100px; justify-self: center; width: min(100%, 380px); }
.vcard {
  position: relative; padding: 36px 34px 34px; border-radius: 6px; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -10deg)); transition: transform .3s ease-out;
  background: linear-gradient(145deg, #1d1810, #0b0906 60%); border: 1px solid var(--gold);
  box-shadow: 24px 36px 70px -28px rgba(217, 165, 33, .4), inset 0 1px 0 rgba(247, 220, 122, .25);
}
.vcard::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--hairline); border-radius: 3px; pointer-events: none; }
.vcard > * { position: relative; transform: translateZ(26px); }
.vcard-name { margin-top: 18px; font: 500 1.7rem/1.15 var(--serif); color: #f6f1e6; }
.vcard-role { margin-top: 6px; color: var(--gold-hi); font-size: .95rem; line-height: 1.5; }
.vcard dl { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--hairline); display: grid; gap: 14px; }
.vcard dl div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.vcard dt { color: var(--gold); padding-top: 3px; }
.vcard dd { font-size: .98rem; overflow-wrap: anywhere; }
.vcard a { text-decoration: none; }
.vcard a:hover { color: var(--gold-hi); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding-top: 56px; color: var(--muted); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px 48px; align-items: start; }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-brand p { line-height: 1.55; }
.footer-note { font: italic 400 1.2rem/1.4 var(--serif); color: var(--gold-hi); }
.footer-links { display: grid; gap: 10px; justify-items: start; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; color: var(--gold-hi); }
.social a:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-block: 22px; border-top: 1px solid rgba(217, 165, 33, .16); font-size: .86rem; }
.footer-base a { color: var(--gold-hi); text-decoration: none; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* Legal pages */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 90px)); padding-bottom: var(--section); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.legal h2 { font-size: 1.45rem; margin-top: 44px; color: var(--gold-hi); }
.legal p { margin-top: 14px; color: #d3cbba; }
.legal-address { margin-top: 30px; padding: 26px 28px; border: 1px solid var(--hairline); background: var(--onyx); line-height: 1.75; }
.legal-address a { color: var(--gold-hi); text-decoration: none; }
.legal .btn { margin-top: 20px; }

/* Responsive */
@media (max-width: 1080px) {
  .header-call span { display: none; }
  .header-call { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--hairline); border-radius: 3px; }
  .nav-links { gap: 18px; }
  .site-header { gap: 16px; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .menu-btn { display: grid; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: rgba(0, 0, 0, .96); border-bottom: 1px solid var(--hairline); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; max-height: calc(100dvh - var(--header-h)); overflow: auto; }
  .is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 16px 0; font: 500 1.35rem/1.2 var(--serif); color: #f6f1e6; border-bottom: 1px solid rgba(217, 165, 33, .16); background: none; }
  .lang { margin-top: 24px; align-self: flex-start; }
  .lang a { padding: 12px 18px; font-size: .95rem; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .coin-stage { order: -1; --coin: clamp(190px, 52vw, 280px); margin-block: 18px 40px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div, .facts > div + div { padding: 24px 0; border-left: 0; }
  .facts > div + div { border-top: 1px solid rgba(217, 165, 33, .18); }
  .video-grid, .about-grid, .contact-grid, .faq-grid, .section-head { grid-template-columns: 1fr; }
  .video-frame { max-width: 300px; margin-inline: auto; }
  .portrait { max-width: 420px; margin-right: 18px; }
  .service-groups { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr 1fr; }
  .tip-box { grid-template-columns: 1fr; }
  .faq-grid > h2 { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: rgba(0, 0, 0, .94); border-top: 1px solid var(--hairline); padding-bottom: env(safe-area-inset-bottom); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 64px; font: 600 1rem/1 var(--sans); text-decoration: none; color: var(--gold-hi); }
  .mobile-bar a.is-primary { background: var(--metal); color: #140d00; }
  .header-call { display: none; }
  .brand-name { font-size: 1.02rem; }
  .actions .btn { width: 100%; }
  .step-list { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
}

/* Gallery: three photos on a turning ring */
.gallery { background: var(--onyx); padding-block: var(--section); overflow: hidden; }
.gallery-stage { --gw: min(62vw, 380px); position: relative; margin-top: clamp(40px, 6vw, 72px); perspective: 1700px; }
.gallery-ring { list-style: none; margin: 0 auto; padding: 0; position: relative; width: var(--gw); aspect-ratio: 3 / 4; transform-style: preserve-3d; }
.gallery-ring li { position: absolute; inset: 0; cursor: pointer; transition: transform .9s cubic-bezier(.2, .7, .1, 1), filter .9s, opacity .9s; }
.gallery-ring li[data-pos="0"] { transform: translateZ(0); z-index: 3; cursor: default; }
.gallery-ring li[data-pos="1"] { transform: translateX(88%) translateZ(-180px) rotateY(-38deg); z-index: 2; filter: brightness(.45); }
.gallery-ring li[data-pos="-1"] { transform: translateX(-88%) translateZ(-180px) rotateY(38deg); z-index: 2; filter: brightness(.45); }
.gallery-ring figure { position: relative; height: 100%; padding: 6px; border-radius: 22px; background: linear-gradient(160deg, #f3d672, #8f5c0c 30%, #2a1c05 55%, #caa032 85%, #f7dc7a); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 24px 70px -34px rgba(217, 165, 33, .5); }
.gallery-ring picture, .gallery-ring img { display: block; width: 100%; height: 100%; }
.gallery-ring img { object-fit: cover; border-radius: 17px; }
.gallery-ring figcaption { position: absolute; inset: auto 6px 6px 6px; padding: 56px 20px 18px; border-radius: 0 0 17px 17px; background: linear-gradient(to top, rgba(0, 0, 0, .88), transparent); font: 500 1.02rem/1.35 var(--serif); color: #fff; opacity: 0; transition: opacity .6s; }
.gallery-ring li[data-pos="0"] figcaption { opacity: 1; }
.gallery-controls { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.gallery-controls button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--hairline); border-radius: 50%; background: transparent; color: var(--gold-hi); cursor: pointer; transition: background .2s, border-color .2s; }
.gallery-controls button:hover { background: rgba(217, 165, 33, .14); border-color: var(--gold); }
.gallery-controls button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.gallery-controls [hidden] { display: none; }
.gallery-controls span { display: grid; }
@media (max-width: 600px) {
  .gallery-ring li[data-pos="1"] { transform: translateX(62%) translateZ(-200px) rotateY(-40deg); }
  .gallery-ring li[data-pos="-1"] { transform: translateX(-62%) translateZ(-200px) rotateY(40deg); }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .mobile-bar, .coin-stage, .video-section, .gallery { display: none; }
  body { background: #fff; color: #000; }
}
