/* ========================================
   KAZECO CORPORATE THEME — Main Styles
   Colors: Navy #0A1F44, Green #00C71E, Red #EC1C24, Blue #009ADE
   Font: Inter, Montserrat
   ======================================== */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #333; line-height: 1.6; overflow-x: hidden; background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all .3s ease; }
ul, ol { list-style: none; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 20px; }

/* === VARIABLES === */
:root {
    --navy: #0A1F44;
    --navy-light: #132D5E;
    --red: #EC1C24;
    --red-dark: #C41920;
    --red-light: #FF3B42;
    --green: #00C71E;
    --green-dark: #00A518;
    --green-light: #2EE048;
    --blue: #009ADE;
    --blue-dark: #0080BA;
    --white: #FFFFFF;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* === PRELOADER === */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--navy); z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity .5s ease, visibility .5s ease; }
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--white); letter-spacing: 6px; margin-bottom: 20px; }
.preloader-bar { width: 120px; height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; margin: 0 auto; }
.preloader-bar span { display: block; width: 40%; height: 100%; background: var(--green); border-radius: 3px; animation: preloaderSlide 1s ease-in-out infinite; }
@keyframes preloaderSlide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 600; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,199,30,.35); }
.header-cta.btn--primary { background: var(--green); border-color: var(--green); }
.header-cta.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); box-shadow: 0 6px 20px rgba(0,199,30,.35); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* === TOP BAR === */
.top-bar { background: var(--navy); color: rgba(255,255,255,.8); font-size: .8rem; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar__left { display: flex; gap: 24px; }
.top-bar__item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.8); }
.top-bar__item:hover { color: var(--white); }
.top-bar__item svg { opacity: .6; }
.top-bar__right { display: flex; gap: 12px; }
.top-bar__social { color: rgba(255,255,255,.6); transition: var(--transition); }
.top-bar__social:hover { color: var(--white); transform: scale(1.1); }

/* === HEADER === */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); transition: var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 12px; }
.site-logo img, .site-logo .custom-logo { height: 40px; width: auto; }
.site-logo__text { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 900; color: var(--navy); letter-spacing: 3px; }

/* === NAVIGATION === */
.main-nav__list { display: flex; gap: 0; }
.main-nav__item { position: relative; }
.main-nav__link { display: flex; align-items: center; gap: 3px; padding: 8px 8px; font-size: .78rem; font-weight: 500; color: var(--gray-700); border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.main-nav__link:hover, .main-nav__item.current .main-nav__link { color: var(--green); background: rgba(0,199,30,.06); }
.dropdown-arrow { transition: transform .3s ease; }
.has-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

/* Dropdown */
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 100; }
.has-dropdown:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a { display: block; padding: 10px 16px; font-size: .85rem; color: var(--gray-600); border-radius: 6px; transition: var(--transition); white-space: nowrap; }
.sub-menu li a:hover { background: var(--gray-50); color: var(--green); padding-left: 20px; }

/* Header extras */
.header-phone a { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); font-size: .82rem; white-space: nowrap; }
.header-phone svg { color: var(--green); flex-shrink: 0; }
.header-cta { font-size: .78rem; padding: 9px 16px; white-space: nowrap; }

/* Burger */
.burger { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; background: none; border: none; }
.burger span { display: block; width: 100%; height: 3px; background: var(--navy); border-radius: 2px; position: absolute; left: 0; transition: var(--transition); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 50%; transform: translateY(-50%); } .burger span:nth-child(3) { bottom: 0; }
.burger.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 998; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

