/* landing_map_style.css
   Доповнення до landing-main_style.css для регіональних сторінок.
   Базові класи (section, section-heading, cases-grid, faq-list, seo-grid,
   callout-link) НЕ дублюються - вони приходять з landing-main_style.css.

   Блоки з префіксом lm- (hero, pricing, process, reading) - самодостатні:
   вони не залежать від класів hero/pricing-grid/process-grid базового файлу,
   тому редизайн не ламає хаб-сторінки. Змінні дизайн-системи (--accent)
   використовуються з fallback-значеннями. */

/* ===========================================
      Хлібні крихти
=========================================== */
.breadcrumbs{
    padding:14px 0;
    border-bottom:1px solid rgba(0,0,0,.06);
    background:#fff;
}

.breadcrumbs ol{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    margin:0;
    padding:0;
    list-style:none;
    font-size:14px;
}

.breadcrumbs li{
    display:flex;
    align-items:center;
    gap:8px;
    color:#6b7280;
}

.breadcrumbs a{
    color:#6b7280;
    text-decoration:none;
    transition:color .2s;
}

.breadcrumbs a:hover{
    color:var(--accent,#f59e0b);
}

.breadcrumbs [aria-current="page"]{
    color:#111;
    font-weight:600;
}

/* ===========================================
      HERO: фото + затемнення, контент ліворуч,
      панель довіри праворуч
=========================================== */
.lm-hero{
    position:relative;
    display:flex;
    align-items:center;
    min-height:clamp(480px,58vh,620px);
    padding:56px 0;
    background:#0b0c10;
    color:#fff;
    overflow:hidden;
}

.lm-hero-bg{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    z-index:0;
}

.lm-hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(90deg,
            rgba(8,17,32,.92) 0%,
            rgba(8,17,32,.78) 45%,
            rgba(8,17,32,.42) 100%),
        linear-gradient(180deg,
            rgba(8,17,32,.25) 0%,
            rgba(8,17,32,.55) 100%);
}

.lm-hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);
    gap:48px;
    align-items:center;
    width:100%;
}

.lm-hero-label{
    display:inline-block;
    margin-bottom:16px;
    padding:6px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.25);
    background:rgba(255,255,255,.08);
    font-size:13px;
    font-weight:600;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:rgba(255,255,255,.9);
    backdrop-filter:blur(4px);
}

.lm-hero-main h1{
    color:#fff;
    margin:0 0 16px;
    font-size:clamp(30px,4.2vw,46px);
    line-height:1.12;
    letter-spacing:-.01em;
    text-wrap:balance;
}

.lm-hero-subtitle{
    margin:0 0 28px;
    max-width:56ch;
    font-size:clamp(16px,1.6vw,18px);
    line-height:1.65;
    color:rgba(255,255,255,.82);
}

/* --- Кнопки (спільні для hero та pricing) --- */
.lm-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:14px 28px;
    border-radius:12px;
    font-size:16px;
    font-weight:700;
    text-decoration:none;
    line-height:1.2;
    cursor:pointer;
    transition:transform .2s,box-shadow .2s,background .2s,border-color .2s;
}

.lm-btn-primary{
    background:var(--accent,#f59e0b);
    color:#0b0c10;
    box-shadow:0 10px 26px rgba(0,0,0,.28);
}

.lm-btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(0,0,0,.34);
}

.lm-btn-ghost{
    border:1px solid rgba(255,255,255,.35);
    background:rgba(255,255,255,.06);
    color:#fff;
}

.lm-btn-ghost:hover{
    border-color:#fff;
    background:rgba(255,255,255,.12);
}

.lm-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:36px;
}

/* --- Статистика під кнопками --- */
.lm-hero-stats{
    display:flex;
    flex-wrap:wrap;
    gap:0;
    border-top:1px solid rgba(255,255,255,.16);
    padding-top:22px;
}

