:root{
  --bg:#070812;
  --bg2:#0b0d1b;

  --card: rgba(18, 18, 32, .62);

  --text:#eef0ff;
  --muted:#a8afc9;

  --lime:#96CC00;
  --purple:#960096;

  --grad-brand: linear-gradient(90deg, var(--lime), var(--purple));

  --border: rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.45);

  --radius:18px;
  --container:1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);

  background:
    radial-gradient(1000px 520px at 15% 0%, rgba(150,204,0,.15), transparent 55%),
    radial-gradient(1000px 520px at 82% 6%, rgba(150,0,150,.22), transparent 58%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--container); margin:0 auto; padding:0 20px}

/* ================= TOPBAR ================= */

.topbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(16px);
  background:rgba(7,8,18,.85);
  border-bottom:1px solid var(--border);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

/* ===== HEADER LOGO ===== */
.brand__logo{
  height:46px;
  width:auto;
  object-fit:contain;
  display:block;
}

/* Text next to logo */
.brand__text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.brand__name{
  font-weight:900;
  font-size:15px;
  line-height:1.1;
}

.brand__tag{
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.topbar__cta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:800;
  cursor:pointer;
  background:rgba(255,255,255,.05);
  transition:.2s ease;
}

.btn--primary{
  background:var(--grad-brand);
  border:none;
  color:#070812;
}

.btn--primary:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

.btn--ghost:hover{
  background:rgba(255,255,255,.08);
}

.btn--full{width:100%}

.btn:disabled{
  opacity:.65;
  cursor:not-allowed;
  transform:none;
}

/* ================= HERO ================= */

.hero{padding:54px 0 30px}

.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:32px;
}

h1{
  font-size:44px;
  margin:0 0 12px;
}

.lead{
  color:var(--muted);
  line-height:1.6;
  margin-bottom:18px;
}

.checks{
  list-style:none;
  padding:0;
  margin:0 0 18px;
}

.checks li{
  margin-bottom:8px;
  padding-left:26px;
  position:relative;
}

.checks li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--lime);
  font-weight:900;
}

.micro{
  font-size:12px;
  color:var(--muted);
  margin-top:14px;
}

/* ================= CARD ================= */

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
}

.card__title{
  margin:0 0 6px;
  font-size:20px;
  font-weight:900;
}

.card__subtitle{
  margin:0 0 16px;
  color:var(--muted);
  font-size:13px;
}

/* ================= FORM ================= */

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

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

label{
  font-size:13px;
  display:grid;
  gap:6px;
}

/* Inputs baseline */
input, select, textarea{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  color:var(--text);
  outline:none;
}

/* Safari/Chrome autofill fix (prevents white background + unreadable text) */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill{
  -webkit-text-fill-color: var(--text) !important;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px rgba(255,255,255,.05) inset !important;
  caret-color: var(--text);
}

textarea{resize:vertical;min-height:90px}

input:focus,select:focus,textarea:focus{
  border-color:var(--lime);
  box-shadow: 0 0 0 3px rgba(150,204,0,.12);
}

/* FIX DROPDOWN WHITE TEXT ISSUE (options list) */
select option{
  background:#111222;
  color:#ffffff;
}

/* Make select readable even on some mobile skins */
select{
  color: var(--text);
}

/* Disabled fields (JS uses disabled during submit) */
input:disabled, select:disabled, textarea:disabled{
  opacity:.7;
  cursor:not-allowed;
}

/* Hint line under button */
.hint{
  min-height:18px;
  font-size:13px;
  font-weight:800;
  color: var(--muted);
}

/* JS error state */
.field-error{
  border-color: rgba(255, 143, 163, .95) !important;
  box-shadow: 0 0 0 3px rgba(255, 143, 163, .14) !important;
}

.field-error-text{
  color:#ff8fa3;
}

/* ================= SECTIONS ================= */

.section{padding:40px 0}
.section--alt{
  background:rgba(255,255,255,.02);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

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

.step{
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  padding:16px;
  border-radius:var(--radius);
}

.step__n{
  width:30px;
  height:30px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(150,0,150,.25);
  margin-bottom:8px;
  font-weight:900;
}

/* ================= FOOTER ================= */

.footer{
  padding:30px 0;
}

.footer__grid{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
}

/* Footer logo */
.brand--footer .brand__logo{
  height:40px;
  width:auto;
}

.footer__links{
  color:var(--muted);
  display:flex;
  gap:14px;
  align-items:center;
}

/* ================= RESPONSIVE ================= */

@media(max-width:920px){

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

  h1{
    font-size:34px;
  }

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

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

  .brand__logo{
    height:40px;
  }

  .brand--footer .brand__logo{
    height:36px;
  }
}
/* ============================= */
/* APPLIANCE TYPES SECTION */
/* ============================= */

.appliance-types {
  padding: 80px 0;
  text-align: center;
}

.appliance-types h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.appliance-card {
  background: #111;
  padding: 25px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.05);
}

