/* =========================================================
   Dental Krišto – zajednički stil (sve stranice)
   ========================================================= */

/* ---------- 0. FONTOVI (lokalno, bez zahtjeva prema Googleu) ---------- */
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 1. TOKENI ---------- */
:root {
  --bg: #FFFFFF;
  --bg-soft: #EEF3F8;
  --text: #14161A;
  --muted: #5A616E;
  --accent: #7A1F2B;
  --accent-dark: #61171F;
  --line: rgba(20, 22, 26, .08);
  --dark: #1A1113;
  --dark-wine: #3A121A;
  --light: #F4EFEF;
  --light-muted: rgba(244, 239, 239, .62);

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- 2. OSNOVA ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
html.menu-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .8em 1.35em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 500 15px/1 var(--sans);
  letter-spacing: .01em;
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: var(--accent); color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- 3. TIPOGRAFIJA ---------- */
.num {
  display: block;
  margin-bottom: 1.2rem;
  font: 400 22px/1 var(--serif);
  color: var(--muted);
  opacity: .55;
}
.h2 {
  margin: 0 0 1.4rem;
  font: 400 clamp(40px, 4.6vw, 76px)/1.02 var(--serif);
  letter-spacing: -.01em;
}
.lead { margin: 0; max-width: 34rem; font-size: 17px; line-height: 1.6; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); }

/* pojavljivanje odozdo (bez JS-a sve je odmah vidljivo) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 4. NAVIGACIJA ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 var(--gutter);
  transition: background .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: flex; color: var(--text); transition: color .4s; }
.logo svg { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); margin-left: auto; }
.nav-links > a, .dropdown-btn {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  font: 500 15px/1.2 var(--sans);
  color: var(--muted);
  cursor: pointer;
  transition: color .3s;
}
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-links > a:hover, .dropdown-btn:hover { color: var(--accent); }
.nav-links > a:hover::after { transform: scaleX(1); }

/* padajući izbornik "Za pacijente" */
.dropdown { position: relative; }
.dropdown-btn { display: inline-flex; align-items: center; gap: .35em; }
.dropdown-btn svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 13rem;
  padding: 1rem .5rem .5rem;            /* gornji dio premošćuje razmak za hover */
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  inset: .5rem 0 0;
  z-index: -1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(20, 22, 26, .08);
}
.dropdown-menu a {
  display: block;
  padding: .7rem .9rem;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--accent); }
/* otvaranje (hover, klik, tipkovnica) rješava js/site.js klasom .is-open */
.dropdown.is-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown.is-open .dropdown-btn svg { transform: rotate(180deg); }
/* bez JS-a: barem hover i fokus */
html:not(.js) .dropdown:hover .dropdown-menu, html:not(.js) .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}

/* svijetla navigacija iznad tamne sekcije (početna) */
.nav.is-dark .logo { color: var(--light); }
.nav.is-dark .nav-links > a, .nav.is-dark .dropdown-btn { color: var(--light-muted); }
.nav.is-dark .nav-links > a:hover, .nav.is-dark .dropdown-btn:hover { color: var(--light); }
.nav.is-dark .nav-links > a::after { background: var(--light); }
.nav.is-dark .burger { color: var(--light); }
.nav.is-dark.is-scrolled { background: rgba(26, 17, 19, .6); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }

