/* LunaJoy — design system
   Brand palette taken from the logo: rose ("Luna"), sage ("Joy"), coral paw, blush moon, cream ground. */

@font-face { font-family: "Baloo 2"; font-weight: 500; font-display: swap; src: url(/fonts/baloo-2/baloo-2-latin-ext-500-normal.woff2) format("woff2"); 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: "Baloo 2"; font-weight: 500; font-display: swap; src: url(/fonts/baloo-2/baloo-2-latin-500-normal.woff2) format("woff2"); 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: "Baloo 2"; font-weight: 700; font-display: swap; src: url(/fonts/baloo-2/baloo-2-latin-ext-700-normal.woff2) format("woff2"); 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: "Baloo 2"; font-weight: 700; font-display: swap; src: url(/fonts/baloo-2/baloo-2-latin-700-normal.woff2) format("woff2"); 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: "Nunito"; font-weight: 400; font-display: swap; src: url(/fonts/nunito/nunito-latin-ext-400-normal.woff2) format("woff2"); 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"; font-weight: 400; font-display: swap; src: url(/fonts/nunito/nunito-latin-400-normal.woff2) format("woff2"); 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: "Nunito"; font-weight: 700; font-display: swap; src: url(/fonts/nunito/nunito-latin-ext-700-normal.woff2) format("woff2"); 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"; font-weight: 700; font-display: swap; src: url(/fonts/nunito/nunito-latin-700-normal.woff2) format("woff2"); 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; }

