/* Palette taken from silkros.se */
:root {
  --blue: #2b6cf5;       /* primary buttons & accents */
  --blue-dark: #1f57d6;
  --sky: #0089f7;        /* secondary accent */
  --navy: #204289;       /* headings & body text */
  --ink: #161922;
  --muted: #5c6f84;
  --soft: #f2f6fa;       /* section background */
  --soft-2: #f7fafd;
  --line: #d5e5ee;
  --white: #ffffff;
  --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(--white);
  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 rgba(43, 108, 245, .8); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border: 2px solid var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  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(--soft) 0%, var(--soft-2) 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(--white); 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, .hero-doc {
  position: absolute; background: var(--white); 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; }
.hero-doc { right: -2%; bottom: 14%; display: flex; gap: .7rem; align-items: center; }
.hero-doc img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.hero-doc strong { display: block; color: var(--navy); font-size: .92rem; line-height: 1.2; }
.hero-doc small { font-size: .76rem; }

/* 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(--white); 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 */
.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(--white); 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; }
.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; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.feature {
  background: var(--white); 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 rgba(43, 108, 245, .9);
}
.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; }
.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(--white); 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(--white); 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(--white); 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(--white); 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(--navy); color: #c9d6ef; 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(--white); 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(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); 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; }
  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; }
  .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(--white); 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) {
  .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; }
  .hero-doc { right: 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; }
}
