/* Happy Friends Cat Hotel
   Look: the product photo style. Warm white paper, soft lime and lavender
   blobs in the corners with a wavy outline beside them, faint paw prints,
   real wood as the only strong color. Light theme only. */
:root {
  color-scheme: light only;

  --bg: #FFFFFF;
  --cream: #FAF5EA;
  --surface: #FFFFFF;
  --ink: #2C1D13;
  --muted: #6B5849;
  --line: #EDE4D3;

  --lime: #BED182;
  --lime-deep: #8FAA4B;
  --lime-soft: #EEF4DC;
  --lime-paw: #E2EBC8;
  --lav: #AA95CD;
  --lav-deep: #6E58A8;
  --lav-soft: #F1ECF8;
  --lav-paw: #E6DCEC;
  --heart: #EE8BAE;

  --wood-dark: #8B5A2B;
  --wood-ink: #3B2413;
  --paper: #FFFFFF;
  --on-lime: #22180F;
  --shadow: 0 1px 2px rgba(60, 36, 16, .05), 0 14px 34px -16px rgba(60, 36, 16, .22);

  --font-display: "Rubik", "Noto Sans Armenian", system-ui, sans-serif;
  --font-body: "Nunito", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Pacifico", "Noto Sans Armenian", cursive;

  --step--1: clamp(.85rem, .82rem + .15vw, .94rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.06rem + .45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.2rem);
  --step-3: clamp(2rem, 1.5rem + 2.3vw, 3.4rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.2vw, 4.2rem);

  --r: 28px;
  --r-sm: 16px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--cream); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--cream);
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0; }
.wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 1180px; margin-inline: auto;
  padding-left: var(--gutter-l); padding-right: var(--gutter-r);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .1em; color: var(--lav-deep);
}
.paw-ico { width: 1.1em; height: 1.1em; color: var(--lime-deep); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 58ch; }

/* ------------------------------------------------------------ decoration */
.deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.corner { position: absolute; width: clamp(150px, 26vw, 360px); height: auto; }
.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; }
.corner-bl { bottom: 0; left: 0; }
.corner-br { bottom: 0; right: 0; }
.corner-fill { fill: var(--c); }
.corner-wave { fill: none; stroke: var(--c); stroke-width: 6; stroke-linecap: round; }
.corner.c-lime { --c: var(--lime); }
.corner.c-lav { --c: var(--lav); }
.deco-paw { position: absolute; width: clamp(38px, 5vw, 64px); color: var(--lime-paw); }
.deco-paw:nth-of-type(even) { color: var(--lav-paw); }
.dp-1 { left: 30%; top: 12%; transform: rotate(-18deg); }
.dp-2 { right: 26%; bottom: 14%; transform: rotate(16deg); }
.dp-3 { left: 8%; bottom: 30%; transform: rotate(-8deg); }

