/* =========
   Cleanings.no — Premium Scandinavian UI
   ========= */

:root{
  --bg: #0b1220;
  --bg-2: #0f1c2e;
  --paper: #f6f3ec;
  --paper-2:#fffdf7;
  --ink: #0b1220;
  --muted:#5b6472;
  --line: rgba(11,18,32,.12);

  --red:#d61a1f;
  --green:#0e5a3a;
  --accent:#6ee7ff; /* aurora */
  --accent2:#a7f3d0;

  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --shadow-1: 0 18px 50px rgba(11,18,32,.18);
  --shadow-2: 0 10px 30px rgba(11,18,32,.16);
  --shadow-soft: 0 12px 28px rgba(11,18,32,.10);

  --max: 1180px;

  /* Header layout helpers */
  --brand-mark: 42px;
  --brand-gap: 12px;

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background: radial-gradient(900px 500px at 20% 0%, rgba(110,231,255,.22), transparent 55%),
              radial-gradient(800px 500px at 75% 10%, rgba(167,243,208,.18), transparent 50%),
              linear-gradient(180deg, #07101f 0%, var(--paper) 44%, var(--paper) 100%);
  min-height:100vh;
}

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

/* Better focus for keyboard users */
:focus-visible{
  outline: 2px solid rgba(110,231,255,.85);
  outline-offset: 3px;
}

::selection{
  background: rgba(214,26,31,.28);
}
ul{margin:0;padding-left:1.1rem}
p{margin:0}

.container{
  width: min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

.skip{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px; top:16px;
  width:auto;height:auto;
  padding:10px 12px;
  background:var(--paper-2);
  border-radius:12px;
  box-shadow:var(--shadow-2);
  z-index:9999;
}

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,16,31,.55);
  border-bottom: 1px solid rgba(255,255,255,.10);
  /* Make sure header text/icons never inherit body (dark) color */
  color:#fff;
}

/* NOTE: the language switch now lives inside the main header grid (no separate topbar). */

.topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.topbar__item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.topbar__item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}
.topbar__item--wa{
  border-color: rgba(167,243,208,.35);
  background: rgba(14,90,58,.28);
}
.topbar__text{
  font-weight:650;
  letter-spacing:.2px;
}

.lang{
  display:flex;
  gap:8px;
}
.lang__btn{
  font-weight:700;
  font-size:12px;
  letter-spacing:.12em;
  padding:9px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  background: rgba(255,255,255,.06);
  transition:background .18s ease, border-color .18s ease, transform .18s ease;
}
.lang__btn:hover{transform: translateY(-1px); background:rgba(255,255,255,.10); border-color: rgba(255,255,255,.22)}
.lang__btn.is-active{
  background: rgba(214,26,31,.35);
  border-color: rgba(214,26,31,.55);
}


.nav{
  /* Two-row header:
     Row 1: logo + Cleaning.no (left)  | language pills + burger (right)
     Row 2: contacts + tagline (left) | nav links (right)
  */
  display:grid;
  position:relative;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas:
    "brandTop tools"
    "brandBottom links";
  align-items:start;
  /* Slightly tighter vertical rhythm so brand + subtitle feel grouped */
  gap:6px 18px;
  padding: 12px 20px 14px;
  max-width: var(--max);
  margin:0 auto;
}

/* Brand (top row)
   Goal: a 2-line brand lockup where the logo is visually centered
   between the name and the subtitle (as in the original design).
*/
.brand.brand--top{
  grid-area: brandTop;
  display:grid;
  grid-template-columns: var(--brand-mark) 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--brand-gap);
  row-gap:1px;
  /* Keep the subtitle directly under the name (no extra vertical centering gap) */
  align-items:start;
}
.brand.brand--top .brand__logo{grid-column:1; grid-row:1 / span 2; align-self:center}
.brand.brand--top .brand__home{grid-column:2; grid-row:1; align-self:end}
.brand.brand--top .brand__tagline{grid-column:2; grid-row:2; align-self:start}

