/* Pet hotel public site. System fonts only, no external requests. The motif is the round cabin window. */
:root {
    --ink: #10312a; --muted: #4d665f; --paper: #fff9f2; --card: #ffffff; --plum: #0f5440;
    --coral: #c8402f; --coral-dark: #a53224; --sun: #ffc857; --mint: #e2f5ea; --line: #eadfd2;
    --display: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .6rem; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.block { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.skip { position: absolute; left: 1rem; top: -5rem; background: #fff; padding: .6rem 1rem; border-radius: 999px; z-index: 20; }
.skip:focus { top: .6rem; }

.btn { display: inline-block; background: var(--coral); color: #fff; text-decoration: none; font: 700 1.02rem var(--display); padding: .85rem 1.5rem; border-radius: 999px; }
.btn:hover { background: var(--coral-dark); }
.btn-small { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-quiet { background: transparent; color: var(--plum); border: 2px solid var(--plum); padding-block: calc(.85rem - 2px); }
.btn-quiet:hover { background: var(--plum); color: #fff; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.hero { background: var(--plum); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero .lead { color: #e3f3ec; font-size: 1.2rem; max-width: 34rem; }
.hero .btn-quiet { color: #fff; border-color: #fff; }
.hero .btn-quiet:hover { background: #fff; color: var(--plum); }
.place { color: var(--sun); font-weight: 700; margin-bottom: .75rem; }
.hours { margin: 1.25rem 0 0; color: #c2ded3; font-size: .98rem; }
.porthole { justify-self: center; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%; border: 14px solid var(--sun); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .3); overflow: hidden; background: #8fd3ff; }
.porthole img { width: 100%; height: 100%; object-fit: cover; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.service { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 160px 160px 22px 22px; padding: 3.5rem 1.5rem 1.5rem; text-align: center; text-decoration: none; color: var(--ink); transition: transform .15s ease, border-color .15s ease; }
.service:hover { transform: translateY(-4px); border-color: var(--coral); }
.service p { color: var(--muted); }
.service .from { margin: auto 0 0; color: var(--ink); }

.band { background: var(--mint); }
.features { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem 2rem; }
.features li { display: flex; gap: 1rem; }
.features img { flex: none; }
.features h3 { margin-bottom: .2rem; }
.features p { margin: 0; color: #34504a; }

.faq details { border-bottom: 1px solid var(--line); padding-block: .9rem; }
.faq summary { cursor: pointer; font: 700 1.1rem var(--display); }
.faq p { margin: .6rem 0 0; color: var(--muted); }

.head { background: var(--plum); color: #fff; padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.head .lead { color: #e3f3ec; max-width: 40rem; margin: 0; }
.table { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin: .75rem 0 2.25rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: .8rem 1rem; text-align: right; white-space: nowrap; }
th:first-child { text-align: left; }
thead th { background: var(--mint); font: 700 .95rem var(--display); }
tbody tr + tr > * { border-top: 1px solid var(--line); }
tbody th { font-weight: 700; position: sticky; left: 0; background: var(--card); }
.notes { color: var(--muted); padding-left: 1.2rem; }

@media (max-width: 760px) {
    .hero-grid { grid-template-columns: 1fr; }
    .porthole { width: min(78vw, 340px); order: -1; border-width: 10px; }
    th, td { padding: .65rem .75rem; font-size: .95rem; }
    tbody th { white-space: normal; min-width: 7.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .service { transition: none; } .service:hover { transform: none; } }

/* Owner's photo: black and white until the pointer (or keyboard focus) is on it. Touch screens have no hover, so they get colour. */
.portrait { justify-self: center; margin: 0; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: 220px 220px 28px 28px; overflow: hidden; background: #fff; border: 8px solid var(--sun); box-shadow: 18px 18px 0 var(--coral), 0 30px 60px rgba(0, 0, 0, .3); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(100%); transition: filter .5s ease, transform .8s ease; }
.portrait:hover img, .portrait:focus img { filter: grayscale(0%); transform: scale(1.04); }
@media (hover: none) { .portrait img { filter: none; } }
@media (max-width: 760px) { .portrait { order: -1; width: min(80vw, 340px); box-shadow: 10px 10px 0 var(--coral); } }

/* Each service and feature gets its own colour, brighter under the pointer. */
.service:nth-child(1) { background: #fff0ec; border-color: #ffd2c8; }
.service:nth-child(2) { background: #fff7df; border-color: #ffe5a3; }
.service:nth-child(3) { background: #e8f5ff; border-color: #c4e4ff; }
.service:nth-child(1):hover { background: #ffd9d0; border-color: var(--coral); }
.service:nth-child(2):hover { background: #ffeaa8; border-color: #d99a00; }
.service:nth-child(3):hover { background: #cde9ff; border-color: #2a86c8; }
.features li { background: #fff; border-radius: 18px; padding: 1.1rem; border-bottom: 5px solid var(--sun); transition: transform .15s ease; }
.features li:nth-child(3n+2) { border-bottom-color: var(--coral); }
.features li:nth-child(3n) { border-bottom-color: #4fb3e8; }
.features li:hover { transform: translateY(-4px); }
.features p { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .portrait img, .features li { transition: none; } .portrait:hover img, .features li:hover { transform: none; } }

/* Contact page */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; align-items: start; }
.cards { display: grid; gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--coral); border-radius: 16px; padding: 1.1rem 1.25rem; }
.card:nth-child(2) { border-left-color: var(--sun); }
.card:nth-child(3) { border-left-color: #4fb3e8; }
.card h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.card p { margin: 0; }
.card p + p { margin-top: .6rem; }
.map { width: 100%; height: 100%; min-height: 22rem; border: 0; border-radius: 18px; background: var(--mint); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 4vw, 2rem); max-width: 760px; margin-inline: auto; display: grid; gap: 1rem; }
.form .pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.form label { display: grid; gap: .3rem; font-weight: 600; }
.form input:not([type="checkbox"]), .form select, .form textarea { font: inherit; width: 100%; padding: .75rem .9rem; border: 1px solid #b9cfc6; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--sun); border-color: var(--plum); }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: .35rem; }
.form button { border: 0; cursor: pointer; justify-self: start; }
.error { color: #a1261a; font-weight: 600; font-size: .93rem; }
.sent { background: var(--mint); border: 2px solid var(--plum); border-radius: 14px; padding: 1rem 1.25rem; max-width: 760px; margin: 0 auto 1.25rem; font-weight: 600; }
.trap { position: absolute; left: -9999px; }
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sun); font: 800 1.1rem var(--display); margin-bottom: .75rem; }
.steps p { margin: 0; color: var(--muted); }

/* Stock photos of pets: on the service cards, beside page titles and in the friends grid. */
.service { padding-top: 0; border-radius: 160px 160px 22px 22px; overflow: hidden; padding-inline: 0; }
.service > img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; margin-bottom: 1.25rem; }
.service h3, .service p { padding-inline: 1.5rem; }
.head-photo { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.head-photo > img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 160px 160px 22px 22px; border: 6px solid var(--sun); }
.friends { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.friends img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.friends li:nth-child(3n + 1) img { border-radius: 50%; }
@media (max-width: 760px) { .head-photo { grid-template-columns: 1fr; gap: 1.25rem; } .friends { grid-template-columns: repeat(2, 1fr); gap: .75rem; } }
