/* 2026-style landing: clean, glass, gradients, motion, accessibility */
:root{
  /* Palette closer to Studwork: clean white + light sky + deep blue */
  --accent: #1D4ED8;         /* deep blue */
  --accent2: #0EA5E9;        /* sky blue */

  --text: #0F172A;           /* dark slate */
  --muted: rgba(15,23,42,.65);

  --panel: rgba(255,255,255,.92);
  --panel2: rgba(255,255,255,.98);
  --stroke: rgba(15,23,42,.08);

  --shadow: 0 20px 60px rgba(37,99,235,.12);
  --shadow2: 0 10px 30px rgba(37,99,235,.10);

  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
  --ease: cubic-bezier(.2,.9,.2,1);
}

*{box-sizing:border-box}
html,
body{
  margin:0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  /* Studwork-like neutral canvas: light warm gray with a soft blue tint */
  background: #f3f4f6;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.skip{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip:focus{left:16px; top:16px; width:auto; height:auto; padding:10px 12px; background:#111; border:1px solid var(--stroke); border-radius:12px; z-index:9999}

.topbar{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  backdrop-filter:saturate(160%) blur(14px);
  background:rgba(255,255,255,.85);
  border-bottom:1px solid var(--stroke);
  transition: transform .28s var(--ease);
}


/* Header layout: brand left, nav centered, CTA right (no overlap) */
.topbar__inner{
  /* allow header to grow if the brand title needs 2 lines */
  min-height:74px;
  height:auto;
  display:grid;
  /* give the brand the maximum possible space so the title stays on ONE line */
  grid-template-columns: 1fr auto auto;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand__text{
  min-width:0;
}
.brand__title{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand__subtitle{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nav{
  position:static !important;
  transform:none !important;
  justify-self:center;
  display:flex;
  align-items:center;
  gap:18px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.70);
  border:1px solid var(--stroke);
  backdrop-filter: blur(10px);
}
.topbar__cta{
  justify-self:end;
}
@media (max-width: 980px){
  .topbar__inner{
    grid-template-columns: 1fr auto auto;
    align-items:center;
  }
  .nav{ display:none; }
  .topbar__cta{ display:block; }
  .menu{ display:block; }
}
@media (max-width: 720px){
  .topbar__cta{ display:none; }
}
/* (cleanup) remove broken leftover rules from previous edits */

.topbar--down{
  transform: translateY(10px);
  box-shadow: var(--shadow2);
}

.brand{display:flex; align-items:center; gap:12px; min-width:0}
/* allow the brand (logo + title) to shrink gracefully without pushing layout */
.topbar__inner .brand{flex:1; min-width:0}
.brand__logo{
  width:42px; height:42px;
  padding:4px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(37,161,255,.95), rgba(58,140,255,.85));
  box-shadow: 0 10px 24px rgba(37,161,255,.20);
}
.brand__text{min-width:0}
.brand__title{
  font-weight:750;
  letter-spacing:-.02em;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 520px;
}

@media (max-width: 1040px){
  .brand__title{ max-width: 360px; }
}

@media (max-width: 720px){
  .brand__title{ max-width: 240px; font-size: 14px; }
}
.brand__subtitle{font-size:12.5px; color:var(--muted); margin-top:4px; display:flex; flex-wrap:wrap; gap:6px; align-items:center}
.pill{font-size:11px; padding:4px 8px; border-radius:999px; border:1px solid var(--stroke); background:rgba(255,255,255,.85)}
.pill--ghost{background:transparent}

.nav{display:flex; align-items:center; gap:18px}
.nav a{color:rgba(15,23,42,.75); font-size:14px}

.menu{display:none; width:44px; height:44px; border-radius:14px; border:1px solid var(--stroke); background: var(--panel); cursor:pointer}
.menu span{display:block; height:2px; width:18px; margin:5px auto; background:rgba(10,18,35,.80); border-radius:2px}

.mobile{
  display:none;
  border-top:1px solid var(--stroke);
  background: var(--panel);
  backdrop-filter:saturate(160%) blur(14px);
}
.mobile__inner{padding:14px 20px 18px; display:grid; gap:10px}
.mobile a{padding:10px 12px; border-radius:14px; border:1px solid var(--stroke); background:rgba(255,255,255,.03)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background: var(--panel);
  color:var(--text);
  box-shadow: var(--shadow2);
  transition:transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover{transform:translateY(-1px); background: var(--panel); border-color:rgba(14,29,56,.14); box-shadow: 0 14px 34px rgba(20,40,80,.12)}
.btn:active{transform:translateY(0)}
.btn--primary{
  border-color:rgba(37,99,235,.45);
  background:linear-gradient(135deg, #2563EB, #38BDF8);
  color:white;
  box-shadow: var(--shadow);
}

.btn--ghost{background:transparent}
.btn--sm{padding:10px 14px; border-radius:14px; font-size:14px}
.btn--block{width:100%}

.hero{padding:54px 0 24px; position:relative; isolation:isolate;}
/* Designer monotone hero backdrop (free stock) */
.hero::before{
  content:"";
  position:absolute;
  inset:-160px -80px -80px -80px;
  background: url('assets/bg.png') no-repeat center/cover;
  opacity:.14;
  pointer-events:none;
  z-index:-1;
}

.hero__grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:28px; align-items:center}
.dot{width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow:0 0 0 4px rgba(11,95,255,.12)}

.h1{
  margin:14px 0 0;
  font-size:clamp(36px, 4.2vw, 56px);
  line-height:1.03;
  letter-spacing:-.035em;
}
.grad{
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lead{
  margin:14px 0 0;
  color:var(--muted);
  font-size:16.5px;
  line-height:1.55;
  max-width:60ch;
}
.hero__cta{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}

.meta{display:flex; gap:16px; margin-top:18px; flex-wrap:wrap}
.meta__item{padding:12px 14px; border-radius:16px; border:1px solid var(--stroke); background:rgba(255,255,255,.03)}
.meta__num{font-weight:800; font-size:16px}
.meta__txt{color:var(--muted); font-size:12.5px; margin-top:2px}

.hero__visual{position:relative; min-height:380px}
.orb{
  position:absolute; border-radius:50%;
  filter:blur(10px);
  opacity:.9;
}
.orb--1{width:260px; height:260px; left:-10px; top:40px; background:radial-gradient(circle at 30% 30%, rgba(0,194,255,.65), rgba(11,95,255,.0) 70%)}
.orb--2{width:320px; height:320px; right:-40px; top:10px; background:radial-gradient(circle at 30% 30%, rgba(11,95,255,.65), rgba(11,95,255,.0) 70%)}

.card3d{
  position:absolute; inset:0; margin:auto;
  width:min(420px, 92%); height:360px;
  border-radius:var(--radius2);
  border:1px solid var(--stroke);
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(4deg) rotateY(-8deg);
  transition: transform .18s var(--ease);
  overflow:hidden;
}
.card3d__top{display:flex; justify-content:space-between; padding:18px}
.chip{
  width:44px; height:34px; border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(135deg, rgba(11,95,255,.55), rgba(0,194,255,.25));
}
.spark{
  width:110px; height:22px; border-radius:999px;
  background:linear-gradient(90deg, rgba(255,255,255,.0), rgba(255,255,255,.22), rgba(255,255,255,.0));
  transform:rotate(-12deg);
}
.card3d__mid{padding:18px}
.mini-title{font-weight:750; letter-spacing:-.02em}
.mini-bars{display:flex; gap:10px; margin-top:14px}
.mini-bars span{
  display:block; height:10px; border-radius:999px;
  background:rgba(255,255,255,.08); border:1px solid var(--stroke);
}
.mini-bars span:nth-child(1){width:55%}
.mini-bars span:nth-child(2){width:75%}
.mini-bars span:nth-child(3){width:40%}

.card3d__bottom{padding:18px; display:grid; gap:10px}
.mini-row{display:flex; justify-content:space-between; padding:12px 12px; border-radius:16px; background: var(--panel); border:1px solid rgba(255,255,255,.10)}
.kpi{color: var(--muted); font-size:13px}
.kpi--ok{color:rgba(255,255,255,.9)}

.trust{
  margin-top:18px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
/* Minimalistic badges (chips) */
.trust__item{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.92);
  color:rgba(15,23,42,.72);
  font-size:13px;
  font-weight:600;
  line-height:1;
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
.trust__sep{display:none}

.section{padding:56px 0}
.section--alt{
  background:rgba(255,255,255,.55);
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
}
.section__head{display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex-wrap:wrap}
.section__head .muted{margin:0; padding-top:8px; max-width:620px}

/* Stacked section header (title with subtitle below) */
.section__head--stack{flex-direction:column; align-items:flex-start; justify-content:flex-start}
.section__head--stack .muted{padding-top:0; margin-top:6px; max-width:760px; text-align:left}

/* Process section: keep subtitle under the heading (prevent wrap placing it above) */
#process .section__head{flex-direction:column; align-items:flex-start; justify-content:flex-start}
#process .section__head .muted{padding-top:0; margin-top:6px; max-width:760px; text-align:left}
.h2{margin:0; font-size:clamp(26px, 2.6vw, 34px); letter-spacing:-.03em}
.muted{color:var(--muted)}
.small{font-size:12.5px}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}

.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}
.product{
  position:relative;
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.84);
  padding:16px;
  box-shadow: var(--shadow2);
  transition:transform .16s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.product:hover{transform:translateY(-2px); background:rgba(255,255,255,.055); border-color:rgba(255,255,255,.18)}
.product__icon{font-size:24px}
.product h3{margin:10px 0 6px; letter-spacing:-.02em}
.product p{margin:0 0 10px; color:var(--muted); font-size:13.5px; line-height:1.45}
.product__price{display:flex; align-items:baseline; gap:6px; margin:10px 0 12px}
.product__price span{color:rgba(255,255,255,.66); font-size:13px}
.product__price b:nth-child(2){opacity:.9}
.product__price b:nth-child(3){font-size:22px; letter-spacing:-.02em}
.product__list{margin:12px 0 0; padding:0 0 0 16px; color: var(--muted); font-size:12.5px}
.product__list li{margin:6px 0}
.product--featured{
  background:
    radial-gradient(600px 280px at 30% 0%, rgba(11,95,255,.22), transparent 60%),
    rgba(255,255,255,.045);
  border-color:rgba(11,95,255,.35);
}
.product__tag{
  position:absolute; top:12px; right:12px;
  font-size:11px; padding:6px 10px; border-radius:999px;
  border:1px solid rgba(37,161,255,.28);
  background:rgba(37,161,255,.12);
  color:rgba(10,18,35,.78);
}

.note{
  margin-top:18px;
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background: var(--panel);
}
.note__icon{font-size:18px; line-height:1.2}
.note__text{color:rgba(8,14,28,.70); font-size:13.5px; line-height:1.45}

.steps{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}
.step{
  border-radius:var(--radius);
  border:1px solid var(--stroke);
  background: var(--panel);
  padding:16px;
}
.step__num{
  font-weight:900;
  letter-spacing:-.03em;
  background:linear-gradient(135deg, rgba(11,95,255,.9), rgba(0,194,255,.55));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  font-size:18px;
}
.step h3{margin:10px 0 6px}
.step p{margin:0; color:var(--muted); font-size:13.5px; line-height:1.45}

.cta{
  margin-top:18px;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--stroke);
  background:
    radial-gradient(900px 300px at 20% 20%, rgba(0,194,255,.16), transparent 60%),
    radial-gradient(900px 300px at 70% 0%, rgba(11,95,255,.18), transparent 60%),
    rgba(255,255,255,.03);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}

.faq{margin-top:18px; display:grid; gap:10px}
details{
  border-radius:18px;
  border:1px solid var(--stroke);
  background: var(--panel);
  padding:14px 14px;
}
summary{cursor:pointer; font-weight:650; letter-spacing:-.01em}
.faq__content{margin-top:10px; color:var(--muted); line-height:1.5; font-size:13.5px}

.contact{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:14px;
}
.form{
  border-radius:22px;
  border:1px solid var(--stroke);
  background: var(--panel);
  padding:16px;
}
.field{display:grid; gap:7px; margin-bottom:12px}
.field label{font-size:12.5px; color:rgba(255,255,255,.78)}
.field input, .field select, .field textarea{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.95);
  color:var(--text);
  outline:none;
}
.field input:focus, .field select:focus, .field textarea:focus{border-color:rgba(11,95,255,.55); box-shadow:0 0 0 4px rgba(11,95,255,.14)}
.field--full{grid-column:1/-1}
.form__hint{margin-top:10px; font-size:12.5px}

/* Form status (more visible than toast) */
.form__status{
  margin-bottom:12px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.86);
  font-size:13px;
  line-height:1.4;
}
.form__status.is-ok{border-color:rgba(34,197,94,.40); background:rgba(34,197,94,.12)}
.form__status.is-err{border-color:rgba(239,68,68,.40); background:rgba(239,68,68,.10)}

