/* ---------- Tokens ---------- */
:root {
  --cream: #fdf4e6;
  --surface: #fffaf0;
  --tint: #f6dfc0;
  --tint-soft: #fbecd6;
  --wood: #6b4423;
  --ink: #4a3524;
  --body: #5f4834;
  --muted: #7a6249;
  --input: #40301f;
  --brown: #8a5a33;
  --rust: #a85c24;

  --blue: #6f9ec4;
  --blue-h: #5f8eb4;
  --orange: #e08a3c;
  --orange-h: #cf7c31;
  --green: #8fa872;
  --green-h: #7f9764;
  --green-h2: #7d9661;
  --green-d: #5f7a45;
  --coral: #e0716c;
  --coral-h: #d1615c;
  --sand: #e8cfa0;
  --sun: #f8d071;
  --star: #ffe9b0;
  --link: #c1651f;

  --font-head: 'Baloo 2', cursive;
  --font-body: 'Nunito', system-ui, sans-serif;

  --section-gap: 112px;
  --section-gap-lg: 128px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--orange); }
::selection { background: var(--tint); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 800; color: var(--ink); }
p { margin: 0; }
button { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes twinkle { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- Layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; }
.wrap-narrow { max-width: 960px; margin: 0 auto; }
.section { padding: var(--section-gap) 20px 0; }
.stack { display: flex; flex-direction: column; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(var(--min, 300px), 1fr)); gap: var(--gap, 28px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }

/* ---------- Typography ---------- */
.h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; text-wrap: balance; }
.h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.05; }
.h2-sm { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; }
.h2-sky { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.05; color: var(--surface); text-shadow: 0 4px 0 rgba(107, 68, 35, .55); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.text { font-size: 16px; line-height: 1.6; color: var(--body); }
.text-17 { font-size: 17px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.accent-quote { font-family: var(--font-head); font-weight: 700; color: var(--rust); }

/* ---------- Tag (label pill) ---------- */
.tag {
  align-self: flex-start;
  display: inline-block;
  background: var(--c, var(--orange));
  color: var(--surface);
  border: 3px solid var(--wood);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
}
.tag--sm { padding: 5px 14px; }
.tag--lg { font-size: 15px; box-shadow: 0 4px 0 var(--wood); }
.tag--light { background: var(--surface); color: var(--wood); }

/* ---------- Sticker (decorative pill) ---------- */
.sticker {
  display: inline-block;
  background: var(--c, var(--surface));
  color: var(--fg, var(--ink));
  border: 3px solid var(--wood);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--wood);
  padding: 9px 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 16px;
  transform: rotate(var(--r, 0deg));
}

/* ---------- Buttons ---------- */
.btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c, var(--orange));
  color: var(--surface);
  border: 3px solid var(--wood);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--wood);
  padding: 14px 24px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 120ms ease;
}
.btn:hover { background: var(--ch, var(--c, var(--orange))); color: var(--surface); }
.btn:active { box-shadow: 0 1px 0 var(--wood); transform: translateY(4px); }
.btn[disabled] { cursor: progress; opacity: .8; }
.btn--s { gap: 8px; padding: 10px 20px; font-size: 16px; box-shadow: 0 4px 0 var(--wood); }
.btn--m { gap: 8px; padding: 12px 20px; font-size: 17px; box-shadow: 0 4px 0 var(--wood); }
.btn--s:active, .btn--m:active { transform: translateY(3px); }
.btn--xl { padding: 16px 26px; font-size: 19px; }
.btn--orange { --c: var(--orange); --ch: var(--orange-h); }
.btn--coral { --c: var(--coral); --ch: var(--coral-h); }
.btn--green { --c: var(--green); --ch: var(--green-h); }
.btn--green2 { --c: var(--green); --ch: var(--green-h2); }
.btn--blue { --c: var(--blue); --ch: var(--blue-h); }
.btn--cream { --c: var(--surface); --ch: var(--tint); color: var(--wood); }
.btn--cream:hover { color: var(--wood); }

