/* Pawz at Play shared styles (every page)
   Brand colors are the SVG hex values from the Pawz Brand folder. */

:root {
  --teal: #004750;
  --teal-deep: #003c46;
  --sea: #98d5d4;
  --orange: #ee3f23;
  --sun: #dae253;
  --white: #ffffff;
  --paper: #fbf7ec;

  --display: "roca", "Fraunces", Georgia, serif;
  --body: "terfens", "Figtree", system-ui, sans-serif;

  --nav-h: 64px;
  --gutter: clamp(16px, 4vw, 48px);
  --shadow: 6px 6px 0 var(--teal);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--teal);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0;
}
em { font-style: normal; color: var(--orange); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--teal); color: var(--paper); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em;
  border: 2px solid var(--teal);
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--teal);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--teal); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--teal); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--paper { background: var(--paper); color: var(--teal); }
.btn--sun { background: var(--sun); color: var(--teal); }

.eyebrow {
  font-weight: 900; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 1rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 60;
  top: 12px; left: var(--gutter); right: var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 10px 0 22px;
  background: var(--paper);
  border: 2px solid var(--teal);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--teal);
}
.nav__logo { position: relative; display: block; width: 170px; height: 32px; flex: none; }
.wag { position: absolute; left: 0; top: 0; height: 100%; width: auto; }
.wag--1, .wag--2 { opacity: 0; }
.wagger:hover .wag--0, .wagger.is-wagging .wag--0 { opacity: 0; }
.wagger:hover .wag--1, .wagger.is-wagging .wag--1 { animation: wag-a .32s steps(1) infinite; }
.wagger:hover .wag--2, .wagger.is-wagging .wag--2 { animation: wag-b .32s steps(1) infinite; }
@keyframes wag-a { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes wag-b { 0% { opacity: 0; } 50% { opacity: 1; } }

.nav__links { display: flex; gap: 22px; margin-right: auto; }
.nav__links a {
  white-space: nowrap; text-decoration: none; font-weight: 700; font-size: .95rem;
  background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 85% / 0 40%;
  transition: background-size .2s ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { background-size: 100% 40%; }

.nav__status, .status { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.nav__status .dot, .status .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(238,63,35,.2); }
.nav__status.is-open .dot, .status.is-open .dot { background: #3a9b5c; box-shadow: 0 0 0 3px rgba(58,155,92,.22); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(58,155,92,0); } }

/* ---------- Menu button and panel (phones and tablets) ---------- */
.nav__toggle {
  display: none; position: relative; flex: none; width: 46px; height: 46px; padding: 0; cursor: pointer;
  border: 2px solid var(--teal); border-radius: 50%; background: var(--sun); box-shadow: 2px 2px 0 var(--teal);
}
.nav__toggle span {
  position: absolute; left: 50%; width: 20px; height: 2.5px; margin-left: -10px; border-radius: 2px; background: var(--teal);
  transition: transform .3s cubic-bezier(.5, 1.6, .4, 1), opacity .2s ease;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20.5px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.menu-open .nav__toggle { background: var(--orange); }
.menu-open .nav__toggle span { background: var(--white); }
.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 59; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(12px + var(--nav-h) + 28px) var(--gutter) 32px;
  background:
    radial-gradient(circle, rgba(152, 213, 212, .14) 1.6px, transparent 2.1px) 0 0 / 14px 14px,
    var(--teal);
  color: var(--paper);
  visibility: hidden; opacity: 0; transform: translateY(-16px);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s .4s;
}
.menu-open .menu { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1); }
.menu-open { overflow: hidden; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links li {
  border-bottom: 1.5px dashed rgba(152, 213, 212, .35);
  opacity: 0; transform: translateX(-14px); transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.menu-open .menu__links li { opacity: 1; transform: none; }
.menu-open .menu__links li:nth-child(2) { transition-delay: .04s; }
.menu-open .menu__links li:nth-child(3) { transition-delay: .08s; }
.menu-open .menu__links li:nth-child(4) { transition-delay: .12s; }
.menu-open .menu__links li:nth-child(5) { transition-delay: .16s; }
.menu-open .menu__links li:nth-child(6) { transition-delay: .2s; }
.menu-open .menu__links li:nth-child(7) { transition-delay: .24s; }
.menu-open .menu__links li:nth-child(8) { transition-delay: .28s; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.05;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  transition: color .2s ease, transform .2s ease;
}
.menu__links a:hover { color: var(--sun); transform: translateX(6px); }
.menu__links a[aria-current="page"] { color: var(--sun); }
.menu__links i { font: 900 .8rem/1 var(--body); font-style: normal; letter-spacing: .1em; color: var(--sea); }
.menu__tag {
  align-self: center; padding: .3em .7em; border-radius: 999px; background: var(--orange); color: var(--white);
  font: 900 .66rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
}
.menu__foot { display: grid; gap: 16px; }
.menu__status { justify-self: start; padding: .4em .9em; background: var(--paper); color: var(--teal); border-radius: 999px; font-size: .82rem; white-space: normal; }
.menu__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.menu__btns .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--sun); }
.menu__addr { margin: 0; font-size: .88rem; opacity: .8; }
/* Keep the fetch ball and phone action bar out of the way while the menu is open. */
.menu-open .ball, .menu-open .fetch-count, .menu-open .actionbar { visibility: hidden; }

/* ---------- Cookie choices ---------- */
.consent {
  position: fixed; z-index: 80; left: var(--gutter); bottom: 24px; width: min(440px, calc(100% - 32px));
  max-height: calc(100vh - 120px); overflow-y: auto;
  padding: 22px 22px 20px; background: var(--paper); color: var(--teal);
  border: 2px solid var(--teal); border-radius: 18px; box-shadow: 8px 8px 0 var(--teal);
  opacity: 0; transform: translateY(24px) rotate(-1deg);
  transition: opacity .3s ease, transform .4s cubic-bezier(.3, 1.4, .5, 1);
}
.consent.is-in { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__top { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.consent__art { width: 76px; margin-top: 6px; transform: rotate(-12deg); }
.consent h2 { font-size: 1.55rem; margin-bottom: .4rem; }
.consent p { margin: 0; font-size: .92rem; }
.consent a { font-weight: 900; text-underline-offset: 3px; }
.consent__prefs { display: grid; gap: 10px; margin-top: 16px; }
.consent__prefs[hidden] { display: none; }
.consent__gpc { padding: 8px 12px; background: var(--sea); border-radius: 10px; font-weight: 700; }
.consent__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.consent__btns .btn { padding: .7em 1.1em; font-size: .8rem; }
.consent__btns [hidden] { display: none; }
.consent__link {
  padding: .4em .2em; border: 0; background: none; color: var(--teal); cursor: pointer;
  font: 900 .8rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px;
}

/* Switches used in the cookie choices */
.toggle {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; cursor: pointer;
  padding: 10px 12px; background: var(--white); border: 2px solid var(--teal); border-radius: 12px;
}
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { position: relative; width: 44px; height: 24px; margin-top: 2px; border-radius: 999px; background: #c9d8d9; border: 2px solid var(--teal); transition: background .2s ease; }
.toggle__ui::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--teal); transition: transform .25s cubic-bezier(.4, 1.6, .5, 1);
}
.toggle input:checked + .toggle__ui { background: var(--orange); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--orange); outline-offset: 2px; }
.toggle__text { font-size: .86rem; line-height: 1.4; }
.toggle__text b { display: block; font-weight: 900; font-size: .95rem; }
.toggle.is-locked { cursor: default; opacity: .75; }

.site-foot__legal-links { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.site-foot__legal-links button {
  padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  font: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.site-foot__legal-links button:hover { color: var(--sun); }

/* ---------- Page ---------- */
main { position: relative; z-index: 10; }

.facts { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.facts li { position: relative; padding: .45em 0 .45em 26px; border-top: 1.5px dashed rgba(0, 71, 80, .35); }
.facts li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 15px; height: 15px;
  background: url("../assets/brand/a-paw.svg") center / contain no-repeat;
  filter: brightness(0) saturate(100%) invert(31%) sepia(91%) saturate(2970%) hue-rotate(352deg) brightness(97%) contrast(93%);
}
.facts b { font-weight: 900; }

.prices { list-style: none; margin: 0 0 .4rem; padding: 0; }
.prices li { display: flex; align-items: baseline; gap: 8px; padding: .3em 0; }
.prices li::after { content: none; }
.prices span { order: 1; }
.prices li::before { content: ""; order: 2; flex: 1; border-bottom: 2px dotted rgba(0, 71, 80, .45); transform: translateY(-4px); }
.prices b { order: 3; font-family: var(--display); font-size: 1.35rem; font-weight: 900; }
.note { font-size: .88rem; font-weight: 700; opacity: .8; }


/* ---------- Torn edge ---------- */
.tear--top {
  position: absolute; left: 0; right: 0; top: -22px; height: 24px;
  background:
    linear-gradient(135deg, transparent 49%, var(--paper) 50%) 0 0 / 24px 24px repeat-x,
    linear-gradient(225deg, transparent 49%, var(--paper) 50%) 12px 0 / 24px 24px repeat-x;
}

/* ---------- Book ---------- */
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.book {
  position: relative; z-index: 12;
  padding: 110px 0 120px;
  background: var(--paper) url("../assets/tex/bones.svg") 0 0 / 380px 380px;
}
.big { font-size: clamp(3rem, 8vw, 6.6rem); margin-bottom: 2.6rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px; text-decoration: none;
  background: var(--white);
  border: 2px solid var(--teal); border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 10px 10px 0 var(--teal); }
.service__icon { position: relative; width: 112px; height: 112px; margin-bottom: 18px; }
.service__icon img { position: absolute; inset: 0; width: 100%; transition: opacity .2s ease, transform .3s ease; }
.service__icon img + img { opacity: 0; }
.service:hover .service__icon img:first-child { opacity: 0; }
.service:hover .service__icon img + img { opacity: 1; transform: rotate(-8deg) scale(1.05); }
.service h3 { font-size: 2.2rem; margin-bottom: .5rem; }
.service p { margin: 0 0 .8rem; }
.service__price { font-weight: 900; }
.service__go {
  margin-top: auto; padding-top: 10px;
  font-weight: 900; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange);
}
.service__go::after { content: " →"; }
.book__alt { margin: 2.4rem 0 0; font-weight: 700; font-size: 1.05rem; }
.book__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 2.6rem; }
.book__head .big { margin-bottom: 1rem; }
.book__local { max-width: 46ch; margin: 0; font-weight: 700; font-size: 1.08rem; }
.book__badge { width: 150px; flex: none; transform: rotate(8deg); transition: transform .6s ease; }
.book__badge:hover { transform: rotate(368deg); }

/* ---------- Reviews ---------- */
.reviews {
  position: relative; z-index: 12;
  background: var(--teal); color: var(--paper);
  padding: 70px 0 40px; overflow: hidden;
}
.reviews__track { display: flex; gap: 28px; width: max-content; animation: marquee 60s linear infinite; }
.reviews:hover .reviews__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.reviews figure {
  margin: 0; width: 380px; flex: none;
  padding: 26px; border: 2px solid var(--sea); border-radius: 10px;
}
.reviews figure:nth-child(3n + 2) { background: var(--teal-deep); transform: rotate(-1deg); }
.reviews figure:nth-child(3n) { transform: rotate(1deg); }
.reviews blockquote { margin: 0 0 1rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; font-variation-settings: "SOFT" 100; }
.reviews figcaption { font-weight: 900; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.reviews__src { text-align: center; margin: 30px 0 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }

/* ---------- Footer ---------- */
.site-foot { position: relative; z-index: 12; color: var(--paper); background: var(--teal); }

/* Book band: lime, with Brutes peeking up from the teal below. */
.site-foot__cta { position: relative; background: var(--sun); color: var(--teal); padding: 84px 0 96px; }
/* Lime teeth rise out of the band, so the edge works under any section color. */
.site-foot__cta-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tear--sun {
  position: absolute; left: 0; right: 0; top: -22px; height: 24px;
  background:
    linear-gradient(135deg, transparent 49%, var(--sun) 50%) 0 0 / 24px 24px repeat-x,
    linear-gradient(225deg, transparent 49%, var(--sun) 50%) 12px 0 / 24px 24px repeat-x;
}
.site-foot__cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.site-foot__cta h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.site-foot__cta h2 em { color: var(--orange); }
.site-foot__lede { margin: 1rem 0 0; font-weight: 700; font-size: 1.1rem; }
.site-foot__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-right: 150px; }
.site-foot__brutes {
  position: absolute; right: calc(var(--gutter) + 10px); bottom: 0; width: 130px;
  transform: translateY(105%) rotate(6deg); transition: transform .6s cubic-bezier(.4, 1.6, .5, 1);
}
.site-foot__cta.is-in .site-foot__brutes { transform: translateY(32%) rotate(-4deg); }
.site-foot__cta:hover .site-foot__brutes { transform: translateY(22%) rotate(3deg); }

/* Info columns */
.site-foot__main { position: relative; padding: 76px 0 44px; }
.site-foot__main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../assets/tex/grit.webp") center / 900px auto; filter: invert(1); opacity: .12;
}
.site-foot__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1.3fr .8fr 1fr; gap: 40px; }
.site-foot h3 { font-size: 1.5rem; color: var(--sun); margin-bottom: 1rem; }
.site-foot h4 { margin: 1.2rem 0 .4rem; font-weight: 900; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.site-foot p { margin: 0 0 .6rem; }
.site-foot a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-foot a:hover { color: var(--sun); }
.site-foot__addr { font-family: var(--display); font-weight: 900; font-size: 1.45rem; line-height: 1.15; font-variation-settings: "SOFT" 100; }
.site-foot__go { display: inline-block; margin: .3rem 0 1rem; font-weight: 900; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--sun); }
.site-foot__go:hover { text-decoration: underline; }
.site-foot__small { font-size: .9rem; opacity: .8; }
.site-foot__fine {
  position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap;
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1.5px dashed rgba(152, 213, 212, .35);
  font-size: .85rem; opacity: .8;
}
.site-foot__fine p { margin: 0; }
.site-foot dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: .95rem; }
.site-foot dt { font-weight: 900; }
.site-foot dd { margin: 0; }
.site-foot .status { display: inline-flex; margin: 0 0 1rem; padding: .35em .9em; background: var(--paper); color: var(--teal); border-radius: 999px; font-size: .8rem; white-space: normal; }
.site-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-weight: 700; }
.site-foot__links a { text-decoration: none; }
.site-foot__links a:hover { text-decoration: underline; }
.site-foot__hiring { margin-left: 6px; padding: .15em .55em; border-radius: 999px; background: var(--orange); color: var(--white); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.site-foot__phone { font-family: var(--display); font-weight: 900; font-size: 1.6rem; font-variation-settings: "SOFT" 100; }
.site-foot__phone a { text-decoration: none; }
.site-foot__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem !important; }
.site-foot__social a {
  padding: .4em .9em; border: 2px solid var(--sea); border-radius: 999px;
  font-weight: 900; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.site-foot__social a:hover { background: var(--sun); border-color: var(--sun); color: var(--teal); }

/* ---------- Fetch ---------- */
.ball {
  position: fixed; z-index: 70; right: var(--gutter); bottom: 26px;
  width: 58px; height: 58px; padding: 0;
  border: 2px solid var(--teal); border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), transparent 32%),
    var(--sun);
  box-shadow: 3px 3px 0 var(--teal);
  cursor: grab; touch-action: none;
}
.ball::before, .ball::after {
  content: ""; position: absolute; width: 70%; height: 70%; border: 3px solid var(--white); border-radius: 50%;
}
.ball::before { left: -38%; top: 15%; }
.ball::after { right: -38%; top: 15%; }
.ball { overflow: hidden; }
.ball.is-flying { cursor: grabbing; box-shadow: none; transition: none; }
.ball__tip {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%);
  background: var(--teal); color: var(--paper); border-radius: 999px; padding: 5px 12px;
  font-weight: 900; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.ball-wrap-tip { display: none; }