.side{display:grid; gap:14px}
.side__card{
  border-radius:22px;
  border:1px solid var(--stroke);
  background: var(--panel);
  padding:16px;
}
.side__rows{display:grid; gap:10px; margin-top:12px}
.row{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border-radius:16px; border:1px solid var(--stroke); background:rgba(255,255,255,.82)}
.side__card--mini{padding:14px}
.mini{display:flex; gap:12px; align-items:flex-start}
.mini__icon{font-size:18px; line-height:1.2}
.mini__title{font-weight:700}

.footer{
  padding:56px 0;
  border-top:1px solid var(--stroke);
  border-bottom:1px solid var(--stroke);
  background:rgba(255,255,255,.55);
  backdrop-filter: blur(12px);
}
.footer__inner{display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex-wrap:wrap}
.footer__right{display:flex; gap:14px; flex-wrap:wrap; color:rgba(15,23,42,.75); font-size:14px}
.footer__note{margin-top:10px; max-width:520px; line-height:1.45}
.footer__note{max-width:560px; margin-top:8px; line-height:1.45}
.brand--footer .brand__logo{
  width:42px; height:42px;
  padding:4px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(37,161,255,.95), rgba(58,140,255,.85));
  box-shadow: 0 10px 24px rgba(37,161,255,.20);
}
.brand--footer .brand__subtitle{display:block}
.toast{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
  z-index:99;
}
.toast__inner{
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background: var(--panel);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow2);
  color:var(--text);
  font-size:13.5px;
}

