/* ============================================================
   TOITURES SUD — Ghost Theme (Brand Kit 2026-04-30, terracotta accent)
   Brand: #8B5A2B terracotta | #8B5A2B navy | #2C2317 black | #A8B280 steel
   ============================================================ */

:root {
  --terracotta: #8B5A2B;
  --red: #8B5A2B; /* alias to terracotta — keep existing rules working */
  --red-hover: #6B4423;
  --navy: #8B5A2B;
  --navy-light: #A66B3A;
  --steel-button: #8B5A2B;     /* приглушённый sine-grey для кнопок */
  --steel-button-hover: #6B4423;
  --black: #2C2317;
  --teal: #2D4A1F;
  --teal-hover: #1F3318;
  --cream: #F5EFE0;
  --steel: #A8B280;
  --steel-light: #D9CDB5;
  --offwhite: #F5EFE0;
  --white: #FFFFFF;
  --gray: #6B5D4E;
  --gray-light: #9a9a9a;
  --border: #D9CDB5;

  --font-main: 'Inter', 'Barlow', 'Segoe UI', Arial, sans-serif;
  --shadow-sm: 0 2px 8px rgba(139, 90, 43, 0.08);
  --shadow: 0 4px 20px rgba(139, 90, 43, 0.12);
  --shadow-lg: 0 12px 40px rgba(139, 90, 43, 0.18);
  --radius: 6px;
  --radius-lg: 12px;

  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Typography — body text = Near Black, headings = Navy, links = Red */
h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
p { color: var(--black); line-height: 1.7; margin-bottom: 1rem; }
a { color: var(--red); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-hover); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: all .2s;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--steel-button); color: var(--white); }
.btn-primary:hover { background: var(--steel-button-hover); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--steel-button); border: 2px solid var(--steel-button); }
.btn-outline:hover { background: var(--steel-button); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--steel-button); }
.btn-accent { background: var(--red); color: var(--white); }
.btn-accent:hover { background: var(--red-hover); color: var(--white); }

/* Buttons on DARK bg — Olive (#A8B280) with Bistre text -> hover Tile Brown (#8B5A2B) with white text. WCAG AA. */
.hero .btn,
.cta-strip .btn,
.section-dark .btn,
.site-footer .btn,
.sidebar-cta .btn,
.post-cta .btn,
.contact-strip .contact-form-compact button {
  background: #A8B280 !important;
  color: #2C2317 !important;
  border: 2px solid #A8B280 !important;
}
.hero .btn:hover,
.cta-strip .btn:hover,
.section-dark .btn:hover,
.site-footer .btn:hover,
.sidebar-cta .btn:hover,
.post-cta .btn:hover,
.contact-strip .contact-form-compact button:hover:not(:disabled) {
  background: #8B5A2B !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
}
/* Outline-light kept (hero phone btn) — independent variant */
.hero .btn.btn-outline-light,
.cta-strip .btn.btn-outline-light {
  background: transparent !important;
  color: var(--white) !important;
  border: 2px solid var(--white) !important;
}
.hero .btn.btn-outline-light:hover,
.cta-strip .btn.btn-outline-light:hover {
  background: var(--white) !important;
  color: var(--navy) !important;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  padding: 8px 0;
  letter-spacing: 0.02em;
}
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--steel); }
.top-bar .cert-badge { color: var(--steel); font-weight: 600; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  position: relative;
}
.site-logo { display: block; }
.site-logo img { max-height: 56px; width: auto; }
.logo-text .logo-name { font-weight: 900; font-size: 1.15rem; color: var(--black); letter-spacing: 0.02em; }
.logo-text .logo-name .ds { color: var(--red); }
.logo-text .logo-tagline { display: block; font-size: .65rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.15em; }