.nav__tools{
  grid-area: tools;
  justify-self:end;
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-bottom{
  grid-area: brandBottom;
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:flex-start;
  /* Contacts must align with the logo (left edge), not drift to the right */
  padding-left: 0;
}

.brand{
  display:flex;
  align-items:flex-start;
  gap: var(--brand-gap);
  min-width: 260px;
}
.brand__logo{display:flex; align-items:center}
.brand__meta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  min-width:0;
}
.brand__home{display:inline-flex; align-items:center}
.brand__mark svg{width: var(--brand-mark);height: var(--brand-mark)}
.brand__name{
  display:block;
  color:#fff;
  font-weight:850;
  letter-spacing:.2px;
  line-height:1.05;
}

/* Subtitle under Cleaning.no (requested: “Услуги для дома • Oppdal”) */
.brand__tagline{
  display:block;
  margin-top:0;
  color: rgba(255,255,255,.72);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  line-height:1.25;
}
.brand__contacts{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.brand__contact{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  font-weight:650;
  letter-spacing:.2px;
}
.brand__contact-text{white-space:nowrap}
.brand__contact:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.22);
}
.brand__contact--wa{
  border-color: rgba(167,243,208,.35);
  background: rgba(14,90,58,.28);
}
.brand__contact--wa:hover{
  background: rgba(14,90,58,.34);
  border-color: rgba(167,243,208,.50);
}
.brand__sub{
  display:block;
  margin-top:0;
  color: rgba(255,255,255,.72);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.nav__toggle{
  display:none;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  height:2px;
  width:20px;
  background:#fff;
  margin:5px auto;
  border-radius:2px;
  transition:transform .18s ease, opacity .18s ease;
}

.nav__links{
  grid-area: links;
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  font-weight:650;
  justify-self:end;
  align-self:center;
}
.nav__links a{
  padding:10px 10px;
  border-radius:12px;
  color: rgba(255,255,255,.86);
  transition:background .18s ease, color .18s ease;
}
.nav__links a:hover{background: rgba(255,255,255,.08); color:#fff}
.nav__links a.is-active{background: rgba(255,255,255,.12); color:#fff}

/* Mobile menu extras (contacts with icons) — hidden on desktop */
.nav__divider{display:none}
.nav__contacts{display:none}
.nav-contact{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-weight:800;
  letter-spacing:.2px;
}
.nav-contact:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.nav-contact--wa{
  border-color: rgba(167,243,208,.35);
  background: rgba(14,90,58,.22);
}
.nav-contact--wa:hover{
  background: rgba(14,90,58,.30);
  border-color: rgba(167,243,208,.50);
}
.nav-contact--ms{
  border-color: rgba(110,231,255,.32);
  background: rgba(30,88,190,.16);
}
.nav-contact--ms:hover{
  background: rgba(30,88,190,.22);
  border-color: rgba(110,231,255,.45);
}

.nav-contact--tg{
  border-color: rgba(147,197,253,.32);
  background: rgba(23,121,190,.16);
}
.nav-contact--tg:hover{
  background: rgba(23,121,190,.22);
  border-color: rgba(147,197,253,.45);
}

.nav-contact--sc{
  border-color: rgba(252,211,77,.35);
  background: rgba(252,211,77,.14);
}
.nav-contact--sc:hover{
  background: rgba(252,211,77,.20);
  border-color: rgba(252,211,77,.50);
}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 14px;
  padding: 12px 16px;
  border:1px solid transparent;
  font-weight:800;
  letter-spacing:.2px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  user-select:none;
}
.btn:active{transform: translateY(0)}
.btn--lg{padding: 14px 18px; border-radius: 16px}
.btn--sm{padding: 10px 12px; border-radius: 12px; font-size: 14px}

.btn--primary{
  color:#fff;
  background: linear-gradient(135deg, var(--red), #ff4a4f);
  box-shadow: 0 16px 36px rgba(214,26,31,.22);
}
.btn--primary:hover{transform: translateY(-1px); box-shadow: 0 22px 50px rgba(214,26,31,.26)}

.btn--ghost{
  color:#fff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.32);
}

.btn--sm.btn--primary{box-shadow: 0 14px 28px rgba(214,26,31,.22)}

/* ===== Hero ===== */
.hero{
  position:relative;
  min-height: 78vh;
  display:flex;
  /* Hero text should be visible near the top (not stuck at the bottom) */
  align-items:flex-start;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hero__media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform: scale(1.03);
}
.hero__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(1100px 650px at 30% 20%, rgba(110,231,255,.28), transparent 55%),
    radial-gradient(900px 650px at 75% 25%, rgba(167,243,208,.18), transparent 55%),
    /* Darken the top a bit more so the hero text stays readable */
    linear-gradient(180deg, rgba(7,16,31,.52) 0%, rgba(7,16,31,.65) 58%, rgba(7,16,31,.92) 100%);
}

.hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:32px;
  background: url('../img/nordic-border.svg') repeat-x;
  z-index:3;
  opacity:.95;
  pointer-events:none;
}
.hero__content{
  position:relative;
  z-index:2;
  /* Lift the hero texts closer to the top of the page */
  padding: clamp(18px, 4vw, 40px) 0 54px;
  color:#fff;
}
.hero__kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding: 8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
}
.hero__title{
  margin: 14px 0 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height:1.02;
  letter-spacing: -0.02em;
  font-weight: 900;
  text-shadow: 0 10px 30px rgba(0,0,0,.24);
}
.hero__subtitle{
  margin-top: 12px;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height:1.35;
  color: rgba(255,255,255,.88);
  max-width: 46ch;
}