/* Responsive */
@media (max-width: 1040px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .steps{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .hero__visual{min-height:320px}
}
@media (max-width: 720px){
  .nav{display:none}
  .menu{display:block; width:44px; height:44px; border-radius:14px; border:1px solid var(--stroke); background: var(--panel); cursor:pointer}
  .grid{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
  .hero{padding-top:36px}
}
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important; transition:none !important; animation:none !important}
  .card3d{transform:none}
}


main{ padding-top: 74px; }

.footer__inner--center{
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer__right{
  justify-content: center;
}

/* Footer: no logo, centered brand text */
footer .brand--footer .logo-link{
  justify-content: center;
}

/* Footer disclaimer in one line on wider screens */
@media (min-width: 720px){
  .footer__note{
    white-space: nowrap;
    max-width: none;
  }
}


/* Align VK buttons across cards */
.product .btn--block{ margin-top:auto; }
.product__list{ margin-top:12px; }

.product__list{ order: 9; }
.product .btn--block{ order: 10; }


/* Hero form replaces the decorative card */
.hero__grid{ align-items:start; }
.hero__visual{ min-height:auto; }

.heroForm{
  position:relative;
  width:min(460px, 100%);
  margin-left:auto;
  padding:16px;
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
}
.heroForm .form{
  padding:0;
  border:none;
  background: transparent;
}
.heroForm__head{
  padding:6px 4px 14px;
}
.heroForm__title{
  font-weight:800;
  letter-spacing:-.02em;
  font-size:18px;
}
.heroForm__sub{
  margin-top:6px;
  color: rgba(15,23,42,.65);
  font-size:13.5px;
  line-height:1.35;
}

.contactInfo{
  border-radius:22px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  padding:16px;
  box-shadow: var(--shadow2);
}
.contactInfo__rows{ display:grid; gap:10px; margin-top:12px; }

/* Keep buttons aligned and fields tighter in hero */
.heroForm .field{ margin-bottom:10px; }
.heroForm textarea{ resize:vertical; }

@media (max-width: 1040px){
  .heroForm{ width:100%; margin-left:0; }
}

/* Larger product cards */
.product{
  padding:20px;
}
.product__icon{ font-size:28px; }
.product h3{ font-size:18px; }
.product p{ font-size:14px; line-height:1.55; }
.product__price b:nth-child(3){ font-size:26px; }

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

/* Premium contacts */
.contact--premium{
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
}
.contactPremium{
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding:22px;
  position:relative;
  overflow:hidden;
}
.contactPremium::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(700px 280px at 10% 0%, rgba(56,189,248,.20), transparent 60%),
              radial-gradient(700px 280px at 80% 0%, rgba(37,99,235,.18), transparent 60%);
  pointer-events:none;
}
.contactPremium__badge{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.75);
  font-size:12.5px;
  color: rgba(15,23,42,.75);
}
.contactPremium__title{
  position:relative;
  margin:14px 0 8px;
  font-size:22px;
  letter-spacing:-.02em;
}
.contactPremium__cards{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}
.contactCard{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.85);
  box-shadow: 0 10px 30px rgba(37,99,235,.08);
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.contactCard:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(37,99,235,.12);
}
.contactCard__icon{
  width:64px;
  height:64px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(37,99,235,.18), rgba(56,189,248,.18));
}
.contactCard__label{ font-size:12.5px; color: rgba(15,23,42,.60); }
.contactCard__value{ font-weight:750; letter-spacing:-.01em; color: rgba(15,23,42,.90); }
.contactCard__arrow{ margin-left:auto; color: rgba(15,23,42,.55); font-size:18px; }

