@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/rubik-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/comfortaa-cyrillic-300-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/comfortaa-latin-300-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #000000;
  --ink-soft: #262626;
  --paper: #f8f8f8;
  --white: #ffffff;
  --red: #e7202e;
  --red-dark: #c91f24;
  --pink: #f2eae7;
  --yellow: #ffd400;
  --mint: #d2e4c7;
  --blue: #cee4ee;
  --violet: #8ab7cb;
  --line: rgba(0, 0, 0, 0.14);
  /* Accessible semantic color roles. */
  --text-primary: #171717;
  --text-secondary: #4f4f4f;
  --text-muted: #666666;
  --text-subtle: #6f6f6f;
  --brand-text: #c91f24;
  --brand-active: #a9181e;
  --border-subtle: #d6d6d6;
  --border-control: #767676;
  --focus: #0b66d6;
  --error: #b42318;
  --error-bg: #fff1f0;
  --success: #146c43;
  --success-bg: #ecfdf3;
  --disabled-bg: #e4e4e4;
  --disabled-text: #5f5f5f;
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.09);
  --font: "Comfortaa", Arial, sans-serif;

  /* Central type scale: one restrained hierarchy for every page. */
  --font-xs: 0.8125rem;
  --font-sm: 0.875rem;
  --font-ui: 0.9375rem;
  --font-body: 1rem;
  --font-lead: clamp(1.0625rem, 1.04rem + 0.1vw, 1.125rem);
  --font-h4: clamp(1.125rem, 1.08rem + 0.18vw, 1.25rem);
  --font-h3: clamp(1.375rem, 1.28rem + 0.36vw, 1.625rem);
  --font-h2: clamp(1.75rem, 1.55rem + 0.85vw, 2.375rem);
  --font-h1: clamp(2.125rem, 1.65rem + 1.7vw, 3rem);
  --font-feature-card-title: clamp(1.5rem, 1.3rem + 0.75vw, 2rem);
  --font-stat: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);

  --line-height-title: 1.08;
  --line-height-heading: 1.15;
  --line-height-body: 1.6;
  --line-height-ui: 1.2;

  /* Backward-compatible aliases used by existing components. */
  --type-display: var(--font-h1);
  --type-section: var(--font-h2);
  --type-subsection: var(--font-h3);
  --type-card: var(--font-feature-card-title);
  --type-lead: var(--font-lead);
  --type-body: var(--font-body);
  --type-small: var(--font-ui);
  --type-nav: var(--font-ui);
  --type-button: var(--font-ui);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font); font-size: 100%; }
body { margin: 0; color: var(--text-primary); background: var(--paper); font-family: inherit; font-size:var(--font-body); line-height:var(--line-height-body); font-weight: 500; -webkit-font-smoothing: antialiased; }
body.modal-open, body.mobile-menu-open { overflow: hidden; }
.hp-field { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }
.container { width: min(1400px, calc(100% - 48px)); margin-inline: auto; }