/* ---------- Sticker cards ---------- */
.card {
  background: var(--surface);
  border: 3px solid var(--wood);
  border-radius: 28px;
  box-shadow: 0 6px 0 var(--wood);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card--big { border-width: 4px; border-radius: 30px; box-shadow: 0 8px 0 var(--wood); padding: 28px; }
.tilt { transform: rotate(var(--r, 0deg)); transition: transform 200ms ease; }
.tilt-hover:hover { transform: rotate(0deg) translateY(-4px); }

.card h3 { font-size: 23px; }

/* Numbered circle / pill */
.num {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--c);
  border: 3px solid var(--wood);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--surface);
}
.num--lg { width: 56px; height: 56px; font-size: 24px; }
.num-pill {
  align-self: flex-start;
  background: var(--c);
  border: 3px solid var(--wood);
  border-radius: 999px;
  padding: 4px 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--surface);
}
.dot {
  flex: none;
  display: block;
  width: var(--s, 18px); height: var(--s, 18px);
  border-radius: 999px;
  background: var(--c);
  border: 3px solid var(--wood);
}

/* Check list */
.check { display: flex; align-items: flex-start; gap: 14px; }
.check__icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--c, var(--orange));
  border: 3px solid var(--wood);
  display: flex; align-items: center; justify-content: center;
  color: var(--surface);
  font-weight: 800;
  font-size: 15px;
}
.check__text { font-size: 17px; line-height: 1.5; color: var(--input); padding-top: 3px; }

/* Big two-panel box */
.panel {
  background: var(--surface);
  border: 4px solid var(--wood);
  border-radius: 40px;
  box-shadow: 0 8px 0 var(--wood);
  overflow: hidden;
}
.panel__pad { padding: 52px; display: flex; flex-direction: column; gap: 16px; }
.panel__side { background: var(--tint); border-left: 4px solid var(--wood); }

