/* ============================================================
   Kate Tennis — тренер по теннису в Варшаве (Прага)
   Сине-белая цветовая схема
   ============================================================ */

:root {
  --blue-900: #0b2447;
  --blue-800: #103a72;
  --blue-700: #1751a8;
  --blue-600: #1d6fd6;
  --blue-500: #2b86ec;
  --blue-100: #e7f1fd;
  --blue-50:  #f3f8ff;
  --accent:   #c8e64a;   /* теннисный мяч — лёгкий акцент */
  --white:    #ffffff;
  --ink:      #14233b;
  --muted:    #5a6b82;
  --line:     #dce7f4;
  --radius:   18px;
  --radius-sm: 12px;
  --shadow:   0 18px 50px -22px rgba(16, 58, 114, .45);
  --shadow-sm: 0 8px 24px -12px rgba(16, 58, 114, .35);
  --maxw:     1140px;
  --font:     'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.seo-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(29, 111, 214, .65);
}
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-ghost {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--blue-700);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.02em;
  color: var(--blue-800);
}
.nav-logo .ball {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  font-size: 17px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-weight: 600;
  font-size: .96rem;
  color: var(--muted);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links > li > a.active { color: var(--blue-700); }
.nav-links > li > a.active::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--blue-600); margin-top: 4px;
}

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
.has-dropdown > a .caret { font-size: .7em; transition: transform .2s ease; color: var(--blue-500); }
.has-dropdown:hover > a .caret,
.has-dropdown:focus-within > a .caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -10px;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 130;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown-menu a {
  padding: 11px 13px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
}
.dropdown-menu a:hover, .dropdown-menu a.active { background: var(--blue-50); color: var(--blue-700); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch a {
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  padding: 4px 11px;
  border-radius: 999px;
  transition: all .15s ease;
}
.lang-switch a.active { background: var(--blue-600); color: #fff; }

/* Бургер: понятные 3 линии в чипе-кнопке (это меню) + теннисный мяч-акцент; раскрывается в ✕ */
.burger {
  display: none;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-50);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.burger:hover { background: var(--blue-100); border-color: var(--blue-500); }
.burger span {
  display: block;
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--blue-800);
  transition: transform .25s ease, opacity .2s ease;
}
/* теннисный мяч-акцент на конце верхней линии */
.burger::after {
  content: "";
  position: absolute;
  top: 9px; right: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--blue-50);
  transition: opacity .18s ease, transform .25s ease;
}
/* открыто → ✕ (мяч прячется, линии складываются крестом) */
.burger.is-open { background: var(--blue-100); }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.burger.is-open::after { opacity: 0; transform: scale(0); }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 22px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 6px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--blue-50);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(43,134,236,.16), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff 75%);
  padding: 64px 0 70px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-700);
  font-weight: 700;
  font-size: .85rem;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero h1.title {
  font-size: clamp(2.1rem, 5vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 20px 0 18px;
  color: var(--blue-900);
}
.hero h1.title .hl { color: var(--blue-600); }
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  background:
    linear-gradient(160deg, var(--blue-600), var(--blue-800));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .placeholder {
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 24px;
  font-weight: 600;
}
.hero-photo .placeholder .big { font-size: 3rem; margin-bottom: 8px; }
.hero-photo-card {
  position: absolute;
  left: -18px; bottom: 22px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-photo-card .ic {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--blue-50);
  display: grid; place-items: center;
  font-size: 20px;
}
.hero-photo-card b { display: block; color: var(--blue-900); }
.hero-photo-card small { color: var(--muted); }

/* ---------- Section base ---------- */
section { scroll-margin-top: 86px; }
.section { padding: 78px 0; }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--blue-900);
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }
.section.alt { background: var(--blue-50); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 16px 0 0;
  font-size: .88rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--blue-600); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--muted); }

