@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Tajawal-Regular.woff") format("woff"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Tajawal-Medium.woff") format("woff"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Tajawal-Bold.woff") format("woff"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Cairo-SemiBold.woff") format("woff"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Cairo-Bold.woff") format("woff"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/Cairo-ExtraBold.woff") format("woff"); }
/* Layout: deep-green header/footer bands frame a light page; gold is decoration, green carries actions. */
:root {
  --bg: #F3F6F7;
  --surface: #FFFFFF;
  --fg: #10261D;
  --muted: #587068;
  --line: #D9E2DF;
  --green: #0F3A29;
  --green-deep: #0C3024;
  --on-green: #F3EBD3;
  --gold: #C4A460;
  --gold-ink: #876727;
  --btn: #0F3A29;
  --btn-fg: #FFFFFF;
  --hero-a: #E4EFF3;
  --hero-b: #FFFFFF;
  --wa: #1FA855;
  --font-display: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1612; --surface: #10211A; --fg: #E9F0EC; --muted: #9BB0A6; --line: #223A30;
    --green: #0B2C20; --green-deep: #08241A; --gold-ink: #D6B873; --btn: #C9A55F; --btn-fg: #0A1612;
    --hero-a: #0F2A21; --hero-b: #0A1612; --wa: #2FC46C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A1612; --surface: #10211A; --fg: #E9F0EC; --muted: #9BB0A6; --line: #223A30;
  --green: #0B2C20; --green-deep: #08241A; --gold-ink: #D6B873; --btn: #C9A55F; --btn-fg: #0A1612;
  --hero-a: #0F2A21; --hero-b: #0A1612; --wa: #2FC46C;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; padding-block: 0; background: var(--bg); color: var(--fg); font: 500 1rem/1.8 var(--font-body); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--green); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.35; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; background: var(--gold); color: #10261D; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 8px 28px; border-radius: 999px; border: 2px solid var(--btn); background: var(--btn); color: var(--btn-fg); font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer; }
.btn.alt { background: transparent; color: var(--fg); border-color: var(--gold-ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #10261D; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #06210F; }
.btn.small { min-height: 40px; padding: 4px 18px; font-size: 0.9rem; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--green); color: var(--on-green); border-bottom: 1px solid rgba(196,164,96,.35); }
.top .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-green); margin-inline-end: auto; }
.brand img { width: 52px; height: 59px; object-fit: contain; }
.brand b { display: block; font: 800 1.35rem/1.15 var(--font-display); }
.brand small { display: block; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.02em; }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; padding: 8px 14px; font-weight: 700; font-size: 0.95rem; border-bottom: 2px solid transparent; color: var(--on-green); opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--gold); }
.menu { display: none; background: transparent; border: 1.5px solid rgba(196,164,96,.6); color: var(--on-green); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.nav a { transition: background-color .25s ease, color .25s ease, opacity .25s ease, border-color .25s ease, padding .25s ease; }
.theme { display: inline-flex; order: 5; background: transparent; border: 1.5px solid rgba(196,164,96,.6); color: var(--on-green); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.menu { transition: background-color .25s ease, border-color .25s ease; }
.theme:hover, .menu:hover { background: rgba(196,164,96,.16); border-color: var(--gold); }
.theme .icon, .menu .icon { transition: transform .35s ease; }
.theme:active .icon { transform: rotate(40deg) scale(.9); }
@media (max-width: 860px) {
  .menu { display: inline-flex; }
  .theme { order: 0; }
  .nav { display: flex; flex-direction: column; width: 100%; order: 3; gap: 0; overflow: hidden; max-height: 0; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .35s ease, visibility 0s linear .4s; }
  .nav.open { max-height: 480px; opacity: 1; visibility: visible; transform: none; padding-bottom: 8px; transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .35s ease, visibility 0s; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid rgba(196,164,96,.25); border-radius: 6px 6px 0 0; }
  .nav a:hover, .nav a:focus-visible, .nav a:active { background: rgba(196,164,96,.14); padding-inline-start: 16px; border-bottom-color: var(--gold); }
  .nav a[aria-current="page"] { background: rgba(196,164,96,.1); }
  .nav.open a { animation: navin .38s ease backwards; }
  .nav.open a:nth-child(1) { animation-delay: .04s; } .nav.open a:nth-child(2) { animation-delay: .08s; } .nav.open a:nth-child(3) { animation-delay: .12s; } .nav.open a:nth-child(4) { animation-delay: .16s; } .nav.open a:nth-child(5) { animation-delay: .20s; } .nav.open a:nth-child(6) { animation-delay: .24s; } .nav.open a:nth-child(7) { animation-delay: .28s; } .nav.open a:nth-child(8) { animation-delay: .32s; }
}
@keyframes navin { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .nav, .nav.open, .nav a, .theme, .menu, .theme .icon { transition: none; } .nav.open a { animation: none; } }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition: background-color .3s ease, color .3s ease, border-color .3s ease !important; }

/* hero */
.hero-band { background: linear-gradient(165deg, var(--hero-a), var(--hero-b)); }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding-block: 44px 36px; }
.hero > * { min-width: 0; }
.hero .hi { font: 700 1.5rem var(--font-display); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); font-weight: 800; color: var(--green); margin-top: 2px; }
:root[data-theme="dark"] .hero h1 { color: var(--on-green); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero h1 { color: var(--on-green); } }
.hero h2 { font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 700; color: var(--gold-ink); }
.latin { font: 700 1.5rem var(--font-display); letter-spacing: 0.18em; margin-top: 10px; direction: ltr; text-align: right; }
.latin small { display: block; font: 500 0.95rem var(--font-body); letter-spacing: 0.08em; color: var(--muted); }
.tagline { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); font-weight: 700; }
.tagline::before, .tagline::after { content: ""; height: 1px; width: 36px; background: var(--gold); flex: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-img { position: relative; margin: 0; }
.hero-img img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.hero-img figcaption { position: absolute; inset-inline-start: 14px; bottom: 14px; background: var(--green); color: var(--on-green); font: 700 1.05rem var(--font-display); padding: 8px 18px; border-radius: 999px; border: 1px solid var(--gold); }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-block: 28px; } .hero-img { order: -1; } }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 36px; }
.trust > .wp-block-group__inner-container { display: contents; }
.trust > div:not(.wp-block-group__inner-container), .trust > .wp-block-group__inner-container > div { text-align: center; padding: 6px 12px; border-inline-start: 1px solid var(--line); display: grid; justify-items: center; gap: 4px; }
.trust > div:first-child, .trust > .wp-block-group__inner-container > div:first-child { border-inline-start: 0; }
.trust .ring { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; margin-bottom: 6px; }
.trust b { font: 700 1.15rem var(--font-display); }
.trust span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr 1fr; row-gap: 24px; } .trust > div:nth-child(3), .trust > .wp-block-group__inner-container > div:nth-child(3) { border-inline-start: 0; } }

