/* ══ Homepage.css — Головна: герой, пошук, статистика, «Чому ми».
   Правити тут; сторінка підключає чанк через site_css() у шаблоні. ══ */

.hero { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:56px;
        align-items:start; margin-top:52px; }
.stat { color:#414141; font-size:17px; margin-top:0; line-height:1.55; }
.stat b { font-weight:800; color:var(--ink); }
.stat .star { color:var(--star); }
.stat .nb { white-space:nowrap; }
.stat .stat-nl { display:block; }
.search { display:flex; margin-top:26px; max-width:735px; }
.search input { flex:1; min-width:0; border:1px solid var(--line); border-right:0;
                border-radius:var(--radius) 0 0 var(--radius); padding:0 18px;
                height:58px; font-size:16px; font-family:inherit; color:var(--ink);
                outline:none; }
.search input:focus { border-color:var(--green); }
.search input::placeholder { color:var(--faint); }
.search button { flex:0 0 auto; width:66px; height:58px; border:0; cursor:pointer;
                 background:var(--green); border-radius:0 var(--radius) var(--radius) 0;
                 display:grid; place-items:center; }
.search button svg { width:20px; height:20px; color:#fff; }
.search button:hover { background:var(--green-d); }
.grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:0 40px;
        margin:40px 0 64px; }
.why { display:grid; grid-template-columns:repeat(3, 1fr); gap:46px;
       margin-top:72px; }
.why h3 { font-size:24px; line-height:36px; font-weight:700; color:#414141; }
.why p { color:#414141; font-size:16px; line-height:1.65; margin-top:14px; }
.app { margin-top:72px; border-radius:6px;
       background:linear-gradient(90deg, #FDF8EC 0%, #FDF8EC 45%,
                  rgba(253,248,236,.55) 72%, rgba(253,248,236,0) 100%);
       display:grid; grid-template-columns:490px 1fr; align-items:center;
       gap:40px; overflow:hidden; padding:50px 50px 0; min-height:317px; }
.app-tx { padding:0 0 50px; }
.app-tx h3 { font-size:30px; line-height:45px; font-weight:400; color:#414141;
            margin-bottom:20px; }
.app-tx h3 b { font-weight:700; }
.app-img { align-self:end; background:transparent; position:relative; }
.app-img img { width:225%; max-width:none; height:auto; display:block;
               margin-left:-130px; margin-right:-40px; }
@media (max-width:900px) {
  .hero { grid-template-columns:1fr; gap:26px; margin-top:34px; }
  .stat { font-size:14px; line-height:1.7; }
  .search { margin-top:18px; max-width:none; }
  .search input { height:48px; font-size:14px; }
  .search button { width:52px; height:48px; }
  .grid { grid-template-columns:1fr; gap:0; margin:26px 0 40px; }
  .grid { margin:20px 0 40px; }
  .why { grid-template-columns:1fr; gap:30px; margin-top:40px; }
  .why h3 { font-size:20px; line-height:27px; font-weight:700; margin-bottom:8px; }
  .why p { font-size:16px; line-height:1.65; }
  .app { grid-template-columns:1fr; margin-top:44px; padding:28px 20px 0;
           min-height:0; gap:0;
           background:linear-gradient(180deg, #FDF8EC 0%, #FDF8EC 78%,
                      rgba(253,248,236,0) 100%); }
  .app-tx { padding:0 0 24px; }
  .app-tx h3 { font-size:24px; line-height:33px; margin-bottom:18px; }
  .app-img img { width:150%; max-width:none; margin:0 5% 0 -25%; }
}