/* === Desktop nav === */
.main-nav {
  display: flex;
  list-style: none;
  align-items: stretch;
  align-self: stretch;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav > li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: var(--navy);
  font-weight: 600;
  font-size: .92rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.main-nav > li > a:hover { color: var(--red); }
.main-nav .has-arrow > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: .7em;
  color: var(--gray);
}
.main-nav .nav-social {
  display: flex;
  gap: 8px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  align-items: center;
}
.main-nav .nav-social a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border-radius: 50%;
  background: var(--offwhite);
  transition: all .2s;
}
.main-nav .nav-social a.li { color: #0A66C2; }
.main-nav .nav-social a.li:hover { background: #0A66C2; color: #fff; }
.main-nav .nav-social a.yt { color: #FF0000; }
.main-nav .nav-social a.yt:hover { background: #FF0000; color: #fff; }
.main-nav .nav-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Submenu (cities dropdown) */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 240px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 200;
  border-top: 3px solid var(--navy);
}
.main-nav > li:hover > .submenu,
.main-nav > li.open > .submenu { display: block; }
.submenu li a {
  display: block;
  padding: 10px 18px;
  color: var(--black);
  font-size: .9rem;
}
.submenu li a:hover { background: var(--offwhite); color: var(--red); }

/* Megamenu (Services) */
.main-nav > li.has-mega { position: static !important; }
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 28px 32px;
  display: none;
  z-index: 200;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 3px solid var(--navy);
  box-sizing: border-box;
}
.has-mega:hover .mega-menu,
.has-mega.open .mega-menu { display: grid; }
.mega-col h4 {
  color: var(--navy);
  font-size: .85rem;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--steel);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { margin: 6px 0; }
.mega-col li a {
  color: var(--black);
  font-size: .9rem;
  display: block;
  padding: 4px 0;
}
.mega-col li a:hover { color: var(--red); }

/* Mobile burger */
.burger {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* === Mobile menu === */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 1000;
  overflow-y: auto;
  padding: 24px;
}
.mobile-overlay.open { display: block; }
.mobile-overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mobile-overlay-head .site-logo img { filter: brightness(0) invert(1); max-height: 40px; }
.mobile-close {
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  width: 44px;
  height: 44px;
}
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav > li > a {
  display: block;
  padding: 16px 4px;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}
.mobile-nav > li > a:hover { color: var(--steel); }
.mobile-nav .nav-cta > a {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  margin: 16px 0;
}
.mobile-section h4 {
  color: var(--steel);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 16px 0 8px;
  padding: 0 4px;
}
.mobile-section ul { list-style: none; padding: 0 4px; }
.mobile-section ul li a {
  display: block;
  padding: 10px 0;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-section ul li a:hover { color: var(--white); }

/* === Hero === */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(139,90,43,0.78) 0%, rgba(139,90,43,0.55) 50%, rgba(139,90,43,0.30) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero h1 .accent { color: var(--steel); }
.hero .subtitle { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 8px; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 24px; line-height: 1.7; }
.hero .hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; font-size: .88rem; }
.hero .hero-trust span { color: var(--steel); }
.hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.hero-video iframe,
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
  background: #000;
}

/* === Sections === */
.section { padding: 64px 0; }
.section-light { background: var(--offwhite); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.85); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Services grid (4 cols) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--steel);
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}
.service-card ul { list-style: none; padding: 0; }
.service-card li { padding: 4px 0; font-size: .9rem; }
.service-card li a { color: var(--black); }
.service-card li a:hover { color: var(--red); }
.service-card li::before { content: "→ "; color: var(--navy); font-weight: 700; }

/* Proof / stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid #D9CDB5; box-shadow: var(--shadow-sm); }
.stat-item .num { font-size: 2.4rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-item .label { color: var(--gray); font-size: .9rem; margin-top: 6px; }

/* Process (4 steps) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step {
  text-align: center;
  position: relative;
}
.process-step .num {
  display: inline-flex;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: .9rem; }

/* CTA strip */
.cta-strip {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
  background-image: linear-gradient(135deg, rgba(139,90,43,0.95), rgba(139,90,43,0.85));
}
.cta-strip h2 { color: var(--white); margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.92); margin-bottom: 24px; font-size: 1.05rem; }
.cta-strip .btn { background: var(--white); color: var(--navy); }
.cta-strip .btn:hover { background: var(--offwhite); color: var(--navy); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  font-size: 1.3rem;
  color: var(--red);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 18px; }

