/* «ВетДруг 24» — бирюзовый + оранжевый */
:root {
  --bg: #ffffff;
  --surface: #ebf8f7;
  --surface-2: #d2efed;
  --text: #0f2f2f;
  --muted: #587473;
  --line: rgba(15, 47, 47, .1);
  --accent: #0a8f91;
  --accent-hover: #077476;
  --accent-ink: #fff;
  --accent-2: #ff7a1a;
  --sos: #ff6a13;
  --dark: #0c2a2a;
  --radius: 24px;
  --font-head: "M PLUS Rounded 1c", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
}
.h1, .h2 { font-weight: 800; }
.h3 { font-weight: 700; }
.logo__24 { color: var(--sos); }
.sos-short { display: none; }
.card { border: 0; background: var(--surface); }
.section--alt .card { background: #fff; }

/* SOS-кнопки */
.btn--sos { --btn-bg: var(--sos); background: var(--sos); color: #fff; position: relative; }
.btn--sos:hover { background: #ff7f33; box-shadow: 0 12px 28px -8px rgba(255,106,19,.7); }
.sos-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(255,255,255,.8); animation: sosPulse 1.4s infinite; }
.sos-dot--green { background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation-name: sosPulseG; }
@keyframes sosPulse { to { box-shadow: 0 0 0 10px rgba(255,255,255,0); } }
@keyframes sosPulseG { to { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }
.header-contacts .btn--sos { animation: sosGlow 2.4s ease-in-out infinite; }
@keyframes sosGlow { 50% { box-shadow: 0 0 0 6px rgba(255,106,19,.18); } }
.nav .nav__cta { background: var(--sos); }
.sos-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px; background: var(--sos); color: #fff; font-weight: 800; box-shadow: 0 10px 30px rgba(255,106,19,.5); animation: sosGlow 2.4s ease-in-out infinite; }

/* hero */
.hero { padding: 48px 0 72px; background: radial-gradient(900px 500px at 90% 10%, var(--surface), transparent 70%); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__open { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 600; font-size: 14px; margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__pets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.hero__pets span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); font-size: 22px; transition: transform .3s var(--ease); }
.hero__pets span:hover { transform: translateY(-6px) rotate(-8deg); }
.hero__pets small { color: var(--muted); margin-left: 6px; }
.hero__visual { position: relative; max-width: 500px; justify-self: center; width: 100%; }
.hero__bubble { position: absolute; inset: -4% -6% 6% 6%; background: var(--accent); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; animation: blob 10s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; } }
.hero__img { position: relative; aspect-ratio: 1; border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%; border: 10px solid #fff; box-shadow: var(--shadow-lg); }
.hero__chip { position: absolute; background: #fff; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; animation: floaty 5s ease-in-out infinite; }
.hero__chip b { color: var(--sos); }
.hero__chip--1 { left: -20px; bottom: 14%; }
.hero__chip--2 { right: -10px; top: 8%; animation-delay: -2.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.perk { text-align: center; padding: 24px 18px; }
.perk__n { display: block; font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--accent); }
.perk p { color: var(--muted); font-size: 15px; }

.svc__ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: #fff; font-size: 28px; margin-bottom: 16px; transition: transform .3s var(--ease); }
.svc:hover .svc__ico { transform: scale(1.1) rotate(8deg); }
.svc__price { margin-top: 16px; display: inline-block; font-weight: 800; color: var(--accent); background: #fff; padding: 6px 14px; border-radius: 999px; }

/* SOS block */
.sos { background: linear-gradient(135deg, var(--sos), #ff9a3d); color: #fff; overflow: hidden; }
.sos::before { content: "24/7"; position: absolute; right: -20px; bottom: -60px; font-family: var(--font-head); font-weight: 800; font-size: clamp(120px, 20vw, 260px); color: rgba(255,255,255,.1); line-height: 1; pointer-events: none; }
.sos__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.sos__tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.15); font-weight: 700; margin-bottom: 18px; }
.sos .lead { color: rgba(255,255,255,.9); }
.sos__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.sos .btn--light { color: var(--sos); }
.sos__list { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(4px); }
.sos__list ul { margin-top: 14px; display: grid; gap: 10px; }
.sos__list li { padding-left: 28px; position: relative; }
.sos__list li::before { content: "!"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--sos); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

/* vets */
.vet__photo { aspect-ratio: 1; border-radius: 50%; margin-bottom: 16px; border: 6px solid var(--surface); transition: border-color .3s; }
.vet:hover .vet__photo { border-color: var(--accent); }
.vet { text-align: center; }
.vet p { color: var(--muted); font-size: 15px; }

/* booking */
.book { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: start; }
.book__form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.pets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pets label { cursor: pointer; position: relative; }
.pets input { position: absolute; opacity: 0; }
.pets span { display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border-radius: 18px; border: 2px solid var(--line); font-weight: 600; font-size: 14px; transition: all .25s; }
.pets i { font-style: normal; font-size: 30px; transition: transform .3s var(--ease); }
.pets label:hover span { border-color: var(--accent); }
.pets label:hover i { transform: scale(1.15) rotate(-8deg); }
.pets input:checked + span { border-color: var(--accent); background: var(--surface); color: var(--accent); }
.pets input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.book__alert { background: #fff3e8; border: 1.5px solid #ffc89c; color: #9a4a0e; padding: 12px 16px; border-radius: 14px; font-size: 14px; animation: fadeUp .3s var(--ease); }
.book__alert a { font-weight: 800; text-decoration: underline; }
.book__side { position: sticky; top: calc(var(--header-h) + 20px); background: var(--dark); color: #e6f2f1; border-radius: var(--radius); padding: 32px; display: grid; gap: 4px; }
.book__side .muted { color: rgba(230,242,241,.6); }
.book__pet { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 36px; margin-bottom: 12px; animation: pop .4s var(--ease); }
.book__doc { font-family: var(--font-head); font-size: 24px; color: #fff; }
.book__spec { color: var(--accent-2); font-weight: 600; }
.book__info { margin: 18px 0 8px; display: grid; gap: 10px; }
.book__info li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.book__info span { color: rgba(230,242,241,.6); }
.book__info b { text-align: right; }
.book__tip { font-size: 14px; color: rgba(230,242,241,.75); background: rgba(255,255,255,.06); padding: 12px 14px; border-radius: 12px; }

/* patients */
.pgal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pgal .media { display: block; aspect-ratio: 4 / 3; cursor: zoom-in; border-radius: 28px; }
.pgal .media span { position: absolute; left: 12px; bottom: 12px; background: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: transform .3s var(--ease); }
.pgal .media:hover span { transform: translateY(-4px); }
.pgal .media:nth-child(2) { border-radius: 28px 28px 28px 80px; }
.pgal .media:nth-child(4) { border-radius: 80px 28px 28px 28px; }

.sos-modal .btn--sos { margin-bottom: 4px; }
.sos-or { text-align: center; color: var(--muted); font-size: 14px; margin: 16px 0; position: relative; }
.sos-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.sos-or span { position: relative; background: #fff; padding: 0 10px; }
#contacts .map-stub { min-height: 400px; }

@media (max-width: 1180px) {
  .header-contacts .btn--sos { display: inline-flex; }
  .header-phone > span { display: none; }
  .header-phone__icon { display: block; }
  .sos-long { display: none; }
  .sos-short { display: inline; }
}
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 920px) {
  .hero__grid, .sos__grid, .book { grid-template-columns: 1fr; }
  .hero__visual { max-width: 400px; }
  .book__side { position: static; }
  .pgal { grid-template-columns: 1fr 1fr; }
  .header-contacts .btn--sos { display: none; }
  .sos-fab { display: inline-flex; }
}
@media (max-width: 640px) {
  .hero { padding-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__chip--1 { left: 0; }
  .hero__chip--2 { right: 0; }
  .sos__actions .btn { width: 100%; }
  .sos__list { padding: 20px; }
  .book__form { padding: 20px 16px; }
  .pets { grid-template-columns: repeat(3, 1fr); }
  .book__side { padding: 24px; }
  .pgal { gap: 10px; }
  .pgal .media span { font-size: 12px; padding: 4px 10px; left: 8px; bottom: 8px; }
  #contacts .map-stub { min-height: 300px; }
  .site-footer { padding-bottom: 88px; }
}
