/* Paws Inn: a made-up pet hotel. Sunny yellow, thick ink outlines, hard offset shadows, chunky type.
   The whole first screen is the stay builder: pick, and the price moves. One local sans. No CDN. */
@font-face { font-family: "Onest"; src: url("fonts/onest.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 40px; --s7: 72px;
  --t-sm: 0.875rem; --t-md: 1rem; --t-lg: 1.1875rem; --t-xl: 1.5rem; --t-h: clamp(2.2rem, 4.6vw, 4rem); --t-h2: clamp(1.6rem, 3vw, 2.5rem);
  --sun: #FFD23F; --sun-2: #FFE58A; --sky: #BFE3FF; --paper: #FFFBF0; --white: #FFFFFF; --ink: #1B1B1B; --ink-2: #3F3A30; --muted: #5E5848;
  --error: #A3331F;
  --line: 2.5px solid var(--ink); --drop: 6px 6px 0 var(--ink); --drop-sm: 3px 3px 0 var(--ink); --veil: rgb(27 27 27 / 0.55);
  --r: 18px; --pill: 999px; --wrap: 1180px; --pad: 32px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Onest", ui-sans-serif, system-ui, sans-serif; font-size: var(--t-md); line-height: 1.5; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, p, ul, fieldset { margin: 0; }
h1, h2, h3 { font-weight: 900; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--t-h); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-xl); letter-spacing: -0.03em; line-height: 1.1; }
ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: var(--s2); font-weight: 800; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: var(--s4); top: -80px; z-index: 70; padding: var(--s2) var(--s4); border: var(--line); border-radius: var(--pill); background: var(--white); }
.skip:focus-visible { top: var(--s4); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--s5); border: var(--line); border-radius: var(--pill); font-weight: 800; white-space: nowrap; cursor: pointer; box-shadow: var(--drop-sm); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease); }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--sun); }
.btn--line { background: var(--white); }

/* Top */
.top { position: sticky; top: 0; z-index: 30; background: var(--sun); border-bottom: var(--line); }
.top__in { display: flex; align-items: center; gap: var(--s4); min-height: 68px; }
.top__mark { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.05em; text-decoration: none; }
.top__nav { display: flex; gap: var(--s4); font-weight: 700; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.top__nav a:hover { text-decoration: underline; text-decoration-thickness: 2.5px; text-underline-offset: 0.3em; }
.top__lang { min-width: 48px; min-height: 44px; border: var(--line); border-radius: var(--pill); background: var(--white); font-weight: 800; cursor: pointer; }

/* First screen: what it is on the left, the stay builder on the right */
.hero { background: var(--sun); border-bottom: var(--line); padding-block: var(--s6) var(--s7); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6); align-items: start; }
.hero__say { display: grid; gap: var(--s4); position: sticky; top: 100px; }
.hero__say p { font-size: var(--t-lg); font-weight: 500; max-width: 34ch; }
.hero__pic { width: 100%; max-width: 26rem; aspect-ratio: 1; object-fit: cover; margin-top: var(--s3); border: var(--line); border-radius: var(--r); background: var(--sun-2); box-shadow: var(--drop); }
.stay { display: grid; gap: var(--s5); padding: var(--s5); border: var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--drop); scroll-margin-top: 88px; }
.stay h2 { font-size: var(--t-xl); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg label, .room, .extra { position: relative; cursor: pointer; }
.seg input, .room input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 52px; padding: var(--s2); border: var(--line); border-radius: var(--pill); background: var(--white); font-weight: 800; text-align: center; transition: background-color 160ms var(--ease); }
.seg--3 span { border-radius: var(--r); }
.seg small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
.seg input:checked + span { background: var(--sun); box-shadow: var(--drop-sm); }
.seg input:focus-visible + span, .room input:focus-visible + .room__in { outline: 3px solid var(--ink); outline-offset: 3px; }
.nights { display: flex; align-items: center; gap: var(--s3); }
.nights button { width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--white); font-size: var(--t-xl); font-weight: 800; cursor: pointer; box-shadow: var(--drop-sm); transition: transform 120ms var(--ease), box-shadow 120ms var(--ease); }
.nights button:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.nights output { min-width: 2ch; font-size: var(--t-h2); font-weight: 900; letter-spacing: -0.04em; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.nights span { font-weight: 700; }
.rooms, .extras { display: grid; gap: var(--s2); }
.room__in { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--s3); align-items: center; padding: var(--s2); border: var(--line); border-radius: var(--r); background: var(--white); transition: background-color 160ms var(--ease); }
.room input:checked + .room__in { background: var(--sun); box-shadow: var(--drop-sm); }
.room__pic, .card__pic { background-color: var(--sun-2); background-image: url("img/rooms.jpg"); background-size: 300% 200%; background-repeat: no-repeat; }
.room__pic { width: 72px; aspect-ratio: 1; border: var(--line); border-radius: 12px; }
.room b { display: block; font-weight: 800; line-height: 1.2; }
.room small { font-size: var(--t-sm); color: var(--ink-2); }
.room em, .extra em { font-style: normal; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.room em { padding-right: var(--s2); font-size: var(--t-lg); }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s3); align-items: center; min-height: 52px; padding: var(--s2) var(--s4); border: var(--line); border-radius: var(--r); background: var(--white); }
.extra:has(input:checked) { background: var(--sky); }
.extra input, .checks input { width: 24px; height: 24px; accent-color: var(--ink); }
.extra span { font-weight: 600; }
.ticket { position: sticky; bottom: var(--s4); z-index: 2; display: grid; gap: var(--s3); padding: var(--s4); border: var(--line); border-radius: var(--r); background: var(--sky); box-shadow: var(--drop-sm); }
.ticket > p:first-child { font-weight: 600; }
.ticket__total { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); font-weight: 800; }
.ticket__total b { font-size: var(--t-h2); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ticket__total b.is-bump { animation: bump 320ms var(--ease); }
@keyframes bump { from { transform: scale(1.18); } to { transform: none; } }
.ticket__note { font-size: var(--t-sm); color: var(--ink-2); }

/* Sections */
.block { padding-block: var(--s7); border-bottom: var(--line); }
.block--blue { background: var(--sky); }
.block--yellow { background: var(--sun); }
.block > .wrap > h2 { margin-bottom: var(--s5); }
.fine { margin-top: var(--s5); font-size: var(--t-sm); color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); }
.card { display: grid; gap: var(--s3); align-content: start; grid-template-rows: auto 1fr auto auto; padding: var(--s3); border: var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--drop); }
.card__pic { display: block; aspect-ratio: 1; border: var(--line); border-radius: 12px; }
.card__for { font-size: var(--t-sm); font-weight: 700; color: var(--muted); }
.card h3 { margin-block: 2px var(--s2); font-size: var(--t-lg); }
.card p { font-size: var(--t-sm); }
.card ul { display: grid; gap: 2px; margin-top: var(--s2); font-size: var(--t-sm); }
.card li::before { content: "+ "; font-weight: 800; }
.card__price b { font-size: var(--t-xl); font-weight: 900; letter-spacing: -0.03em; }
.card__price span { margin-left: var(--s1); font-size: var(--t-sm); }
.card .btn { min-height: 44px; padding: 0 var(--s3); font-size: var(--t-sm); white-space: normal; }
.day, .bring, .faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s6); align-items: start; }
.day > div:first-child, .bring > div:first-child { display: grid; gap: var(--s3); }
.clock { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tick { min-height: 48px; padding: 0 var(--s4); border: var(--line); border-radius: var(--pill); background: var(--white); font-weight: 800; cursor: pointer; font-variant-numeric: tabular-nums; }
.tick[aria-pressed="true"] { background: var(--ink); color: var(--sun); }
.now { display: grid; gap: var(--s2); margin-top: var(--s4); padding: var(--s5); min-height: 9.5rem; border: var(--line); border-radius: var(--r); background: var(--white); box-shadow: var(--drop); }
.now p { font-size: var(--t-lg); }
.bring__count { font-weight: 800; }
.checks { display: grid; gap: var(--s2); }
.checks label { display: flex; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s2) var(--s4); border: var(--line); border-radius: var(--r); background: var(--white); font-weight: 600; cursor: pointer; }
.checks label:has(input:checked) { background: var(--sun); }
.checks label:has(input:checked) span { text-decoration: line-through; }
.faq details { border: var(--line); border-radius: var(--r); background: var(--white); }
.faq details + details { margin-top: var(--s2); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4); font-weight: 800; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 var(--s4) var(--s4); max-width: 56ch; }
.foot { padding-block: var(--s6); background: var(--ink); color: var(--paper); font-size: var(--t-sm); }
.foot__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--s5); }
.foot__mark { font-size: var(--t-xl); font-weight: 900; letter-spacing: -0.05em; color: var(--sun); }
.foot :focus-visible { outline-color: var(--sun); }