.contactPremium__note{
  position:relative;
  margin-top:16px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(37,99,235,.14);
  background: rgba(37,99,235,.06);
  color: rgba(15,23,42,.74);
  font-size:13px;
}

.contactSide__box{
  border-radius: var(--radius2);
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding:22px;
}
.contactSide__title{
  font-weight:800;
  letter-spacing:-.02em;
  font-size:16px;
}
.contactSide__text{ margin-top:8px; line-height:1.55; }

@media (max-width: 980px){
  .contact--premium{ grid-template-columns: 1fr; }
  .contactPremium__cards{ grid-template-columns: 1fr; }
}

/* Details section */
.section--details{
  padding-top: 40px;
}
.details{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.details__item{
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
}
.details__item h3{
  margin-bottom: 8px;
  font-size: 17px;
  letter-spacing: -.01em;
}
.details__item p{
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 900px){
  .details{
    grid-template-columns: 1fr;
  }
}

/* The old divider block created a visible stripe; keep it disabled. */
.sectionDivider{ display:none !important; }

/* Surface container for services + details (separates from hero) */
.surface{
  margin-top: 34px;
  padding: 28px 0 18px;
  background: rgba(255,255,255,.92);
  /* No hard borders here: they look like a "полоса" behind the first heading */
  border-top: 0;
  border-bottom: 0;
  border-radius: 34px 34px 34px 34px;
  box-shadow: 0 22px 70px rgba(37,99,235,.10);
}
/* Divider is disabled site-wide (kept in HTML for compatibility). */
/* Inside surface, sections should be transparent to show surface bg */
.surface .section{ background: transparent; }
/* Give headings comfortable top spacing */
.surface .section:first-child{ padding-top: 10px; }
@media (max-width: 720px){
  .surface{ border-radius: 26px; margin-top: 26px; padding: 22px 0 14px; }
}

.contactCard__icon img{
  width:38px;
  height:38px;
  display:block;
}

.contactCard__icon{
  font-size:38px;
}

.details__item strong{
  font-weight:700;
  color:rgba(15,23,42,.9);
}

/* Hero kicker (replaces removed .badge) */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.78);
  color:rgba(15,23,42,.75);
  font-size:12.5px;
  font-weight:600;
}
.kicker .dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 6px 18px rgba(37,99,235,.22);
}



