/* =====================================================================
   Valley Pet Care – Paddock Play Sessions
   Mobile-first. Black header / white body / brand orange accents.
   Rules learned on this CMS:
   - never put backdrop-filter/filter/transform on an ancestor of a
     position:fixed element (mobile nav, sticky bar, lightbox);
   - elements covering an editable image get pointer-events:none so the
     CMS editor can still find the <img> under the cursor.
   ===================================================================== */

:root {
  --black: #000000;
  --ink: #141414;
  --text: #222222;
  --muted: #555555;
  --line: #e6e6e6;
  --white: #ffffff;
  --tint: #fff5ec;
  --orange: #F47A20;
  --orange-hover: #ff8f3d;
  --orange-text: #A94700;   /* orange that passes AA as text on white */
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .16);
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-text); text-decoration: none; }
/* The CMS common.css underlines links on hover; our hover states are custom */
a:hover { text-decoration: none; }
.rich-text a, .faq-answer a, .text-block a { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--orange); color: var(--black); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

.is-collapsed { display: none !important; }
.editModeOnly { display: none; }

/* ---------------------------------------------------------- Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.button-primary { background: var(--orange); color: var(--black); }
.button-primary:hover { background: var(--orange-hover); color: var(--black); box-shadow: 0 8px 22px rgba(244, 122, 32, .38); transform: translateY(-2px); }
.button-dark { background: var(--black); color: var(--white); }
.button-dark:hover { background: #2b2b2b; color: var(--orange); transform: translateY(-2px); }
.button-ghost { background: rgba(0, 0, 0, .25); color: var(--white); border-color: rgba(255, 255, 255, .85); }
.button-ghost:hover { background: var(--white); color: var(--black); }
.button-ghost-dark { background: transparent; color: var(--black); border-color: var(--black); }
.button-ghost-dark:hover { background: var(--black); color: var(--white); }
.button-lg { min-height: 54px; padding: .8em 1.7em; font-size: 1.06rem; }
.button-sm { min-height: 40px; padding: .45em 1.1em; font-size: .92rem; }
.button-block { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 3px solid var(--orange); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 58px; width: auto; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle .bar { display: block; height: 3px; width: 100%; background: var(--white); border-radius: 3px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 110;
  background: var(--black); padding: calc(var(--header-h) + 16px) 28px 28px;
  display: flex; flex-direction: column; gap: 24px;
  visibility: hidden; opacity: 0; translate: 100% 0;
  transition: translate .3s ease, opacity .3s ease, visibility 0s linear .3s;
  box-shadow: -20px 0 40px rgba(0, 0, 0, .4);
}
.nav-open .nav-menu { visibility: visible; opacity: 1; translate: 0 0; transition: translate .3s ease, opacity .3s ease; }
.nav-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.nav-menu ul a {
  display: block; padding: 14px 0; color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative;
}
.nav-menu ul a:hover, .nav-menu ul a.is-current { color: var(--orange); }
.nav-cta { align-self: flex-start; }
body.nav-open { overflow: hidden; }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .brand-logo { height: 64px; }
  .nav-menu {
    position: static; width: auto; padding: 0; background: none; box-shadow: none;
    flex-direction: row; align-items: center; gap: 22px;
    visibility: visible; opacity: 1; translate: none; transition: none;
  }
  .nav-menu ul { flex-direction: row; gap: 6px; }
  .nav-menu ul a { border: 0; padding: 10px 12px; font-size: 1rem; }
  .nav-menu ul a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
    background: var(--orange); border-radius: 3px; scale: 0 1; transition: scale .2s;
  }
  .nav-menu ul a:hover { color: var(--white); }
  .nav-menu ul a:hover::after, .nav-menu ul a.is-current::after { scale: 1 1; }
  .nav-menu ul a.is-current { color: var(--white); }
}

/* ---------------------------------------------------------- Sections */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-cta { margin-top: 32px; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-text);
}
.eyebrow-light { color: var(--orange); }
@media (min-width: 800px) { .section { padding: 96px 0; } .section-tight { padding: 56px 0; } }

