/* ==========================================================================
   Kaz Collect — светлая тема
   Палитра: графит + изумруд на светлом фоне
   Шрифты: Bricolage Grotesque (заголовки) + Manrope (текст) + Playfair (лого)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&display=swap");

/* ---------- Tokens ---------- */
:root{
  --bg:        #f6f7f9;
  --bg-2:      #eef1f5;
  --surface:   #ffffff;
  --surface-2: #f4f6f9;
  --line:      rgba(16,24,40,.10);
  --line-2:    rgba(16,24,40,.16);

  --brand:     #059669;
  --brand-2:   #047857;
  --brand-3:   #065f46;
  --brand-soft:#e7f4ee;
  --glow:      rgba(5,150,105,.28);

  --ink:       #121721;
  --muted:     #55606f;
  --muted-2:   #8790a0;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow:    0 24px 60px -30px rgba(16,24,40,.30);
  --shadow-sm: 0 8px 24px -14px rgba(16,24,40,.22);
  --shadow-brand: 0 18px 40px -16px var(--glow);
  --maxw:      1200px;
  --ease:      cubic-bezier(.2,.7,.2,1);

  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-body:    "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif:   "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--f-body);
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }
::selection{ background:var(--brand); color:#fff; }

body::before{
  content:""; position:fixed; inset:0; z-index:-2;
  background:
    radial-gradient(760px 500px at 88% -8%, rgba(5,150,105,.09), transparent 60%),
    radial-gradient(680px 520px at -4% 6%, rgba(5,150,105,.05), transparent 55%),
    var(--bg);
}

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:24px; }
.section{ padding:96px 0; position:relative; }
.section--tight{ padding:64px 0; }

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--f-display); font-weight:700; line-height:1.08; letter-spacing:-.02em; color:var(--ink); }
.h-xl{ font-size:clamp(2.4rem,6vw,4.5rem); font-weight:800; }
.h-lg{ font-size:clamp(2rem,4vw,3.1rem); }
.h-md{ font-size:clamp(1.5rem,2.6vw,2rem); }
.lead{ font-size:clamp(1.05rem,1.5vw,1.28rem); color:var(--muted); max-width:60ch; }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--f-body); font-weight:700; font-size:.78rem;
  letter-spacing:.16em; text-transform:uppercase; color:var(--brand-2);
  padding:8px 14px; border:1px solid var(--line-2); border-radius:100px;
  background:var(--brand-soft);
}
.eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--brand); box-shadow:0 0 10px var(--glow); }