.appliance-card:hover {
  transform: translateY(-5px);
  border: 1px solid #96CC00;
}

.appliance-card img {
  width: 60px;
  margin-bottom: 15px;
}

.appliance-card span {
  display: block;
  font-weight: 600;
}/* ============================= */
/* SERVICE PAGES (washer-repair) */
/* ============================= */

.breadcrumbs { padding: 18px 0; font-size: 14px; opacity: .85; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.service-hero { padding: 70px 0; }
.service-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
@media (max-width: 900px){ .service-hero-grid { grid-template-columns: 1fr; } }

.lead { font-size: 18px; line-height: 1.6; opacity: .92; margin-top: 10px; }
.micro { font-size: 13px; opacity: .78; margin-top: 12px; }

.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { margin: 10px 0; padding-left: 22px; position: relative; }
.checklist li:before { content: "✓"; position: absolute; left: 0; top: 0; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 900px){ .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
}

.bullets { margin: 10px 0 0; padding-left: 18px; }
.bullets li { margin: 8px 0; }

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 18px;
}

.service-card-title { margin: 0 0 6px; }
.service-card-sub { margin: 0 0 14px; opacity: .85; }

.mini-form label { display: block; margin-bottom: 12px; font-size: 14px; opacity: .92; }
.mini-form input {
  width: 100%;
  margin-top: 6px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.35);
  color: inherit;
  outline: none;
}

.btn-full { width: 100%; }

.callout {
  margin-top: 22px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(150,204,0,0.35);
  background: rgba(150,204,0,0.06);
}

.callout-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }

.cta-bottom { text-align: center; }
/* ============================= */
/* TECA ACCENTS for service pages */
/* ============================= */

:root{
  --teca-lime: #96CC00;
  --teca-purple: #960096;
  --teca-bg: #0b0f1a;               /* чуть светлее, чем чистый black */
  --teca-card: rgba(255,255,255,.045);
  --teca-border: rgba(255,255,255,.08);
  --teca-text: rgba(255,255,255,.92);
  --teca-muted: rgba(255,255,255,.72);
}

/* 1) Осветляем общий фон страницы + добавляем фирменные "подсветки" */
body{
  background:
    radial-gradient(900px 480px at 12% 12%, rgba(150,204,0,.18), transparent 62%),
    radial-gradient(900px 520px at 88% 10%, rgba(150,0,150,.16), transparent 60%),
    radial-gradient(700px 520px at 50% 95%, rgba(120,160,255,.10), transparent 60%),
    var(--teca-bg);
  color: var(--teca-text);
}

/* 2) Читаемость текста в hero */
.service-hero .lead{
  color: var(--teca-muted);
  font-size: 19px;
}

.micro{
  color: rgba(255,255,255,.68);
}

/* 3) Карточки чуть светлее, границы аккуратнее */
.info-card,
.service-card{
  background: var(--teca-card);
  border: 1px solid var(--teca-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* 4) Заголовки с фирменным акцентом */
h1{
  letter-spacing: -0.02em;
}
h2{
  position: relative;
}
h2::after{
  content:"";
  display:block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teca-lime), var(--teca-purple));
  opacity: .9;
}

/* 5) Чек-лист: делаем галочки лаймовыми */
.checklist li:before{
  color: var(--teca-lime);
}

/* ============================= */
/* FIX: "Go to request form" button */
/* ============================= */

/* Делаем кнопку яркой, крупной и с градиентом */
.mini-form .btn,
.mini-form button,
.service-card .btn,
.service-card button{
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 14px;
  border: 0;
  color: #0b0f1a;
  background: linear-gradient(90deg, var(--teca-lime), var(--teca-purple));
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transform: translateZ(0);
}

/* Hover/active для премиум ощущения */
.mini-form .btn:hover,
.mini-form button:hover,
.service-card .btn:hover,
.service-card button:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.mini-form .btn:active,
.mini-form button:active,
.service-card .btn:active,
.service-card button:active{
  transform: translateY(0);
}

/* Полная ширина — уже есть .btn-full, но подстрахуем */
.btn-full{
  width: 100%;
}