/* ---------------------------------------------------------- Hero */
.hero { position: relative; background: var(--black); color: var(--white); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-poster { width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1s; }
.hero-video.is-playing { opacity: 1; }
.hero-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0;
  width: max(100%, calc(100vh * 16 / 9 + 200px)); height: max(100%, calc(100vw * 9 / 16));
  min-width: 177.78vh; translate: -50% -50%;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .15) 100%),
              linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%);
}
.hero-content {
  position: relative; z-index: 2; pointer-events: none;
  min-height: min(88vh, 820px); display: flex; align-items: center; padding: 72px 0 64px;
}
.hero-copy { max-width: 680px; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { color: var(--white); margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.hero-sub { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: rgba(255, 255, 255, .92); max-width: 560px; margin-bottom: 28px; }
.trust-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  box-shadow: var(--shadow-lg); transition: transform .2s, box-shadow .2s;
}
.trust-badge:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }
.trust-badge .stars { color: var(--orange); letter-spacing: 2px; font-size: 1.1rem; }
.hero .admin-panel { position: relative; z-index: 3; }

/* ---------------------------------------------------------- Credentials strip */
.credentials-strip { background: var(--black); color: var(--white); padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.credential-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.credential { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.credential::before {
  content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ---------------------------------------------------------- Cards */
.card-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .card-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.why-card {
  background: var(--white); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.why-card-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s; }
.why-card:hover .why-card-media img { scale: 1.04; }
.why-card-body { padding: 24px 26px 28px; border-top: 5px solid var(--orange); }
.why-card-body p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------- In the right place */
.place-grid { display: grid; gap: 24px; }
.place-card { background: var(--white); border-radius: var(--radius-l); padding: 30px 28px; box-shadow: var(--shadow); }
.place-statement { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); line-height: 1.3; }
.place-note { color: var(--muted); font-size: .98rem; margin: 18px 0 0; }
.place-photo { border-radius: var(--radius-l); overflow: hidden; min-height: 280px; }
.place-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .place-grid { grid-template-columns: 1fr 1fr 0.9fr; align-items: stretch; }
}
.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: 999px; background: var(--black); color: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
}
.chip-list-area .chip { background: var(--tint); color: var(--ink); border: 1.5px solid var(--orange); }

/* ---------------------------------------------------------- Reviews */
.reviews-widget:empty { display: none; }
.reviews-fallback { text-align: center; color: var(--muted); }
.reviews-widget:not(:empty) + .reviews-fallback { display: none; }
.review-collector {
  display: flex; flex-direction: column; gap: 22px; padding: 34px 30px;
  border-radius: var(--radius-l); background: var(--white); border: 2px solid var(--black); box-shadow: var(--shadow);
}
.review-collector h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.review-collector p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .review-collector { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 48px; } }

/* ---------------------------------------------------------- Inner page hero */
.page-hero { background: var(--black); color: var(--white); padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid var(--orange); opacity: .9; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 800px; }
.page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0; }
@media (max-width: 899px) { .page-hero::after { display: none; } .page-hero { border-bottom: 6px solid var(--orange); } }
@media (min-width: 800px) { .page-hero { padding: 88px 0 92px; } }

/* ---------------------------------------------------------- CTA band */
.cta-band { background: var(--orange); color: var(--black); padding: 56px 0; }
.cta-band-inner { display: flex; flex-direction: column; gap: 22px; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.1rem; color: var(--ink); }
.cta-band .button-primary { background: var(--black); color: var(--white); }
.cta-band .button-primary:hover { background: #262626; color: var(--orange); box-shadow: none; }
@media (min-width: 800px) { .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------------------------------------------------------- About */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.rounded-photo { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-lg); }
.split-media { position: relative; }
.split-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: var(--radius-l);
  background: var(--orange); z-index: -1; pointer-events: none;
}
.split-media { z-index: 0; isolation: isolate; }
.pull-quote {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.35;
  border-left: 5px solid var(--orange); padding-left: 18px;
}
.rich-text { color: var(--text); }

