/* حلويات الصالون الأخضر — الواجهة العامة */
:root {
  --c-primary: #04594b;
  --c-primary-dark: #033f35;
  --c-accent: #c9963f;
  --c-bg: #f6f2ea;
  --c-text: #1c2a26;
  --c-beige: #ebe5d8;
  --gold-grad: linear-gradient(120deg, #b7772f 0%, #d9a548 38%, #fbcb63 62%, #c98a3a 100%);
  --f-head: "Readex Pro";
  --f-body: "Tajawal";
  --c-accent-soft: color-mix(in srgb, var(--c-accent) 18%, #fff);
  --c-accent-dark: color-mix(in srgb, var(--c-accent) 75%, #000);
  --c-muted: color-mix(in srgb, var(--c-text) 62%, #fff);
  --c-line: color-mix(in srgb, var(--c-primary) 12%, #fff);
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(10, 42, 31, .25);
  --header-h: 76px;
  --pattern: var(--brand-terrazzo-faint, none);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--f-body), "Tajawal", "Segoe UI", Tahoma, "Geeza Pro", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: clip; }
body.has-site-bg { background: var(--c-bg) var(--site-bg) center / cover fixed; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-head), var(--f-body), "Tajawal", serif; line-height: 1.3; margin: 0 0 .5em; color: inherit; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; border-radius: 6px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 100; background: var(--c-accent); color: var(--c-primary-dark); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 820px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--c-accent) var(--gold-grad); background-size: 140% 100%; background-position: 0 0; color: var(--c-primary-dark); box-shadow: 0 6px 18px -8px var(--c-accent); }
.btn-gold:hover { background-position: 100% 0; }
.btn-green { background: var(--c-primary); color: #fff; }
.btn-green:hover { background: var(--c-primary-dark); }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-lg { min-height: 54px; padding: .85rem 1.9rem; font-size: 1.08rem; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn-row.center { justify-content: center; }

.kicker {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .6rem;
  color: var(--c-accent-dark); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
}
.kicker::before, .is-center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; opacity: .8; }
.kicker a { color: inherit; }

/* ---------- header ---------- */
.site-header { background: var(--c-primary-dark); color: #fff; z-index: 50; position: relative; border-bottom: 1px solid color-mix(in srgb, var(--c-accent) 35%, transparent); }
.sticky-header .site-header { position: sticky; top: 0; }
.site-header.hdr-light { background: #fff; color: var(--c-primary); border-bottom-color: var(--c-line); }
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; flex: none; }
.logo-img { width: auto; max-height: 90px; object-fit: contain; }
.logo-text { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-primary-dark); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--c-primary-dark) 25%, transparent); }
.logo-mark .ico { width: 24px; height: 24px; }
.logo-words { display: flex; flex-direction: column; line-height: 1.15; }
.logo-words strong { font-family: var(--f-head), serif; font-size: 1.2rem; color: var(--c-accent); }
.hdr-light .logo-words strong { color: var(--c-primary); }
.logo-words small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.brand-tagline { font-size: .85rem; opacity: .8; border-inline-start: 1px solid currentColor; padding-inline-start: .75rem; }

.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; flex-wrap: nowrap; white-space: nowrap; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: .55rem .65rem; color: inherit; text-decoration: none; font-weight: 500; border-radius: 10px; transition: color .2s, background-color .2s; }
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--c-accent); }
.hdr-light .nav-link:hover, .hdr-light .nav-item.is-active > .nav-link { color: var(--c-accent-dark); }
.nav-item.is-active > .nav-link { box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.sub-toggle { background: none; border: 0; color: inherit; padding: .3rem; margin-inline-start: -.5rem; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.sub-toggle .ico { transition: transform .2s; }
.sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; inset-inline-start: 0; min-width: 210px; background: #fff; color: var(--c-text); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; border-top: 3px solid var(--c-accent); }
.sub-menu a { display: block; padding: .55rem .8rem; color: inherit; text-decoration: none; border-radius: 8px; }
.sub-menu a:hover { background: var(--c-accent-soft); color: var(--c-primary); }
.nav-item.has-sub:hover > .sub-menu, .nav-item.has-sub:focus-within > .sub-menu, .nav-item.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.nav-order { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); color: inherit; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; place-items: center; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: grid; }
  .header-actions .btn-order { min-height: 40px; padding: .4rem 1rem; font-size: .92rem; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-primary-dark); color: #fff;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 1rem 20px calc(2rem + env(safe-area-inset-bottom)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  .hdr-light .main-nav { background: #fff; color: var(--c-primary); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
  .nav-link { flex: 1; padding: .95rem .25rem; font-size: 1.12rem; }
  .nav-item.is-active > .nav-link { box-shadow: none; }
  .sub-toggle { width: 46px; height: 46px; margin: 0; }
  .nav-item.is-open > .sub-toggle .ico { transform: rotate(180deg); }
  .sub-menu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; background: transparent; color: inherit; border: 0; padding: 0 1rem .75rem; min-width: 0; }
  .nav-item.is-open > .sub-menu { display: block; }
  .nav-item.has-sub:hover > .sub-menu { display: none; }
  .nav-item.has-sub.is-open:hover > .sub-menu { display: block; }
  .sub-menu a { padding: .65rem .5rem; opacity: .9; }
  .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: inherit; }
  .nav-order { display: inline-flex; margin-top: 1.5rem; min-height: 54px; }
  .brand-tagline { display: none; }
  .main-nav { overscroll-behavior: contain; }
}
@media (max-width: 420px) {
  .logo-words strong { font-size: 1.02rem; }
  .logo-words small { display: none; }
  .logo-mark { width: 38px; height: 38px; }
  .header-inner { gap: .6rem; }
}