/* === HERO === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,31,68,.92) 0%, rgba(10,31,68,.7) 50%, rgba(10,31,68,.4) 100%); }
.hero__content { position: relative; z-index: 2; padding: 120px 0; }
.hero__text { max-width: 680px; }
.hero__title { font-family: 'Montserrat', sans-serif; font-size: 3.2rem; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.hero__title span { color: var(--green); }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; color: rgba(255,255,255,.5); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; }
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.3); margin: 10px auto 0; animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: .3; } 50% { transform: scaleY(1.5); opacity: .8; } }

/* === SECTIONS === */
.section { padding: 100px 0; }
.section--gray { background: var(--gray-50); }
.section__header { text-align: center; margin-bottom: 60px; }
.section__label { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.section__title { font-family: 'Montserrat', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1.2; }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text { font-size: 1.15rem; color: var(--gray-600); margin-top: 20px; margin-bottom: 36px; line-height: 1.8; }
.about-stats { display: flex; gap: 40px; margin-bottom: 36px; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--green); }
.stat-suffix { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--green); }
.stat-label { display: block; font-size: .82rem; color: var(--gray-500); margin-top: 4px; }
.about-image__wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image__wrapper img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); }
.about-image__accent { position: absolute; bottom: -20px; right: -20px; width: 200px; height: 200px; border: 4px solid var(--green); border-radius: var(--radius-lg); z-index: -1; }