.lm-hero-stat{
    padding-right:32px;
    margin-right:32px;
    border-right:1px solid rgba(255,255,255,.16);
}

.lm-hero-stat:last-child{
    padding-right:0;
    margin-right:0;
    border-right:0;
}

.lm-hero-stat strong{
    display:block;
    font-size:clamp(22px,2.4vw,28px);
    line-height:1.1;
    color:var(--accent,#f59e0b);
}

.lm-hero-stat span{
    display:block;
    margin-top:4px;
    font-size:13px;
    color:rgba(255,255,255,.7);
}

/* --- Панель довіри праворуч --- */
.lm-hero-panel{
    padding:28px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.14);
    background:rgba(13,22,38,.66);
    backdrop-filter:blur(10px);
    box-shadow:0 24px 60px rgba(0,0,0,.35);
}

.lm-hero-list{
    margin:0;
    padding:0;
    list-style:none;
}

.lm-hero-list li{
    position:relative;
    padding:10px 0 10px 34px;
    font-size:15px;
    line-height:1.5;
    color:rgba(255,255,255,.92);
}

.lm-hero-list li + li{
    border-top:1px solid rgba(255,255,255,.09);
}

.lm-hero-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:13px;
    width:20px;
    height:20px;
    border-radius:50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0c10' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
        center/12px no-repeat,
        var(--accent,#f59e0b);
}

.lm-hero-phone{
    display:block;
    margin-top:20px;
    padding:14px 18px;
    border-radius:14px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.14);
    text-decoration:none;
    text-align:center;
    transition:background .2s,border-color .2s;
}

.lm-hero-phone:hover{
    background:rgba(255,255,255,.12);
    border-color:var(--accent,#f59e0b);
}

.lm-hero-phone span{
    display:block;
    font-size:12px;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:rgba(255,255,255,.6);
}

.lm-hero-phone strong{
    display:block;
    margin-top:2px;
    font-size:19px;
    color:#fff;
}

/* ===========================================
      Вступ: текст + зображення праворуч
=========================================== */
.lm-intro{
    max-width:74ch; /* варіант без картинки — читабельна колонка */
}
 
.lm-intro.has-media{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
    gap:44px;
    align-items:start;
    max-width:none;
}
 
.lm-intro-text p{
    margin:0 0 16px;
    font-size:16px;
    line-height:1.75;
    color:#374151;
}
 
.lm-intro-text p:last-child{
    margin-bottom:0;
}
 
/* Перший абзац трохи більший — вводить у текст і врівноважує
   висоту колонки з зображенням. */
.lm-intro.has-media .lm-intro-text p:first-child{
    font-size:17.5px;
    line-height:1.7;
    color:#1f2937;
}
 
.lm-intro-media{
    position:sticky;
    top:96px; /* нижче за липкий хедер */
    margin:0;
}
 
.lm-intro-media img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:4 / 3;
    object-fit:cover;
    border-radius:18px;
    background:#f1f2f5; /* плейсхолдер, поки вантажиться */
    box-shadow:0 18px 44px rgba(0,0,0,.12);
}
 
.lm-intro-media figcaption{
    margin-top:12px;
    padding-left:14px;
    border-left:3px solid var(--accent,#f59e0b);
    font-size:13.5px;
    line-height:1.55;
    color:#6b7280;
}


/* ===========================================
      Послуги у місті
=========================================== */
.region-services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
}

.region-service{
    position:relative;
    display:block;
    padding:26px 24px;
    background:#fff;
    border:1px solid rgba(0,0,0,.07);
    border-radius:16px;
    text-decoration:none;
    color:inherit;
    transition:transform .25s,box-shadow .25s,border-color .25s;
}