.stats-band { background: var(--black); color: var(--white); padding: 44px 0; }
.stat-grid { display: grid; gap: 28px; text-align: center; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--orange); margin: 0; line-height: 1; }
.stat-label { margin: 8px 0 0; color: rgba(255, 255, 255, .85); }

.badge-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 600px) { .badge-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .badge-grid { grid-template-columns: repeat(3, 1fr); } }
.badge {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px;
  border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.badge:hover { border-color: var(--orange); transform: translateY(-3px); }
.badge::before {
  content: ""; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.2 3.4 9.9 8 11 4.6-1.1 8-5.8 8-11V5l-8-3Zm-1.3 14.6-3.8-3.8 1.4-1.4 2.4 2.4 5.1-5.1 1.4 1.4-6.5 6.5Z' fill='%23F47A20'/%3E%3C/svg%3E") center / 26px no-repeat;
}


/* ---------------------------------------------------------- Gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 800px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; transition: scale .4s, opacity .3s; }
.gallery-item img:hover, .gallery-item img:focus-visible { scale: 1.05; }
@media (min-width: 800px) {
  .gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(6n+1) img { aspect-ratio: auto; height: 100%; }
}
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .92);
  display: flex; align-items: center; justify-content: center; padding: 60px 12px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius-s); }
.lightbox figcaption { color: var(--white); margin-top: 12px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: var(--white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--orange); color: var(--black); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 10px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 10px; top: 50%; translate: 0 -50%; }

/* ---------------------------------------------------------- FAQ */
.faq-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; } .faq-jump { position: sticky; top: calc(var(--header-h) + 24px); flex-direction: column; } }
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-jump a { padding: 10px 16px; border-radius: 999px; background: var(--tint); color: var(--ink); font-family: var(--font-head); font-weight: 600; border: 1.5px solid transparent; transition: border-color .2s, background-color .2s; }
.faq-jump a:hover { border-color: var(--orange); background: var(--white); }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: clamp(1.5rem, 3vw, 2rem); padding-bottom: 12px; border-bottom: 3px solid var(--orange); display: inline-block; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: var(--white); font-size: 1.3rem; font-weight: 400; transition: rotate .25s, background-color .2s;
}
.faq-item summary:hover { color: var(--orange-text); }
.faq-item summary:hover::after { background: var(--orange); color: var(--black); }
.faq-item[open] summary::after { rotate: 45deg; background: var(--orange); color: var(--black); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); max-width: 720px; }

/* ---------------------------------------------------------- Blog */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; justify-content: center; }
.blog-filter button {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--black); background: var(--white); color: var(--black);
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s;
}
.blog-filter button:hover { background: var(--tint); }
.blog-filter button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.blog-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card.is-filtered-out { display: none; }
.blog-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-tags { margin: 0 0 10px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); }
.blog-title { font-size: 1.35rem; }
.blog-summary { color: var(--muted); }
.blog-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; }
.blog-readtime { font-size: .9rem; color: var(--muted); }
.blog-readtime::before { content: "◷ "; }
.blog-body { display: none; }
.blog-empty { text-align: center; color: var(--muted); }
.reader { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .7); overflow-y: auto; padding: 24px 12px; }
.reader[hidden] { display: none; }
.reader-panel { position: relative; max-width: 780px; margin: 0 auto; background: var(--white); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lg); }
.reader-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.reader-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.reader-content { padding: 28px 24px 36px; }
@media (min-width: 700px) { .reader-content { padding: 40px 56px 52px; } .reader { padding: 48px 20px; } }
.reader-body { margin: 20px 0 30px; font-size: 1.08rem; }
body.reader-open { overflow: hidden; }