/* === SERVICES === */
.section--services { background: var(--gray-50); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px; transition: var(--transition); border: 1px solid var(--gray-200); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: transparent; }
.service-card__icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--green), var(--green-light)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-card:nth-child(even) .service-card__icon { background: linear-gradient(135deg, var(--blue), var(--green)); }
.service-card:nth-child(3n) .service-card__icon { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.service-card__icon img { width: 32px; height: 32px; filter: brightness(0) invert(1); }
.service-card__title { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card__desc { font-size: .9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 20px; }
.service-card__link { font-size: .85rem; font-weight: 600; color: var(--green); }
.service-card__link:hover { color: var(--green-dark); }
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) { grid-column: span 1; }

/* === PROJECTS — Direction Tabs + Gallery === */
.direction-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.direction-tab { display: flex; align-items: center; gap: 16px; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 16px 20px; cursor: pointer; transition: var(--transition); text-align: left; font-family: inherit; }
.direction-tab:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.direction-tab.active { border-color: var(--green); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.direction-tab.active .direction-tab__title,
.direction-tab.active .direction-tab__num { color: var(--white); }
.direction-tab.active .direction-tab__desc { color: rgba(255,255,255,.6); }
.direction-tab__img { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.direction-tab__img img { width: 100%; height: 100%; object-fit: cover; }
.direction-tab__num { font-family: 'Montserrat', sans-serif; font-size: .75rem; font-weight: 800; color: var(--green); letter-spacing: 2px; margin-bottom: 4px; display: block; }
.direction-tab__title { font-family: 'Montserrat', sans-serif; font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.direction-tab__desc { font-size: .78rem; color: var(--gray-500); line-height: 1.4; }

/* Project Grid Cards */
.direction-panel { display: none; }
.direction-panel.active { display: block; }
.projects-grid-swiper { padding-bottom: 40px; }
.projects-grid-swiper .swiper-wrapper { display: flex; flex-wrap: wrap; }
.projects-grid-swiper .swiper-slide { width: calc(33.333% - 14px); margin-right: 20px; margin-bottom: 20px; height: auto; }
.pcard { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: var(--transition); border: 1px solid var(--gray-200); height: 100%; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.pcard__img { position: relative; height: 200px; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,31,68,.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.pcard:hover .pcard__overlay { opacity: 1; }
.pcard__zoom { background: var(--green); color: var(--white); padding: 8px 20px; border-radius: var(--radius); font-size: .85rem; font-weight: 600; }
.pcard__body { padding: 16px 20px; }
.pcard__title { font-family: 'Montserrat', sans-serif; font-size: .92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.pcard__location { font-size: .8rem; color: var(--gray-500); display: flex; align-items: center; gap: 4px; }
.pcard__location::before { content: '📍'; font-size: .7rem; }
.projects-grid-swiper, .partners-swiper { padding-bottom: 80px; }
.swiper-button-prev.projects-prev, .swiper-button-next.projects-next, .swiper-button-prev.partners-prev, .swiper-button-next.partners-next { color: var(--green); top: auto; bottom: 10px; width: 48px; height: 48px; background: var(--white); border-radius: 50%; box-shadow: var(--shadow-md); transition: var(--transition); margin-top: 0; }
.swiper-button-prev.projects-prev:hover, .swiper-button-next.projects-next:hover, .swiper-button-prev.partners-prev:hover, .swiper-button-next.partners-next:hover { background: var(--green); color: var(--white); }
.swiper-button-prev.projects-prev::after, .swiper-button-next.projects-next::after, .swiper-button-prev.partners-prev::after, .swiper-button-next.partners-next::after { font-size: 1.2rem; font-weight: bold; }
.swiper-button-prev.projects-prev, .swiper-button-prev.partners-prev { left: calc(50% - 35px); transform: translateX(-50%); }
.swiper-button-next.projects-next, .swiper-button-next.partners-next { right: auto; left: calc(50% + 35px); transform: translateX(-50%); }

/* Project Popup */
.project-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.7); z-index: 10001; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(6px); }
.project-popup.active { opacity: 1; visibility: visible; }
.project-popup__inner { background: var(--white); border-radius: var(--radius-lg); max-width: 720px; width: 92%; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(30px) scale(.95); transition: var(--transition); display: flex; flex-direction: column; }
.project-popup.active .project-popup__inner { transform: translateY(0) scale(1); }
.project-popup__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: none; background: rgba(0,0,0,.5); color: var(--white); border-radius: 50%; font-size: 1.6rem; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.project-popup__close:hover { background: var(--green); }
.project-popup__img { width: 100%; height: 300px; overflow: hidden; flex-shrink: 0; }
.project-popup__img img { width: 100%; height: 100%; object-fit: cover; }
.project-popup__content { padding: 32px; }
.project-popup__content h3 { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.project-popup__loc { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--gray-500); margin-bottom: 16px; }
.project-popup__loc::before { content: '📍'; }
.project-popup__content p { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 24px; }
.project-popup__content h4 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.project-popup__content ul { list-style: none; padding: 0; }
.project-popup__content ul li { position: relative; padding-left: 24px; margin-bottom: 10px; font-size: .9rem; color: var(--gray-600); line-height: 1.5; }
.project-popup__content ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

/* Projects Page Grid (non-slider) */
.projects-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
@media (max-width: 1024px) { .projects-page-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-page-grid { grid-template-columns: 1fr; } }

/* === PARTNERS / DISTRIBUTION === */
.section--distribution { background: var(--gray-50); }
.partner-card { background: var(--white); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.partner-card:hover { box-shadow: var(--shadow-md); border-color: var(--green); }
.partner-card__logo { height: 100px; display: flex; align-items: center; justify-content: center; width: 100%; }
.partner-card__logo img { max-height: 90px; max-width: 200px; object-fit: contain; margin: 0 auto; display: block; }
.partner-card__name { font-weight: 700; color: var(--navy); font-size: .95rem; }
.partner-card__flag { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; border: 2px solid var(--gray-200); }
.partner-card { position: relative; }
.partner-card__country { font-size: .72rem; color: var(--gray-500); margin-top: 6px; font-weight: 500; }

/* === CLIENTS === */
.section--clients { background: var(--white); }
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 60px; }
@media (max-width: 1024px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.client-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; border: 1px solid var(--gray-200); transition: var(--transition); min-height: 120px; display: flex; align-items: center; justify-content: center; }
.client-card:hover { box-shadow: var(--shadow-md); border-color: var(--green); }
.client-card img { max-height: 80px; max-width: 160px; object-fit: contain; transition: var(--transition); }
.client-card:hover img { transform: scale(1.08); }

/* === CERTIFICATES === */
.section--certs { background: var(--white); }
.certs-slider { position: relative; padding: 0 50px; }
.certs-swiper { overflow: hidden; }
.cert-card { cursor: pointer; text-align: center; }
.cert-card__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); background: var(--gray-50); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; }
.cert-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cert-card:hover .cert-card__img img { transform: scale(1.05); }
.cert-card__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,31,68,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.cert-card:hover .cert-card__overlay { opacity: 1; }
.cert-card__title { font-size: .85rem; font-weight: 600; color: var(--gray-600); margin-top: 12px; }
.certs-prev, .certs-next { color: var(--navy); top: 45%; }
.certs-prev { left: 0; }
.certs-next { right: 0; }
.certs-prev::after, .certs-next::after { font-size: 20px; }

/* Lightbox */
.cert-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.9); z-index: 10002; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); cursor: zoom-out; }
.cert-lightbox.active { opacity: 1; visibility: visible; }
.cert-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 0 60px rgba(0,0,0,.5); }
.cert-lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border: none; background: rgba(255,255,255,.15); color: var(--white); border-radius: 50%; font-size: 2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cert-lightbox__close:hover { background: var(--green); }