.section-head{ max-width:720px; margin-bottom:56px; }
.section-head .h-lg{ margin:20px 0 16px; }
.text-brand{ color:var(--brand-2); }
.text-muted{ color:var(--muted); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-size:.98rem; padding:15px 26px; border-radius:100px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; }
.btn--primary{ background:linear-gradient(180deg,var(--brand),var(--brand-3)); color:#fff; box-shadow:var(--shadow-brand); }
.btn--primary:hover{ transform:translateY(-3px); box-shadow:0 24px 50px -16px var(--glow); }
.btn--ghost{ border:1px solid var(--line-2); color:var(--ink); background:var(--surface); }
.btn--ghost:hover{ border-color:var(--brand); color:var(--brand-2); transform:translateY(-3px); }
.btn--lg{ padding:18px 34px; font-size:1.05rem; }
.btn--block{ width:100%; }

/* ---------- Header ---------- */
.site-header{ position:sticky; top:0; z-index:100; }
.nav-inner{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  margin:14px auto; max-width:var(--maxw);
  padding:10px 14px 10px 18px;
  border:1px solid var(--line); border-radius:100px;
  background:rgba(255,255,255,.82); backdrop-filter:blur(18px) saturate(140%);
  box-shadow:var(--shadow-sm);
  transition:box-shadow .3s var(--ease);
}
.site-header.scrolled .nav-inner{ box-shadow:0 18px 44px -22px rgba(16,24,40,.34); }
.brand{ display:flex; align-items:center; gap:13px; font-family:var(--f-display); font-weight:800; font-size:1.18rem; letter-spacing:-.02em; }
.brand-logo{ height:46px; width:auto; display:block; }
.brand-mark{
  width:42px; height:42px; border-radius:12px; flex:none;
  display:grid; place-items:center;
  background:linear-gradient(160deg,#1c222c,#0f141b);
  color:#fff; font-family:var(--f-serif); font-weight:700; font-size:1.28rem; letter-spacing:-.07em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.brand span b{ color:var(--brand-2); font-weight:800; }
.nav-links{ display:flex; align-items:center; gap:2px; }
.nav-links a{
  font-weight:600; font-size:.9rem; color:var(--muted);
  padding:9px 13px; border-radius:100px; transition:.2s;
}
.nav-links a:hover{ color:var(--ink); background:rgba(16,24,40,.05); }
.nav-links a.active{ color:var(--brand-2); background:var(--brand-soft); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; width:44px; height:44px; border-radius:12px; border:1px solid var(--line-2); background:var(--surface); }
.nav-toggle span{ display:block; width:20px; height:2px; margin:4px auto; background:var(--ink); border-radius:2px; transition:.3s; }
.nav-toggle.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ---------- Hero (с фото на фоне) ---------- */
.hero{
  position:relative; padding:96px 0 100px; overflow:hidden;
  background:
    linear-gradient(100deg, rgba(246,247,249,.94) 0%, rgba(246,247,249,.80) 30%, rgba(246,247,249,.42) 58%, rgba(246,247,249,.14) 100%),
    url("bg-404.jpg") center right / cover no-repeat;
}
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.hero h1{ margin:22px 0 24px; }
.hero .lead{ margin-bottom:34px; color:#3d4552; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:10px; margin-top:34px; }
.chip{
  display:inline-flex; align-items:center; gap:8px; font-size:.85rem; font-weight:600; color:var(--muted);
  padding:9px 15px; border:1px solid var(--line); border-radius:100px; background:rgba(255,255,255,.9);
}
.chip svg{ width:16px; height:16px; color:var(--brand-2); }

.hero-visual{ position:relative; }
.hero-card{
  position:relative; border:1px solid var(--line); border-radius:var(--radius-lg);
  background:rgba(255,255,255,.92); backdrop-filter:blur(6px);
  padding:30px; box-shadow:var(--shadow); overflow:hidden;
}
.hero-card::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(400px 200px at 80% 0%, rgba(5,150,105,.10), transparent 60%);
}
.hero-card-top{ display:flex; align-items:center; justify-content:space-between; position:relative; }
.hero-card-badge{ font-size:.75rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--brand-2); }
.hero-stat-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:24px; position:relative; }
.mini-stat{ border:1px solid var(--line); border-radius:var(--radius-sm); padding:18px; background:var(--surface-2); }
.mini-stat .num{ font-family:var(--f-display); font-weight:800; font-size:1.7rem; color:var(--ink); }
.mini-stat .lbl{ font-size:.82rem; color:var(--muted); margin-top:2px; }
.hero-progress{ margin-top:22px; position:relative; }
.hero-progress .bar{ height:9px; border-radius:100px; background:rgba(16,24,40,.08); overflow:hidden; }
.hero-progress .bar i{ display:block; height:100%; width:0; border-radius:100px; background:linear-gradient(90deg,var(--brand-3),var(--brand)); transition:width 1.6s var(--ease); }
.hero-progress .row{ display:flex; justify-content:space-between; font-size:.82rem; color:var(--muted); margin-bottom:8px; }

/* ---------- Trust strip ---------- */
.trust{ border-block:1px solid var(--line); background:var(--surface); }
.trust-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; padding:26px 0; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:12px; color:var(--muted); font-weight:600; font-size:.94rem; }
.trust-item b{ font-family:var(--f-display); font-size:1.5rem; color:var(--ink); }

/* ---------- Stats ---------- */
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.stat-card{ padding:30px 26px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); transition:.3s var(--ease); }
.stat-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.stat-card .num{ font-family:var(--f-display); font-weight:800; font-size:clamp(2.2rem,4vw,3rem); color:var(--brand-2); }
.stat-card .lbl{ color:var(--muted); margin-top:6px; font-weight:500; }

/* ---------- Cards / services ---------- */
.grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  position:relative; border:1px solid var(--line); border-radius:var(--radius);
  background:var(--surface); padding:32px; transition:.35s var(--ease); overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.card::after{
  content:""; position:absolute; left:0; right:0; top:0; height:3px; border-radius:3px;
  background:linear-gradient(90deg,var(--brand),var(--brand-3));
  transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease);
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:var(--line-2); }
.card:hover::after{ transform:scaleX(1); }
.card-ico{
  width:54px; height:54px; border-radius:14px; display:grid; place-items:center;
  background:var(--brand-soft); border:1px solid var(--line-2); color:var(--brand-2); margin-bottom:22px;
}
.card-ico svg{ width:26px; height:26px; }
.card h3{ font-size:1.28rem; margin-bottom:12px; }
.card .tag{ font-size:.74rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-2); display:block; margin-bottom:14px; }
.card p{ color:var(--muted); font-size:.97rem; }
.card-num{ position:absolute; top:26px; right:30px; font-family:var(--f-display); font-weight:800; font-size:1rem; color:var(--line-2); }