.emergency-bar { display: none; background: var(--red); color: #fff; font-size: 14px; }
.emergency-bar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.emergency-bar a { color: #fff; font-weight: 700; }
.status-dot { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #67e0a3; box-shadow: 0 0 0 4px rgba(103,224,163,.13); }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.95); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(0,0,0,.08); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand__mark { width: 214px; height: 67px; display: block; overflow: visible; background: transparent; border-radius: 0; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand__text { display: none; }
.brand__text b { font-size: 25px; letter-spacing: -.025em; font-weight: 900; }
.brand__text small { margin-top: 5px; font-size: 9px; letter-spacing: .05em; text-transform: uppercase; color: rgba(0,0,0,.58); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: var(--type-nav); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--red); transition: .25s; }
.main-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-socials { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,.09);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,17,17,.055);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.header-social:hover { transform: translateY(-2px); border-color: rgba(17,17,17,.18); box-shadow: 0 11px 28px rgba(17,17,17,.1); }
.header-social:active { transform: translateY(0); background: #ededed; }
.header-social:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.header-social img { width: 23px; height: 23px; object-fit: contain; }
.header-social[href*="max.ru"] img { width: 25px; height: 25px; }
.header-phone { display: grid; text-align: right; }
.header-phone small { color: var(--text-subtle); font-size: 10px; }
.header-phone b { margin-top: 3px; font-size: 15px; white-space: nowrap; }
.menu-toggle, .mobile-nav { display: none; }

.button { border: 0; cursor: pointer; border-radius: 999px; min-height: 48px; padding: 0 25px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: var(--type-button); text-transform: uppercase; letter-spacing: -.01em; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--red); box-shadow: 0 10px 30px rgba(231,32,46,.2); }
.button--primary:hover { background: var(--red-dark); }
.button--primary:active { background: var(--brand-active); transform: translateY(0); }
.button--dark { color: #fff; background: var(--ink); }
.button--dark:active { background: #262626; transform: translateY(0); }
.button--light { color: var(--ink); background: #fff; }
.button--light:active { background: #ededed; transform: translateY(0); }
.button--ghost { background: rgba(255,255,255,.92); border: 1px solid var(--border-control); }
.button--outline { background: transparent; border: 1px solid var(--ink); }
.button--outline:active, .button--ghost:active { background: #ededed; transform: translateY(0); }
.button--large { min-height: 58px; padding: 0 30px; }

.hero { min-height: 730px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 28px; padding-block: 28px 34px; }
.hero__content, .hero__visual { min-width: 0; border-radius: var(--radius-xl); overflow: hidden; }
.hero__content { position: relative; padding: clamp(48px,4.5vw,76px); display: flex; flex-direction: column; justify-content: center; background: #fff; }
.hero__content::before { content: ""; position: absolute; width: 270px; height: 270px; right: -100px; top: -90px; border: 1px solid rgba(231,32,46,.18); border-radius: 50%; box-shadow: 0 0 0 38px rgba(231,32,46,.035),0 0 0 78px rgba(231,32,46,.025); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; color: rgba(0,0,0,.62); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { padding: 7px 11px; color: #fff; background: var(--ink); border-radius: 999px; }
.kicker { color: var(--brand-text); }
.kicker--light { color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 900; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; }
h1 { max-width: 100%; margin-bottom: 26px; font-size: var(--type-display); line-height: .96; letter-spacing: -.045em; font-weight: 900; }
h1 em, h2 em { color: var(--red); font-family: inherit; font-style: normal; font-weight: 900; letter-spacing: -.055em; }
.hero__lead { max-width: 650px; margin-bottom: 34px; color: rgba(0,0,0,.68); font-size: var(--type-lead); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.hero__facts div { display: grid; gap: 4px; }
.hero__facts b { font-size: 24px; }
.hero__facts span { color: rgba(0,0,0,.54); font-size: 14px; }
.hero__visual { position: relative; min-height: 620px; padding: 14px; background: var(--red); }
.hero__visual img { height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 24px; }
.hero__visual::after { content: ""; position: absolute; inset: 14px; border-radius: 24px; background: linear-gradient(180deg,transparent 60%,rgba(0,0,0,.58)); }
.hero__visual-label { position: absolute; top: 34px; left: 38px; right: 38px; z-index: 2; display: flex; justify-content: space-between; color: rgba(0,0,0,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero__badge { position: absolute; left: 40px; bottom: 38px; z-index: 2; color: #fff; display: grid; }
.hero__badge b { font-size: 32px; letter-spacing: .04em; }
.hero__badge span { font-size: 12px; opacity: .8; }
.hero__mobile-overline, .hero__availability, .hero__mobile-actions, .mobile-action-bar { display: none; }

.quick-contact { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; margin-bottom: 110px; }
.quick-contact__urgent, .quick-contact__note { border-radius: var(--radius-lg); padding: 30px; }
.quick-contact__urgent { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; color: #fff; background: var(--red); }
.quick-contact__icon { width: 66px; height: 66px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; font-weight: 850; font-size: 22px; }
.quick-contact__urgent h2 { margin: 3px 0 6px; font-size: 29px; letter-spacing: -.03em; }
.quick-contact__urgent p { margin: 0; color: #fff; opacity: 1; }
.quick-contact__urgent .label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.quick-contact__actions { display: grid; justify-items: end; gap: 10px; font-size: 12px; font-weight: 700; }
.quick-contact__note { background: var(--yellow); display: grid; align-content: center; }
.quick-contact__note span { font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.quick-contact__note p { margin: 10px 0 0; line-height: 1.5; }

.section { padding-block: 80px 110px; }
.section-heading { margin-bottom: 50px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: end; }
.section-heading h2, .about h2, .care-feature h2, .pharmacy h2, .final-cta h2 { margin: 12px 0 0; font-size: var(--type-section); line-height: 1; letter-spacing: -.045em; font-weight: 900; }
.section-heading > p { max-width: 520px; margin: 0 0 8px; color: rgba(0,0,0,.62); font-size:var(--type-body); line-height: 1.55; }
.section-footer { padding-top: 32px; display: flex; justify-content: center; flex-wrap:wrap; gap:10px; }

.service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.service-card { position:relative; min-height:0; aspect-ratio:4/5; overflow:hidden; border-radius:var(--radius-lg); isolation:isolate; color:#171717; transition:transform .25s,box-shadow .25s; }
.service-card__copy { position:absolute; z-index:3; top:0; left:0; max-width:calc(100% - 28px); padding:27px 0 0 28px; }
.service-card h3 { max-width:310px; margin:0; font-size:clamp(22px,1.9vw,28px); line-height:1.04; letter-spacing:-.035em; }
.service-card a[href="/services/gastroenterologiya/"] h3 { font-size:19px; }
.service-card__link { position:absolute; z-index:2; inset:0; display:block; color:inherit; border-radius:inherit; cursor:pointer; }
.service-card__link:focus-visible { outline:3px solid var(--focus); outline-offset:-4px; }
.service-card__media { position:absolute; z-index:1; inset:0; overflow:hidden; pointer-events:none; background:inherit; }
.service-card__media::after { content:""; position:absolute; z-index:2; inset:0; background:inherit; opacity:.05; pointer-events:none; }
.service-card__pet { position:absolute; z-index:1; left:50%; bottom:-1%; width:auto; max-width:none; height:86%; object-fit:contain; mix-blend-mode:normal; filter:none; transform:translateX(-50%) scale(1); transform-origin:center bottom; transition:transform .4s cubic-bezier(.2,.7,.2,1); }
.circle-button { width:46px; height:46px; padding:0; display:grid; place-items:center; border-radius:50%; border:0; background:rgba(255,255,255,.86); font-size:20px; cursor:pointer; }
.circle-button { margin-left:auto; }
.service-card--pink { background:#e7a0aa; }
.service-card--yellow { background:#ffc82e; }
.service-card--mint { background:#b8d7bf; }
.service-card--blue { background:#9bcbd9; }
.service-card--violet { background:#c8b8dc; }
.service-card--white { background:#ebe8df; }
.service-card--photo { background:#fff; box-shadow:0 12px 32px rgba(28,28,32,.045); }
.service-card--photo::after {
  content:"";
  position:absolute;
  z-index:5;
  inset:0;
  padding:1.5px;
  border-radius:inherit;
  background:linear-gradient(135deg,#c9cdd0 4%,#e7dbdd 54%,#e7202e 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  pointer-events:none;
}
.service-card--photo .service-card__copy { max-width:calc(100% - 74px); }
.service-card--photo .service-card__media { inset:1.5px; background:#fff; }
.service-card--photo .service-card__media::after { display:none; }
.service-card--photo .service-card__pet {
  left:0;
  bottom:0;
  width:100%;
  height:84%;
  object-fit:contain;
  object-position:center bottom;
  transform:scale(1);
  transform-origin:center bottom;
}
.service-card__icon {
  position:absolute;
  z-index:4;
  top:16px;
  right:16px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid rgba(231,32,46,.22);
  border-radius:50%;
  background:rgba(255,255,255,.92);
  box-shadow:0 5px 18px rgba(44,24,27,.06);
  pointer-events:none;
  transition:transform .35s ease,background-color .35s ease;
}
.service-card__icon svg { display:block; width:29px; height:29px; }

.about-shell { margin-inline: 18px; border-radius: 44px; color: #fff; background: var(--ink); overflow: hidden; }
.about { min-height: 900px; padding-block: 100px; display: grid; grid-template-columns: .85fr 1.15fr; grid-template-rows: 1fr auto; gap: 32px 60px; }
.about__intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.about__intro p { max-width: 560px; margin: 32px 0; color: rgba(255,255,255,.68); font-size:var(--type-body); line-height: 1.6; }
.about__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 580px; }
.about__media img { height: 100%; object-fit: cover; }
.about__quote { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 22px; border-radius: 18px; color: var(--ink); background: rgba(255,255,255,.86); backdrop-filter: blur(14px); font-size: 18px; line-height:1.45; font-weight: 650; }
.about__facts { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.16); }
.about__facts div { padding: 30px 30px 0 0; display: grid; gap: 7px; }
.about__facts b { font-size: 30px; }.about__facts span { color: rgba(255,255,255,.48); font-size: 12px; }

.team-filters { margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 44px; padding: 0 18px; border: 1px solid var(--border-control); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; }
.filter-button.is-active { color: #fff; background: var(--ink); border-color: var(--ink); }
.team-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.team-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; transition: transform .25s, box-shadow .25s; }
.team-card__image { position: relative; aspect-ratio: 1; display:block; overflow: hidden; background: #ededed; }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--portrait-position, center center); }
.team-card__fallback { height: 100%; display: grid; place-items: center; color: #fff; background: var(--red); font-size: var(--font-h1); font-weight: 800; }
.team-card__tag { position: absolute; left: 14px; top: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: 10px; font-weight: 750; }
.team-card__body { min-height: 246px; padding: 20px; flex: 1; display: flex; flex-direction: column; }
.team-card h3 { margin-bottom: 9px; font-size: 24px; line-height: 1.1; letter-spacing: -.025em; }
.team-card p { color: rgba(0,0,0,.58); font-size: 15px; line-height: 1.48; text-wrap: pretty; }
.team-card button {
  min-height: 44px;
  margin-top: auto;
  padding: 0;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--red);
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease, transform .2s ease;
}
.team-card button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.care-feature { margin-block: 20px 110px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; border-radius: var(--radius-xl); background: #fff; }
.care-feature__image { position: relative; overflow: hidden; min-height: 650px; border-radius: 26px; background: var(--blue); }
.care-feature__image img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.care-feature__image span { position: absolute; left: 22px; top: 22px; padding: 9px 12px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 750; }
.care-feature__content { padding-right: 70px; }
.care-feature__content > p { margin: 28px 0; color: rgba(0,0,0,.65); font-size:var(--type-body); line-height: 1.6; }
.check-list { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 29px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 11px; }

.clinic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.clinic-card { min-height: 470px; padding: 28px; border-radius: var(--radius-lg); background: #fff; display: flex; flex-direction: column; }
.clinic-card--main { color: #fff; background: var(--red); }
.clinic-card__top, .clinic-card__footer { display: flex; align-items: center; justify-content: space-between; }
.clinic-card__number { font-weight: 800; opacity: .48; }
.pill { padding: 8px 11px; border-radius: 999px; background: rgba(0,0,0,.07); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.pill--live { background: rgba(255,255,255,.18); }.pill--live i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; background: #7bf0af; border-radius: 50%; }
.clinic-card h3 { margin: 70px 0 8px; font-size: 38px; line-height:1.08; letter-spacing: -.04em; }
.clinic-card > p { opacity: .62; }
.clinic-card ul { padding: 22px 0 0 18px; line-height: 1.7; font-size: 15px; opacity: .72; }
.clinic-card__footer { margin-top: auto; padding-top: 24px; border-top: 1px solid currentColor; border-color: rgba(127,127,127,.22); font-size: 15px; font-weight: 750; }

.pharmacy-shell { margin-inline: 18px; border-radius: 44px; overflow: hidden; background: var(--yellow); border-top: 8px solid var(--red); }
.pharmacy { min-height: 680px; padding-block: 80px; display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.pharmacy__content > p { max-width: 700px; margin: 30px 0; font-size:var(--type-body); line-height: 1.6; }
.pharmacy__actions { display: flex; align-items: center; gap: 25px; }.pharmacy__actions span { font-size: 11px; }.pharmacy__actions b { font-size: 16px; }
.pharmacy__image { position: relative; height: 510px; overflow: hidden; border-radius: var(--radius-xl); background: #fff; }
.pharmacy__image img { height: 100%; object-fit: cover; }
.pharmacy__stamp { position: absolute; top: 22px; right: 22px; width: 98px; height: 98px; display: grid; place-items: center; text-align: center; border-radius: 50%; color: #fff; background: var(--red); font-weight: 800; transform: rotate(8deg); }

.text-link { font-weight: 750; }.article-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.article-card { min-height: 420px; padding: 26px; border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.article-card > span, .article-card div > span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.article-card h3 { margin-top: auto; font-size: 34px; line-height:1.08; letter-spacing: -.035em; }
.article-card p { color: rgba(0,0,0,.62); line-height: 1.55; font-size: 16px; }
.article-card a { margin-top: 20px; font-size: 15px; font-weight: 750; }
.article-card--large { position: relative; padding: 0; overflow: hidden; color: #fff; }
.article-card--large img { position: absolute; inset: 0; height: 100%; object-fit: cover; }.article-card--large::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.75),transparent 70%); }
.article-card--large div { position: relative; z-index: 1; margin-top: auto; padding: 28px; }.article-card--pink { background: var(--pink); }.article-card--yellow { background: var(--yellow); }

.latest-articles { margin-bottom: 70px; padding: clamp(48px, 5vw, 76px); border-radius: var(--radius-xl); background: #fff; }
.latest-articles__header { position: relative; margin-bottom: 42px; display: flex; align-items: center; justify-content: center; }
.latest-articles__header h2 { margin: 0; font-size: var(--font-h2); line-height: var(--line-height-title); letter-spacing: -.035em; }
.latest-articles__header > a { position: absolute; right: 0; min-height: 44px; display: inline-flex; align-items: center; color: var(--brand-text); font-size: 14px; font-weight: 800; }
.latest-articles__header > a:hover { color: var(--brand-active); }
.latest-articles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.latest-article-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #f0f1f4; transition: transform .25s ease, box-shadow .25s ease; }
.latest-article-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.latest-article-card__image { aspect-ratio: 4 / 3; overflow: hidden; display: block; background: #e2e3e6; }
.latest-article-card__image img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.latest-article-card__content { min-height: 210px; padding: 22px; display: flex; flex: 1; flex-direction: column; }
.latest-article-card__content time { color: var(--text-muted); font-size: 13px; font-weight: 700; }
.latest-article-card__content > strong { margin-top: 10px; font-size: clamp(19px, 1.35vw, 23px); line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.latest-article-card__tags { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.latest-article-card__tags > span { padding: 7px 10px; border-radius: 999px; background: #fff; font-size: 11px; font-weight: 700; line-height: 1; }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .service-card:hover .service-card__pet { transform: translateX(-50%) scale(1.035); }
  .service-card--photo:hover .service-card__pet { transform:scale(1.025); }
  .service-card--photo:hover .service-card__icon { transform:translateY(-3px) rotate(-8deg); background:#fff; }
  .team-card:hover, .latest-article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
  .team-card button:hover { color: var(--red-dark); transform: translateY(-1px); }
  .latest-article-card:hover .latest-article-card__image img { transform: scale(1.025); }
}

@media (max-width: 1100px) {
  .latest-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .latest-articles { margin-bottom: 40px; padding: 28px 12px 32px; border-radius: 24px; }
  .latest-articles__header { margin-bottom: 28px; align-items: flex-start; flex-direction: column; gap: 12px; }
  .latest-articles__header > a { position: static; }
  .latest-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .latest-article-card { border-radius: 18px; }
  .latest-article-card__content { min-height: 170px; padding: 12px; }
  .latest-article-card__content time { font-size: 11px; }
  .latest-article-card__content > strong { margin-top: 7px; font-size: clamp(14px, 4vw, 17px); line-height: 1.22; overflow-wrap: break-word; }
  .latest-article-card__tags { padding-top: 12px; gap: 4px; }
  .latest-article-card__tags > span { padding: 6px 8px; font-size: 11px; }
}

.final-cta { min-height: 480px; margin-bottom: 24px; padding: 70px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 50px; border-radius: var(--radius-xl); color: #fff; background: var(--red); }
.final-cta__actions { display: grid; justify-items: start; gap: 18px; }.final-cta__actions > a { font-size: 29px; font-weight: 800; }.final-cta__actions > span { color: #fff; font-size: 15px; line-height: 1.5; }

.site-footer { padding: 70px 0 24px; color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 70px; }
.brand--footer .brand__mark { width: 190px; height: 59px; border: 0; }.brand--footer .brand__text small { color: rgba(255,255,255,.48); }.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }.footer-grid p { color: rgba(255,255,255,.48); font-size: 15px; line-height: 1.6; }.footer-grid a { font-size: 15px; color: rgba(255,255,255,.72); }.footer-grid b { margin-bottom: 8px; }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.24); display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 11px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(8px); animation: fade .2s both; }
.modal__dialog { position: absolute; top: 50%; left: 50%; width: min(680px,calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; transform: translate(-50%,-50%); padding: 42px; border-radius: 30px; background: #fff; animation: pop .25s both; }
.modal__dialog h2 { margin: 10px 0 10px; font-size: 38px; letter-spacing: -.04em; }.modal__dialog > p { color: rgba(0,0,0,.6); line-height: 1.5; }.modal__close { position: absolute; right: 20px; top: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer; background: var(--paper); font-size: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal label { display: grid; gap: 8px; margin-top: 16px; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }.modal input,.modal select,.modal textarea { width: 100%; border: 1px solid var(--border-control); border-radius: 14px; background: #f8f8f8; padding: 15px 16px; outline: none; font-size: 14px; text-transform: none; letter-spacing: 0; }.modal input:focus,.modal select:focus,.modal textarea:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(11,102,214,.22); }.consent { grid-template-columns: auto 1fr; align-items: center; }.consent input { width: 18px; height: 18px; margin: 0; }.form-submit { width: 100%; margin-top: 20px; }.form-note { display: block; margin-top: 12px; color: var(--text-subtle); line-height: 1.4; }.form-success { display: none; padding: 50px 10px 20px; text-align: center; }.form-success span { width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); font-size: 30px; }.form-success h3 { font-size: 32px; }.form-success p { color: var(--text-secondary); }.form-success .button { margin-top: 15px; }
.form-note.is-error { color:var(--error); }.form-success > span { background:var(--success); }
@keyframes fade { from {opacity:0} } @keyframes pop { from {opacity:0;transform:translate(-50%,-46%) scale(.98)} }

@media (max-width: 1150px) {
  .main-nav { display:none; }.header-phone { display:none; }.header-actions { margin-left:auto; }.menu-toggle { width:46px;height:46px;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;display:grid;place-content:center;gap:5px; }.menu-toggle__icon span { width:18px;height:2px;background:var(--ink); }.mobile-nav { padding:0 24px 24px; flex-direction:column; gap:18px; font-weight:700; }.site-header.is-menu-open .mobile-nav { display:flex; }.hero { grid-template-columns:1fr 1fr; }.hero__content { padding:48px; }.service-grid { grid-template-columns:repeat(3,1fr); }.team-grid { grid-template-columns:repeat(3,1fr); }.care-feature { gap:35px; }.care-feature__content { padding-right:25px; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero { min-height:0; grid-template-columns:1fr; }
  .hero__visual { min-height:520px; }
}

@media (max-width: 820px) {
  .container { width:min(100% - 28px,700px); }.emergency-bar__inner { min-height:46px; justify-content:center; text-align:center; }.emergency-bar__inner > span { display:none; }.site-header__inner { min-height:74px; gap:12px; }.brand__mark { width:166px;height:52px; }.brand__text b { font-size:21px; }.brand__text small { font-size:7px; }.header-actions .button { display:none; }
  .hero { min-height:0; grid-template-columns:1fr; padding-top:14px; }.hero__content { padding:40px 24px; order:2; }.hero__visual { min-height:440px; order:1; }.hero__facts { margin-top:36px; grid-template-columns:repeat(3,1fr); }.hero__facts b { font-size:20px; } h1 { font-size:var(--font-h1); }.hero__lead { font-size:16px; }
  .quick-contact { grid-template-columns:1fr; margin-bottom:60px; }.quick-contact__urgent { grid-template-columns:auto 1fr; }.quick-contact__actions { grid-column:1/-1; justify-items:start; }.quick-contact__note { display:none; }
  .section { padding-block:60px 80px; }.section-heading { grid-template-columns:1fr; gap:20px; margin-bottom:34px; }.section-heading h2,.about h2,.care-feature h2,.pharmacy h2,.final-cta h2 { font-size:48px; }.service-grid { grid-template-columns:1fr 1fr; }.service-card { min-height:0; }
  .about-shell,.pharmacy-shell { margin-inline:8px;border-radius:30px; }.about { min-height:0;padding-block:70px;grid-template-columns:1fr; }.about__media { min-height:520px; }.about__facts { grid-template-columns:1fr 1fr; }.team-grid { grid-template-columns:1fr 1fr; }.team-card__body { min-height:145px; }.care-feature { grid-template-columns:1fr;padding:14px 14px 50px; }.care-feature__image { min-height:500px; }.care-feature__content { padding:10px 20px; }.clinic-grid { grid-template-columns:1fr; }.clinic-card { min-height:390px; }.clinic-card h3 { margin-top:45px; }.pharmacy { min-height:0;padding-block:70px;grid-template-columns:1fr; }.pharmacy__image { height:430px; }.article-grid { grid-template-columns:1fr 1fr; }.article-card--large { grid-column:1/-1; }.final-cta { min-height:0;padding:50px 30px;grid-template-columns:1fr; }.footer-grid { grid-template-columns:1fr 1fr; }.footer-bottom { flex-wrap:wrap;gap:12px; }
}

@media (max-width: 540px) {
  .container { width:calc(100% - 20px); }.hero__visual { min-height:360px;border-radius:26px; }.hero__content { border-radius:26px; }.hero__visual-label { display:none; }.hero__badge { left:30px;bottom:30px; } h1 { font-size:40px; }.hero__actions { display:grid; }.button--large { width:100%; }.hero__facts { grid-template-columns:1fr 1fr; }.hero__facts div:last-child { display:none; }
  .quick-contact__urgent { padding:22px; }.quick-contact__icon { width:52px;height:52px; }.quick-contact__urgent h2 { font-size:23px; }.section-heading h2,.about h2,.care-feature h2,.pharmacy h2,.final-cta h2 { font-size:40px; }
  .service-grid,.team-grid,.article-grid { grid-template-columns:1fr; }.service-card { min-height:0;border-radius:22px; }.service-card__copy { padding:23px 0 0 22px; }.team-card__body { min-height:130px; }.about { padding-inline:10px; }.about__media { min-height:430px; }.about__facts { grid-template-columns:1fr; }.about__facts div { padding-top:22px; }.care-feature__image { min-height:380px; }.pharmacy__image { height:350px; }.article-card--large { grid-column:auto; }.pharmacy__actions { align-items:flex-start;flex-direction:column; }.footer-grid { grid-template-columns:1fr;gap:36px; }.footer-bottom { flex-direction:column; }.form-row { grid-template-columns:1fr; }.modal__dialog { padding:32px 20px; }.modal__dialog h2 { font-size:31px; }
}

/* Валидация формы, альтернативный контакт и спиннер */
@media (max-width: 540px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .service-card { border-radius: 18px; }
  .service-card__copy { max-width: 100%; padding: 16px 12px 0; }
  .service-card__pet { height: 78%; }
  .service-card--photo .service-card__copy { max-width:calc(100% - 46px); }
  html[data-concept] .service-grid .service-card a[href="/services/gastroenterologiya/"] h3,
  .service-card a[href="/services/gastroenterologiya/"] h3 { font-size:clamp(12px,3.85vw,15px); overflow-wrap:normal; hyphens:manual; }
  .service-card--photo .service-card__pet { height:76%; }
  .service-card__icon { top:9px; right:9px; width:34px; height:34px; }
  .service-card__icon svg { width:20px; height:20px; }
  .team-card { border-radius: 18px; }
  .team-card__body { padding: 14px 12px 12px; }
  .team-card__tag { top: 8px; left: 8px; padding: 5px 7px; font-size: 9px; }
  .team-grid .team-card h3 { font-size: clamp(14px, 3.9vw, 17px); line-height: 1.18; hyphens: none; overflow-wrap: break-word; }
  .team-grid .team-card p { font-size: clamp(12px, 3.3vw, 13px); line-height: 1.4; }
  .team-grid .team-card button { font-size: 13px; }
  html[data-concept] .service-grid .service-card h3 {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.1;
    hyphens: auto;
  }
}

.field-error { color: var(--error); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.modal input.has-error, .modal select.has-error { border-color: var(--error); background: var(--error-bg); box-shadow: 0 0 0 3px rgba(180,35,24,.18); }
.consent .field-error { grid-column: 1 / -1; }
.form-alt { margin-top: 14px; text-align: center; font-size: 13px; color: rgba(0,0,0,.6); }
.form-alt a { font-weight: 800; color: var(--brand-text); }
.form-submit[disabled] { color: var(--disabled-text); background: var(--disabled-bg); box-shadow: none; opacity: 1; cursor: not-allowed; transform: none; }
.form-submit[disabled]::before { content: ""; width: 14px; height: 14px; flex: 0 0 auto; border: 2px solid rgba(95,95,95,.28); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Карта филиалов */
.map-embed { margin-top: 26px; min-height: 220px; display: grid; place-items: center; border-radius: var(--radius-lg); overflow: hidden; background: var(--yellow); }
.map-embed[data-loaded] { display: block; min-height: 0; background: none; }
.map-embed iframe { width: 100%; height: 440px; border: 0; display: block; border-radius: var(--radius-lg); }

/* Как записаться — три шага */
.booking-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.booking-steps__grid article { position: relative; padding: 32px 28px; background: var(--white); border-radius: var(--radius-lg); }
.booking-steps__grid span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: 20px; }
.booking-steps__grid h3 { margin: 18px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.booking-steps__grid p { margin: 0; color: rgba(0,0,0,.6); font-size: 14px; line-height: 1.55; }
.booking-steps__actions { margin-top: 28px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Отзывы */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review-card { padding: 32px 28px; background: var(--white); border-radius: var(--radius-lg); display: grid; gap: 8px; align-content: start; }
.review-card__stars { color: var(--red); font-size: 18px; letter-spacing: 5px; }
.review-card h3 { margin: 4px 0 0; font-size: 22px; letter-spacing: -.02em; }
.review-card p { margin: 0; color: rgba(0,0,0,.6); font-size: 14px; line-height: 1.55; }
.review-card a { margin-top: 12px; font-weight: 750; font-size: 14px; color: var(--brand-text); }
.review-card--accent { background: var(--pink); }

/* Offer-first mobile hero and persistent mobile actions */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .hero {
    gap: 10px;
    padding-block: 10px 22px;
  }
  .hero__content {
    order: 1;
    min-height: 0;
    padding: 28px 22px 24px;
  }
  .hero__content::before {
    width: 210px;
    height: 210px;
    right: -120px;
    top: -120px;
  }
  .hero .eyebrow,
  .hero__lead,
  .hero__actions,
  .hero__facts {
    display: none;
  }
  .hero__mobile-overline {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 0 12px;
    color: var(--brand-text);
    font-size: 10px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: .075em;
    text-transform: uppercase;
  }
  .hero h1 {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    font-size: clamp(34px, 10.25vw, 42px);
    line-height: .94;
  }
  .hero__availability {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: rgba(0,0,0,.72);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
  }
  .hero__availability span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #168a52;
    box-shadow: 0 0 0 4px rgba(22,138,82,.11);
  }
  .hero__mobile-actions {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }
  .hero__mobile-actions .button {
    min-width: 0;
    min-height: 52px;
    padding-inline: 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  .hero__mobile-actions .button--ghost {
    background: #fff;
    border-color: rgba(0,0,0,.24);
    box-shadow: none;
  }

  .hero__visual {
    order: 2;
    min-height: 200px;
    height: 200px;
    padding: 8px;
    border-radius: 26px;
  }
  .hero__visual img {
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    border-radius: 19px;
  }
  .hero__visual::after {
    inset: 8px;
    border-radius: 19px;
    background: linear-gradient(180deg,transparent 52%,rgba(0,0,0,.56));
  }
  .hero__visual-label { display: none; }
  .hero__badge { left: 24px; bottom: 20px; }
  .hero__badge b { font-size: 23px; }
  .hero__badge span { font-size: 10px; }
  .care-feature { grid-template-columns: minmax(0,1fr); }
  .care-feature__image, .care-feature__content { min-width: 0; }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.94);
    box-shadow: 0 -12px 34px rgba(0,0,0,.1);
    backdrop-filter: blur(16px);
    transition: opacity .18s, visibility .18s, transform .18s;
  }
  .mobile-action-bar > * {
    min-width: 0;
    min-height: 48px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
  }
  .mobile-action-bar__call {
    color: #fff;
    background: var(--red);
  }
  .mobile-action-bar__booking {
    border: 1px solid rgba(0,0,0,.24);
    color: var(--ink);
    background: #fff;
  }
  body.modal-open .mobile-action-bar,
  body.mobile-menu-open .mobile-action-bar {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .modal__dialog {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - max(10px, env(safe-area-inset-top)));
    padding: 32px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 26px 26px 0 0;
    transform: none;
    overscroll-behavior: contain;
    animation-name: mobile-sheet;
  }
  .modal__close { width:44px; height:44px; }
  .modal input,.modal select,.modal textarea { min-height:48px; font-size:16px; }
}

@keyframes mobile-sheet {
  from { opacity: 0; transform: translateY(24px); }
}

@media (max-width: 340px) {
  .hero__content { padding-inline: 18px; }
  .hero__mobile-actions .button,
  .mobile-action-bar > * { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ============ Полноэкранное меню ============ */
.site-header { z-index: 90; }
.site-header.is-menu-open { backdrop-filter: none; }
.site-header__inner { position: relative; }
.main-nav { display: none; }
.header-actions { margin-left: auto; }

.menu-toggle {
  width: auto;
  min-width: 108px;
  height: 48px;
  flex: 0 0 auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border-control);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.menu-toggle__icon { width: 19px; height: 14px; position: relative; display: block; }
.menu-toggle__icon span {
  position: absolute;
  left: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .22s, transform .22s, opacity .18s;
}
.menu-toggle__icon span:first-child { top: 2px; }
.menu-toggle__icon span:last-child { top: 10px; }
.menu-toggle:hover { color: #fff; border-color: var(--red); background: var(--red); }
.menu-toggle:active { color:#fff; border-color:var(--brand-active); background:var(--brand-active); }
.menu-toggle__close-label { display: none; }
.site-header.is-menu-open .menu-toggle {
  position: fixed;
  z-index: 103;
  top: 24px;
  right: max(24px, calc((100vw - 1400px) / 2));
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}
.site-header.is-menu-open .menu-toggle__open-label { display: none; }
.site-header.is-menu-open .menu-toggle__close-label { display: inline; }
.site-header.is-menu-open .menu-toggle__icon span:first-child { top: 6px; transform: rotate(45deg); }
.site-header.is-menu-open .menu-toggle__icon span:last-child { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  z-index: 100;
  inset: 0;
  height: 100dvh;
  padding: 0;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 82%, rgba(242,11,11,.09), transparent 27rem),
    linear-gradient(135deg, #fff 0%, #fff 50%, #f7eeee 100%);
  font-family: var(--font);
  transition: opacity .24s ease, visibility .24s ease;
}
.site-header.is-menu-open .mobile-nav {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.menu-overlay {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-block: 22px 28px;
}
.menu-overlay__top {
  min-height: 58px;
  padding-right: 132px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(17,17,17,.12);
}
.menu-overlay__brand { display: inline-flex; align-items: center; gap: 14px; }
.menu-overlay__brand img { width: 214px; height: 67px; object-fit: contain; object-position: left center; }
.menu-overlay__brand span { display: grid; gap: 4px; line-height: 1; }
.menu-overlay__brand strong { font-size: 26px; font-weight: 900; letter-spacing: -.04em; }
.menu-overlay__brand small { color: rgba(17,17,17,.56); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.menu-overlay__body {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.35fr);
  gap: clamp(48px, 8vw, 132px);
  padding-top: clamp(36px, 6vh, 72px);
}
.menu-overlay__info {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.menu-overlay__eyebrow { color: var(--brand-text); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.menu-overlay__info h2 { max-width: 12ch; margin: -2px 0 0; font-size: clamp(30px, 3vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
.menu-overlay__status { max-width: 38ch; margin: -8px 0 2px; color: rgba(17,17,17,.64); font-size: 15px; line-height: 1.55; }
.menu-overlay__phone { width: fit-content; color: var(--red); font-size: clamp(23px, 2.25vw, 34px); font-weight: 850; letter-spacing: -.035em; }
.menu-overlay__phone:hover { color: var(--red-dark); }
.menu-overlay__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.menu-overlay__actions .button { min-height: 50px; }
.menu-overlay__emergency {
  width: fit-content;
  margin-top: auto;
  padding: 12px 0 4px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.menu-navigation { min-width: 0; padding-bottom: 20px; }
.menu-navigation__label { display: block; margin-bottom: 20px; color: var(--text-subtle); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.menu-navigation__list { display: grid; gap: 3px; }
.menu-navigation__link,
.menu-services__toggle {
  width: 100%;
  min-height: 56px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid rgba(17,17,17,.12);
  background: transparent;
  font-family: inherit;
  font-size: clamp(27px, 3.2vw, 48px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -.04em;
  text-align: left;
  cursor: pointer;
  transition: color .18s, padding-left .18s;
}
.menu-navigation__link::after { content: "↗"; color: rgba(17,17,17,.26); font-size: .55em; }
.menu-services__toggle::after { content: "+"; color: var(--red); font-size: .8em; font-weight: 500; transition: transform .2s; }
.menu-services__toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
.menu-navigation__link:hover,
.menu-services__toggle:hover { padding-left: 10px; color: var(--red); }
.menu-services__panel[hidden] { display: none; }
.menu-services__panel {
  padding: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 22px;
  border-bottom: 1px solid rgba(17,17,17,.12);
}
.menu-services__panel a { min-height: 36px; display: flex; align-items: center; color: rgba(17,17,17,.7); font-size: 13px; font-weight: 650; line-height: 1.25; }
.menu-services__panel a:first-child { color: var(--brand-text); font-weight: 800; }
.menu-services__panel a:hover { color: var(--brand-text); }

@media (max-width: 1040px) {
  .site-header__inner { gap: 18px; }
  .header-socials { gap: 6px; }
  .header-social { width: 36px; height: 36px; }
  .header-social img { width: 21px; height: 21px; }
  .header-social[href*="max.ru"] img { width: 23px; height: 23px; }
  .header-actions .button { display: none; }
  .menu-overlay__body { grid-template-columns: minmax(240px, .65fr) minmax(440px, 1.35fr); gap: 48px; }
  .menu-services__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header__inner { min-height: 70px; }
  .brand__mark { width: 50px; height: 38px; }
  .brand__text b { font-size: 20px; }
  .brand__text small { display: none; }
  .header-actions { margin-left: auto; }
  .header-socials { display: none; }
  .header-phone { width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid rgba(17,17,17,.18); border-radius: 50%; background: #fff; font-size: 0; }
  .header-phone::before { content: "☎"; font-family: Arial, sans-serif; font-size: 19px; line-height: 1; }
  .header-phone small, .header-phone b { display: none; }
  .menu-toggle { min-width: 92px; height: 44px; padding-inline: 14px; font-size: 11px; }
  .site-header.is-menu-open .menu-toggle { top: 14px; right: 10px; min-width: 44px; width: 44px; padding: 0; }
  .site-header.is-menu-open .menu-toggle__close-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  .menu-overlay { width: 100%; padding: 10px 18px calc(32px + env(safe-area-inset-bottom)); }
  .menu-overlay__top { min-height: 52px; padding-right: 58px; }
  .menu-overlay__brand img { width: 154px; height: 48px; }
  .menu-overlay__brand strong { font-size: 21px; }
  .menu-overlay__brand small { display: none; }
  .menu-overlay__body { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 24px; }
  .menu-navigation { order: 1; padding-bottom: 0; }
  .menu-overlay__info { order: 2; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(17,17,17,.08); }
  .menu-overlay__info h2 { max-width: none; font-size: 30px; }
  .menu-overlay__status { font-size: 14px; }
  .menu-overlay__phone { font-size: 23px; }
  .menu-overlay__actions { display: grid; grid-template-columns: 1fr; }
  .menu-overlay__emergency { margin-top: 0; }
  .menu-navigation__label { margin-bottom: 10px; }
  .menu-navigation__link,
  .menu-services__toggle { min-height: 50px; font-size: clamp(25px, 8vw, 34px); }
  .menu-services__panel { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0 16px 16px; }
  .menu-services__panel a { min-height: 42px; font-size: 14px; }
}

@media (max-width: 380px) {
  .brand__text { display: none; }
  .menu-toggle { min-width: 84px; padding-inline: 12px; }
  .menu-overlay__info { padding: 20px; }
}

/* ============ Поиск по сайту ============ */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-search {
  position: relative;
  z-index: 96;
  flex: 1 1 330px;
  min-width: 220px;
  max-width: 430px;
}
.site-search__form {
  height: 48px;
  padding: 4px 5px 4px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-control);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(17,17,17,.04);
  transition: border-color .18s, box-shadow .18s;
}
.site-search:focus-within .site-search__form {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(11,102,214,.2), 0 10px 28px rgba(17,17,17,.08);
}
.site-search__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--ink);
}
.site-search__icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 15px;
  font-weight: 650;
}
.site-search input::placeholder { color: var(--text-subtle); opacity: 1; }
.site-search input::-webkit-search-cancel-button { cursor: pointer; }
.site-search__submit {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.site-search__submit > span {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.site-search__submit > span::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
}
.site-search__submit > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.site-search__submit:hover { background: var(--red-dark); transform: translateX(1px); }
.site-search__submit:active { background: var(--brand-active); transform: translateX(0); }
.site-search__submit:focus-visible,
.site-search__option:focus-visible,
.site-search__all:focus-visible,
.search-result-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.site-search__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: min(520px, calc(100vw - 28px));
  max-height: min(68vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17,17,17,.16);
}

.site-search__dropdown[hidden],
.site-search__state[hidden],
.site-search__all[hidden] {
  display: none;
}
.site-search__state { padding: 24px 22px; color: rgba(17,17,17,.62); font-size: 14px; line-height: 1.5; }
.site-search__state--loading { display: flex; align-items: center; gap: 10px; }
.site-search__state--loading::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 2px solid rgba(224,52,55,.2);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.site-search__suggestions { display: grid; }
.site-search__option {
  min-height: 72px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(17,17,17,.08);
  background: #fff;
  transition: background .16s;
}
.site-search__option:hover,
.site-search__option.is-active { background: #fff3f3; box-shadow: inset 4px 0 var(--brand-text); }
.site-search__option-copy { min-width: 0; display: grid; gap: 4px; }
.site-search__option-copy strong { overflow: hidden; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.site-search__option-copy small { overflow: hidden; color: rgba(17,17,17,.58); font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.site-search mark,
.search-result-card mark { padding: 0; color: var(--brand-text); background: transparent; font-weight: inherit; }
.site-search__option-type { padding: 6px 8px; border-radius: 999px; color: var(--brand-text); background: rgba(224,52,55,.08); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-search__all {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-text);
  background: #fff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}
.site-search__all:hover { background: #fff3f3; }

.search-page { min-height: 65vh; padding: clamp(56px, 8vw, 110px) 0 120px; }
.search-page__hero { padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.search-page__hero h1 { margin: 12px 0 20px; font-size: clamp(44px, 7vw, 86px); }
.search-page__hero p { max-width: 760px; margin: 0; color: rgba(17,17,17,.62); font-size: clamp(16px, 2vw, 21px); line-height: 1.5; }
.search-page__content { padding-top: 46px; }
.search-page__results { display: grid; gap: 56px; }
.search-page__results[aria-busy="true"] { min-height: 180px; opacity: .62; }
.search-page__empty { padding: clamp(34px, 6vw, 64px); border-radius: var(--radius-lg); background: #fff; }
.search-page__empty h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 44px); }
.search-page__empty p { max-width: 650px; margin: 0; color: rgba(17,17,17,.62); line-height: 1.55; }
.search-result-group { display: grid; gap: 20px; }
.search-result-group__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.search-result-group__heading h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.035em; }
.search-result-group__heading span { color: var(--text-subtle); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.search-result-group__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.search-result-card {
  min-height: 150px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 22px;
  background: #fff;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.search-result-card:hover { border-color: rgba(224,52,55,.36); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(17,17,17,.07); }
.search-result-card > span:first-child { display: grid; gap: 10px; }
.search-result-card strong { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }
.search-result-card small { color: rgba(17,17,17,.58); font-size: 13px; line-height: 1.5; }
.search-result-card__arrow { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 20px; }

@media (max-width: 1180px) {
  .site-header__inner { gap: 18px; }
  .brand__mark { width: 190px; height: 60px; }
  .site-search { max-width: 370px; }
}

@media (max-width: 760px) {
  .site-header__inner { min-height: 70px; padding-block: 8px 10px; flex-wrap: wrap; column-gap: 8px; row-gap: 8px; }
  .brand__mark { width: 120px; height: 44px; }
  .header-actions { display: none; }
  .menu-toggle { margin-left: auto; }
  .site-search { order: 2; flex: 1 0 100%; min-width: 0; max-width: none; }
  .site-search__form { height: 52px; padding-left: 14px; }
  .site-search__submit { width: 44px; height: 44px; font-size: 20px; }
  .site-search__dropdown { width: 100%; max-height: calc(100dvh - 142px); border-radius: 18px; }
  .site-search__option { min-height: 68px; padding: 12px 14px; gap: 10px; }
  .site-search__option-copy strong { font-size: 14px; }
  .site-search__option-copy small { max-width: 64vw; }
  .site-search__option-type { display: none; }
  .site-header.is-menu-open .site-search { visibility: hidden; }
  .search-page { padding-top: 42px; padding-bottom: 90px; }
  .search-page__hero { padding-bottom: 32px; }
  .search-page__content { padding-top: 32px; }
  .search-page__results { gap: 42px; }
  .search-result-group__list { grid-template-columns: minmax(0,1fr); }
  .search-result-card { min-height: 132px; padding: 22px; }
}

@media (max-width: 380px) {
  .site-header__inner { column-gap: 8px; }
  .brand__mark { width: 100px; height: 38px; }
  .menu-toggle { min-width: 76px; height: 44px; padding-inline: 10px; }
  .site-search__option-copy small { max-width: 72vw; }
}

/* ============ Первый экран: сеть клиник ============ */
.hero--network {
  min-height: 0;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.38fr);
  grid-template-areas:
    "content showcase";
  align-items: stretch;
  gap: 18px;
  padding-block: 22px 48px;
}
.hero--network .hero__content {
  grid-area: content;
  min-height: 552px;
  padding: clamp(38px, 3.2vw, 48px);
  justify-content: center;
  background: #fff;
}
.hero--network .hero__content::before {
  width: 310px;
  height: 310px;
  right: -150px;
  top: -160px;
  border-color: rgba(231, 32, 46, .16);
  box-shadow: 0 0 0 42px rgba(231, 32, 46, .03), 0 0 0 84px rgba(231, 32, 46, .018);
}
.hero__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(17, 17, 17, .56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.hero__eyebrow span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(231, 32, 46, .1);
}
.hero--network h1 {
  position: relative;
  z-index: 1;
  max-width: 830px;
  margin-bottom: clamp(28px, 3vw, 42px);
  font-size: clamp(48px, 4.35vw, 68px);
  line-height: .93;
}
.hero--network h1 em { display: block; }
.hero__contact {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  display: grid;
  gap: 5px;
}
.hero__contact span {
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__contact a {
  width: fit-content;
  font-size: clamp(26px, 2.45vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.hero--network .hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
}
.hero__showcase {
  position: relative;
  grid-area: showcase;
  min-width: 0;
  min-height: 552px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 79% 13%, rgba(255, 255, 255, .98) 0 16%, rgba(255, 255, 255, .34) 16.4% 18.5%, transparent 18.9%),
    linear-gradient(145deg, #fff9f7 0%, #f6e9e5 55%, #ead7d1 100%);
}
.hero--network .hero__visual {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  background: transparent;
}
.hero--network .hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(48vw, 660px);
  height: min(48vw, 660px);
  left: 16%;
  bottom: -33%;
  border-radius: 52% 48% 22% 32%;
  background: linear-gradient(155deg, #ed3b45 0%, var(--red) 62%, #cc1e29 100%);
  opacity: .94;
}
.hero--network .hero__visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 6%;
  bottom: 14px;
  width: 64%;
  height: 40px;
  border-radius: 50%;
  background: rgba(91, 35, 35, .16);
  filter: blur(16px);
}
.hero--network .hero__visual img {
  position: absolute;
  z-index: 1;
  left: 34%;
  bottom: 0;
  width: auto;
  height: 98%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 28px rgba(71, 29, 29, .16));
}
.hero__branches {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 24px;
  width: min(330px, 42%);
  height: auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(4, max-content);
  gap: 10px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
}
.hero-branch {
  min-width: 0;
  min-height: 0;
  padding: 14px 12px 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, .07);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(36, 23, 23, .065);
  backdrop-filter: blur(8px);
}
.hero-branch--main { border-color: rgba(231, 32, 46, .16); background: #fff2f2; }
.hero-branch h2 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.hero-branch p {
  margin: 0;
  color: rgba(17, 17, 17, .58);
  font-size: 11.5px;
  line-height: 1.35;
}
.hero-branch__hours {
  min-width: 104px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 999px;
  color: #24242b;
  background: #ebecef;
  font-size: 11.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.hero-branch--main .hero-branch__hours {
  color: #fff;
  background: var(--red);
  box-shadow: 0 7px 18px rgba(231, 32, 46, .22);
}
.hero-branch__hours svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1080px) {
  .hero--network {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "content showcase";
  }
  .hero--network .hero__content,
  .hero__showcase { min-height: 520px; }
  .hero__branches { right: 12px; width: min(260px, 52%); gap: 8px; }
  .hero-branch { padding: 11px 10px 11px 13px; gap: 8px; }
  .hero-branch h2 { font-size: 13px; }
  .hero-branch p { font-size: 10px; }
  .hero-branch__hours { min-width: 86px; height: 32px; padding-inline: 8px; font-size: 10px; }
  .hero-branch__hours svg { width: 14px; height: 14px; }
  .hero--network .hero__visual img { left: 29%; }
}

@media (max-width: 820px) {
  .hero--network {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "content"
      "showcase";
    gap: 10px;
    padding-top: 12px;
  }
  .hero--network .hero__content {
    min-height: 0;
    padding: 34px 28px 30px;
    order: initial;
  }
  .hero--network h1 { font-size: clamp(42px, 8.6vw, 62px); }
  .hero__showcase {
    min-height: 0;
    overflow: visible;
    display: grid;
    gap: 10px;
    border-radius: 0;
    background: transparent;
  }
  .hero--network .hero__visual {
    position: relative;
    inset: auto;
    order: 1;
    min-height: 500px;
    height: 500px;
    border-radius: var(--radius-xl);
    background:
      radial-gradient(circle at 79% 13%, rgba(255, 255, 255, .98) 0 16%, rgba(255, 255, 255, .34) 16.4% 18.5%, transparent 18.9%),
      linear-gradient(145deg, #fff9f7 0%, #f6e9e5 55%, #ead7d1 100%);
  }
  .hero--network .hero__visual::before {
    width: 540px;
    height: 540px;
    left: auto;
    right: -20%;
    bottom: -42%;
  }
  .hero--network .hero__visual img { left: 50%; }
  .hero__branches {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 767px) {
  .hero--network {
    gap: 9px;
    padding-block: 10px 32px;
  }
  .hero--network .hero__content { padding: 22px 22px 20px; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero--network h1 {
    margin-bottom: 20px;
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: .96;
  }
  .hero__contact { margin-bottom: 14px; }
  .hero__contact a { font-size: clamp(27px, 8vw, 34px); }
  .hero--network .hero__actions { display: flex; }
  .hero--network .hero__actions .button { width: 100%; min-height: 52px; }
  .hero--network .hero__visual {
    min-height: 270px;
    height: 270px;
    border-radius: 26px;
  }
  .hero--network .hero__visual::before {
    width: 360px;
    height: 360px;
    right: -30%;
    bottom: -44%;
  }
  .hero--network .hero__visual img {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    transform: none;
  }
  .hero__branches {
    padding: 8px;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    border-radius: 24px;
  }
  .hero-branch {
    min-height: 0;
    padding: 12px 12px 12px 14px;
    align-items: center;
    border-radius: 18px;
  }
  .hero-branch h2 { margin-bottom: 4px; font-size: 14px; }
  .hero-branch p { font-size: 12px; }
  .hero-branch__hours { min-width: 76px; height: 34px; font-size: 11px; }
}

@media (max-width: 380px) {
  .hero--network .hero__content { padding-inline: 18px; }
  .hero--network h1 { font-size: 32px; }
  .hero__contact a { font-size: 26px; }
  .hero--network .hero__visual { min-height: 250px; height: 250px; }
  .hero-branch { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
}

/* Homepage promotions */
.promotions {
  padding-block: 56px 88px;
  overflow: clip;
  background: #f5f4f3;
}
.promotions__inner { position: relative; }
.promo-carousel {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;
}
.promo-carousel__viewport {
  overflow: hidden;
  border-radius: 38px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(47, 39, 41, .09);
}
.promotion-slide {
  height: 520px;
  min-height: 520px;
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
}
.promotion-slide--poster-4x5 { grid-template-columns: 416px minmax(0, 1fr); }
.promotion-slide[hidden] { display: none; }
.promotion-slide__visual {
  position: relative;
  min-width: 0;
  min-height: 520px;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f7efed;
}
.promotion-slide__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 88%, rgba(231, 32, 46, .06));
}
.promotion-slide__visual img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}
.promotion-slide__content {
  position: relative;
  min-width: 0;
  padding: clamp(36px, 3vw, 54px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #252124;
  background: linear-gradient(145deg, #f4f2f1 0%, #e9e6e5 100%);
}
.promotion-slide__content::after {
  content: "";
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: 34px;
  width: 98px;
  height: 98px;
  border: 2px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255, 255, 255, .045);
  pointer-events: none;
  display: none;
}
.promotion-slide__content > :not(.promotion-slide__decor) { position: relative; z-index: 1; }
.promotion-slide__decor {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(24px, 3vw, 42px);
  width: clamp(160px, 15vw, 190px);
  height: auto;
  transform: translateY(-50%);
  fill: none;
  stroke: rgba(231, 32, 46, .42);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 22px;
  border: 1px solid rgba(231, 32, 46, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .48);
  box-sizing: border-box;
  pointer-events: none;
}
.promotion-slide__decor--paw { stroke-width: 4; }
.promotion-slide__badge {
  min-height: 36px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(231, 32, 46, .2);
  border-radius: 999px;
  color: var(--red);
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}
.promotion-slide h3 {
  margin: 22px 0 20px;
  max-width: 10ch;
  font-size: clamp(44px, 4.7vw, 66px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.055em;
}
.promotion-slide__offer {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.promotion-slide__offer strong {
  color: var(--red);
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.06em;
}
.promotion-slide__offer span {
  color: #383235;
  font-size: clamp(17px, 1.55vw, 24px);
  font-weight: 800;
  line-height: 1.05;
}
.promotion-slide__offer--cardio { gap: 14px; }
.promotion-slide__offer--cardio > span:first-child {
  font-size: clamp(16px, 1.35vw, 20px);
  text-transform: uppercase;
}
.promotion-slide__content > p {
  max-width: 460px;
  margin: 0 0 30px;
  color: #625c5d;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
}
.promotion-slide__button {
  min-height: 54px;
  padding-inline: 24px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(231, 32, 46, .16);
}
.promotion-slide__button:hover { color: #fff; background: #ce1b2b; transform: translateY(-2px); }
.promotion-slide__button:focus-visible { outline-color: var(--red); outline-offset: 4px; }
.promo-carousel__footer {
  min-height: 72px;
  padding: 16px 4px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}
.promo-carousel__dots { display: flex; align-items: center; gap: 2px; }
.promo-carousel__dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.promo-carousel__dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d4d0d0;
  transform: translate(-50%, -50%);
  transition: width .25s ease, background-color .25s ease;
}
.promo-carousel__dot.is-active::before { width: 28px; background: var(--red); }
.promo-carousel__dot:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-radius: 50%; }
.promo-carousel__status {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.promo-carousel__controls { justify-self: end; display: flex; gap: 8px; }
.promo-carousel__control {
  width: 50px;
  height: 50px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}
.promo-carousel__control:hover { border-color: #1c1718; background: #1c1718; transform: translateY(-2px); }
.promo-carousel__control:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.promo-carousel__control:disabled { opacity: .55; cursor: default; transform: none; }
.promo-carousel__control:disabled:hover { border-color: rgba(17, 17, 17, .14); color: #1c1718; background: #fff; }
.promo-carousel__control svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.promo-carousel__control--toggle { color: #1c1718; background: #fff; }
.promo-carousel__play-icon { display: none; }
.promo-carousel__control--toggle.is-paused .promo-carousel__pause-icon { display: none; }
.promo-carousel__control--toggle.is-paused .promo-carousel__play-icon { display: block; }
.promotions__note {
  margin: -4px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .promotions { padding-block: 46px 76px; }
  .promotion-slide { height: 500px; min-height: 500px; grid-template-columns: minmax(330px, 375px) minmax(0, 1fr); }
  .promotion-slide--poster-4x5 { grid-template-columns: minmax(352px, 400px) minmax(0, 1fr); }
  .promotion-slide__visual { min-height: 500px; padding: 0; }
  .promotion-slide__visual img { height: 100%; }
  .promotion-slide__content { padding: 34px; }
  .promotion-slide__content::after { display: none; }
  .promotion-slide__decor { display: none; }
}

@media (max-width: 760px) {
  .promotions { padding-block: 30px 62px; }
  .promo-carousel__viewport { border-radius: 28px; }
  .promotion-slide { height: auto; min-height: 0; grid-template-columns: 1fr; }
  .promotion-slide--poster-4x5 { grid-template-columns: 1fr; }
  .promotion-slide__visual { min-height: 0; height: auto; aspect-ratio: 3 / 4; padding: 0; }
  .promotion-slide--poster-4x5 .promotion-slide__visual { aspect-ratio: 4 / 5; }
  .promotion-slide__visual::after { background: linear-gradient(180deg, transparent 88%, rgba(231, 32, 46, .06)); }
  .promotion-slide__visual img { width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .promotion-slide__content { min-height: 430px; padding: 34px 26px 38px; }
  .promotion-slide h3 { margin-block: 18px; max-width: none; font-size: clamp(42px, 12vw, 60px); }
  .promotion-slide__offer { margin-bottom: 18px; gap: 14px; }
  .promotion-slide__offer strong { font-size: clamp(58px, 17vw, 82px); }
  .promotion-slide__offer span { font-size: 17px; }
  .promotion-slide__content > p { margin-bottom: 26px; }
  .promotion-slide__button { width: 100%; }
  .promo-carousel__footer { min-height: 66px; padding-top: 12px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .promo-carousel__status { display: none; }
  .promo-carousel__controls { gap: 6px; }
  .promo-carousel__control { width: 48px; height: 48px; }
  .promo-carousel__dot { width: 38px; height: 44px; }
  .promotions__note { margin-top: 2px; }
}

@media (max-width: 380px) {
  .promotion-slide__visual { height: auto; padding: 0; }
  .promotion-slide__content { min-height: 408px; padding-inline: 22px; }
  .promotion-slide__badge { font-size: 10px; }
  .promotion-slide__offer strong { font-size: 58px; }
  .promotion-slide__offer span { font-size: 15px; }
  .promo-carousel__dot { width: 32px; }
  .promo-carousel__control { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-carousel__dot::before,
  .promo-carousel__control,
  .promotion-slide__button { transition: none; }
}

/* Footer — Vet.City-inspired structure adapted to the Veta brand. */
.site-footer {
  padding: clamp(58px, 6vw, 92px) 0 38px;
  color: #fff;
  background: #181925;
}
.footer-vetcity {
  min-height: 530px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(190px, .55fr) minmax(290px, .8fr);
  gap: clamp(44px, 7vw, 120px);
}
.footer-vetcity a { color: inherit; }
.footer-vetcity__about {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-vetcity__logo {
  display: inline-flex;
  width: 214px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transition: transform .2s ease;
}
.footer-vetcity__logo:hover { transform: translateY(-2px); }
.footer-vetcity__logo img { width: 100%; height: auto; display: block; }
.footer-vetcity__tagline {
  max-width: 390px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.56);
  font-size: 14px;
  line-height: 1.55;
}
.footer-vetcity__contact { margin-top: auto; padding-top: 56px; }
.footer-vetcity__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}
.footer-vetcity__phone {
  display: inline-block;
  margin-bottom: 28px;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
}
.footer-vetcity__branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 22px;
}
.footer-vetcity__branch {
  min-width: 0;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  line-height: 1.35;
}
.footer-vetcity__branch-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #e7202e;
  box-shadow: 0 0 0 4px rgba(231,32,46,.12);
}
.footer-vetcity__branch:nth-child(2) .footer-vetcity__branch-dot { background:#62d5cf; box-shadow:0 0 0 4px rgba(98,213,207,.1); }
.footer-vetcity__branch:nth-child(3) .footer-vetcity__branch-dot { background:#8a76ef; box-shadow:0 0 0 4px rgba(138,118,239,.1); }
.footer-vetcity__branch:nth-child(4) .footer-vetcity__branch-dot { background:#f2bd43; box-shadow:0 0 0 4px rgba(242,189,67,.1); }
.footer-vetcity__branch b { display:block; margin:0 0 2px; font-size:13px; }
.footer-vetcity__branch small { color:rgba(255,255,255,.72); font-size:11px; }
.footer-vetcity__hours {
  padding: 4px 7px;
  border-radius: 999px;
  color: #fff;
  background: #e7202e;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
.footer-vetcity__branch:not(:first-child) .footer-vetcity__hours { color:#181925; background:#f0f1f4; }
.footer-vetcity__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-vetcity__nav a {
  position: relative;
  font-size: clamp(20px, 1.75vw, 28px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.footer-vetcity__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.footer-vetcity__nav a:hover::after { transform: scaleX(1); }
.footer-vetcity__aside {
  min-width: 0;
  padding-top: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-vetcity__socials { display:flex; gap:12px; }
.footer-vetcity__social {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.footer-vetcity__social:hover { border-color:rgba(255,255,255,.45); box-shadow:0 14px 32px rgba(0,0,0,.3); transform:translateY(-3px); }
.footer-vetcity__social:active { background:#ededed; transform:translateY(0); }
.footer-vetcity__social img { width:28px; height:28px; object-fit:contain; }
.footer-vetcity__social[href*="max.ru"] img { width:30px; height:30px; }
.footer-vetcity__award {
  width: 100%;
  margin-top: 34px;
  padding: 18px 0 20px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-vetcity__award-mark { width:46px; height:46px; display:block; }
.footer-vetcity__award strong { display:block; font-size:19px; line-height:1.1; }
.footer-vetcity__award-rating { margin-left:7px; color:#ffd54a; white-space:nowrap; }
.footer-vetcity__award small { display:block; margin-top:5px; color:rgba(255,255,255,.7); font-size:11px; line-height:1.4; }
.footer-vetcity__legal {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  color: rgba(255,255,255,.7);
  font-size: 11px;
  line-height: 1.4;
}
.footer-vetcity__legal a { color:rgba(255,255,255,.82); text-decoration:underline; text-underline-offset:3px; }
.footer-vetcity a:focus-visible { outline:3px solid #ff6a75; outline-offset:4px; border-radius:4px; }

@media (max-width: 1060px) {
  .footer-vetcity { grid-template-columns:minmax(0, 1.25fr) minmax(190px, .75fr); min-height:0; }
  .footer-vetcity__about { grid-row:span 2; }
  .footer-vetcity__aside { padding-top:20px; }
  .footer-vetcity__legal { margin-top:44px; }
}

@media (max-width: 700px) {
  .site-footer { padding:44px 0 110px; }
  .footer-vetcity { grid-template-columns:1fr; gap:48px; }
  .footer-vetcity__about { grid-row:auto; }
  .footer-vetcity__logo { width:190px; }
  .footer-vetcity__contact { margin-top:0; padding-top:46px; }
  .footer-vetcity__phone { margin-bottom:24px; }
  .footer-vetcity__branches { grid-template-columns:1fr; }
  .footer-vetcity__nav { display:grid; grid-template-columns:1fr 1fr; gap:18px 24px; }
  .footer-vetcity__nav a { font-size:21px; }
  .footer-vetcity__aside { padding-top:0; }
  .footer-vetcity__award { max-width:380px; }
  .footer-vetcity__legal { margin-top:38px; }
}
