/* =========================
   UTISHEVA.RU — Production CSS
   Premium glass • Consulting-grade grid • Stable responsive
   ========================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&display=swap");

/* =========================
   Tokens
   ========================= */
:root{
  /* Layout */
  --container: 1160px;
  --gutter: clamp(14px, 3.6vw, 22px);

  /* Colors */
  --bg: #F2F3F4;
  --panel: rgba(255,255,255,.62);
  --panel2: rgba(255,255,255,.72);
  --panelSolid: rgba(255,255,255,.92);

  --ink: #0B0F14;
  --muted: rgba(11,15,20,.66);
  --muted2: rgba(11,15,20,.52);

  --stroke: rgba(11,15,20,.10);
  --stroke2: rgba(11,15,20,.16);

  /* Brand */
  --brand: #152B44;
  --brand2: #2C6FA4;

  /* Accent */
  --gold: #C2A46A;
  --goldWash: rgba(194,164,106,.14);

  /* Radius */
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 14px;

  /* Shadows */
  --sh-lg: 0 26px 84px rgba(6,10,16,.14);
  --sh-md: 0 16px 46px rgba(6,10,16,.12);
  --sh-sm: 0 10px 26px rgba(6,10,16,.10);

  /* Type */
  --h1: clamp(34px, 4.2vw, 56px);
  --h2: clamp(26px, 3.1vw, 42px);
  --lead: clamp(15px, 1.25vw, 18px);
}

/* =========================
   Base / Reset
   ========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Manrope, Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.58;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  background:
    radial-gradient(1000px 700px at 20% 0%, rgba(21,43,68,.14), rgba(21,43,68,0) 65%),
    radial-gradient(1000px 700px at 80% 20%, rgba(194,164,106,.14), rgba(194,164,106,0) 70%),
    linear-gradient(180deg, #F2F3F4, #ECEFF1);
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin:0; }
ul{ margin:0; padding:0; }

.skip-link{
  position:absolute; left:-999px; top:0;
  background:#fff; padding:10px 12px; border-radius:10px;
  border:1px solid var(--stroke);
}
.skip-link:focus{ left: 16px; top: 16px; z-index:9999; }

/* Small safety against Joomla wrappers */
.mod-custom, .moduletable{ width:100%; }
main .mod-custom section, main .moduletable section{ width:100%; }

/* =========================
   Layout
   ========================= */
.container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.section{ padding: 64px 0; }
.section-sm{ padding: 36px 0; }

.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
  white-space: nowrap;
}

.btn-primary{
  background: linear-gradient(135deg, var(--brand), #0D1725);
  color:#fff;
  box-shadow: 0 18px 44px rgba(21,43,68,.24), inset 0 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover{ transform: translateY(-1px); filter: brightness(1.03); }

.btn-ghost{
  background: rgba(255,255,255,.55);
  border-color: rgba(11,15,20,.12);
  color: var(--ink);
}
.btn-ghost:hover{ background: rgba(255,255,255,.78); }

.btn-soft{
  background: rgba(21,43,68,.08);
  border-color: rgba(21,43,68,.16);
  color: var(--brand);
}
.btn-soft:hover{ background: rgba(21,43,68,.12); }

.btn-quiet{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11,15,20,.12);
  background: rgba(255,255,255,.65);
  color: rgba(11,15,20,.82);
  font-weight: 800;
  font-size: 13px;
  transition: .15s ease;
}
.btn-quiet:hover{ background: rgba(255,255,255,.88); transform: translateY(-1px); }

.icon-btn{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(11,15,20,.12);
  background: rgba(255,255,255,.62);
  display:grid; place-items:center;
  transition: background .15s ease, transform .15s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.86); transform: translateY(-1px); }

/* =========================
   Header (consulting-grade)
   ========================= */
header{
  position: sticky; top:0; z-index: 80;
  background: rgba(242,243,244,.64);
  backdrop-filter: blur(20px) saturate(175%);
  border-bottom: 1px solid rgba(11,15,20,.08);
}
header:before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height: 1px;
  background: linear-gradient(90deg, rgba(194,164,106,0), rgba(194,164,106,.55), rgba(194,164,106,0));
  opacity: .65;
  pointer-events:none;
}

.navbar{
  height: 74px;
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.brand-name{
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 16px;
  line-height: 1.1;
}
.brand-role{
  font-family: Inter, system-ui, sans-serif;
  color: rgba(11,15,20,.56);
  font-size: 12px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Premium monogram */
.brand-mark{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, #152B44, #0D1725);
  border: 1px solid rgba(194,164,106,.55);
  box-shadow: 0 14px 34px rgba(21,43,68,.22), inset 0 1px 0 rgba(255,255,255,.10);
}
.brand-mark span{
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .14em;
  color: rgba(244,244,242,.95);
  transform: translateX(1px);
}

.navlinks{
  justify-self:center;
  display:flex;
  align-items:center;
  gap: 18px;
  color: rgba(11,15,20,.62);
  font-size: 13.5px;
  letter-spacing: .01em;
}
.navlinks a{
  position:relative;
  padding: 10px 10px;
  border-radius: 10px;
  transition: .15s ease;
}
.navlinks a:hover{
  color: var(--ink);
  background: rgba(11,15,20,.035);
}
.navlinks a:after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(194,164,106,0), rgba(194,164,106,.85), rgba(194,164,106,0));
  opacity: 0;
  transform: translateY(2px);
  transition: .18s ease;
}
.navlinks a:hover:after{
  opacity: .9;
  transform: translateY(0);
}
.navlinks a[aria-current="page"]{
  color: var(--ink);
  background: rgba(21,43,68,.06);
  border: 1px solid rgba(21,43,68,.12);
}
.navlinks a[aria-current="page"]:after{
  opacity: .9;
  transform: translateY(0);
}

