/* Mossbark Grooming & Stay: a fictional pet groomer (Veshtera concept site). */
:root {
  --paper: #fff8ec;
  --sand: #fbecd2;
  --white: #ffffff;
  --ink: #232045;
  --text: #2a2740;
  --muted: #5b5870;
  --accent: #ffb547;
  --accent-deep: #f29b1d;
  --berry: #a3315f;
  --line: #ecdcc0;
  --focus: #a3315f;
  --round: ui-rounded, "SF Pro Rounded", "Nunito", "Avenir Next", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 20px;
  --wrap: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 1.0625rem/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--round); color: var(--ink); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.05rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--berry); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 10px; z-index: 10; }
.skip:focus { left: .5rem; }

/* Always-visible concept label */
.concept-bar { background: var(--ink); text-align: center; font-size: .875rem; }
.concept-bar a { display: inline-block; color: var(--white); padding: .55rem 1rem; min-height: 24px; }
.concept-bar :focus-visible { outline-color: var(--accent); }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { font-family: var(--round); font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -.01em; }
.brand-word small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--muted); margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: .6rem .8rem; border-radius: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:not(.btn):hover { background: var(--sand); }
.nav a:not(.btn)[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--berry); border-radius: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; font: 700 1rem/1.2 var(--round); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease; }
.btn svg { width: 20px; height: 20px; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #34306a; }
.btn-sun { background: var(--accent); color: var(--ink); }
.btn-sun:hover { background: var(--accent-deep); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--sand); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-facts svg { width: 20px; height: 20px; color: var(--berry); }
.hero-art { width: 100%; max-width: 34rem; margin: 0 auto; }

/* Sections */
.section { padding: clamp(2.75rem, 6vw, 4.5rem) 0; }
.section.sand { background: var(--sand); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); }
.kicker { font: 700 .85rem/1.2 var(--round); color: var(--berry); margin-bottom: .5rem; letter-spacing: .02em; }

.ways { display: grid; gap: 1.25rem; }
.way { background: var(--white); border-radius: var(--r); padding: 1.6rem; border: 1px solid var(--line); display: flex; flex-direction: column; }
.way .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 1rem; }
.way .ic svg { width: 26px; height: 26px; }
.way p { color: var(--muted); }
.way .from { margin-top: auto; font-weight: 700; color: var(--ink); }

.split { display: grid; gap: 2rem; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; background: var(--white); border-radius: 16px; padding: 1.1rem 1.2rem; border: 1px solid var(--line); }
.steps .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--berry); display: grid; place-items: center; }
.steps .ic svg { width: 22px; height: 22px; }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); }

.note { background: var(--white); border-left: 6px solid var(--accent-deep); border-radius: 14px; padding: 1.3rem 1.4rem; }
.note h3 { display: flex; align-items: center; gap: .5rem; }
.note h3 svg { width: 22px; height: 22px; color: var(--berry); }
.note ul { margin: .25rem 0 1rem; padding-left: 1.2rem; }
.note li { margin-bottom: .3rem; }
.note p:last-child { margin-bottom: 0; }

.placeholder { border: 2px dashed #c9b48f; border-radius: var(--r); padding: 2rem 1.5rem; text-align: center; color: var(--muted); background: rgba(255, 255, 255, .55); }
.placeholder strong { display: block; font-family: var(--round); color: var(--ink); font-size: 1.15rem; margin-bottom: .35rem; }

.cta-band { background: var(--ink); color: #e9e7f5; border-radius: 28px; padding: clamp(1.75rem, 4vw, 2.75rem); display: grid; gap: 1.25rem; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: .35rem; }
.cta-band p { margin: 0; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band :focus-visible { outline-color: var(--accent); }
.cta-band .btn-line { color: var(--white); border-color: var(--white); }
.cta-band .btn-line:hover { background: rgba(255, 255, 255, .1); }

/* Page heading */
.page-hero { padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.5rem; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }

/* Price table */
.price-wrap { overflow-x: auto; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); }
.prices { width: 100%; border-collapse: collapse; min-width: 34rem; font-variant-numeric: tabular-nums; }
.prices caption { text-align: left; padding: 1.1rem 1.25rem .25rem; font-family: var(--round); font-weight: 800; color: var(--ink); font-size: 1.15rem; }
.prices th, .prices td { padding: .9rem 1.25rem; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.prices thead th { font-size: .9rem; color: var(--muted); border-top: 0; }
.prices thead th span { display: block; font-weight: 400; font-size: .82rem; }
.prices tbody th { font-weight: 700; color: var(--ink); }
.prices tbody th span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.prices td { position: relative; font-weight: 700; color: var(--ink); white-space: nowrap; }
/* Each price also names its size in text: hidden on wide screens (the column header shows it), shown on phones. */
.prices .size { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-note { font-size: .95rem; color: var(--muted); margin-top: .9rem; }
.tag { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .85rem; border-radius: 8px; padding: .15rem .55rem; }

/* Form */
.layout { display: grid; gap: 2rem; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.form h2 { font-size: 1.45rem; }
.grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label, fieldset legend { font-weight: 700; color: var(--ink); }
input, select, textarea { font: inherit; line-height: 1.4; color: var(--text); background: var(--white); border: 2px solid #8c7a58; border-radius: 12px; padding: .7rem .85rem; min-height: 48px; width: 100%; }
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.choice label { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem 1rem; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 600; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--sand); }
.choice input, .check input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--ink); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.check input { flex: none; margin-top: .15rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.form-foot p { margin: 0; font-size: .92rem; color: var(--muted); }
.form-note { margin: 1.1rem 0 0; padding: .9rem 1.1rem; border-radius: 12px; background: var(--sand); color: var(--ink); font-weight: 700; border-left: 6px solid var(--accent-deep); }
.aside { display: grid; gap: 1rem; }
.aside-card { background: var(--sand); border-radius: var(--r); padding: 1.4rem; }
.aside-card h2 { font-size: 1.2rem; }
.aside-card p:last-child, .aside-card ul:last-child { margin-bottom: 0; }
.aside-card ul { padding-left: 1.2rem; }

/* Footer */
.site-foot { background: var(--sand); margin-top: clamp(2.5rem, 6vw, 4rem); padding: 2.5rem 0 1.5rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 1.75rem; }
.site-foot h2 { font-size: 1rem; margin-bottom: .5rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-foot .brand-word { font-size: 1.15rem; }
.foot-about { color: var(--muted); max-width: 26rem; margin-top: .75rem; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1rem; color: var(--muted); }
.foot-base a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 720px) {
  .ways { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr auto; }
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .layout { grid-template-columns: 1.6fr 1fr; }
  .grid.two { grid-template-columns: 1fr 1fr; }
  .grid.two .full { grid-column: 1 / -1; }
}
@media (max-width: 719px) {
  .nav { margin-left: 0; width: 100%; justify-content: space-between; }
  .nav .btn { padding: .6rem 1rem; }
}
/* Phones: each service becomes a row of three labeled prices instead of a sideways scroll. */
@media (max-width: 599px) {
  .prices { min-width: 0; }
  .prices thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prices tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); padding: .9rem 1.25rem; gap: .35rem .75rem; }
  .prices tbody th { grid-column: 1 / -1; padding: 0 0 .35rem; border: 0; }
  .prices td { padding: 0; border: 0; white-space: normal; }
  .prices .size { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: block; font-weight: 400; font-size: .82rem; color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
