/* NoviClinic — site styles. Breakpoints match the old Framer site:
   desktop ≥1280px, tablet 810–1279px, phone <810px. */

@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/Satoshi-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f9f6f0;          /* Background Color */
  --black: #260e01;       /* Black */
  --primary: #772d08;     /* Primary */
  --white: #ffffff;
  --light-blue: #d7e5ff;
  --light-yellow: #fae6be;
  --pink: #ffe8f8;
  --dark-green: #1c2706;
  --warm-ivory: #f3ebdd;
  --soft-nude: #eaddd2;
  --muted-sage: #dee5d8;
  --line: rgba(38, 14, 1, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --side: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale (Framer text styles) ---------- */
.h1 { font-size: 70px; line-height: 1.1; font-weight: 400; letter-spacing: -0.02em; }
.h2 { font-size: 52px; line-height: 1.2; font-weight: 400; letter-spacing: -0.02em; }
.h3 { font-size: 32px; line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; }
.h4 { font-size: 24px; line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; }
.h6 { font-size: 20px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.body { font-size: 16px; line-height: 1.4; font-weight: 500; }
.body2 { font-size: 18px; line-height: 1.4; font-weight: 500; }
.body-reg { font-size: 16px; line-height: 1.7; font-weight: 400; }
.eyebrow { font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--primary); }
.muted { opacity: 0.7; }
.c-primary { color: var(--primary); }
.center { text-align: center; }
.link-u { text-decoration: underline; text-underline-offset: 3px; }
a.text-link:hover { color: var(--primary); }

@media (max-width: 1279.98px) {
  .h2 { font-size: 42px; }
  .h4 { font-size: 20px; }
}
@media (max-width: 809.98px) {
  .h1 { font-size: 40px; }
  .h2 { font-size: 32px; }
  .h3 { font-size: 24px; }
  .h4 { font-size: 18px; }
  .h6 { font-size: 16px; }
}

/* ---------- layout ---------- */
.page { padding-top: 86px; min-height: 100vh; display: flex; flex-direction: column; align-items: center; }
.page > main { width: 100%; display: flex; flex-direction: column; align-items: center; }
.section { width: 100%; display: flex; justify-content: center; padding: 80px var(--side); }
.container { width: 100%; max-width: 1160px; }
.stack { display: flex; flex-direction: column; }
.title-block { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; max-width: 700px; margin: 0 auto; }
.card-white { background: var(--white); border-radius: 20px; }
.narrow { width: 100%; max-width: 1048px; padding: 40px 24px 80px; display: flex; flex-direction: column; align-items: center; }

@media (max-width: 1279.98px) { :root { --side: 40px; } }
@media (max-width: 809.98px) {
  :root { --side: 20px; }
  .section { padding: 50px var(--side); }
  .title-block.left-phone { align-items: flex-start; text-align: left; margin: 0; }
  .narrow { padding: 32px 20px 64px; }
}

/* ---------- buttons ---------- */
.btn-main {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 12px 70px 12px 24px; border-radius: 80px; background: var(--primary);
  color: var(--white); overflow: hidden; white-space: nowrap; cursor: pointer; border: 0;
  font-size: 16px; font-weight: 500; line-height: 1.4;
}
.btn-main .btn-circle {
  position: absolute; top: 6px; bottom: 6px; right: 6px; width: 40px; border-radius: 80px;
  background: var(--white); transition: all 0.45s var(--ease);
}
.btn-main svg { position: absolute; right: 16px; top: 16px; width: 20px; height: 20px; fill: var(--primary); transition: transform 0.45s var(--ease), fill 0.3s; }
.btn-main .btn-label { position: relative; transition: color 0.3s; }
.btn-main:hover .btn-circle, .btn-main:focus-visible .btn-circle { top: 3px; bottom: 3px; right: 3px; width: calc(100% - 6px); }
.btn-main:hover .btn-label, .btn-main:focus-visible .btn-label { color: var(--black); }
.btn-main:hover svg { transform: translateX(2px); fill: var(--black); }

.btn-small {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px;
  border-radius: 60px; background: var(--primary); color: var(--white); font-size: 16px; font-weight: 500;
  white-space: nowrap; transition: background 0.3s;
}
.btn-small:hover { background: var(--black); }

.tag { display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 24px; font-size: 16px; line-height: 1.7; font-weight: 400; }
.tag.yellow { background: var(--light-yellow); }
.tag.pink { background: var(--pink); }
.tag.blue { background: var(--light-blue); }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- navigation ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%); width: min(1160px, calc(100% - 40px)); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px 16px; border-radius: 40px; background: var(--bg);
}
.nav-logo { display: block; width: 190px; height: 36px; flex: none; }
.nav-logo img { width: 100%; height: 100%; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { opacity: 0.8; font-size: 16px; transition: opacity 0.2s; }
.nav-menu a:hover { opacity: 1; }
.nav-toggle { display: none; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.nav-toggle svg { width: 30px; height: 30px; fill: var(--black); }
.nav-toggle .i-close { display: none; }

@media (max-width: 1279.98px) {
  .nav { width: calc(100% - 0px); top: 0; }
  .nav-bar { border-radius: 0 0 24px 24px; }
  .nav-menu { gap: 15px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 809.98px) {
  .nav { width: calc(100% - 20px); top: 10px; }
  .nav-bar { flex-wrap: wrap; border-radius: 16px; padding: 12px 20px; }
  .nav-toggle { display: block; }
  .nav-menu, .nav-bar > .btn-small { display: none; }
  .nav.open .nav-menu { display: flex; flex-direction: column; gap: 30px; width: 100%; padding: 18px 0 6px; }
  .nav.open .nav-bar > .btn-small { display: inline-flex; margin: 0 auto 8px; }
  .nav.open .i-open { display: none; }
  .nav.open .i-close { display: block; }
}

/* ---------- footer: see the dark footer block near the end ---------- */
.socials { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.socials a { display: block; width: 24px; height: 24px; }
.socials svg { width: 24px; height: 24px; fill: var(--black); transition: fill 0.2s; }
.socials a:hover svg { fill: var(--primary); }

/* ---------- home: hero ---------- */
.hero { width: 100%; max-width: 1280px; }
.hero-card {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 60px; background: var(--white); border-radius: 20px;
}
.hero-left { flex: 1; max-width: 460px; display: flex; flex-direction: column; justify-content: center; gap: 48px; }
.hero-top { display: flex; flex-direction: column; gap: 28px; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-right { flex: 1; display: flex; justify-content: flex-end; }
.hero-img { position: relative; width: 100%; max-width: 577px; height: 550px; border-radius: 16px; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.rating {
  position: absolute; right: 20px; bottom: 20px; width: 220px; padding: 24px; border-radius: 12px; background: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.rating-icon svg { display: block; width: 36px; height: 36px; fill: var(--primary); }
.rating-text { width: 100%; display: flex; flex-direction: column; gap: 4px; text-align: center; }
.rating-text .h3 { font-size: 24px; line-height: 1.3; }

@media (max-width: 1279.98px) {
  .hero-card { flex-direction: column; align-items: stretch; padding: 60px 40px; gap: 40px; }
  .hero-left { max-width: none; }
  .hero-img { max-width: none; height: auto; aspect-ratio: 3 / 2; }
}
@media (max-width: 809.98px) {
  .hero-card { flex-direction: column; padding: 50px 20px; gap: 30px; }
  .hero-left { max-width: none; gap: 40px; width: 100%; }
  .hero-top { gap: 20px; }
  .hero-right { width: 100%; }
  .hero-img { max-width: none; height: auto; aspect-ratio: 3 / 2; }
  .rating { width: auto; padding: 10px 14px; right: 10px; bottom: 10px; flex-direction: row; gap: 10px; border-radius: 10px; }
  .rating-icon svg { width: 24px; height: 24px; }
  .rating-text { text-align: left; gap: 0; }
  .rating-text .h3 { font-size: 16px; }
  .rating-text .body2 { font-size: 13px; }
}

/* ---------- home: about / stats ---------- */
.about-inner { display: flex; flex-direction: column; align-items: center; gap: 50px; }
.about-copy { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.statement { font-size: 32px; line-height: 1.4; font-weight: 400; letter-spacing: 0; text-align: center; text-wrap: balance; }
.pill-video { width: 100%; max-width: 810px; aspect-ratio: 2.13; border-radius: 210px; overflow: hidden; }
.pill-video video, .rounded-video video, .pill-video img, .rounded-video img { width: 100%; height: 100%; object-fit: cover; }
.stats { width: 100%; max-width: 800px; display: flex; justify-content: center; gap: 40px; }
.counter { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.counter-num { font-size: 50px; line-height: 1.2; font-weight: 400; color: var(--primary); font-variant-numeric: tabular-nums; }
.counter .rule { width: 100%; }
.counter-label { width: 100%; text-align: center; opacity: 0.6; }

@media (max-width: 1279.98px) { .statement { font-size: 28px; } }
@media (max-width: 809.98px) {
  .about-inner { gap: 30px; }
  .statement { font-size: 26px; }
  .pill-video { min-height: 180px; }
  .stats { max-width: 400px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .stats .counter:last-child { grid-column: 1 / -1; }
  .counter-num { font-size: 30px; }
}

/* ---------- home: service cards ---------- */
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; padding: 10px; background: var(--white); border-radius: 20px; overflow: hidden; }
.service-card-body { display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 20px; }
.service-card-icon { width: 60px; height: 50px; border-radius: 10px; object-fit: cover; }
.service-card-text { display: flex; flex-direction: column; gap: 8px; }
.service-card-photo { width: 100%; height: 220px; border-radius: 10px; object-fit: cover; }
.stack-60 { display: flex; flex-direction: column; gap: 60px; }

@media (max-width: 1279.98px) {
  .cards-3 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cards-3 > :nth-child(3):last-child { grid-column: 1 / -1; }
  .cards-3 > .service-card:nth-child(3) .service-card-photo { height: 380px; }
  .cards-3.process > :nth-child(3) { flex-direction: row; align-items: center; }
  .cards-3.process > :nth-child(3) > * { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 809.98px) {
  .cards-3 { grid-template-columns: 1fr; gap: 16px; }
  .cards-3 > .service-card:nth-child(3) .service-card-photo { height: 220px; }
  .cards-3.process > :nth-child(3) { flex-direction: column; }
  .stack-60 { gap: 30px; }
  .section-head.left-phone { align-items: flex-start; text-align: left; }
}

/* ---------- home: why choose us ---------- */
.why { width: 100%; max-width: 1280px; display: flex; justify-content: center; }
.why-card {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 73px;
  padding: 80px 60px; background: var(--white); border-radius: 20px;
}
.why-img { flex: 1; max-width: 581px; height: 619px; border-radius: 16px; object-fit: cover; }
.why-content { flex: 1; max-width: 520px; display: flex; flex-direction: column; gap: 40px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.why-item { display: flex; flex-direction: column; gap: 20px; }
.why-item img { width: 40px; height: 40px; }
.why-item p { max-width: 200px; opacity: 0.8; }

@media (max-width: 1279.98px) {
  .why-card { flex-direction: column; align-items: stretch; padding: 60px 40px; gap: 40px; }
  .why-img { max-width: none; flex: none; width: 100%; height: auto; aspect-ratio: 0.94; }
  .why-content { max-width: none; }
  .why-item p { max-width: 240px; }
}
@media (max-width: 809.98px) {
  .why-card { flex-direction: column; padding: 50px 20px; gap: 40px; }
  .why-img { width: 100%; max-width: none; flex: none; height: auto; aspect-ratio: 0.94; }
  .why-content { gap: 30px; max-width: none; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- home: process ---------- */
.process-card {
  display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 10px 10px;
  background: var(--white); border-radius: 16px; overflow: hidden;
}
.process-text { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 10px; text-align: center; }
.process-num { width: 40px; height: 30px; border-radius: 20px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.process-text p { opacity: 0.8; }
.process-card img { width: 100%; aspect-ratio: 1; height: auto; border-radius: 8px; object-fit: cover; }
.cards-3.process { gap: 30px; }
@media (max-width: 809.98px) { .cards-3.process { gap: 20px; } }

/* ---------- home: testimonials ---------- */
.testimonials-wrap { width: 100%; max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 64px; }
.ticker-cols { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ticker {
  height: 800px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.ticker-track { display: flex; flex-direction: column; gap: 30px; animation: tick-up 40s linear infinite; }
.ticker.down .ticker-track { animation-name: tick-down; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 15px)); } }
@keyframes tick-down { from { transform: translateY(calc(-50% - 15px)); } to { transform: translateY(0); } }
.quote-card { display: flex; flex-direction: column; gap: 100px; padding: 30px; background: var(--white); border-radius: 20px; }
.quote-card.small { gap: 30px; }
.quote-msg { display: flex; flex-direction: column; gap: 32px; }
.quote-msg svg { width: 32px; height: 32px; fill: var(--primary); }
.quote-who .role { opacity: 0.6; }
.testimonials-mobile { display: none; width: 100%; flex-direction: column; gap: 30px; }

@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
@media (max-width: 809.98px) {
  .testimonials-wrap { gap: 30px; }
  .ticker-cols { display: none; }
  .testimonials-mobile { display: flex; }
  .quote-card { gap: 40px; }
}

/* ---------- FAQ ---------- */
.faq-cols { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 24px; }
.faq { background: var(--light-yellow); border-radius: 16px; transition: background 0.3s; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; color: var(--primary); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.faq summary .i-minus { display: none; }
.faq[open] { background: var(--primary); }
.faq[open] summary { color: var(--white); }
.faq[open] summary .i-plus { display: none; }
.faq[open] summary .i-minus { display: block; }
.faq-answer { padding: 0 24px 24px; color: var(--white); opacity: 0.9; }
@media (max-width: 1279.98px) { .faq-cols { grid-template-columns: 1fr; gap: 16px; } .faq-col { gap: 16px; } }

/* ---------- contact section ---------- */
.contact-outer { width: 100%; max-width: 1280px; }
.contact-card { display: flex; align-items: stretch; justify-content: space-between; gap: 60px; padding: 80px 60px; background: var(--white); border-radius: 20px; }
.contact-form-wrap { flex: 1; max-width: 530px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 40px; }
.fields { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field input, .field textarea {
  width: 100%; padding: 13px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--white);
  font: inherit; font-size: 16px; color: var(--black); outline: none; transition: border-color 0.2s;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.field input::placeholder, .field textarea::placeholder { color: rgba(38, 14, 1, 0.4); }
.btn-submit {
  width: 100%; padding: 15px; border: 0; border-radius: 80px; background: var(--primary); color: var(--white);
  font-size: 16px; font-weight: 500; cursor: pointer; transition: background 0.2s;
}
.btn-submit:hover { background: rgba(119, 45, 8, 0.9); }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; }
.form-status { min-height: 1.4em; }
.form-status.ok { color: #2f6b2a; }
.form-status.err { color: #b42318; }
.hp { position: absolute; left: -9999px; }
.contact-info { flex: 1; max-width: 420px; display: flex; align-items: center; padding: 40px 50px; background: var(--bg); border-radius: 20px; }
.contact-info-inner { width: 100%; display: flex; flex-direction: column; gap: 80px; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; flex-direction: column; gap: 12px; }
.info-item .label { opacity: 0.7; }
.info-item.hours { gap: 8px; }

@media (max-width: 1279.98px) {
  .contact-card { padding: 60px 40px; gap: 40px; }
  .contact-info { padding: 40px 32px; }
  .contact-info-inner { gap: 48px; }
}
@media (max-width: 809.98px) {
  .contact-card { flex-direction: column; padding: 50px 20px; gap: 40px; }
  .contact-form-wrap, .contact-info { max-width: none; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-info { padding: 32px 20px; }
  .contact-info-inner { gap: 40px; }
}

/* ---------- services list ---------- */
.search { width: 420px; max-width: 100%; position: relative; }
.test-search { width: 410px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: rgba(38, 14, 1, 0.5); }
.search input {
  width: 100%; height: 48px; padding: 12px 20px 12px 42px; border-radius: 24px; border: 1px solid rgba(119, 45, 8, 0.2);
  background: var(--white); font: inherit; font-size: 15px; color: var(--black); outline: none;
}
.search input:focus { border-color: var(--primary); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(119, 45, 8, 0.15); background: var(--white);
  font-size: 15px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tab:hover { border-color: var(--primary); }
.tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.tile-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile {
  display: flex; flex-direction: column; padding: 10px; background: var(--white); border-radius: 20px;
  border: 1px solid rgba(119, 45, 8, 0.08); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.tile-art { height: 180px; border-radius: 12px; background: var(--warm-ivory); display: flex; align-items: center; justify-content: center; }
.tile-art span { width: 104px; height: 104px; border-radius: 52px; background: rgba(255, 255, 255, 0.55); display: flex; align-items: center; justify-content: center; }
.tile-art svg { width: 52px; height: 52px; fill: var(--primary); }
.tile-text { display: flex; flex-direction: column; gap: 12px; padding: 18px 10px 10px; flex: 1; }
.tile-name { font-size: 18px; min-height: 48px; }
.tile-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid rgba(38, 14, 1, 0.08); margin-top: auto; }
.tile-meta .dur { font-size: 14px; color: rgba(38, 14, 1, 0.6); }
.tile-meta .price { font-size: 18px; color: var(--primary); }
.load-more { height: 40px; padding: 0 22px; border-radius: 100px; border: 0; background: var(--primary); color: var(--white); font-size: 15px; cursor: pointer; }
.empty {
  width: 100%; padding: 40px 24px; border-radius: 20px; background: var(--white); border: 1px dashed rgba(119, 45, 8, 0.2);
  color: var(--primary); text-align: center;
}
.help {
  width: 100%; display: flex; align-items: center; gap: 40px; padding: 40px; border-radius: 20px; background: var(--white);
}
.help-text { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.help-ctas { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gap-40 { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; }
.page-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.page-head p { max-width: 620px; }
[hidden] { display: none !important; }

@media (max-width: 1279.98px) { .tile-grid { gap: 16px; } }
@media (max-width: 809.98px) {
  .tile-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile-art { height: 120px; }
  .tile-art span { width: 72px; height: 72px; }
  .tile-art svg { width: 36px; height: 36px; }
  .tile-text { padding: 12px 6px 6px; gap: 8px; }
  .tile-name { font-size: 15px; min-height: 0; }
  .tile-meta { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 8px; }
  .tile-meta .price { font-size: 16px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: calc(100% + 40px); margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .help { flex-direction: column; align-items: stretch; padding: 28px 20px; gap: 24px; }
}

/* ---------- service detail ---------- */
.detail { width: 100%; max-width: 1200px; padding: 71px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.detail-banner { width: 100%; height: 400px; border-radius: 24px; object-fit: cover; }
.detail-head { width: 100%; max-width: 1000px; display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; margin-top: 16px; }
.detail-head .meta { color: #999; }
.detail-book { padding: 8px 0 40px; display: flex; justify-content: center; }
/* ---------- service page ---------- */
.svc { --svc-text: #2b1a10; width: 100%; max-width: 1200px; padding: 112px var(--side) 88px; display: flex; flex-direction: column; gap: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(38, 14, 1, 0.65); margin-bottom: -20px; }
.crumbs a:hover { color: var(--primary); }
.svc-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; background: var(--white); border-radius: 28px; padding: 40px; }
.svc-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.svc-title { font-size: 56px; line-height: 1.08; }
.svc-lead { color: var(--svc-text); opacity: 0.85; font-weight: 400; max-width: 520px; }
.svc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.svc-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 40px; background: var(--bg); font-size: 15px; }
.svc-facts svg { width: 18px; height: 18px; fill: var(--primary); flex: none; }
.svc-facts strong { font-weight: 500; color: var(--primary); }
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.svc-cta-link { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
/* Online consultations: the note under the button, how it works, prices and who reviews it */
.svc-cta-note { margin: 0; opacity: .85; }
.svc-cta-note a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.svc-online { display: flex; flex-direction: column; gap: 20px; }
.svc-online .online-steps { list-style: none; margin: 0; padding: 0; }
.price-table { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 24px; background: var(--white); border-radius: 20px; }
.price-table table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.price-table td { text-align: right; white-space: nowrap; }
.prescriber-card { display: flex; gap: 18px; align-items: center; padding: 20px; background: var(--white); border-radius: 20px; }
.prescriber-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: none; }
.prescriber-card .eyebrow { margin: 0 0 4px; }
.prescriber-card p.body-reg { margin: 4px 0 0; }
@media (max-width: 809.98px) { .price-table td { white-space: normal; } .prescriber-card { align-items: flex-start; } .prescriber-card img { width: 64px; height: 64px; } }
.svc-hero-img { width: 100%; height: 100%; min-height: 360px; max-height: 440px; object-fit: cover; border-radius: 20px; }

/* choose how to book: the single service leads, then up to two courses/packages, the rest behind "View all" */
.choose { display: flex; flex-direction: column; gap: 16px; padding: 36px 40px 40px; background: var(--warm-ivory); border-radius: 28px; scroll-margin-top: 110px; }
.choose-head { display: flex; flex-direction: column; gap: 6px; max-width: 700px; margin-bottom: 4px; }
.choose-head p { color: var(--svc-text); opacity: 0.85; }
.option-featured { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px 32px; padding: 28px 32px; background: var(--white); border: 2px solid var(--primary); border-radius: 20px; }
.option-featured-text { display: flex; flex-direction: column; gap: 4px; }
.option-kicker { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; color: var(--primary); }
.option-featured .option-price { font-size: 36px; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.option { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 28px; background: var(--white); border-radius: 20px; border: 1px solid rgba(119, 45, 8, 0.1); text-align: left; transition: border-color 0.2s; }
.option:hover { border-color: rgba(119, 45, 8, 0.4); }
.option-top { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.option-top .tag { flex: none; font-size: 14px; padding: 4px 12px; line-height: 1.5; }
.option-price { font-size: 30px; line-height: 1.2; font-weight: 500; color: var(--primary); }
.option-text { color: var(--svc-text); opacity: 0.85; flex: 1; }
.option .btn-main { margin-top: 6px; }
.more-options > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 60px; border: 1px solid var(--primary); color: var(--primary); font-weight: 500; background: var(--white); }
.more-options > summary::-webkit-details-marker { display: none; }
.more-options > summary span { font-weight: 400; }
.more-options > summary svg { width: 18px; height: 18px; fill: currentColor; }
.more-options > summary .i-minus, .more-options[open] > summary .i-plus { display: none; }
.more-options[open] > summary .i-minus { display: block; }
.more-options[open] > summary { margin-bottom: 16px; }

/* body: readable text on the left, sticky booking card on the right */
.svc-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.svc-main { max-width: none; display: flex; flex-direction: column; gap: 16px; }
.svc-main.rich > * + * { margin-top: 0; }
.svc-section { background: var(--white); border-radius: 20px; padding: 32px 40px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.75; color: var(--svc-text); }
.svc-section p { max-width: 68ch; }
.svc-main .svc-section h2 { font-size: 30px; line-height: 1.25; font-weight: 500; color: var(--black); text-align: left; letter-spacing: -0.02em; margin-bottom: 2px; }
.svc-main .svc-section h3 { font-size: 21px; line-height: 1.35; font-weight: 500; color: var(--primary); margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-main .svc-section h2 + h3 { margin-top: 0; padding-top: 0; border-top: 0; }
.svc-main .svc-section ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.svc-main .svc-section ul li { position: relative; padding-left: 30px; }
.svc-main .svc-section ul li + li { margin-top: 0; }
.svc-main .svc-section ul li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%; background: var(--light-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23772d08' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc-section a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.svc-section table { width: 100%; border-collapse: collapse; }
.svc-section td, .svc-section th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.svc-aside { position: sticky; top: 104px; }
.book-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px; background: var(--white); border-radius: 20px; border: 1px solid rgba(119, 45, 8, 0.15); }
.book-card-name { font-size: 18px; line-height: 1.35; font-weight: 500; }
.book-card-price { font-size: 34px; line-height: 1.1; font-weight: 500; color: var(--primary); }
.book-card-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--svc-text); opacity: 0.85; }
.book-card-meta svg, .book-card-note svg { width: 18px; height: 18px; fill: var(--primary); flex: none; }
.book-card .btn-main { width: 100%; margin-top: 4px; }
.book-card-note { display: flex; gap: 10px; align-items: flex-start; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--svc-text); }
.book-card-note svg { margin-top: 2px; }
.book-card-help { font-size: 14px; line-height: 1.55; color: var(--svc-text); }
.book-card-help a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ (ivory panel) */
.svc-faq { display: flex; flex-direction: column; gap: 20px; padding: 36px 40px 40px; background: var(--warm-ivory); border-radius: 28px; }
.svc-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.svc-faq .faq { background: var(--white); }
.svc-faq .faq[open] { background: var(--primary); }
.svc-faq .faq summary { padding: 20px 22px; }
.svc-faq .faq-answer a { color: inherit; text-decoration: underline; }

/* consultation CTA (brand panel) */
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 48px; padding: 44px 48px; background: var(--primary); border-radius: 28px; color: var(--white); }
.cta-panel-text { display: flex; flex-direction: column; gap: 12px; }
.cta-panel h2 { color: var(--white); }
.cta-panel p { color: rgba(255, 255, 255, 0.9); }
.cta-points { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.cta-points li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.cta-points svg { width: 20px; height: 20px; fill: var(--light-yellow); flex: none; }
.cta-panel .btn-main { background: var(--white); color: var(--primary); }
.cta-panel .btn-main .btn-circle { background: var(--primary); }
.cta-panel .btn-main svg { fill: var(--white); }
.cta-panel .btn-main:hover .btn-label, .cta-panel .btn-main:focus-visible .btn-label { color: var(--white); }
.cta-panel .btn-main:hover svg { fill: var(--white); }

/* related services */
.related { display: flex; flex-direction: column; gap: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: flex; flex-direction: column; background: var(--white); border-radius: 20px; overflow: hidden; border: 1px solid transparent; transition: border-color 0.2s; }
.related-card:hover { border-color: rgba(119, 45, 8, 0.35); }
.related-card img { width: 100%; height: 180px; object-fit: cover; }
.related-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 22px; }
.related-price { color: var(--primary); }

/* phones and tablets: compact fixed booking bar */
.svc-bar { display: none; }

@media (max-width: 1100px) {
  .svc-body { grid-template-columns: minmax(0, 1fr); } /* never wider than the screen, whatever is inside */
  .svc-aside { display: none; }
  .svc-bar { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; background: var(--white); border-radius: 60px; box-shadow: 0 6px 24px rgba(38, 14, 1, 0.14); }
  .svc-bar .btn-main { height: 46px; padding: 10px 62px 10px 22px; }
  .svc-bar .btn-main svg { top: 13px; }
  .svc-bar-info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .svc-bar-price { font-weight: 500; color: var(--primary); font-size: 18px; white-space: nowrap; }
  .svc-bar .btn-main { flex-shrink: 0; }
  .svc-bar-meta { font-size: 13px; color: rgba(38, 14, 1, 0.65); }
  .svc { padding-bottom: 110px; }
}
@media (max-width: 360px) {
  .svc-bar { padding-left: 16px; }
  .svc-bar-price { font-size: 16px; }
}
@media (max-width: 900px) {
  .svc-hero { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .svc-hero-img { order: -1; min-height: 0; height: 240px; }
  .svc-title { font-size: 40px; }
  .option-featured { grid-template-columns: 1fr auto; }
  .option-featured .btn-main { grid-column: 1 / -1; justify-self: start; }
  .related-grid, .svc-faq-list { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 32px 28px; }
}
@media (max-width: 809.98px) {
  .svc { padding: 84px 16px 110px; gap: 28px; }
  .crumbs { margin-bottom: -12px; font-size: 14px; }
  .svc-title { font-size: 34px; }
  .choose, .svc-faq { padding: 24px 16px; border-radius: 20px; }
  .option-grid { grid-template-columns: 1fr; }
  .option-featured { padding: 22px 20px; }
  .option-featured .btn-main, .option .btn-main, .cta-panel .btn-main, .svc-cta .btn-main { width: 100%; }
  .svc-section { padding: 24px 20px; font-size: 16px; }
  .svc-main .svc-section h2 { font-size: 24px; }
  .svc-main .svc-section h3 { font-size: 19px; }
  .option { padding: 22px 20px; }
  .svc-cta { width: 100%; }
  .related-card img { height: 160px; }
}

.prev-next { width: 100%; max-width: 600px; display: flex; justify-content: space-between; gap: 10px; margin-top: 40px; }
.prev-next a:hover { color: var(--primary); }

@media (max-width: 1279.98px) { .detail { padding: 48px 40px; } }
@media (max-width: 809.98px) {
  .detail { padding: 24px 20px; }
  .detail-banner { height: 240px; border-radius: 16px; }
  .detail-head { margin-top: 20px; }
}

/* rich text (CMS descriptions and articles) */
.rich { width: 100%; max-width: 1000px; font-size: 16px; line-height: 1.4; }
.rich > * + * { margin-top: 32px; }
.rich h1 { font-size: 70px; line-height: 1.1; font-weight: 400; }
.rich h2 { font-size: 52px; line-height: 1.2; font-weight: 400; color: var(--dark-green); text-align: center; }
.rich h3 { font-size: 32px; line-height: 1.4; font-weight: 500; color: var(--dark-green); }
.rich h4 { font-size: 24px; line-height: 1.4; font-weight: 500; }
.rich ul, .rich ol { padding-left: 1.4em; }
.rich li + li { margin-top: 6px; }
.rich a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rich strong { font-weight: 700; }
.rich figure { margin: 32px 0 0; overflow-x: auto; }
.rich table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--white); border: 1px solid rgba(38, 14, 1, 0.1); border-radius: 12px; overflow: hidden; }
.rich th, .rich td { text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(38, 14, 1, 0.1); border-right: 1px solid rgba(38, 14, 1, 0.1); vertical-align: top; }
.rich th:last-child, .rich td:last-child { border-right: 0; }
.rich th { background: var(--warm-ivory); font-weight: 500; }
.rich td p, .rich th p { margin: 0; }
.rich td p + p { margin-top: 12px; }
.rich tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) { .rich table { font-size: 14px; } .rich th, .rich td { padding: 9px 8px; } } /* price tables fit a phone */
@media (max-width: 1279.98px) { .rich h2 { font-size: 42px; } .rich h4 { font-size: 20px; } }
@media (max-width: 809.98px) { .rich h1 { font-size: 40px; } .rich h2 { font-size: 32px; } .rich h3 { font-size: 24px; } .rich h4 { font-size: 18px; } }

/* accordion variant (blood tests) */
.rich.compact > * + * { margin-top: 16px; }
.rich.compact h2 { font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--black); text-align: left; }
.rich.compact h3 { font-size: 18px; line-height: 1.3; font-weight: 500; color: var(--black); }
@media (max-width: 809.98px) { .rich.compact h2 { font-size: 17px; } .rich.compact h3 { font-size: 16px; } }

/* article variant */
.rich.article { max-width: 680px; font-size: 16px; line-height: 1.7; font-weight: 400; }
.rich.article > * + * { margin-top: 20px; }
.rich.article h2 { font-size: 28px; line-height: 1.25; font-weight: 500; color: var(--black); text-align: left; margin-top: 36px; }
.rich.article h3 { font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; color: var(--black); margin-top: 28px; }
@media (max-width: 1279.98px) { .rich.article h2 { font-size: 26px; } .rich.article h3 { font-size: 20px; } }
@media (max-width: 809.98px) { .rich.article h2 { font-size: 22px; } .rich.article h3 { font-size: 18px; } }

/* ---------- blood tests ---------- */
.steps { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); border-radius: 20px; }
.steps-phone { display: none; width: 100%; flex-direction: column; gap: 12px; }
.steps-phone li { display: flex; gap: 10px; align-items: flex-start; }
.steps-phone svg { width: 20px; height: 20px; flex: none; fill: var(--primary); margin-top: 3px; }
.acc-list { width: 100%; display: flex; flex-direction: column; gap: 20px; }
.acc { border: 1px solid var(--primary); border-radius: 38px; padding: 24px; }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.acc summary::-webkit-details-marker { display: none; }
.acc-title { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.acc-title .price { color: #888; }
.acc summary svg { width: 24px; height: 24px; flex: none; transition: transform 0.3s var(--ease); }
.acc[open] summary svg { transform: rotate(45deg); }
.acc-body { padding-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.acc-body .rich { max-width: none; }
.more-box { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px; background: var(--white); border-radius: 20px; text-align: center; }
.more-box p { max-width: 640px; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; padding-top: 8px; }
.contact-links a:hover { color: var(--primary); }
@media (max-width: 1279.98px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 809.98px) {
  .steps { display: none; }
  .steps-phone { display: flex; list-style: none; margin: 0; padding: 4px 0; }
  .narrow.blood { padding-left: 24px; padding-right: 24px; }
  .narrow.blood .page-head { padding: 0 8px; }
  .steps-phone { padding: 4px 4px; }
  .test-search { width: 300px; }
  .acc { padding: 22px 24px; }
  .more-box { padding: 28px 20px; }
}

/* ---------- blog ---------- */
.blog-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; padding: 10px; background: var(--white); border-radius: 20px; transition: transform 0.3s var(--ease); }
.post-card img { width: 100%; height: 200px; border-radius: 14px; object-fit: cover; }
.post-card-text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 12px 12px; }
.pill { display: inline-flex; padding: 4px 12px; border-radius: 40px; background: var(--light-yellow); }
.date { opacity: 0.6; }
.article-wrap { width: 100%; max-width: 808px; padding: 40px 24px 80px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.article-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 760px; }
.article-banner { width: 100%; height: 420px; border-radius: 20px; object-fit: cover; }
.article-cta { width: 100%; max-width: 760px; display: flex; align-items: center; gap: 24px; padding: 32px; background: var(--white); border-radius: 20px; }
.article-cta > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1279.98px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 809.98px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 32px 20px 64px; gap: 28px; }
  .article-banner { height: 240px; }
  .article-cta { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}

/* ---------- about ---------- */
.about-hero { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.about-hero .title-block { gap: 30px; }
.rounded-video { width: 100%; max-width: 980px; aspect-ratio: 1.81; border-radius: 20px; overflow: hidden; }
.pharmacist { display: flex; align-items: center; gap: 60px; }
.pharmacist img { width: 460px; height: 520px; flex: none; border-radius: 20px; object-fit: cover; }
.pharmacist-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pharmacist-text .role { opacity: 0.75; }
.approach-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.approach-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--white); border-radius: 20px; }
.approach-card p { opacity: 0.8; }
.stat-section { width: 100%; max-width: 1280px; padding: 80px 60px; background: var(--white); border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.stat-cards { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 20px; background: var(--bg); }
.stat-card .amount { font-size: 52px; line-height: 1.2; font-weight: 400; color: var(--primary); }
.visit { display: flex; align-items: stretch; gap: 32px; }
.visit-card { flex: 1; display: flex; flex-direction: column; gap: 28px; padding: 40px; background: var(--white); border-radius: 20px; }
.visit-card .label { opacity: 0.6; }
.hours-row { display: flex; justify-content: space-between; padding-bottom: 10px; }
.map { flex: 1; min-height: 520px; border-radius: 20px; overflow: hidden; background: var(--warm-ivory); }
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 520px; padding: 24px; text-align: center; }
.map-show { border: 0; cursor: pointer; }
.map-note { max-width: 320px; font-weight: 400; }
.map-placeholder a { text-decoration: underline; }
html:not(.js) .map-show, html:not(.js) .map-note { display: none; }
@media (max-width: 1279.98px) {
  .pharmacist { gap: 40px; }
  .pharmacist img { width: 340px; height: 420px; }
  .stat-section { padding: 60px 40px; }
  .stat-card .amount { font-size: 42px; }
}
@media (max-width: 809.98px) {
  .about-hero { gap: 40px; }
  .pharmacist { flex-direction: column; align-items: stretch; gap: 30px; }
  .pharmacist img { width: 100%; height: auto; aspect-ratio: 460 / 520; }
  .approach-grid, .stat-cards { grid-template-columns: 1fr; }
  .approach-card, .stat-card { padding: 24px; }
  .stat-section { padding: 50px 20px; gap: 30px; }
  .stat-card .amount { font-size: 32px; }
  .visit { flex-direction: column; }
  .visit-card { padding: 28px 20px; }
  .map, .map iframe, .map-placeholder { min-height: 360px; }
}

/* ---------- booking ---------- */
.booking-frame { width: 100%; }
.booking-frame iframe { width: 100%; height: 1000px; border: 0; background: var(--bg); }
.help-bar { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 24px; padding: 28px 32px; background: var(--white); border-radius: 20px; text-align: center; }
.help-bar a:hover { color: var(--primary); }

/* booking confirmed */
.badge { width: 88px; height: 88px; border-radius: 100px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.badge svg { width: 48px; height: 48px; fill: var(--primary); }
.conf-cards { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.conf-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; background: var(--white); border-radius: 20px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; }
.check-row svg { width: 22px; height: 22px; flex: none; fill: var(--primary); margin-top: 2px; }
@media (max-width: 809.98px) { .conf-cards { grid-template-columns: 1fr; } .conf-card { padding: 24px 20px; } }

/* ---------- legal ---------- */
.legal { width: 100%; max-width: 808px; padding: 64px 24px 112px; display: flex; flex-direction: column; gap: 16px; font-size: 18px; }
.legal h2 { font-size: 20px; line-height: 1.3; font-weight: 500; margin-top: 16px; }
.legal h3 { font-size: 18px; line-height: 1.4; font-weight: 500; color: var(--primary); margin-top: 4px; }
.legal ul { margin: 0; padding-left: 1.3em; }
.legal li + li { margin-top: 4px; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 809.98px) { .legal { padding: 40px 20px 80px; } }

/* ---------- 404 ---------- */
.notfound { width: 100%; max-width: 1280px; padding: 80px 60px 100px; background: var(--white); border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.notfound img { width: 530px; max-width: 100%; height: auto; aspect-ratio: 530 / 320; object-fit: cover; }

/* ---------- entrance animation ---------- */
/* Recreates the Framer effects: page fade, nav drop-in, hero slide-ins, word-by-word heading,
   popping tags, and sections rising 40px into view. */
:root { --spring: cubic-bezier(0.3, 1.25, 0.5, 1); --settle: cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes drop-in { from { opacity: 0; translate: 0 -150px; } }
@keyframes from-left { from { opacity: 0; translate: -150px 0; } }
@keyframes from-right { from { opacity: 0; translate: 150px 0; } }
@keyframes word-up { from { opacity: 0; translate: 0 10px; } }
@keyframes pop { from { opacity: 0; scale: 0.5; } }
.page { animation: fade-in 0.8s ease both; }
.nav { animation: drop-in 1s var(--spring) both; }
.anim-from-left { animation: from-left 1s var(--spring) 0.2s both; }
.anim-from-right { animation: from-right 1s var(--spring) both; }
.words .w { display: inline-block; animation: word-up 0.6s var(--spring) calc(0.3s + var(--i) * 0.07s) both; }
.pop { animation: pop 0.8s var(--spring) var(--d, 0s) both; }
.hero { overflow: hidden; }
.js .reveal { opacity: 0; translate: 0 40px; transition: opacity 0.9s var(--settle) var(--rd, 0s), translate 0.9s var(--settle) var(--rd, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .page, .nav, .anim-from-left, .anim-from-right, .words .w, .pop { animation: none; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
}

/* Service and article cards lift on hover, as on the Framer site */
.tile, .post-card { position: relative; transition: transform 0.3s var(--spring), box-shadow 0.3s ease; }
.tile:hover, .post-card:hover { z-index: 2; transform: translateY(-4px) scale(1.1); }
.tile:hover { box-shadow: 0 12px 24px rgba(38, 14, 1, 0.08); }
@media (hover: none) { .tile:hover, .post-card:hover { transform: none; box-shadow: none; } }

/* FAQ and blood-test panels open smoothly (height animated by site.js) */
.faq, .acc { overflow: hidden; }
.faq { transition: background 0.35s ease; }
/* full-page screenshots (?eager): show everything without animation */
.shot .reveal { opacity: 1 !important; translate: none !important; transition: none !important; }
.shot .page, .shot .nav, .shot .anim-from-left, .shot .anim-from-right, .shot .words .w, .shot .pop { animation: none !important; }
.shot .ticker-track { animation: none; }

/* tablet and phone: the white hero/why/contact cards run edge to edge, as on the Framer site */
@media (max-width: 1279.98px) {
  .section#why-choose-us, .section#contact-section:not(.home-contact) { padding-left: 0; padding-right: 0; }
  .contact-card, .why-card { border-radius: 20px; }
}
@media (max-width: 809.98px) { .nav.open .nav-bar { box-shadow: 0 16px 40px rgba(38, 14, 1, 0.12); } }

/* ---------- cookie choice ---------- */
.cookie-banner {
  position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(38, 14, 1, 0.16); font-weight: 400;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; flex: none; gap: 8px; }
.cookie-actions .btn-small { border: 0; cursor: pointer; }
.cookie-settings { padding: 0; border: 0; background: none; font-weight: 400; cursor: pointer; }
html:not(.js) .cookie-settings { display: none; }
@media (max-width: 809px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; bottom: 12px; }
  .cookie-actions .btn-small { flex: 1; }
}

/* ---------- website assistant ---------- */
.assistant-open { position: fixed; z-index: 45; right: 16px; bottom: 16px; border: 0; cursor: pointer; box-shadow: 0 8px 24px rgba(38, 14, 1, 0.25); }
.assistant-open[hidden], .assistant[hidden] { display: none; }
.assistant {
  position: fixed; z-index: 55; right: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); height: min(560px, calc(100dvh - 32px));
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(38, 14, 1, 0.2);
}
.assistant-head { display: flex; align-items: center; justify-content: space-between; }
.assistant-close { width: 32px; height: 32px; padding: 0; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; }
.assistant-note { font-size: 13px; font-weight: 400; color: rgba(38, 14, 1, 0.7); }
.assistant-note a, .assistant-msg a { text-decoration: underline; overflow-wrap: anywhere; }
.assistant-log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.assistant-msg { max-width: 90%; padding: 8px 12px; border-radius: 12px; font-weight: 400; overflow-wrap: anywhere; }
.assistant-msg.from-user { align-self: flex-end; background: var(--soft-nude); }
.assistant-msg.from-assistant { align-self: flex-start; background: var(--warm-ivory); }
.assistant-form { display: flex; gap: 8px; }
.assistant-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 60px; background: var(--bg); font: inherit; font-size: 16px; }
.assistant-form .btn-small { border: 0; cursor: pointer; }
.assistant-form .btn-small[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 809px) { .assistant-open { bottom: 84px; } }

/* ---------- home (Nov 2026): service groups, trust strip, two ways, travel packs ---------- */
.home-hero { flex-direction: column; align-items: stretch; gap: 48px; }
.home-hero-row { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-hero .hero-left { max-width: 540px; }
.home-hero .hero-img { height: 440px; }
.home-hero .h1 { font-size: 60px; }
.home-search { width: 100%; }
.home-search input { height: 56px; font-size: 16px; border-radius: 28px; }
.search-suggest {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid rgba(119, 45, 8, 0.15); border-radius: 18px; box-shadow: 0 12px 32px rgba(38, 14, 1, 0.12);
}
.search-suggest a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 12px; font-size: 15px; }
.search-suggest a span:last-child { color: var(--primary); white-space: nowrap; }
.search-suggest a:hover, .search-suggest a[aria-selected="true"] { background: var(--warm-ivory); }
.search-suggest .none { padding: 10px 14px; font-size: 15px; opacity: 0.7; }

.group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.group-card {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 40px 16px 16px; border-radius: 16px;
  background: var(--bg); border: 1px solid transparent; transition: border-color 0.2s, background 0.2s;
}
.group-card:hover, .group-card:focus-visible { border-color: rgba(119, 45, 8, 0.35); background: var(--warm-ivory); }
.group-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.group-icon svg { width: 26px; height: 26px; fill: var(--primary); }
.group-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.group-name { font-size: 17px; font-weight: 500; }
.group-line { font-size: 14px; line-height: 1.35; opacity: 0.65; font-weight: 400; }
.group-arrow { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: var(--primary); opacity: 0.6; transition: transform 0.3s var(--ease), opacity 0.2s; }
.group-card:hover .group-arrow { transform: translate(3px, -50%); opacity: 1; }

.trust { width: 100%; display: flex; justify-content: center; padding: 28px var(--side) 0; }
.trust-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding: 24px 28px; border-radius: 20px; background: var(--warm-ivory); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { flex: none; width: 28px; height: 28px; fill: var(--primary); }
.trust-title { font-size: 16px; font-weight: 500; }
.trust-text { font-size: 14px; line-height: 1.45; opacity: 0.7; font-weight: 400; margin-top: 2px; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.way { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px; border-radius: 24px; background: var(--white); }
.way-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.way-head .tag { font-size: 14px; padding: 4px 14px; }
.way-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.way-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.55; font-weight: 400; }
.way-steps strong { font-weight: 500; }
.way-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; margin-top: -2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(119, 45, 8, 0.18); font-size: 14px; font-weight: 400; transition: border-color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--primary); background: var(--bg); }

.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.packs { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 48px; border-radius: 28px; background: var(--warm-ivory); }
.packs-head { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.packs-head > p { max-width: 440px; opacity: 0.85; }
.packs-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.packs .option-text { color: inherit; }

.home-meet { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.meet-card { display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: 24px; background: var(--white); }
.meet-card img { flex: none; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.meet-text { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.meet-text .body-reg { opacity: 0.75; line-height: 1.5; }
.meet-text .text-link { margin-top: 4px; }
.visit-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; }
.visit-links .text-link { margin-top: 0; }

@media (max-width: 1279.98px) {
  .home-hero { gap: 40px; }
  .home-hero-row { flex-direction: column; align-items: stretch; }
  .home-hero .hero-left { max-width: none; }
  .home-hero .hero-right { display: none; }
  .home-hero .h1 { font-size: 52px; }
  .group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr; }
  .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .home-meet { grid-template-columns: 1fr; }
}
@media (max-width: 809.98px) {
  .home-hero { gap: 28px; }
  .home-hero .h1 { font-size: 36px; }
  .group-grid { grid-template-columns: 1fr; gap: 8px; }
  .group-card { padding: 12px 40px 12px 12px; }
  .group-icon { width: 42px; height: 42px; }
  .group-icon svg { width: 22px; height: 22px; }
  .trust { padding-top: 20px; }
  .trust-row { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .way { padding: 28px 20px; }
  .packs { padding: 28px 20px; }
  .packs-grid { grid-template-columns: 1fr; }
  .meet-card { padding: 20px; gap: 16px; align-items: flex-start; }
  .meet-card img { width: 80px; height: 80px; }
}

/* opening times (footer, home, About, Contact) */
.hours-block { display: flex; flex-direction: column; gap: 6px; }
.open-status { font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9a8f86; }
.open-status.is-open { color: #2f6b2f; }
.open-status.is-open::before { background: #3c8a3c; }
.hours-list { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 20px; font-size: 15px; font-weight: 400; }
.hours-list div { display: contents; }
.hours-list dt { opacity: 0.7; }
.hours-list dd { margin: 0; }
.info-item .hours-list, .visit-card .hours-list { font-size: 17px; }

/* home: Online / In clinic tabs (phones only, see the phone block at the end) */
.ways-tabs { display: none; }
@media (max-width: 809.98px) {
  .js .ways-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--white); align-self: flex-start; }
  .ways-tab { border: 0; padding: 10px 22px; border-radius: 999px; background: none; font-size: 16px; cursor: pointer; }
  .ways-tab[aria-selected="true"] { background: var(--primary); color: var(--white); }
  .js .ways[data-show="online"] .way-clinic, .js .ways[data-show="clinic"] .way-online { display: none; }
  .js .way-head .tag { display: none; }
}

/* home hero: booking buttons and shortcuts */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 80px;
  font-size: 16px; font-weight: 500; white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-pill.primary { background: var(--primary); color: var(--white); border: 1.5px solid var(--primary); }
.btn-pill.primary:hover { background: var(--black); border-color: var(--black); }
.btn-pill.outline { border: 1.5px solid var(--primary); color: var(--primary); background: var(--white); }
.btn-pill.outline:hover { background: var(--warm-ivory); }
.btn-pill .short { display: none; }
.shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -8px; }
.shortcuts-label { font-size: 14px; opacity: 0.6; margin-right: 2px; }
.packs-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* travel packs page */
.pack-grid { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pack-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; background: var(--white); border-radius: 20px; border: 1px solid rgba(119, 45, 8, 0.1); scroll-margin-top: 110px; }
.pack-card .btn-main { margin-top: auto; }
.pack-note { padding: 10px 14px; border-radius: 12px; background: var(--light-yellow); }
.pack-links { opacity: 0.85; margin-bottom: 8px; }

@media (max-width: 809.98px) {
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .btn-pill { height: 48px; padding: 0 10px; font-size: 15px; }
  .btn-pill .long { display: none; }
  .btn-pill .short { display: inline; }
  .shortcuts { margin-top: -4px; gap: 6px; }
  .shortcuts .chip { font-size: 13px; padding: 5px 11px; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack-card { padding: 22px 20px; }
  .steps.pack-steps { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .steps.pack-steps .step { padding: 18px 20px; }
}

/* ======================================================================
   Phones (up to 809px), Nov 2026: the home page laid out for small screens,
   with a slimmer header, compact footer and FAQ on every page.
   Desktop and tablet are unaffected. Same colours, font and rounded cards.
   ====================================================================== */
.hero-intro .short, .way-steps .short { display: none; }
@media (min-width: 810px) { .phone-only { display: none !important; } }
@media (max-width: 809.98px) {
  .wide-only { display: none !important; }
  .hero-intro .long, .way-steps .long { display: none; }
  .hero-intro .short, .way-steps .short { display: inline; }

  /* header: slimmer pill; content and jump links start below it */
  html { scroll-padding-top: 80px; }
  .page { padding-top: 72px; }
  .nav { top: 8px; width: calc(100% - 16px); }
  .nav-bar { padding: 10px 12px 10px 16px; border-radius: 16px; }
  .nav-logo { width: 150px; height: 28px; }
  .nav-toggle, .nav-toggle svg { width: 26px; height: 26px; }

  /* type */
  .home .h2 { font-size: 30px; line-height: 1.15; }
  .home .body-reg { font-size: 16px; line-height: 1.5; }
  .home .body2 { font-size: 17px; line-height: 1.5; }
  .home .eyebrow { font-size: 15px; }
  .home .section-head, .home .title-block { gap: 6px; }

  /* spacing: one rhythm between sections */
  .home .section { padding-top: 0 !important; padding-bottom: 64px; }
  .home #groups-phone { padding-top: 28px !important; padding-bottom: 28px; }
  .home .trust { padding: 0 var(--side) 64px; }
  .home .stack-60 { gap: 20px !important; }

  /* hero */
  .home .hero { padding: 8px var(--side) 0; }
  .home-hero { padding: 26px 20px 26px; gap: 0; border-radius: 20px; }
  .home-hero .hero-left { gap: 0; }
  .home-hero .hero-top { gap: 16px; }
  .home-hero .eyebrow { font-size: 14px; }
  .home-hero .h1 { font-size: 36px; line-height: 1.05; }
  .home-hero .group-grid { display: none; }
  .home-hero .hero-right { display: none; }
  .shortcuts-label { display: none; }
  .hero-ctas { grid-template-columns: 1fr; gap: 10px; margin-top: 4px; }
  .btn-pill { height: 50px; font-size: 16px; }
  .home-search input { height: 50px; }
  .shortcuts { margin-top: 0; }
  .shortcuts { gap: 6px; }
  .shortcuts .chip { font-size: 13px; padding: 5px 10px; background: var(--white); }

  /* "What can we help with?" */
  .group-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .group-list .group-card { padding: 10px 12px; gap: 10px; background: var(--white); border-radius: 14px; }
  .group-list .group-icon { width: 32px; height: 32px; background: var(--warm-ivory); }
  .group-list .group-icon svg { width: 18px; height: 18px; }
  .group-list .group-name { font-size: 15px; line-height: 1.25; }

  /* trust: three rows, the rest behind "Why choose NoviClinic?" */
  .trust-row { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 14px; border-radius: 18px; }
  .trust-item svg { width: 24px; height: 24px; }
  .trust-title { font-size: 16px; }
  .trust-text { font-size: 14px; }
  .trust-item.trust-more { display: none; }
  .trust-extra { border-top: 1px solid rgba(119, 45, 8, 0.12); padding-top: 10px; }
  .trust-extra summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; color: var(--primary); }
  .trust-extra summary::-webkit-details-marker { display: none; }
  .trust-extra summary svg { width: 18px; height: 18px; fill: currentColor; }
  .trust-extra .i-minus, .trust-extra[open] .i-plus { display: none; }
  .trust-extra[open] .i-minus { display: block; }
  .trust-extra .trust-item { margin-top: 14px; }

  /* two ways */
  .way { padding: 22px 20px; border-radius: 18px; gap: 18px; }
  .way-head { gap: 4px; }
  .way-head .h3 { font-size: 22px; line-height: 1.3; }
  .way-head p { display: none; }
  .way-steps { gap: 12px; }
  .way-steps li { font-size: 16px; line-height: 1.45; align-items: center; }
  .way-num { width: 26px; height: 26px; font-size: 14px; margin-top: 0; }
  .way-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--primary); }
  .way-link svg { width: 16px; height: 16px; fill: currentColor; }

  /* popular services as rows */
  .section-head-row > .text-link { display: none; }
  .svc-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .svc-rows a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border-radius: 14px; border: 1px solid rgba(119, 45, 8, 0.08); }
  .svc-row-name { flex: 1; font-size: 16px; }
  .svc-row-price { font-size: 15px; color: var(--primary); white-space: nowrap; }
  .svc-rows svg { width: 16px; height: 16px; flex: none; fill: var(--primary); }

  /* travel pack: one card */
  .packs { padding: 24px 20px; border-radius: 20px; gap: 18px; }
  .packs-head { gap: 8px; }
  .packs-head > p { font-size: 15px; }
  .packs-grid { grid-template-columns: 1fr; }
  .packs .option { padding: 20px; border-radius: 16px; }
  .packs .option .h6 { font-size: 21px; }
  .packs .option-price { font-size: 26px; }
  .packs-links { flex-direction: column; gap: 10px; }
  .packs-links .text-link { font-size: 16px; }

  /* pharmacist and contact */
  .home-meet { gap: 10px; }
  .meet-card { padding: 18px; border-radius: 18px; }
  .meet-card img { width: 64px; height: 64px; }
  .meet-text .h4 { font-size: 21px; }
  .meet-text .body-reg { font-size: 15px; }
  .visit-links { gap: 6px 14px; }

  /* FAQ (every page) */
  .faq-cols, .faq-col { gap: 8px; }
  .faq { border-radius: 14px; }
  .faq summary { padding: 15px 16px; font-size: 16px; }
  .faq summary svg { width: 20px; height: 20px; }
  .faq-answer { padding: 0 16px 16px; font-size: 15px; line-height: 1.5; }

}

/* Featured travel packs on phones: swipe one full-width card at a time, dots underneath */
.pack-dots { display: none; }
@media (max-width: 999.98px) {
  .packs-grid.pack-swipe { display: flex; align-self: stretch; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; }
  .packs-grid.pack-swipe::-webkit-scrollbar { display: none; }
  .packs-grid.pack-swipe > * { flex: 0 0 100%; scroll-snap-align: start; }
  .pack-dots { display: flex; align-items: center; gap: 4px; align-self: stretch; margin-top: -6px; }
  .pack-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
  .pack-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(119, 45, 8, 0.25); transition: width 0.2s, background 0.2s; }
  .pack-dots button[aria-current="true"]::before { width: 20px; background: var(--primary); }
  .pack-dots-label { margin-left: auto; font-size: 14px; color: var(--primary); transition: opacity 0.3s; }
  .pack-dots.swiped .pack-dots-label { opacity: 0; }
}

/* ---------- footer (every page): dark brown ----------
   Brand (light logo, one line, socials) and two link groups; a contact card with the details on the left
   and the opening times on the right; then one line of small print with Privacy · Cookies · Terms. */
.footer { --f-text: #fbf6ef; --f-muted: rgba(251, 246, 239, 0.86); --f-line: rgba(249, 242, 232, 0.2);
  --f-bg: #34160a; /* deep espresso brown */
  width: 100%; display: flex; justify-content: center; padding: 72px var(--side) 36px; color: var(--f-text);
  background: var(--f-bg); border-radius: 32px 32px 0 0; }
.footer-inner { width: 100%; max-width: 1160px; display: flex; flex-direction: column; gap: 56px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.footer-brand .logo { display: block; width: 220px; height: 42px; }
.footer-brand .logo img { width: 100%; height: 100%; }
.footer-tagline { max-width: 360px; font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--f-muted); }
.footer .socials svg { fill: var(--f-text); }
.footer .socials a:hover svg { fill: #ecd3bd; }
.footer-head { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #ecd3bd; margin-bottom: 20px; }
.footer-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; font-weight: 400; }
.footer a { transition: color 0.2s, opacity 0.2s; }
.footer-group a:hover, .footer-rows a:hover, .footer-legal a:hover, .footer-legal button:hover { color: #ecd3bd; }

.footer-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 40px 44px; border-radius: 24px;
  background: rgba(249, 242, 232, 0.06); border: 1px solid var(--f-line); }
.footer-address { font-size: 18px; font-weight: 400; line-height: 1.5; margin-bottom: 18px; }
.footer-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-rows a { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 400; }
.footer-rows svg { width: 22px; height: 22px; flex: none; fill: currentColor; color: #ecd3bd; }
.footer-card-hours { padding-left: 48px; border-left: 1px solid var(--f-line); }
.footer .hours-list { font-size: 17px; gap: 6px 28px; }
.footer .hours-list dt { color: var(--f-muted); opacity: 1; }
.footer .open-status { font-size: 16px; margin-bottom: 10px; color: var(--f-text); }
.footer .open-status::before { background: rgba(243, 235, 221, 0.45); }
.footer .open-status.is-open { color: #a9dca9; }
.footer .open-status.is-open::before { background: #7ccc7c; box-shadow: 0 0 0 4px rgba(124, 204, 124, 0.18); }

.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px 40px; padding-top: 24px; border-top: 1px solid var(--f-line); }
.footer-reg { font-size: 14px; font-weight: 400; line-height: 1.6; color: var(--f-muted); }
.footer-reg span { white-space: nowrap; } /* wrap between the parts, never inside one */
.footer-legal { display: flex; gap: 28px; font-size: 15px; font-weight: 400; flex: none; }
.footer-legal .cookie-settings { color: inherit; font-size: inherit; }

@media (max-width: 1279.98px) {
  .footer { padding: 60px var(--side) 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-card { padding: 32px; gap: 32px; }
  .footer-card-hours { padding-left: 32px; }
}
@media (max-width: 809.98px) {
  .footer { padding: 40px var(--side) 28px; border-radius: 24px 24px 0 0; }
  .footer-inner { gap: 32px; }
  .footer-top { gap: 28px 20px; }
  .footer-brand { gap: 12px; }
  .footer-brand .logo { width: 160px; height: 31px; }
  .footer-tagline { font-size: 15px; }
  .footer-head { font-size: 12px; margin-bottom: 14px; }
  .footer-group ul { gap: 12px; font-size: 15px; }
  .footer-card { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; border-radius: 18px; }
  .footer-card-hours { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--f-line); }
  .footer-address { font-size: 16px; margin-bottom: 14px; }
  .footer-rows a { font-size: 15px; gap: 12px; }
  .footer-rows svg { width: 20px; height: 20px; }
  .footer .hours-list { font-size: 15px; }
  .footer-bottom { flex-direction: column-reverse; gap: 14px; padding-top: 18px; }
  .footer-legal { gap: 22px; font-size: 14px; }
  .footer-reg { font-size: 13px; }
}

/* ======================================================================
   Tablets (810–1279px), Nov 2026: menu button instead of a wrapping menu, no hero photo,
   trust points in one row, two ways side by side (tabs on portrait), popular services as rows,
   travel packs in a row (swiped on portrait), pharmacist and contact side by side, FAQ in two columns.
   ====================================================================== */
.svc-rows { display: none; }
@media (max-width: 1099.98px) {
  .nav-toggle { display: block; }
  .nav-bar { flex-wrap: wrap; }
  .nav-menu, .nav-bar > .btn-small { display: none; }
  .nav.open .nav-menu { display: flex; flex-direction: column; gap: 26px; width: 100%; padding: 18px 0 6px; }
  .nav.open .nav-bar > .btn-small { display: inline-flex; margin: 0 auto 8px; }
  .nav.open .i-open { display: none; }
  .nav.open .i-close { display: block; }
}
@media (min-width: 810px) and (max-width: 1279.98px) {
  .home .section { padding-top: 64px; padding-bottom: 64px; }
  .home-hero .h1 { font-size: 48px; }

  .trust-row { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 20px; }
  .trust-item { flex-direction: column; gap: 8px; }
  .trust-item svg { width: 26px; height: 26px; }
  .trust-title { font-size: 15px; }
  .trust-text { font-size: 13px; }

  .ways { grid-template-columns: 1fr 1fr; gap: 16px; }
  .way { padding: 28px 24px; gap: 20px; }
  .way-head .h3 { font-size: 24px; }
  .way-steps li { font-size: 15px; }

  #services-section .tile-grid { display: none; }
  .svc-rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-rows a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--white); border-radius: 14px; border: 1px solid rgba(119, 45, 8, 0.08); }
  .svc-row-name { flex: 1; font-size: 16px; }
  .svc-row-price { font-size: 15px; color: var(--primary); white-space: nowrap; }
  .svc-rows svg { width: 16px; height: 16px; flex: none; fill: var(--primary); }

  .packs { padding: 36px 32px; }
  .packs-head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .home-meet { grid-template-columns: 1fr 1fr; gap: 16px; }
  .meet-card { padding: 22px; gap: 18px; align-items: flex-start; }
  .meet-card img { width: 80px; height: 80px; }
  .meet-text .h4 { font-size: 20px; }

  .faq-cols { grid-template-columns: 1fr 1fr; gap: 12px; }
  .faq-col { gap: 12px; }
  .faq summary { padding: 18px 20px; }

  .footer-card { grid-template-columns: 1fr 1fr; }
}
/* landscape tablets: the three packs side by side */
@media (min-width: 1000px) and (max-width: 1279.98px) {
  .packs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* portrait tablets: Online / In clinic tabs, as on phones */
@media (min-width: 810px) and (max-width: 899.98px) {
  .js .ways-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--white); align-self: flex-start; }
  .ways-tab { border: 0; padding: 10px 22px; border-radius: 999px; background: none; font-size: 16px; cursor: pointer; }
  .ways-tab[aria-selected="true"] { background: var(--primary); color: var(--white); }
  .js .ways { grid-template-columns: 1fr; }
  .js .ways[data-show="online"] .way-clinic, .js .ways[data-show="clinic"] .way-online { display: none; }
  .js .way-head .tag { display: none; }
}
/* phones: three popular rows only */
@media (max-width: 809.98px) { .svc-rows { display: flex; } .svc-rows .row-extra { display: none; } }
