/* 01-base.css */
/* ==========================================================================
   Cabinet Nejjar: 01 base (fonts, tokens, reset, typography)
   src/css/*.css are concatenated in order into dist/assets/css/main.css.
   Logical properties everywhere so the Arabic RTL layout mirrors itself.
   ========================================================================== */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face {
  font-family: "Noto Kufi Arabic"; src: url("../fonts/noto-kufi-arabic.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  /* Brand */
  --green: #4a6600;        /* buttons, links, top bar, active nav, bullets: 6.6:1 with white */
  --green-dark: #3a5000;   /* hover */
  --green-pale: #eef4d6;   /* placeholders, icon backgrounds */
  --lime: #b5d400;         /* accents only (icon details, underlines), never text on white */
  --lime-soft: #dce8a8;    /* big quote mark */
  /* Neutrals */
  --bg: #f8f9fb;
  --white: #fff;
  --head: #111;
  --text: #4b5563;         /* 7.0:1 on #F8F9FB */
  --line: #e7e9ee;
  --wa: #25d366;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --radius-s: 10px;
  --shadow: 0 4px 20px rgba(0, 0, 0, .05);
  --shadow-photo: 0 10px 30px rgba(0, 0, 0, .10);
  --shadow-hover: 0 10px 34px rgba(0, 0, 0, .09);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 100px;
}
html[lang="ar"] { --font: "Noto Kufi Arabic", "Poppins", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-weight: 400; font-size: 1.0625rem; line-height: 1.75;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
html[lang="ar"] body { line-height: 1.95; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; }
html[lang="ar"] :is(h1, h2, h3, h4) { line-height: 1.55; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
html[lang="ar"] :is(h1, h2) { letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-inline-start: 1.25em; margin: 0 0 1em; }
strong { color: var(--head); font-weight: 500; }
address { font-style: normal; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; color: #fff; }

/* Layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 1024px; margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.1rem; }
.grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) and (max-width: 959px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }

/* Utilities */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.small { font-size: .92rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.todo {
  display: block; background: #fff8db; border: 1px dashed #b38600; color: #5c4400;
  border-radius: var(--radius-s); padding: 12px 16px; font-size: .95rem; margin: 0 0 1em; line-height: 1.6;
}
.todo::before { content: "TODO · "; font-weight: 700; }

/* Reveal on scroll (only with JS, only without reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .35s ease-out, transform .35s ease-out; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* 02-chrome.css */
/* 02 chrome: top bar, header, nav, breadcrumb, footer, floating WhatsApp, mobile bar */

/* Top bar */
.topbar { background: var(--green); color: #fff; font-size: .9rem; font-weight: 500; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 18px; height: 18px; }
.topbar .btn-top {
  background: #fff; color: var(--green); border-radius: var(--radius-s); padding: 7px 16px; font-weight: 500;
}
.topbar .btn-top:hover { background: var(--green-pale); color: var(--green-dark); text-decoration: none; }
@media (max-width: 767px) { .topbar .hide-sm { display: none; } .topbar-inner { min-height: 44px; } .topbar .btn-top { padding: 4px 12px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--head); text-decoration: none; }
.brand img, .brand svg { height: 72px; width: auto; }
.nav { margin-inline-start: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.nav-list a { color: var(--head); text-decoration: none; font-weight: 500; font-size: 1.02rem; padding: 6px 0; position: relative; }
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list a.is-active { color: var(--green); }
.nav-list a[aria-current="page"]::after, .nav-list a.is-active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--lime);
}
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.lang-switch a, .lang-switch span {
  display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 7px;
  font-size: .82rem; font-weight: 500; text-decoration: none; color: var(--head);
}
.lang-switch [aria-current="true"] { background: var(--green); color: #fff; }
.lang-switch a:hover { background: var(--green-pale); }
.nav-list .lang-switch a::after { display: none; }
.nav-toggle {
  display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: #fff; color: var(--green); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1023px) {
  :root { --header-h: 80px; }
  .brand img, .brand svg { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%; margin: 0; display: none;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
    padding: 12px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"]::after, .nav-list a.is-active::after { display: none; }
  .nav-list .nav-lang { padding-top: 16px; }
}

/* Breadcrumb */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; margin: 0 0 clamp(36px, 6vw, 72px); font-size: .92rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; }
.breadcrumbs li + li::before { content: "›"; color: #9aa1ad; font-size: 1.1rem; line-height: 1; }
html[dir="rtl"] .breadcrumbs li + li::before { content: "‹"; }
.breadcrumbs a { color: var(--text); display: inline-flex; }
.breadcrumbs a svg { width: 20px; height: 20px; }
.breadcrumbs [aria-current="page"] { color: var(--green); font-weight: 500; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 80px) 28px; }
.footer-cols { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-title { font-size: 1.05rem; color: var(--green); margin-bottom: 1.1em; display: inline-block; position: relative; padding-bottom: 4px; }
.footer-title::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 26px; height: 3px; border-radius: 3px; background: var(--lime); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li + li { margin-top: .55em; }
.footer-list a { color: var(--text); text-decoration: none; }
.footer-list a:hover { color: var(--green); text-decoration: underline; }
.footer-id { margin-top: clamp(40px, 6vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .footer-id { grid-template-columns: auto 1fr auto; gap: 40px; } }
.footer-id svg, .footer-id img { height: 52px; width: auto; }
.footer-id address { font-size: .95rem; }
.footer-id address a { color: var(--text); }
.footer-copy { margin-top: 24px; font-size: .88rem; color: #6b7280; }

/* Floating WhatsApp (desktop) */
.fab-wa {
  position: fixed; inset-inline-start: 24px; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(74, 102, 0, .35);
  transition: transform .2s, background-color .2s;
}
.fab-wa svg { width: 30px; height: 30px; }
/* Arabic: bottom-left (the end side in RTL), away from the start of the text lines */
html[dir="rtl"] .fab-wa { inset-inline-start: auto; inset-inline-end: 24px; }
/* Keep the footer's last lines clear of the floating button (58px + 24px offset) */
@media (min-width: 768px) { .site-footer { padding-bottom: 104px; } }
.fab-wa:hover { background: var(--green-dark); color: #fff; transform: scale(1.06); }
@media (max-width: 767px) { .fab-wa { display: none; } }

/* Mobile sticky action bar */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    position: fixed; inset: auto 0 0 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff;
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .08);
  }
  .mobile-bar .btn { width: 100%; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .fab-wa, .fab-wa:hover { transition: none; transform: none; } }

/* 03-components.css */
/* 03 components: buttons, banner, cards, quote, media, zig-zag, values, bullets, icons */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .75em 1.5em;
  border-radius: var(--radius-s); border: 2px solid var(--green); background: var(--green); color: #fff;
  font-family: var(--font); font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--outline { background: transparent; color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--green); }
.btn--white:hover { background: var(--green-pale); border-color: var(--green-pale); color: var(--green-dark); }
.btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
html[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn .arrow { transition: none; transform: none; } }

/* Page banner */
.banner { background: var(--bg); padding-block: 24px clamp(64px, 8vw, 100px); }
.banner--home { padding-top: clamp(56px, 8vw, 110px); }
.banner h1 { max-width: 900px; }
.banner .intro { max-width: 750px; font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #1f2937; line-height: 1.7; margin-bottom: 1.6em; }
.banner-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .95rem; }
.banner-facts li { display: inline-flex; align-items: center; gap: 8px; }
.banner-facts svg { width: 22px; height: 22px; }

/* Card */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; transition: box-shadow .25s, transform .25s; }
.card h3 { font-size: 1.2rem; margin-bottom: .5em; }
.card p { font-size: 1rem; }
.card--hover:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.card--flat { box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 559px) { .card { padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .card--hover:hover { transform: none; } }

/* Icons: two-tone line icons (green strokes + one lime accent) */
.ico { width: 52px; height: 52px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .acc { stroke: var(--lime); stroke-width: 2.2; }
.ico .fill-acc { fill: var(--lime); stroke: none; }
.card .ico { margin-bottom: 22px; }

/* Quote card */
.quote-card { position: relative; max-width: 1024px; margin-inline: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px); padding-inline-start: clamp(28px, 9vw, 120px); }
.quote-card::before {
  content: "\201C"; position: absolute; inset-inline-start: clamp(16px, 3vw, 44px); top: clamp(0px, 1vw, 12px);
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(5rem, 10vw, 8rem); line-height: 1; color: var(--lime-soft);
}
html[dir="rtl"] .quote-card::before { content: "\201D"; }
.quote-card blockquote { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: #1f2937; line-height: 1.7; position: relative; }
.quote-card figcaption { margin-top: 16px; font-size: .95rem; font-style: italic; }
@media (max-width: 559px) { .quote-card { padding-top: 76px; } }

/* Media + text */
.media-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) {
  .media-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .media-text--reverse > .media { order: 2; }
}
.media-text h2, .media-text h3 { margin-bottom: .7em; }
.media-text p { font-size: 1.02rem; }

/* Photo / placeholder (16:10, radius 16, soft shadow) */
.photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-photo); background: var(--green-pale); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 4 / 5; max-width: 480px; }
.photo-ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px;
  background: radial-gradient(circle at 30% 25%, #f6fae6, var(--green-pale) 70%); }
.photo-ph .ico { width: 30%; max-width: 110px; height: auto; opacity: .9; }
.photo-ph small { display: block; margin-top: 10px; font-size: .85rem; color: var(--green); font-weight: 500; }

/* Zig-zag rows */
.zigzag { display: grid; gap: clamp(64px, 8vw, 100px); }
.zigzag .media-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.zigzag .lead { font-size: 1.05rem; }

/* Bullets (green dots) */
.bullets { list-style: none; padding: 0; margin: 1.2em 0 1.6em; }
.bullets li { position: relative; padding-inline-start: 22px; margin-top: .6em; }
.bullets li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Values (icon left, text right) */
.values { display: grid; gap: 24px; max-width: 1160px; margin-inline: auto; }
@media (min-width: 860px) { .values { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.value { display: flex; gap: 24px; align-items: flex-start; }
.value .ico { width: 60px; height: 60px; flex: none; margin: 0; }
.value h3 { font-size: 1.2rem; }
.value:hover h3 { color: var(--green); }

/* CTA band */
.cta-band { background: var(--green); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { color: #f1f5e4; margin: 0; max-width: 60ch; }
.cta-band::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid var(--lime); opacity: .35; }
.cta-band > * { position: relative; z-index: 1; }

/* 04-pages.css */
/* 04 page parts: FAQ, steps, service layout, contact, map, Instagram, legal, 404, print */

/* FAQ (native <details>) */
.faq { display: grid; gap: 14px; max-width: 960px; margin-inline: auto; }
.faq details { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-hover); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 28px; color: var(--head); font-weight: 500; font-size: 1.05rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--green-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6600' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq .faq-body { padding: 0 28px 24px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Steps (numbered white cards) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 28px; padding-inline-start: 88px; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 28px; top: 24px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 700; box-shadow: 0 0 0 5px var(--green-pale);
}
.steps h3 { font-size: 1.08rem; margin: 0 0 .25em; }
.steps p { font-size: 1rem; }

/* Service detail layout */
.service-layout { display: grid; gap: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) { .service-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.service-main > * + * { margin-top: clamp(48px, 6vw, 72px); }
.service-main h2 { margin-bottom: .7em; }
.definition { border-inline-start: 5px solid var(--lime); }
.definition p { font-size: 1.08rem; color: #1f2937; }
.sticky-aside { display: grid; gap: 24px; }
@media (min-width: 1024px) { .sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card h2 { font-size: 1.3rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 10px; }
.service-links { list-style: none; padding: 0; margin: 0; }
.service-links li + li { border-top: 1px solid var(--line); }
.service-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--head); text-decoration: none; font-weight: 500; }
.service-links a .ico { width: 32px; height: 32px; }
.service-links a:hover, .service-links a[aria-current="page"] { color: var(--green); }
.note { font-size: .95rem; padding: 16px 20px; border-radius: var(--radius-s); background: var(--green-pale); color: #2f3a12; }
.disclaimer { font-size: .9rem; color: #6b7280; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { width: 40px; height: 40px; flex: none; }
.contact-list strong { display: block; color: var(--head); font-weight: 700; font-size: .95rem; }
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--green); }
.contact-list .alt-addr { display: block; font-size: .92rem; margin-top: 2px; color: var(--text); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours th { color: var(--head); font-weight: 500; }

/* Map (click-to-load facade) */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--green-pale); box-shadow: var(--shadow-photo); }
@media (max-width: 640px) { .map-frame { aspect-ratio: 1 / 1; } } /* tall enough for the facade text; no min-height (it would force a width through the ratio) */
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background: repeating-linear-gradient(45deg, transparent 0 22px, rgba(74, 102, 0, .05) 22px 24px), radial-gradient(circle at 50% 40%, #fff, var(--green-pale) 75%); }
.map-facade .ico { width: 56px; height: 56px; margin: 0 auto 12px; }
.map-facade p { margin: 0 0 16px; }

/* Instagram */
.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }
.insta-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--green-pale); box-shadow: var(--shadow); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.insta-tile:hover img { transform: scale(1.04); }
.insta-tile .photo-ph .ico { width: 40%; }
@media (prefers-reduced-motion: reduce) { .insta-tile img, .insta-tile:hover img { transition: none; transform: none; } }

/* Legal */
.legal { max-width: 900px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.legal dt { font-weight: 500; color: var(--head); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 10px; } }

/* 404 */
.notfound { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: var(--green); margin-bottom: 12px; }
.notfound .btn-row { justify-content: center; }

@media print {
  .topbar, .site-header, .mobile-bar, .fab-wa, .map-frame { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* 05-gallery.css */
/* ---------- Highlighted words in headings (green, lime underline; never the default yellow) ---------- */
mark { background: none; color: var(--green); padding: 0; }
h1 mark { background: linear-gradient(transparent 78%, var(--lime-soft) 78%); }

/* ---------- Logo ---------- */
.logo { display: block; width: auto; }
.logo-text { font-weight: 700; font-size: 1.4rem; color: var(--head); }
.footer-id .logo { height: 60px; }

/* ---------- Before / after gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.gallery li { margin: 0; }
.case {
  display: block; overflow: hidden; border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); aspect-ratio: 1 / 1; position: relative;
}
.case img { width: 100%; height: 100%; object-fit: contain; background: #fff; transition: transform .35s ease; }
.case::after {
  content: ""; position: absolute; inset-block-end: 12px; inset-inline-end: 12px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 22px no-repeat;
  opacity: .92;
}
.case:hover img, .case:focus-visible img { transform: scale(1.04); }
.case:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.case-cap { margin: 12px 4px 0; font-size: .95rem; font-weight: 500; color: var(--head); line-height: 1.5; }
.service-main .gallery-block .section-head { text-align: start; margin-inline: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 14, 4, .88); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 64px 72px; max-width: 100%; max-height: 100%; display: grid; justify-items: center; gap: 14px; }
.lightbox img {
  max-width: min(92vw, 900px); max-height: calc(100vh - 170px); width: auto; height: auto;
  border-radius: 12px; background: #fff;
}
.lightbox figcaption { color: #fff; text-align: center; font-weight: 500; max-width: 720px; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--head); font: 500 1.9rem/1 Poppins, sans-serif;
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.lb-btn:hover { background: var(--green-pale); }
.lb-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.lb-close { inset-block-start: 16px; inset-inline-end: 16px; }
.lb-prev { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 16px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .lb-prev, [dir="rtl"] .lb-next { scale: -1 1; }
@media (max-width: 640px) {
  .lightbox figure { padding: 72px 8px 88px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
}

/* ---------- Media + text inside a card (Invisalign partner) ---------- */
.media-text--card { grid-template-columns: minmax(0, 260px) 1fr; gap: 32px; align-items: center; }
.media-text--card .photo { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .media-text--card { grid-template-columns: 1fr; } .media-text--card .photo { max-width: 320px; } }

@media (prefers-reduced-motion: reduce) { .case img { transition: none; } }

/* 06-hero.css */
/* 06: two-column banner (home portrait / service illustration) and illustration frames */

/* Text left, image right; stacks on mobile (image under the text). */
.banner-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .banner-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .banner--home .banner-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
}
.banner--split h1 { max-width: none; }
.banner--split .intro { max-width: 640px; }
.banner--home .banner-media .photo--portrait { max-width: 460px; margin-inline-start: auto; }
@media (max-width: 899px) {
  .banner--home .banner-media .photo--portrait { max-width: 360px; margin-inline: auto; }
  .banner-media .photo--illus { max-width: 560px; }
}

/* Soft lime accent behind the hero portrait (decorative) */
.banner--home .banner-media { position: relative; }
.banner--home .banner-media::before {
  content: ""; position: absolute; inset-block-start: -18px; inset-inline-end: -18px;
  width: 60%; height: 60%; border-radius: var(--radius); background: var(--green-pale); z-index: 0;
}
.banner--home .banner-media .photo { position: relative; z-index: 1; }
@media (max-width: 899px) { .banner--home .banner-media::before { display: none; } }

/* Illustrations: same 16:10 frame, radius and soft shadow as photos; SVG shown whole */
.photo--illus { background: #f3f7e6; }
.photo--illus img { object-fit: contain; }
