/* Основни стилове за сайта Киров Клима. */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #0b5fae;
    --blue-dark: #063866;
    --cyan: #12a9d9;
    --ink: #132238;
    --muted: #5e6c7b;
    --soft: #eef7fb;
    --white: #ffffff;
    --shadow: 0 12px 32px rgba(12, 62, 107, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Manrope, Arial, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(2.15rem, 5vw, 4.35rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; width: 100%; background: rgba(255,255,255,.96); border-bottom: 1px solid #e5edf4; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 1.6rem; }
.logo { display: inline-flex; align-items: baseline; font-size: 1.3rem; font-weight: 800; letter-spacing: -.05em; color: var(--blue-dark); white-space: nowrap; }
.logo span { color: var(--cyan); }
.main-nav { display: flex; justify-content: center; gap: 1.45rem; margin-left: auto; font-weight: 700; font-size: .94rem; }
.main-nav a { padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .active { color: var(--blue); border-color: var(--cyan); }
.header-phone { color: var(--blue); font-size: .92rem; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; padding: .3rem; border: 0; background: transparent; color: var(--blue-dark); font-size: 1.6rem; }
.hero { width: 100%; min-height: 620px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(4, 42, 75, .9) 0%, rgba(7, 73, 125, .72) 37%, rgba(7, 73, 125, .05) 73%), url('../images/klimatik-montazh.jpg') center/cover no-repeat; color: var(--white); }
.hero-content { max-width: 1140px; width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.hero-content > p:not(.eyebrow) { max-width: 610px; font-size: 1.12rem; }
.eyebrow { margin-bottom: .75rem; color: var(--cyan); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #82e5ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 5px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: #062b43; }
.button-primary:hover { background: #65d9f5; }
.button-light { border-color: rgba(255,255,255,.6); color: white; }
.trust-strip { width: 100%; background: var(--blue-dark); color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.3rem 0; }
.trust-grid div { padding: .2rem 1.25rem; border-left: 1px solid rgba(255,255,255,.22); }
.trust-grid div:first-child { border-left: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 1rem; }
.trust-grid span { color: #a9cfe8; font-size: .85rem; }
.section { padding: 5.3rem 0; }
.section-soft { width: 100%; background: var(--soft); }
.section-heading { max-width: 760px; margin: 0 auto 2.3rem; text-align: center; }
.section-heading > p:last-child { color: var(--muted); }
.service-grid, .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service-card, .info-grid > div, .contact-card { padding: 1.7rem; border: 1px solid #dfeaf1; border-radius: 10px; background: white; box-shadow: 0 4px 16px rgba(13,65,108,.04); }
.service-card p, .info-grid p, .muted { color: var(--muted); }
.service-icon { display: grid; width: 47px; height: 47px; place-items: center; margin-bottom: 1.1rem; border-radius: 50%; background: #d9f4fc; color: var(--blue); font-size: 1.45rem; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.split-layout img { min-height: 410px; width: 100%; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding: .35rem 0 .35rem 1.7rem; }
.check-list li::before { position: absolute; left: 0; color: var(--cyan); content: '✓'; font-weight: 800; }
.text-link { color: var(--blue); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.steps span { display: grid; width: 46px; height: 46px; place-items: center; margin: 0 auto 1rem; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; }
.steps p { color: var(--muted); }
.cta-section { width: 100%; padding: 3.3rem 0; background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: white; }
.cta-section .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-section h2 { margin: 0; }
.page-hero { width: 100%; padding: 5rem 0; background: linear-gradient(120deg, #e6f6fb, #f8fcfe); text-align: center; }
.page-hero p:last-child { max-width: 690px; margin: 0 auto; color: var(--muted); }
.text-content { max-width: 900px; }
.text-content > p { color: var(--muted); font-size: 1.05rem; }
.info-grid { margin-top: 2.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { position: relative; display: block; overflow: hidden; min-height: 250px; border-radius: 8px; background: #edf4f8; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span { position: absolute; right: .65rem; bottom: .65rem; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); }
.lightbox { width: min(900px, calc(100% - 30px)); max-height: 92vh; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(1,15,28,.85); }
.lightbox img { max-height: 88vh; width: auto; max-width: 100%; margin: auto; }
.lightbox-close { position: fixed; top: 14px; right: 20px; z-index: 1; border: 0; background: transparent; color: white; font-size: 2.8rem; cursor: pointer; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-phone { display: block; width: fit-content; margin: .9rem 0; color: var(--blue); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.site-footer { width: 100%; background: #061e35; color: #c5d3df; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 4rem 0; }
.footer-logo { color: white; margin-bottom: 1rem; }
.site-footer h3 { color: white; font-size: 1rem; }
.site-footer a:not(.logo) { display: block; width: fit-content; margin: .38rem 0; }
.site-footer a:not(.logo):hover { color: #75ddf9; }
.footer-bottom { width: 100%; padding: 1.1rem 20px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: .82rem; }
.call-button { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: grid; width: 58px; height: 58px; place-items: center; border: 4px solid white; border-radius: 50%; background: #13ad62; color: white; box-shadow: 0 5px 20px rgba(0,0,0,.25); font-size: 1.55rem; }

@media (max-width: 820px) {
    .header-inner { min-height: 65px; flex-wrap: wrap; }
    .header-phone { margin-left: auto; font-size: .83rem; }
    .menu-toggle { display: block; order: 2; }
    .main-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0; padding: .5rem 0 1rem; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: .6rem 0; }
    .hero { min-height: 560px; background-position: 62% center; }
    .hero-content { padding: 2rem 0; }
    .trust-grid, .service-grid, .steps, .info-grid { grid-template-columns: 1fr; }
    .trust-grid div { border: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: .55rem 0; }
    .trust-grid div:last-child { border-bottom: 0; }
    .split-layout, .contact-layout, .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .split-layout img { min-height: 300px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { min-height: 210px; }
    .cta-section .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
    .container, .hero-content { width: min(100% - 28px, 1140px); }
    .header-phone { display: none; }
    .menu-toggle { margin-left: auto; }
    .section { padding: 3.8rem 0; }
    .hero { min-height: 520px; background-position: 64% center; }
    .gallery-item { min-height: 160px; }
}