.feature{ display:flex; gap:18px; padding:26px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); transition:.3s var(--ease); }
.feature:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--line-2); }
.feature .fico{ flex:none; width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-2); border:1px solid var(--line-2); }
.feature .fico svg{ width:22px; height:22px; }
.feature h3{ font-size:1.12rem; margin-bottom:8px; }
.feature p{ color:var(--muted); font-size:.94rem; }

/* ---------- Split / about ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.quote-card{
  border:1px solid var(--line); border-radius:var(--radius-lg); padding:38px;
  background:var(--surface); position:relative; box-shadow:var(--shadow);
}
.quote-card .mark{ font-family:var(--f-serif); font-size:4rem; line-height:.6; color:var(--brand); opacity:.6; }
.quote-card p{ color:var(--muted); font-size:1.05rem; margin-top:10px; }
.list-check{ display:grid; gap:14px; margin-top:8px; }
.list-check li{ display:flex; gap:14px; align-items:flex-start; color:var(--muted); }
.list-check li::before{
  content:""; flex:none; width:24px; height:24px; margin-top:2px; border-radius:8px;
  background:var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23047857' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/15px no-repeat;
  border:1px solid var(--line-2);
}
.list-check li b{ color:var(--ink); font-weight:700; }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.step{ position:relative; padding:32px 28px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); }
.step .n{ font-family:var(--f-display); font-weight:800; font-size:2.4rem; color:var(--brand); }
.step h3{ font-size:1.2rem; margin:8px 0 10px; }
.step p{ color:var(--muted); font-size:.95rem; }

/* ---------- CTA ---------- */
.cta{ position:relative; border:1px solid var(--line-2); border-radius:var(--radius-lg); padding:60px; overflow:hidden;
  background:linear-gradient(150deg,var(--brand-soft),#ffffff 70%); text-align:center; box-shadow:var(--shadow); }
.cta::before{ content:""; position:absolute; inset:0; background:radial-gradient(600px 300px at 50% -20%, rgba(5,150,105,.12), transparent 60%); }
.cta > *{ position:relative; }
.cta .h-lg{ margin:16px auto; max-width:18ch; }
.cta .lead{ margin:0 auto 30px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* CTA с фотографией (тёмный акцентный блок) */
.cta--photo{
  border-color:rgba(255,255,255,.16);
  background:
    linear-gradient(150deg, rgba(6,40,30,.90), rgba(9,17,14,.86)),
    url("bg-503.jpg") center/cover no-repeat;
}
.cta--photo::before{ background:radial-gradient(600px 300px at 50% -20%, rgba(52,211,153,.28), transparent 60%); }
.cta--photo .eyebrow{ background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.20); color:#a7f3d0; }
.cta--photo .h-lg{ color:#fff; }
.cta--photo .lead{ color:rgba(255,255,255,.82); }
.cta--photo .btn--ghost{ background:transparent; border-color:rgba(255,255,255,.35); color:#fff; }
.cta--photo .btn--ghost:hover{ border-color:#fff; color:#a7f3d0; }

/* ---------- Forms ---------- */
.form-card{ border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); padding:34px; box-shadow:var(--shadow); }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:.86rem; font-weight:600; color:var(--muted); margin-bottom:8px; }
.input,.textarea{
  width:100%; background:var(--surface-2); border:1px solid var(--line-2); color:var(--ink);
  padding:14px 16px; border-radius:var(--radius-sm); font-family:inherit; font-size:.98rem; transition:.2s;
}
.input::placeholder,.textarea::placeholder{ color:var(--muted-2); }
.input:focus,.textarea:focus{ outline:none; border-color:var(--brand); background:#fff; box-shadow:0 0 0 4px rgba(5,150,105,.12); }
.textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:.82rem; color:var(--muted-2); margin-top:14px; }
.form-ok{ display:none; margin-top:16px; padding:14px 16px; border-radius:var(--radius-sm); background:var(--brand-soft); border:1px solid var(--line-2); color:var(--brand-2); font-weight:600; }
.form-ok.show{ display:block; }

/* ---------- Page hero (inner) ---------- */
.page-hero{ padding:64px 0 40px; position:relative; }
.crumbs{ display:flex; gap:8px; align-items:center; font-size:.88rem; color:var(--muted-2); margin-bottom:18px; }
.crumbs a:hover{ color:var(--brand-2); }
.crumbs span{ color:var(--line-2); }

/* ---------- Info rows ---------- */
.info-card{ border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); padding:30px; box-shadow:var(--shadow-sm); }
.info-card h3{ font-size:1.2rem; margin-bottom:18px; display:flex; align-items:center; gap:12px; }
.info-card h3 .fico{ width:40px; height:40px; border-radius:11px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-2); border:1px solid var(--line-2); }
.info-card h3 .fico svg{ width:20px; height:20px; }
.kv{ display:grid; gap:2px; padding:12px 0; border-bottom:1px dashed var(--line-2); }
.kv:last-child{ border-bottom:none; }
.kv .k{ font-size:.82rem; color:var(--muted-2); }
.kv .v{ font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; }
.contact-line{ display:flex; align-items:center; gap:14px; padding:12px 0; border-bottom:1px dashed var(--line-2); }
.contact-line:last-child{ border-bottom:none; }
.contact-line .fico{ flex:none; width:42px; height:42px; border-radius:11px; display:grid; place-items:center; background:var(--brand-soft); color:var(--brand-2); border:1px solid var(--line-2); }
.contact-line .fico svg{ width:20px; height:20px; }
.contact-line .k{ font-size:.78rem; color:var(--muted-2); }
.contact-line a,.contact-line .v{ font-weight:600; color:var(--ink); }
.contact-line a:hover{ color:var(--brand-2); }

/* ---------- Prose ---------- */
.prose{ max-width:820px; }
.prose p{ color:var(--muted); margin-bottom:18px; font-size:1.03rem; }
.prose p b,.prose strong{ color:var(--ink); }
.prose h3{ font-size:1.5rem; margin:32px 0 16px; }
.prose a{ color:var(--brand-2); text-decoration:underline; text-underline-offset:3px; }

/* ---------- Footer ---------- */
.site-footer{ border-top:1px solid var(--line); background:var(--surface); padding:72px 0 32px; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.3fr; gap:40px; }
.footer-about p{ color:var(--muted); font-size:.94rem; margin-top:18px; max-width:34ch; }
.footer-col h4{ font-family:var(--f-body); font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted-2); margin-bottom:18px; }
.footer-col ul{ display:grid; gap:11px; }
.footer-col a,.footer-col li{ color:var(--muted); font-size:.94rem; transition:.2s; }
.footer-col a:hover{ color:var(--brand-2); }
.footer-contacts a{ display:block; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  margin-top:52px; padding-top:26px; border-top:1px solid var(--line); color:var(--muted-2); font-size:.86rem; }
.footer-bottom .socials{ display:flex; gap:10px; }
.footer-bottom .socials a{ width:38px; height:38px; border-radius:11px; display:grid; place-items:center; border:1px solid var(--line-2); color:var(--muted); transition:.25s; }
.footer-bottom .socials a:hover{ color:var(--brand-2); border-color:var(--brand); transform:translateY(-3px); }
.footer-bottom .socials svg{ width:18px; height:18px; }

/* ---------- Floating WhatsApp ---------- */
.fab{ position:fixed; right:22px; bottom:22px; z-index:90; width:58px; height:58px; border-radius:50%;
  display:grid; place-items:center; background:linear-gradient(160deg,var(--brand),var(--brand-3)); color:#fff;
  box-shadow:var(--shadow-brand); transition:transform .25s var(--ease); }
.fab:hover{ transform:scale(1.08) translateY(-2px); }
.fab svg{ width:28px; height:28px; }

/* ---------- Reveal ---------- */
[data-reveal]{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in{ opacity:1; transform:none; }
[data-reveal-delay="1"]{ transition-delay:.08s; }
[data-reveal-delay="2"]{ transition-delay:.16s; }
[data-reveal-delay="3"]{ transition-delay:.24s; }
[data-reveal-delay="4"]{ transition-delay:.32s; }

@media (prefers-reduced-motion:reduce){
  *{ animation:none!important; transition:none!important; scroll-behavior:auto!important; }
  [data-reveal]{ opacity:1; transform:none; }
}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero{ background:linear-gradient(180deg, rgba(246,247,249,.90), rgba(246,247,249,.74)), url("bg-404.jpg") center/cover no-repeat; }
  .split{ grid-template-columns:1fr; gap:36px; }
  .grid-3,.steps{ grid-template-columns:1fr 1fr; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width:760px){
  .section{ padding:70px 0; }
  .nav-links,.nav-cta .btn{ display:none; }
  .nav-toggle{ display:block; }
  .nav-links.open{
    display:flex; flex-direction:column; align-items:stretch; gap:6px;
    position:absolute; top:76px; left:14px; right:14px; padding:16px;
    background:rgba(255,255,255,.98); backdrop-filter:blur(18px);
    border:1px solid var(--line-2); border-radius:22px; box-shadow:var(--shadow);
  }
  .nav-links.open a{ padding:13px 16px; font-size:1rem; }
  .grid-3,.grid-2,.steps,.stats-grid{ grid-template-columns:1fr; }
  .cta{ padding:40px 24px; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero-card{ padding:24px; }
  .brand-logo{ height:40px; }
}
