/* ==========================================================================
   petsky — inner pages (services / gallery / about) + contact form
   ========================================================================== */

/* ---------- inner page hero ---------- */
.phero { padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 76px)); padding-bottom: clamp(8px, 3vw, 28px); position: relative; }
.phero::before {
  content:""; position:absolute; inset:0 0 auto 0; height: 100%;
  background: radial-gradient(90% 120% at 100% 0%, var(--primary-soft) 0%, rgba(228,244,237,0) 55%);
  z-index:-1;
}
.phero__title { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; margin-top: 16px; max-width: 18ch; }
.phero__sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); margin-top: 20px; max-width: 56ch; line-height: 1.55; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- services: grooming ---------- */
.svc-detail__head { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.svc-detail__ic { flex:none; width: 60px; height: 60px; border-radius: 16px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; }
.svc-detail__ic svg { width: 30px; height: 30px; }
.svc-detail__lede { color: var(--ink-2); font-size: 17px; max-width: 52ch; margin: 8px 0 32px; line-height: 1.6; }
.grm-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.grm { padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.grm__no { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--primary); }
.grm__t { font-size: 18px; font-weight: 800; margin-top: 14px; }
.grm__d { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 28px;
  background: var(--accent-soft); border: 1px solid #f0dca6; border-radius: var(--r-md);
  padding: 18px 20px;
}
.note svg { flex:none; width: 22px; height: 22px; color: var(--accent-deep); margin-top: 1px; }
.note p { font-size: 15px; color: #5a4a20; line-height: 1.55; }
.note .linkish { color: var(--accent-deep); }

/* ---------- services: shop ---------- */
.shopsec { background: var(--surface); border-block: 1px solid var(--border); }
.shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.shopcard { padding: 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border); transition: transform .18s ease, box-shadow .2s ease; }
.shopcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.shopcard__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--primary-deep); display: grid; place-items: center; margin-bottom: 14px; }
.shopcard__ic svg { width: 23px; height: 23px; }
.shopcard__t { font-size: 18px; font-weight: 800; }
.shopcard__d { color: var(--muted); font-size: 14px; margin-top: 6px; line-height: 1.5; }

/* ---------- services: steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step__no { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.step__t { font-size: 19px; font-weight: 800; margin-top: 18px; }
.step__d { color: var(--muted); font-size: 14.5px; margin-top: 8px; line-height: 1.55; }
.step__line { position: absolute; top: 49px; right: -9px; width: 18px; height: 2px; background: var(--border); z-index: 1; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.galt { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.galt--tall { grid-row: span 2; }
.galt--wide { grid-column: span 2; }
.galt__btn { display: block; width: 100%; height: 100%; padding: 0; position: relative; background: #eef5f0; }
.galt__btn--pad { background: #fff; }
.galt__btn--pad .cover { object-fit: contain; padding: 18px; }
.galt__ph { width: 100%; height: 100%; }
.galt__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22,36,31,.74); color: #fff; backdrop-filter: blur(4px);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .03em;
  padding: 5px 9px; border-radius: var(--r-pill);
}
.galt__tag svg { width: 12px; height: 12px; }
.galt__zoom {
  position: absolute; top: 10px; right: 10px; z-index: 2; opacity: 0;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: grid; place-items: center; color: var(--secondary); transition: opacity .18s ease, transform .18s ease;
}
.galt__zoom svg { width: 17px; height: 17px; }
.galt__btn:hover .galt__zoom { opacity: 1; transform: scale(1.05); }
.galt__btn .cover { transition: transform .5s ease; }
.galt__btn:hover .cover { transform: scale(1.05); }
.gal-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; color: var(--muted); font-size: 14.5px; max-width: 70ch; }
.gal-note svg { flex:none; width: 20px; height: 20px; color: var(--primary); margin-top: 2px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(12,22,18,.86); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 24px; animation: sheetIn .2s ease; }
.lb__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lb__close svg { width: 22px; height: 22px; }
.lb__close:hover { background: rgba(255,255,255,.26); }
.lb__fig { margin: 0; max-width: min(880px, 92vw); max-height: 86vh; display: flex; flex-direction: column; gap: 12px; }
.lb__fig img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lb__fig figcaption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; }

/* ---------- about ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); text-align: center; }
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); color: var(--primary-deep); line-height: 1; letter-spacing: -0.02em; }
.stat__l { color: var(--muted); font-size: 13.5px; margin-top: 8px; font-weight: 600; }
.valsec { background: var(--surface); border-block: 1px solid var(--border); }
.vals { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.val { padding: 28px 24px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border); }
.val__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; margin-bottom: 16px; }
.val__ic svg { width: 24px; height: 24px; }
.val__t { font-size: 17px; font-weight: 800; line-height: 1.2; }
.val__d { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.55; }

/* ==================== CONTACT / FORM ==================== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.formcard { padding: clamp(24px, 3vw, 40px); }

/* progress */
.prog { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.prog__step { display: flex; align-items: center; gap: 10px; flex: 1; opacity: .55; transition: opacity .2s ease; }
.prog__step.is-current, .prog__step.is-done { opacity: 1; }
.prog__dot { flex:none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--border); color: var(--muted); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.prog__step.is-current .prog__dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.prog__step.is-done .prog__dot { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-deep); }
.prog__dot svg { width: 15px; height: 15px; }
.prog__lbl { font-size: 13px; font-weight: 700; font-family: var(--font-display); color: var(--ink-2); }
.prog__step:not(:last-child) { position: relative; }
.prog__step:not(:last-child)::after { content:""; flex:1; height: 1.5px; background: var(--border); margin-left: 2px; }

