/* --- ФИРМЕННАЯ ПАЛИТРА: зелёный + оранжевый на тёмном --- */
:root {
    --bg: #0b1510;
    --bg-alt: #0f1e17;
    --card: #13241b;
    --card-hover: #182e23;
    --green: #35b17e;
    --green-d: #ffffff;
    --green-deep: #0a3527;
    --orange: #f0851f;
    --orange-d: #d9740f;
    --ink: #eef3f0;
    --muted: #b9beba;
    --border: #26372c;
    --green-soft: rgba(53, 177, 126, 0.14);
    --orange-soft: rgba(240, 133, 31, 0.16);
    --container: 1280px;
    --radius: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color .2s, background .2s, transform .2s, border-color .2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* --- ШАПКА --- */
header {
    background: rgba(11, 21, 16, 0.95); backdrop-filter: blur(6px);
    padding: 10px 5%; position: fixed; width: 100%; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center; height: 108px; gap: 16px;
}
.logo-img { height: 82px; width: auto; object-fit: contain; }
nav ul { display: flex; gap: 26px; }
nav a { font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; color: var(--ink); }
nav a:hover { color: var(--green); }
.header-phone {
    color: #fff; background: var(--orange); font-weight: 700; font-size: 1.02rem; white-space: nowrap;
    display: flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 9px;
}
.header-phone:hover { background: var(--orange-d); transform: translateY(-1px); }
.header-phone svg { width: 18px; height: 18px; }

/* --- HERO (главная) --- */
.hero {
    min-height: 86vh; display: flex; align-items: center; padding: 148px 5% 80px; background-color: #0b1510;
    background-image: linear-gradient(95deg, rgba(6,15,11,1) 0%, rgba(6,24,18,1) 40%, rgba(8,38,28,0.82) 55%, rgba(10,26,20,0.32) 72%, rgba(11,21,16,0) 90%), url('truck.jpg');
    background-repeat: no-repeat, no-repeat; background-position: center center, center center; background-size: cover, cover; color: #fff;
}
.hero-content { max-width: 610px; }
.hero-kicker { display: inline-block; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; margin-bottom: 22px; padding: 7px 16px; border: 1px solid rgba(255,255,255,.5); border-radius: 30px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.12; text-transform: uppercase; font-weight: 800; margin-bottom: 20px; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.hero h1 span { color: var(--orange); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.22rem); margin-bottom: 34px; color: #f2f2f2; max-width: 660px; border-left: 3px solid var(--orange); padding-left: 18px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- КНОПКИ --- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: .95rem; cursor: pointer; border-radius: 9px; border: 2px solid transparent; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-d); border-color: var(--orange-d); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* --- СЕКЦИИ --- */
section { padding: 84px 5%; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-title { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; text-align: center; font-weight: 700; text-transform: uppercase; color: var(--ink); }
.section-title::after { content: ''; display: block; width: 58px; height: 3px; background: var(--orange); margin: 14px auto 0; border-radius: 2px; }
.section-intro { text-align: center; max-width: 840px; margin: 0 auto 48px; font-size: 1.05rem; color: var(--muted); }

/* --- УСЛУГИ --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.service-card { background: var(--card); padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); transition: .25s; }
.service-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,92,64,.10); }
.service-card .ico { color: var(--orange); margin-bottom: 18px; }
.service-card .ico svg { width: 42px; height: 42px; }
.service-card h3 { margin-bottom: 12px; text-transform: uppercase; font-size: 1.05rem; font-weight: 700; letter-spacing: .3px; color: var(--green-d); }
.card-tag { display: inline-block; font-size: .68rem; letter-spacing: 1px; color: var(--orange-d); background: var(--orange-soft); border-radius: 20px; padding: 4px 12px; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.service-card p { color: var(--muted); font-size: .94rem; line-height: 1.55; }
.service-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; border-color: var(--green); background: linear-gradient(135deg, #16281f 0%, #13241b 60%); }
.service-card.featured .ico svg { width: 58px; height: 58px; }
.service-card.featured h3 { font-size: 1.4rem; }
.service-card.featured .card-tag { color: var(--green-d); background: var(--green-soft); }
.service-card.featured p { font-size: 1rem; }
.more-link { display: inline-block; margin-top: 14px; color: var(--orange); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; }
.more-link:hover { color: var(--orange-d); }

/* --- ПОЧЕМУ АЛМАЗ --- */
#why { background: var(--bg-alt); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.why-item { text-align: center; padding: 32px 22px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.why-num { font-size: 2.7rem; font-weight: 800; color: var(--orange); display: block; line-height: 1; margin-bottom: 8px; }
.why-item .ico { color: var(--orange); margin-bottom: 14px; }
.why-item .ico svg { width: 40px; height: 40px; }
.why-item h4 { font-size: 1.02rem; text-transform: uppercase; margin-bottom: 8px; letter-spacing: .4px; color: var(--green-d); }
.why-item p { color: var(--muted); font-size: .9rem; }

/* --- ГАЛЕРЕЯ --- */
#work { background: var(--bg); }
.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gallery-item { width: calc(25% - 12px); align-self: flex-start; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-alt); }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery-item:hover { border-color: var(--green); }
.gallery-item:hover img { transform: scale(1.04); }

/* --- АВТОПАРК --- */
#fleet { background: var(--bg-alt); }
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.car-card { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: var(--radius); padding: 26px; min-height: 148px; display: flex; flex-direction: column; justify-content: center; transition: .25s; }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(15,92,64,.1); }
.car-title { color: var(--green-d); font-weight: 800; margin-bottom: 8px; text-transform: uppercase; font-size: 1.15rem; }
.car-desc { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* --- НАМ ДОВЕРЯЮТ --- */
#trust { background: var(--bg); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.partner-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 92px; font-weight: 600; color: var(--ink); font-size: .88rem; transition: .25s; }
.partner-card:hover { border-color: var(--green); color: var(--green-d); box-shadow: 0 8px 20px rgba(15,92,64,.08); }
.trust-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 26px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* --- КОНТАКТЫ --- */
#contacts { background: var(--bg-alt); text-align: center; }
.contacts-wrapper { max-width: 640px; margin: 0 auto; }
.contact-row { margin-bottom: 26px; display: flex; flex-direction: column; align-items: center; }
.contact-row strong { color: var(--green); margin-bottom: 8px; text-transform: uppercase; font-size: .8rem; letter-spacing: 2px; }
.contact-row a { font-size: clamp(1.2rem, 3vw, 1.5rem); color: var(--ink); font-weight: 700; }
.contact-row a:hover { color: var(--orange); }
.contact-geo { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* --- ФУТЕР --- */
footer { background: var(--green-deep); padding: 54px 5% 34px; color: #cfe0d7; }
.footer-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; font-size: .92rem; }
.footer-logo-block { max-width: 320px; }
.footer-logo-block img { height: 54px; margin-bottom: 14px; }
.footer-col h4 { color: #fff; margin-bottom: 16px; text-transform: uppercase; font-size: .95rem; }
.footer-col p { margin-bottom: 9px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { max-width: var(--container); margin: 34px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: #9fb8ac; text-align: center; }

/* --- СТРАНИЦА УСЛУГИ: hero --- */
.page-hero {
    padding: 150px 5% 66px; background-color: #0b1510;
    background-image: linear-gradient(100deg, rgba(6,15,11,.96) 0%, rgba(8,38,28,.72) 58%, rgba(11,21,16,.30) 100%), url('truck.jpg');
    background-size: cover, cover; background-position: center, center; background-repeat: no-repeat; color: #fff;
}
.page-hero .inner { max-width: var(--container); margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: #cfe0d7; margin-bottom: 16px; }
.breadcrumb a { color: #cfe0d7; }
.breadcrumb a:hover { color: var(--orange); }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); text-transform: uppercase; font-weight: 800; max-width: 900px; line-height: 1.14; }
.page-hero h1 span { color: var(--orange); }
.page-hero .lead { margin-top: 18px; font-size: clamp(1rem, 2vw, 1.16rem); color: #eef3f0; max-width: 760px; border-left: 3px solid var(--orange); padding-left: 18px; }
.page-hero .actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* --- СТАТЬЯ --- */
.article { max-width: 860px; margin: 0 auto; padding: 66px 5% 30px; }
.article h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: uppercase; margin: 44px 0 16px; color: #fff; font-weight: 700; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.14rem; margin: 26px 0 10px; color: var(--green); font-weight: 700; }
.article p { color: var(--ink); font-size: 1.04rem; margin-bottom: 16px; }
.article ul.checks { margin: 8px 0 22px; }
.article ul.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--ink); }
.article ul.checks li::before { content: ''; position: absolute; left: 6px; top: 9px; width: 12px; height: 12px; background: var(--orange); transform: rotate(45deg); border-radius: 2px; }
.article .accent { color: var(--orange); font-weight: 700; }

/* --- FAQ --- */
.faq { max-width: 860px; margin: 0 auto; padding: 10px 5% 66px; }
.faq h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); text-transform: uppercase; margin-bottom: 22px; color: #fff; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; margin-bottom: 14px; background: var(--card); }
.faq-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin: 0; }

/* --- CTA блок --- */
.cta-block { background: var(--bg-alt); text-align: center; padding: 64px 5%; }
.cta-block h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.cta-block p { color: var(--muted); margin-bottom: 26px; }
.cta-phone { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; color: var(--orange); }
.cta-phone:hover { color: var(--orange-d); }
.cta-sub { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* --- Другие услуги --- */
.other-services { max-width: var(--container); margin: 0 auto; padding: 0 5% 70px; }
.other-services h2 { font-size: 1.3rem; text-transform: uppercase; color: #fff; margin-bottom: 20px; text-align: center; }
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.other-grid a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px; color: var(--ink); font-weight: 700; transition: .2s; }
.other-grid a:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

/* --- АДАПТИВ --- */
@media (max-width: 900px) { .service-card.featured { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    nav { display: none; }
    header { height: 82px; padding: 8px 20px; }
    .logo-img { height: 58px; }
    .header-phone { font-size: .9rem; padding: 9px 12px; }
    .header-phone .phone-text { display: none; }
    section { padding: 56px 20px; }
    .hero { padding: 112px 20px 60px; min-height: auto; }
    .page-hero { padding: 110px 20px 50px; }
    .article, .faq { padding-left: 20px; padding-right: 20px; }
    .partners-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item { width: calc(50% - 8px); }
}
@media (max-width: 480px) {
    .gallery-item { width: 100%; }
    .partners-grid { grid-template-columns: 1fr; }
    .hero-actions, .page-hero .actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
    .gallery-item:hover img { transform: none; }
}
