/* Palette taken from silkros.se */
:root {
  --blue: #2b6cf5;       /* primary buttons & accents */
  --blue-dark: color-mix(in srgb, var(--blue) 86%, #000);
  --sky: #0089f7;        /* secondary accent */
  --navy: #204289;       /* headings & body text */
  --ink: #161922;
  --muted: #5c6f84;
  --soft: #f2f6fa;       /* section background */
  --soft-2: #f7fafd;
  --line: #d5e5ee;
  --white: #ffffff;
  /* Page colours – staff can change these on the admin page (Hemsida → Färger), see script.js */
  --header: #ffffff;     /* menu bar */
  --hero: #f2f6fa;       /* top of the start page */
  --bg: #ffffff;         /* page background */
  --surface: #ffffff;    /* cards and boxes */
  --footer: #204289;
  --footer-text: #c9d6ef;
  --footer-strong: #ffffff; /* footer brand & hovered links; follows --footer-text when staff change it */
  --star: #f5b301;
  --radius: 16px;
  --shadow: 0 18px 45px -22px rgba(32, 66, 137, .35);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--muted);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); font-weight: 700; line-height: 1.2; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.accent { color: var(--blue); }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .9em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .95em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 25px -12px color-mix(in srgb, var(--blue) 80%, transparent); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 2px solid var(--line); color: var(--navy); background: var(--surface); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--header) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(32, 66, 137, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.logo img { height: 84px; width: auto; }
.site-nav { display: flex; gap: 2.2rem; }
.site-nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--navy);
  position: relative; padding: .3em 0;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); border-radius: 2px; transition: width .25s;
}
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--hero) 0%, color-mix(in srgb, var(--hero) 50%, var(--bg)) 100%); padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: end; }
.hero-copy { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.lead { font-size: 1.1rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2rem; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-tags li {
  font-size: .82rem; font-weight: 600; padding: .45em 1.1em; border-radius: 999px;
  background: var(--surface); color: var(--navy); border: 1px solid var(--line);
}

.hero-art { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero-circle {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7fb0ff 0%, var(--blue) 55%, var(--navy) 100%);
  opacity: .95;
}
.hero-art > img { position: relative; width: 100%; }
.hero-card {
  position: absolute; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .9rem 1.2rem;
}
.hero-card {
  left: -4%; top: 22%;
  display: grid; grid-template-columns: auto auto; column-gap: .75rem; align-items: center;
}
.rating { font-size: 2.1rem; font-weight: 700; color: var(--navy); grid-row: span 2; line-height: 1; }
.stars { color: var(--star); letter-spacing: .08em; font-size: .9rem; }
.rating-label { font-size: .78rem; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-soft,
main > .section:nth-child(odd) { background: var(--soft); }
.section-head.sub-head { margin: clamp(4.5rem, 9vw, 7rem) auto 2rem; }
.sub-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.section-head { max-width: 660px; margin: 0 auto 3rem; text-align: center; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 774 / 510; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card-sub { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sky); margin-bottom: .4rem; }
.card-body > p { font-size: .95rem; }
.card-areas { border-top: 1px solid var(--line); padding-top: 1rem; margin: auto 0 0; }
.card-areas strong { color: var(--navy); }

/* Boka buttons */
/* Treatment rows (alternating text + image) */
.tx-list { display: grid; gap: 1.8rem; }
.tx-row {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5);
  overflow: hidden; scroll-margin-top: 120px;
}
.tx-row--flip .tx-media { order: -1; }
.tx-copy { padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.tx-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 0 0 .8rem; }
.tx-intro { font-size: .98rem; margin: 0 0 1.4rem; }
.tx-points { list-style: none; padding: 0 0 1.6rem; margin: 0 0 1.6rem; display: grid; gap: 1rem; border-bottom: 1px solid var(--line); }
.tx-points li { position: relative; padding-left: 2.6rem; color: var(--navy); font-size: .96rem; line-height: 1.5; }
.tx-points li::before {
  content: ""; position: absolute; left: 0; top: -.05em;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: #e9f0fe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232b6cf5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/55% no-repeat;
}
.tx-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; font-size: .95rem; color: var(--navy); }
.tx-cta a:not(.btn) { color: var(--blue); text-decoration: none; font-weight: 600; white-space: nowrap; }
.tx-cta a:not(.btn):hover { text-decoration: underline; }
.tx-media { min-height: 320px; background: var(--soft); }
.tx-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-media--collage { background: var(--surface); padding: clamp(.6rem, 1.2vw, 1rem); display: flex; align-items: center; }
.tx-media--collage img { height: auto; object-fit: contain; border-radius: 12px; }

.tx-combo { max-width: 720px; margin: clamp(4rem, 8vw, 6rem) auto 0; text-align: center; }
.tx-combo h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 1rem; }
.tx-combo p { margin: 0 0 1rem; }
.tx-combo-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
#prislista { scroll-margin-top: 120px; }