/* Hold dialog */
.hold { width: min(26rem, calc(100% - 32px)); padding: 0; border: var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: var(--drop); }
.hold::backdrop { background: var(--veil); }
.hold__in { display: grid; gap: var(--s4); padding: var(--s5); }
.hold h2 { font-size: var(--t-xl); }
.hold label { display: block; margin-bottom: var(--s1); font-size: var(--t-sm); font-weight: 800; }
.hold input { width: 100%; min-height: 52px; padding: 0 var(--s4); border: var(--line); border-radius: var(--pill); background: var(--white); }
.hold input[aria-invalid] { border-color: var(--error); }
.hold__say { min-height: 1.5em; font-size: var(--t-sm); font-weight: 600; }
.hold__acts { display: flex; flex-wrap: wrap; gap: var(--s3); }

.wa { position: fixed; z-index: 35; right: var(--s5); bottom: var(--s5); }
.wa summary { display: grid; place-items: center; width: 56px; height: 56px; border: var(--line); border-radius: 50%; background: var(--white); box-shadow: var(--drop-sm); list-style: none; cursor: pointer; }
.wa summary::-webkit-details-marker { display: none; }
.wa p { position: absolute; right: 0; bottom: calc(100% + var(--s3)); width: 16rem; padding: var(--s4); border: var(--line); border-radius: var(--r); background: var(--white); font-size: var(--t-sm); box-shadow: var(--drop-sm); }

@media (max-width: 68rem) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 60rem) {
  :root { --pad: 20px; --s7: 56px; }
  .top__nav { display: none; }
  .hero__in, .day, .bring, .faq { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .hero__say { position: static; }
  .hero__pic { display: none; }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  :root { --pad: 16px; }
  .hero { padding-block: var(--s5) var(--s6); }
  .stay { padding: var(--s4); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto; }
  .card__price, .card .btn { grid-column: 1 / -1; }
  .room__in { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .room__pic { width: 56px; }
  .ticket .btn { width: 100%; }
  .wa { right: var(--s4); bottom: var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* Phone: the WhatsApp button sits bottom left, clear of prices and totals on the right */
@media (max-width: 40rem) {
  .wa { left: 16px; right: auto; }
  .wa p { left: 0; right: auto; }
}