.fstep { animation: sheetIn .22s ease; }
.fstep__h { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 22px; }

/* option grid */
.optgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px; border-radius: var(--r-md); background: var(--bg);
  border: 1.5px solid var(--border); transition: border-color .15s ease, background .15s ease;
  position: relative;
}
.opt:hover { border-color: #c4e0d3; }
.opt.is-on { border-color: var(--primary); background: var(--primary-soft); }
.opt__ic { flex:none; width: 42px; height: 42px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); color: var(--primary-deep); display: grid; place-items: center; }
.opt.is-on .opt__ic { background: var(--primary); border-color: var(--primary); color: #fff; }
.opt__ic svg { width: 21px; height: 21px; }
.opt__txt { display: flex; flex-direction: column; gap: 2px; }
.opt__txt b { font-size: 15.5px; font-family: var(--font-display); }
.opt__txt span { font-size: 12.5px; color: var(--muted); }
.opt__check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); color: #fff; display: none; place-items: center; }
.opt__check svg { width: 12px; height: 12px; }
.opt.is-on .opt__check { display: grid; }

.subfields { margin-top: 22px; display: grid; gap: 18px; padding-top: 22px; border-top: 1px dashed var(--border); }

/* fields */
.field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.fstep > .field:first-of-type, .subfields .field { margin-top: 0; }
.field2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.field2 .field { margin-top: 0; }
.field__l { font-size: 13.5px; font-weight: 700; font-family: var(--font-display); color: var(--ink-2); }
.opt-tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-left: 6px; }
.input {
  width: 100%; font-family: var(--font-body); font-size: 15.5px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input::placeholder { color: #9aa8a2; }
.input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-soft); }
.input--area { resize: vertical; min-height: 96px; line-height: 1.5; }
.input.is-err { border-color: #d8645a; background: #fdf4f3; }
.err { font-size: 12.5px; color: #c14a40; font-weight: 600; }
.err--block { display: block; margin-top: 10px; }

/* segmented */
.seg { display: inline-flex; background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: 4px; gap: 3px; }
.seg__b { padding: 9px 18px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background .15s ease, color .15s ease; }
.seg__b.is-on { background: var(--primary); color: #fff; }

/* nav buttons */
.fnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.fnav > span:empty { display: block; }
.disclaim { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.5; }

/* review */
.review { margin-top: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.review__h { font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.review__list, .success__card { display: grid; gap: 10px; }
.review__list > div, .success__card > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 14.5px; }
.review__list dt, .success__card dt { color: var(--muted); margin: 0; }
.review__list dd, .success__card dd { margin: 0; font-weight: 600; color: var(--text); }

/* success */
.success { text-align: center; padding: 16px 0 8px; animation: sheetIn .3s ease; }
.success__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; margin: 0 auto 22px; }
.success__tick svg { width: 34px; height: 34px; }
.success__h { font-size: clamp(24px, 3vw, 32px); }
.success__p { color: var(--ink-2); font-size: 16px; max-width: 46ch; margin: 14px auto 0; line-height: 1.55; }
.success__card { max-width: 380px; margin: 26px auto 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; text-align: left; }
.success__card > div { grid-template-columns: 130px 1fr; }
.success__note { color: var(--muted); font-size: 14px; margin-top: 22px; }
.success__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }

/* contact rail */
.crail { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 16px); }
.crail__card { padding: 24px; }
.crail__h { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.crail__row { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hairline); }
.crail__row:first-of-type { border-top: none; padding-top: 0; }
.crail__ic { flex:none; width: 40px; height: 40px; border-radius: 11px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; }
.crail__ic svg { width: 19px; height: 19px; }
.crail__row span:not(.crail__ic) { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.crail__phone { font-family: var(--font-mono); font-size: 17px; color: var(--primary-deep); }
.crail__sub { color: var(--muted); font-size: 13px; }
.crail__social { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.crail__social a { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); color: var(--secondary); display: grid; place-items: center; transition: background .15s ease, color .15s ease; }
.crail__social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.crail__social svg { width: 18px; height: 18px; }
.crail__shop { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--primary-deep); width: auto !important; height: auto !important; background: none !important; border: none !important; }
.crail__shop:hover { text-decoration: underline; }
.crail__map { position: relative; }
.crail__ph { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.crail__trust { display: flex; flex-direction: column; gap: 4px; padding: 4px 4px 0; }
.crail__trust-sub { color: var(--muted); font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grm-grid { grid-template-columns: repeat(2,1fr); }
  .shop-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .step__line { display: none; }
  .vals { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .gal { grid-template-columns: repeat(2,1fr); grid-auto-rows: 170px; }
  .galt--wide { grid-column: span 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .crail { position: static; order: -1; }
}
@media (max-width: 560px) {
  .grm-grid, .shop-grid, .vals, .stats { grid-template-columns: 1fr; }
  .optgrid { grid-template-columns: 1fr; }
  .field2 { grid-template-columns: 1fr; }
  .gal { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .galt--wide, .galt--tall { grid-column: auto; grid-row: auto; }
  .seg { width: 100%; }
  .seg__b { flex: 1; padding: 10px 8px; }
  .prog__lbl { display: none; }
  .fnav .btn { flex: 1; }
}