.btn-small { padding: .55em 1.25em; font-size: .85rem; background: var(--blue); color: var(--white); }
.btn-small:hover { background: var(--blue-dark); }
.site-nav .btn-nav { color: var(--white); padding: .6em 1.5em; font-size: .9rem; }
.site-nav .btn-nav::after { display: none; }
.site-nav .btn-nav:hover { color: var(--white); }

/* Price list */
.prices {
  max-width: 900px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 45px -30px rgba(32, 66, 137, .35);
  overflow: hidden;
}
.price-tabs {
  display: flex; gap: .4rem; padding: .8rem; overflow-x: auto;
  border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.price-tabs::-webkit-scrollbar { display: none; }
.price-tabs button {
  flex: none; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .55em 1.15em; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--navy); transition: background .2s, color .2s;
}
.price-tabs button:hover { background: var(--soft); }
.price-tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.price-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.price-list { list-style: none; margin: 0; padding: .4rem 1.6rem; }
.price-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--soft);
}
.price-list li:last-child { border-bottom: 0; }
.price-name { min-width: 0; overflow-wrap: anywhere; }
.price-name strong { color: var(--navy); font-weight: 600; }
.price-meta { display: block; font-size: .82rem; }
.price-meta s { opacity: .8; }
.price-desc { margin: .3rem 0 .15rem; max-width: 60ch; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.tag {
  display: inline-block; margin-left: .45rem; vertical-align: 1px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .2em .6em; border-radius: 999px; background: #e6f7ef; color: #13824f;
}
.price { font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.prices-cta { text-align: center; margin: 2.2rem 0 0; }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.2rem 2rem; margin-bottom: 2.4rem; }
.reviews-head h2 { margin: 0; }
.reviews-score { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy); }
.reviews-score small { display: block; font-size: .85rem; color: var(--muted); }
.reviews-score:hover small { color: var(--blue); text-decoration: underline; }
.reviews-num { font-size: 2.6rem; font-weight: 700; color: var(--blue); line-height: 1; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 1rem;
}
.review blockquote { margin: 0; color: var(--navy); font-size: .97rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--navy); font-size: .9rem; }
.review figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; background: #e9f0fe; color: var(--blue); font-size: .78rem; font-weight: 700;
}
/* Arrows + dots under a one-at-a-time list (reviews and price list on phones) */
.slide-nav { display: none; }
.slide-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: background .2s, opacity .2s;
}
.slide-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.slide-arrow:active { background: var(--soft); }
.slide-arrow:disabled { opacity: .35; cursor: default; }
.slide-dots { display: flex; gap: .45rem; }
.slide-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line);
  cursor: pointer; transition: width .25s ease, background .25s ease;
}
.slide-dots button[aria-current="true"] { width: 22px; background: var(--blue); }
.reviews-more { text-align: center; margin: 2rem 0 0; }
.reviews-more a { color: var(--blue); font-weight: 600; text-decoration: none; }
.reviews-more a:hover { text-decoration: underline; }