.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top: 22px;
}

.hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 18px;
}
.badge{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-weight:700;
  font-size: 13px;
}

/* ===== Sections ===== */
.section{padding: 74px 0}
.section--light{
  background: linear-gradient(180deg, rgba(246,243,236,.90), rgba(255,253,247,.92));
}

.section--aurora{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(110,231,255,.20), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(167,243,208,.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color:#fff;
}

.section--aurora::before,
.section--aurora::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:32px;
  background: url('../img/nordic-border.svg') repeat-x;
  opacity:.85;
  pointer-events:none;
}
.section--aurora::before{top:0}
.section--aurora::after{bottom:0}

.section--dark{
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  color:#fff;
}

.section-head{
  max-width: 68ch;
}
.section-head h2{
  margin:0;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height:1.1;
  font-weight: 900;
  letter-spacing:-0.02em;
}
.section-head p{
  margin-top: 12px;
  font-size: 16px;
  line-height:1.6;
  color: var(--muted);
}
.section-head--invert p{color: rgba(255,255,255,.74)}
.section-head--invert h2{color:#fff}

.section-head + *{margin-top: 28px}

/* ===== Cards ===== */
.cards{
  display:grid;
  gap:14px;
}
.cards--3{grid-template-columns: repeat(3, 1fr)}

.card{
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  border:1px solid var(--line);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(600px 240px at 0% 0%, rgba(214,26,31,.10), transparent 55%),
    radial-gradient(520px 240px at 100% 0%, rgba(14,90,58,.08), transparent 55%);
  pointer-events:none;
}
.card__icon svg{width:28px;height:28px}
.card__title{
  margin-top: 10px;
  font-weight: 900;
  font-size: 18px;
}
.card__text{
  margin-top: 8px;
  color: var(--muted);
  line-height:1.6;
}
.section--aurora .card{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
.section--aurora .card__text{color: rgba(255,255,255,.72)}

/* ===== Process steps (How we work) ===== */
.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:14px;
}
.step{
  padding: 18px 18px 20px;
}
.step__num{
  width:36px;
  height:36px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight:950;
  background: rgba(214,26,31,.12);
  border:1px solid rgba(214,26,31,.22);
  color: var(--red);
}
.step__title{
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
}
.step__text{
  margin-top: 8px;
  color: var(--muted);
  line-height:1.6;
  font-size: 14px;
}

/* ===== Audience ===== */
.audience-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.audience{
  padding: 18px 18px 20px;
}
.audience__icon svg{width:28px;height:28px}
.audience__title{
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
}
.audience__text{
  margin-top: 8px;
  color: var(--muted);
  line-height:1.6;
  font-size: 14px;
}

/* ===== Guarantee / checklist callout ===== */
.guarantee{
  margin-top: 16px;
  border-radius: var(--radius-xl);
  padding: 18px;
  border: 1px solid rgba(214,26,31,.22);
  background:
    radial-gradient(680px 240px at 0% 0%, rgba(214,26,31,.12), transparent 55%),
    radial-gradient(680px 240px at 100% 0%, rgba(110,231,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,253,247,.98), rgba(246,243,236,.94));
  box-shadow: var(--shadow-1);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.guarantee__icon svg{width:28px;height:28px}
.guarantee__title{
  font-weight: 950;
  font-size: 18px;
}
.guarantee__text{
  margin-top: 6px;
  color: var(--muted);
  line-height:1.5;
}

/* ===== Services ===== */
.services-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  /* Desktop: we WANT equal-height cards per row so the action buttons
     align perfectly. Closed cards will be opted-out from stretching via
     .service-card:not([open]) { align-self: start; } (see media query). */
  align-items:stretch;
}

.service-card{
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.20);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.service-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0,0,0,.26);
  border-color: rgba(255,255,255,.18);
}
.service-card[open]{
  border-color: rgba(255,255,255,.18);
}