/* Styled square backdrop behind illustrations; real photos bring their own. */
.backdrop { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn-primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 5px 0 -1px var(--lime-deep); }
.btn-primary:hover { box-shadow: 0 7px 0 -1px var(--lime-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-dark { background: var(--lav-deep); color: #FFFFFF; box-shadow: 0 5px 0 -1px #4E3C82; }
.btn-dark:hover { box-shadow: 0 7px 0 -1px #4E3C82; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 58px; height: 40px; display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.wordmark { font-family: var(--font-script); font-size: 1.3rem; line-height: 1; padding-bottom: .12em; }
.brand-sub { font-family: var(--font-display); font-weight: 800; font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--lav-deep); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5em .8em; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--lime-soft); }
.bar-actions { display: flex; align-items: center; gap: 12px; }
.langs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.langs a { padding: .3em .6em; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .82rem; color: var(--muted); }
.langs a[aria-current="true"] { background: var(--lav); color: #FFFFFF; }
.langs-drawer { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-open { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 1080px) {
  .bar-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px var(--gutter-r) 20px var(--gutter-l);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { font-size: 1.1rem; padding: .7em .9em; }
  .langs-drawer { display: inline-flex; margin-top: 12px; }
  .langs-bar { display: none; }
}
.call-pill span { white-space: nowrap; }
@media (max-width: 1400px) {
  .bar .call-pill { width: 46px; height: 46px; min-height: 46px; padding: 0; }
  .call-pill span { display: none; }
}
@media (max-width: 520px) {
  .wordmark { font-size: 1.12rem; }
  .bar { gap: 10px; }
}

/* ------------------------------------------------------------ sections */
.section, .band, .hero { position: relative; overflow: hidden; }
.section { padding-block: clamp(64px, 9vw, 120px); background: var(--bg); }
.section-tight { padding-top: 24px; }
.band { padding-block: clamp(72px, 10vw, 130px); }
.band-soft { background: var(--cream); }
.band-warm { background: var(--cream); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* ------------------------------------------------------------ hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 110px); background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 { max-width: 13ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.chips li {
  display: inline-flex; align-items: center; gap: .45em; padding: .4em .85em; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .9rem;
}
.chips .ico { color: var(--lav-deep); }

.hero-art { position: relative; max-width: 100%; }
.hero-disc {
  position: relative; aspect-ratio: 1 / 1; border-radius: 50% 46% 52% 44% / 48% 52% 46% 54%;
  overflow: hidden; background: var(--cream); box-shadow: var(--shadow);
  border: 10px solid var(--surface);
}
.hero-cat { position: absolute; width: 56%; left: 22%; bottom: 6%; filter: drop-shadow(0 14px 18px rgba(44, 29, 19, .2)); animation: pop .9s cubic-bezier(.2, .9, .3, 1.3) both; }
.paw { position: absolute; opacity: .9; }
.p-1 { width: 9%; left: -2%; top: 10%; transform: rotate(-22deg); color: var(--lime-deep); }
.p-2 { width: 7%; right: 2%; top: 2%; transform: rotate(14deg); color: var(--lav); }
.p-3 { width: 8%; right: -2%; bottom: 14%; transform: rotate(24deg); color: var(--lime-deep); }
.heart { position: absolute; }
.h-1 { width: 10%; left: 6%; bottom: 10%; transform: rotate(-12deg); }
@keyframes pop { from { transform: translateY(18px) scale(.97); } to { transform: none; } }

/* ------------------------------------------------------------ features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px 24px; display: grid; gap: 10px; align-content: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); }
.feature-ico { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: var(--ink); margin-bottom: 6px; }
.feature-ico .ico { width: 26px; height: 26px; }
.tone-lime { background: var(--lime); }
.tone-lav { background: var(--lav); color: #FFFFFF; }
.tone-mustard { background: var(--lime-soft); }
.tone-pink { background: var(--lav-soft); color: var(--lav-deep); }
.gallery { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ guests */
#guests { background: var(--cream); }
.guests { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 22px; }
.guests figure { margin: 0; }
.guest { position: relative; --tone: var(--lime); --tone-deep: var(--lime-deep); }
.guest.t-lav { --tone: var(--lav); --tone-deep: var(--lav-deep); }
.guest::before {  /* colored blob peeking out behind the photo card */
  content: ""; position: absolute; inset: 18px -14px -14px 18px; z-index: 0;
  background: var(--tone); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; opacity: .7;
}
.guest .guest-pic, .guest figcaption { position: relative; z-index: 1; }
.guest .guest-pic {
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface);
  border: 8px solid var(--surface); border-bottom: 0; border-radius: var(--r) var(--r) 0 0;
  box-shadow: var(--shadow);
}
.guest figcaption {
  display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 14px 10px;
  background: var(--surface); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow);
}
.guest-paw { width: 22px; height: 22px; flex: none; color: var(--tone-deep); }
.guest-name { font-family: "Rubik", "Noto Sans Armenian", sans-serif; font-weight: 800; font-size: 1.12rem; color: var(--ink); line-height: 1.1; }
.guests figure:nth-child(odd) { transform: rotate(-1.5deg); }
.guests figure:nth-child(even) { transform: rotate(1.5deg); }
.guests img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) - 8px); transition: transform .4s ease; }
.guest-name.is-anon { font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--muted, #7A6A5C); }
.guest:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .guest:hover img { transform: none; } }
.guest-ph { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; border: 8px solid var(--surface); box-shadow: var(--shadow); }
.guest-ph { position: relative; display: grid; place-items: end center; background: var(--cream); }
.guest-ph .backdrop { border-radius: calc(var(--r) - 8px); }
.guest-ph .cat { position: relative; width: 62%; margin-bottom: 8%; }
.guests-cta { margin-top: 36px; }
@media (max-width: 1000px) { .guests { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .guests { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .guest .guest-pic, .guest-ph { border-width: 5px; }
  .guest figcaption { min-height: 40px; padding: 4px 10px 8px; gap: 6px; }
  .guest-paw { width: 18px; height: 18px; }
  .guest-name { font-size: 1rem; }
  .guest::before { inset: 10px -6px -6px 10px; }
}

/* ------------------------------------------------------------ steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.step p { color: var(--muted); }
.step-n {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1;
  background: var(--lav-soft); color: var(--lav-deep); margin-bottom: 6px;
}
.step:nth-child(even) .step-n { background: var(--lime-soft); color: #4F6522; }

/* ------------------------------------------------------------ prices */
.prices-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.prices-copy { display: grid; gap: 16px; justify-items: start; }
.ticket {
  position: relative; background: var(--lime-soft); color: var(--ink); border-radius: var(--r);
  padding: 32px 30px; display: grid; gap: 8px; border: 2px dashed var(--lime-deep);
}
.ticket-label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: #4F6522; }
.ticket-phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); text-decoration: none; font-variant-numeric: tabular-nums; }
.price-list { margin: 0; display: grid; gap: 0; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); padding: 8px 24px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row dt { font-weight: 700; }
.price-row dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ woodwork teaser */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.teaser-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.teaser-copy p { color: var(--muted); }
.price-big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink) !important; }
.note { display: inline-flex; align-items: flex-start; gap: .6em; font-weight: 700; }
.note .ico { margin-top: .2em; color: var(--lime-deep); }
.note-card { background: var(--surface); color: var(--ink); border-radius: var(--r-sm); padding: 14px 18px; border: 1px solid var(--line); }
.note-center { margin-top: 28px; }