/* Features */
.why-head { margin-bottom: 3rem; }
.why-head h2 { max-width: 14ch; margin: 0; }
#patienter { scroll-margin-top: 100px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 2rem 1.8rem;
  border: 1px solid var(--line);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue); color: var(--white);
  display: grid; place-items: center; margin-bottom: 1.3rem;
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--blue) 90%, transparent);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature p { margin: 0; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-reverse { grid-template-columns: 1fr 1.15fr; }
.split-art { position: relative; }
.portrait {
  width: 100%; aspect-ratio: 900 / 1024; object-fit: cover;
  border-radius: 220px 220px var(--radius) var(--radius);
  background: var(--soft);
}
.portrait-badge {
  position: absolute; right: -10px; bottom: 2rem;
  background: var(--blue); color: var(--white);
  padding: .9rem 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow);
}
.portrait-badge strong { display: block; font-size: 1.05rem; }
.portrait-badge small { opacity: .85; }
.portrait-badge small:empty { display: none; }
.portrait-badge:has(strong:empty):has(small:empty) { display: none; } /* both texts cleared on the staff page */
.photo-wide { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
.checklist li { padding-left: 1.9rem; position: relative; font-weight: 600; color: var(--navy); font-size: .95rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/75% no-repeat;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); gap: 1.6rem; justify-content: center; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; background: var(--soft); }
.member-photo-empty { aspect-ratio: 4 / 4.4; display: grid; place-items: center; background: linear-gradient(160deg, var(--soft), var(--line)); color: var(--navy); font-size: 3rem; font-weight: 700; }
.member-body { padding: 1.2rem 1.4rem 1.5rem; }
.member-body h3 { margin-bottom: .1em; }
.member-role { color: var(--blue); font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.member-body p:last-child { margin: 0; font-size: .93rem; }

/* Patients */
.score { display: flex; align-items: center; gap: 1rem; margin: .5rem 0 1.6rem; }
.score-num { font-size: 3.6rem; font-weight: 700; color: var(--blue); line-height: 1; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; }
.pills span {
  padding: .6em 1.2em; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: var(--soft); color: var(--navy); border: 1px solid var(--line);
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 10px 30px -22px rgba(32, 66, 137, .5); }
.gallery img { width: 100%; aspect-ratio: 720 / 700; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }

/* Instagram grid */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.ig-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; transition: transform .3s, box-shadow .3s; }
.ig-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
address { font-style: normal; font-weight: 600; color: var(--navy); }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 2rem 2.2rem; border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.contact-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--blue); color: var(--white); display: grid; place-items: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-phone { font-size: 1.15rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.contact-phone:hover { color: var(--blue); }
.contact-email { white-space: normal; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.contact-actions .btn { padding: .75em 1.4em; }
.find-us { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.6rem; margin-top: 1.6rem; }
.entrance { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.entrance img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.entrance figcaption {
  position: absolute; left: .8rem; right: .8rem; bottom: .8rem;
  background: rgba(255, 255, 255, .94); color: var(--navy); font-size: .85rem; font-weight: 600;
  padding: .7rem 1rem; border-radius: 12px;
}
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; background: var(--soft); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.hours-card { background: var(--surface); border-radius: var(--radius); padding: 2rem 2.2rem; border: 1px solid var(--line); }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { text-align: left; font-weight: 500; color: var(--navy); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { color: var(--blue); font-weight: 700; }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-text); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { font-size: 1.6rem; font-weight: 700; color: var(--footer-strong); margin: 0 0 .4rem; }
.footer-tag { font-size: .9rem; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.footer-nav a { text-decoration: none; font-size: .92rem; }
.footer-nav a:hover { color: var(--footer-strong); }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--footer-text) 20%, transparent); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .price-panel { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .split, .split-reverse, .visit { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-art { max-width: 420px; }
  .cards, .features { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
  .split-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .split-reverse .split-art { order: -1; max-width: 640px; }
  .find-us { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .tx-row { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; width: 100%; }
  .tx-row .tx-media { order: -1; min-height: 0; aspect-ratio: 3 / 2; }
  .tx-row .tx-media--collage { aspect-ratio: auto; }
  .entrance { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--header); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .site-nav.open { max-height: 400px; }
  .site-nav a { padding: 1rem 16px; border-top: 1px solid var(--soft); }
  .site-nav a::after { display: none; }
  .site-nav .btn-nav { margin: .8rem 16px 1rem; text-align: center; border-top: 0; }
}
@media (max-width: 520px) {
  /* Reviews: one card at a time – swipe, or use the arrows and dots below */
  .reviews {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
    scrollbar-width: none; outline: none;
  }
  .reviews::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: center; scroll-snap-stop: always; }
  .reviews .review.reveal { opacity: 1; transform: none; } /* side-scrolled cards never "scroll into view" */
  .slide-nav:not([hidden]) { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
  .prices .slide-nav:not([hidden]) { margin: 0; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
  /* Price categories: fade the tab bar's edge while more tabs are hidden there */
  .price-tabs[data-more~="right"] { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
  .price-tabs[data-more~="left"] { -webkit-mask-image: linear-gradient(to left, #000 80%, transparent); mask-image: linear-gradient(to left, #000 80%, transparent); }
  .price-tabs[data-more~="left"][data-more~="right"] { -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent); }
  .price-panel:not([hidden]) { animation: panel-in .25s ease; }
  @keyframes panel-in { from { opacity: 0; transform: translateX(var(--panel-from, 0)); } to { opacity: 1; transform: none; } }
  .reviews:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: var(--radius); }
  .logo img { height: 64px; }
  .gallery { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .checklist { grid-template-columns: 1fr; }
  .hero-card { left: 0; }
  .portrait-badge { right: 8px; }
  .hours-card, .contact-card { padding: 1.5rem 1.3rem; }
  .price-list { padding: .2rem 1rem; }
  .price-list li { grid-template-columns: 1fr auto; gap: .4rem 1rem; }
  .price-list .btn-small { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .price-list .price { grid-column: 1; font-size: .92rem; }
}