/* hamburger + izbornik preko cijelog ekrana (mobitel) */
.burger {
  display: none;
  width: 40px; height: 40px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.burger span { display: block; width: 22px; height: 1.5px; margin: 6px auto; background: currentColor; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-h) + 4vh) var(--gutter) 6vh;
  overflow-y: auto;
  background: var(--bg);
  animation: menu-in .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu-close {
  position: absolute;
  top: calc(var(--nav-h) / 2 - 20px);
  right: calc(var(--gutter) - 8px);
  width: 40px; height: 40px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav > a { padding: .5rem 0; font: 400 38px/1.15 var(--serif); }
.mobile-menu .sub { margin: 1.4rem 0 .4rem; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mobile-menu .sub-link { padding: .45rem 0; font-size: 18px; }
.mobile-menu nav a:hover { color: var(--accent); }
.m-acc {
  display: flex; align-items: center; gap: .3em;
  padding: .5rem 0; border: 0; background: none; text-align: left;
  font: 400 38px/1.15 var(--serif); color: var(--text); cursor: pointer;
}
.m-acc svg { width: 14px; height: 14px; margin-top: .15em; color: var(--accent); transition: transform .3s var(--ease); }
.m-acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { display: flex; flex-direction: column; margin: 0 0 .8rem; padding-left: 1rem; border-left: 1px solid rgba(20, 22, 26, .12); }
.m-sub[hidden] { display: none; }
.m-sub a { font-family: var(--serif); }
.mobile-menu .btn { align-self: flex-start; margin-top: 2.4rem; font-size: 16px; }

/* ---------- 5. MOBITEL (zajedničko) ---------- */
@media (max-width: 759px) {
  :root { --nav-h: 64px; }
  .nav { gap: 1rem; }
  .nav-links { display: none; }
  .logo svg { height: 34px; }
  .nav .btn { margin-left: auto; padding: .7em 1.1em; font-size: 14px; }
  .burger { display: block; }
}

/* ---------- 6. MANJE POKRETA ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mobile-menu { animation: none; }
}

/* =========================================================
   PODSTRANICE
   ========================================================= */
.page [id] { scroll-margin-top: calc(var(--nav-h) + 24px); }
.page-main {
  max-width: 68rem;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 8vh) var(--gutter) 10vh;
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 2.4rem; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
.crumbs a:hover { color: var(--accent); }
.page-title { max-width: 18em; margin: 0 0 1.6rem; font: 400 clamp(40px, 5.2vw, 76px)/1.04 var(--serif); letter-spacing: -.01em; }
.page-intro { max-width: 70ch; margin: 0 0 2.2rem; font-size: 19px; line-height: 1.6; color: var(--muted); }
.page-head .fine { margin: .9rem 0 0; }
.interactive:empty { display: none; }

/* tekst iz .md (+ sticky sadržaj sa strane na računalu) */
.article.has-toc { display: grid; grid-template-columns: minmax(0, 70ch) 14rem; justify-content: space-between; column-gap: 4vw; }
.toc { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; margin-top: 10vh; font-size: 14px; }
.toc p { margin: 0 0 .9rem; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 0; padding: 0 0 0 1rem; list-style: none; border-left: 1px solid rgba(20, 22, 26, .12); }
.toc a { display: block; padding: .35rem 0; line-height: 1.4; color: var(--muted); transition: color .25s; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--accent); }
.toc a[aria-current="true"] { font-weight: 500; }
@media (max-width: 1023px) { .article.has-toc { display: block; } .toc { display: none; } }
.prose { max-width: 70ch; margin-top: 10vh; }
.prose section + section { margin-top: 8vh; }
.prose h2 { margin: 0 0 1.4rem; font: 400 clamp(32px, 3.4vw, 48px)/1.08 var(--serif); letter-spacing: -.01em; }
.prose h3 { margin: 2.2rem 0 .6rem; font-size: 18px; font-weight: 500; line-height: 1.4; }
.prose p, .prose li { font-size: 17px; line-height: 1.75; color: var(--muted); }
.prose p { margin: 0 0 1.1rem; }
.prose strong { font-weight: 500; color: var(--text); }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.2rem; }
.prose ul li { margin-bottom: .45rem; padding-left: .3rem; }
.prose ul li::marker { color: var(--accent); }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(122, 31, 43, .3); transition: border-color .3s; }
.prose a:hover { border-color: currentColor; }
.prose .more { margin-top: 1.4rem; font-size: 15px; }

/* numerirani koraci */
.prose ol { margin: 1.6rem 0; padding: 0; list-style: none; counter-reset: step; }
.prose ol li { position: relative; padding: 1.2rem 0 1.2rem 3.6rem; border-top: 1px solid rgba(20, 22, 26, .12); counter-increment: step; }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: 1rem; font: 400 34px/1 var(--serif); color: var(--accent); }