/* section heading */
.sec-title { display: flex; align-items: center; gap: 16px; justify-content: center; margin: 0 0 6px; font-family: var(--font-display); font-size: 1.4rem; }
.sec-title::before, .sec-title::after { content: ""; height: 1px; flex: 1; max-width: 120px; background: var(--gold); }
.sec-title h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 800; color: var(--gold-ink); }

/* products */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.products li { min-width: 0; background: var(--surface); border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.products img { display: block; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.products span { display: block; background: var(--green); color: var(--on-green); text-align: center; font: 700 0.98rem var(--font-display); padding: 9px 6px; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr 1fr; } }

/* call band */
.band { background: var(--green-deep); color: var(--on-green); margin-top: 56px; border-block: 1px solid rgba(196,164,96,.4); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 34px; }
.band h2 { font-size: 1.6rem; color: var(--gold); }
.band p { opacity: .85; }
.band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.num { direction: ltr; unicode-bidi: isolate; font-weight: 700; letter-spacing: 0.04em; }

/* inner pages */
.page-head { background: linear-gradient(165deg, var(--hero-a), var(--hero-b)); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 40px 30px; }
.page-head h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; color: var(--green); }
:root[data-theme="dark"] .page-head h1 { color: var(--on-green); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-head h1 { color: var(--on-green); } }
.page-head p { color: var(--muted); margin-top: 6px; max-width: 40em; }
.prose { max-width: 46em; padding-block: 36px 8px; display: grid; gap: 14px; }
.prose h2 { font-size: 1.35rem; color: var(--gold-ink); margin-top: 18px; }
.prose ul { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 6px; }
.updated { color: var(--muted); font-size: 0.9rem; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-block: 12px 0; }
.values > div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
.values .ring { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; grid-row: span 2; }
.values b { font: 700 1.1rem var(--font-display); }
.values span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 640px) { .values { grid-template-columns: 1fr; } }