/* Square picture card: a real product photo, or an illustration on the styled backdrop. */
.photo-card {
  --cutout: var(--cream);
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden;
  background: var(--cream); border: 10px solid var(--surface); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.photo-card > img { width: 100%; height: 100%; object-fit: cover; }
.photo-card > .stand { position: relative; width: 84%; }
.stand-stage-lg { aspect-ratio: 4 / 3; }
.stand { width: 100%; height: auto; display: block; }
.stand { --wb: #EAC88F; --wt: #F3D9A9; --wf: #E2BB7E; --we: #C69B5E; --wn: #7A4A20; }
.stand[data-finish="walnut"] { --wb: #A0683A; --wt: #B57B4A; --wf: #8E5B2E; --we: #6A4120; --wn: #2E1606; }
.w-back { fill: var(--wb); }
.w-top { fill: var(--wt); }
.w-front { fill: var(--wf); }
.w-edge { fill: var(--we); }
.w-line { fill: none; stroke: var(--we); stroke-width: 2; }
.w-eng { fill: var(--wn); opacity: .82; }
.w-eng-stroke { fill: none; stroke: var(--wn); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .82; }
.w-name { fill: var(--wn); font-family: var(--font-display); font-weight: 800; opacity: .9; }
.cutout { fill: var(--cutout, #fff); }
.cutout-stroke { stroke: var(--cutout, #fff); stroke-width: 6; stroke-linecap: round; }
.shadow { fill: rgba(40, 24, 10, .14); }
.wall { display: none; }
.sisal { fill: #D9C59B; }
.sisal-lines path { stroke: #B39A68; stroke-width: 2; }
.stand[data-pet="cat"] .cut-bone, .stand[data-pet="cat"] .dog-portrait, .stand[data-pet="cat"] .dog-labels { display: none; }
.stand[data-pet="dog"] .cut-cat, .stand[data-pet="dog"] .cat-deco { display: none; }
.stand .w-name, .stand [class^="w-"] { transition: fill .35s ease, stroke .35s ease; }

/* ------------------------------------------------------------ adopt */
.adopt-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.adopt-art { position: relative; aspect-ratio: 5 / 4; }
.blob { position: absolute; }
.blob-adopt { width: 100%; left: 0; top: 0; opacity: .55; }
.adopt-cat { position: absolute; width: 46%; left: 14%; bottom: 4%; }
.adopt-cat-2 { position: absolute; width: 34%; right: 10%; bottom: 4%; transform: scaleX(-1); }
.h-3 { width: 10%; left: 46%; top: 8%; transform: rotate(10deg); }
.adopt-copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }

/* ------------------------------------------------------------ faq */
#faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.qa-list { display: grid; gap: 10px; min-width: 0; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; font-weight: 800; font-size: 1.05rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-mark { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lime-soft); }
.qa[open] .qa-mark { background: var(--lav-soft); }
.qa-mark::before, .qa-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s ease; }
.qa-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-mark::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { padding: 0 20px 20px; color: var(--muted); max-width: 64ch; }

/* ------------------------------------------------------------ contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.contact-list { margin: 8px 0 0; display: grid; gap: 0; }
.contact-list > div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-top: 1px dashed var(--line); }
.contact-list dt { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-weight: 700; }
.contact-list dt .ico { color: var(--lav-deep); }
.contact-list dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.map-card { display: grid; grid-template-rows: 1fr auto; gap: 12px; min-width: 0; }
.map-frame, .map-art { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: var(--r); overflow: hidden; display: block; }
.map-art { position: relative; background: var(--lime-soft); }
.map-art svg { width: 100%; height: 100%; display: block; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); width: 64px; height: 64px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--lav); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.map-pin .ico { width: 28px; height: 28px; rotate: 45deg; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------ shop */
.shop-hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.shop-hero .wrap { display: grid; gap: 18px; }
.shop-hero h1 { max-width: 18ch; font-size: var(--step-3); }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-weight: 700; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--ink); }

.maker { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.maker-form { display: grid; gap: 22px; min-width: 0; }
.seg { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-family: var(--font-display); font-weight: 700; margin-bottom: 8px; padding: 0; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: .55em 1.1em;
  border-radius: 999px; border: 2px solid var(--line); background: var(--surface); font-weight: 800; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.seg input:checked + span { border-color: var(--ink); background: var(--lime-soft); }
.seg input:focus-visible + span { outline: 3px solid var(--lav-deep); outline-offset: 2px; }
.sw { width: 20px; height: 20px; border-radius: 50%; display: inline-block; border: 2px solid rgba(0, 0, 0, .15); }
.sw-birch { background: #EAC88F; }
.sw-walnut { background: #8E5B2E; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 700; }
.field input {
  font: inherit; font-weight: 800; font-size: 1.2rem; min-height: 54px; padding: .5em .9em;
  border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--surface); color: var(--ink); width: 100%;
}
.field input:focus { border-color: var(--lav); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--lav) 25%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--lav-deep); margin: .15em 0 0; flex: none; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 2px dashed var(--line); }
.total span { font-weight: 700; color: var(--muted); }
.total strong { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.order-box {
  margin-top: 28px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px 32px; align-items: center;
  background: var(--lav-soft); border-radius: var(--r); padding: clamp(20px, 3vw, 32px);
}
.order-box h3 { margin-bottom: 6px; }
.order-box p { color: var(--muted); }
.order-msg { display: block; background: var(--surface); border: 2px dashed var(--lav); border-radius: var(--r-sm); padding: 14px 16px; font-weight: 700; overflow-wrap: anywhere; user-select: all; }
.order-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }

#catalog { background: var(--bg); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-pic { --cutout: var(--cream); position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--cream); overflow: hidden; }
.product-pic > .stand { position: relative; width: 82%; }
.product-pic > img { width: 100%; height: 100%; object-fit: cover; }
.pill { position: absolute; z-index: 1; top: 14px; left: 14px; background: var(--surface); color: var(--ink); font-weight: 800; font-size: .78rem; padding: .3em .8em; border-radius: 999px; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(60, 36, 16, .12); }
.product-body { display: grid; gap: 8px; padding: 20px 22px 22px; grid-template-rows: auto 1fr auto; }
.product-body p { color: var(--muted); font-size: .97rem; }
.product-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ adoption */
.h1-kicker { display: flex; margin-bottom: .55em; font-size: var(--step--1); line-height: 1.3; letter-spacing: .1em; }
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: var(--step-3); max-width: 20ch; }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cats-home { margin-top: clamp(32px, 5vw, 56px); }
.cat-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-pic { position: relative; display: grid; place-items: end center; aspect-ratio: 4 / 5; background: var(--cream); overflow: hidden; }
.cat-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-pic > .cat { position: relative; width: 58%; margin-bottom: 8%; }
.cat-body { display: grid; gap: 8px; padding: 18px 22px 22px; align-content: start; justify-items: start; }
.cat-body h3 a { text-decoration: none; }
.cat-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.cat-meta { color: var(--muted); font-size: .95rem; }
.cat-body .btn { margin-top: 6px; }
.pill-open { background: var(--lime); color: var(--on-lime); }
.pill-done { background: var(--lav); color: #FFFFFF; }
.cat-info > .pill { position: static; justify-self: start; }
.cat-profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: 8px; }
.cat-photo { aspect-ratio: 4 / 5; place-items: end center; }
.cat-photo > .cat { position: relative; width: 60%; margin-bottom: 8%; }
.cat-info { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.cat-info h1 { font-size: var(--step-4); }
.cat-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.cat-facts dt { font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cat-facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.page-404 .wrap { justify-items: center; text-align: center; }
.nf-art { width: min(260px, 70vw); place-items: end center; }
.nf-art > .cat { position: relative; width: 62%; margin-bottom: 6%; }
.page-404 h1 { font-size: var(--step-4); max-width: none; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--lime-soft); color: var(--ink); padding-block: 56px 28px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 32px; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; font-weight: 700; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-contact p { display: flex; gap: 10px; align-items: center; overflow-wrap: anywhere; }
.footer-contact .ico { color: var(--lav-deep); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--lime-deep) 30%, transparent); font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maker { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero-grid, .prices-grid, .teaser-grid, .adopt-grid, .faq-grid, .contact-grid, .order-box, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 440px; width: 100%; margin-inline: auto; order: -1; }
  .hero-copy h1 { max-width: none; }
  .teaser-copy { order: -1; }
  .adopt-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .corner { width: clamp(120px, 34vw, 220px); }
  .cat-profile { grid-template-columns: minmax(0, 1fr); }
  .cat-photo { max-width: 420px; width: 100%; }
}
@media (max-width: 560px) {
  .features, .steps, .products { grid-template-columns: minmax(0, 1fr); }
  .cats { grid-template-columns: minmax(0, 1fr); }
  .cat-info .cta-row .btn { width: 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); }
  .cta-row .btn, .order-actions .btn, .map-links .btn, .prices-copy .btn, .teaser-copy .btn, .adopt-copy .btn { width: 100%; }
  .prices-copy, .teaser-copy, .adopt-copy { justify-items: stretch; }
  .teaser-copy .note, .adopt-copy .note { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
