/* The catalog in design B «Абрикос и небо»: a warm neutral page, the «night sky» navy in dark, one sky-blue accent, Nunito and Noto Sans Armenian. */
@font-face { font-family: "Nunito Variable"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-cyrillic-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Nunito Variable"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-cyrillic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito Variable"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Variable"; font-style: normal; font-display: swap; font-weight: 200 1000; src: url(../fonts/nunito-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans Armenian Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/noto-sans-armenian-armenian-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17; }

:root {
  color-scheme: light;
  --bg: #FFF9F1; --surface: #FFFFFF; --ink: #1F1B16; --muted: #5E554A; --border: #E8E2D8; --line: #F4F1EB;
  --primary: #1D45C4; --on-primary: #FFFFFF; --logo: #FFC233; --logo-ink: #0F2257; --nav-on-bg: #EFECE6; --nav-on-fg: #1F1B16;
  --ok-bg: #E3F2E8; --ok-fg: #1F6B43; --error-bg: #FBE6E2; --error-fg: #9A2F22; --star: #A15C07; --quote: #F4F1EB; --focus: #1D45C4;
  --mark-a: #FF9D4D; --mark-c: #F2A922; --wordmark: #0F2257;
}
/* Light by default; theme.js sets data-theme="dark" when the visitor chose dark (shared with the website). */
:root[data-theme="dark"] {
  color-scheme: dark;
    --bg: #0B1226; --surface: #111A33; --ink: #EEF0F7; --muted: #A6AFC8; --border: #222D4E; --line: #1A2442;
    --primary: #8FB0FF; --on-primary: #0B1226; --nav-on-bg: #1A2442; --nav-on-fg: #EEF0F7; --logo-ink: #0B1226;
    --ok-bg: #15302A; --ok-fg: #8FDCB0; --error-bg: #3A1D22; --error-fg: #F7A59A; --star: #F0B92E; --quote: #1A2442; --focus: #8FB0FF;
    --mark-c: #FFC233; --wordmark: #EEF0F7;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Nunito Variable", "Noto Sans Armenian Variable", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--primary); }
.top { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }
/* The MyKids mark (design B, variant 1): adult and child holding hands, together an «m». The name is one colour. */
.mark { display: block; width: 32px; height: 32px; flex-shrink: 0; overflow: visible; }
.mk-a, .mk-c { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.mk-a { stroke: var(--mark-a); } .mk-c { stroke: var(--mark-c); }
.mk-ah { fill: var(--mark-a); } .mk-ch { fill: var(--mark-c); }
.brandname { font-size: 1.15rem; font-weight: 600; color: var(--wordmark); }
.top .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.langs { display: flex; gap: 4px; }
.langs a { padding: 4px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); font-weight: 600; }
.langs a[aria-current="true"] { background: var(--nav-on-bg); color: var(--nav-on-fg); }
.signin { padding: 6px 16px; border-radius: 10px; background: var(--primary); color: var(--on-primary); text-decoration: none; font-weight: 600; }
main { max-width: 1040px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.6rem; margin: 8px 0 16px; font-weight: 600; }
h2 { font-size: 1.15rem; margin: 20px 0 8px; font-weight: 600; }
h3 { font-size: 1rem; margin: 0 0 4px; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; margin-bottom: 16px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.filters label, .request label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; }
input, select, textarea, button { font: inherit; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; max-width: 100%; background: var(--surface); color: var(--ink); }
button { background: var(--primary); color: var(--on-primary); border-color: var(--primary); cursor: pointer; font-weight: 600; border-radius: 10px; padding: 8px 18px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.cards, .offers, .reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.card { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px; }
.card img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.card h2 { margin: 0 0 4px; }
.org { color: var(--muted); margin: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; color: var(--muted); }
.stars { color: var(--star); font-weight: 600; }
.map { height: 360px; border-radius: 16px; margin: 12px 0; border: 1px solid var(--border); }
.map.small { height: 260px; }
.note { color: var(--muted); font-size: .9rem; }
.photos { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.photos img { width: 200px; height: 150px; object-fit: cover; border-radius: 12px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.offers li, .reviews li { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 12px; }
.price { font-weight: 600; margin: 0; }
.price span { font-weight: 400; color: var(--muted); }
.pre { white-space: pre-line; overflow-wrap: anywhere; }
blockquote { margin: 8px 0 0; padding: 8px 12px; background: var(--quote); border-radius: 12px; }
.request form { display: grid; gap: 12px; max-width: 520px; }
.request .check { flex-direction: row; align-items: flex-start; gap: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ok { background: var(--ok-bg); color: var(--ok-fg); padding: 8px 12px; border-radius: 12px; }
.error { background: var(--error-bg); color: var(--error-fg); padding: 8px 12px; border-radius: 12px; }
.filters .actions { display: flex; flex-wrap: wrap; gap: 8px; }
button.secondary { background: var(--surface); color: var(--primary); }
button:disabled { opacity: .7; cursor: progress; }
.distance { font-weight: 600; color: var(--ok-fg); }
.places ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.leaflet-marker-icon.cluster { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 600; font-variant-numeric: tabular-nums;
  border: 2px solid var(--surface); }
.leaflet-marker-icon.pin { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 8px rgba(31, 27, 22, .25); }
.leaflet-marker-icon.pin .mk-c { stroke: #F2A922; } .leaflet-marker-icon.pin .mk-ch { fill: #F2A922; }
@media (max-width: 480px) {
  .card { flex-direction: column; }
  .card img { width: 100%; height: 160px; }
}

/* ---- The landing page (the website's first page) and the shared footer. No inline styles: the CSP allows only this file. ---- */
:root { --shadow: 0 8px 24px rgba(31, 27, 22, .08); --cta: #0F2257; --cta-ink: #F3F1EC; --cta-muted: #BFC6DA;
  --map: #EFE8DC; --map-park: #DCE5D3; --map-river: #CFE0E6; --map-road: #FFFFFF; }
:root[data-theme="dark"] { --shadow: 0 8px 24px rgba(0, 0, 0, .4); --cta: #1A2A5C; --cta-ink: #EEF0F7; --cta-muted: #B7C0DC;
  --map: #121B36; --map-park: #172A3A; --map-river: #16264A; --map-road: #222D4E; }
/* The light / dark switch in the header shows the icon of the theme it switches to. */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 10px;
  background: var(--surface); color: var(--muted); border: 1px solid var(--border); transition: color .15s cubic-bezier(0.22, 1, 0.36, 1); }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: inline; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.top { position: sticky; top: 0; z-index: 1000; padding: 12px max(16px, calc((100% - 1120px) / 2)); background: var(--bg); }
.for-orgs { color: var(--muted); font-weight: 500; text-decoration: none; }
.for-orgs:hover { color: var(--ink); }
main.wide { max-width: none; padding: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Design B hero: text on the left, the catalog's own map with the logo as pins on the right. */
.hero { padding: 56px 0 40px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 500; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); margin: 0 0 24px; max-width: 32em; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 0; margin: 0; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 1.75rem; font-weight: 500; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: .9rem; }
.hero-art svg { width: 100%; height: auto; display: block; }
.mp-ground { fill: var(--map); } .mp-park { fill: var(--map-park); }
.mp-river { fill: none; stroke: var(--map-river); stroke-width: 20; stroke-linecap: round; }
.mp-road { fill: none; stroke: var(--map-road); stroke-width: 8; stroke-linecap: round; }
.mp-lane { fill: none; stroke: var(--map-road); stroke-width: 3; stroke-linecap: round; opacity: .85; }
.mp-pin { fill: var(--surface); }

.search-card { margin-top: 32px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); }
.search-main { display: grid; grid-template-columns: 1.6fr 1fr .8fr 1fr auto; gap: 12px; align-items: end; }
.search-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; padding-top: 12px; }
.search-card label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.search-card input, .search-card select { color: var(--ink); min-height: 44px; width: 100%; background: var(--bg); }
.search-card .actions { display: flex; gap: 8px; }
button.big { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 22px; }
.search-card button.secondary { min-height: 44px; white-space: nowrap; }
.more { margin-top: 10px; }
.more summary { cursor: pointer; color: var(--primary); font-weight: 600; font-size: .9rem; width: max-content; }
#near-me-note { margin: 10px 4px 0; }

.band { padding: 40px 0; }
.band + .band { padding-top: 8px; }
.section-title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 20px; font-weight: 500; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.section-head .clear { font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); color: var(--ink); text-decoration: none; transition: border-color .15s cubic-bezier(0.22, 1, 0.36, 1); }
.tile:hover { border-color: color-mix(in srgb, var(--ink) 24%, transparent); }
.tile strong { font-size: 1.15rem; font-weight: 600; }
.tile span:last-child { color: var(--muted); }
.tile-icon { display: inline-flex; align-items: center; width: 24px; height: 24px; margin-bottom: 8px; color: var(--muted); }
.tile-icon svg { width: 22px; height: 22px; }
.ages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.ages span { color: var(--muted); font-weight: 600; margin-right: 4px; }
.ages a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.ages a:hover { background: var(--nav-on-bg); color: var(--nav-on-fg); }

.catalog .count { color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.catalog .map { height: 420px; box-shadow: var(--shadow); }
.catalog .cards { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.catalog .card { padding: 16px; border-radius: 16px; transition: border-color .15s cubic-bezier(0.22, 1, 0.36, 1); }
.catalog .card:hover { border-color: color-mix(in srgb, var(--ink) 24%, transparent); }
.catalog .card h2 { font-size: 1.1rem; }
.catalog .card h2 a { color: var(--ink); text-decoration: none; }
.catalog .card h2 a:hover { color: var(--primary); text-decoration: underline; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 16px 0 0; border-top: 1px solid var(--border); }
.steps h3 { font-size: 1.15rem; font-weight: 600; margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
.step-num { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }

.places ul { gap: 10px; }
.places a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.places a:hover { border-color: var(--primary); }
.count-pill { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }

.org-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: 20px; color: var(--cta-ink); background: var(--cta); }
.org-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; font-weight: 500; }
.org-cta p { margin: 0 0 16px; color: var(--cta-muted); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: baseline; color: var(--cta-ink); }
.checks li::before { content: "\2713"; flex-shrink: 0; color: var(--logo); font-weight: 600; }
.org-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.button-link { display: inline-flex; justify-content: center; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; text-align: center; transition: background-color .15s cubic-bezier(0.22, 1, 0.36, 1); }
.button-link.light { background: var(--logo); color: #1F1B16; }
.button-link.light:hover { background: #FFD15C; }
.button-link.ghost { box-shadow: inset 0 0 0 1px rgba(243, 241, 236, .3); color: var(--cta-ink); }
.button-link.ghost:hover { background: rgba(243, 241, 236, .08); }
.org-cta a:focus-visible { outline-color: var(--cta-ink); }

.foot { margin-top: 24px; padding: 28px 0; background: var(--surface); border-top: 1px solid var(--border); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: flex-start; }
.foot .note { margin: 8px 0 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { font-weight: 600; text-decoration: none; }
.foot .copy { flex-basis: 100%; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .search-main { grid-template-columns: 1fr 1fr; }
  .search-main .grow, .search-main .actions { grid-column: 1 / -1; }
  .search-main .actions > * { flex: 1; }
  .tiles, .steps, .org-cta { grid-template-columns: 1fr; }
  .for-orgs { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: 24px; }
  .search-main { grid-template-columns: 1fr; }
  .catalog .cards { grid-template-columns: 1fr; }
}

/* B3: captions, weekday hours, services, open now and the check box filter. */
.photos figure { margin: 0; flex: 0 0 auto; width: 200px; }
.photos figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.week { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; }
.week dt { font-weight: 600; }
.week dd { margin: 0; }
.services { margin: 0; padding-left: 18px; }
.offers .kind { color: var(--muted); margin: 0; }
.meta .open { color: var(--ok-fg); font-weight: 600; }
.meta .closed { color: var(--muted); }
.search-card label.check { flex-direction: row; align-items: center; gap: 8px; align-self: end; min-height: 44px; }
.search-card label.check input { width: 20px; height: 20px; }