/* Page (single) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139,90,43,0.85) 0%, rgba(139,90,43,0.95) 100%);
  z-index: 1;
}
.page-hero.has-image::before { background: linear-gradient(135deg, rgba(139,90,43,0.35), rgba(139,90,43,0.15)), var(--page-image) center/cover; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero .breadcrumbs { color: var(--steel); font-size: .85rem; margin-bottom: 12px; }
.page-hero .breadcrumbs a { color: var(--steel); }
.page-content { padding: 56px 0; }
.page-content .layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.page-content .article p,
.page-content .article ul,
.page-content .article ol { margin-bottom: 1rem; }
.page-content .article h2 { margin: 2rem 0 0.8rem; padding-bottom: 8px; border-bottom: 2px solid var(--red); }
.page-content .article h3 { margin: 1.5rem 0 0.6rem; color: var(--navy); }
.page-content .article ul, .page-content .article ol { padding-left: 24px; }
.page-content .article li { margin-bottom: 6px; }
.page-content .article img { border-radius: var(--radius); margin: 16px 0; }

.sidebar-cta {
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-cta h3 { color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: 16px; }
.sidebar-cta a.btn { display: block; text-align: center; margin-bottom: 8px; }
.sidebar-cta .phone-big {
  display: block;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  margin: 12px 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 0 0 0;
  font-size: .92rem;
}
.footer-camion {
  width: 100%;
  background: var(--navy);
  border-bottom: 4px solid var(--red);
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.footer-camion img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: cover;
}
.site-footer > .container { padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-name { font-size: 1.2rem; color: var(--white); margin-bottom: 14px; display: block; font-weight: 900; letter-spacing: 0.04em; }
.footer-brand p { color: rgba(255,255,255,.78); font-size: .92rem; line-height: 1.65; margin-bottom: 8px; }
.footer-col h4 { color: var(--white); margin-bottom: 14px; font-size: .82rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: rgba(255,255,255,.78); transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-contact-item { margin: 4px 0; color: rgba(255,255,255,.85); font-size: .92rem; }
.footer-contact-item a { color: var(--white); }
.footer-phone {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: 0.02em;
}
.footer-mailbox {
  margin-bottom: 14px;
}
.footer-mailbox strong {
  display: block;
  color: var(--steel);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 2px;
}
.footer-mailbox a {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 2px;
}
.footer-mailbox small {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  line-height: 1.4;
}
.footer-rating {
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  color: var(--steel);
  font-size: .88rem;
  font-weight: 600;
  display: inline-block;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: all .2s;
}
.footer-social a.li { color: #fff; }
.footer-social a.li:hover { background: #0A66C2; color: #fff; }
.footer-social a.yt { color: #fff; }
.footer-social a.yt:hover { background: #FF0000; color: #fff; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* === Certifications block === */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cert-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.cert-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
}
.cert-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.3;
}
.cert-card p { font-size: .9rem; color: var(--black); line-height: 1.6; margin: 0; }

/* === Domaines (9-grid) — clear photos, no darkening === */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.domain-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: all .25s;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
}
.domain-card .photo {
  position: relative;
  width: 100%;
  padding-bottom: 66%;  /* 3:2 aspect — фото видно целиком */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.domain-card .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  gap: 12px;
}
.domain-card .label {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.2;
}
.domain-card .more {
  font-size: .85rem;
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}
.domain-card:hover .more { color: var(--red-hover); }

/* === Avis === */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.avis-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.avis-card .stars { color: #f5a623; font-size: 1rem; margin-bottom: 12px; }
.avis-card blockquote {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--black);
  font-style: italic;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.avis-card .author {
  font-weight: 700;
  font-size: .88rem;
  color: var(--navy);
}
.avis-card .author-meta {
  font-size: .8rem;
  color: var(--gray);
}

/* === Inline form === */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.contact-form label { display: block; font-weight: 600; font-size: .85rem; color: var(--navy); margin-bottom: 4px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: .95rem;
  background: var(--white);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(139,90,43,0.1);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .submit { text-align: center; margin-top: 12px; }
.contact-form .submit button { padding: 14px 36px; }
.contact-form-note {
  text-align: center;
  font-size: .82rem;
  color: var(--gray);
  margin-top: 12px;
}

/* === RESPONSIVE === */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 24px; }
  .services-grid, .stats, .process,
  .certs-grid, .avis-grid { grid-template-columns: repeat(2, 1fr); }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-content .layout { grid-template-columns: 1fr; }
  .sidebar-cta { position: static; }
  .contact-form .row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .top-bar .container { flex-direction: column; align-items: flex-start; gap: 4px; }
  .services-grid, .stats, .process,
  .certs-grid, .avis-grid, .domains-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0; }
}


