/* ==========================================================================
   UrbOvan services site: builds on styles.css tokens and components.
   ========================================================================== */
.btn-accent { background: var(--clay); color: #fff; box-shadow: 0 6px 16px rgba(180, 83, 46, .25); }
.btn-accent:hover { background: var(--clay-deep); }
.btn-ghost-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .26); }

/* ---------- Header: services dropdown + book button ---------- */
.nav-drop { position: relative; }
.nav-drop > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; font-size: .93rem; font-weight: 500; transition: background-color .2s;
}
.nav-drop > button:hover, .nav-drop.open > button { background: var(--sage); }
.nav-drop > button[aria-current="page"] { color: var(--forest); font-weight: 600; }
.nav-drop > button .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-drop.open > button .icon { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 580px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-drop.open .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-panel a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background-color .2s; }
.nav-panel a:hover { background: var(--sage); }
.nav-panel .ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--sage); color: var(--forest); transition: background-color .2s, color .2s; }
.nav-panel a:hover .ic { background: var(--forest); color: #fff; }
.nav-panel b { display: block; font-size: .92rem; font-weight: 600; color: var(--forest-deep); }
.nav-panel small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.nav-panel .all { grid-column: 1 / -1; justify-content: center; font-weight: 600; color: var(--forest); font-size: .9rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.header-v2 .header-actions { margin-left: auto; align-items: center; }
.header-v2 .btn-accent { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: .9rem; margin-left: 6px; }
.mobile-nav details summary {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 4px;
  border-bottom: 1px solid var(--line); font-weight: 500; cursor: pointer; list-style: none;
}
.mobile-nav details summary::-webkit-details-marker { display: none; }
.mobile-nav details a { padding-left: 16px; font-size: .95rem; color: var(--muted); }

.sticky-book {
  display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
  gap: 8px; padding: 8px; border-radius: 18px; background: rgba(252, 250, 245, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-lg);
}
.sticky-book .btn { flex: 1; min-height: 48px; padding: 0 12px; }

/* ---------- Home hero ---------- */
.hero-v2 .hero-card { min-height: clamp(540px, 80vh, 720px); }
.hero-v2 .hero-card > img { object-position: 60% 55%; }
.hero-v2 .hero-content { max-width: 640px; }
.hero-v2 h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.quick-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.quick-pills a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: .86rem; font-weight: 500; color: var(--forest-deep);
  transition: background-color .2s, border-color .2s;
}
.quick-pills a:hover { background: #fff; border-color: var(--forest); }
.quick-pills .icon { width: 16px; height: 16px; color: var(--forest); }
.hero-stats {
  position: absolute; right: 24px; bottom: 24px; z-index: 1; display: flex;
  padding: 6px; border-radius: 20px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-md);
}
.hero-stats div { padding: 10px 18px; text-align: center; }
.hero-stats div + div { border-left: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-deep); line-height: 1.1; }
.hero-stats span { font-size: .75rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .media img { transform: scale(1.06); }
.svc-card .badge-ic {
  position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--forest); box-shadow: var(--shadow-sm);
}
.svc-card .body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.svc-card h3 { font-size: 1.15rem; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card:has(h3 a:focus-visible) { outline: 2.5px solid var(--leaf); outline-offset: 3px; }
.svc-card p { font-size: .88rem; color: var(--muted); }
.svc-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.svc-card .from { font-size: .78rem; color: var(--muted); }
.svc-card .from b { display: block; font-size: 1.02rem; color: var(--forest-ink); }
.svc-card:hover .round-arrow { background: var(--forest); color: #fff; }

/* ---------- Featured makeover (before / after) ---------- */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(16px, 2.4vw, 28px);
}
.ba-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--sage); margin-bottom: 14px; }
.ba-tabs button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-weight: 500; font-size: .9rem; color: var(--muted); transition: background-color .2s, color .2s; }
.ba-tabs button[aria-selected="true"] { background: var(--forest); color: #fff; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-pair figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--sage); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.ba-pair figcaption {
  position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .92); color: var(--ink);
}
.ba-pair figure:last-child figcaption { background: var(--forest); color: #fff; }
.feature .text { padding: 8px clamp(4px, 2vw, 20px); }
.feature .text h2 { margin: 10px 0 14px; }
.feature .text > p { color: var(--muted); }
.tick-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.tick-list .icon { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sage); color: var(--forest); stroke-width: 2.6; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.price-line b { font-family: var(--font-display); font-size: 1.9rem; color: var(--forest-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- How it works ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; padding: 24px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-card .n {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px;
  background: var(--forest); color: #fff; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
}
.step-card h3 { font-family: var(--font-body); font-size: 1.02rem; margin-bottom: 6px; }
.step-card p { font-size: .88rem; color: var(--muted); }
.step-card:not(:last-child)::after {
  content: ""; position: absolute; top: 47px; right: -21px; width: 22px; border-top: 2px dashed var(--line-strong);
}

/* ---------- Partner band ---------- */
.partner {
  position: relative; overflow: hidden; border-radius: var(--r-xl); color: #e6eee3; background: var(--forest-deep);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 440px;
}
.partner .media { position: relative; }
.partner .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partner .text { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.partner .eyebrow { color: #a9c79a; }
.partner h2 { color: #fff; }
.partner p { color: #c4d3bf; max-width: 46ch; }
.partner .facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 8px 0 10px; }
.partner .facts b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: #fff; }
.partner .facts span { font-size: .8rem; color: #a9bba5; }
.partner .btn-row { margin-top: 6px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; padding-top: 8px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); }
.plan.featured { background: var(--forest-deep); color: #e6eee3; border-color: var(--forest-deep); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan.featured h3, .plan.featured .amt { color: #fff; }
.plan .tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--clay); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.plan h3 { font-family: var(--font-body); font-size: 1.1rem; }
.plan .amt { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--forest-deep); line-height: 1; }
.plan .amt small { font-family: var(--font-body); font-size: .85rem; font-weight: 400; color: var(--muted); }
.plan.featured .amt small, .plan.featured .sub { color: #b9c9b6; }
.plan .sub { font-size: .88rem; color: var(--muted); }
.plan .tick-list { margin: 4px 0 8px; flex: 1; }
.plan.featured .tick-list .icon { background: rgba(255, 255, 255, .12); color: #a9c79a; }

/* ---------- Gallery mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--sage); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  font-size: .78rem; font-weight: 600; color: var(--forest-deep);
}
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); }
.quote .stars { display: flex; gap: 2px; }
.quote .stars .icon { width: 16px; height: 16px; fill: var(--star); stroke: var(--star); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.08rem; line-height: 1.5; color: var(--ink); flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.quote .avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--forest); font-weight: 700; }
.quote .who b { display: block; color: var(--ink); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.faq details[open] { border-color: var(--forest); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; min-height: 56px;
  cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; transition: transform .25s var(--ease); color: var(--forest); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }
.center-head { text-align: center; margin-bottom: 28px; }
.center-head p { color: var(--muted); margin-top: 8px; }

/* ---------- Booking section ---------- */
.book {
  display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: var(--r-xl);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.book .media { position: relative; min-height: 460px; }
.book .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book .media .over {
  position: absolute; inset: auto 0 0 0; padding: 28px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 36, 25, .88));
}
.book .media .over h2 { color: #fff; }
.book .media .over p { color: #dbe6d6; margin-top: 6px; }
.book .form-wrap { padding: clamp(22px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.alt-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.alt-contact a { color: var(--forest); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.book-done { text-align: center; padding: 28px 8px; }
.book-done .step-num { margin: 0 auto 14px; width: 56px; height: 56px; }
.book-done p { color: var(--muted); margin-top: 6px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; margin-top: 20px; border-radius: var(--r-xl); min-height: 400px;
  display: flex; align-items: flex-end; background: var(--forest-deep);
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 25, .02) 15%, rgba(15, 36, 25, .84) 100%); }
.page-hero .text { position: relative; z-index: 1; padding: clamp(24px, 5vw, 56px); max-width: 760px; color: #e6eee3; }
.page-hero .eyebrow { color: #c9dcbf; }
.page-hero h1 { color: #fff; margin: 10px 0 12px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero p { color: #dce6d8; font-size: 1.05rem; }
.page-hero .hero-actions { margin-top: 22px; }

/* ---------- Service detail ---------- */
.svc-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 40px; }
.svc-layout h2 { margin: 0 0 16px; }
.svc-layout section + section { margin-top: 48px; }
.svc-intro { font-size: 1.08rem; color: var(--muted); }
.include-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.include { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); font-size: .92rem; }
.include .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sage); color: var(--forest); stroke-width: 2.6; }
.price-card { position: sticky; top: 96px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.price-card .from { font-size: .85rem; color: var(--muted); }
.price-card .amt { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--forest-deep); line-height: 1.1; }
.price-card .unit { font-size: .85rem; color: var(--muted); }
.price-card .tick-list { margin: 18px 0; }
.price-card .btn { width: 100%; }
.price-card .btn + .btn { margin-top: 10px; }
.price-card .note { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; }
.svc-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-gallery img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.mini-steps h3 { font-family: var(--font-body); font-size: 1rem; }
.mini-steps p { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.other-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-layout .faq { margin: 0; }

/* ---------- Nurseries + about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split .media img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin: 10px 0 14px; }
.split p { color: var(--muted); }
.split p + p { margin-top: 12px; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 24px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.value .icon { width: 30px; height: 30px; color: var(--forest); stroke-width: 1.5; margin-bottom: 12px; }
.value h3 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 6px; }
.value p { font-size: .88rem; color: var(--muted); }
.soon-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted); }
.soon-card .icon { color: var(--forest); width: 26px; height: 26px; }
.sample-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .header-v2 .btn-accent { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .other-svcs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .sticky-book { display: flex; }
  body { padding-bottom: 80px; }
  .toast { bottom: 96px; }
  .hero-v2 .hero-card { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-v2 .hero-card > img { position: relative; height: 280px; object-position: 60% 60%; }
  .hero-v2 .hero-card::after { display: none; }
  .hero-v2 .hero-content { padding: 24px 20px 28px; }
  .hero-v2 h1 { font-size: 2.4rem; }
  .hero-stats { display: none; }
  .feature, .partner, .book, .split { grid-template-columns: 1fr; }
  .partner .media { min-height: 260px; }
  .book .media { min-height: 280px; }
  .form-grid { grid-template-columns: 1fr; }
  .include-grid, .svc-gallery { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .page-hero > img { position: relative; height: 240px; }
  .page-hero::after { display: none; }
  .page-hero .text { padding: 22px 20px 26px; }
}
@media (max-width: 560px) {
  .svc-grid, .steps-row, .value-grid, .other-svcs { grid-template-columns: 1fr; }
  .mosaic { grid-auto-rows: 150px; gap: 10px; }
  .ba-pair figure { aspect-ratio: 3 / 4; }
  .quick-pills a:nth-child(n+4) { display: none; }
}

/* ---------- Brand logo image ---------- */
.logo .logo-img { display: block; height: 40px; width: auto; }
.footer-grid a.logo .logo-img { height: 46px; }
@media (max-width: 560px) { .logo .logo-img { height: 34px; } }

/* ---------- All pages: phone layout ---------- */
@media (max-width: 560px) {
  .svc-grid, .other-svcs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card .body { padding: 12px 12px 14px; gap: 4px; }
  .svc-card h3 { font-size: .98rem; }
  .svc-card p { display: none; }
  .svc-card .badge-ic { width: 34px; height: 34px; top: 8px; left: 8px; }
  .svc-card .badge-ic .icon { width: 18px; height: 18px; }
  .svc-card .from b { font-size: .92rem; }
  .svc-card .round-arrow { width: 30px; height: 30px; }
  .value-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .value { padding: 16px 14px; }
  .value .icon { width: 26px; height: 26px; margin-bottom: 8px; }
  .value p { font-size: .82rem; }
  .soon-card { grid-column: 1 / -1 !important; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step-card { padding: 16px 14px; }
  .step-card .n { width: 38px; height: 38px; font-size: 1.05rem; margin-bottom: 10px; }
  .step-card p { font-size: .82rem; }
  .page-hero > img { height: 200px; }
  .svc-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .book .media { min-height: 220px; }
  .footer-hero { padding-top: 44px; padding-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 32px; padding-bottom: 28px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid a { padding: 5px 0; font-size: .88rem; }
  .footer-bottom { flex-direction: column; font-size: .76rem; }
}

/* ---------- Demo catalogue labels ---------- */
.demo-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--clay-soft); color: var(--clay-deep); font-size: .8rem; font-weight: 600; }
.demo-badge .icon { width: 16px; height: 16px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; padding: 12px 14px; border-radius: 12px; background: var(--clay-soft); color: var(--clay-deep); font-size: .86rem; line-height: 1.45; }
.demo-note .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.size-option b { font-size: 1.05rem; }
@media (max-width: 760px) {
  .page-banner { flex-direction: column; align-items: stretch; min-height: 0; }
  .page-banner > img { position: relative; width: 100%; height: 210px; -webkit-mask-image: none; mask-image: none; }
  .page-banner .text { padding: 20px 20px 24px; }
}
.form-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fbe9e5; color: var(--danger); font-size: .88rem; }
.form-error a { color: inherit; font-weight: 700; text-decoration: underline; }

/* product gallery with a single photo: no thumbnail strip */
.thumbs[hidden] { display: none; }
.gallery:has(.thumbs[hidden]) { grid-template-columns: 1fr; }

/* layout stability while script renders page content */
.js-pending { visibility: hidden; }
.cat-row:empty { min-height: 98px; }