/* Sky band (one per concept page) */
.sky {
  position: relative;
  background: var(--sky, linear-gradient(180deg, #c98a86 0%, #a85c24 100%));
  padding: 104px 20px;
  margin-top: var(--section-gap);
  overflow: hidden;
}
.sky__sun {
  position: absolute;
  top: 34px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 0 0 10px rgba(248, 208, 113, .24);
  animation: bob 6s ease-in-out infinite;
}
.sky > .wrap { position: relative; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --section-gap: 72px; --section-gap-lg: 72px; }
  .panel__pad { padding: 32px 24px; }
}
@media (max-width: 727px) {
  .panel__side { border-left: 0; border-top: 4px solid var(--wood); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .tilt-hover:hover { transform: rotate(var(--r, 0deg)); }
}

/* ======================================================================
   Components (ported from the Astro build; class names are prefixed
   because WordPress has no per-component style scoping)
   ====================================================================== */

/* ---------- Header ---------- */
.site-header { z-index: 40; padding: 18px 20px; }
.site-header.is-home { position: absolute; top: 0; left: 0; right: 0; }
.site-header.is-page { position: relative; padding: 14px 20px; background: var(--surface); border-bottom: 3px solid var(--wood); }
.admin-bar .site-header.is-home { top: 32px; }
.site-header__bar { max-width: 1280px; margin: 0 auto; padding: 0 4px; display: flex; align-items: center; gap: 24px; }
.site-logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-logo img { display: block; width: auto; border-radius: 999px; }
.is-home .site-logo img { height: 92px; filter: drop-shadow(0 5px 10px rgba(74, 53, 36, .4)); }
.is-page .site-logo img { height: 64px; }
.site-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.site-nav__link { font-family: var(--font-head); font-size: 17px; font-weight: 700; padding: 9px 15px; border-radius: 999px; }
.is-home .site-nav__link { color: var(--surface); text-shadow: 0 2px 4px rgba(74, 53, 36, .45); }
.is-home .site-nav__link:hover { background: rgba(255, 250, 240, .22); color: var(--surface); }
.is-page .site-nav__link { color: var(--wood); }
.is-page .site-nav__link:hover, .is-page .site-nav__link.is-active { background: var(--tint); color: var(--wood); }
.menu-btn {
  display: none; appearance: none; cursor: pointer; width: 48px; height: 48px; flex: none;
  align-items: center; justify-content: center; background: var(--surface);
  border: 3px solid var(--wood); border-radius: 999px; box-shadow: 0 4px 0 var(--wood); padding: 0;
}
.menu-btn:active { box-shadow: 0 1px 0 var(--wood); transform: translateY(3px); }
.menu-btn__bars { display: flex; flex-direction: column; gap: 4px; }
.menu-btn__bars span { display: block; width: 20px; height: 3px; border-radius: 3px; background: var(--wood); transition: transform 200ms ease, opacity 200ms ease; }
.is-open .menu-btn__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-open .menu-btn__bars span:nth-child(2) { opacity: 0; }
.is-open .menu-btn__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .site-header__bar { gap: 12px; position: relative; }
  .is-home .site-logo img { height: 72px; }
  .is-page .site-logo img { height: 56px; }
  .site-call { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 12px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface);
    border: 3px solid var(--wood); border-radius: 24px; box-shadow: 0 6px 0 var(--wood); padding: 10px;
  }
  .is-open .site-nav { display: flex; }
  .site-nav__link, .is-home .site-nav__link {
    color: var(--wood); text-shadow: none; font-size: 19px; padding: 10px 16px; min-height: 48px; display: flex; align-items: center;
  }
  .is-home .site-nav__link:hover { background: var(--tint); color: var(--wood); }
}
@media (max-width: 782px) { .admin-bar .site-header.is-home { top: 46px; } }
@media (max-width: 380px) { .site-call { padding: 9px 14px; font-size: 15px; } }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: var(--surface); padding: 150px 20px 48px; overflow: hidden;
  background: linear-gradient(180deg, #d9955a 0%, #b87468 22%, #86638a 50%, #4e4268 80%, #3b3252 100%);
}
.site-footer__sun {
  position: absolute; top: 44px; left: 9%; width: 40px; height: 40px; border-radius: 999px; background: var(--sun);
  box-shadow: 0 0 0 7px rgba(248, 208, 113, .22); animation: bob 6.5s ease-in-out infinite;
}
.site-footer__star { position: absolute; border-radius: 999px; background: var(--star); }
.site-footer__star--a { top: 104px; right: 22%; width: 9px; height: 9px; animation: twinkle 3.6s ease-in-out infinite; }
.site-footer__star--b { top: 70px; right: 38%; width: 7px; height: 7px; animation: twinkle 4.4s ease-in-out infinite; }
.site-footer__row { position: relative; max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer__brand, .site-footer__links a, .site-footer__copy { text-shadow: 0 2px 4px rgba(74, 53, 36, .45); }
.site-footer__brand { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.site-footer__links { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer__links a { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--surface); padding: 7px 15px; border-radius: 999px; }
.site-footer__links a:hover { background: rgba(255, 250, 240, .22); color: var(--surface); }
.site-footer__copy { font-size: 15px; font-weight: 700; color: #fff6e4; }
@media (max-width: 900px) { .site-footer__links a { padding: 11px 15px; } }

/* ---------- Breadcrumb ---------- */
.crumbs-wrap { padding: 56px 24px 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--link); }
@media (max-width: 900px) { .crumbs-wrap { padding-top: 32px; } }

/* ---------- Concept intro ---------- */
.cintro { padding: 56px 20px 32px; }
.cintro__outer { gap: 48px; }
.cintro__cols { gap: 64px; align-items: end; }
.cintro__left { gap: 22px; }
.cintro__right { gap: 26px; }
.cintro__lead { max-width: 52ch; line-height: 1.7; }
.cintro__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.cintro__cta { align-self: flex-start; padding: 15px 24px; }
.cintro__phone { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--wood); border-bottom: 3px solid; padding-bottom: 2px; }
.cintro__phone:hover { color: var(--link); }
.cintro__photo-wrap { position: relative; }
.cintro__photo { border: 4px solid var(--wood); border-radius: 36px; box-shadow: 0 8px 0 var(--wood); overflow: hidden; background: var(--tint); aspect-ratio: 21 / 8; min-height: 260px; }
.cintro__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cintro__stickers { position: absolute; left: 24px; bottom: -22px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .cintro { padding-top: 32px; }
  .cintro__outer { gap: 32px; }
  .cintro__cols { gap: 26px; }
}
/* Below ~723px aspect-ratio + min-height would push the photo to 683px wide. */
@media (max-width: 723px) { .cintro__photo { aspect-ratio: auto; height: 260px; } }
@media (max-width: 640px) {
  .cintro__stickers { left: 12px; right: 12px; gap: 8px; }
  .cintro__stickers .sticker { font-size: 14px; padding: 7px 14px; }
}

/* ---------- Contact section ---------- */
.contact { padding: 72px 20px; }
.contact--concept { padding: 120px 20px 128px; }
.contact--page { padding: 40px 20px 128px; }
.contact__grid { gap: 44px; align-items: start; }
.contact--concept .contact__grid { gap: 72px; }
.contact__intro { gap: 18px; }
.contact__heading { max-width: 16ch; }
.contact--concept .contact__heading { max-width: 18ch; text-wrap: balance; }
.contact__lead { max-width: 46ch; }
.contact__cards { gap: 14px; margin-top: 6px; }
.ccard {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface);
  border: 3px solid var(--wood); border-radius: 22px; box-shadow: 0 5px 0 var(--wood); padding: 16px 20px; color: var(--ink);
}
.ccard:hover { background: var(--tint); color: var(--ink); }
.ccard:active { box-shadow: 0 1px 0 var(--wood); transform: translateY(4px); }
.ccard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ccard__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.ccard__value { font-family: var(--font-head); font-size: 22px; font-weight: 800; overflow-wrap: anywhere; }
.ccard__arrow {
  flex: none; width: 40px; height: 40px; border-radius: 999px; border: 3px solid var(--wood);
  display: flex; align-items: center; justify-content: center; color: var(--surface); font-size: 18px; font-weight: 800;
}
@media (max-width: 900px) {
  .contact, .contact--concept, .contact--page { padding-top: 72px; padding-bottom: 72px; }
  .contact--page { padding-top: 40px; }
  .contact__grid, .contact--concept .contact__grid { gap: 44px; }
}

