/*
Theme Name: Logistic Point
Theme URI: https://lp.kz
Author: Concrete Partners Group
Description: Custom theme for Logistic Point - logistics company in Kazakhstan
Version: 1.0.0
Text Domain: logistic-point
*/

/* ===== Final handoff UX/readability fixes ===== */

/* LP final UX: shared header rhythm on all RU/KZ/EN pages. */
.header .container {
    width: 100%;
    max-width: 1680px;
    margin-inline: auto;
    padding-inline: clamp(20px, 3vw, 52px);
    gap: clamp(12px, 1.5vw, 24px);
    min-width: 0;
}
.header .header-logo { margin-right: 0; flex: 0 1 auto; min-width: 155px; }
.header .header-logo img { max-width: 205px; width: 100%; height: auto; }
.header .header-nav { min-width: 0; flex: 1 1 auto; }
.header .header-nav-links { flex-wrap: nowrap; justify-content: center; }
.header .header-phones { margin-right: 0; flex: 0 0 auto; }
.header .btn-track { margin-right: 0; flex: 0 0 auto; min-height: 42px; padding-inline: 14px; width: auto; }
.header .header-cabinet {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; flex: 0 0 auto; padding: 8px 12px;
    border-radius: 12px; white-space: nowrap; font-size: 14px;
    font-weight: 600; color: #172517; text-decoration: none;
}
.header .header-cabinet .header-user {
    display: block; width: 30px; height: 30px; margin: 0;
}
.header .header-cabinet:hover,
.header .header-cabinet:focus-visible { background: #f0f6e5; }
.header a:focus-visible, .header button:focus-visible,
.mobile-menu a:focus-visible, .mobile-menu button:focus-visible {
    outline: 3px solid #527c18; outline-offset: 3px;
}
@media (max-width: 1500px) {
    .header .container { gap: 12px; }
    .header .header-logo img { max-width: 175px; }
    .header .header-cabinet { font-size: 13px; padding-inline: 8px; }
    .header .header-nav-links { gap: 8px; }
}
@media (min-width: 769px) and (max-width: 1199px) {
    .header .header-nav, .header .header-phones { display: none !important; }
    .header .header-logo { margin-right: auto; }
    .header .header-burger { display: flex !important; margin-left: 0; }
}
@media (max-width: 768px) {
    .header .container { padding-inline: 20px; gap: 12px; }
    .header .header-logo { margin-right: auto; min-width: 0; }
    .header .header-logo img { max-width: 180px; }
    .header .header-nav, .header .header-phones,
    .header .header-cabinet, .header > .container > .btn-track { display: none !important; }
    .header .header-burger { display: flex !important; width: 44px; height: 44px; margin: 0; }
    .mobile-menu { padding-inline: 20px; padding-bottom: max(32px, env(safe-area-inset-bottom)); }
    .mobile-menu a, .mobile-menu button { min-height: 44px; }
}
/* No content column or CTA should touch the viewport edge. */
@media (max-width: 768px) {
    .container { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
    .lp-ru-onpage__content { min-width: 0; overflow-wrap: anywhere; }
    .lp-ru-onpage__content table { overflow-x: auto; }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 26px 28px;
    border-radius: 22px;
    background: linear-gradient(90deg, rgba(255,255,255,.90) 0%, rgba(255,255,255,.72) 68%, rgba(255,255,255,0) 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.hero-title, .hero-subtitle, .hero-checks li, .hero-note {
    text-shadow: 0 1px 0 rgba(255,255,255,.75);
}
.hero-checks li { line-height: 1.55; }
.service-card::after {
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 45%, transparent 100%);
}
.service-card:nth-child(1)::after {
    top: 0; bottom: auto; height: 58%;
    background: linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,.22) 55%, transparent 100%);
}
.service-card-label {
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
    padding: 3px 8px;
    margin-left: -8px;
    border-radius: 8px;
    background: rgba(0,0,0,.18);
}
.service-card:focus-visible, .btn-primary:focus-visible, .btn-outline:focus-visible, .btn-calc:focus-visible,
.faq-question:focus-visible, .calc-field input:focus-visible, .calc-field textarea:focus-visible {
    outline: 3px solid #96BD2F;
    outline-offset: 3px;
}
.faq-question { -webkit-tap-highlight-color: transparent; }
.about p { line-height: 1.75; }
@media (max-width: 900px) {
    .hero-content { padding: 20px; background: rgba(255,255,255,.86); }
    .service-card-label { font-size: 22px; }
}
@media (max-width: 560px) {
    .hero-content { padding: 16px; border-radius: 16px; }
    .hero-title { font-size: 30px; line-height: 1.15; }
    .hero-subtitle { font-size: 17px; line-height: 1.35; }
    .service-card-label { font-size: 18px; bottom: 24px; }
}

@media (max-width: 900px) { .lp-floating-wa { display: none !important; } }

/* RU On-Page 2026: optional verified source copy, scoped to RU service pages only. */
.lp-ru-onpage { padding: clamp(36px, 5vw, 72px) 0; background: #f8faf6; }
.lp-ru-onpage .lp-ru-onpage__content { max-width: 1060px; margin: 0 auto; font-size: 16px; line-height: 1.75; color: #23332c; }
.lp-ru-onpage__content h2 { margin: 2.2em 0 .7em; font-size: clamp(23px, 2.5vw, 32px); line-height: 1.25; color: #18392b; }
.lp-ru-onpage__content h3 { margin: 1.65em 0 .6em; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.35; color: #234d35; }
.lp-ru-onpage__content p { margin: 0 0 1.1em; }
.lp-ru-onpage__content ul, .lp-ru-onpage__content ol { padding-left: 1.6em; margin: 1em 0 1.6em; }
.lp-ru-onpage__content li { margin-bottom: .35em; }
.lp-ru-onpage__content table { display: block; overflow-x: auto; max-width: 100%; width: 100%; border-collapse: collapse; margin: 24px 0 30px; background: #fff; border: 1px solid #dce8db; border-radius: 8px; }
.lp-ru-onpage__content th, .lp-ru-onpage__content td { padding: 12px 14px; border: 1px solid #dce8db; text-align: left; vertical-align: top; min-width: 110px; }
.lp-ru-onpage__content th { background: #ecf4e8; font-weight: 700; color: #173c29; }
.lp-ru-onpage__content a { color: #356b17; text-decoration: underline; text-underline-offset: 3px; }
.lp-ru-onpage__content a:focus-visible { outline: 3px solid #96bd2f; outline-offset: 3px; }
@media (max-width: 600px) {
  .lp-ru-onpage { padding: 32px 0; }
  .lp-ru-onpage__content { font-size: 15px; line-height: 1.65; }
  .lp-ru-onpage__content th, .lp-ru-onpage__content td { padding: 10px 12px; }
}

/* Readable brand-green text on light surfaces: preserve bright green for icons and accents. */
.services-hero-title span,
.blog-load-more,
.price-calc-result-row .result-value,
.price-calc-result-row .result-value-small { color: #4f7000; }
.price-card-price { color: #277100; }
.price-calc-results-note { color: #4b5563; }

/* Accessibility: brand-green backgrounds need dark foreground for readable CTAs. */
.btn-primary, .btn-track, .calc-form .btn-calc, .footer-btn,
.article-subscribe-form .btn-calc { color: #18260b; }
.hero-title span { color: #4f7000; }
.lp-contact-link { display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; width: 100%; text-decoration: none; font-weight: 600; }
.article-subscribe-form .lp-contact-link { max-width: 329px; }
.lp-contact-link:hover, .lp-contact-link:focus-visible { text-decoration: underline; }
/* All three recommended articles are visible; remove inactive carousel controls. */
.article-recommended .article-nav-arrow { display: none; }
.article-recommended .article-recommended-cards { width: 100%; gap: 24px; }