/* linija koja raste uz numerirane korake */
.steps-line { position: relative; }
.steps-line::before, .steps-line::after { content: ""; position: absolute; left: -1.4rem; top: 0; bottom: 0; width: 2px; border-radius: 2px; }
.steps-line::before { background: rgba(20, 22, 26, .1); }
.steps-line::after { background: var(--accent); transform: scaleY(var(--grow, 0)); transform-origin: top; }
section.steps-line::before, section.steps-line::after { top: 4.5rem; }
@media (max-width: 759px) { .steps-line::before, .steps-line::after { left: -.7rem; } }

/* harmonika (česta pitanja) */
.faq { border-top: 1px solid rgba(20, 22, 26, .12); }
.faq:last-of-type { border-bottom: 1px solid rgba(20, 22, 26, .12); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 300 24px/1 var(--sans); color: var(--accent); transition: transform .35s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq-a { overflow: hidden; }
.faq-a > div { padding: 0 0 1.2rem; }
.faq-a > div > :last-child { margin-bottom: 0; }

/* karta na klik */
.map-consent { margin: 2rem 0 1.2rem; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; background: var(--bg-soft); }
.map-load {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.5rem;
  border: 0;
  background: radial-gradient(circle at 50% 45%, #fff, var(--bg-soft) 70%);
  font: 500 17px/1.3 var(--sans);
  color: var(--accent);
  cursor: pointer;
}
.map-load small { max-width: 26rem; font-size: 12px; font-weight: 400; color: var(--muted); }
.map-consent iframe { width: 100%; height: 100%; border: 0; }

/* naručivanje + ostale usluge */
.cta {
  margin-top: 14vh;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  background: var(--bg-soft);
}
.cta .h2 { margin-bottom: .6rem; }
.cta-phone { display: block; width: fit-content; margin: 0 0 1.8rem; font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif); color: var(--accent); }
.cta .fine { margin: .9rem 0 0; }
.others { margin-top: 12vh; }
.others h2 { margin: 0 0 2rem; font: 400 clamp(32px, 3.4vw, 48px)/1.08 var(--serif); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(20, 22, 26, .1);
  transition: box-shadow .3s, background .3s;
}
.cards a:hover { background: var(--bg-soft); box-shadow: inset 0 0 0 1px transparent; }
.cards strong { font: 400 26px/1.15 var(--serif); }
.cards .desc { flex: 1; margin: .6rem 0 1.2rem; font-size: 15px; line-height: 1.6; color: var(--muted); }
.arrow { display: inline-block; color: var(--accent); transition: transform .3s var(--ease); }
a:hover .arrow { transform: translateX(4px); }

/* podnožje (sve stranice) */
.site-footer { padding: 0 var(--gutter); }
.site-footer p {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.6rem 0 4.5rem;
  border-top: 1px solid rgba(20, 22, 26, .1);
  font-size: 13px;
  color: var(--muted);
}
.site-footer p a { border-bottom: 1px solid rgba(90, 97, 110, .35); transition: color .3s, border-color .3s; }
.site-footer p a:hover { color: var(--accent); border-color: currentColor; }

/* EU vidljivost: traka s logotipima na bijeloj podlozi (EU logo nije niži od HAMAG-BICRO) */
.eu-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  max-width: 68rem; margin: 0 auto 1.6rem; padding: 14px 24px;
  border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 22, 26, .1);
  transition: box-shadow .3s;
}
a.eu-strip:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.eu-strip img { width: auto; }
.eu-strip .eu-logo { height: 60px; }
.eu-strip .hb-logo { height: 40px; }
.eu-strip--top { margin: 0 0 3rem; }
@media (max-width: 759px) {
  .eu-strip { gap: .8rem 1rem; padding: 10px 12px; }
  .eu-strip .eu-logo { height: 40px; }
  .eu-strip .hb-logo { height: 26px; }
}
.eu-page .page-title { font-size: clamp(34px, 4vw, 56px); }