/* ---------- Inquiry form ---------- */
.form-card { background: var(--surface); border: 4px solid var(--wood); border-radius: 32px; box-shadow: 0 8px 0 var(--wood); padding: 30px; transform: rotate(.6deg); }
.iform { display: flex; flex-direction: column; gap: 16px; }
.iform[hidden], .iform-success[hidden], .iform__error[hidden] { display: none; }
.iform__title { margin: 0 0 4px; font-size: 26px; }
.iform__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 3px solid var(--wood); border-radius: 18px; padding: 13px 16px;
  font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--input); outline: none; min-height: 50px;
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; }
.field .date { padding: 11px 16px; }
.field input:focus, .field textarea:focus, .field select:focus-visible { border-color: var(--focus); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.iform__submit { align-self: flex-start; padding: 14px 26px; }
.iform__error {
  background: #fbe3df; border: 3px solid var(--coral); border-radius: 18px; padding: 12px 16px;
  font-size: 16px; line-height: 1.5; font-weight: 600; color: #8a2f2a;
}
.iform-success { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; outline: none; }
.iform-success__icon {
  width: 60px; height: 60px; border-radius: 999px; background: var(--green); border: 3px solid var(--wood);
  display: flex; align-items: center; justify-content: center; color: var(--surface); font-size: 26px; font-weight: 800;
}
.iform-success h3 { font-size: 30px; }
.iform-success p { font-size: 17px; line-height: 1.6; color: var(--body); }
.iform-success .btn { align-self: flex-start; }
@media (max-width: 900px) { .form-card { padding: 24px 20px; } }

/* ---------- Gallery (filter + lightbox) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.chip {
  appearance: none; cursor: pointer; font-family: var(--font-head); font-size: 17px; font-weight: 800; padding: 11px 22px;
  border-radius: 999px; border: 3px solid var(--wood); box-shadow: 0 4px 0 var(--wood); background: var(--surface); color: var(--wood);
}
.chip[aria-pressed='true'] { background: var(--c); color: var(--surface); }
.chip:active { box-shadow: 0 1px 0 var(--wood); transform: translateY(3px); }
.chip__count { opacity: .65; font-weight: 700; }
.gallery__grid, .pgrid__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 26px; }
.tile {
  appearance: none; cursor: pointer; border: 0; background: transparent; padding: 0; display: block;
  transition: transform 300ms ease; transform: rotate(var(--r, 0deg)); color: inherit;
}
.tile[hidden] { display: none; }
.frame { display: block; border-radius: 22px; overflow: hidden; border: 3px solid var(--wood); background: var(--tint); aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.tile:hover .frame img { transform: scale(1.05); }
.tile__caption { display: flex; align-items: center; gap: 10px; padding: 14px 6px 4px; }
.tile__dot { width: 16px; height: 16px; border-radius: 999px; flex: 0 0 auto; border: 3px solid var(--wood); display: block; }
.tile__alt { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.2; text-align: left; }
.tile__cat { display: block; padding: 0 6px; font-size: 14px; font-weight: 700; color: var(--muted); text-align: left; }
.gallery__footer { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 36px; }
.gallery__count { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(74, 53, 36, .9); display: flex; flex-direction: column; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 16px; }
.lightbox__label { font-family: var(--font-head); color: var(--cream); font-size: 20px; font-weight: 800; }
.lightbox__close {
  background: var(--coral); color: var(--surface); border: 3px solid var(--cream); border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-head); font-size: 17px; font-weight: 800; cursor: pointer; flex: none;
}
.lightbox__close:hover { background: var(--coral-h); }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 16px; }
.lightbox__nav {
  background: var(--surface); color: var(--ink); border: 3px solid var(--wood); border-radius: 999px;
  width: 56px; height: 56px; font-size: 22px; font-weight: 800; cursor: pointer; flex: 0 0 auto;
}
.lightbox__nav:hover { background: var(--sun); }
.lightbox__img { max-width: 100%; max-height: 100%; min-width: 0; object-fit: contain; display: block; border: 4px solid var(--cream); border-radius: 26px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox__stage { position: relative; }
  .lightbox__nav { position: absolute; bottom: 0; z-index: 1; }
  .lightbox__nav:first-child { left: 0; }
  .lightbox__nav:last-child { right: 0; }
}

/* ---------- Page photo grid ---------- */
.pgrid__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.pgrid__all { padding: 11px 20px; }
.pgrid figure { margin: 0; }
.pgrid figcaption { padding: 12px 6px 0; font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq__head { gap: 16px; margin-bottom: 44px; }
.faq__list { gap: 16px; }
.faq__item { background: var(--surface); border: 3px solid var(--wood); border-radius: 24px; box-shadow: 0 5px 0 var(--wood); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--tint-soft); }
.faq__icon {
  flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--ic); border: 3px solid var(--wood);
  display: flex; align-items: center; justify-content: center; color: var(--surface); font-size: 18px;
}
.faq__icon::before { content: '+'; }
.faq__item[open] .faq__icon::before { content: '−'; }
.faq__item p { padding: 0 24px 22px; font-size: 17px; line-height: 1.6; color: var(--body); }