.service-card summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap:12px;
  padding: 18px 16px 14px;
  cursor:pointer;
  user-select:none;
  /* The card surface already has a glass background.
     Keeping summary transparent removes visible "stripes" between
     the summary area and the rest of the card (when collapsed/expanded). */
  background: transparent;
}
.service-card summary::-webkit-details-marker{display:none}
.service-card__icon svg{width:26px;height:26px}
.service-card__title{
  font-weight: 900;
  letter-spacing:-0.01em;
  font-size: 18px;
}
.service-card__chev svg{width:18px;height:18px; opacity:.8; transition: transform .18s ease}
.service-card[open] .service-card__chev svg{transform: rotate(180deg)}

.service-card__body{
  padding: 0 16px 16px;
}
.service-card__content{
  min-height:0;
}
.service-list{
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255,255,255,.86);
  line-height:1.65;
}
.service-list li{margin: 6px 0}
.service-note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-weight:650;
}

.service-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 14px;
}

/* Desktop: карточки одинаковой высоты в каждом ряду, кнопки на одном уровне.
   По умолчанию раскрыты, но пользователь может свернуть любую карточку. */
@media (min-width: 981px){
  /* Desktop: equal-height cards per row with action buttons pinned to the bottom.
     Cards are open by default, but users can collapse any card. */
  /* IMPORTANT:
     - Open cards should stretch to equal height within a row (so buttons align).
     - Collapsed cards should shrink to the summary height (otherwise the empty
       stretched space creates visible "stripes"). */

  /* Open cards: equal-height layout + pinned action bar */
  .service-card[open]{
    /* Use CSS Grid instead of flex to reliably pin the action bar to the bottom
       (some browsers can behave inconsistently with <details> + flex). */
    display:grid;
    grid-template-rows: auto 1fr;
    height: 100%;
  }

  /* If a user collapses a card on desktop, it must NOT stretch to the tallest neighbour */
  .service-card:not([open]){align-self:start; height:auto}

  /* Slightly lower header for a more balanced look */
  .service-card summary{
    padding: 16px 16px 14px;
  }

  .service-card__body{
    padding: 0;
    display:grid;
    grid-template-rows: 1fr auto;
    min-height: 0;
    height: 100%;
  }

  .service-card__content{
    padding: 0 16px 14px;
    min-height: 0;
  }

  .service-actions{
    /* Always at the bottom of the card (no empty space under the buttons) */
    margin:0;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.14);
    display:flex;
    gap:10px;
    flex-wrap:nowrap;
  }
  .service-actions .btn{
    flex:1 1 0;
    justify-content:center;
  }
}

/* ===== Areas ===== */
.areas{
  display:grid;
  gap:14px;
}
.area-block{
  border-radius: var(--radius-xl);
  background: var(--paper-2);
  border:1px solid var(--line);
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
}
.area-block__title{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 10px;
}
.chips{display:flex; flex-wrap:wrap; gap:10px}
.chip{
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(14,90,58,.10);
  border:1px solid rgba(14,90,58,.18);
  color: #0c3f29;
  font-weight: 800;
}
.chip--soft{
  background: rgba(11,18,32,.06);
  border-color: rgba(11,18,32,.12);
  color: var(--ink);
}
.chip--outline{
  background: transparent;
  border-color: rgba(214,26,31,.28);
  color: var(--ink);
}

