/* Ultrasound Dimensions — site styles (new look, Nov 2026). Plain CSS, no build step.
   Every colour, size and radius comes from the tokens below. */
:root {
  --bg: #ffffff;
  --bg-soft: #faf5f2;      /* warm off-white, taken from the clinic's own interiors */
  --ink: #18212f;
  --ink-2: #4b5563;
  --line: #e8e1dc;
  --brand: #1c5fb8;        /* the logo's blue, deepened for readable text and buttons */
  --brand-ink: #0f3f80;
  --brand-tint: #eaf2fc;
  --wa: #0b7a3e;
  --leaf: #8dc63f;         /* the logo's green, decoration only */
  --star: #b7791f;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --fs-body: 1.0625rem;    /* 17px */
  --fs-small: 0.9375rem;
  --fs-h1: clamp(2.1rem, 4.6vw, 3.4rem);
  --fs-h2: clamp(1.65rem, 3vw, 2.3rem);
  --fs-h3: 1.2rem;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(24, 33, 47, .06), 0 8px 24px rgba(24, 33, 47, .07);

  --wrap: 1180px;
  --gutter: 20px;
  --sec: clamp(56px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.18; margin: 0; color: var(--ink); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-family: var(--font-body); font-weight: 800; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top strip ---------- */
.strip { background: var(--ink); color: #c9d3e0; font-size: 0.875rem; }
.strip .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; min-height: 40px; }
.strip a { color: #fff; text-decoration: none; font-weight: 700; }
.strip a:hover { text-decoration: underline; color: #fff; }
.strip-links { display: flex; gap: 20px; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 10px 11px; border-radius: var(--r-sm); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
.nav .btn { margin-left: 10px; color: #fff; border-radius: 999px; padding: 0 20px; }
.nav .btn:hover { background: var(--brand-ink); color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #075e2f; color: #fff; }
.btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--brand-tint); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { background: var(--bg-soft); padding: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero-text { display: grid; gap: 22px; }
.hero .lead { font-size: 1.25rem; color: var(--ink-2); max-width: 32ch; }
.rating { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; width: fit-content; padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.rating:hover { color: var(--ink); border-color: var(--brand); }
.stars { color: var(--star); font-size: 1.15rem; line-height: 1; }
.hours-line { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-small); }
.hours-line svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--brand); }
.hours-line strong { color: var(--ink); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 50%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero-photo .tag { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: 12px 16px; font-size: var(--fs-small); max-width: 250px; border: 1px solid var(--line); }
.hero-photo .tag strong { display: block; color: var(--ink); }

/* ---------- sections ---------- */
section { padding: var(--sec) 0; scroll-margin-top: 80px; }
.soft { background: var(--bg-soft); }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.sec-head p { color: var(--ink-2); font-size: 1.1rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text { display: grid; gap: 18px; }
.about-text p { font-size: 1.15rem; line-height: 1.6; max-width: 62ch; }
.note { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-tint); color: var(--brand-ink); border-radius: var(--r-md); padding: 14px 16px; font-weight: 700; font-size: var(--fs-small); }
.note svg { width: 22px; height: 22px; flex: none; }
.doctors { display: grid; gap: 18px; }
.doctor { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.doctor img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.doctor h3 { margin-bottom: 2px; }
.doctor .deg { color: var(--brand); font-weight: 800; font-size: 0.9rem; margin-bottom: 8px; }
.doctor p { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.55; }

.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.services li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.services li p { color: var(--ink-2); font-size: var(--fs-small); }
.services li.more { background: var(--brand-tint); border-color: transparent; align-content: center; }
.services li.more a { font-weight: 800; text-decoration: none; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); background: var(--line); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 14px; align-content: space-between; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.review blockquote p::before { content: "“"; margin-left: -0.45em; }
.review blockquote p::after { content: "”"; }
.review figcaption { font-size: var(--fs-small); color: var(--ink-2); }
.review figcaption strong { color: var(--ink); display: block; }
.score { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.score .big { font-family: var(--font-head); font-size: 3rem; font-weight: 600; line-height: 1; }
.more-link { margin-top: 28px; }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.facts { display: grid; gap: 22px; }
.fact { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.fact svg { width: 22px; height: 22px; color: var(--brand); margin-top: 3px; }
.fact h3 { font-size: 1rem; margin-bottom: 4px; }
.fact p, .fact td { color: var(--ink-2); }
.hours { border-collapse: collapse; }
.hours td { padding: 2px 18px 2px 0; vertical-align: top; }
.hours td:first-child { color: var(--ink); font-weight: 700; }
.bring { background: var(--bg-soft); border-radius: var(--r-md); padding: 16px 18px; font-size: var(--fs-small); color: var(--ink); }

.form-card { background: var(--bg-soft); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; }
.form-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; }
.form-card > p { color: var(--ink-2); font-size: var(--fs-small); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: var(--fs-small); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #b9b1ab; border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: #b42318; font-weight: 700; font-size: var(--fs-small); }
.form-error:empty { display: none; }

.map { margin-top: 48px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- charges page ---------- */
.page-head { background: var(--bg-soft); padding: 56px 0 40px; }
.page-head .wrap { display: grid; gap: 12px; }
.page-head p { color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; }
.price-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.price-main { display: grid; gap: 40px; }
.price-block h2 { font-size: 1.6rem; margin-bottom: 14px; }
.prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prices th { text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); padding: 10px 12px; border-bottom: 2px solid var(--ink); }
.prices th:last-child, .prices td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prices tr:nth-child(even) td { background: #fcfaf8; }
.price-side { display: grid; gap: 28px; position: sticky; top: 96px; }
.notes { background: var(--bg-soft); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 10px; }
.notes ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #c9d3e0; padding: 56px 0 28px; font-size: var(--fs-small); }
.site-foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-foot h2 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 12px; font-weight: 800; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot p + p { margin-top: 8px; }
.social { display: flex; gap: 12px; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 10px 14px; border: 1px solid #3a4656; border-radius: 999px; }
.social a:hover { border-color: #fff; }
.social svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid #2c3746; margin-top: 40px; padding-top: 20px; }

/* ---------- floating call / WhatsApp (phones) ---------- */
.float-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav a { padding: 10px 8px; font-size: 0.92rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 10px; font-size: 1.02rem; }
  .nav .btn { margin: 8px 0 0; }
  .site-head .wrap { position: relative; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
  .hero-photo .tag { display: none; }
  .about, .visit, .price-grid { grid-template-columns: 1fr; gap: 32px; }
  .price-side { position: static; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .strip-links .hide-sm { display: none; }
  .strip .wrap { justify-content: center; font-size: 0.82rem; }
  .strip .hours-short { display: none; }
  .logo img { height: 38px; }
  .site-head .wrap { min-height: 62px; }
  .hero .lead { font-size: 1.12rem; }
  .btns .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .reviews { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .doctor { grid-template-columns: 72px 1fr; padding: 16px; }
  .doctor img { width: 72px; height: 72px; }
  .two { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .map iframe { height: 300px; }
  .hours, .hours tbody, .hours tr, .hours td { display: block; }
  .hours td { padding: 0; }
  .hours tr + tr { margin-top: 6px; }
  .prices td, .prices th { padding: 10px 6px; }
  body { padding-bottom: 76px; }
  .float-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(24, 33, 47, .08); }
  .float-cta .btn { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.page-head + section { padding-top: 48px; }
.strip a:focus-visible, .site-foot a:focus-visible { outline-color: #fff; }

/* ---------- revision 1 (28 Nov 2026): ratings row, team photo, review scores, videos ---------- */
.ratings { display: flex; flex-wrap: wrap; gap: 10px; }
.team { margin: 0; }
.team img { display: block; width: 100%; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow); background: var(--line); }
#contact { border-top: 1px solid var(--line); }
.scores { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scores li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-soft); border-radius: var(--r-md); padding: 16px 18px; }
.scores p { font-weight: 700; color: var(--ink); margin: 0 0 4px; font-size: var(--fs-small); line-height: 1.4; }
.scores a { font-size: var(--fs-small); font-weight: 700; }
.scores .pct { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--brand-ink); line-height: 1.1; }
.review figcaption a { font-weight: 700; }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; }
.sec-head-row > div { display: grid; gap: 12px; }
.reels { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: 300px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.reel { scroll-snap-align: start; height: 680px; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.reel > a:not(.reel-cap) { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 28px; text-align: center; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, var(--brand-tint), #fff); }
.reel > a span { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.3; }
.reel > a small { color: var(--brand); font-weight: 700; font-size: var(--fs-small); }
.reel-play { width: 56px; height: 56px; color: var(--brand); }
.reel { display: flex; flex-direction: column; }
.reel iframe { display: block; width: 100%; flex: 1; min-height: 0; border: 0; }
.reel-cap { display: block; padding: 10px 14px; font-size: var(--fs-small); font-weight: 700; text-decoration: none; border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 1024px) { .scores { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .scores { grid-template-columns: 1fr; }
  .reels { grid-auto-columns: 82%; }
  .sec-head-row .btn { width: 100%; }
}