/* ---------- Why cards ---------- */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 700px) { .why { grid-template-columns: 1fr; } }

/* ---------- Shared page bits ---------- */
.section--first { padding-top: var(--section-gap-lg); }
.head-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.two-col { gap: 72px; align-items: start; }
.callout {
  align-self: flex-start; background: var(--sun); border: 3px solid var(--wood); border-radius: 22px; box-shadow: 0 5px 0 var(--wood);
  padding: 14px 20px; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); text-wrap: pretty;
}
.plain-list { list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) { .two-col { gap: 40px; } }

/* ---------- Home ---------- */
.hero { position: relative; background: linear-gradient(180deg, #8a7aa6 0%, #c98a86 38%, #e8a45c 72%, #f0bd6c 100%); padding: 156px 20px 0; overflow: hidden; }
.hero__sun {
  position: absolute; top: 150px; right: 9%; width: 104px; height: 104px; border-radius: 999px; background: var(--sun);
  box-shadow: 0 0 0 14px rgba(248, 208, 113, .28), 0 0 0 30px rgba(248, 208, 113, .14); animation: bob 5s ease-in-out infinite;
}
.hero__star { position: absolute; border-radius: 999px; background: var(--star); animation: twinkle 3s ease-in-out infinite; }
.hero__grid { position: relative; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 72px; }
.hero__text { gap: 22px; }
.hero__pill {
  align-self: flex-start; background: var(--surface); border: 3px solid var(--wood); border-radius: 999px; box-shadow: 0 4px 0 var(--wood);
  padding: 8px 18px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--wood);
}
.hero__h1 { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.04; color: var(--surface); text-wrap: balance; text-shadow: 0 4px 0 var(--brown), 0 8px 24px rgba(74, 53, 36, .35); }
.hero__lead { max-width: 52ch; font-size: 19px; line-height: 1.6; color: var(--input); background: rgba(255, 250, 240, .72); border-radius: 22px; padding: 16px 20px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__bars { display: flex; gap: 10px; margin-top: 4px; }
.hero__bars span { width: 44px; height: 14px; border-radius: 999px; border: 2px solid var(--wood); display: block; }
.hero__photo { position: relative; transform: rotate(2deg); }
.hero__frame { border: 4px solid var(--wood); border-radius: 34px; box-shadow: 0 8px 0 var(--wood); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__sticker { position: absolute; bottom: -18px; left: -16px; padding: 10px 18px; }
.koncepti { padding: 72px 20px 24px; }
.koncepti__head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.koncepti__quote { font-size: 22px; line-height: 1.35; max-width: 30ch; }
.concepts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
@media (max-width: 1359px) { .concepts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 679px) { .concepts-grid { grid-template-columns: 1fr; } }
.concept { background: var(--surface); border: 3px solid var(--wood); border-radius: 30px; box-shadow: 0 6px 0 var(--wood); overflow: hidden; display: flex; flex-direction: column; }
.concept__img { aspect-ratio: 4 / 3; border-bottom: 3px solid var(--wood); background: var(--tint); overflow: hidden; }
.concept__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.concept__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.concept__title { font-size: 26px; line-height: 1.12; text-wrap: balance; }
.concept__checks { display: flex; flex-direction: column; gap: 10px; }
.concept__checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--input); }
.concept__checks li > span:last-child { padding-top: 2px; }
.concept__check {
  flex: none; width: 28px; height: 28px; border-radius: 999px; border: 3px solid var(--wood); display: flex; align-items: center;
  justify-content: center; color: var(--surface); font-weight: 800; font-size: 13px; line-height: normal;
}
.concept__cta { margin-top: auto; align-self: flex-start; text-align: left; }
/* Four narrow columns: smaller buttons so long labels stay on two lines. */
@media (min-width: 1360px) { .concept__cta { font-size: 16px; padding: 11px 16px; } }
.home-zasto { padding: 64px 20px 24px; }
.home-galerija { padding: 48px 20px 72px; }
.gallery-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.gallery-head p { font-size: 17px; line-height: 1.6; color: var(--body); max-width: 40ch; }
@media (max-width: 900px) {
  .hero { padding-top: 124px; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; padding-bottom: 64px; }
  .hero__sun { top: 110px; width: 72px; height: 72px; right: 6%; }
  .hero__photo { max-width: 520px; width: 100%; justify-self: center; }
  .hero__lead { font-size: 17px; }
}

/* ---------- Mini ---------- */
.checks-card { list-style: none; margin: 0; padding: 28px; gap: 16px; }
.sky-grid { gap: 40px; align-items: center; }
.guarantee { border-radius: 32px; }
.guarantee h3 { font-size: 26px; line-height: 1.15; }
.terms { list-style: none; margin: 0; gap: 14px; justify-content: center; }
.terms li {
  display: flex; align-items: center; gap: 14px; background: var(--surface); border: 3px solid var(--wood); border-radius: 20px;
  padding: 14px 18px; font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--ink);
}
.story-img { min-height: 420px; position: relative; background: var(--tint); border-right: 4px solid var(--wood); }
.story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.story-text { padding: 56px 52px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 900px) { .story-text { padding: 32px 24px; } }
@media (max-width: 727px) { .story-img { min-height: 300px; border-right: 0; border-bottom: 4px solid var(--wood); } }