/* 6) Поля формы: чуть светлее + фокус лаймовый */
.mini-form input{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.mini-form input:focus{
  border-color: rgba(150,204,0,.55);
  box-shadow: 0 0 0 4px rgba(150,204,0,.12);
}

/* 7) Бейдж/граница callout: больше фирменного */
.callout{
  border: 1px solid rgba(150,204,0,.45);
  background:
    linear-gradient(180deg, rgba(150,204,0,.08), rgba(150,0,150,.05));
}
/* ============================= */
/* FIX: Header logo size/position */
/* ============================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Логотип: никогда не тянем, всегда сохраняем пропорции */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo{
  height: 40px;      /* можно 36-44, но 40 оптимально */
  width: auto;       /* ключевое: не растягиваем */
  max-width: 180px;  /* защита от слишком широкого лого */
  object-fit: contain;
  display: block;
}

/* На мобиле чуть компактнее */
@media (max-width: 520px){
  .brand-logo{ height: 34px; max-width: 150px; }
}
/* ============================= */
/* TECA BUTTON SYSTEM (GLOBAL)   */
/* ============================= */

:root{
  --teca-lime: #96CC00;
  --teca-purple: #960096;
  --teca-ink: #0b0f1a;
  --teca-white: rgba(255,255,255,.92);
  --teca-border: rgba(255,255,255,.14);
}

/* базовая кнопка */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;

  text-decoration: none;
  cursor: pointer;
  user-select: none;

  border: 1px solid transparent;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}

/* основной CTA (Request service / Book Online) */
.btn-primary{
  color: var(--teca-ink);
  background: linear-gradient(90deg, var(--teca-lime), var(--teca-purple));
  box-shadow: 0 12px 26px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.08);
}

/* вторичная (Call now) — контурная, но заметная */
.btn-ghost{
  color: var(--teca-white);
  background: rgba(255,255,255,.06);
  border-color: var(--teca-border);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

/* hover / active */
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.btn:active{
  transform: translateY(0px);
  filter: brightness(1.0);
}

/* фокус для клавиатуры (доступность) */
.btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(150,204,0,.18), 0 12px 26px rgba(0,0,0,.35);
}

/* Кнопка на всю ширину (для форм) */
.btn-full{ width: 100%; }

/* ============================= */
/* SPECIAL: CTA in topbar         */
/* ============================= */

/* "Call: +1..." — делаем как pill, читаемо */
.topbar .btn-ghost[href^="tel:"]{
  border-color: rgba(150,204,0,.35);
  background: rgba(150,204,0,.08);
}

/* "Book Online" — главный акцент в шапке */
.topbar .btn-primary{
  padding: 12px 18px;
}

/* На мобильном уменьшить, чтобы не ломало строку */
@media (max-width: 520px){
  .btn{ padding: 10px 12px; font-size: 14px; border-radius: 12px; }
}
/* ============================= */
/* HERO IMAGE STYLING */
/* ============================= */

.hero-image{
  margin: 20px 0 30px 0;
}

.hero-image img{
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transition: transform .3s ease;
}

.hero-image img:hover{
  transform: scale(1.02);
}

/* На десктопе чуть компактнее */
@media (min-width: 900px){
  .hero-image{
    max-width: 540px;
  }
}
.service-problems{
  padding: 70px 0;
}

.problem-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.problem-card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 22px;
  transition: .3s ease;
}

.problem-card:hover{
  transform: translateY(-4px);
  border-color: #96CC00;
}

.problem-card h3{
  margin-bottom: 10px;
  font-size: 18px;
}
.service-errors{
  padding: 70px 0;
}

.section-sub{
  opacity: .7;
  margin-top: 10px;
}

.error-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.error-card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px;
  transition: .3s ease;
}

.error-card:hover{
  border-color: #96CC00;
  transform: translateY(-4px);
}

.error-card ul{
  margin-top: 12px;
  padding-left: 18px;
}
/* ============================= */
/* RELATED SERVICES (INTERNAL LINKS) */
/* ============================= */

.related-services{
  padding: 70px 0;
}

.related-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.related-card{
  display: block;
  text-decoration: none;
  color: inherit;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;

  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}

.related-card:hover{
  transform: translateY(-3px);
  border-color: rgba(150,204,0,.55);
  filter: brightness(1.05);
}

.related-title{
  display: block;
  font-weight: 900;
  letter-spacing: .01em;
  margin-bottom: 6px;
}

.related-sub{
  display: block;
  font-size: 13px;
  opacity: .75;
}
/* ============================= */
/* RELATED SERVICES (WITH ICONS) */
/* ============================= */

.related-services{
  padding: 70px 0;
}

.related-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.related-card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;
  transition: transform .2s ease, border-color .2s ease, filter .2s ease;
}

.related-card:hover{
  transform: translateY(-3px);
  border-color: rgba(150,204,0,.55);
  filter: brightness(1.05);
}

.related-card-icon img{
  width: 56px;
  height: 56px;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
  opacity: .95;
}

.related-title{
  display: block;
  font-weight: 900;
  margin-bottom: 6px;
}

.related-sub{
  display: block;
  font-size: 12.5px;
  opacity: .72;
}
/* ============================= */
/* TECA ICON HOVER (PREMIUM)     */
/* ============================= */