.area-cta{
  border-radius: var(--radius-xl);
  padding: 18px;
  border:1px solid rgba(214,26,31,.22);
  background:
    radial-gradient(680px 240px at 0% 0%, rgba(214,26,31,.12), transparent 55%),
    radial-gradient(680px 240px at 100% 0%, rgba(110,231,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,253,247,.98), rgba(246,243,236,.94));
  box-shadow: var(--shadow-1);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.area-cta__title{
  font-weight: 950;
  font-size: 20px;
}
.area-cta__sub{
  margin-top: 4px;
  color: var(--muted);
  line-height:1.5;
}

/* ===== Contact ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap:14px;
  /* Stretch columns to the same height on desktop so we can align blocks neatly */
  align-items:stretch;
}
.contact-cards{
  display:flex;
  flex-direction:column;
  gap:12px;
  height:100%;
}
.contact-card{
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding: 14px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.contact-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.contact-card__icon svg{width:26px;height:26px}
.contact-card__title{
  font-weight: 900;
  color:#fff;
}
.contact-card__value{
  margin-top: 2px;
  color: rgba(255,255,255,.76);
  font-weight:650;
}

.contact-form{
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding: 18px;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.contact-form__title{
  font-weight: 950;
  font-size: 20px;
}
.contact-form__sub{
  margin-top: 8px;
  color: rgba(255,255,255,.74);
  line-height:1.6;
}
.contact-form form{margin-top: 14px; display:grid; gap:12px}
label span{display:block; color: rgba(255,255,255,.76); font-weight:750; margin-bottom:6px; font-size:13px}
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:#fff;
  outline:none;
  transition:border-color .18s ease, background .18s ease;
}
input:focus, textarea:focus{
  border-color: rgba(110,231,255,.46);
  background: rgba(0,0,0,.26);
}
textarea{resize: vertical}
.contact-form__small{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

/* ===== Share buttons ===== */
.share-box{
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 12px;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
}
.share-box__title{
  font-weight: 950;
  font-size: 18px;
}
.share-box__actions{
  width:100%;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
}
.share-box__actions .btn{
  width:100%;
  justify-content:center;
}
.share-box__actions .icon svg{width:18px;height:18px; opacity:.9}

/* Fill the empty space under contact cards with the share box */
.contact-cards .share-box{flex:1 1 auto}
.contact-cards .share-box__actions{margin-top:auto}


/* ===== Footer ===== */
.footer{
  background: linear-gradient(180deg, rgba(7,16,31,.92) 0%, rgba(7,16,31,1) 100%);
  color:#fff;
  padding: 44px 0 18px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.footer__inner{
  max-width: var(--max);
  margin:0 auto;
  padding: 0 20px;
  display:grid;
  gap:18px;
  grid-template-columns: 1.2fr .8fr 1fr;
  align-items:start;
}
.footer__brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.footer__name{
  font-weight: 950;
  font-size: 18px;
}
.footer__muted{
  color: rgba(255,255,255,.70);
  font-size: 12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  margin-top: 2px;
}
.footer__text{
  margin-top: 12px;
  color: rgba(255,255,255,.74);
  line-height:1.6;
  max-width: 50ch;
}
.footer__title{
  font-weight: 950;
  margin-bottom: 10px;
}
.footer a{
  display:block;
  padding: 8px 0;
  color: rgba(255,255,255,.82);
}
.footer a:hover{color:#fff}
.footer__contact{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 8px 0;
}
.footer__contact .icon svg{width:18px;height:18px; opacity:.9}
.footer__small{
  margin-top: 10px;
  color: rgba(255,255,255,.60);
  font-size: 12px;
}
.footer__bottom{
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 14px 20px 0;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.62);
  font-size: 12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
}

.footer__social{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer__social-link{
  width: 36px;
  height: 36px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
}
.footer__social-link:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}
.footer__social-link svg{width:18px;height:18px; opacity:.95}

/* ===== Floating actions ===== */
.fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:60;
}

/* Hidden messenger stack (opens by the 3-dot button) */
.fab__stack{
  display:none;
  flex-direction:column;
  gap:10px;
}
.fab.is-open .fab__stack{display:flex}
.fab__btn{
  width: 52px;
  height: 52px;
  display:grid;
  place-items:center;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-2);
  overflow:hidden;
}
.fab__btn svg{width:22px;height:22px}
.fab__btn--call{
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.fab__btn--wa{
  /* Solid (no banding/stripes on iOS screenshots) */
  background: rgba(14, 90, 58, .92);
  color: rgba(255,255,255,.96);
  border-color: rgba(167,243,208,.22);
}

/* Facebook Messenger */
.fab__btn--ms{
  /* Solid (no banding/stripes on iOS screenshots) */
  background: rgba(30, 88, 190, .92);
  color: rgba(255,255,255,.96);
  border-color: rgba(110,231,255,.22);
}

/* Telegram */
.fab__btn--tg{
  background: rgba(23, 121, 190, .92);
  color: rgba(255,255,255,.96);
  border-color: rgba(147,197,253,.26);
}

/* Snapchat */
.fab__btn--sc{
  background: rgba(252, 211, 77, .92);
  color: rgba(15, 23, 42, .92);
  border-color: rgba(255,255,255,.18);
}

/* 3-dot toggle */
.fab__btn--more{
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.fab.is-open .fab__btn--more{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}

/* ===== Icons helper ===== */
.icon svg{width:18px;height:18px; opacity:.95}

/* ===== Reveal animations ===== */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.in-view{
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1; transform:none}
  .topbar__item, .btn, .contact-card{transition:none}
}

/* ===== Responsive ===== */
@media (max-width: 1200px){
  .steps{grid-template-columns: repeat(3, 1fr)}
}

@media (max-width: 980px){
  .cards--3{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}
  .audience-grid{grid-template-columns: 1fr}
  .guarantee{flex-direction:column; align-items:flex-start}
  .guarantee .btn{width:100%}
  .services-grid{grid-template-columns: 1fr}
  .contact-grid{grid-template-columns: 1fr}
  .share-box{flex-direction:column; align-items:flex-start}
  .share-box__actions{width:100%}
  .share-box__actions .btn{flex:1 1 calc(50% - 10px)}
  .footer__inner{grid-template-columns: 1fr}
}

@media (max-width: 860px){
  /* Mobile/tablet: contacts must span full width, burger stays near the language pills */
  .nav{
    grid-template-areas:
      "brandTop tools"
      "brandBottom brandBottom";
  }
  .brand-bottom{padding-left: 0}
  .nav__toggle{margin-top: 0}

  .nav__toggle{display:block}
  .nav__links{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding: 12px;
    border-radius: var(--radius-xl);
    background: rgba(7,16,31,.92);
    border:1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow-2);
  }
  .nav__links.is-open{display:flex}
  .nav__links a{padding: 12px 12px}

  /* Show mobile-only contact block inside burger */
  .nav__divider{
    display:block;
    height:1px;
    background: rgba(255,255,255,.12);
    margin: 8px 6px 6px;
  }
  .nav__contacts{
    display:grid;
    gap:8px;
    padding-top: 4px;
  }
}

@media (max-width: 520px){
  .nav{padding: 10px 14px 12px; gap:10px 12px}
  .brand{min-width:0}
  .brand__meta{min-width:0}
  /* Keep the same “premium” uppercase subtitle feel on small screens */
  .brand__tagline{font-size:11px; letter-spacing:.08em}
  /* Mobile: phone + WhatsApp must stay рядом (если есть место) */
  .brand__contacts{flex-direction:row; align-items:center; gap:10px; flex-wrap:nowrap}
  .brand__contact{flex:1 1 0; min-width:0; width:auto; justify-content:center}
  .brand__contact:first-child{flex:1.35 1 0}
  .brand__contact{padding:8px 10px}
  .brand__contact-text{font-size:clamp(14px, 4.2vw, 16px)}
  /* Burger moved next to WhatsApp on mobile */
  .nav__toggle{flex:0 0 44px; width:44px; height:44px}
  .brand__sub{display:none}
  .nav__tools{gap:10px}
  .lang{gap:6px}
  .hero{min-height: 74vh}
  .hero__actions .btn{flex:1}
  .fab{right: 12px; bottom: 12px}
}

/* Avoid anchors hidden behind the sticky header */
section[id]{scroll-margin-top: 160px}
@media (max-width: 520px){section[id]{scroll-margin-top: 190px}}


/* iOS safe-area for floating buttons */
.fab{bottom: calc(16px + env(safe-area-inset-bottom))}
@media (max-width: 520px){.fab{bottom: calc(12px + env(safe-area-inset-bottom))}}


/* Prevent background scroll when mobile menu is open */
@media (max-width: 860px){
  body.nav-open{overflow:hidden}
}