/* === CTA SECTION === */
.section--cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 100px 0; position: relative; overflow: hidden; }
.section--cta::before { content: ''; position: absolute; top: -50px; left: -50px; width: 300px; height: 300px; background: var(--green); filter: blur(100px); opacity: 0.4; }
.section--cta::after { content: ''; position: absolute; bottom: -50px; right: -50px; width: 300px; height: 300px; background: var(--green); filter: blur(100px); opacity: 0.4; z-index: 0; }
.cta-block { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.cta-block__title { font-family: 'Montserrat', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-block__desc { font-size: 1.05rem; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.cta-block__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === CONTACTS MAP === */
.section--contacts { background: var(--white); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; min-height: 480px; }
.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contacts-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contacts-info__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--green-light)); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contacts-info__icon svg { stroke: var(--white); }
.contacts-info__item strong { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); display: block; margin-bottom: 4px; }
.contacts-info__item p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 2px; line-height: 1.6; }
.contacts-info__item a { color: var(--navy); font-weight: 500; font-size: 1.05rem; }
.contacts-info__item a:hover { color: var(--green); }
.contacts-wa a { display: inline-flex; align-items: center; gap: 6px; color: #25D366 !important; font-weight: 600 !important; font-size: 1.05rem; }
.contacts-wa a:hover { opacity: .8; }
.contacts-info__cta { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: var(--radius-lg); padding: 20px 24px; color: var(--white); margin-top: auto; }
.contacts-info__cta p { font-size: 1.1rem; font-weight: 600; line-height: 1.6; color: var(--white) !important; }
.contacts-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; box-shadow: var(--shadow-md); }
.contacts-map iframe { width: 100%; height: 100%; min-height: 400px; }

/* === PAGE HERO === */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 120px 0 60px; }
.page-hero__title { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.page-hero__desc { font-size: 1.1rem; color: rgba(255,255,255,.6); }
.page-hero__breadcrumbs { font-size: .9rem; color: rgba(255,255,255,.6); }
.page-hero__breadcrumbs a { color: rgba(255,255,255,.8); } .page-hero__breadcrumbs a:hover { color: var(--white); }
.page-hero__breadcrumbs span { margin: 0 8px; }
.page-content { padding: 60px 0; font-size: 1.05rem; line-height: 1.8; color: var(--gray-600); }
.page-content h2, .page-content h3 { font-family: 'Montserrat', sans-serif; color: var(--navy); margin: 2em 0 .8em; }

/* === MODAL === */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.6); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(4px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; max-width: 460px; width: 90%; position: relative; transform: scale(.9); transition: var(--transition); }
.modal-overlay.active .modal { transform: scale(1); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: none; background: var(--gray-100); border-radius: 50%; font-size: 1.4rem; cursor: pointer; color: var(--gray-500); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.modal__close:hover { background: var(--green); color: var(--white); }
.modal__title { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.modal__desc { font-size: .9rem; color: var(--gray-500); margin-bottom: 28px; }
.modal__form input[type="text"], .modal__form input[type="tel"] { width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: .95rem; margin-bottom: 14px; transition: var(--transition); font-family: 'Inter', sans-serif; }
.modal__form input:focus { outline: none; border-color: var(--green); }
.modal__form .btn { margin-top: 8px; }
.modal__status { margin-top: 12px; font-size: .85rem; text-align: center; }
.modal__status.success { color: #28a745; }
.modal__status.error { color: var(--red); }

/* === FOOTER === */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); }
.footer-main { padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo img, .footer-logo .custom-logo { height: 40px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col p { font-size: .9rem; line-height: 1.7; }
.footer-col__title { font-family: 'Montserrat', sans-serif; font-size: .9rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: .88rem; }
.footer-contacts svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }
.footer-contacts a { color: rgba(255,255,255,.6); } .footer-contacts a:hover { color: var(--white); }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-socials a:hover { background: var(--green); color: var(--white); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); text-align: center; }

/* === WHATSAPP FLOAT === */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 999; transition: var(--transition); animation: waFloat 3s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,.5); }
@keyframes waFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .top-bar__left { display: none; }
    .main-nav, .header-phone, .header-cta { display: none; }
    .burger { display: block; }
    .site-header__inner { height: 64px; }

    /* Mobile nav */
    .main-nav { display: block; position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--white); z-index: 999; padding: 80px 24px 24px; overflow-y: auto; transition: right .4s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-xl); }
    .main-nav.active { right: 0; }
    .main-nav__list { flex-direction: column; gap: 0; }
    .main-nav__link { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--gray-100); }
    .sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; }

    .services-grid, .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { min-height: 80vh; }
    .hero__title { font-size: 2rem; }
    .hero__subtitle { font-size: 1rem; }
    .section { padding: 60px 0; }
    .section__title { font-size: 1.8rem; }
    .about-stats { gap: 20px; }
    .stat-number { font-size: 1.8rem; }
    .cta-block__title { font-size: 1.6rem; }
    .page-hero { padding: 100px 0 40px; }
    .page-hero__title { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .cta-block__actions { flex-direction: column; }
}