/* ---------------------------------------------------------- Contact */
.contact-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .contact-methods { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-methods { grid-template-columns: repeat(4, 1fr); } }
.contact-method {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 22px 22px 22px 80px; position: relative;
  border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.contact-method:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-method::before {
  content: ""; position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 12px;
  background: var(--black) center / 24px no-repeat;
}
.m-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.3 2.6 3.4 4.7 6 6l2-2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.5.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C9.9 21 3 14.1 3 5.5c0-.6.4-1 1-1h3.8c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.5.1.4 0 .8-.3 1l-2 2Z' fill='%23F47A20'/%3E%3C/svg%3E"); }
.m-whatsapp::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15L2 22l5.2-1.4A10 10 0 1 0 12 2Zm0 18a8 8 0 0 1-4.1-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8 8 0 1 1 12 20Z' fill='%23F47A20'/%3E%3C/svg%3E"); }
.m-email::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z' fill='%23F47A20'/%3E%3C/svg%3E"); }
.m-hours::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16Zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7Z' fill='%23F47A20'/%3E%3C/svg%3E"); }
.contact-method-label { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-method-value { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; overflow-wrap: anywhere; }

/* ---------------------------------------------------------- Text pages */
.text-page { max-width: 820px; }
.text-block { margin-bottom: 34px; }
.text-block h2 { font-size: 1.5rem; }

/* ---------------------------------------------------------- Footer */
.site-footer { background: var(--black); color: rgba(255, 255, 255, .8); padding: 64px 0 96px; font-size: .98rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr .8fr; } .site-footer { padding-bottom: 40px; } }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: var(--white); transition: color .2s; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { margin: 0 0 10px; }
.footer-brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--white); margin-bottom: 8px !important; }
.footer-tagline { max-width: 340px; }
.footer-social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .35); font-weight: 700;
}
.social-link::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.social-link:hover { border-color: var(--orange); }
.social-facebook { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.6h2.6l.4-3h-3v-1.9c0-.9.2-1.5 1.5-1.5h1.6V4.3C15.9 4.2 15 4.1 14 4.1c-2.4 0-4 1.5-4 4.2v2.1H7.4v3H10V21h3.5Z'/%3E%3C/svg%3E"); }
.social-instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7ZM16 3.5H8A4.5 4.5 0 0 0 3.5 8v8A4.5 4.5 0 0 0 8 20.5h8a4.5 4.5 0 0 0 4.5-4.5V8A4.5 4.5 0 0 0 16 3.5Zm3.2 12.5A3.2 3.2 0 0 1 16 19.2H8A3.2 3.2 0 0 1 4.8 16V8A3.2 3.2 0 0 1 8 4.8h8A3.2 3.2 0 0 1 19.2 8v8ZM17 8.3a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z'/%3E%3C/svg%3E"); }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.footer-legal { display: flex; gap: 10px; }
@media (min-width: 800px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------------------------------------------------------- Sticky mobile bar */
.sticky-contact {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--black); border-top: 2px solid var(--orange);
  transition: translate .3s;
}
.sticky-contact.is-hidden { translate: 0 110%; }
.sticky-contact-link {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .4);
}
.sticky-contact-link svg { width: 20px; height: 20px; }
.sticky-contact-link.check { background: var(--orange); color: var(--black); border-color: var(--orange); }
.sticky-contact-link:hover { color: var(--white); border-color: var(--orange); }
.sticky-contact-link.check:hover { color: var(--black); background: var(--orange-hover); }
@media (min-width: 1100px) { .sticky-contact { display: none; } }

/* ---------------------------------------------------------- Cookie notice */
.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 95; background: var(--white); color: var(--text); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; }
.cookie-banner p { margin: 0; font-size: .95rem; }
.cookie-banner a { text-decoration: underline; margin-left: 4px; }
@media (min-width: 1000px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; max-width: 460px; } }