:root {
  /* brand */
  --rose-300: #F9AEAC;
  --rose-500: #D75F69;   /* "Luna" lettering — large text / decoration only */
  --rose-700: #B0404C;   /* accessible rose: text & buttons (5.4:1 on cream) */
  --sage-300: #90C28F;
  --sage-500: #6EA585;   /* "Joy" lettering — decoration only */
  --sage-700: #3F7457;   /* accessible sage: text & buttons (5.2:1 on cream) */
  --coral: #FD8382;      /* paw */
  --honey: #E9B97F;      /* golden retriever */
  --blush: #FCE3DE;      /* moon */
  --cream: #FDF8F4;      /* ground */

  /* roles */
  --bg: var(--cream);
  --surface: #FFFFFF;
  --surface-2: #FBEFEA;
  --ink: #3E2E2E;
  --muted: #7A6560;
  --line: #F0DDD6;
  --primary: var(--rose-700);
  --primary-ink: #FFFFFF;
  --accent: var(--sage-700);
  --focus: #2F6FDB;
  --ok-bg: #E4F3EA; --ok-ink: #2D5E43;
  --warn-bg: #FFF2DB; --warn-ink: #7A4E0A;
  --err-bg: #FDE6E6; --err-ink: #9B2C32;
  --info-bg: #E8EEF9; --info-ink: #2B4C7E;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(62, 46, 46, .06), 0 8px 24px rgba(176, 64, 76, .08);
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1E1719; --surface: #2A2022; --surface-2: #33272A; --ink: #F3E9E4; --muted: #C9B8B2; --line: #45363A;
    --primary: #F08C93; --primary-ink: #2A1418; --accent: #8CC5A5; --blush: #3A2A2D;
    --ok-bg: #1F3328; --ok-ink: #A8DDBE; --warn-bg: #3A2E18; --warn-ink: #F2CF8E; --err-bg: #3D1F22; --err-ink: #F5AAB0; --info-bg: #1E2A3D; --info-ink: #B5CAEE;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1E1719; --surface: #2A2022; --surface-2: #33272A; --ink: #F3E9E4; --muted: #C9B8B2; --line: #45363A;
  --primary: #F08C93; --primary-ink: #2A1418; --accent: #8CC5A5; --blush: #3A2A2D;
  --ok-bg: #1F3328; --ok-ink: #A8DDBE; --warn-bg: #3A2E18; --warn-ink: #F2CF8E; --err-bg: #3D1F22; --err-ink: #F5AAB0; --info-bg: #1E2A3D; --info-ink: #B5CAEE;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand span { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; line-height: 1; }
.brand .l { color: var(--rose-500); } .brand .j { color: var(--sage-500); }
:root[data-theme="dark"] .brand .l { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a, .nav button.linklike { color: var(--ink); text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav button.linklike:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { background: var(--blush); color: var(--primary); }
.nav .lang { border: 1px solid var(--line); font-size: .85rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--ink); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a, .nav button.linklike { padding: 12px; }
}
form.inline { display: inline; margin: 0; }
button.linklike { background: none; border: 0; font: inherit; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--font-body); padding: 13px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 6px 16px rgba(176, 64, 76, .25); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-sage { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn-sage { color: #10251A; }
.btn-ghost { background: transparent; color: var(--primary); border-color: currentColor; }
.btn-ghost:hover { background: var(--blush); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: var(--err-bg); color: var(--err-ink); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- layout bits ---------- */
main { padding: 28px 0 64px; min-height: 60vh; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g-side { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 900px) { .g-side { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.grid > .card + .card, .grid > * { margin-top: 0; }
.card h2, .card h3 { margin-top: 0; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.right { margin-left: auto; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--surface-2); color: var(--ink); }
.pill.rose { background: var(--blush); color: var(--primary); }
.pill.sage { background: var(--ok-bg); color: var(--ok-ink); }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill.err { background: var(--err-bg); color: var(--err-ink); }
.pill.info { background: var(--info-bg); color: var(--info-ink); }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--blush); flex-shrink: 0; }
.avatar.lg { width: 112px; height: 112px; }
.avatar-fallback { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }
.price { font-family: var(--font-display); font-size: 1.35rem; color: var(--primary); font-weight: 700; }
.stars { color: #E2A33B; letter-spacing: 1px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.page-head { margin-bottom: 22px; }
.page-head p { color: var(--muted); max-width: 64ch; }
.empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.empty img { width: 72px; opacity: .9; margin-bottom: 8px; }

/* ---------- flash ---------- */
.flash { border-radius: var(--radius-sm); padding: 12px 16px; margin: 0 0 16px; font-weight: 600; }
.flash.success { background: var(--ok-bg); color: var(--ok-ink); }
.flash.error { background: var(--err-bg); color: var(--err-ink); }
.flash.info { background: var(--info-bg); color: var(--info-ink); }
.flash.warn { background: var(--warn-bg); color: var(--warn-ink); }

/* ---------- forms ---------- */
label { display: block; font-weight: 700; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.field .hint { font-size: .87rem; color: var(--muted); margin-top: 4px; }
.field .error { font-size: .87rem; color: var(--err-ink); margin-top: 4px; font-weight: 700; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--err-ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 14px; }
.form-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; margin: 0 0 16px; }
legend { font-weight: 800; padding: 0 6px; }
.pet-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pet-pick label { display: flex; gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px; cursor: pointer; font-weight: 700; margin: 0; }
.pet-pick label:has(input:checked) { border-color: var(--primary); background: var(--blush); }
.pet-pick input { accent-color: var(--primary); width: 18px; height: 18px; }
.pet-pick label.disabled { opacity: .5; cursor: not-allowed; }
.pet-pick img, .pet-pick .ph { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; }

/* ---------- hero ---------- */
.hero { padding: 36px 0 28px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 .l { color: var(--rose-500); } .hero h1 .j { color: var(--sage-500); }
:root[data-theme="dark"] .hero h1 .l { color: var(--primary); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 480px; display: block; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(176,64,76,.18)); }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { max-width: 300px; } }
.search-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); margin-top: 22px; }
.search-box .form-row { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.search-box .field { margin: 0; }

.service-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: transform .15s ease; }
.service-card:hover { transform: translateY(-3px); }
.service-card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blush); }
.service-card .ico svg { width: 30px; height: 30px; }
.service-card:nth-child(even) .ico { background: var(--ok-bg); }
.service-card h3 { margin: 4px 0 0; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.band { background: var(--surface-2); padding: 48px 0; margin: 40px 0; }
.steps { counter-reset: s; }
.steps li { list-style: none; counter-increment: s; position: relative; padding-left: 54px; margin-bottom: 18px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.steps { padding: 0; }
.species-strip { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
td.num, th.num { text-align: right; white-space: nowrap; }

/* ---------- booking ---------- */
.summary { position: sticky; top: 86px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; font-size: 1.15rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { padding: 6px 0 6px 22px; position: relative; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.timeline li.done { color: var(--ink); font-weight: 700; }
.timeline li.done::before { background: var(--accent); }
.msgs { display: flex; flex-direction: column; gap: 10px; max-height: 460px; overflow-y: auto; padding: 4px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 16px; background: var(--surface-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; background: var(--blush); }
.msg small { display: block; font-size: .78rem; }
.pay-options { display: grid; gap: 10px; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; font-size: .8rem; }
.pay-logos span { border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--surface); font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--primary); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .legal { grid-column: 1 / -1; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- brand guide ---------- */
.swatch { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.swatch .chip { height: 86px; }
.swatch div.meta { padding: 10px 12px; font-size: .88rem; }
.swatch code { font-size: .85rem; }
.brand-assets img { background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 20px 20px; border-radius: 12px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .no-print { display: none !important; } body { background: #fff; } }