/* === RÉALISATIONS (LinkedIn cases) === */
.realisations-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.real-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; text-decoration:none; transition:all .2s; display:flex; flex-direction:column; }
.real-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy); }
.real-card .photo { width:100%; padding-bottom:60%; background-size:cover; background-position:center; }
.real-card .meta { padding: 18px 22px; flex:1; display:flex; flex-direction:column; gap:8px; }
.real-card .tag { font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color:var(--steel-button); font-weight:700; }
.real-card h3 { font-size:1.05rem; color:var(--navy); margin:0; line-height:1.3; }
.real-card p { font-size:.9rem; color:var(--black); margin:0; line-height:1.5; flex:1; }
.real-card .more { font-size:.85rem; color:var(--red); font-weight:700; margin-top:auto; }
@media (max-width: 980px) { .realisations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .realisations-grid { grid-template-columns: 1fr; } }

/* ===== TOITURES SUD — Visual Differentiation Pass ===== */
/* Подмена шрифта на более warm Poppins */
:root {
  --font-main: "Poppins", "Inter", "Segoe UI", Arial, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}
body { font-family: var(--font-main); }
h1, h2, h3, h4, h5 { font-family: var(--font-main); letter-spacing: -0.015em; }

/* Pill-кнопки */
.btn { border-radius: var(--radius-pill); padding: 14px 32px; }
.btn-primary,
.btn-outline,
.btn-outline-light { border-radius: var(--radius-pill); }

/* Hero — светлее overlay (terracotta hint, not navy dark) */
.hero { background: linear-gradient(180deg, #F5EFE0 0%, #EFE8DE 100%); color: var(--black); padding: 48px 0; }
.hero::before, .hero::after { display: none; }
.hero h1, .hero .lead, .hero .hero-trust span { color: var(--black); text-shadow: none; }
.hero h1 { color: var(--navy); }
.hero h1 .accent { color: var(--terracotta); }
.hero .lead { color: #444; }
.hero .hero-trust span { color: var(--terracotta); font-weight: 600; }
.hero .btn { box-shadow: 0 4px 14px rgba(139, 90, 43, 0.25); }

/* Section dividers — wavey terracotta accent */
.section + .section { position: relative; }
.section + .section::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--terracotta);
  border-radius: var(--radius-pill);
}

/* Cards — softer rounded, terracotta tint border on hover */
.service-card, .domain-card, .avis-card, .real-card, .cert-card {
  border-radius: var(--radius-lg);
  border-width: 1.5px;
  box-shadow: 0 6px 24px rgba(139, 90, 43, 0.05);
  transition: all .3s;
}
.service-card:hover, .domain-card:hover, .avis-card:hover, .real-card:hover, .cert-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 12px 36px rgba(139, 90, 43, 0.18);
  transform: translateY(-6px);
}

/* Service card h3 underline → terracotta */
.service-card h3 {
  color: var(--navy);
  border-bottom: 3px solid var(--terracotta);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.service-card li::before { color: var(--terracotta); }
.service-card li a:hover { color: var(--terracotta); }

/* Domain cards — terracotta meta bar */
.domain-card .meta { background: linear-gradient(180deg, #fff 0%, #F5EFE0 100%); }
.domain-card .label { color: var(--navy); }
.domain-card .more { color: var(--terracotta); }
.domain-card:hover .more { color: var(--red-hover); }

/* Top-bar — warmer */
.top-bar { background: var(--navy); border-bottom: 3px solid var(--terracotta); }

/* Stats — terracotta numbers */
.stat-item .num { color: var(--terracotta); }

/* Process — terracotta circle numbers */
.process-step .num { background: var(--terracotta); }

/* Megamenu — terracotta border-top */
.mega-menu, .submenu { border-top: 3px solid var(--terracotta) !important; }

/* CTA strip — softer warm gradient */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #3D2B1F 100%);
}

/* Footer rating + camion-replacement */
.footer-camion { border-bottom: 4px solid var(--terracotta); }

/* FAQ — terracotta + indicator */
.faq-item summary::after { color: var(--terracotta); }
.faq-item summary:hover { color: var(--terracotta); }

/* nav-cta (Devis в шапке) — terracotta pill */
.main-nav .nav-cta > a {
  background: var(--terracotta);
  border-radius: var(--radius-pill);
  padding: 12px 26px;
}
.main-nav .nav-cta > a:hover { background: var(--red-hover); }

/* Inline form — softer rounded */
.contact-form { border-radius: var(--radius-lg); }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: 10px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.15);
}