/* ---------- Local page intro ---------- */
.local-hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(43,134,236,.14), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff 80%);
  padding: 30px 0 56px;
}
.local-hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--blue-900);
  margin: 14px 0 16px;
  max-width: 760px;
}
.local-hero h1 .hl { color: var(--blue-600); }
.local-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; margin-bottom: 24px; }
.local-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* simple two-column prose + list */
.prose-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose p strong { color: var(--ink); }
.courts-list { list-style: none; display: grid; gap: 12px; }
.courts-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.courts-list .ic { flex: none; font-size: 18px; }
.courts-list b { color: var(--blue-900); }
.courts-list span.d { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- FAQ (details/summary, no JS) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-weight: 700; color: var(--blue-900); display: flex;
  justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--blue-500); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 22px 18px; color: var(--muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--blue-900);
  letter-spacing: -.02em;
  margin-bottom: 18px;
  line-height: 1.15;
}
.about-text p { color: var(--muted); margin-bottom: 14px; }
.about-text p strong { color: var(--ink); }
.cred-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.cred-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  box-shadow: var(--shadow-sm);
}
.cred-list .ic {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--blue-50);
  display: grid; place-items: center;
  font-size: 17px;
}
.cred-list b { color: var(--blue-900); }
.cred-list span.d { display: block; color: var(--muted); font-size: .92rem; }

/* ---------- Offer cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-500); }
.card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-700));
  display: grid; place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; color: var(--blue-900); margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Approach / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--blue-500);
  opacity: .35;
}
.step h3 { font-size: 1.15rem; margin: 6px 0 8px; color: var(--blue-900); }
.step p { color: var(--muted); font-size: .96rem; }

/* values inline list */
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.values span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--blue-800);
  box-shadow: var(--shadow-sm);
}