/* ---------- sections ---------- */
.sec { position: relative; }
.sp-normal { padding-block: clamp(56px, 8vw, 96px); }
.sp-compact { padding-block: clamp(32px, 4vw, 48px); }
.sp-large { padding-block: clamp(72px, 11vw, 140px); }
.bg-light { background: #fff; }
.bg-cream { background: var(--c-bg); }
.bg-green { background: var(--c-primary); color: #f4efe2; }
.has-pattern .bg-green { background-image: var(--pattern); background-size: 300px; }
.bg-beige { background: var(--c-beige); }
.bg-terrazzo { background: var(--c-beige) var(--brand-terrazzo-soft) 0 0 / 320px; }
.bg-terrazzo .sec-head, .bg-terrazzo .txt, .bg-terrazzo .cta { background: rgba(255, 255, 255, .88); border-radius: var(--radius); padding: 1.5rem; }
.bg-gold { background: linear-gradient(135deg, color-mix(in srgb, var(--c-accent) 26%, #fff), color-mix(in srgb, var(--c-accent) 48%, #fff)); }
.bg-image { background: var(--c-primary-dark) var(--sec-bg) center / cover no-repeat; color: #fff; }
.bg-image::before { content: ""; position: absolute; inset: 0; background: rgba(10, 30, 22, .55); }
.bg-image > * { position: relative; }
.bg-green .kicker, .bg-image .kicker { color: var(--c-accent); }
.bg-green .btn-outline, .bg-image .btn-outline { border-color: var(--c-accent); color: var(--c-accent); }
.bg-green .btn-outline:hover, .bg-image .btn-outline:hover { background: var(--c-accent); color: var(--c-primary-dark); }
.bg-green a:not(.btn), .bg-image a:not(.btn) { color: var(--c-accent); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.sec-head.is-center { text-align: center; margin-inline: auto; }
.sec-head.is-center .kicker { justify-content: center; }
.sec-title { font-size: clamp(1.75rem, 3.6vw, 2.6rem); color: var(--c-primary); }
.bg-green .sec-title, .bg-image .sec-title { color: #fff; }
.sec-sub { color: var(--c-muted); font-size: 1.1rem; }
.bg-green .sec-sub, .bg-image .sec-sub { color: rgba(255, 255, 255, .8); }
.sec-sub p:last-child, .prose p:last-child { margin-bottom: 0; }
.prose { font-size: 1.08rem; }
.prose strong { color: var(--c-primary); }
.bg-green .prose strong { color: var(--c-accent); }
.empty-note { text-align: center; color: var(--c-muted); font-size: 1.1rem; padding: 1.5rem; border: 2px dashed var(--c-line); border-radius: var(--radius); }
.empty-page { text-align: center; }

/* hero */
.sec-hero { padding: 0 !important; background: var(--c-primary-dark); }
.hero { position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero.h-full { min-height: min(calc(100svh - var(--header-h)), 860px); min-height: max(560px, min(calc(100vh - var(--header-h)), 860px)); }
.hero.h-large { min-height: 520px; }
.hero.h-medium { min-height: 340px; }
.hero.no-media { background: var(--c-primary) var(--pattern); background-size: 300px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media.is-art img { object-position: 20% center; }
.hero.has-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(8, 28, 20, .92) 0%, rgba(8, 28, 20, .7) 45%, rgba(8, 28, 20, .25) 100%); }
.hero.ov-light::before { opacity: .65; }
.hero.ov-strong::before { background: linear-gradient(270deg, rgba(8, 28, 20, .95), rgba(8, 28, 20, .8)); }
.hero.al-center::before { background: rgba(8, 28, 20, .6); }
.hero.al-center.ov-strong::before { background: rgba(8, 28, 20, .78); }
.hero-inner { padding-block: clamp(56px, 9vw, 110px); }
.hero-content { max-width: 640px; }
.hero.al-center .hero-content { margin-inline: auto; text-align: center; }
.hero.al-center .btn-row { justify-content: center; }
.hero .kicker { color: var(--c-accent); }
.hero.al-center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.15; margin-bottom: .4em; text-wrap: balance; }
.h-medium .hero-title { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 560px; }
.hero.al-center .hero-sub { margin-inline: auto; }
.hero-ornament { position: absolute; bottom: 0; inset-inline: 0; height: 5px; background: var(--gold-grad); opacity: .9; }
.hero-badge { display: block; width: 96px; height: auto; margin-bottom: 1.1rem; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.hero.al-center .hero-badge { margin-inline: auto; }
@media (max-width: 700px) { .hero-badge { width: 72px; margin-bottom: .8rem; } }
@media (max-width: 700px) {
  .hero.has-media::before { background: linear-gradient(0deg, rgba(8, 28, 20, .95) 0%, rgba(8, 28, 20, .72) 55%, rgba(8, 28, 20, .35) 100%); }
  .hero.h-full { align-items: flex-end; }
  .hero .btn-row .btn { flex: 1 1 auto; }
}

/* text / cta / figure */
.txt.al-center { text-align: center; }
.cta { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.cta.al-start { align-items: flex-start; text-align: start; }
.cta.al-end { align-items: flex-end; text-align: end; }
.cta-text { font-family: var(--f-head), serif; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--c-primary); margin-bottom: .5rem; }
.bg-green .cta-text, .bg-image .cta-text { color: #fff; }
.fig { margin-block: 0; }
.fig img { border-radius: var(--radius); width: 100%; }
.fig-full img { border-radius: 0; width: 100%; }
.fig figcaption { text-align: center; color: var(--c-muted); font-size: .95rem; margin-top: .75rem; }

/* text + image */
.ti { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ti-img-start .ti-media { order: -1; }
.ti-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.ti-media { position: relative; }
.ti-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--c-accent); border-radius: var(--radius); z-index: -1; }
.ti-media { z-index: 0; }
.ti-art { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--c-beige) var(--brand-terrazzo) center / 260px; display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; }
.ti-art-card { background: rgba(255, 255, 255, .94); border-radius: 18px; padding: 1.4rem 1.8rem; display: flex; align-items: center; gap: 1.4rem; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.ti-art-badge { width: 96px; height: auto; }
.ti-art-years { display: grid; gap: .6rem; color: var(--c-primary); font-weight: 500; }
.ti-art-years b { display: block; font-family: var(--f-head), serif; font-size: 2rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) { .ti { grid-template-columns: 1fr; } .ti-media { order: -1; } .ti-media::after { inset: 10px -10px -10px 10px; } }

/* gallery */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.g-item { display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 1; background: var(--c-line); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery, .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); } }

/* placeholder */
.ph { width: 100%; height: 100%; min-height: 100%; display: grid; place-items: center; background: color-mix(in srgb, var(--c-primary) 92%, #000) var(--pattern); background-size: 240px; color: var(--c-accent); }
.ph span { font-family: var(--f-head), serif; font-size: 3rem; opacity: .9; }
.ph .ico { width: 40px; height: 40px; opacity: .85; }

/* tabs + products */
.tab-list { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.tab { font: inherit; font-weight: 700; padding: .6rem 1.3rem; min-height: 44px; border-radius: 999px; border: 2px solid var(--c-line); background: #fff; color: var(--c-primary); cursor: pointer; transition: .2s; }
.tab:hover { border-color: var(--c-accent); }
.tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.bg-green .tab { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.bg-green .tab[aria-selected="true"] { background: var(--c-accent); color: var(--c-primary-dark); border-color: var(--c-accent); }
@media (max-width: 700px) {
  .tab-list { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .5rem; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}
.product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; color: var(--c-text); }
.product-card:hover { transform: translateY(-4px); }
.pc-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-line); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.pc-name { font-size: 1.2rem; color: var(--c-primary); margin-bottom: .3rem; }
.pc-desc { color: var(--c-muted); font-size: .97rem; margin-bottom: .5rem; }
.pc-price { margin: auto 0 0; font-weight: 700; color: var(--c-accent-dark); font-size: 1.05rem; }
@media (max-width: 520px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pc-body { padding: .75rem .85rem 1rem; } .pc-name { font-size: 1.05rem; } .pc-desc { font-size: .88rem; } }

/* featured product */
.fp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.fp-img-end .fp-media { order: 2; }
.fp-media { position: relative; }
.fp-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--c-accent); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.fp-img.is-art { background: var(--c-primary-dark); }
.fp-media::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--c-accent) 70%, transparent); }
.fp-price { font-size: 1.3rem; font-weight: 700; color: var(--c-accent); }
.fp .prose { color: inherit; opacity: .92; }
@media (max-width: 860px) { .fp { grid-template-columns: 1fr; text-align: center; } .fp-media { max-width: 340px; margin: 0 auto 1rem; order: 0 !important; } .fp .kicker { justify-content: center; } .fp .btn-row { justify-content: center; } }

/* offers */
.offer { display: grid; grid-template-columns: 1fr; gap: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--c-primary); color: #fff; box-shadow: var(--shadow); position: relative; }
.has-pattern .offer { background-image: var(--pattern); background-size: 300px; }
.offer.has-img { grid-template-columns: 1.1fr 1fr; }
.offer-text { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.offer .kicker { color: var(--c-accent); }
.offer-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: #fff; }
.offer-desc { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.offer-date { display: inline-flex; align-items: center; gap: .4rem; color: var(--c-accent); font-weight: 700; font-size: .95rem; margin: 0; }
.offer .btn-green { background: var(--c-accent); color: var(--c-primary-dark); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.offers-stack { display: grid; gap: 24px; }
.offers-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.offers-grid .offer.has-img { grid-template-columns: 1fr; }
.offers-grid .offer-media { order: -1; }
.offers-grid .offer-media img { min-height: 0; aspect-ratio: 16 / 9; }
.offers-grid .offer-title { font-size: 1.5rem; }
@media (max-width: 760px) { .offer.has-img { grid-template-columns: 1fr; } .offer-media { order: -1; } .offer-media img { min-height: 0; aspect-ratio: 16 / 9; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; top: 34px; inset-inline: 8%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-accent), transparent); }
.tl-item { text-align: center; position: relative; padding: 0 .5rem; }
.tl-year { display: inline-grid; place-items: center; min-width: 68px; height: 68px; padding: 0 .9rem; border-radius: 999px; background: var(--c-primary); color: var(--c-accent); font-family: var(--f-head), serif; font-weight: 700; font-size: 1.25rem; border: 3px solid var(--c-accent); position: relative; margin-bottom: 1rem; box-shadow: 0 0 0 8px var(--c-bg); }
.bg-light .tl-year { box-shadow: 0 0 0 8px #fff; }
.tl-title { font-size: 1.25rem; color: var(--c-primary); margin-bottom: .3rem; }
.tl-text { color: var(--c-muted); margin: 0; }
.bg-green .tl-title { color: #fff; } .bg-green .tl-text { color: rgba(255, 255, 255, .8); } .bg-green .tl-year { box-shadow: 0 0 0 8px var(--c-primary); }
@media (max-width: 760px) {
  .timeline { grid-auto-flow: row; gap: 28px; padding-inline-start: 8px; }
  .timeline::before { top: 0; bottom: 0; inset-inline-start: 41px; inset-inline-end: auto; width: 2px; height: auto; background: linear-gradient(var(--c-accent), transparent); }
  .tl-item { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; text-align: start; align-items: center; }
  .tl-year { grid-row: span 2; margin: 0; }
  .tl-text { grid-column: 2; }
}

/* branches */
.branch-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.branch-card { background: #fff; color: var(--c-text); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid var(--c-line); }
.bc-media { position: relative; aspect-ratio: 16 / 9; background: var(--c-line); overflow: hidden; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; }
.bc-city { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--c-accent); color: var(--c-primary-dark); font-weight: 700; font-size: .85rem; padding: .2rem .75rem; border-radius: 999px; }
.bc-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.bc-name { font-size: 1.25rem; color: var(--c-primary); margin-bottom: .5rem; }
.bc-info { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; font-size: .97rem; color: var(--c-muted); }
.bc-info li { display: flex; gap: .5rem; align-items: flex-start; }
.bc-info .ico { color: var(--c-accent-dark); margin-top: .25em; }
.bc-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; }
.bc-actions .btn { flex: 1 1 auto; }
@media (max-width: 520px) { .branch-grid { grid-template-columns: 1fr; } .bc-media { aspect-ratio: 21 / 9; } }

/* faq */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; color: var(--c-text); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; font-weight: 700; font-size: 1.08rem; color: var(--c-primary); min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { transition: transform .2s; color: var(--c-accent-dark); }
.faq-item[open] .faq-ico { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--c-line); }
.faq-answer { padding: 1rem 1.25rem 1.25rem; color: var(--c-muted); }

/* contact */
.contact { display: grid; gap: clamp(28px, 5vw, 64px); }
.contact.has-form { grid-template-columns: 1fr 1.1fr; align-items: start; }
.contact:not(.has-form) { text-align: center; justify-items: center; }
.contact:not(.has-form) .sec-head { margin-inline: auto; text-align: center; }
.contact:not(.has-form) .btn-row, .contact:not(.has-form) .social { justify-content: center; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact:not(.has-form) .contact-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); width: 100%; text-align: start; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list small { display: block; color: var(--c-muted); font-size: .85rem; }
.contact-list a { font-weight: 700; text-decoration: none; }
.ci-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-primary); display: grid; place-items: center; flex: none; }
.social { display: flex; gap: .6rem; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary); color: var(--c-accent); transition: .2s; }
.social a:hover { background: var(--c-accent); color: var(--c-primary-dark); transform: translateY(-2px); }
.contact-form-wrap { background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); color: var(--c-text); border-top: 4px solid var(--c-accent); }
.cf-title { color: var(--c-primary); font-size: 1.4rem; }
.contact-form { display: grid; gap: 1rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f-field { display: grid; gap: .35rem; font-weight: 500; font-size: .95rem; }
.f-field b { color: #b3261e; }
.f-field input, .f-field select, .f-field textarea { font: inherit; font-size: 16px; width: 100%; padding: .75rem .9rem; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fcfbf7; color: var(--c-text); min-height: 50px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.f-field input[dir="ltr"] { text-align: right; }
.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success h3 { color: var(--c-primary); }
.fs-ico { width: 72px; height: 72px; border-radius: 50%; background: #e3f3e8; color: #1c7c43; display: inline-grid; place-items: center; margin-bottom: 1rem; }
.fs-ico .ico { width: 40px; height: 40px; }
.form-error { background: #fdecea; color: #8c1d18; border-radius: 12px; padding: .8rem 1rem; font-weight: 500; }
.preview-note { border: 2px dashed var(--c-accent); background: var(--c-accent-soft); color: var(--c-text); box-shadow: none; }
@media (max-width: 860px) { .contact.has-form { grid-template-columns: 1fr; } }

/* news / team */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--c-text); }
.nc-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.nc-media img { width: 100%; height: 100%; object-fit: cover; }
.nc-body { padding: 1.1rem 1.25rem 1.4rem; }
.nc-date { color: var(--c-accent-dark); font-size: .88rem; font-weight: 700; }
.nc-title { font-size: 1.25rem; margin: .3rem 0 .5rem; }
.nc-title a { color: var(--c-primary); text-decoration: none; }
.article .lead { font-size: 1.25rem; color: var(--c-muted); }
.article-img { border-radius: var(--radius); margin: 1.5rem 0; width: 100%; }
.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); text-align: center; }
.tm-media { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin: 0 auto 1rem; border: 4px solid var(--c-accent); }
.tm-media img { width: 100%; height: 100%; object-fit: cover; }
.tm-media .ph span { font-size: 2.4rem; }
.tm-name { font-size: 1.2rem; color: var(--c-primary); margin-bottom: .1rem; }
.tm-role { color: var(--c-accent-dark); font-weight: 700; margin-bottom: .5rem; }
.tm-bio { color: var(--c-muted); font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-primary-dark); color: rgba(255, 255, 255, .82); padding-top: clamp(48px, 7vw, 80px); border-top: 4px solid var(--c-accent); }
.has-pattern .site-footer { background-image: var(--pattern); background-size: 300px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.f-about { margin-top: 1rem; font-size: .98rem; }
.f-title { font-size: 1.15rem; color: var(--c-accent); margin-bottom: 1rem; }
.f-links, .f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.f-links a, .f-links span, .f-contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.f-links a:hover, .f-contact a:hover { color: var(--c-accent); }
.f-contact { margin-bottom: 1.25rem; }
.f-contact li { display: flex; gap: .55rem; align-items: flex-start; }
.f-contact .ico { color: var(--c-accent); margin-top: .3em; }
.f-social { margin-top: 1.25rem; }
.f-social a { background: rgba(255, 255, 255, .08); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0 calc(1.1rem + env(safe-area-inset-bottom)); font-size: .9rem; text-align: center; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .f-branches { grid-template-columns: 1fr 1fr; } }

/* ---------- floating order (mobile) ---------- */
.floating-order {
  position: fixed; z-index: 60; inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
  display: none; align-items: center; justify-content: center; gap: .55rem;
  min-height: 56px; border-radius: 999px; background: var(--c-accent); color: var(--c-primary-dark);
  font-weight: 800; font-size: 1.1rem; text-decoration: none; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transform: translateY(140%); transition: transform .3s ease;
}
.floating-order .ico { width: 22px; height: 22px; }
.floating-order.is-visible { transform: none; }
@media (max-width: 860px) {
  .floating-order { display: flex; }
  .site-footer { padding-bottom: 76px; }
  .nav-open .floating-order { transform: translateY(140%); }
}

/* ---------- misc ---------- */
.site-flash { padding: .9rem 0; font-weight: 700; }
.flash-success { background: #e3f3e8; color: #155c32; }
.flash-error { background: #fdecea; color: #8c1d18; }
.preview-bar { position: sticky; top: 0; z-index: 70; background: #ffe08a; color: #3d2d00; text-align: center; font-weight: 700; padding: .45rem 1rem; font-size: .92rem; }
.sticky-header .preview-bar + .skip-link + .site-header { top: 34px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .floating-order, .site-footer { display: none; } }
.bc-media:has(.ph-branch) { aspect-ratio: 3 / 1; }
@media (max-width: 480px) {
  .header-inner { gap: .5rem; }
  .brand, .logo-text, .logo-words { min-width: 0; }
  .brand { flex: 1 1 auto; }
  .logo-words strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-img { max-width: 46vw; height: auto !important; max-height: 52px; }
  .header-actions { flex: none; gap: .4rem; }
  .header-actions .btn-order { padding: .35rem .85rem; font-size: .9rem; min-height: 40px; }
  .header-actions .btn-order .ico { display: none; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* ---------- product order button + details sheet ---------- */
.pc-order { margin-top: .75rem; align-self: flex-start; }
.pc-price + .pc-order { margin-top: .6rem; }
.pc-body .pc-price { margin-top: auto; }
.pc-body .pc-desc + .pc-order, .pc-body .pc-name + .pc-order { margin-top: auto; }
@media (max-width: 520px) { .pc-order { width: 100%; } }
.product-sheet { border: 0; padding: 0; border-radius: 22px; width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); color: var(--c-text); background: #fff; }
.product-sheet::backdrop { background: rgba(6, 22, 16, .6); backdrop-filter: blur(2px); }
.ps-close { position: absolute; top: 10px; inset-inline-end: 10px; margin: 0; z-index: 2; }
.ps-close button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; display: grid; place-items: center; color: var(--c-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.ps-media { aspect-ratio: 16 / 10; background: var(--c-primary) var(--pattern); background-size: 240px; }
.ps-media:empty { display: none; }
.ps-media img { width: 100%; height: 100%; object-fit: cover; }
.ps-body { padding: 1.25rem 1.4rem 1.5rem; }
.ps-body h2 { color: var(--c-primary); font-size: 1.5rem; margin: 0 2.5rem .25rem 0; }
.ps-price { color: var(--c-accent-dark); font-weight: 700; font-size: 1.15rem; margin: 0 0 .4rem; }
.ps-price:empty, .ps-desc:empty { display: none; }
.ps-desc { color: var(--c-muted); }
.ps-steps { margin: .75rem 0 1.1rem; padding-inline-start: 1.25rem; background: var(--c-accent-soft); border-radius: 14px; padding: .8rem 2rem .8rem 1rem; font-size: .95rem; }
.ps-steps li + li { margin-top: .3rem; }
.ps-actions { display: grid; gap: .6rem; }
.ps-actions .btn { width: 100%; }
.ps-copied { margin: .6rem 0 0; text-align: center; color: #1c7c43; font-weight: 700; min-height: 1.4em; }
@media (max-width: 560px) {
  .product-sheet { margin: auto auto 0; width: 100vw; max-width: 100vw; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}

/* ---------- partners ---------- */
.partner-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.partner-logos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.partner-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; color: var(--c-text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pt-media { width: 100%; height: 100px; display: grid; place-items: center; }
.pt-img { max-width: 80%; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.partner-logos .partner-card { padding: 1rem; }
.partner-logos .pt-media { height: 80px; }
.pt-initial { width: 72px; height: 72px; border-radius: 50%; background: var(--c-primary); color: var(--c-accent); display: grid; place-items: center; font-family: var(--f-head), serif; font-size: 2rem; }
.pt-name { font-weight: 700; color: var(--c-primary); font-size: 1.1rem; }
.pt-desc { color: var(--c-muted); font-size: .95rem; }

/* ---------- careers ---------- */
.careers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.careers:not(:has(.contact-form-wrap)) { grid-template-columns: 1fr; max-width: 820px; }
.job-list { display: grid; gap: 14px; }
.job-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.15rem 1.25rem; color: var(--c-text); scroll-margin-top: calc(var(--header-h) + 16px); }
.job-title { font-size: 1.25rem; color: var(--c-primary); margin-bottom: .35rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--c-muted); font-size: .93rem; margin-bottom: .6rem; }
.job-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.job-meta .ico { color: var(--c-accent-dark); }
.job-details { margin-bottom: .8rem; }
.job-details summary { cursor: pointer; font-weight: 700; color: var(--c-primary); min-height: 40px; display: flex; align-items: center; }
.job-details h4 { margin: .75rem 0 .3rem; font-size: 1rem; color: var(--c-primary); }
.job-req { margin: 0; padding-inline-start: 1.2rem; color: var(--c-muted); }
.f-field input[type=file] { padding: .6rem; background: #fff; }
@media (max-width: 860px) { .careers { grid-template-columns: 1fr; } }
.form-success:focus, .form-error:focus { outline: none; }

/* ---------- brand identity ---------- */
.ph-terrazzo { background: var(--c-beige) var(--brand-terrazzo) center / 220px; }
.ph-terrazzo span { display: none; }
.f-tagline { margin: .9rem 0 0; font-weight: 700; letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.1rem; }
.f-badge { width: 76px; height: auto; margin-top: 1.4rem; }
.logo-img.is-brand { width: auto; }
.site-footer .logo-img.is-brand { max-width: 260px; height: auto !important; }
.site-footer { border-top: 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 10px; background: var(--c-beige) var(--brand-terrazzo) 0 0 / 160px; }
.kicker::before, .is-center .kicker::after { background: var(--gold-grad); }
.tl-year { border-color: transparent; background: linear-gradient(var(--c-primary), var(--c-primary)) padding-box, var(--gold-grad) border-box; }
.fp-img { border-color: transparent; background: linear-gradient(var(--c-primary-dark), var(--c-primary-dark)) padding-box, var(--gold-grad) border-box; }
.contact-form-wrap { border-top: 0; box-shadow: var(--shadow), inset 0 4px 0 var(--c-accent); }
.floating-order { background: var(--c-accent) var(--gold-grad); }