.fetcher {
  position: fixed; z-index: 69; left: 0; top: 0; width: 110px;
  transform: translate(-400px, -400px); pointer-events: none;
}
.fetcher img { width: 100%; filter: drop-shadow(3px 3px 0 var(--paper)); }
.fetch-count {
  position: fixed; z-index: 70; right: calc(var(--gutter) + 70px); bottom: 40px; margin: 0;
  background: var(--paper); border: 2px solid var(--teal); border-radius: 999px; padding: 4px 12px;
  font-weight: 900; font-size: .8rem; opacity: 0; transition: opacity .3s ease;
}
.fetch-count.is-on { opacity: 1; }

/* ---------- Mobile ---------- */
.actionbar { display: none; }

/* The status pill drops its long half before the links run out of room. */
@media (max-width: 1360px) {
  .nav__status .long { display: none; }
}

@media (max-width: 1140px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__status { margin-left: auto; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 54px; }
  body { font-size: 16px; }
  .nav { top: 8px; padding: 0 5px 0 16px; gap: 10px; }
  .nav__toggle { width: 42px; height: 42px; }
  .nav__toggle span:nth-child(1) { top: 12px; }
  .nav__toggle span:nth-child(2) { top: 18.5px; }
  .nav__toggle span:nth-child(3) { top: 25px; }
  .nav__logo { width: 136px; height: 26px; }
  .nav__book { display: none; }
  .nav__status { font-size: .75rem; }
  .nav__status .long { display: none; }

  .book__head { flex-direction: column-reverse; gap: 12px; }
  .book__badge { width: 96px; }

  .services { grid-template-columns: 1fr; }
  .reviews figure { width: 290px; }

  .actionbar {
    position: fixed; z-index: 65; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 2px solid var(--teal);
  }
  .actionbar .btn { box-shadow: 3px 3px 0 var(--teal); }
  .ball { width: 48px; height: 48px; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .fetch-count { bottom: calc(92px + env(safe-area-inset-bottom)); right: 76px; }
  .site-foot__cta { padding: 70px 0 120px; }
  .site-foot__btns { margin-right: 0; }
  .site-foot__brutes { width: 104px; }
  .site-foot__grid { grid-template-columns: 1fr; gap: 34px; }
  .site-foot__main { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom)); max-height: calc(100vh - 160px); padding: 18px 16px 16px; box-shadow: 5px 5px 0 var(--teal); }
  .consent__top { grid-template-columns: 56px 1fr; gap: 10px; }
  .consent__art { width: 56px; }
  .consent h2 { font-size: 1.3rem; }
}

@media (hover: hover) {
  .ball:hover .ball__tip { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reviews__track { width: auto; overflow-x: auto; padding: 0 var(--gutter); }
}
