/* МедГлас — shared styles */
:root {
  --navy: #1d3a8a;
  --navy-900: #14285f;
  --red: #d42a35;
  --red-600: #b8212b;
  --ink: #1b2233;
  --muted: #5a6478;
  --line: #e3e8f2;
  --bg: #ffffff;
  --bg-soft: #f3f6fc;
  --bg-blush: #fdf1f2;
  --green: #2f8f5b;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(20, 40, 95, .22);
  --shadow-sm: 0 4px 14px -6px rgba(20, 40, 95, .18);
  --wrap: 1140px;
  --font-head: "Open Sans", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.accent { color: var(--red); }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.pill {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .02em; color: #fff; background: var(--navy); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.pill--soft { background: #e6ecf8; color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-decoration: none;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-height: 56px;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--call { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(212, 42, 53, .7); }
.btn--call:hover { background: var(--red-600); transform: translateY(-1px); }
.btn--viber { background: #fff; color: #6f3fb5; border-color: #d9cdf0; }
.btn--viber:hover { background: #f6f1fd; }
.btn--whatsapp { background: #fff; color: #1a9e4b; border-color: #a6e3bd; }
.btn--whatsapp svg { color: #25d366; }
.btn--whatsapp:hover { background: #effaf3; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row:has(.btn--whatsapp) { max-width: 500px; }
.btn-row:has(.btn--whatsapp) .btn--call { flex: 1 1 100%; }
.btn-row:has(.btn--whatsapp) .btn--viber, .btn-row:has(.btn--whatsapp) .btn--whatsapp { flex: 1 1 0; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.header .btn { padding: 11px 20px; min-height: 46px; font-size: .98rem; }
.header .nav a.btn--call, .header .nav a.btn--call:hover, .header .nav a.btn--call:focus { color: #fff; }
.header .nav a.btn--call svg { color: #fff; }
@media (max-width: 860px) {
  .nav a:not(.nav__key) { display: none; }
  .brand img { height: 50px; }
  .nav .nav__key {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px;
    border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700;
  }
  .nav .nav__key::after { content: "→"; }
  .nav .nav__key--home::after { content: none; }
  .nav .nav__key--home::before { content: "←"; }
  .nav .nav__key:hover, .nav .nav__key:focus { background: var(--navy-900); color: #fff; }
}
@media (min-width: 861px) { .nav .nav__key--home { display: none; } }
[id] { scroll-margin-top: 90px; }
/* Mobile: centre the hero intro */
@media (max-width: 900px) {
  .hero .wrap > div:first-child, .page-hero .wrap { text-align: center; }
  .hero .lead, .page-hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row, .page-hero .btn-row { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-note { justify-content: center; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29,58,138,.10), transparent); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .accent { display: block; }
.hero .lead { font-size: 1.2rem; max-width: 34ch; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--red); flex: none; }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4;
  border: 6px solid #fff; outline: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
/* Brand panel in place of the hero photo */
.hero-brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 32px 32px 110px; position: relative;
  background:
    radial-gradient(circle at 50% 34%, rgba(29,58,138,.07) 0 38%, transparent 38.5%),
    radial-gradient(circle at 50% 34%, rgba(29,58,138,.05) 0 52%, transparent 52.5%),
    linear-gradient(165deg, #eef2fb 0%, #dfe6f6 100%);
}
.hero-brand__mark { width: min(52%, 220px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 18px 40px -18px rgba(29,58,138,.45); }
.hero-brand__mark img { width: 68%; height: auto; object-fit: contain; }
.hero-brand__name { margin: 22px 0 2px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--red); letter-spacing: .01em; }
.hero-brand__tag { margin: 0; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
@media (max-width: 900px) { .hero-brand { padding-bottom: 80px; } }
.heart-deco { position: absolute; top: -26px; right: -18px; width: 110px; color: var(--red); opacity: .9; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .heart-deco { width: 80px; right: -6px; }
}

/* Notification card (report to family) */
.notify {
  display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 16px;
  padding: 14px 16px; box-shadow: var(--shadow); max-width: 340px; border: 1px solid var(--line);
}
.notify__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; flex: none; }
.notify__icon svg { width: 20px; height: 20px; color: #ff6b74; }
.notify small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.notify strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); margin: 2px 0; }
.notify p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.hero-visual .notify { position: absolute; left: -36px; bottom: 28px; animation: float 6s ease-in-out infinite; }
@media (max-width: 900px) { .hero-visual .notify { left: 12px; right: 12px; bottom: -28px; max-width: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Problem cards */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.problem h3 { font-size: 1.3rem; margin-bottom: 18px; }
.problem__demo { margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; font-weight: 600; color: var(--navy); background: #e9eef9; padding: 6px 12px; border-radius: 999px; }
.search {
  display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; font-size: .95rem; color: var(--ink);
}
.search svg { width: 18px; height: 18px; color: var(--navy); flex: none; }
.search .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--navy); margin-left: 1px; vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-tag { display: inline-block; margin-top: 10px; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.chat { background: var(--bg-soft); border-radius: 14px; padding: 12px; border: 1px solid var(--line); }
.chat__who { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.chat__who span { width: 26px; height: 26px; border-radius: 50%; background: #c9b8e8; color: #fff; display: grid; place-items: center; font-size: .75rem; }
.bubble { background: #fff; border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: .92rem; width: fit-content; margin-bottom: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.typing { margin-left: auto; width: 54px; height: 30px; border-radius: 14px 14px 4px 14px; background: var(--navy); display: flex; align-items: center; justify-content: center; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.answer { text-align: center; margin-top: 56px; }
.answer h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0; }
.answer p { color: var(--muted); margin-top: 10px; }
@media (max-width: 900px) { .problems { grid-template-columns: 1fr; } }

/* Steps */
.steps-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; background: linear-gradient(var(--navy), #9fb0dc); border-radius: 3px; }
.step { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 10px 0; }
.step__num {
  position: relative; z-index: 1; width: 45px; height: 45px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; flex: none; box-shadow: 0 0 0 6px var(--bg-soft);
}
.step__body { background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); flex: 1; }
.step__body strong { font-family: var(--font-head); display: block; font-size: 1.05rem; color: var(--ink); }
.step__body span { color: var(--muted); font-size: .95rem; }
.tag { display: inline-block; margin-top: 18px; background: var(--red); color: #fff; font-weight: 700; font-size: .9rem; padding: 7px 16px; border-radius: 999px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Translate */
.translate { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.doc-card { background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.doc-card small { font-size: .75rem; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.doc-card .strike { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #8790a3; text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; margin-top: 6px; }
.doc-arrow { display: grid; place-items: center; color: var(--navy); margin: 10px 0; }
.doc-arrow svg { width: 28px; height: 28px; }
.doc-card--human { border: 2px solid var(--green); }
.doc-card--human small { color: var(--green); }
.doc-card--human p { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin: 6px 0 0; color: var(--ink); }
.pills-time { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pills-time span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-sm); }
.pills-time b { color: var(--navy); margin-right: 6px; }
@media (max-width: 900px) { .translate { grid-template-columns: 1fr; gap: 32px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon {
  width: 60px; height: 60px; border-radius: 16px; background: #e9eef9; color: var(--navy);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 32px; height: 32px; }
.icon .r { color: var(--red); }
.service p { color: var(--muted); font-size: .98rem; margin: 0; }
.service .mini { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--navy); background: #e9eef9; padding: 4px 10px; border-radius: 999px; }
.service--cta { background: var(--navy); border-color: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.service--cta h3 { color: #fff; }
.service--cta p { color: #c9d4f0; margin-bottom: 18px; }
.service--cta .btn { align-self: flex-start; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Home visits */
.home-visits { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vitals { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 420px; }
.vital { background: #fff; border-radius: var(--radius); padding: 22px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.vital svg { width: 42px; height: 42px; margin: 0 auto 8px; }
.vital b { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.vital small { font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.vital--wide { grid-column: span 2; display: flex; align-items: center; gap: 14px; text-align: left; }
.vital--wide svg { margin: 0; flex: none; }
.vital--wide b { font-size: 1.1rem; color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding-left: 36px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (max-width: 900px) { .home-visits { grid-template-columns: 1fr; gap: 36px; } .home-visits .vitals { order: 2; } }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trust-photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0; }
.stat { background: var(--bg-soft); border-radius: 16px; padding: 18px 14px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--red); line-height: 1; }
.stat span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .stat b { font-size: 1.6rem; } .stat span { font-size: .8rem; } }

/* Area */
.area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.zone { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.zone b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy); }
.zone span { color: var(--muted); font-size: .95rem; }
@media (max-width: 620px) { .area { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: #e9eef9; color: var(--navy);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Final CTA */
.cta-final { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #fff; position: relative; overflow: hidden; }
.cta-final::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(212, 42, 53, .18);
}
.cta-final .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.cta-final h2 .accent { color: #ff7a82; display: block; }
.cta-final p { color: #c9d4f0; font-size: 1.1rem; }
.contact-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 26px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line svg { width: 24px; height: 24px; color: var(--red); flex: none; margin-top: 2px; }
.contact-line small { display: block; color: var(--muted); font-size: .82rem; }
.contact-line a, .contact-line b { font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.map { margin-top: 14px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.cta-final .wrap:has(.contact-card--split) { grid-template-columns: .72fr 1.28fr; gap: 40px; }
.contact-card--split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; align-items: stretch; padding: 28px; }
.contact-card--split .map { grid-column: 1 / -1; aspect-ratio: auto; height: 220px; margin-top: 16px; }
.building { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); min-height: 280px; }
.building img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
@media (max-width: 1100px) { .cta-final .wrap:has(.contact-card--split) { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .contact-card--split { grid-template-columns: 1fr; }
  .building { max-width: 360px; width: 100%; margin-inline: auto; min-height: 0; aspect-ratio: 900 / 1015; }
}
.building figcaption { position: absolute; left: 10px; top: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; padding: 5px 12px; border-radius: 999px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) { .cta-final .wrap { grid-template-columns: 1fr; } }

/* Footer */
.footer { padding: 36px 0 110px; background: #0f1d47; color: #9fb0dc; font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer a { color: #fff; text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
@media (min-width: 861px) { .footer { padding-bottom: 36px; } }

/* Sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(20,40,95,.25);
}
.callbar .btn { flex: 1; padding: 14px 12px; min-height: 52px; font-size: 1rem; }
.callbar .btn--viber, .callbar .btn--whatsapp { flex: 0 0 auto; }
@media (max-width: 860px) { .callbar { display: flex; } }

/* Services page */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); background: var(--bg-soft); }
.page-hero .lead { max-width: 60ch; }
.svc-block { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.svc-block .intro { color: var(--muted); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 50px; position: relative;
  box-shadow: var(--shadow-sm); font-weight: 600;
}
.svc-list li small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.svc-list li::before {
  content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.package { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 20px; }
.package b { font-family: var(--font-head); display: block; font-size: 1.05rem; }
.package span { color: #c9d4f0; font-size: .92rem; }
.note { margin-top: 16px; background: var(--bg-blush); border-left: 4px solid var(--red); border-radius: 10px; padding: 14px 18px; font-size: .98rem; }
.note--key { margin-top: 20px; border: 2px solid var(--red); border-left-width: 6px; border-radius: 14px; padding: 16px 18px; background: var(--bg-blush); box-shadow: 0 10px 24px -16px rgba(212, 42, 53, .6); }
.note--key p { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.note--key b { color: var(--red); }
.note__label { display: inline-block; margin-bottom: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 4px 12px; border-radius: 999px; }
@media (max-width: 900px) {
  .svc-block { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .svc-list, .packages { grid-template-columns: 1fr; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-visual .notify, .typing i, .search .caret { animation: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Quote between "Кои сме ние" and FAQ */
.section--before-quote { padding-bottom: 40px; }
.section--after-quote { padding-top: 40px; }
.quote-band { background: #fff; }
.quote { position: relative; margin: 0 auto; max-width: 860px; text-align: center; padding: 48px 24px 8px; border-top: 1px solid var(--line); }
.quote::before {
  content: "\201C"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff;
  font-family: Georgia, serif; font-size: 3.4rem; line-height: 86px; text-align: center;
  box-shadow: 0 10px 24px -10px rgba(212, 42, 53, .7);
}
.quote p { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2rem); line-height: 1.35; color: var(--navy-900); font-style: italic; }
.quote footer { margin-top: 16px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quote footer::before { content: "— "; color: var(--red); }

/* Brand name: always caps, logo red */
.brand-name { color: var(--red); font-weight: 800; letter-spacing: .02em; }
.footer .brand-name { color: #ff4d58; }

/* Typing search box: keep one line so the card never jumps */
.search > span { white-space: nowrap; overflow: hidden; text-overflow: clip; min-width: 0; }
.typer { min-height: 1em; }

/* Services page: packages */
.pkg-section { padding: 56px 0 24px; }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pkg { position: relative; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: 20px; padding: 30px 28px 26px; box-shadow: var(--shadow-sm); }
.pkg--alt { border-top-color: var(--red); }
.pkg__tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--navy); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.pkg--alt .pkg__tag { background: var(--red); }
.pkg h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.pkg__when { color: var(--muted); margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.pkg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pkg__list li { position: relative; padding-left: 32px; font-weight: 600; color: var(--ink); }
.pkg__list li small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.pkg__list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.pkg--alt .pkg__list li::before { background-color: var(--red); }
.pkg-transport { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; font-size: 1.02rem; }
.pkg-transport__pin {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(212, 42, 53, .7);
  transition: transform .15s ease, background .15s ease;
}
.pkg-transport__pin:hover, .pkg-transport__pin:focus-visible { background: var(--red-600); transform: translateY(-2px); }
.pkg-transport__pin svg { width: 22px; height: 22px; color: #fff; }
.svc-standalone-head { margin: 48px 0 0; padding-top: 48px; border-top: 1px solid var(--line); max-width: none; }
.svc-standalone-head .lead { max-width: 720px; }
@media (max-width: 760px) { .pkg-grid { grid-template-columns: 1fr; } .pkg { padding: 24px 20px; } }
.contact-line a { overflow-wrap: anywhere; }