/* ===== VK Button Fix ===== */
.vk-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0077ff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.vk-button:hover {
    background: #ffffff;
    color: #0077ff;
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.25);
    transform: translateY(-3px);
}



/* ===== FIX VK BUTTON HOVER ===== */
.btn--primary {
    background: #0077ff;
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn--primary:hover {
    background: #ffffff;
    color: #0077ff;
    
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.25);
    transform: translateY(-3px);
}


/* ===== FIX HEADER LOGO LINK ===== */
.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}
.logo-link:hover {
    opacity: 0.9;
}


/* ===== FIX HEADER MENU HOVER ===== */
header a {
    color: inherit;
    transition: color 0.3s ease, opacity 0.3s ease;
}

header a:hover {
    color: #0077ff;
    opacity: 0.9;
}



header nav a:hover {
    
    color: #0077ff;
}


/* ===== MENU STABLE OUTLINE FIX ===== */
header nav a {
    background: none;
    border: 2px solid transparent; /* сразу задаем границу */
    padding: 6px 14px;
    border-radius: 6px;
    box-sizing: border-box; /* чтобы размеры не менялись */
    transition: color 0.2s ease, border-color 0.2s ease;
}

header nav a:hover {
    border-color: #0077ff; /* меняем только цвет */
    color: #0077ff;
}



.btn:hover,
button:hover,
input[type="submit"]:hover {
    background: #ffffff;
    color: #0077ff;
    box-shadow: 0 0 0 2px #0077ff; /* имитация рамки без изменения размера */
}


/* ===== MINIMAL BUTTON HOVER ===== */
.btn,
button,
input[type="submit"] {
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    opacity: 0.95;
}


/* ===== FIX BUTTON CURSOR ===== */
.btn,
button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}




/* ===== ABOUT SECTION (MATCH OTHER SECTIONS) ===== */
/* The "Наша история" block uses .section.section--alt now.
   Keep only typography and inner cards styling here. */

/* Layout: readable text block + facts on the side (desktop), stacked (mobile) */
.about__grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
  margin-top: 8px;
}

.about__copy{
  max-width: 760px;
}

.about__text{
  margin: 0;
  text-align: left;
  color: var(--muted);
  line-height: 1.75;
}

.about__text + .about__text{
  margin-top: 12px;
}

.about__stats{
  display: grid;
  gap: 12px;
}

.about__item{
  text-align:left;
  padding: 10px 14px;
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow2);
}

.about__item strong{
  display:block;
  font-size: 22px;
  /* In "Наша история" the main labels should be black (not accent-blue) */
  color: var(--text);
  line-height: 1.1;
}

.about__item span{
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 880px){
  .about__grid{
    grid-template-columns: 1fr;
  }
  .about__copy{
    max-width: 100%;
  }
}




/* ===== FOOTER LOGO HOVER (MATCH HEADER) ===== */
footer .logo-link{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

footer .logo-link:hover{
  opacity: 0.9;
}

footer img[src*="logo"]{
  transition: opacity 0.2s ease;
}

footer img[src*="logo"]:hover{
  opacity: 0.9;
}


/* ===== FOOTER LOGO COLOR HOVER (MATCH HEADER) ===== */
footer .brand__text,
footer .brand__title{
  transition: color 0.2s ease;
}

footer .logo-link:hover .brand__text,
footer .logo-link:hover .brand__title{
  color: var(--accent);
}

/* если текст без logo-link */
footer .brand__text:hover,
footer .brand__title:hover{
  color: var(--accent);
}




/* ===== HERO FORM: SOFT FIT (LESS CONTRAST, MORE PREMIUM) ===== */
.form{
  /* softer than --panel (.92) so it doesn’t “wash out” the hero */
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.10); /* subtle stroke, not harsh */
  box-shadow: 0 20px 55px rgba(15,23,42,.10);
}

/* Inputs: slightly less white, still clean */
.field input, .field select, .field textarea{
  background: rgba(255,255,255,.86);
  border-color: rgba(15,23,42,.12);
}

/* Optional: focus ring a bit calmer */
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

/* Labels: keep readable */
.field label{
  color: rgba(255,255,255,.86);
}


/* ===== HERO FORM CONTAINER: LESS WHITE (SOFT FIT) ===== */
.heroForm{
  background: rgba(255,255,255,.72);
  border-color: rgba(15,23,42,.10);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
}


/* ===== TUNING: REMOVE "WHITE BLOCK" FEEL (STRONGER, STILL CLEAN) ===== */
.heroForm{
  /* less white + slight gradient for a premium “glass card” */
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.48));
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 18px 55px rgba(15,23,42,.12);
}

/* make inner inputs a touch softer (no “paper white”) */
.heroForm .field input,
.heroForm .field select,
.heroForm .field textarea{
  background: rgba(255,255,255,.82);
}