/* Toitures Sud — Brochure download button */
.ts-brochure-cta {
  text-align: center;
  margin-top: 48px;
}
.btn-ts-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #8B5A2B;
  color: #FFFFFF;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border: 2px solid #8B5A2B;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(139,90,43,0.20);
}
.btn-ts-download:hover {
  background: #A8B280;
  color: #2C2317;
  border-color: #A8B280;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(168,178,128,0.32);
}
.btn-ts-download svg { flex-shrink: 0; }
@media (max-width: 720px) {
  .ts-brochure-cta { margin-top: 32px; }
  .btn-ts-download { width: 90%; justify-content: center; padding: 16px 20px; font-size: 14px; }
}


/* Mobile: cta-strip buttons stack vertically, no overlap */
@media (max-width: 720px) {
  .cta-strip .btn { display: block; margin: 8px auto; width: 90%; max-width: 320px; }
  .cta-strip { padding: 36px 16px; }
  .cta-strip h2 { font-size: 1.5rem; line-height: 1.25; }
  .hero .actions, .hero .btn-wrap { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
  .hero .btn { width: 100%; max-width: 320px; margin: 0 auto; }
}


/* === Callback form (contact-strip) — toitures-sud, added 2026-05-14 === */
.contact-strip {
  background: linear-gradient(135deg, #8B5A2B 0%, #6B4220 100%);
  color: #fff;
  padding: 56px 24px;
  margin-top: 64px;
}
.contact-strip .container {
  max-width: 960px;
  margin: 0 auto;
}
.contact-strip-head {
  text-align: center;
  margin-bottom: 28px;
}
.contact-strip-head h2 {
  color: #fff !important;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.2;
}
.contact-strip-head p {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  margin: 0;
}
.contact-strip .contact-form-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-strip .contact-form-compact input[type="text"],
.contact-strip .contact-form-compact input[type="tel"],
.contact-strip .contact-form-compact select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  background: #fff;
  color: #2C2317;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}
.contact-strip .contact-form-compact select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%236B4220%22%20d%3D%22M6%208.5L1.5%204h9z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-strip .contact-form-compact select {
  grid-column: 1 / -1;
}
.contact-strip .contact-form-compact button {
  grid-column: 1 / -1;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
.contact-strip .contact-form-compact .cf-status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  min-height: 20px;
}
@media (max-width: 640px) {
  .contact-strip .contact-form-compact { grid-template-columns: 1fr; }
  .contact-strip-head h2 { font-size: 24px; }
}

/* Ghost Koenig editor widths (theme errors fix 2026-05-18) */
.kg-width-wide { width: 85vw; max-width: 1200px; margin-left: 50%; transform: translateX(-50%); }
.kg-width-full { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.kg-width-wide img, .kg-width-full img { width: 100%; height: auto; display: block; }


/* ===== À VENDRE banner (added 2026-05-22 sale prep) ===== */
.ts-sale-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(135deg, #D97706 0%, #C2410C 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-bottom: 3px solid #92400E;
}
.ts-sale-banner-inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ts-sale-banner-icon { font-size: 1.5rem; flex-shrink: 0; }
.ts-sale-banner-text { flex: 1; min-width: 200px; }
.ts-sale-banner-title { display: block; font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; }
.ts-sale-banner-desc { font-size: 0.85rem; opacity: 0.95; line-height: 1.4; }
.ts-sale-banner-cta { display: flex; gap: 8px; flex-shrink: 0; }
.ts-sale-banner-cta a {
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.15s;
  white-space: nowrap;
}
.ts-sale-banner-cta a:hover { background: rgba(255,255,255,0.28); }
.ts-sale-close {
  background: transparent; border: none; color: #fff;
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 10px;
  opacity: 0.8; transition: opacity 0.15s;
}
.ts-sale-close:hover { opacity: 1; }
@media (max-width: 700px) {
  .ts-sale-banner-inner { padding: 10px 16px; }
  .ts-sale-banner-text { width: 100%; }
  .ts-sale-banner-cta { width: 100%; justify-content: stretch; }
  .ts-sale-banner-cta a { flex: 1; text-align: center; }
}

/* Push body content down when banner visible */
body.has-sale-banner { padding-top: 84px; }
@media (max-width: 700px) { body.has-sale-banner { padding-top: 130px; } }

/* Also push fixed header below banner */
body.has-sale-banner .site-header { top: 84px; }
@media (max-width: 700px) { body.has-sale-banner .site-header { top: 130px; } }