.nav-cta{ display:flex; align-items:center; gap: 10px; }
.mobile-toggle{ display:none; }

/* =========================
   Hero v2 — Executive Premium
   ========================= */
.hero{
  position: relative;
  padding: 42px 0 18px;
  overflow:hidden;
}
.hero:before{
  content:"";
  position:absolute;
  inset: -260px -320px auto auto;
  width: 980px; height: 980px;
  background:
    radial-gradient(circle at 25% 25%, rgba(21,43,68,.24), rgba(21,43,68,0) 62%),
    radial-gradient(circle at 70% 55%, rgba(194,164,106,.14), rgba(194,164,106,0) 64%),
    radial-gradient(circle at 50% 80%, rgba(44,111,164,.10), rgba(44,111,164,0) 66%);
  opacity: .95;
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* kicker */
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.60);
  backdrop-filter: blur(16px) saturate(160%);
  color: rgba(11,15,20,.64);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  flex-wrap: wrap;
}
.kicker-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
}
.kicker-sep{
  width: 1px;
  height: 14px;
  background: rgba(11,15,20,.16);
  margin: 0 6px;
  display:inline-block;
  opacity: .6;
}
.kicker-note{ color: rgba(11,15,20,.60); }

.hero-title{
  margin: 14px 0 14px;
  font-size: var(--h1);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero-lead{
  font-size: var(--lead);
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 62ch;
  line-height: 1.7;
}

.hero-bullets{
  list-style:none;
  margin: 10px 0 0;
  display:grid;
  gap: 10px;
}
.hero-bullets li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(11,15,20,.82);
  font-size: 14px;
  line-height: 1.55;
}
.check{
  width: 22px; height: 22px; border-radius: 999px;
  background: rgba(194,164,106,.16);
  border: 1px solid rgba(194,164,106,.26);
  color: rgba(122,92,38,.95);
  display:grid; place-items:center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.hero-actions{
  display:flex; flex-wrap:wrap;
  gap: 10px;
  margin-top: 16px;
}

/* trust panel */
.hero-trust{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;

  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.50);
  backdrop-filter: blur(18px) saturate(165%);
  box-shadow: 0 18px 46px rgba(6,10,16,.08), 0 1px 0 rgba(255,255,255,.60) inset;
}
.trust-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(11,15,20,.08);
  background: rgba(255,255,255,.55);
}
.trust-ic{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(21,43,68,.08);
  border: 1px solid rgba(21,43,68,.14);
  color: rgba(21,43,68,.95);
  flex: 0 0 auto;
}
.trust-ic svg{ width: 18px; height: 18px; }
.trust-top{
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.trust-sub{
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  color: rgba(11,15,20,.58);
  margin-top: 3px;
  line-height: 1.35;
}

/* media */
.hero-media{ position: relative; border-radius: 30px; }
.hero-photo-wrap{
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.40);
  box-shadow: 0 34px 96px rgba(6,10,16,.18), 0 1px 0 rgba(255,255,255,.55) inset;
}
.hero-photo{
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.02);
}

/* overlay cred */
.hero-cred{
  position:absolute;
  width: min(320px, 80%);
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(18px) saturate(165%);
  box-shadow: 0 18px 44px rgba(6,10,16,.10), 0 1px 0 rgba(255,255,255,.55) inset;
}
.hero-cred--a{ left: 14px; bottom: 14px; }

.cred-title{ font-weight: 850; letter-spacing: -0.02em; }
.cred-sub{
  font-family: Inter, system-ui, sans-serif;
  color: rgba(11,15,20,.60);
  font-size: 12px;
  margin-top: 3px;
  line-height: 1.35;
}

/* =========================
   Section headings
   ========================= */
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 14px;
  margin-bottom: 18px;
}
.section h2{
  margin:0;
  font-size: var(--h2);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
  position: relative;
}
.section h2:after{
  content:"";
  display:block;
  width: 54px;
  height: 2px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(194,164,106,1), rgba(194,164,106,0));
  opacity: .85;
}
.lead{
  color: var(--muted);
  font-size: var(--lead);
  margin-top: 10px;
  max-width: 72ch;
  line-height: 1.7;
}
.section-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* =========================
   Cards / badges
   ========================= */
.card{
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(11,15,20,.10);
  border-radius: var(--r-lg);
  padding: 18px;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  background:
    radial-gradient(900px 260px at 12% 0%, rgba(255,255,255,.65), rgba(255,255,255,0) 58%),
    radial-gradient(720px 260px at 92% 8%, rgba(21,43,68,.10), rgba(21,43,68,0) 62%),
    radial-gradient(680px 240px at 96% 92%, rgba(194,164,106,.08), rgba(194,164,106,0) 62%);
  opacity: .9;
}
.card > *{ position: relative; z-index: 1; }

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(11,15,20,.14);
  box-shadow: 0 22px 60px rgba(6,10,16,.12), 0 1px 0 rgba(255,255,255,.55) inset;
}