/* Mobile menu panel was also very white */
.mobile{
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.mobile a{
  background: rgba(255,255,255,.06);
}


/* ===== HERO FORM: CLEAN GLASS (NO TEXTURE / NO GRADIENT) ===== */
.heroForm{
  background: rgba(255,255,255,.58) !important;
  border: 1px solid rgba(255,255,255,.38) !important;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.heroForm::before,
.heroForm::after{
  content: none !important;
}


/* ===== HERO FORM: REMOVE OUTLINE "SQUARE" ARTIFACT ===== */
.heroForm{
  border: none !important;
  background: rgba(255,255,255,.58) !important;
  box-shadow: 0 18px 55px rgba(15,23,42,.12) !important;
}

/* ensure inner form doesn't introduce its own frame */
.heroForm .form{
  border: none !important;
  background: transparent !important;
}


/* ===== HERO FORM: REMOVE CARD BLOCK (NO "SQUARE" CONTAINER) ===== */
.heroForm{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.heroForm::before,
.heroForm::after{
  content: none !important;
}

.heroForm__head{
  padding: 0 0 14px !important;
}


/* ===== FIX DOUBLE CONTAINER ISSUE ===== */

/* Оставляем heroForm как карточку */
.heroForm{
  background: rgba(255,255,255,.85) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: 22px !important;
  padding: 18px !important;
  box-shadow: var(--shadow2) !important;
}

/* Убираем внутренний квадрат у .form */
.heroForm .form{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Убираем возможное обрезание */
.heroForm,
.heroForm .form{
  overflow: visible !important;
}


/* ===== HERO FORM: COOL PREMIUM GLASS (NOT WHITE) ===== */
.heroForm{
  background: rgba(15,23,42,.20) !important;          /* dark glass */
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.25) !important;
  backdrop-filter: saturate(160%) blur(18px) !important;
  -webkit-backdrop-filter: saturate(160%) blur(18px) !important;
}

/* Title/subtitle in the form head */
.heroForm__title{ color: rgba(255,255,255,.95) !important; }
.heroForm__sub{ color: rgba(255,255,255,.75) !important; }

/* Labels */
.heroForm .field label{
  color: rgba(255,255,255,.82) !important;
}

/* Inputs: clean, slightly translucent, no harsh white */
.heroForm .field input,
.heroForm .field select,
.heroForm .field textarea{
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: rgba(255,255,255,.92) !important;
}

/* Placeholder */
.heroForm .field input::placeholder,
.heroForm .field textarea::placeholder{
  color: rgba(255,255,255,.55) !important;
}

/* Focus: premium blue ring */
.heroForm .field input:focus,
.heroForm .field select:focus,
.heroForm .field textarea:focus{
  border-color: rgba(56,189,248,.55) !important;
  box-shadow: 0 0 0 4px rgba(56,189,248,.18) !important;
}

/* Buttons inside the form: keep minimal hover, but ensure contrast on dark */
.heroForm .btn{
  box-shadow: none;
}
.heroForm .btn--primary{
  box-shadow: 0 18px 55px rgba(37,99,235,.25);
}


/* ===== HERO TITLE: SOLID TEXT (REMOVE 'OVERLAY' LOOK) ===== */
.grad{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--text) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.35); /* subtle, keeps depth on light bg */
}


/* ===== HERO BACKGROUND LIGHTER ===== */
.hero{
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(37,99,235,.14), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%) !important;
}


/* ===== HERO FORM: DARK TEXT ===== */
.heroForm{
  color: var(--text) !important;
}

.heroForm .heroForm__title,
.heroForm .heroForm__sub,
.heroForm .field label,
.heroForm .field input,
.heroForm .field select,
.heroForm .field textarea{
  color: var(--text) !important;
}

.heroForm .field input::placeholder,
.heroForm .field textarea::placeholder{
  color: rgba(15,23,42,.45) !important;
}


/* ===== HERO FORM: HARMONIZED WITH LIGHT HERO BACKGROUND ===== */
.heroForm{
  /* soft “porcelain” panel that matches #f8fbff → #eef4ff */
  background: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(37,99,235,.14) !important;
  box-shadow: 0 18px 55px rgba(15,23,42,.10) !important;
  border-radius: 22px !important;
}

/* Head spacing looks cleaner on light panels */
.heroForm__head{
  padding: 2px 2px 14px !important;
}

/* Fields: cleaner, less contrast than pure white */
.heroForm .field input,
.heroForm .field select,
.heroForm .field textarea{
  background: rgba(255,255,255,.82) !important;
  border: 1px solid rgba(15,23,42,.10) !important;
  border-radius: 16px;
}

/* Focus ring: in brand palette, subtle */
.heroForm .field input:focus,
.heroForm .field select:focus,
.heroForm .field textarea:focus{
  border-color: rgba(37,99,235,.35) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10) !important;
}

/* Labels: slightly muted but readable */
.heroForm .field label{
  color: rgba(15,23,42,.70) !important;
}

/* Placeholder: softer */
.heroForm .field input::placeholder,
.heroForm .field textarea::placeholder{
  color: rgba(15,23,42,.40) !important;
}

/* Primary button: keep gradient but slightly calmer on light background */
.heroForm .btn--primary{
  box-shadow: 0 16px 40px rgba(37,99,235,.20) !important;
}


