/* ========================================
   ПРО-КЛИМАТ — Classic HTML+CSS+JS
   Фирменный цвет: #1b1450 (синий)
   ======================================== */

:root {
  --primary: #1b1450;
  --primary-light: #2a2570;
  --primary-hover: #3b3580;
  --accent: #2563eb;
  --red: #e0272f;
  --dark-gray: #444444;
  --medium-gray: #666666;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --text-primary: #222222;
  --text-secondary: #777777;
  --border: #eeeeee;
  --border-dark: #dddddd;
  --green: #4CAF50;
  --gold: #FFD700;
  --font-poppins: 'Poppins', sans-serif;
  --font-opensans: 'Open Sans', sans-serif;
  --container: 1200px;
  --transition: 0.3s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-opensans); color: var(--medium-gray); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
svg { display: inline-block; vertical-align: middle; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-poppins); font-size: 14px; font-weight: 600;
  transition: all var(--transition); border: none; text-align: center;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { background: var(--dark-gray); color: var(--white); }
.btn--secondary:hover { background: #333; }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--primary); border-color: var(--primary); }
.btn--white { background: var(--white); color: var(--primary); }
.btn--white:hover { background: var(--light-gray); }
.btn--full { width: 100%; padding: 12px 20px; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: #1d4ed8; }

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section { padding: 60px 0; }
.section--gray { background: var(--light-gray); }
.section--dark { background: var(--primary); }
.section__header { text-align: center; margin-bottom: 40px; }
.section__title { font-family: var(--font-poppins); font-size: 32px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.section__title--white { color: var(--white); text-align: center; }
.section__line { width: 60px; height: 3px; background: var(--primary); margin: 0 auto; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar { background: var(--primary); color: var(--white); padding: 10px 0; }
.top-bar .container { display: flex; align-items: center; justify-content: space-between; }
.top-bar__cta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.top-bar__cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.top-bar__info { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.top-bar__phone { display: flex; align-items: center; gap: 6px; }
.top-bar__phone svg { width: 14px; height: 14px; }
.top-bar__text { opacity: 0.9; }

/* ========================================
   HEADER
   ======================================== */
.header { background: var(--white); padding: 15px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 25px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__icon { width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo__icon img { width: 100%; height: 100%; object-fit: contain; }
.logo__title { display: block; font-family: var(--font-poppins); font-size: 18px; font-weight: 700; color: var(--text-primary); line-height: 1.2; letter-spacing: -0.3px; }
.logo__subtitle { display: block; font-size: 10px; color: var(--text-secondary); line-height: 1.2; }

/* Search */
.search { display: flex; flex: 1; max-width: 450px; border: 1px solid var(--border-dark); overflow: hidden; transition: border-color var(--transition); }
.search:focus-within { border-color: var(--primary); }
.search__input { flex: 1; padding: 11px 16px; border: none; font-family: var(--font-opensans); font-size: 14px; color: var(--dark-gray); outline: none; }
.search__input::placeholder { color: #999; font-style: italic; }
.search__btn { padding: 0 16px; background: var(--light-gray); border-left: 1px solid var(--border-dark); transition: background var(--transition); }
.search__btn:hover { background: var(--border-dark); }
.search__btn svg { width: 18px; height: 18px; color: var(--medium-gray); }

/* Header Right */
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { text-align: right; }
.header__phone-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); }
.header__phone-number { font-family: var(--font-poppins); font-size: 16px; font-weight: 700; color: var(--primary); transition: color var(--transition); }
.header__phone-number:hover { color: var(--primary-hover); }
.header__socials { display: flex; align-items: center; gap: 6px; }
.header__socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--light-gray); display: flex; align-items: center; justify-content: center; color: var(--primary); transition: all var(--transition); }
.header__socials a:hover { background: var(--primary); color: var(--white); }
.header__socials a svg { width: 16px; height: 16px; }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark-gray); transition: all var(--transition); }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   NAVIGATION
   ======================================== */
.nav { background: var(--primary); }
.nav__list { display: flex; justify-content: center; }
.nav__list li a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 20px; color: var(--white); font-family: var(--font-poppins); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: background var(--transition); text-align: center; }
.nav__list li a:hover { background: rgba(255,255,255,0.1); }
.nav__list li a svg { width: 24px; height: 24px; }
.nav__sub { display: block; font-size: 9px; font-weight: 400; text-transform: none; opacity: 0.7; letter-spacing: 0; }
.nav__search-mobile,
.search-mobile { display: none !important; }

/* ========================================
   HERO — внутри контейнера
   ======================================== */
.hero-section { padding: 30px 0; }
.hero { display: grid; grid-template-columns: 3fr 2fr; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.08); max-height: 420px; }
.hero__main { position: relative; display: flex; align-items: center; overflow: hidden; }
.hero__image { position: absolute; inset: 0; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.85), transparent); }
.hero__content { position: relative; z-index: 2; padding: 35px 40px; max-width: 520px; }
.hero__label { font-family: var(--font-poppins); font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.hero__title { font-family: var(--font-poppins); font-size: 30px; font-weight: 700; color: var(--text-primary); line-height: 1.25; margin-bottom: 20px; }
.hero__list { margin-bottom: 24px; }
.hero__list li { display: flex; align-items: center; gap: 12px; color: var(--dark-gray); font-size: 15px; margin-bottom: 8px; }
.check-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.check-icon svg { width: 12px; height: 12px; color: var(--white); }

.hero__promo { background: var(--primary-light); display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.hero__promo-label { font-family: var(--font-poppins); font-size: 12px; font-weight: 600; color: #8fb0ff; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.hero__promo-title { font-family: var(--font-poppins); font-size: 28px; font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 10px; }
.hero__promo-text { color: #ccc; margin-bottom: 6px; font-size: 14px; }
.hero__promo-price { font-family: var(--font-poppins); font-size: 22px; font-weight: 600; color: #8fb0ff; margin-bottom: 20px; }

/* ========================================
   PRODUCTS
   ======================================== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; transition: all var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-card__image { position: relative; background: var(--white); padding: 20px; height: 180px; display: flex; align-items: center; justify-content: center; }
.product-card__image img { max-height: 100%; object-fit: contain; transition: transform var(--transition); }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; font-family: var(--font-poppins); font-size: 10px; font-weight: 600; color: var(--white); border-radius: 2px; z-index: 2; }
.badge--green { background: var(--green); }
.badge--red { background: var(--red); }
.badge--orange { background: var(--primary); }
.product-card__body { padding: 14px; }
.product-card__cat { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; display: block; }
.product-card__name { font-family: var(--font-poppins); font-size: 14px; font-weight: 600; color: var(--dark-gray); margin-bottom: 10px; line-height: 1.4; min-height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__price { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.price { font-family: var(--font-poppins); font-size: 18px; font-weight: 700; color: var(--text-primary); }
.price--old { font-size: 14px; color: #999; text-decoration: line-through; }

/* ========================================
   BRANDS
   ======================================== */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-tag { background: var(--white); border: 1px solid var(--border-dark); padding: 12px 24px; font-family: var(--font-poppins); font-size: 14px; font-weight: 500; color: var(--dark-gray); border-radius: 2px; transition: all var(--transition); }
.brand-tag:hover { border-color: var(--primary); color: var(--primary); }

/* ========================================
   SERVICES
   ======================================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { padding: 28px; border: 1px solid var(--border); border-radius: 2px; transition: all var(--transition); }
.service-card:hover { border-color: rgba(27,20,80,0.2); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.service-card__icon { width: 56px; height: 56px; color: var(--primary); margin-bottom: 14px; }
.service-card__title { font-family: var(--font-poppins); font-size: 17px; font-weight: 600; color: var(--dark-gray); margin-bottom: 10px; }
.service-card__text { font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-family: var(--font-poppins); font-size: 13px; font-weight: 600; transition: gap var(--transition); }
.link-arrow:hover { gap: 8px; color: var(--primary-hover); }
.link-arrow svg { width: 16px; height: 16px; }

/* ========================================
   ADVANTAGES
   ======================================== */
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.advantage { text-align: center; }
.advantage svg { width: 52px; height: 52px; color: #8fb0ff; margin-bottom: 14px; }
.advantage h3 { font-family: var(--font-poppins); font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.advantage p { font-size: 14px; color: #ccc; line-height: 1.6; }

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner { background: var(--primary); padding: 40px 0; }
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-banner h2 { font-family: var(--font-poppins); font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 15px; }
.cta-banner__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-banner__phone { font-family: var(--font-poppins); font-size: 22px; font-weight: 700; color: var(--white); }

/* ========================================
   PORTFOLIO SLIDER
   ======================================== */
.portfolio { position: relative; }
.portfolio__slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.portfolio__slider::-webkit-scrollbar { display: none; }
.portfolio__item { flex: 0 0 calc(33.333% - 14px); scroll-snap-align: start; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); background: var(--white); }
.portfolio__item img { width: 100%; height: 220px; object-fit: cover; }
.portfolio__item-info { padding: 16px; }
.portfolio__item-info h4 { font-family: var(--font-poppins); font-size: 15px; font-weight: 600; color: var(--dark-gray); margin-bottom: 4px; }
.portfolio__item-info p { font-size: 13px; color: var(--text-secondary); }
.portfolio__nav { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.portfolio__nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--border-dark); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.portfolio__nav button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.portfolio__nav button svg { width: 18px; height: 18px; }

/* ========================================
   FAQ
   ======================================== */
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item { border: 1px solid var(--border); border-radius: 4px; margin-bottom: 12px; overflow: hidden; }
.faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-family: var(--font-poppins); font-size: 16px; font-weight: 600; color: var(--dark-gray); text-align: left; cursor: pointer; transition: background var(--transition); }
.faq__question:hover { background: var(--light-gray); }
.faq__question svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq__item.active .faq__question svg { transform: rotate(180deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq__answer-inner { padding: 0 24px 18px; font-size: 15px; line-height: 1.7; color: var(--medium-gray); }

/* ========================================
   ARTICLES
   ======================================== */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all var(--transition); }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.article-card__image { height: 180px; overflow: hidden; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.article-card:hover .article-card__image img { transform: scale(1.05); }
.article-card__body { padding: 24px; }
.article-card__meta { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.article-card__meta span { color: var(--primary); font-weight: 600; }
.article-card__title { font-family: var(--font-poppins); font-size: 17px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 10px; }
.article-card__text { font-size: 14px; line-height: 1.7; color: var(--medium-gray); margin-bottom: 14px; }
.link-arrow--small { font-size: 13px; }

/* ========================================
   REVIEWS SLIDER
   ======================================== */
.reviews-slider { position: relative; overflow: hidden; }
.reviews-track { display: flex; gap: 24px; transition: transform 0.4s ease; }
.review { flex: 0 0 calc(33.333% - 16px); background: var(--white); padding: 28px; border-left: 3px solid var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.review__stars { display: flex; gap: 2px; margin-bottom: 16px; }
.review__stars svg { width: 18px; height: 18px; }
.review__text { font-size: 14px; line-height: 1.7; color: var(--medium-gray); font-style: italic; margin-bottom: 16px; }
.review__author { font-family: var(--font-poppins); font-size: 14px; font-weight: 600; color: var(--dark-gray); }
.reviews__nav { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.reviews__nav button { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--border-dark); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.reviews__nav button:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.reviews__nav button svg { width: 18px; height: 18px; }

/* ========================================
   ABOUT
   ======================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about__content h2 { font-family: var(--font-poppins); font-size: 28px; font-weight: 600; color: var(--text-primary); line-height: 1.3; margin-bottom: 20px; }
.about__content p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.about__list { margin: 20px 0; }
.about__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--dark-gray); margin-bottom: 10px; }
.about__list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.about__image { position: relative; }
.about__image img { border-radius: 4px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.about__badge { position: absolute; bottom: -16px; left: -16px; background: var(--primary); color: var(--white); padding: 16px 20px; border-radius: 4px; }
.about__badge span:first-child { display: block; font-family: var(--font-poppins); font-size: 24px; font-weight: 700; line-height: 1; }
.about__badge span:last-child { font-size: 13px; opacity: 0.9; }

/* ========================================
   PAGE HEADER & BREADCRUMBS
   ======================================== */
.page-header { background: var(--primary); color: var(--white); padding: 40px 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; font-size: 13px; }
.breadcrumbs a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.breadcrumbs a:hover { color: #8fb0ff; }
.breadcrumbs svg { width: 14px; height: 14px; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.breadcrumbs span { color: rgba(255,255,255,0.6); }
.page-header h1 { font-family: var(--font-poppins); font-size: 36px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.page-header__lead { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 600px; line-height: 1.6; }

/* ========================================
   PAGE CONTENT LAYOUT
   ======================================== */
.page-content { padding: 50px 0; }
.content-layout { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.content-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 24px; }
.sidebar-widget--sticky { position: sticky; top: 100px; }
.sidebar-widget h4 { font-family: var(--font-poppins); font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.sidebar-menu li { margin-bottom: 2px; }
.sidebar-menu a { display: block; padding: 10px 12px; font-size: 14px; color: var(--dark-gray); border-radius: 4px; transition: all var(--transition); }
.sidebar-menu a:hover { background: var(--light-gray); color: var(--primary); }
.sidebar-menu a.active { background: var(--primary); color: var(--white); }
.sidebar-cta { background: var(--primary); border-radius: 4px; padding: 24px; color: var(--white); text-align: center; }
.sidebar-cta h4 { font-family: var(--font-poppins); font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 16px; }

/* ========================================
   CONTENT MAIN — Typography
   ======================================== */
.content-main { max-width: 800px; }
.content-main h2 { font-family: var(--font-poppins); font-size: 28px; font-weight: 600; color: var(--text-primary); margin: 40px 0 16px; line-height: 1.3; }
.content-main h3 { font-family: var(--font-poppins); font-size: 22px; font-weight: 600; color: var(--text-primary); margin: 32px 0 14px; line-height: 1.3; }
.content-main h4 { font-family: var(--font-poppins); font-size: 17px; font-weight: 600; color: var(--dark-gray); margin: 24px 0 10px; }
.content-main p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; color: var(--medium-gray); }
.content-main > *:first-child { margin-top: 0 !important; }

/* Numbered list */
.numbered-list { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }
.numbered-list li { position: relative; padding-left: 52px; margin-bottom: 18px; font-size: 15px; line-height: 1.7; color: var(--medium-gray); }
.numbered-list li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-poppins); font-size: 14px; font-weight: 700; }
.numbered-list li strong { color: var(--text-primary); }

/* Styled list */
.styled-list { list-style: none; padding: 0; margin: 16px 0; }
.styled-list li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: 15px; line-height: 1.7; color: var(--medium-gray); }
.styled-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--primary); border-radius: 2px; }

/* Blockquote */
.content-main blockquote { margin: 28px 0; padding: 24px 28px; background: var(--light-gray); border-left: 4px solid var(--primary); border-radius: 0 4px 4px 0; }
.content-main blockquote p { font-size: 16px; font-style: italic; color: var(--dark-gray); margin-bottom: 12px; }
.content-main blockquote cite { font-size: 14px; font-style: normal; color: var(--text-secondary); font-family: var(--font-poppins); }

/* Tables */
.table-wrapper { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 4px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead { background: var(--primary); color: var(--white); }
.data-table th { padding: 14px 18px; text-align: left; font-family: var(--font-poppins); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--medium-gray); }
.data-table tbody tr:hover { background: var(--light-gray); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* CTA inline */
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 28px 32px; border-radius: 6px; margin: 32px 0; }
.cta-inline__content h3 { font-family: var(--font-poppins); font-size: 20px; font-weight: 600; color: var(--white); margin: 0 0 6px; }
.cta-inline__content p { color: rgba(255,255,255,0.9); margin: 0; font-size: 14px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.gallery__item { position: relative; border-radius: 4px; overflow: hidden; }
.gallery__item img { width: 100%; height: 200px; object-fit: cover; transition: transform var(--transition); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item span { position: absolute; bottom: 0; left: 0; right: 0; padding: 12px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: var(--white); font-size: 13px; font-family: var(--font-poppins); }

/* Notice */
.notice { display: flex; gap: 14px; padding: 18px 22px; background: #e8f0fe; border-left: 4px solid var(--accent); border-radius: 0 4px 4px 0; margin: 24px 0; }
.notice svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.notice p { margin: 0; font-size: 14px; color: var(--dark-gray); }
.notice strong { color: var(--text-primary); }

/* ========================================
   ARTICLES LIST PAGE
   ======================================== */
.articles-list { display: flex; flex-direction: column; gap: 24px; }
.article-row { display: grid; grid-template-columns: 280px 1fr; gap: 28px; background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: all var(--transition); }
.article-row:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.article-row__image { height: 100%; min-height: 180px; }
.article-row__image img { width: 100%; height: 100%; object-fit: cover; }
.article-row__body { padding: 24px 24px 24px 0; }
.article-row__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.article-row__cat { color: var(--primary); font-weight: 600; font-family: var(--font-poppins); }
.article-row__date { color: var(--text-secondary); }
.article-row__title { font-family: var(--font-poppins); font-size: 20px; font-weight: 600; color: var(--text-primary); line-height: 1.4; margin-bottom: 10px; }
.article-row__title a { transition: color var(--transition); }
.article-row__title a:hover { color: var(--primary); }
.article-row__text { font-size: 14px; line-height: 1.7; color: var(--medium-gray); margin-bottom: 14px; }

/* ========================================
   ARTICLE PAGE
   ======================================== */
.article-header { margin-bottom: 32px; }
.article-header__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.article-header__cat { background: var(--primary); color: var(--white); padding: 6px 14px; border-radius: 4px; font-family: var(--font-poppins); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.article-header__date { color: var(--text-secondary); font-size: 14px; }
.article-header__readtime { color: var(--text-secondary); font-size: 14px; }
.article-header h1 { font-family: var(--font-poppins); font-size: 32px; font-weight: 700; color: var(--text-primary); line-height: 1.3; margin-bottom: 16px; }
.article-cover { margin: -50px -20px 32px; border-radius: 4px; overflow: hidden; max-height: 400px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Article slider */
.article-slider { position: relative; margin: 28px 0; border-radius: 4px; overflow: hidden; }
.article-slider__track { display: flex; transition: transform 0.4s ease; }
.article-slider__slide { flex: 0 0 100%; }
.article-slider__slide img { width: 100%; height: 350px; object-fit: cover; }
.article-slider__caption { padding: 14px 18px; background: var(--dark-gray); color: rgba(255,255,255,0.85); font-size: 13px; }
.article-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(255,255,255,0.9); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); cursor: pointer; transition: all var(--transition); z-index: 2; }
.article-slider__nav:hover { background: var(--white); }
.article-slider__nav--prev { left: 12px; }
.article-slider__nav--next { right: 12px; }
.article-slider__nav svg { width: 18px; height: 18px; }
.article-slider__dots { display: flex; justify-content: center; gap: 6px; padding: 12px; background: var(--dark-gray); }
.article-slider__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: all var(--transition); }
.article-slider__dot.active { background: var(--accent); }

/* Related articles */
.related-articles { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border); }
.related-articles__title { font-family: var(--font-poppins); font-size: 24px; font-weight: 600; color: var(--text-primary); margin-bottom: 24px; }

/* ========================================
   BRAND MODAL
   ======================================== */
.brand-modal__text { font-size: 15px; line-height: 1.7; color: var(--medium-gray); margin-bottom: 16px; }
.brand-modal__years { display: inline-block; background: var(--primary); color: var(--white); padding: 6px 14px; border-radius: 4px; font-family: var(--font-poppins); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.brand-modal__features { margin: 12px 0; }
.brand-modal__features li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--dark-gray); margin-bottom: 8px; }
.brand-modal__features li svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }

/* ========================================
   MODAL — Calculator
   ======================================== */
.modal { display: none; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.modal__content { position: relative; background: var(--white); border-radius: 8px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; margin: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); z-index: 1; }
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 24px 30px; border-bottom: 1px solid var(--border); }
.modal__header h3 { font-family: var(--font-poppins); font-size: 20px; font-weight: 600; color: var(--text-primary); }
.modal__close { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all var(--transition); }
.modal__close:hover { background: var(--light-gray); color: var(--text-primary); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 24px 30px 30px; }

/* Calculator Form */
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font-family: var(--font-poppins); font-size: 14px; font-weight: 600; color: var(--dark-gray); }
.calc-field label span { font-weight: 400; color: var(--text-secondary); font-size: 13px; }
.calc-field input[type="number"], .calc-field input[type="range"], .calc-field select { padding: 12px 16px; border: 1px solid var(--border-dark); border-radius: 4px; font-family: var(--font-opensans); font-size: 15px; color: var(--dark-gray); outline: none; transition: border-color var(--transition); }
.calc-field input:focus, .calc-field select:focus { border-color: var(--primary); }
.calc-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.calc-field small { font-size: 12px; color: var(--text-secondary); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Calculator Result */
.calc-result { background: var(--light-gray); border-radius: 8px; padding: 24px; margin-top: 10px; }
.calc-result.hidden { display: none; }
.calc-result__title { font-family: var(--font-poppins); font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; }
.calc-result__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.calc-result__item { background: var(--white); padding: 14px; border-radius: 6px; text-align: center; }
.calc-result__item .label { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.calc-result__item .value { font-family: var(--font-poppins); font-size: 22px; font-weight: 700; color: var(--primary); }
.calc-result__item .unit { font-size: 13px; color: var(--text-secondary); }
.calc-result__recommendation { background: var(--white); padding: 16px; border-radius: 6px; margin-bottom: 16px; border-left: 3px solid var(--primary); }
.calc-result__recommendation p { font-size: 14px; line-height: 1.6; color: var(--medium-gray); }
.calc-result__recommendation strong { color: var(--text-primary); }
.calc-result__price { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 16px; background: var(--white); border-radius: 6px; }
.calc-result__price-label { font-size: 14px; color: var(--medium-gray); }
.calc-result__price-value { font-family: var(--font-poppins); font-size: 24px; font-weight: 700; color: var(--primary); }

/* ========================================
   FOOTER
   ======================================== */
.footer { background: var(--primary); color: var(--white); padding: 50px 0 20px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-poppins); font-size: 20px; font-weight: 700; }
.footer__logo-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer__logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.footer__text { font-size: 14px; color: #ccc; line-height: 1.7; margin-bottom: 16px; max-width: 300px; }
.footer__phone { display: block; font-family: var(--font-poppins); font-size: 18px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.footer__address { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #ccc; margin-bottom: 16px; }
.footer__address svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__socials-icons { display: flex; gap: 10px; }
.footer__socials-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: all var(--transition); }
.footer__socials-icons a:hover { background: var(--accent); }
.footer__socials-icons a svg { width: 18px; height: 18px; }
.footer__copyright { font-size: 13px; color: #999; }
.footer__copyright a { color: #8fb0ff; transition: opacity var(--transition); }
.footer__copyright a:hover { opacity: 0.8; }
.footer__col h4 { font-family: var(--font-poppins); font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer__col li { margin-bottom: 10px; }
.footer__col li a { font-size: 14px; color: #ccc; transition: color var(--transition); }
.footer__col li a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 13px; color: #999; }
.footer__socials { display: flex; gap: 16px; }
.footer__socials a { font-size: 13px; color: #ccc; transition: color var(--transition); }
.footer__socials a:hover { color: var(--accent); }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1199px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .nav__list li a { padding: 12px 14px; font-size: 10px; }
  .hero__title { font-size: 26px; }
  .portfolio__item { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 991px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .advantages { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .articles { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .search { max-width: 280px; }
  .hero { grid-template-columns: 1fr; max-height: none; }
  .hero__promo { padding: 30px; }
  .calc-row { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .top-bar__text { display: none; }
  .header .container { flex-wrap: wrap; gap: 12px; }
  .search { display: none; }
  .header__socials { display: none; }
  .nav__search-mobile { display: block !important; }
  .search-mobile { display: flex !important; }
  .search-mobile { display: flex; border: 1px solid rgba(255,255,255,0.2); border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
  .search-mobile__input { flex: 1; padding: 12px 14px; border: none; background: rgba(255,255,255,0.08); color: var(--white); font-family: var(--font-opensans); font-size: 14px; outline: none; }
  .search-mobile__input::placeholder { color: rgba(255,255,255,0.5); }
  .search-mobile__btn { padding: 0 14px; background: rgba(255,255,255,0.15); border-left: 1px solid rgba(255,255,255,0.2); color: var(--white); }
  .search-mobile__btn svg { width: 18px; height: 18px; }
  .header__phone { display: none; }
  .header__btn-calc span { display: none; }

  .nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; z-index: 105; transition: right var(--transition); overflow-y: auto; background: var(--primary); }
  .nav.active { right: 0; }
  .nav__list { flex-direction: column; padding: 60px 20px 20px; }
  .nav__list li a { flex-direction: row; align-items: flex-start; gap: 12px; padding: 14px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav__list li a > span { display: flex; flex-direction: column; line-height: 1.3; }
  .nav__list li a svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
  .nav__sub { display: block; font-size: 12px; opacity: 0.6; margin-top: 2px; font-weight: 400; text-transform: none; letter-spacing: 0; }
  .mobile-menu-toggle { display: flex; margin-left: auto; }

  .hero-section { padding: 15px 0; }
  .hero__main { min-height: 350px; }
  .hero__content { padding: 25px 20px; }
  .hero__title { font-size: 22px; }

  .products, .services, .advantages, .articles { grid-template-columns: 1fr; }
  .review { flex: 0 0 85%; }
  .portfolio__item { flex: 0 0 85%; }
  .portfolio__item { flex: 0 0 85%; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }

  .about__image { order: -1; }
  .about__badge { left: 16px; bottom: -10px; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section__title { font-size: 26px; }
  .brands { gap: 8px; }
  .brand-tag { padding: 10px 18px; font-size: 13px; }
  .calc-result__grid { grid-template-columns: 1fr; }
  .modal__content { margin: 10px; }
  .modal__body { padding: 20px; }
  .content-layout { grid-template-columns: 1fr; gap: 30px; }
  .content-sidebar { order: 2; }
  .sidebar-widget--sticky { position: static; }
  .page-header h1 { font-size: 26px; }
  .page-header { padding: 30px 0; }
  .gallery { grid-template-columns: 1fr; }
  .cta-inline { flex-direction: column; text-align: center; }
  .cta-inline .btn { width: 100%; }
  .article-row { grid-template-columns: 1fr; }
  .article-row__image { min-height: 200px; }
  .article-row__body { padding: 20px; }
  .article-cover { margin: -30px -20px 24px; }
  .article-slider__slide img { height: 220px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .content-main h2 { font-size: 24px; }
  .content-main h3 { font-size: 20px; }
  .numbered-list li { padding-left: 46px; }
  .numbered-list li::before { width: 30px; height: 30px; font-size: 12px; }
}

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 104; }
.nav-overlay.active { display: block; }
@media (min-width: 768px) { .nav-overlay { display: none !important; } }