/* ---------- Location ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.loc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.loc-card h3 { color: var(--blue-900); font-size: 1.3rem; margin-bottom: 16px; }
.loc-card ul { list-style: none; display: grid; gap: 12px; }
.loc-card li { display: flex; gap: 11px; color: var(--ink); }
.loc-card li .ic { font-size: 18px; }
.loc-map {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius);
  background:
    radial-gradient(700px 320px at 30% 20%, rgba(255,255,255,.18), transparent),
    linear-gradient(160deg, var(--blue-700), var(--blue-900));
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  font-weight: 600;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow);
}
.loc-map .big { font-size: 2.6rem; margin-bottom: 8px; }
.loc-photo {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.loc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.loc-photo:hover img, .loc-photo:focus-visible img { transform: scale(1.04); }
.loc-photo-pin {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 15px;
  background: rgba(255,255,255,.95);
  border-radius: 14px;
  color: var(--blue-900);
  font-weight: 700; font-size: .94rem; line-height: 1.25;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.loc-photo-pin .ic { font-size: 18px; flex: none; }
.loc-photo-pin .arrow { margin-left: auto; color: var(--blue-600); white-space: nowrap; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(150deg, var(--blue-700), var(--blue-900));
  color: #fff;
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: -.02em; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 26px; font-size: 1.08rem; }
.cta .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 46px 0 30px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.18rem; color: #fff;
}
.footer-logo .ball {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center; font-size: 15px;
}
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  font-size: .9rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}

/* ---------- Testimonials ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-500); }
.tcard .stars { color: #f5b301; letter-spacing: 3px; font-size: 1rem; line-height: 1; }
.tcard blockquote {
  margin: 0; flex: 1; color: var(--ink); font-size: 1.02rem; line-height: 1.55;
  position: relative;
}
.tcard blockquote::before {
  content: "“"; position: absolute; top: -18px; left: -6px;
  font-size: 3rem; line-height: 1; color: var(--blue-100); font-family: Georgia, serif; z-index: 0;
}
.tcard blockquote span { position: relative; z-index: 1; }
.tcard figcaption { display: flex; align-items: center; gap: 12px; }
.tcard .avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-700));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
}
.tcard figcaption b { color: var(--blue-900); display: block; line-height: 1.2; }
.tcard figcaption .role { color: var(--muted); font-size: .88rem; }
.reviews-note { text-align: center; margin-top: 30px; color: var(--muted); }

/* ---------- Blog hub ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-500); }
.post-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, var(--blue-500), var(--blue-800));
  display: grid; place-items: center; font-size: 2.8rem;
}
.post-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag {
  font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 10px;
}
.post-card h3 { font-size: 1.16rem; color: var(--blue-900); line-height: 1.25; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card .more { margin-top: 14px; color: var(--blue-600); font-weight: 700; font-size: .95rem; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article > * { margin-bottom: 18px; }
.article > *:last-child { margin-bottom: 0; }
.article h2 {
  font-size: clamp(1.4rem, 3vw, 1.95rem); color: var(--blue-900);
  letter-spacing: -.02em; margin-top: 16px; line-height: 1.22;
}
.article h3 { font-size: 1.2rem; color: var(--blue-800); margin-top: 8px; }
.article p { color: var(--ink); font-size: 1.05rem; }
.article ul, .article ol { padding-left: 22px; color: var(--ink); display: grid; gap: 9px; }
.article li { font-size: 1.05rem; }
.article li strong, .article p strong { color: var(--blue-900); }
.article a:not(.btn) { color: var(--blue-600); font-weight: 600; text-decoration: underline; }
.article .lead { font-size: 1.18rem; color: var(--muted); }
.article .callout {
  background: var(--blue-50); border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.article .callout p { margin: 0; }
.post-meta { color: var(--muted); font-size: .9rem; display: flex; gap: 14px; flex-wrap: wrap; }
.article-cta { margin-top: 34px; }
.post-nav {
  max-width: 760px; margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; align-items: center;
}
.post-nav a { color: var(--blue-600); font-weight: 700; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-photo { max-width: 380px; margin: 0 auto; }
  .about-grid, .loc-grid, .prose-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-grid .hero-photo { max-width: 380px; }
  .cards, .steps, .blog-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
}
/* Навигация: уходим в бургер раньше — иначе полное десктоп-меню не влезает на планшете (~768px) */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-right > .btn { display: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  /* На телефоне CTA уже есть в бургер-меню — в шапке прячем, чтобы не теснить */
  .nav-right > .btn { display: none; }
  .section { padding: 52px 0; }
  .cards, .steps, .blog-grid, .reviews-grid { grid-template-columns: 1fr; }
  .article a:not(.btn) { display: inline; padding: 0; }
  .hero-photo-card { left: 8px; right: 8px; bottom: 8px; }
  .cta { padding: 42px 22px; }
  .footer-grid { flex-direction: column; gap: 20px; }

  /* Тап-таргеты ≥44px (рекомендации Apple/Google) */
  .lang-switch { padding: 5px; }
  .lang-switch a { padding: 12px 17px; font-size: .9rem; line-height: 1; }
  .nav-logo { min-height: 44px; display: inline-flex; align-items: center; }
  .burger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .footer-links { flex-direction: column; gap: 2px; }
  .footer-links a { padding: 13px 2px; display: block; }
  .footer-bottom a { padding: 8px 6px; display: inline-block; }
  /* Inline-ссылки в тексте — увеличиваем кликабельную зону до ~44px */
  .section p a:not(.btn), .loc-card a:not(.btn), .cta a:not(.btn), .post-nav a {
    display: inline-block; padding: 8px 2px; line-height: 1.2;
  }
  .post-nav { gap: 6px 18px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 62px; }
  .nav-logo { font-size: 1.05rem; }
  .nav-logo .ball { width: 26px; height: 26px; font-size: 15px; }
  /* Ужимаем шапку на узких экранах, чтобы лого + RU/UA + бургер влезали без горизонтального скролла */
  .nav-right { gap: 10px; }
  .lang-switch { padding: 4px; }
  .lang-switch a { padding: 12px 11px; }
  .hero { padding: 36px 0 44px; }
  .hero h1.title, .hero .title { font-size: 1.95rem !important; }
  .hero-lead { font-size: 1rem; }
  .hero-badge { font-size: .78rem; padding: 6px 12px; }
  /* CTA-кнопки в полную ширину — удобнее нажимать большим пальцем */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 8px; }
  .hero-meta span { font-size: .85rem; padding: 8px 11px; }
  .hero-photo-card { padding: 10px 12px; gap: 9px; }
  .hero-photo-card .ic { width: 36px; height: 36px; font-size: 17px; }
  .hero-photo-card small { font-size: .78rem; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 32px; }
  .card, .step, .loc-card { padding: 22px 18px; }
  .values span { padding: 8px 14px; font-size: .9rem; }
  .cta { padding: 34px 18px; border-radius: 22px; }
  .cta .btn-white { width: 100%; justify-content: center; }
  .footer-links { gap: 14px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