/* ---------------------------------------------------------- CMS admin panels (edit mode only) */
.admin-panel { margin-top: 24px; padding: 16px 18px; border: 2px dashed var(--orange); border-radius: var(--radius-s); background: #fffaf5; color: var(--text); font-size: .95rem; }
.admin-panel label { display: block; margin-bottom: 12px; font-weight: 600; }
.admin-panel .inputBox { display: block; width: 100%; margin-top: 6px; padding: 8px 10px; font: inherit; border: 1px solid #999; border-radius: 6px; }
.admin-title { font-weight: 800; margin-bottom: 10px; }
.admin-label { margin: 10px 0 2px; font-weight: 700; font-size: .85rem; color: var(--muted); }
.admin-note { margin-top: 12px; font-size: .9rem; color: var(--muted); }


/* ---------------------------------------------------------- Selected reviews (Home) */
.review-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px;
  border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative; transition: transform .25s, box-shadow .25s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-card::before {
  content: "\201C"; position: absolute; top: -6px; right: 22px; font-family: Georgia, serif; font-size: 6rem; line-height: 1;
  color: var(--orange); opacity: .25; pointer-events: none;
}
.review-stars { margin: 0; color: var(--orange); letter-spacing: 3px; font-size: 1.15rem; }
.review-text { margin: 0; font-size: 1.05rem; color: var(--text); flex: 1; }
.review-card figcaption { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 14px; }
.review-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.review-source { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------- Suitability checker (Contact) */
.checker-section { background: var(--black); color: var(--white); }
.checker-grid { display: grid; gap: 32px; }
.checker-intro h2 { color: var(--white); }
.checker-intro .lead { color: rgba(255, 255, 255, .82); }
@media (min-width: 1000px) { .checker-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }
.checker-card { background: var(--white); color: var(--text); border-radius: var(--radius-l); padding: 22px 18px; box-shadow: var(--shadow-lg); }
@media (min-width: 600px) { .checker-card { padding: 34px 34px; } }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; cursor: pointer;
  border: 2px solid var(--line); border-radius: var(--radius); background: #fafafa;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; color: var(--ink);
  transition: border-color .2s, background-color .2s, transform .15s;
}
.check:hover { border-color: var(--orange); background: var(--white); }
.check:active { transform: scale(.99); }
.check-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; border: 2.5px solid #9a9a9a; background: var(--white);
  display: grid; place-items: center; transition: background-color .2s, border-color .2s, transform .2s;
}
.check-box::after {
  content: ""; width: 20px; height: 20px; scale: 0; transition: scale .2s cubic-bezier(.3, 1.6, .5, 1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-input:focus-visible + .check-box { outline: 3px solid var(--orange); outline-offset: 3px; }
.check-input:checked + .check-box { background: var(--orange); border-color: var(--orange); }
.check-input:checked + .check-box::after { scale: 1; }
.check-item.is-ticked .check { border-color: var(--orange); background: var(--tint); }
.check-meter { height: 8px; margin: 24px 0 20px; border-radius: 999px; background: var(--line); overflow: hidden; }
.check-meter-bar { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 999px; transition: width .35s ease; }
.check-result p { margin: 0; }
.check-result-pending { color: var(--muted); }
.check-result-good {
  padding: 22px 22px 24px; border-radius: var(--radius); background: var(--tint); border: 2px solid var(--orange);
  animation: pop .35s ease;
}
.check-result-good h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.check-result-good h3::before {
  content: ""; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.check-result-good p { margin-bottom: 18px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------- Other services */
.service-list { display: grid; gap: 56px; }
.service-block { display: grid; gap: 24px; align-items: center; }
.service-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lg); background: #ddd; }
.service-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); padding-bottom: 12px; border-bottom: 4px solid var(--orange); display: inline-block; }
.service-copy .rich-text { font-size: 1.1rem; }
@media (min-width: 850px) {
  .service-list { gap: 88px; }
  .service-block { grid-template-columns: 1fr 1fr; gap: 56px; }
  .service-block:nth-child(even) .service-media { order: 2; }
}

/* ---------------------------------------------------------- CMS edit mode (class set in includes/core.php) */
.is-edit-mode .editModeOnly { display: block; }
.is-edit-mode .check-result.is-collapsed { display: block !important; margin-top: 16px; }
.is-edit-mode .blog-body { display: block; margin-top: 18px; padding: 14px; border: 2px dashed var(--orange); border-radius: var(--radius-s); background: #fffaf5; font-size: .95rem; }
.is-edit-mode .blog-body::before { content: "Full article (right-click to edit):"; display: block; font-weight: 800; font-size: .8rem; color: var(--orange-text); margin-bottom: 6px; }
.is-edit-mode .blog-body.is-highlighted { box-shadow: 0 0 0 4px rgba(244, 122, 32, .35); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