.rows { border-top: 2px solid var(--green); }
.row { display: grid; grid-template-columns: 220px 1fr auto; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.row > * { min-width: 0; }
.row h3 { font-size: 1.2rem; }
.row p { color: var(--muted); }
@media (max-width: 720px) { .row { grid-template-columns: 1fr auto; gap: 4px 12px; } .row p { grid-column: 1 / -1; } }

.repair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.repair li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.repair b { display: block; font: 700 1.05rem var(--font-display); }
.repair span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 820px) { .repair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .repair { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; border-top: 3px solid var(--green); padding: 26px 14px 0 0; }
.steps li::before { content: counter(s); position: absolute; top: -17px; inset-inline-start: 0; width: 31px; height: 31px; display: grid; place-items: center; background: var(--gold); color: #10261D; font: 800 0.95rem var(--font-display); border-radius: 50%; }
.steps b { display: block; font: 700 1.1rem var(--font-display); }
.steps span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

/* contact */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; padding-block: 36px 8px; }
.contact > * { min-width: 0; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card h2 { font-size: 1.35rem; margin-bottom: 4px; }
.card > p { color: var(--muted); margin-bottom: 14px; }
form { display: grid; gap: 14px; }
label { font-weight: 700; font-size: 0.93rem; display: grid; gap: 6px; }
input, select, textarea { font: 500 1rem var(--font-body); color: var(--fg); background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 48px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-ink); }
.err { color: #B3261E; font-weight: 700; min-height: 1.4em; font-size: 0.93rem; }
:root[data-theme="dark"] .err { color: #FF8A80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8A80; } }
.sec-sub{color:var(--muted);margin:0 0 16px}
.grid2{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.box{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px}
.box h3{margin:0 0 6px;font-size:1.05rem}.box p{margin:0;color:var(--muted)}
.todo{border:1px dashed var(--gold-ink);border-radius:6px;padding:0 6px;color:var(--gold-ink);font-size:.92em}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin-bottom:8px}
.faq summary{cursor:pointer;font-weight:700}.faq details p{margin:8px 0 0;color:var(--muted)}
.hint { color: var(--muted); font-size: 0.85rem; }
.chan { display: grid; gap: 12px; }
.chan a, .chan div.item { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.chan .ring { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; grid-row: span 2; }
.chan b { font: 700 1.05rem var(--font-display); }
.chan span { color: var(--muted); font-size: 0.92rem; overflow-wrap: anywhere; }

/* footer */
footer { background: var(--green-deep); color: var(--on-green); margin-top: 64px; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding-block: 34px 28px; }
footer .wrap > * { min-width: 0; }
footer h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 8px; }
footer p, footer li { opacity: .88; font-size: 0.95rem; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
.copy { border-top: 1px solid rgba(196,164,96,.3); padding-block: 14px 24px; font-size: 0.85rem; opacity: .8; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }

/* maintenance */
.mteaser { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.mteaser > div { flex: 1 1 260px; min-width: 0; }
.mteaser h2 { font-size: 1.4rem; color: var(--gold-ink); }
.mteaser p { color: var(--muted); }
.mteaser .ring { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; flex: none; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .steps.four { grid-template-columns: 1fr; } }
.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tips li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; display: flex; gap: 12px; align-items: baseline; }
.tips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-1px); }
.mform { max-width: 640px; }

/* floating whatsapp */
.fab { position: fixed; z-index: 25; inset-inline-start: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 18px; border-radius: 999px; background: var(--wa); color: #06210F; font: 700 0.98rem var(--font-body); text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.fab.call { inset-inline-start: auto; inset-inline-end: max(16px, env(safe-area-inset-right, 0px)); background: var(--green); color: var(--on-green); border: 1.5px solid var(--gold); }
@media (max-width: 420px) { .fab span { display: none; } .fab { padding: 6px 14px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* WordPress admin bar */
.admin-bar .top{top:32px}
@media(max-width:782px){.admin-bar .top{top:46px}}

/* product cards: links + hover */
.products a { display: block; color: inherit; text-decoration: none; }
.products li { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.products img, .products svg { transition: transform .45s ease; }
.products li { position: relative; }
.products span { transition: background-color .25s ease, color .25s ease; }
.products li:hover, .products li:focus-within { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(15,58,41,.22); border-color: var(--gold); }
.products li:hover img, .products li:focus-within img, .products li:hover svg, .products li:focus-within svg { transform: scale(1.07); }
.products li:hover span, .products li:focus-within span { background: var(--gold); color: #10261D; }
.products a:focus-visible { outline-offset: -3px; }
@media (hover: none) { .products li:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .products li, .products img, .products svg, .products span { transition: none; } .products li:hover, .products li:hover img, .products li:hover svg { transform: none; } }
.plink { text-decoration: none; }
.plink:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-ink); text-decoration: underline; }
.pdetail { display: grid; align-items: start; }
.pmedia { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.pmedia img, .pmedia svg { display: block; width: 100%; height: auto; }
.pbody { padding-block: 0; max-width: none; }
.pbody h2:first-of-type { margin-top: 4px; }

/* v7: bigger product image, button hover, steps spacing */
.pdetail { grid-template-columns: minmax(0, 520px) 1fr; gap: 40px; }
.pmedia { position: sticky; top: 96px; }
.pmedia img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; background: var(--surface); }
@media (max-width: 900px) { .pdetail { grid-template-columns: 1fr; } .pmedia { position: static; max-width: none; } }
.btn, .fab { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease; }
.btn:hover, .fab:hover, .btn:focus-visible, .fab:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.25); }
.btn:active, .fab:active { transform: translateY(0); box-shadow: none; }
.btn.wa:hover { background: #0F7A3C; border-color: #0F7A3C; color: #fff; }
.btn.alt:hover { background: var(--gold); border-color: var(--gold); color: #10261D; }
.btn.gold:hover { filter: brightness(1.08); }
.btn:not(.wa):not(.alt):not(.gold):hover { background: var(--gold); border-color: var(--gold); color: #10261D; }
.fab:hover { background: #0F7A3C; color: #fff; }
.fab.call:hover { background: var(--gold); border-color: var(--gold); color: #10261D; }
@media (hover: none) { .btn:hover, .fab:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .btn, .fab { transition: none; } .btn:hover, .fab:hover { transform: none; } }
.pbody .cta { margin-top: 18px; }
.pbody .cta .btn { flex: 1 1 210px; }
.btn .num { white-space: nowrap; }
.btn { white-space: nowrap; }
@media (max-width: 560px) { .pbody .cta .btn { flex: 1 1 100%; } }
.psec { padding-block: 64px 8px; }
.psec .sec-title { margin-bottom: 48px; }
.stepsbox { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 44px 28px 28px; }
.stepsbox .steps { gap: 20px; }
.stepsbox .steps li { padding-inline-end: 14px; }
.stepsbox .steps span { margin-top: 6px; line-height: 1.7; }
@media (max-width: 820px) { .stepsbox { padding: 36px 20px 24px; } .psec { padding-block: 48px 8px; } }

/* v10: global section spacing */
.block { padding-block: 52px 8px; }
.sec-title + .steps { margin-top: 52px; }
.sec-title + *:not(.steps):not(.sec-sub) { margin-top: 28px; }
.steps li { padding-bottom: 6px; }
.steps span { margin-top: 6px; line-height: 1.7; }
.steps + p { padding-top: 40px !important; }
.block > p:last-child > .btn { margin-top: 4px; }
.wrap > p > .btn { margin-bottom: 24px; }
@media (max-width: 820px) { .steps + p { padding-top: 32px !important; } .sec-title + .steps { margin-top: 44px; } }

/* works / gallery */
.works { padding-block: 28px 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }
.chip { font: 700 .98rem var(--font-body); min-height: 44px; padding: 6px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.gallery { --n: 2; --g: 12px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.gallery li { flex: 0 0 calc((100% - var(--g) * (var(--n) - 1)) / var(--n)); min-width: 0; }
.gallery li[hidden] { display: none; }
@media (min-width: 700px) { .gallery { --n: 3; --g: 16px; } }
@media (min-width: 1080px) { .gallery { --n: 4; } }
.shot { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(to top, rgba(8,36,26,.88), rgba(8,36,26,0)); color: var(--on-green); font: 700 1.02rem var(--font-display); }
@media (prefers-reduced-motion: no-preference) { .shot img { transition: transform .35s ease; } .shot:hover img, .shot:focus-visible img { transform: scale(1.05); } }
.works-empty { text-align: center; color: var(--muted); padding: 24px 0; }
.works-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.works-cta b { display: block; font: 800 1.25rem var(--font-display); color: var(--green); }
:root[data-theme="dark"] .works-cta b { color: var(--on-green); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .works-cta b { color: var(--on-green); } }
.works-cta span { display: block; color: var(--muted); margin-top: 4px; }
.works-cta .cta { margin: 0; }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.lb::backdrop { background: rgba(5,18,13,.92); }
.lb[open] { display: grid; place-items: center; }
.lb-body { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 56px 10px 20px; }
.lb figure { margin: 0; min-width: 0; text-align: center; }
.lb figure img { display: block; max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; margin-inline: auto; border-radius: 10px; }
.lb figcaption { margin-top: 12px; font: 700 1.05rem var(--font-display); color: var(--on-green); }
.lb-x, .lb-nav { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(196,164,96,.6); background: rgba(15,58,41,.85); color: var(--on-green); cursor: pointer; flex: none; }
.lb-x { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); inset-inline-start: 12px; }
.lb-x:hover, .lb-nav:hover { background: var(--green); border-color: var(--gold); }
@media (max-width: 600px) { .lb-nav { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } #lb-prev { inset-inline-start: 24%; } #lb-next { inset-inline-end: 24%; } .lb-body { padding-bottom: 80px; } }
@media (max-width: 559px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; margin-inline: -4px; padding-inline: 4px; scrollbar-width: thin; }
  .chip { flex: none; }
  .shot .cap { font-size: .88rem; padding: 22px 10px 9px; }
}

/* home: works button */
.more { display: flex; justify-content: center; margin-top: 28px; }
.products img, .gallery img { height: auto; }
.shot img { height: 100%; }

/* articles */
.meta { color: var(--muted); font-size: .9rem; }
.page-head p.meta { margin-top: 10px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.post { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.post .pb { display: grid; gap: 8px; align-content: start; padding: 16px 18px 18px; flex: 1; }
.post h2, .post h3 { font-size: 1.12rem; }
.post a { color: inherit; text-decoration: none; }
.post a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--muted); font-size: .95rem; }
.post .meta { font-size: .85rem; }
.post:hover, .post:focus-within { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15,58,41,.18); border-color: var(--gold); }
.post:hover h2 a, .post:hover h3 a { color: var(--gold-ink); }
.tag { justify-self: start; font-size: .78rem; font-weight: 700; padding: 2px 12px; border: 1px solid var(--gold-ink); color: var(--gold-ink); border-radius: 999px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } }
@media (hover: none) { .post:hover { transform: none; box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .post { transition: none; } .post:hover { transform: none; } }
.cover { max-width: 46em; margin: 28px auto 0; }
.cover img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.article { padding-block: 24px 8px; line-height: 1.95; }
.article ul, .article ol { margin: 0; padding-inline-start: 1.4em; display: grid; gap: 8px; }
.article a { color: var(--gold-ink); text-underline-offset: 3px; }
.article a:hover { text-decoration: none; }
.callout { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tbl table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { background: var(--green); color: var(--on-green); font-family: var(--font-display); }
.tbl tbody th { font-weight: 700; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.acta { max-width: 46em; margin: 28px auto 0; }

/* header: tighter spacing on mid-width screens so 8 links stay on one row */
@media (min-width: 861px) and (max-width: 1120px) {
  .top .wrap { gap: 10px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 8px; font-size: .88rem; }
  .brand small { font-size: .72rem; }
}
@media (max-width: 560px) { .tbl table { min-width: 0; font-size: .88rem; } .tbl th, .tbl td { padding: 8px 10px; } }