/* === CATALOG PAGE === */
.catalog-section { padding: 60px 0 100px; }
.catalog-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.catalog-tab { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition); font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 600; color: var(--navy); }
.catalog-tab:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.catalog-tab.active { border-color: var(--green); background: var(--green); color: var(--white); }
.catalog-tab__icon { font-size: 1.2rem; }
.catalog-panel { display: none; }
.catalog-panel.active { display: block; }
.catalog-subcat { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 40px 0 20px; padding-bottom: 12px; border-bottom: 3px solid var(--green); display: inline-block; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.catalog-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.catalog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.catalog-card__img { height: 200px; display: flex; align-items: center; justify-content: center; padding: 20px; background: var(--gray-50); }
.catalog-card__img img { max-height: 160px; max-width: 100%; object-fit: contain; }
.catalog-card__body { padding: 16px; flex: 1; }
.catalog-card__name { font-family: 'Montserrat', sans-serif; font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.catalog-card__price { font-size: .85rem; font-weight: 700; color: var(--green); }
.catalog-card__btn { width: 100%; padding: 12px; background: var(--navy); color: var(--white); border: none; font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.catalog-card__btn:hover { background: var(--green); }

@media (max-width: 1024px) {
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .catalog-tabs { gap: 6px; }
    .catalog-tab { padding: 8px 14px; font-size: .78rem; }
}
@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr; }
}

.catalog-tab__count { background: rgba(0,0,0,.08); padding: 2px 8px; border-radius: 20px; font-size: .75rem; font-weight: 700; }
.catalog-tab.active .catalog-tab__count { background: rgba(255,255,255,.25); }
.catalog-more { display: block; width: 100%; padding: 14px; background: var(--gray-50); border: 2px dashed var(--gray-200); border-radius: var(--radius-lg); cursor: pointer; font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 600; color: var(--navy); transition: var(--transition); margin-bottom: 30px; }
.catalog-more:hover { border-color: var(--green); color: var(--green); background: rgba(46,204,113,.05); }
.catalog-subcat small { font-size: .75rem; font-weight: 400; color: var(--gray-400); }
.catalog-loading { text-align: center; padding: 40px; font-size: 1rem; color: var(--gray-400); }

/* Card clickable */
.catalog-card { cursor: pointer; position: relative; }
.catalog-card { cursor: pointer; }
.catalog-card__badge { position: absolute; top: 10px; right: 10px; background: var(--green); color: #fff; font-size: .65rem; padding: 3px 8px; border-radius: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; pointer-events: none; }
.catalog-card__badge--desc { right: auto; left: 10px; background: var(--red, #e74c3c); }

/* Product Modal - Tabbed Layout */
.product-modal { display: none; position: fixed; inset: 0; z-index: 10000; }
.product-modal.active { display: flex; align-items: center; justify-content: center; }
.product-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.product-modal__content { position: relative; background: #fff; border-radius: var(--radius-xl); max-width: 1000px; width: 95%; max-height: 92vh; overflow-y: auto; box-shadow: 0 25px 60px rgba(0,0,0,.3); animation: modalIn .3s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.95); } to { opacity: 1; transform: none; } }
.product-modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100); border: none; font-size: 1.1rem; cursor: pointer; z-index: 2; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.product-modal__close:hover { background: var(--red, #e74c3c); color: #fff; }

/* TOP: Photo left + Info right */
.product-modal__top { display: grid; grid-template-columns: 350px 1fr; gap: 0; border-bottom: 1px solid var(--gray-100); }
.product-modal__img { padding: 24px; display: flex; align-items: flex-start; justify-content: center; background: var(--gray-50); border-radius: var(--radius-xl) 0 0 0; }
.product-modal__img img { max-width: 100%; max-height: 320px; object-fit: contain; }
.product-modal__info { padding: 30px 24px; }
.product-modal__info h2 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.3; }

/* Meta rows */
.product-modal__meta { margin-bottom: 16px; }
.pm-meta-row { display: flex; gap: 8px; padding: 4px 0; font-size: .9rem; border-bottom: 1px solid var(--gray-50); }
.pm-label { color: var(--gray-400); min-width: 120px; }
.pm-value { color: var(--navy); font-weight: 500; }
.pm-value--price { color: var(--green); font-weight: 700; font-size: 1.1rem; }
.pm-value--avail { color: var(--green); }

.product-modal__short-desc { font-size: .85rem; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; max-height: 100px; overflow: hidden; }

.product-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-modal__actions .btn { padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: .85rem; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; transition: var(--transition); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #27ae60; }

/* TABS */
.product-modal__tabs { display: flex; border-bottom: 2px solid var(--gray-100); }
.pm-tab { flex: 1; padding: 14px 20px; font-size: .95rem; font-weight: 600; background: var(--gray-50); border: none; cursor: pointer; color: var(--gray-600); transition: var(--transition); border-bottom: 3px solid transparent; }
.pm-tab:hover { color: var(--navy); background: #fff; }
.pm-tab.active { color: #fff; background: var(--navy); border-bottom-color: var(--green); }

/* Tab Panels */
.product-modal__tab-content { padding: 20px 24px; min-height: 200px; }
.pm-panel { display: none; }
.pm-panel.active { display: block; }

/* Models Grid */
.pm-models-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-model-link { display: inline-block; padding: 8px 16px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: .85rem; color: var(--navy); text-decoration: none; transition: var(--transition); cursor: pointer; }
.pm-model-link:hover { background: var(--green); color: #fff; border-color: var(--green); }
.pm-model-link.pm-model-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pm-empty { color: var(--gray-400); text-align: center; padding: 40px; font-size: .9rem; }

/* Specs & Desc in tabs */
.product-modal__specs { width: 100%; border-collapse: collapse; }
.product-modal__specs td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); font-size: .88rem; }
.product-modal__specs td:first-child { font-weight: 600; color: var(--navy); width: 45%; background: var(--gray-50); }
.product-modal__nospecs { background: var(--gray-50); border-radius: var(--radius); padding: 30px; text-align: center; }
.product-modal__nospecs p { color: var(--gray-400); font-size: .85rem; margin: 0; }
.product-modal__desc { font-size: .92rem; color: var(--gray-600); line-height: 1.7; white-space: pre-wrap; }

@media (max-width: 768px) {
    .product-modal__top { grid-template-columns: 1fr; }
    .product-modal__img { border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 16px; max-height: 200px; }
    .product-modal__info { padding: 16px; }
    .product-modal__info h2 { font-size: 1.1rem; }
    .pm-tab { padding: 10px 12px; font-size: .8rem; }
    .product-modal__tab-content { padding: 16px; }
}