/* одинаковый размер + мягкое свечение на hover */
.related-card-icon img,
.appliance-card img{
  transition: transform .18s ease, filter .18s ease, opacity .18s ease;
  transform-origin: center;
}

/* карточки иконок: micro motion */
.related-card:hover img,
.appliance-card:hover img{
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 10px 22px rgba(150,204,0,.22)) drop-shadow(0 10px 22px rgba(150,0,150,.18));
  opacity: 1;
}

/* лёгкая премиальная рамка при hover (без “кислоты”) */
.related-card:hover,
.appliance-card:hover{
  border-color: rgba(150,204,0,.55);
  box-shadow: 0 14px 34px rgba(0,0,0,.28);
}

/* чуть более “кликабельная” подчеркивающая реакция */
.related-card:active img,
.appliance-card:active img{
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}
/* ===== Brand Glow System ===== */
:root{
  --glowA: rgba(150, 204, 0, .28);
  --glowB: rgba(150, 0, 150, .22);
  --glowBorder: rgba(150, 204, 0, .38);
}

.glow-hover{
  position: relative;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
/* ===== Brand Glow System ===== */
:root{
  --glowA: rgba(150, 204, 0, .28);
  --glowB: rgba(150, 0, 150, .22);
  --glowBorder: rgba(150, 204, 0, .38);
}

.glow-hover{
  position: relative;
  transition: transform .14s ease, border-color .14s ease, background .14s ease, box-shadow .14s ease;
}

.glow-hover::after{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius: inherit;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(380px 140px at 25% 0%, var(--glowA), transparent 60%),
    radial-gradient(380px 140px at 80% 30%, var(--glowB), transparent 60%);
  filter: blur(10px);
  transition: opacity .16s ease;
}

.glow-hover:hover::after{ opacity:1; }
.glow-hover:hover{
  transform: translateY(-1px);
  border-color: var(--glowBorder);
}

/* brand hover glow */
.brand{
  border-radius: 14px;
  padding: 6px 10px;
}
.brand.glow-hover:hover{
  background: rgba(255,255,255,.03);
}
.card--link{
  display:block;
  cursor:pointer;
  min-height: 132px;     /* увеличили hit-area */
  padding: 18px;         /* больше пространства */
  text-decoration:none;  /* убрать подчеркивания */
}
.card--link:focus-visible{
  outline:none;
  border-color: rgba(150,204,0,.55);
  box-shadow: 0 0 0 4px var(--ring);
}
.card--link h3, .card--link p{ pointer-events:none; }
.top-progress{
  position: fixed;
  top:0;
  left:0;
  height:2px;
  width:0%;
  z-index:9999;
  background: linear-gradient(90deg, #96CC00, #960096);
  opacity:.9;
  transform-origin:left center;
  pointer-events:none;
}
/* ===== Related services with icons ===== */
.related-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.related-card{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration:none;
}

.related-icon{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  opacity: .95;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}

.related-text{
  display:flex;
  flex-direction:column;
  gap: 4px;
  min-width: 0;
}

.related-title{
  font-weight: 800;
  color: #fff;
}

.related-sub{
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.2;
}

/* адаптив */
@media (max-width: 1100px){
  .related-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .related-grid{ grid-template-columns: 1fr; }
}
.hero-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

/* =========================
   SaaS Motion Layer
   ========================= */

html { scroll-behavior: smooth; }
html.js body{
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
html.js body.is-ready{
  opacity: 1;
  transform: translateY(0);
}

/* Premium hover feel */
.glow-hover{ will-change: transform; }
.glow-hover:hover{ transform: translateY(-2px); }

.btn, .related-card, .problem-card, .service-card{
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.btn:active{ transform: translateY(1px); }

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}
.reveal.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* Focus ring (keyboard) */
:where(a, button, input, textarea, summary):focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
  border-color: rgba(150,204,0,.55);
}

/* FAQ open micro */
@media (prefers-reduced-motion: no-preference){
  details.faq[open] p{
    animation: faqIn .25s ease both;
  }
  @keyframes faqIn{
    from { opacity:0; transform: translateY(-4px); }
    to   { opacity:1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce){
  html { scroll-behavior: auto; }
  html.js body{ opacity: 1; transform: none; transition: none; }
  .reveal{ opacity: 1; transform: none; transition: none; }
}


/* =========================
   Consistency fixes (v3)
   ========================= */
.topbar .brand { display:flex; align-items:center; }
.brand-logo{ height:44px; width:auto; display:block; }
.brand-logo--footer{ height:28px; opacity:.95; }

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.topbar-actions{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; justify-content:flex-end; }

.footer{ padding:24px 0; }
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer-left, .footer-right{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.footer-right{ justify-content:flex-end; }

.section, .related-services, .service-problems{ padding-bottom:56px; }
.faq{ margin-bottom:10px; }