.card-solid{ background: var(--panelSolid); }

.card h3{
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.card p{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(21,43,68,.08);
  border: 1px solid rgba(21,43,68,.14);
  color: rgba(21,43,68,.95);
  font-weight: 800;
  font-size: 12px;
}
.mini{
  font-family: Inter, system-ui, sans-serif;
  color: var(--muted2);
  font-size: 12px;
}

/* =========================
   Feature blocks
   ========================= */
.feature{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.feature-ic{
  width: 40px; height: 40px;
  border-radius: 14px;
  background: rgba(21,43,68,.08);
  border: 1px solid rgba(21,43,68,.14);
  display:grid; place-items:center;
  flex: 0 0 auto;
}
.feature-ic svg{ width: 18px; height: 18px; color: rgba(21,43,68,.95); opacity:.92; }

/* =========================
   Steps
   ========================= */
.steps{ display:grid; gap: 12px; }
.step{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(16px) saturate(160%);
}
.step-num{
  width: 34px; height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #0D1725);
  color:#fff;
  display:grid; place-items:center;
  font-weight: 800;
  flex: 0 0 auto;
  box-shadow: 0 10px 26px rgba(21,43,68,.18);
}
.step h3{ margin:0 0 6px; font-weight: 800; letter-spacing:-0.02em; }
.step p{ margin:0; color: var(--muted); font-size: 14px; }

/* =========================
   Quotes (clean premium)
   ========================= */
.quote{
  position: relative;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(11,15,20,.10);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 18px 50px rgba(6,10,16,.08), 0 1px 0 rgba(255,255,255,.55) inset;
  overflow: hidden;
}
.quote:before{
  content:"";
  position:absolute;
  left: 18px;
  right: 18px;
  top: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(194,164,106,0), rgba(194,164,106,.85), rgba(194,164,106,0));
  opacity: .75;
}
.quote p{
  margin: 0;
  padding-top: 10px;
  color: rgba(11,15,20,.76);
  font-size: 14px;
  line-height: 1.7;
}
.quote .who{
  margin-top: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: rgba(11,15,20,.92);
}
.quote .who small{
  display:block;
  margin-top: 4px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 650;
  color: rgba(11,15,20,.56);
}

/* =========================
   FAQ
   ========================= */
.faq details{
  border-radius: 18px;
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.66);
  padding: 14px 16px;
  backdrop-filter: blur(16px) saturate(160%);
}
.faq details + details{ margin-top: 10px; }
.faq summary{
  cursor:pointer;
  font-weight: 850;
  letter-spacing: -0.01em;
  list-style:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq .ans{
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* =========================
   Forms
   ========================= */
.form{ display:grid; gap: 12px; margin-top: 12px; }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }

label{
  display:block;
  font-family: Inter, system-ui, sans-serif;
  color: var(--muted2);
  font-size: 12px;
  margin-bottom: 6px;
}
input, textarea{
  width:100%;
  border-radius: 16px;
  border: 1px solid rgba(11,15,20,.12);
  background: rgba(255,255,255,.90);
  padding: 13px 14px;
  font: inherit;
  outline:none;
  transition: .15s ease;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, textarea:focus{
  border-color: rgba(21,43,68,.35);
  box-shadow: 0 0 0 4px rgba(21,43,68,.12);
}
.fineprint{
  font-family: Inter, system-ui, sans-serif;
  color: var(--muted2);
  font-size: 12px;
}

/* =========================
   CTA band
   ========================= */
.cta-band{
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(21,43,68,.10), rgba(44,111,164,.07));
  border: 1px solid rgba(21,43,68,.14);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.cta-band:before{
  content:"";
  position:absolute;
  inset:-50% -40% auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(circle at 35% 35%, rgba(194,164,106,.16), rgba(194,164,106,0) 62%);
  pointer-events:none;
}
.cta-band > *{ position: relative; z-index: 1; }
.cta-band h3{
  margin:0 0 6px;
  font-size: 24px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.cta-band p{ color: var(--muted); font-size: 14px; }

/* =========================
   Footer
   ========================= */
footer{
  padding: 44px 0;
  border-top: 1px solid rgba(11,15,20,.08);
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.footer-links a:hover{ color: var(--ink); }

/* =========================
   Mobile drawer
   ========================= */
.mobile-drawer{
  display:none;
  position: fixed;
  inset: 0;
  background: rgba(11,15,20,.46);
  z-index: 120;
}
.drawer-panel{
  position:absolute;
  right: 12px;
  top: 12px;
  width: min(420px, calc(100% - 24px));
  border-radius: 22px;
  background: rgba(242,243,244,.98);
  border: 1px solid rgba(11,15,20,.12);
  box-shadow: var(--sh-lg);
  padding: 14px;
}
.drawer-panel .navlinks{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap: 8px;
  margin-top: 10px;
}
.drawer-panel .navlinks a{
  border: 1px solid rgba(11,15,20,.10);
  background: rgba(255,255,255,.74);
}
.drawer-actions{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  html, body{ overflow-x:hidden; }

  .navlinks{ display:none; }
  .mobile-toggle{ display:inline-grid; }

  .navbar{ gap: 12px; }

  .hero-grid{ grid-template-columns: 1fr; gap: 14px; }

  .hero-title{
    font-size: clamp(30px, 9.2vw, 44px);
    line-height: 1.04;
    margin: 10px 0 10px;
  }
  .hero-lead{ font-size: 15px; line-height: 1.6; }

  .hero-actions{
    display:grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-actions .btn{ width:100%; justify-content:center; padding: 14px 16px; border-radius: 16px; }

  .hero-trust{ grid-template-columns: 1fr; }
  .hero-cred{
    position: static;
    width: auto;
    margin-top: 10px;
  }
  .hero-media{ display:grid; gap: 10px; }

  .grid-2, .grid-3{ grid-template-columns: 1fr; }

  .section{ padding: 34px 0; }
  .section-sm{ padding: 22px 0; }

  .section-head{
    display:grid;
    grid-template-columns: 1fr;
    align-items:start;
    gap: 10px;
  }

  .cta-band{
    display:grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items:start;
  }
  .cta-band .btn{ width:100%; justify-content:center; }

  .form-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .brand{ min-width: 0; }
  .btn-quiet{ display:none; }

  .kicker{ font-size: 13px; padding: 8px 10px; border-radius: 16px; }
  .kicker-sep{ display:none; }

  .hero-photo-wrap{ border-radius: 24px; }
  .hero-trust{ padding: 10px; border-radius: 18px; gap: 8px; }

  .btn{ width:100%; }
}





/* Joomla menu reset -> выглядит как твои navlinks */
.navlinks,
.mod-menu {
  display: flex;
  gap: 18px;
  align-items: center;
}

.mod-menu { 
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod-menu > li { margin: 0; padding: 0; }

.mod-menu > li > a {
  text-decoration: none;
  font-weight: 400;
}

/* Active item highlight */
.mod-menu > li.active > a {
  text-decoration: underline;
  text-underline-offset: 6px;
}







/* Joomla menu -> под твой дизайн */
.navlinks ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

.navlinks li { margin: 0; padding: 0; }

.navlinks a {
  text-decoration: none;
  font-weight: 600;
}

.navlinks li.active > a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Footer layout */
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-title {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-copy {
  margin-top: 16px;
}

/* Joomla footer menu reset */
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}


.hero-title {
    font-size: clamp(34px, 3.4vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin: 12px 0 12px;
}


/* Joomla menu output reset inside your navlinks */
.navlinks ul,
.footer-links ul {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.navlinks ul {
  display: flex;
  gap: 18px;
  align-items: center;
}

.navlinks li {
  margin: 0 !important;
  padding: 0 !important;
}

/* Active state */
.navlinks li.active > a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* === FIX: вернуть геометрию как в html-source === */
:root{
  --container: 1240px;
  --gutter: clamp(14px, 2.2vw, 22px);
}

/* вернуть контейнерную формулу как в исходнике */
.container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2))) !important;
  margin: 0 auto !important;

  /* важно: в production у тебя принудительные padding/max-width — убираем */
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}


/* Joomla mod-menu: 1 в 1 как твои navlinks */
.navlinks ul.mod-menu{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 18px !important;
  align-items: center !important;
}

.navlinks ul.mod-menu > li{ margin:0 !important; padding:0 !important; }
.navlinks ul.mod-menu > li > a{ padding:10px 10px; border-radius:10px; }


/* === FIX: одинаковая ширина/отступы контейнера во всех секциях (hero тоже) === */
:root{
  --container: 1240px;
  --gutter: clamp(14px, 2.2vw, 22px);
}

body .container{
  width: 100% !important;
  max-width: var(--container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
  box-sizing: border-box !important;
}

/* на всякий: если Joomla/Bootstrap добавляет внутренние паддинги */
header .container,
main  .container,
footer .container{
  padding-left: var(--gutter) !important;
  padding-right: var(--gutter) !important;
}

/* === FINAL: контейнер как в html-source (шире, без внутреннего padding) === */
:root{
  --container: 1240px;
  --gutter: clamp(14px, 2.2vw, 22px);
}

body .container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2))) !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
  box-sizing: border-box;
}

/* Safety: если Joomla добавляет внутренние отступы у component/wrapper */
#content, .component-content, .com-content, .com-content-article {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Center the hero overlay card like in source */
.hero-media { position: relative; } /* на всякий случай */
.hero-cred--a{
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  bottom: 14px !important;
}


/* Mobile: keep overlay on photo and prevent cropping */
@media (max-width: 980px){
  .hero-media{ position: relative; }

  .hero-cred{
    position: absolute !important;     /* отменяем static из базового CSS */
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: 12px !important;
    width: min(360px, calc(100% - 24px)) !important; /* чтобы точно помещалось */
    max-width: none !important;
    margin: 0 !important;
  }
}

/* === Mobile header behavior === */
@media (max-width: 980px){
  /* скрываем десктоп-меню в шапке */
  header .navlinks{ display: none !important; }

  /* показываем гамбургер */
  header .mobile-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  /* чтобы CTA не ломало шапку */
  header .nav-cta{
    gap: 10px;
  }

  /* если кнопка слишком широкая на мобилке — уменьшим */
  header .btn.btn-primary{
    padding: 12px 14px;
    font-size: 14px;
    white-space: nowrap;
  }
}

.mmobile-toggle{ display: inline-flex; }


/* === iPhone / small screens header polish === */
@media (max-width: 430px){
  /* меньше воздуха */
  header .navbar{ gap: 10px; }

  /* бренд компактнее */
  /* header .brand-text{ display: none; }          /* оставим только кружок ОУ */ 
  /* если хочешь оставить имя — вместо display:none можно так:*/
     header .brand-role{ display:none; }
     header .brand-name{ font-size:16px; }
  

  /* большая кнопка — слишком длинная для мобилки */
 /*  header .nav-cta .btn.btn-primary{*/
 /*    display: none !important;                   /* прячем "Запросить консультацию" */
 /* } */

  /* показываем короткую CTA */
  header .nav-cta .btn-quiet{
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* гамбургер чуть компактнее */
  header .mobile-toggle{
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}


/* === Mobile hamburger icon fix === */
.mobile-toggle svg{
  width: 22px;
  height: 22px;
}

.mobile-toggle svg path{
  stroke: #0f2237 !important;   /* твой тёмно-синий */
  stroke-width: 2.4 !important; /* чуть толще */
}

/* === Contact page: fix oversized headings inside cards === */
.contact-page .card h2{
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.05;
  margin: 0 0 10px;
}

.contact-page .card p{
  margin-top: 8px;
}

/* если кнопка в форме должна быть во всю ширину (как в исходнике) */
.contact-page .form .btn.btn-primary{
  width: 100%;
}

.contact-page .contact-right{
  display: grid;
  gap: 16px;
}
.contact-page .steps{
  display: grid;
  gap: 14px;
}

/* === Contact page spacing tuning === */

/* правая колонка */
.contact-page .contact-right{
  display: grid;
  gap: 14px; /* меньше, чем было */
}

/* разделитель */
.contact-page hr{
  margin: 12px 0 !important;
  opacity: .25;
}

/* заголовок блока шагов */
.contact-page .contact-right > h3{
  margin: 6px 0 6px !important;
  font-size: 20px;
}

/* сами шаги */
.contact-page .steps{
  display: grid;
  gap: 12px;
  margin-top: 0 !important;
}

/* карточки шагов компактнее */
.contact-page .step{
  padding: 18px 22px;
}

/* === About page: stable grid + image behavior === */
.about-page .page-hero h1{ margin: 0 0 10px; }
.about-page .page-hero .lead{ margin: 0; max-width: 72ch; }

/* 2 колонки как в исходнике */
.about-page .about-grid{
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 26px;
  align-items: start;
  margin-top: 16px;
}

/* Фото: фиксируем геометрию, чтобы любые пропорции не ломали блок */
.about-page .about-photo{
  margin: 0;
}

.about-page .about-photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  object-fit: cover;

  /* ключевое: держим “карточную” пропорцию как в hero */
  aspect-ratio: 4 / 5;
}

/* Мобилка: одна колонка, фото по центру и не на всю ширину экрана */
@media (max-width: 980px){
  .about-page .about-grid{
    grid-template-columns: 1fr;
  }
  .about-page .about-photo{
    max-width: 520px;
    margin: 0 auto;
  }
}

/* === ABOUT v2 layout (like source screenshot) === */
.about-page .page-hero h1{ margin: 0 0 10px; }
.about-page .page-hero .lead{ margin: 0; max-width: 72ch; }

.about-page .about-layout{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr; /* фото чуть шире */
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

/* big photo card */
.about-page .about-photo-card{
  padding: 18px;
}
.about-page .about-photo-frame{
  border-radius: 28px;
  overflow: hidden;
}
.about-page .about-photo-frame img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* right card typography */
.about-page .about-info-card{
  padding: 22px;
}
.about-page .about-title{
  margin: 0 0 10px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.02;
}
.about-page .about-intro{
  margin: 0 0 16px;
  opacity: .92;
}

/* mini cards (Опыт / Сферы) */
.about-page .about-mini-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 10px 0 10px;
}
.about-page .about-mini{
  padding: 16px 16px;
  border-radius: 22px;
}
.about-page .about-mini h3{
  margin: 0 0 8px;
  font-size: 18px;
}
.about-page .about-mini p{
  margin: 0;
  opacity: .9;
}

/* separator */
.about-page .about-sep{
  margin: 16px 0;
  opacity: .3;
}

/* buttons */
.about-page .actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* responsive */
@media (max-width: 980px){
  .about-page .about-layout{
    grid-template-columns: 1fr;
  }
  .about-page .about-photo-card{
    padding: 14px;
  }
  .about-page .about-mini-cards{
    grid-template-columns: 1fr;
  }
}

/* === ABOUT: neutralize Joomla content wrapper "panel" effect === */
.about-page{
  background: transparent !important;
}

/* если Joomla добавляет фон/паддинги на внутренние врапперы */
.com-content-article__body .about-page,
.item-page .about-page,
.com-content-article .about-page{
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* H1/lead: убрать "плашку" и большие отступы */
.about-page .page-hero{
  padding: 0 !important;
  margin: 0 0 18px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.about-page .page-hero h1{
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.about-page .page-hero .lead{
  margin: 0 !important;
  padding: 0 !important;
  max-width: 72ch;
  font-size: 18px;
  line-height: 1.6;
  opacity: .9;
}

/* Breadcrumbs: как в исходнике (маленькие, лёгкие) */
.about-page .breadcrumbs{
  font-size: 14px;
  opacity: .7;
  margin: 0 0 10px;
}
.about-page .breadcrumbs a{
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.18);
}
.about-page .breadcrumbs span{
  opacity: .9;
}

/* ABOUT page only (Itemid 103) — убрать joomla-обёртки/паддинги/фон */
body.itemid-103 .com-content-article,
body.itemid-103 .com-content-article__body{
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* чтобы page-head был как в исходнике */
body.itemid-103 .page-head{
  padding: 44px 0 0;
}

/* крошки как в исходнике (строкой, без “рамок/линий” от Joomla) */
body.itemid-103 .breadcrumbs{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}

/* Joomla breadcrumbs styling (match html-source look) */
.page-head .mod-breadcrumbs,
.page-head .breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
}

.page-head .mod-breadcrumbs a,
.page-head .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-head .mod-breadcrumbs a:hover,
.page-head .breadcrumb a:hover {
  text-decoration: underline;
}

.page-head .divider,
.page-head .breadcrumb .divider {
  opacity: .5;
}

/* Joomla Breadcrumbs — normalize (fix "1. 2. 3.") */
.page-head .mod-breadcrumbs ol,
.page-head .mod-breadcrumbs ul,
.page-head ol.breadcrumb,
.page-head ul.breadcrumb,
.page-head .breadcrumb {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}

.page-head .mod-breadcrumbs li,
.page-head .breadcrumb li {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Breadcrumb separators */
.page-head .breadcrumb li {
  display: inline;
}

.page-head .breadcrumb li:not(:first-child):before {
  content: " / ";
  opacity: .6;
}




/* links/typography */
.page-head .mod-breadcrumbs,
.page-head .breadcrumb {
  font-size: 14px;
  color: var(--muted);
}

.page-head .mod-breadcrumbs a,
.page-head .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-head .mod-breadcrumbs a:hover,
.page-head .breadcrumb a:hover {
  text-decoration: underline;
}

.page-head .mod-breadcrumbs li:not(:first-child):before {
  content: " / ";
  opacity: .6;
}


/* ===== FIX: убрать первый "/" в breadcrumbs ===== */

/* Скрываем первый divider */
.mod-breadcrumbs .divider:first-of-type,
.breadcrumb .divider:first-of-type {
  display: none !important;
}

/* Нормализуем список */
.mod-breadcrumbs ol,
.mod-breadcrumbs ul,
.breadcrumb {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.mod-breadcrumbs li {
  display: inline;
}

/* Отступ после "Вы здесь:" */
.mod-breadcrumbs {
  font-size: 14px;
  color: var(--muted);
}

.mod-breadcrumbs li:first-child + li:before {
  content: "" !important;
}

.page-head {
  margin-top: 24px;
}



  .section{ padding: 34px 0; }
  .section-sm{ padding: 22px 0; }


.mod-menu > li.active > a {
    text-decoration: none;
    text-underline-offset: 6px;
}

/* ===== MOBILE DRAWER: vertical menu ===== */

.mobile-drawer .navlinks{
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: stretch !important;
  margin: 16px 0 !important;
}

/* ссылки во всю ширину */
.mobile-drawer .navlinks a{
  display: block !important;
  width: 100% !important;

  padding: 14px 16px !important;
  border-radius: 16px !important;

  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;

  text-align: left !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--text) !important;

  white-space: normal !important;
}

/* активный пункт */
.mobile-drawer .navlinks a[aria-current="page"],
.mobile-drawer .navlinks .active > a{
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.15) !important;
}

/* убрать золотые/черные линии */
.mobile-drawer .navlinks a::before,
.mobile-drawer .navlinks a::after{
  content: none !important;
}

/* ========== MOBILE DRAWER: сделать пункты меню вертикальными ========== */
.mobile-drawer .navlinks ul.mod-menu,
.mobile-drawer .navlinks ul.mod-list,
.mobile-drawer .navlinks ul.nav {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: stretch !important;

  /* убираем любые дефолтные отступы UL */
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mobile-drawer .navlinks ul.mod-menu > li,
.mobile-drawer .navlinks ul.mod-list > li,
.mobile-drawer .navlinks ul.nav > li {
  width: 100% !important;
  margin: 0 !important;
}

.mobile-drawer .navlinks ul.mod-menu > li > a,
.mobile-drawer .navlinks ul.mod-list > li > a,
.mobile-drawer .navlinks ul.nav > li > a {
  display: block !important;
  width: 100% !important;

  /* чтобы выглядело как “кнопки” во всю ширину */
  padding: 12px 14px !important;
  border-radius: 14px !important;
  text-align: left !important;
}



/* =========================================================
   BLOG (/blog) — Premium cards from Joomla category blog
   Targets: .com-content-category-blog + your helpers:
   .materials-blog (leading) + .materials-item (intro)
   ========================================================= */

/* Page header (H1) */
.com-content-category-blog.blog > h1{
  margin: 6px 0 18px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* Remove "blog-items" default vertical look */
.com-content-category-blog__items{
  margin: 0;
  padding: 0;
}

/* --- GRID: make both leading + intro look like same grid --- */
.com-content-category-blog__items.materials-blog,
.com-content-category-blog__items.materials-item{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* If you want leading to be ONE wide (first big card), uncomment:
.com-content-category-blog__items.materials-blog{
  grid-template-columns: 1fr;
}
*/

/* --- ITEM becomes a "card" --- */
.com-content-category-blog__item.blog-item{
  margin: 0;
  padding: 0;
}

/* main card container inside item */
.com-content-category-blog__item.blog-item .item-content{
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(11,15,20,.10);
  border-radius: var(--r-lg);
  padding: 18px;
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* premium highlights */
.com-content-category-blog__item.blog-item .item-content::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  background:
    radial-gradient(900px 260px at 12% 0%, rgba(255,255,255,.65), rgba(255,255,255,0) 58%),
    radial-gradient(720px 260px at 92% 8%, rgba(21,43,68,.10), rgba(21,43,68,0) 62%),
    radial-gradient(680px 240px at 96% 92%, rgba(194,164,106,.08), rgba(194,164,106,0) 62%);
  opacity: .9;
}

/* hover premium */
.com-content-category-blog__item.blog-item .item-content:hover{
  transform: translateY(-2px);
  border-color: rgba(11,15,20,.14);
  box-shadow: 0 22px 60px rgba(6,10,16,.12), 0 1px 0 rgba(255,255,255,.55) inset;
}

/* ensure text above ::before */
.com-content-category-blog__item.blog-item .item-content > *{
  position: relative;
  z-index: 1;
}

/* H2 title */
.com-content-category-blog__item.blog-item .page-header h2{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Link title */
.com-content-category-blog__item.blog-item .page-header h2 a{
  display: block;
  text-decoration: none;
}

/* Excerpt text — keep it calm, 3 lines */
.com-content-category-blog__item.blog-item p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* If intro has multiple <p> (as in your examples) — space between them */
.com-content-category-blog__item.blog-item .item-content p + p{
  margin-top: 10px;
}

/* Readmore area: stick to bottom */
.com-content-category-blog__item.blog-item .readmore{
  margin-top: auto;
  padding-top: 14px;
}

/* Make "Подробнее" look like your premium quiet button */
.com-content-category-blog__item.blog-item .readmore a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11,15,20,.12);
  background: rgba(255,255,255,.65);
  color: rgba(11,15,20,.82);
  font-weight: 800;
  font-size: 13px;
  transition: .15s ease;
  text-decoration: none;
}

.com-content-category-blog__item.blog-item .readmore a:hover{
  background: rgba(255,255,255,.88);
  transform: translateY(-1px);
}

/* Kill Joomla icon if it shows weird */
.com-content-category-blog__item.blog-item .readmore .icon-chevron-right{
  display: none;
}

/* Make the whole card clickable feel: on hover underline title */
.com-content-category-blog__item.blog-item .item-content:hover .page-header h2 a{
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* -------- Responsive -------- */
@media (max-width: 980px){
  .com-content-category-blog__items.materials-blog,
  .com-content-category-blog__items.materials-item{
    grid-template-columns: 1fr;
  }
}

/* =========================
   BLOG PAGE FIX (/blog)
   1) normalize big H1
   2) merge leading + intro into one 3-col grid
   ========================= */

/* 1) H1: сделать как в премиум-секции (не гигант) */
.com-content-category-blog.blog > h1{
  margin: 10px 0 22px !important;
  font-size: clamp(34px, 3.6vw, 52px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  font-weight: 800 !important;
}

/* 2) СЛИВАЕМ grid: grid задаём на общем родителе */
.com-content-category-blog.blog{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* Чтобы заголовок занимал всю ширину */
.com-content-category-blog.blog > h1{
  grid-column: 1 / -1;
}

/* breadcrumbs / page-head тоже на всю ширину */
.page-head{
  grid-column: 1 / -1;
}

/* Joomla blocks (leading + intro) превращаем в "прозрачные контейнеры" */
.com-content-category-blog__items.materials-blog,
.com-content-category-blog__items.materials-item{
  display: contents; /* ключ: дети становятся прямыми элементами grid */
}

/* Отключаем любые старые grid, если где-то остались */
.com-content-category-blog__items{
  margin: 0 !important;
  padding: 0 !important;
}

/* Карточки: пусть растягиваются одинаково */
.com-content-category-blog__item.blog-item{
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* На мобилке — 1 колонка */
@media (max-width: 980px){
  .com-content-category-blog.blog{
    grid-template-columns: 1fr;
  }
}


/* BLOG H1 = как .page-title на /contact */
.com-content-category-blog.blog > h1{
    display: block;
    font-size: 2em !important;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

/* =========================
   BLOG ARTICLE (single) — premium typography
   Targets: .com-content-article item-pagepage-blog
   ========================= */

/* Общая геометрия страницы статьи */
.com-content-article.item-pagepage-blog{
  margin-top: 6px;
}

/* H1 как page-title (как на /contact) */
.com-content-article.item-pagepage-blog .page-header h1{
  margin: 10px 0 18px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* Тело статьи: ширина строки + “воздух” */
.com-content-article.item-pagepage-blog .com-content-article__body{
  max-width: 78ch;                /* комфортная ширина чтения */
  padding: 18px 18px;
  margin: 0;
  border-radius: 26px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(11,15,20,.08);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset;
}

/* Параграфы */
.com-content-article.item-pagepage-blog .com-content-article__body p{
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: -0.01em;
  color: rgba(11,15,20,.86);
}
.com-content-article.item-pagepage-blog .com-content-article__body p + p{
  margin-top: 14px;
}

/* Жирное — не “тяжёлое”, а премиально */
.com-content-article.item-pagepage-blog .com-content-article__body b,
.com-content-article.item-pagepage-blog .com-content-article__body strong{
  font-weight: 800;
  color: rgba(11,15,20,.94);
}

/* Нумерация “1. 2. 3.” внутри <b> — делаем как бейдж */
.com-content-article.item-pagepage-blog .com-content-article__body p > b:first-child{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(21,43,68,.08);
  border: 1px solid rgba(21,43,68,.14);
  color: rgba(21,43,68,.95);
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: .01em;
  margin-right: 10px;
  transform: translateY(-1px);
}

/* Ссылки в тексте */
.com-content-article.item-pagepage-blog .com-content-article__body a{
  color: rgba(21,43,68,.95);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.com-content-article.item-pagepage-blog .com-content-article__body a:hover{
  text-decoration-thickness: 2px;
}

/* Если где-то появятся списки */
.com-content-article.item-pagepage-blog .com-content-article__body ul,
.com-content-article.item-pagepage-blog .com-content-article__body ol{
  margin: 12px 0 0;
  padding-left: 1.1em;
  color: rgba(11,15,20,.86);
}
.com-content-article.item-pagepage-blog .com-content-article__body li{
  margin: 8px 0;
  line-height: 1.75;
}

/* Блоки цитаты (если добавишь) */
.com-content-article.item-pagepage-blog .com-content-article__body blockquote{
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(194,164,106,.65);
  background: rgba(194,164,106,.10);
  border-radius: 16px;
  color: rgba(11,15,20,.82);
}

/* Разделители */
.com-content-article.item-pagepage-blog .com-content-article__body hr{
  border: 0;
  height: 1px;
  background: rgba(11,15,20,.10);
  margin: 18px 0;
}

/* Mobile: чуть компактнее, без потери “воздуха” */
@media (max-width: 980px){
  .com-content-article.item-pagepage-blog .com-content-article__body{
    padding: 16px 14px;
    border-radius: 22px;
    max-width: 100%;
  }
  .com-content-article.item-pagepage-blog .com-content-article__body p{
    font-size: 16px;
    line-height: 1.75;
  }
  .com-content-article.item-pagepage-blog .com-content-article__body p + p{
    margin-top: 12px;
  }
}

/* =========================
   BLOG: нормальный H1 как на /contact (page-title)
   + убрать "пилюлю" с <b> в начале абзаца
   ========================= */

/* 1) H1 на странице списка (Категория/Блог) */
.com-content-category-blog > h1{
  margin: 10px 0 18px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* 2) H1 на странице материала */
.com-content-article.item-pagepage-blog .page-header h1{
  margin: 10px 0 18px;
  font-size: 2em;
  /* font-size: clamp(34px, 3.6vw, 52px); */
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* 3) КРИТИЧНО: отменяем "badge-пилюлю" для первого <b> в абзаце
      (иначе любой жирный лид с эмодзи превращается в огромную плашку) */
.com-content-article.item-pagepage-blog .com-content-article__body p > b:first-child{
  display: inline;
  min-width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  margin-right: 0;
  transform: none;
  color: inherit;
}

/* 4) Вместо пилюли — аккуратный "номер" (мягкий акцент) */
.com-content-article.item-pagepage-blog .com-content-article__body p > b:first-child{
  font-weight: 800;
  color: rgba(21,43,68,.95);
}

/* Мобилка: чтобы заголовок не “орал” */
@media (max-width: 980px){
  .com-content-category-blog > h1,
  .com-content-article.item-pagepage-blog .page-header h1{
    font-size: clamp(28px, 7.5vw, 40px);
    line-height: 1.08;
  }
}


/* =========================
   BLOG ARTICLE — full width glass panel
   ========================= */

/* Контейнер статьи — убираем ограничение ширины */
.com-content-article.item-pagepage-blog .com-content-article__body{
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 32px 36px;

  border-radius: 28px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(11,15,20,.10);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.55) inset;
}

/* Текст при этом остаётся комфортной ширины */
.com-content-article.item-pagepage-blog .com-content-article__body p,
.com-content-article.item-pagepage-blog .com-content-article__body ul,
.com-content-article.item-pagepage-blog .com-content-article__body ol{
  max-width: 78ch;          /* ограничиваем строку, а не плашку */
}

/* Отступы между абзацами */
.com-content-article.item-pagepage-blog .com-content-article__body p + p{
  margin-top: 16px;
}

/* Мобилка */
@media (max-width: 980px){
  .com-content-article.item-pagepage-blog .com-content-article__body{
    padding: 20px 18px;
    border-radius: 22px;
  }
}

/* =========================
   BLOG PAGE H1 — компактный
   ========================= */

/* Только страница списка материалов */
.com-content-category-blog > h1{
  margin: 6px 0 18px;
  font-size: clamp(28px, 3vw, 40px);   /* меньше, чем hero */
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* На мобилке ещё компактнее */
@media (max-width: 980px){
  .com-content-category-blog > h1{
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.2;
  }
}

/* =========================
   BLOG ARTICLE — нижний отступ
   ========================= */

/* Отступ снизу всей статьи */
.com-content-article.item-pagepage-blog{
  margin-bottom: 60px;
}

/* Если нужно больше воздуха внутри плашки */
.com-content-article.item-pagepage-blog .com-content-article__body{
  padding-bottom: 40px;
}

/* Мобилка */
@media (max-width: 980px){
  .com-content-article.item-pagepage-blog{
    margin-bottom: 40px;
  }
  .com-content-article.item-pagepage-blog .com-content-article__body{
    padding-bottom: 28px;
  }
}