:root {
  --ink: #171717;
  --muted: #5e5a54;
  --paper: #f3efe8;
  --card: #fffcf8;
  --line: #e4ddd2;
  --red: #c8102e;
  --forest: #1c3b34;
  --shadow: 0 18px 50px rgba(23, 23, 23, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6;
}
img { max-width: 100%; display: block; }
html, body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--forest); color: #efe7da; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #f0d7a4; }

header.site {
  position: sticky; top: 0; z-index: 40; background: rgba(243,239,232,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.navwrap { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 18px; }
.brand img { height: 49px; width: auto; background: transparent; }
.head-phone {
  display: flex; flex-direction: column; margin-left: 8px; padding-left: 14px;
  border-left: 2px solid var(--red); line-height: 1.05; white-space: nowrap;
}
.head-phone small { font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--red); font-weight: 700; }
.head-phone b { font-size: 24px; letter-spacing: -.4px; }
nav.main { display: flex; gap: 4px; }
nav.main a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
nav.main a:hover, nav.main a.active { background: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: white; font-weight: 700;
  padding: 12px 18px; border-radius: 999px; border: 0; cursor: pointer;
}
.btn.dark { background: var(--ink); }
.btn.wa { background: #1fa855; }
.btn.line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; }

.logo-band { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0 22px; }
.logo-band .label { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 12px; }
.logo-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.logo-row a {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  min-height: 100px; padding: 6px 8px; display: grid; place-items: center;
  transition: .2s transform, .2s box-shadow;
}
.logo-row a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7cfc3; }
.logo-row img { width: 100%; height: 78px; object-fit: contain; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.kicker { color: var(--red); font-weight: 700; letter-spacing: 1.6px; font-size: 12px; text-transform: uppercase; }
h1, h2, h3 { font-family: "Sora", "Segoe UI", sans-serif; font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; margin: 12px 0 16px; }
.lead { font-size: 17px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-visual img { height: 460px; width: 100%; object-fit: cover; border-radius: 28px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0 10px; }
.stat { background: var(--forest); color: white; border-radius: 18px; padding: 18px; }
.stat b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.stat span { color: #d9cbb6; font-size: 13px; }

section { padding: 72px 0; }
.sec-head { max-width: 680px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.sec-head p { color: var(--muted); margin-top: 8px; font-weight: 400; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prod {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; display: grid; grid-template-columns: 148px 1fr; min-height: 168px;
}
.prod img { width: 100%; height: 100%; object-fit: cover; }
.prod div { padding: 18px 18px 16px; display: flex; flex-direction: column; }
.prod.wide { grid-column: 1 / -1; grid-template-columns: 220px 1fr; }
.prod p { color: var(--muted); font-size: 14.5px; margin: 6px 0 12px; font-weight: 400; }
.prod .more { margin-top: auto; font-weight: 700; color: var(--red); }

.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.why img { border-radius: 24px; height: 420px; width: 100%; object-fit: cover; }
.bullets { margin-top: 14px; display: grid; gap: 8px; }
.bullets li { list-style: none; padding-left: 22px; position: relative; }
.bullets li:before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.logos { display: flex; flex-wrap: wrap; gap: 8px; }
.logos span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.note { color: var(--muted); font-size: 13px; margin-top: 12px; }

.agency { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agency a {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.agency img { height: 110px; width: 100%; object-fit: contain; }
.agency span { font-weight: 650; font-size: 14px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.offices .gcard h3 { white-space: nowrap; }
.offices .gcard a { white-space: nowrap; font-size: 18px; }
.group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gcard { background: #fff; border-radius: 20px; padding: 18px; border: 1px solid var(--line); }
.gcard h3 { font-size: 20px; margin-bottom: 6px; }
.gcard p { color: var(--muted); font-size: 14px; font-weight: 400; }
.gcard a { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--red); }
.faq { display: grid; gap: 12px; }
.faq article { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.faq h3 { font-size: 18px; margin-bottom: 6px; }
.faq p { color: var(--muted); }

.cta {
  background: var(--ink); color: white; border-radius: 28px;
  padding: 36px; display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta p { color: #d8d2c8; font-weight: 400; }

.page-hero { padding: 42px 0 10px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split img { border-radius: 24px; height: 380px; width: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 600; }
.map { width: 100%; height: 320px; border: 0; border-radius: 20px; }

footer.site { background: var(--forest); color: #efe7da; padding: 42px 0 24px; }
.footgrid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1fr; gap: 22px; }
footer a { display: block; color: #f0d7a4; margin: 4px 0; }
footer h4 { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.legal { margin-top: 22px; color: #cbbda8; font-size: 12.5px; }

.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: white;
  display: grid; place-items: center; font-size: 28px; box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .logo-row { grid-template-columns: repeat(3, 1fr); }
  .group, .agency, .footgrid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .why, .split { grid-template-columns: 1fr; }
  .hero-visual img, .why img, .split img { height: 280px; }
  .navwrap > .btn { display: none; }
}

@media (max-width: 720px) {
  .container { width: min(1180px, calc(100% - 28px)); }
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; text-align: center; }
  .navwrap { min-height: 68px; gap: 8px; }
  .brand img { height: 44px; }
  .head-phone { margin-left: auto; padding-left: 10px; }
  .head-phone small { font-size: 9px; letter-spacing: .6px; }
  .head-phone b { font-size: 15px; }
  .menu-btn { display: block; width: 42px; height: 42px; }
  nav.main { display: none; }
  nav.main.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); padding: 8px 14px 16px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  nav.main a { padding: 14px 12px; font-size: 16px; border-radius: 12px; }
  .logo-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logo-row a { min-height: 72px; padding: 4px; }
  .logo-row img { height: 46px; }
  section { padding: 42px 0; }
  .hero { padding: 28px 0 8px; }
  .hero h1, .page-hero h1 { font-size: 30px; }
  .lead { font-size: 16px; }
  .hero-actions .btn, .cta .btn { width: 100%; }
  .products, .group, .agency, .footgrid, .stats, .prod, .offices, .why, .split, .hero-grid { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; }
  .prod img { height: 190px; }
  .prod.wide { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .gcard h3 { white-space: normal; }
  .offices .gcard h3, .offices .gcard a { white-space: normal; }
  .map { height: 240px; }
  .chips a { padding: 12px 14px; }
  .page-hero { padding: 28px 0 4px; }
}