/* ===== HERO FORM FINAL TUNING (9/10 VERSION) ===== */

/* Делаем панель легче */
.heroForm{
  background: rgba(255,255,255,.64) !important;   /* было .72 */
  border: 1px solid rgba(37,99,235,.10) !important;
  box-shadow: 0 14px 40px rgba(15,23,42,.08) !important; /* меньше тени */
}

/* Поля ещё мягче */
.heroForm .field input,
.heroForm .field select,
.heroForm .field textarea{
  background: rgba(255,255,255,.78) !important;
}

/* Усиливаем главный заголовок (чтобы он снова стал центром внимания) */
.hero h1{
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Немного усилим подзаголовок */
.hero p{
  color: rgba(15,23,42,.75);
}



/* ===== HERO BACKGROUND: SLIGHTLY DARKER (MICRO ADJUST) ===== */
.hero{
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(37,99,235,.18), transparent 60%),
    linear-gradient(180deg, #f1f6ff 0%, #e6efff 100%) !important;
}


/* ===== HERO BACKGROUND: REMOVE PURPLE TONE ===== */
.hero{
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(56,189,248,.22), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(14,165,233,.18), transparent 60%),
    linear-gradient(180deg, #f2f8ff 0%, #e9f3ff 100%) !important;
}


/* ===================================================================
   CONSISTENT SEPARATORS (FIX)
   ===================================================================
   This block ONLY touches the visual separators the user pointed out
   and avoids any layout-wide rules that could affect the header.

   A) Hero → Services: remove the extra "divider + margins" gap and
      rely on a single divider (the .surface top border), like the
      Services → "Как всё происходит" boundary.

   B) About → FAQ is the reference look (About has border-bottom).
      Make these boundaries match it:
        - FAQ → Contacts
        - Contacts → Footer
*/

/* A) Hero → Services */
.sectionDivider{ display:none !important; }
#products.section{ padding-top: 0 !important; }
.surface{ margin-top: 0 !important; }

/* Keep the large services surface clean at the page edges */
.surface{ border-radius: 0 !important; overflow: hidden; background-clip: padding-box; }

/* IMPORTANT: remove the visible "полоса" (hard line) across the site */
.surface{ border-top: 0 !important; border-bottom: 0 !important; }

/* Final palette + hero backdrop (Studwork-like: white + soft sky + deep blue) */
.hero{
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(14,165,233,.20), transparent 60%),
    radial-gradient(900px 520px at 112% 10%, rgba(29,78,216,.14), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 55%, #edf4ff 100%) !important;
}

/* B) Last four transitions: keep the same "alt" look (borders + soft bg)
   as the first transitions the user approved. */

/* ===================================================================
   FINAL OVERRIDE (doesn't touch header layout)
   Goal: match Studwork page feel — neutral gray canvas + centered
   white "cards" without any full-width stripes.
   =================================================================== */

/* Neutral background (already set on body, keep it here as a hard lock) */
html, body{ background:#f3f4f6 !important; }

/* Hero should sit on the same canvas (no gradients/images => no seams) */
.hero{ background: transparent !important; }
.hero::before{ display:none !important; }

/* Remove the full-width white slab and shadow that can look like a stripe */
.surface{
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

/* All content sections (services/process/about/faq/contacts) as centered cards */
.section{
  width: min(var(--max), calc(100% - 40px));
  margin: 26px auto;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}

/* Remove alt background/borders so it matches the same card style */
.section--alt{
  background: #ffffff !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Make first services section not stick to hero (Studwork has breathing room) */
#products.section{ padding-top: 56px !important; }

/* No divider element anywhere */
.sectionDivider{ display:none !important; height:0 !important; margin:0 !important; padding:0 !important; }

/* Service cards like Studwork: clean white, subtle shadow, readable prices */
.product{
  background:#fff !important;
  border:1px solid rgba(15,23,42,.10) !important;
  box-shadow: 0 8px 22px rgba(15,23,42,.08) !important;
}
.product:hover{
  transform: translateY(-2px);
  background:#fff !important;
  border-color: rgba(15,23,42,.14) !important;
}
.product__price span,
.product__price b:nth-child(2){
  color: rgba(15,23,42,.55) !important;
}
.product__price b:nth-child(3){
  color: rgba(15,23,42,.92) !important;
}
.product__list{ color: rgba(15,23,42,.65) !important; }

/* ===== Header brand title: always ONE line (no wrapping) ===== */
header .brand__title{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
  /* shrink a bit on narrower screens so the whole phrase fits more often */
  font-size: clamp(12.5px, 1.25vw, 16px) !important;
  line-height: 1.2 !important;
  max-width: none !important;
}

@media (max-width: 720px){
  .topbar__inner{ gap: 12px; }
}


/* Mobile hero/layout fixes: prevent overflow and keep form full-width */
@media (max-width: 720px){
  .hero__cta{flex-direction:column; align-items:stretch}
  .hero__cta .btn{width:100%}
  .trust{margin-top:14px}
  .heroForm{width:100%; margin-left:0}
  .heroForm{padding:14px}
}

/* ===== MOBILE FIXES (v5) =====
   Цель: на телефонах ничего не обрезается по ширине — плашка/чипсы/форма.
   Правки ТОЛЬКО в mobile media-query и стоят в самом конце файла.
*/

@media (max-width: 720px){
  /* Чипсы под кнопками: вместо горизонтального скролла — перенос строк */
  .trust{
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 8px;
  }
  .trust__item{
    flex: 0 1 auto;
    max-width: 100%;
    white-space: normal;
  }

  /* Длинная "пилюля"-кнопка сверху: разрешаем перенос текста */
  .kicker{
    max-width: 100%;
    white-space: normal;
    /* Важно: НЕ включаем flex-wrap, иначе точка может уехать на отдельную строку.
       Перенос текста работает и без flex-wrap при white-space: normal. */
    flex-wrap: nowrap;
    align-items: flex-start;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Точку визуально выравниваем по первой строке текста */
  .kicker .dot{ margin-top: 4px; flex: 0 0 auto; }
}

@media (max-width: 420px){
  /* Чуть больше полезной ширины внутри карточек-секций */
  .section{
    width: calc(100% - 24px) !important;
    margin: 18px auto !important;
  }
  .container{ padding: 0 14px !important; }

  /* Заголовок/текст — чтобы не раздували высоту и не давили на форму */
  .h1{ font-size: 30px; line-height: 1.08; }
  .lead{ font-size: 15px; line-height: 1.5; }

  /* Форма: меньше внутренних отступов, поля чуть ниже */
  .form{ padding: 14px !important; }
  .field input, .field select, .field textarea{
    padding: 10px 10px;
    border-radius: 14px;
  }
  textarea{ min-height: 96px; }
}

@media (max-width: 360px){
  .h1{ font-size: 28px; }
  .btn{ padding: 12px 14px; }
}


/* v7: Mobile menu VK button should be primary (blue bg, white text) */
@media (max-width: 720px){
  .mobile a.btn.btn--primary{
    background:linear-gradient(135deg, #2563EB, #38BDF8);
    color:#fff;
    border-color:rgba(37,99,235,.45);
    box-shadow: var(--shadow);
  }
  .mobile a.btn.btn--primary:hover{
    transform:translateY(-1px);
  }
}


/* v8: Footer brand title fits on ONE line on mobile (like header) */
@media (max-width: 720px){
  .footer__left{ width: 100%; }
  footer .logo-link{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
  }
  footer .brand__text{ min-width: 0; }
  footer .brand__title{
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    /* shrink more aggressively on phones so the full phrase fits */
    font-size: clamp(12px, 3.6vw, 16px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px;
  }
  footer .brand__logo{
    width: 36px;
    height: 36px;
    padding:5px;
    border-radius: 12px;
  }
}

/* ===== MOBILE FIX v9: footer brand in one line (no truncation) ===== */
@media (max-width: 480px){
  .footer{ padding: 44px 0; }
  .footer .container{ padding-left: 12px; padding-right: 12px; }
  footer .logo-link{ max-width: 100%; }
  footer .brand__logo{ width: 38px; height: 38px; padding:5px; border-radius: 13px; }
  /* make the full title fit in a single line like header */
  footer .brand__title{
    font-size: clamp(12px, 3.7vw, 14px);
    line-height: 1.15;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
}

/* ===== MOBILE FIX v9.1: override previous ellipsis in footer title ===== */
@media (max-width: 480px){
  footer .brand__title{
    overflow: visible !important;
    text-overflow: clip !important;
  }
}


/* v14: footer brand centered, not clickable, not bold */
.footer__inner--center .footer__left{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
footer .brand--footer{
  width: 100%;
  display: flex;
  justify-content: center;
}
footer .brand--footer .brand__title{
  font-weight: 400 !important;
}
footer .logo-link--static{
  cursor: default !important;
  pointer-events: none !important;
}

/* v15: footer brand should look like the rest of footer text (less prominent) */
footer .brand--footer .brand__title{
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(15,23,42,.75) !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
}
@media (max-width: 480px){
  footer .brand--footer .brand__title{
    font-size: 13.5px !important;
  }
}

/* v15: dot in contact note should stay perfectly round on mobile */
@media (max-width: 720px){
  .contactPremium__note .dot{
    width: 8px;
    height: 8px;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(11,95,255,.12);
    flex: 0 0 auto;
  }
}

/* Privacy policy page */
.policyPage .policy{
  padding-top: 32px;
}
.policy__top{
  display:flex;
  justify-content:flex-start;
  margin-bottom: 18px;
}
.policy__h1{
  margin-top: 0;
  margin-bottom: 18px;
}
.policy__content{
  max-width: 900px;
}
.policy__h2{
  margin-top: 22px;
  margin-bottom: 10px;
}
.policy__p{
  margin: 0 0 10px 0;
  line-height: 1.75;
}
.policy__list{
  margin: 0 0 12px 18px;
  padding: 0;
}
.policy__list li{
  margin: 6px 0;
  line-height: 1.7;
}
.policy-link{
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-link:hover{
  text-decoration-thickness: 2px;
}