a.region-service:hover{
    transform:translateY(-4px);
    border-color:var(--accent,#f59e0b);
    box-shadow:0 18px 40px rgba(0,0,0,.09);
}

.region-service h3{
    margin:0 0 10px;
    font-size:18px;
    line-height:1.35;
}

.region-service p{
    margin:0;
    font-size:15px;
    line-height:1.6;
    color:#5b6472;
}

.region-service-arrow{
    display:inline-block;
    margin-top:14px;
    font-weight:700;
    color:var(--accent,#f59e0b);
    transition:transform .25s;
}

a.region-service:hover .region-service-arrow{
    transform:translateX(5px);
}

/* ===========================================
      Регіональна специфіка
=========================================== */
.region-facts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:22px;
    margin-top:8px;
}

.region-fact{
    padding:24px;
    border-radius:16px;
    background:linear-gradient(180deg,#fbfbfc 0%,#f4f5f7 100%);
    border-left:3px solid var(--accent,#f59e0b);
}

.region-fact h3{
    margin:0 0 10px;
    font-size:17px;
}

.region-fact p{
    margin:0;
    font-size:15px;
    line-height:1.65;
    color:#4b5563;
}

/* ===========================================
      Вартість: картки з акцентним тарифом
=========================================== */
.lm-pricing-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:24px;
    align-items:stretch;
    margin-bottom:24px;
}

.lm-price-card{
    position:relative;
    display:flex;
    flex-direction:column;
    padding:32px 28px;
    background:#fff;
    border:1px solid rgba(0,0,0,.08);
    border-radius:20px;
    transition:transform .25s,box-shadow .25s,border-color .25s;
}

.lm-price-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 44px rgba(0,0,0,.1);
}

.lm-price-card.is-featured{
    border:2px solid var(--accent,#f59e0b);
    box-shadow:0 22px 50px rgba(0,0,0,.12);
}

.lm-price-badge{
    position:absolute;
    top:-13px;
    left:24px;
    padding:5px 14px;
    border-radius:999px;
    background:var(--accent,#f59e0b);
    color:#0b0c10;
    font-size:12px;
    font-weight:700;
    letter-spacing:.03em;
    text-transform:uppercase;
    white-space:nowrap;
}

.lm-price-card h3{
    margin:0 0 6px;
    font-size:18px;
    color:#111827;
}

.lm-price-value{
    margin:0 0 12px;
    font-size:clamp(28px,3vw,34px);
    font-weight:800;
    letter-spacing:-.01em;
    line-height:1.1;
    color:#0b0c10;
}

.lm-price-card.is-featured .lm-price-value{
    color:var(--accent,#b45309);
}

.lm-price-text{
    margin:0 0 18px;
    font-size:14px;
    line-height:1.6;
    color:#6b7280;
}

.lm-price-list{
    margin:0 0 24px;
    padding:18px 0 0;
    list-style:none;
    border-top:1px solid rgba(0,0,0,.07);
    flex-grow:1;
}

.lm-price-list li{
    position:relative;
    padding:5px 0 5px 28px;
    font-size:14.5px;
    line-height:1.55;
    color:#374151;
}

.lm-price-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:8px;
    width:17px;
    height:17px;
    border-radius:50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E")
        center/11px no-repeat,
        rgba(22,163,74,.14);
}

.lm-price-cta{
    border:1px solid rgba(0,0,0,.14);
    background:#fff;
    color:#111827;
    font-size:15px;
}

.lm-price-cta:hover{
    border-color:var(--accent,#f59e0b);
    color:var(--accent,#b45309);
}

.lm-price-cta.lm-btn-primary{
    color:#0b0c10;
    box-shadow:none;
}

.lm-price-cta.lm-btn-primary:hover{
    transform:none;
    box-shadow:0 10px 24px rgba(0,0,0,.14);
    color:#0b0c10;
}

.pricing-note,
.coverage-note{
    margin:0;
    font-size:14px;
    line-height:1.6;
    color:#6b7280;
}

.lm-pricing-grid + .pricing-note{
    text-align:center;
    max-width:70ch;
    margin:0 auto;
}

/* ===========================================
      Як працюємо: вертикальний таймлайн
=========================================== */
.lm-process{
    position:relative;
    max-width:760px;
    margin:0 auto;
    padding:0;
    list-style:none;
    counter-reset:none;
}

.lm-process-step{
    position:relative;
    display:flex;
    gap:24px;
    padding:0 0 36px 0;
}

.lm-process-step:last-child{
    padding-bottom:0;
}

/* з'єднувальна лінія між кроками */
.lm-process-step::before{
    content:"";
    position:absolute;
    left:23px;
    top:48px;
    bottom:-4px;
    width:2px;
    background:linear-gradient(180deg,rgba(0,0,0,.14),rgba(0,0,0,.05));
}

.lm-process-step:last-child::before{
    display:none;
}

.lm-process-num{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border-radius:50%;
    background:#0b0c10;
    color:#fff;
    font-size:18px;
    font-weight:800;
    box-shadow:0 0 0 6px rgba(0,0,0,.05);
}

.lm-process-step:first-child .lm-process-num{
    background:var(--accent,#f59e0b);
    color:#0b0c10;
}

.lm-process-body{
    flex:1;
    padding:2px 0 0;
}

.lm-process-head{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-bottom:6px;
}

.lm-process-head h3{
    margin:0;
    font-size:18px;
    line-height:1.35;
}

.lm-process-meta{
    padding:3px 12px;
    border-radius:999px;
    background:rgba(0,0,0,.05);
    border:1px solid rgba(0,0,0,.06);
    font-size:12.5px;
    font-weight:600;
    color:#4b5563;
    white-space:nowrap;
}

.lm-process-body p{
    margin:0;
    max-width:60ch;
    font-size:15px;
    line-height:1.65;
    color:#4b5563;
}

/* ===========================================
      Географія виїздів
=========================================== */
.coverage-list{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0 0 18px;
    padding:0;
    list-style:none;
}

.coverage-list li{
    padding:8px 16px;
    border-radius:999px;
    background:#f1f2f5;
    border:1px solid rgba(0,0,0,.05);
    font-size:14px;
    font-weight:600;
    color:#374151;
}

/* ===========================================
      Контакти (NAP)
=========================================== */
.region-contacts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
    margin-bottom:18px;
}

.region-contact{
    padding:22px;
    background:#fff;
    border:1px solid rgba(0,0,0,.07);
    border-radius:14px;
}

.region-contact-label{
    display:block;
    margin-bottom:6px;
    font-size:12px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#9ca3af;
}

.region-contact p{
    margin:0;
    font-size:16px;
    font-weight:600;
    line-height:1.5;
}

.region-contact a{
    color:inherit;
    text-decoration:none;
    transition:color .2s;
}

.region-contact a:hover{
    color:var(--accent,#f59e0b);
}

/* ===========================================
      Локальний кейс: підпис адреси
=========================================== */
.case-location{
    margin:0 0 12px;
    font-size:13px;
    font-weight:600;
    color:var(--accent,#b45309);
}

/* ===========================================
      Читайте також: картки статей
=========================================== */
.lm-reading-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
}

.lm-reading-card{
    display:flex;
    flex-direction:column;
    padding:26px 24px;
    background:#fff;
    border:1px solid rgba(0,0,0,.07);
    border-radius:16px;
    text-decoration:none;
    color:inherit;
    transition:transform .25s,box-shadow .25s,border-color .25s;
}

.lm-reading-card:hover{
    transform:translateY(-4px);
    border-color:var(--accent,#f59e0b);
    box-shadow:0 18px 40px rgba(0,0,0,.09);
}

.lm-reading-tag{
    align-self:flex-start;
    margin-bottom:14px;
    padding:4px 12px;
    border-radius:999px;
    background:rgba(0,0,0,.05);
    font-size:12px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:#6b7280;
}

.lm-reading-card h3{
    margin:0 0 8px;
    font-size:17px;
    line-height:1.4;
}

.lm-reading-card p{
    margin:0 0 18px;
    font-size:14.5px;
    line-height:1.6;
    color:#5b6472;
    flex-grow:1;
}

.lm-reading-more{
    font-size:14px;
    font-weight:700;
    color:var(--accent,#b45309);
}

.lm-reading-more em{
    display:inline-block;
    font-style:normal;
    transition:transform .25s;
}

.lm-reading-card:hover .lm-reading-more em{
    transform:translateX(5px);
}

/* ===========================================
      Крос-лінковка
=========================================== */
.related-block{
    margin-bottom:34px;
}

.related-block h2{
    margin:0 0 16px;
    font-size:20px;
}

.related-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.related-links a{
    display:inline-block;
    padding:9px 18px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.1);
    background:#fff;
    font-size:14px;
    font-weight:600;
    color:#374151;
    text-decoration:none;
    transition:border-color .2s,color .2s,transform .2s;
}

.related-links a:hover{
    border-color:var(--accent,#f59e0b);
    color:var(--accent,#b45309);
    transform:translateY(-2px);
}

.related-back{
    margin:6px 0 0;
}

/* ===========================================
      Доступність: видимий фокус
=========================================== */
.lm-btn:focus-visible,
.lm-hero-phone:focus-visible,
.lm-reading-card:focus-visible,
a.region-service:focus-visible,
.related-links a:focus-visible{
    outline:3px solid var(--accent,#f59e0b);
    outline-offset:2px;
}

/* ===========================================
      Адаптив
=========================================== */
@media (max-width:960px){
    .lm-hero-grid{
        grid-template-columns:1fr;
        gap:32px;
    }

    .lm-hero{
        min-height:0;
        padding:44px 0;
    }

    .lm-hero-panel{
        padding:22px;
    }
}

@media (max-width:768px){
    .breadcrumbs{
        padding:2px 0;
    }

    .breadcrumbs ol{
        font-size:13px;
        gap:6px;
    }

    .lm-hero-buttons{
        margin-bottom:28px;
    }

    .lm-hero-buttons .lm-btn{
        flex:1 1 100%;
    }

    .lm-hero-stats{
        gap:14px 0;
    }

    .lm-hero-stat{
        padding-right:20px;
        margin-right:20px;
    }

    .lm-price-card{
        padding:26px 22px;
    }

    .lm-process-step{
        gap:16px;
        padding-bottom:30px;
    }

    .lm-process-num{
        width:40px;
        height:40px;
        font-size:16px;
        box-shadow:0 0 0 4px rgba(0,0,0,.05);
    }

    .lm-process-step::before{
        left:19px;
        top:42px;
    }

    .region-fact{
        padding:20px;
    }

    .related-block h2{
        font-size:18px;
    }
}

@media (prefers-reduced-motion:reduce){
    .lm-btn,
    .lm-price-card,
    .lm-reading-card,
    .lm-reading-more em,
    .region-service,
    .region-service-arrow,
    .related-links a{
        transition:none;
    }

    .lm-btn-primary:hover,
    .lm-price-card:hover,
    .lm-reading-card:hover,
    a.region-service:hover,
    .related-links a:hover{
        transform:none;
    }
}

/* ===========================================
      Адаптив вступу
      (додайте до наявних media-блоків або лишіть окремо)
=========================================== */
@media (max-width:960px){
    .lm-intro.has-media{
        grid-template-columns:1fr;
        gap:28px;
    }
 
    /* На вузькому екрані картинка йде першою: вона задає контекст
       до довгого тексту, а не висить під ним, де її не побачать. */
    .lm-intro-media{
        position:static;
        order:-1;
    }
 
    .lm-intro-media img{
        aspect-ratio:16 / 9;
        border-radius:14px;
    }
 
    .lm-intro.has-media .lm-intro-text p:first-child{
        font-size:16.5px;
    }
}
 