/* ---------- Mobilne ---------- */
.features { list-style: none; margin: 0; padding: 32px; gap: 22px; }
.feature__title { font-family: var(--font-head); font-size: 19px; font-weight: 800; color: var(--ink); }
.feature__text { font-size: 16px; line-height: 1.5; color: var(--body); }
.pills { list-style: none; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 12px; align-content: center; }
.pills li {
  background: var(--surface); border: 3px solid var(--wood); border-radius: 999px; padding: 10px 18px;
  font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--ink);
}
@media (max-width: 900px) { .features { padding: 24px; } }

/* ---------- Na otvorenom ---------- */
.family { gap: 56px; align-items: center; }
.family .callout { padding: 12px 18px; font-size: 19px; }
.activities { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.activities li { color: var(--surface); border: 3px solid var(--wood); border-radius: 999px; padding: 8px 16px; font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.side-img { min-height: 360px; }
.side-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.goal { font-family: var(--font-head); font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.2; color: var(--ink); text-wrap: pretty; }
@media (max-width: 900px) { .family { gap: 36px; } }
@media (max-width: 727px) { .side-img { min-height: 300px; height: 300px; } }

/* ---------- Zašto MIMI / Galerija / 404 ---------- */
.page-top { padding: 40px 20px 0; }
.page-gallery { padding: 40px 20px var(--section-gap-lg); }
.zcta-section { padding: var(--section-gap) 20px var(--section-gap-lg); }
.zcta {
  background: var(--surface); border: 4px solid var(--wood); border-radius: 36px; box-shadow: 0 8px 0 var(--wood); padding: 44px;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.nf { padding: 96px 20px 128px; }
@media (max-width: 900px) { .zcta { padding: 28px 24px; } }