/* cjenik */
.prices { width: 100%; margin: 0 0 1.2rem; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prices thead th { padding: 0 0 .6rem; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.prices thead th:last-child, .prices td { text-align: right; }
.prices tbody th, .prices td { padding: .85rem 0; border-top: 1px solid rgba(20, 22, 26, .12); vertical-align: top; }
.prices tbody tr:last-child > * { border-bottom: 1px solid rgba(20, 22, 26, .12); }
.prices tbody th { padding-right: 1.2rem; font-weight: 400; color: var(--text); text-align: left; }
.prices td { white-space: nowrap; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.prose .price-note { margin-top: .8rem; font-size: 15px; }
.prose .price-foot { margin-top: 8vh; font-size: 14px; }

/* plutajući gumb "Nazovite nas" (samo mobitel) */
.call-fab { display: none; }
@media (max-width: 759px) {
  .call-fab {
    position: fixed;
    right: 16px;
    bottom: 56px;                 /* iznad adrese u donjem kutu */
    z-index: 55;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(122, 31, 43, .3);
    transition: opacity .3s, transform .3s var(--ease);
  }
  .call-fab svg { width: 24px; height: 24px; }
  .call-fab.is-hidden { opacity: 0; transform: scale(.8); pointer-events: none; }
  .no-fab .call-fab { display: none; }
}

/* ---------- naruči se ---------- */
.book-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; margin-top: 2.6rem; }
.book-card { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 20px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); box-shadow: inset 0 0 0 1px rgba(20, 22, 26, .06); }
.book-card h2 { margin: 0 0 1.2rem; font: 400 clamp(28px, 2.6vw, 36px)/1.1 var(--serif); }
.book-card .btn--big { font-size: 22px; padding: .8em 1.3em; margin-bottom: 1.6rem; }
.book-card .btn--big svg { width: 20px; height: 20px; }
.book-card p, .book-card li { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.book-card ul { margin: .3rem 0 0; padding: 0; list-style: none; }
.book-card .mail { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); color: var(--accent); border-bottom: 1px solid rgba(122, 31, 43, .3); overflow-wrap: anywhere; }
.form-wrap { max-width: 44rem; margin-top: 10vh; }
.form-wrap > h2 { margin: 0 0 .6rem; font: 400 clamp(32px, 3.4vw, 48px)/1.08 var(--serif); }
.form-wrap > p { margin: 0 0 2.4rem; font-size: 17px; line-height: 1.6; color: var(--muted); }
.field { margin-bottom: 1.4rem; }
.field > label, .field legend { display: block; margin-bottom: .5rem; font-size: 14px; font-weight: 500; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #D3D9E1;
  border-radius: 12px;
  background: #fff;
  font: 400 16px/1.4 var(--sans);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122, 31, 43, .12); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.field fieldset { margin: 0; padding: 0; border: 0; }
.days { display: flex; flex-wrap: wrap; gap: .5rem; }
.days label, .consent {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 15px; cursor: pointer;
}
.days label { padding: .55rem .9rem; border: 1px solid #D3D9E1; border-radius: 999px; transition: border-color .2s, background .2s; }
.days label:has(input:checked) { border-color: var(--accent); background: rgba(122, 31, 43, .06); }
.days input, .consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.consent { align-items: flex-start; line-height: 1.55; color: var(--muted); }
.consent input { flex: none; margin-top: .15rem; }
.consent a { color: var(--accent); border-bottom: 1px solid rgba(122, 31, 43, .35); }
.hint { margin: .5rem 0 0; font-size: 13px; color: var(--muted); }
.err { margin: .45rem 0 0; font-size: 13.5px; color: var(--accent); }
.err:empty { display: none; }
.form-note { margin: 2rem 0 1.2rem; font-size: 14px; color: var(--muted); }
.form-wrap button.btn { border: 0; cursor: pointer; font-size: 16px; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 759px) {
  .book-top { grid-template-columns: 1fr; }
}

@media (max-width: 759px) {
  .page-main { padding-top: calc(var(--nav-h) + 5vh); }
  .page-intro { font-size: 17px; }
  .prose { margin-top: 7vh; }
  .prose ol li { padding-left: 3rem; }
  .map-consent { aspect-ratio: 4 / 5; border-radius: 20px; }
  .cta { border-radius: 20px; }
}
