@import url('/fonts/smartsys-fonts.css');
/* ============================================================
   SMARTSYS-BG — UNIFIED STYLESHEET v8.0
   Typography scale:
     --fs-2xl  24px  page / article title (h1)
     --fs-xl   20px  section heading (h2)
     --fs-lg   17px  card title (h3)
     --fs-md   15px  sub-heading (h4, h5)
     --fs-base 14px  body text (p)
     --fs-sm   12px  meta / date / small
     --fs-xs   11px  badge / label / count
   ============================================================ */
:root {
    --orange:    #ff8c42;
    --orange-d:  #e67a33;
    --navy:      #2c3e50;
    --navy-d:    #1a3a5c;
    --gray:      #363b45;
    --light:     #f8f9fa;
    --white:     #ffffff;
    --border:    #e9ecef;
    --text:      #333333;
    --font:      'Roboto', 'Segoe UI', Tahoma, sans-serif;
    --font-head: 'Montserrat', 'Roboto', 'Segoe UI', sans-serif;
    --radius:    10px;
    --shadow:    0 2px 12px rgba(0,0,0,0.08);
    --shadow-h:  0 6px 24px rgba(0,0,0,0.13);
    --trans:     all 0.25s ease;

    --fs-2xl:   30px;
    --fs-xl:    22px;
    --fs-lg:    16px;
    --fs-md:    15px;
    --fs-base:  13px;
    --fs-sm:    12px;
    --fs-xs:    11px;
}
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); font-size: 13px; color: var(--text); line-height: 1.6; overflow-x: hidden;
    background: linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,253,250,.75)),url('../img/smartsys.webp');
    background-size: cover,cover; background-position: center; background-attachment: fixed,fixed; }
.fas,.far,.fab,.fa { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); }
h1 { font-size: var(--fs-2xl); font-weight: 700; color: var(--navy); line-height: 1.1; }
h2 { font-size: var(--fs-xl);  font-weight: 700; color: var(--navy); line-height: 1.3; }
h3 { font-size: var(--fs-lg);  font-weight: 600; color: var(--navy); }
h4 { font-size: var(--fs-md);  font-weight: 600; color: var(--navy); }
h5 { font-size: var(--fs-md);  font-weight: 600; color: var(--navy); }
h6 { font-size: var(--fs-base); font-weight: 600; color: var(--navy); }
p  { font-size: var(--fs-base); color: var(--gray); line-height: 1.7; margin-bottom: .5rem; }
.lead { font-size: var(--fs-base); color: var(--gray); }
small, .small { font-size: var(--fs-sm); }
/* Section labels */
.section-label { display: inline-block; background: rgba(255,140,66,.1); color: var(--orange);
    padding: 5px 16px; border-radius: 20px; font-size: var(--fs-xs); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section-title  { font-size: var(--fs-xl); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.section-subtitle { font-size: var(--fs-sm); color: var(--gray); margin-bottom: 32px; }
/* ── NAVIGATION ── */
.navbar { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08); padding: 12px 0; }
.navbar-brand img { height: 36px; transition: var(--trans); }
.navbar-brand:hover img { transform: scale(1.04); filter: drop-shadow(0 2px 6px rgba(255,140,66,.4)); }
.nav-link { color: var(--navy) !important; font-weight: 600; font-size: var(--fs-sm); padding: 8px 16px !important;
    text-transform: uppercase; letter-spacing: .5px; position: relative; transition: color .2s; }
.nav-link::after { content:''; position:absolute; width:0; height:2px; bottom:4px; left:50%;
    background: var(--orange); transition: all .3s; transform: translateX(-50%); }
.nav-link:hover  { color: var(--orange) !important; }
.nav-link:hover::after, .nav-link.active::after { width: 70%; }
.nav-link.active { color: var(--orange) !important; }
/* ── PAGE HEADER (Услуги / Каталог / Поддръжка) ── */
.page-header { background: linear-gradient(135deg, var(--navy), var(--navy-d)); color: white; padding: 32px 0; }
.page-header h1 { font-size: var(--fs-xl);   font-weight: 700; color: #ffffff; margin-bottom: 5px; }
.page-header p  { font-size: var(--fs-base); color: rgba(255,255,255,.85); margin: 0; font-weight: 400; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb-item.active { color: var(--orange); }
/* ── HERO SLIDER ── */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .carousel-item { height: 580px; position: relative; overflow: hidden; }
/* Хиро лентата е фон с текст върху него — снимката запълва цялата ширина.
   Рязането е отгоре/отдолу, не странично. Лекото замъгляване успокоява фона,
   за да се чете заглавието; scale(1.06) скрива меките ръбове от blur-а. */
.hero-slider .carousel-item img {
    object-fit: cover; object-position: center;
    height: 100%; width: 100%; background: var(--navy);
    filter: blur(3px);
    transform: scale(1.06);
}
.carousel-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(44,62,80,.85),rgba(52,73,94,.7)); z-index: 1; }
.carousel-caption-custom { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); z-index: 2; }
.hero-badge-slide { display: inline-block; background: rgba(255,140,66,.9); color: white;
    padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.hero-slide-title-big { font-size: 32px; font-weight: 800; color: #ffffff !important; line-height: 1.2;
    margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.hero-slide-description { font-size: 16px; color: #ffffff !important; line-height: 1.7;
    margin-bottom: 24px; max-width: 600px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-buttons-slide { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-buttons-slide .btn { padding: 12px 28px; font-size: 14px; font-weight: 600; border-radius: 50px; transition: var(--trans); }
.hero-buttons-slide .btn-outline-light { border: 2px solid white; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); color: #ffffff !important; }
.hero-buttons-slide .btn-outline-light:hover { background: white; color: var(--navy) !important; }
.carousel-indicators button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5); border: 2px solid white; }
.carousel-indicators button.active { background: var(--orange); border-color: var(--orange); }

/* ── BUTTONS ── */
.btn-primary-orange { background: var(--orange); border: none; color: white; padding: 10px 24px;
    border-radius: 6px; font-size: 14px; font-weight: 600; transition: var(--trans); display: inline-block; }
.btn-primary-orange:hover { background: var(--orange-d); transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,140,66,.35); color: white; }
.btn-outline-light { border: 2px solid white; color: white; background: transparent;
    padding: 10px 24px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: var(--trans); }
.btn-outline-light:hover { background: white; color: var(--navy); }
.btn-cta-primary, .btn-cta-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; font-size: 14px; font-weight: 600; border-radius: 8px;
    transition: var(--trans); text-decoration: none; border: 2px solid transparent;
    margin-bottom: 8px; width: 100%; max-width: 260px; }
.btn-cta-primary  { background: var(--orange); color: white; border-color: var(--orange); box-shadow: 0 4px 14px rgba(255,140,66,.3); }
.btn-cta-primary:hover  { background: white; color: var(--orange); border-color: white; transform: translateY(-2px); }
.btn-cta-secondary { background: transparent; color: white; border-color: rgba(255,255,255,.8); }
.btn-cta-secondary:hover { background: white; color: var(--navy); transform: translateY(-2px); }
.btn-learn-more { display: inline-flex; align-items: center; gap: 5px; background: var(--orange);
    color: white; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 20px;
    transition: var(--trans); border: 2px solid var(--orange); margin-top: 10px; }
.btn-learn-more:hover { background: white; color: var(--orange); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,140,66,.3); }
.btn-learn-more i { font-size: 10px; transition: transform .25s; }
.btn-learn-more:hover i { transform: translateX(3px); }
/* ── STAT BOXES ── */
.stat-box { display: flex; align-items: center; gap: 16px; padding: 22px 24px;
    background: linear-gradient(135deg,rgba(255,140,66,.14),rgba(255,107,0,.1));
    border-radius: var(--radius); border: 1px solid rgba(255,140,66,.3); transition: var(--trans); }
.stat-box:hover { background: linear-gradient(135deg,rgba(255,140,66,.22),rgba(255,107,0,.18)); transform: translateY(-4px); border-color: var(--orange); }
.stat-icon-modern { width: 56px; height: 56px; background: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow); }
.stat-icon-modern i { font-size: 26px; color: var(--orange); }
.stat-content-modern { flex: 1; }
.stat-number-modern { font-size: 32px; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.stat-label-modern  { font-size: 14px; color: var(--gray); margin: 0; font-weight: 500; }
/* ── WHO WE ARE ── */
.who-we-are-section { padding: 70px 0;
    background: linear-gradient(135deg,rgba(248,249,250,.9),rgba(255,253,250,.85)),url('../img/smartsys.webp');
    background-size: cover,cover; background-attachment: fixed,fixed; }
.intro-text-large { font-size: 15px; color: var(--gray); line-height: 1.75; }
/* ── SERVICE CARDS ── */
.service-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.service-card-link:hover .service-card { transform: translateY(-5px); box-shadow: var(--shadow-h); border-bottom-color: var(--orange); }
.service-card { background: white; border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); transition: var(--trans); height: 100%;
    text-align: center; border-bottom: 3px solid transparent; }
.service-card h3 { font-size: var(--fs-lg);   font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p  { font-size: var(--fs-base); color: var(--gray); line-height: 1.6; margin: 0; }
.service-icon { width: 100%; height: 76px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; background: linear-gradient(135deg,#f8f9fa,#e9ecef); border-radius: 8px; }
.service-icon i { font-size: 36px; color: var(--orange); }
/* ── INTRO SERVICE CARDS (home directions) ── */
.intro-service-card { background: var(--light); padding: 22px; border-radius: var(--radius);
    transition: var(--trans); border: 2px solid transparent; display: block; color: inherit; height: 100%; }
.intro-service-card:hover { background: white; border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow-h); }
.intro-service-icon { width: 52px; height: 52px; background: linear-gradient(135deg,var(--orange),var(--orange-d));
    border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.intro-service-icon i { font-size: 24px; color: white; }
.intro-service-card h4 { font-size: var(--fs-md);   font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.intro-service-card p  { font-size: var(--fs-base); color: var(--gray); margin: 0; }
/* ── SERVICE APPROACH CARDS ── */
.service-approach-card { background: var(--light); padding: 28px 22px; border-radius: var(--radius);
    text-align: center; height: 100%; position: relative; transition: var(--trans); }
.service-approach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); }
.approach-number { position: absolute; top: 14px; right: 18px; font-size: 38px; font-weight: 700; color: rgba(255,140,66,.15); line-height: 1; }
.approach-icon { width: 68px; height: 68px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: var(--shadow); }
.approach-icon i { font-size: 30px; color: var(--orange); }
.service-approach-card h3 { font-size: var(--fs-md);   font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.service-approach-card p  { font-size: var(--fs-base); color: var(--gray); margin: 0; }
/* ── VALUE / INFO CARDS ── */
.value-card { background: white; padding: 24px; border-radius: var(--radius); text-align: center;
    box-shadow: var(--shadow); height: 100%; transition: var(--trans); border-bottom: 3px solid transparent; }
.value-card:hover { transform: translateY(-4px); border-bottom-color: var(--orange); box-shadow: var(--shadow-h); }
.value-icon { width: 60px; height: 60px; background: linear-gradient(135deg,rgba(255,140,66,.1),rgba(255,140,66,.2));
    border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.value-icon i { font-size: 28px; color: var(--orange); }
.value-card h4 { font-size: var(--fs-md);   font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.value-card p  { font-size: var(--fs-base); color: var(--gray); margin: 0; }
.info-card { background: white; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); height: 100%; }
.info-icon { width: 52px; height: 52px; background: linear-gradient(135deg,var(--orange),var(--orange-d));
    border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.info-icon i { font-size: 24px; color: white; }
.info-card h3 { font-size: var(--fs-lg);   font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.info-card p  { font-size: var(--fs-base); color: var(--gray); margin: 0; }
/* ── ABOUT PAGE ── */
.about-section { padding: 50px 0; }
.about-hero { padding: 60px 0 50px; background: linear-gradient(135deg,rgba(255,140,66,.06),rgba(44,62,80,.04));
    border-radius: 16px; overflow: hidden; text-align: center; position: relative; }
.about-hero h1 { font-size: 22px; font-weight: 900; color: var(--orange);
    filter: drop-shadow(0 2px 0 #c4602e) drop-shadow(0 4px 0 #a64e24) drop-shadow(0 8px 18px rgba(0,0,0,.25));
    transform: perspective(500px) rotateX(4deg);
    animation: float-text 3s ease-in-out infinite; letter-spacing: 2px; }
.about-hero p { font-size: 13px; color: var(--navy); font-weight: 500; margin-top: 12px; }
@keyframes float-text { 0%,100%{ transform: perspective(500px) rotateX(4deg) translateY(0); }
                         50%   { transform: perspective(500px) rotateX(4deg) translateY(-8px); } }
.about-image { display: flex; align-items: center; justify-content: center; padding: 40px;
    background: linear-gradient(135deg,#f8f9fa,#e9ecef); border-radius: var(--radius); }
/* ── FOR WHOM / HOW / DIRECTIONS ── */
.for-whom-section    { padding: 60px 0; background: white; }
.how-we-work-section { padding: 60px 0; background: var(--light); }
.main-directions-section { padding: 60px 0; background: white; }
/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, var(--navy), #34495e); padding: 50px 0; color: white; }
.cta-section h2 { color: white; font-size: var(--fs-xl); }
.cta-section .lead { color: rgba(255,255,255,.85); font-size: var(--fs-base); }
.simple-cta-section { padding: 60px 0;
    background: linear-gradient(135deg,rgba(44,62,80,.95),rgba(52,73,94,.93)),url('../img/smartsys.webp');
    background-size: cover,cover; background-attachment: fixed,fixed; color: white; }
.cta-title { font-size: var(--fs-xl);   font-weight: 700; color: white; margin-bottom: 10px; }
.cta-text  { font-size: var(--fs-base); color: rgba(255,255,255,.85); margin-bottom: 0; }
/* ── CATALOG ── */
.catalog-section { padding: 30px 0 50px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filter-btn { background: white; border: 2px solid var(--border); color: var(--navy);
    padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--trans); }
.filter-btn:hover, .filter-btn.active { background: var(--orange); border-color: var(--orange); color: white; }
.catalog-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
    height: 100%; transition: var(--trans); border-bottom: 3px solid transparent; position: relative; }
.catalog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-h); border-bottom-color: var(--orange); }
.catalog-badge { position: absolute; top: 10px; right: 10px; background: var(--orange); color: white;
    padding: 3px 10px; border-radius: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.catalog-image { display: flex; align-items: center; justify-content: center; height: 100px; background: linear-gradient(135deg,#f8f9fa,#e9ecef); }
.catalog-icon { font-size: 46px; color: var(--orange); }
.catalog-content { padding: 16px 18px 18px; }
.catalog-content h3 { font-size: var(--fs-lg);   font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.catalog-content p  { font-size: var(--fs-base); color: var(--gray); line-height: 1.5; margin-bottom: 10px; }
.catalog-features { list-style: none; padding: 0; margin-bottom: 12px; }
.catalog-features li { font-size: var(--fs-xs); color: var(--text); padding: 2px 0; display: flex; align-items: center; gap: 5px; }
.catalog-features li i { color: var(--orange); font-size: 10px; }
.catalog-cta { background: white; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.catalog-cta h3 { font-size: var(--fs-lg);   font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.catalog-cta p  { color: var(--gray); margin-bottom: 16px; }
/* ── CONTACT ── */
.contact-section { padding: 20px 0 50px; }
.contact-info-box { background: white; border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
    box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; border-left: 4px solid var(--orange); }
.contact-icon { width: 40px; height: 40px; background: linear-gradient(135deg,var(--orange),var(--orange-d));
    border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon i { font-size: 18px; color: white; }
.contact-info-box h4 { font-size: var(--fs-md);   font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.contact-info-box p  { font-size: var(--fs-base); color: var(--gray); margin: 0; line-height: 1.6; }
.contact-info-box a  { color: var(--navy); transition: color .2s; }
.contact-info-box a:hover { color: var(--orange); }
.contact-form-box { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-form-box h2 { font-size: var(--fs-xl); font-weight: 700; color: var(--navy); }
.map-section { padding: 40px 0; background: var(--light); }
.map-placeholder { background: white; border-radius: var(--radius); padding: 50px 20px; text-align: center; box-shadow: var(--shadow); }
.faq-section { padding: 50px 0; }
.faq-item { background: white; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); height: 100%; border-left: 4px solid var(--orange); }
.faq-item h4 { font-size: var(--fs-md);   font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.faq-item p  { font-size: var(--fs-base); color: var(--gray); margin: 0; line-height: 1.7; }
/* ── SUPPORT ── */
.support-section { padding: 40px 0; }
.support-login-card { background: white; border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.support-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.support-icon { width: 46px; height: 46px; background: linear-gradient(135deg,var(--orange),var(--orange-d));
    border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.support-icon i { font-size: 22px; color: white; }
.support-card-header h2 { font-size: var(--fs-xl);   font-weight: 700; color: var(--navy); margin: 0; }
.support-card-header p  { font-size: var(--fs-xs);   color: var(--gray); margin: 0; }
.support-form label { font-weight: 600; color: var(--navy); font-size: var(--fs-sm); }
.support-help-links { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.support-help-links p { font-size: var(--fs-xs);   color: var(--gray); margin-bottom: 6px; }
.help-link { display: block; font-size: var(--fs-xs); color: var(--orange); padding: 3px 0; transition: color .2s; }
.help-link:hover { color: var(--orange-d); text-decoration: underline; }
.help-link i { margin-right: 5px; }
.info-feature-card { background: var(--light); border-radius: var(--radius); padding: 18px; height: 100%; border-left: 4px solid var(--orange); }
.info-feature-card h5 { font-size: var(--fs-md); font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.info-feature-card p  { font-size: var(--fs-sm); color: var(--gray); margin: 0; }
.subscription { background: linear-gradient(135deg,var(--navy),var(--navy-d)); border-radius: var(--radius);
    padding: 26px; color: white; text-align: center; }
.subscription h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; color: white; }
.subscription p  { font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: 14px; }
/* ── SERVICE DETAIL ── */
.service-detail-header { background: linear-gradient(135deg,var(--navy),var(--navy-d)); color: white; padding: 50px 0 40px; }
.service-detail-header .breadcrumb-item a { color: rgba(255,255,255,.7); }
.service-detail-header .breadcrumb-item.active { color: var(--orange); }
.service-detail-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }
.service-detail-header h1 { font-size: var(--fs-2xl);  font-weight: 700; margin-bottom: 12px; color: white; }
.service-detail-header .lead { font-size: var(--fs-base); color: rgba(255,255,255,.85); }
.service-detail-icon { width: 62px; height: 62px; background: rgba(255,140,66,.2); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; border: 2px solid var(--orange); margin-bottom: 18px; }
.service-detail-icon i { font-size: 28px; color: var(--orange); }
.service-detail-body { padding: 50px 0; background: var(--light); }
.service-detail-content { background: white; border-radius: var(--radius); padding: 32px;
    box-shadow: var(--shadow); font-size: var(--fs-base); line-height: 1.8; color: var(--text); }
.service-detail-content h2,.service-detail-content h3 { color: var(--navy); font-weight: 700; margin-top: 24px; margin-bottom: 12px; }
.service-detail-content ul { padding-left: 18px; }
.service-detail-content ul li { margin-bottom: 6px; }
.service-detail-content ul li::marker { color: var(--orange); }
.service-detail-sidebar { position: relative; }
.other-service-link { color: var(--text); font-size: var(--fs-sm); text-decoration: none; transition: color .2s; }
.other-service-link:hover { color: var(--orange); }
/* ── GALLERY & LIGHTBOX ── */
.service-gallery { background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-top: 18px; }
.gallery-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.gallery-grid { display: grid; gap: 8px; border-radius: 8px; overflow: hidden; }
.gallery-1 { grid-template-columns: 1fr; }
.gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.gallery-3 .gallery-item:first-child { grid-row: 1/3; }
.gallery-4 { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
.gallery-4 .gallery-item:first-child { grid-row: 1/3; }
.gallery-item { position: relative; overflow: hidden; cursor: pointer; border-radius: 6px; aspect-ratio: 4/3; }
.gallery-1 .gallery-item { aspect-ratio: 16/7; max-height: 380px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; background: #f0f4f8; transition: transform .4s; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(44,62,80,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.gallery-overlay i { font-size: 26px; color: white; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.lightbox-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.93); z-index: 9999; align-items: center; justify-content: center; }
.lightbox-backdrop.active { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-content img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-counter { color: rgba(255,255,255,.7); font-size: 13px; margin-top: 10px; letter-spacing: 1px; }
.lightbox-close { position: fixed; top: 16px; right: 22px; background: none; border: none; color: white; font-size: 38px; cursor: pointer; opacity: .7; transition: opacity .2s; z-index: 10000; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,.lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: white; font-size: 26px; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; transition: background .2s; backdrop-filter: blur(4px); z-index: 10000; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,.lightbox-next:hover { background: rgba(255,140,66,.75); }
/* ── FOOTER ── */
.footer { background: var(--navy); color: white; padding: 44px 0 18px; margin-top: 50px; }
.footer h5 { font-size: var(--fs-md);   font-weight: 700; margin-bottom: 16px; color: white; }
.footer p,.footer address { font-size: var(--fs-sm); color: rgba(255,255,255,.75); line-height: 1.7; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: var(--fs-sm); color: rgba(255,255,255,.75); transition: color .25s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 24px; padding-top: 16px; text-align: center; }
.footer-bottom p { font-size: var(--fs-xs); color: rgba(255,255,255,.6); margin: 0; }
/* ── FORMS ── */
.form-control { border: 1px solid var(--border); padding: 10px 14px; border-radius: 6px; font-size: var(--fs-sm); }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 .2rem rgba(255,140,66,.2); }
.form-label { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.btn-submit { background: var(--orange); border: none; color: white; padding: 11px 28px; border-radius: 6px; font-size: 14px; font-weight: 600; width: 100%; margin-top: 8px; transition: var(--trans); }
.btn-submit:hover { background: var(--orange-d); }
/* ── CONTENT IMAGE BORDER ── */
.news-card-img,
.sol-article-img img,
.sol-main-img img,
.related-card img,
.catalog-card .catalog-image img,
.gallery-item img,
.service-gallery img { border: 1px solid rgba(44,62,80,0.10); }

/* ── MISC ── */
.services-section  { padding: 50px 0; background: var(--light); }
.services-details  { padding: 30px 0; }
.card-body { padding: 1.25rem; }
.shadow-sm { box-shadow: var(--shadow) !important; }
.social-links a { color: rgba(255,255,255,.8); transition: color .25s; }
.social-links a:hover { color: var(--orange); }
.page-header-intro { background: white; border-radius: var(--radius); padding: 22px 28px;
    box-shadow: var(--shadow); text-align: center; margin-bottom: 10px; }
.page-header-intro h3 { font-size: var(--fs-md);   font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.page-header-intro p  { font-size: var(--fs-base); color: var(--gray); margin: 0; }
/* ── RESPONSIVE ── */

/* Карта "Кои сме ние" — намалено отстояние на малки екрани */
@media (max-width: 767px) {
    .who-we-are-card { padding: 20px; }
}
@media (max-width: 480px) {
    .who-we-are-card { padding: 16px 14px; }
}

/* Catalog CTA — намалено отстояние на малки екрани */
@media (max-width: 767px) {
    .catalog-cta { padding: 22px 18px; }
}

/* ── SCROLL TO TOP ── */
.scroll-to-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px;
    background: var(--orange); color: white; border: none; border-radius: 50%;
    font-size: 16px; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(20px);
    transition: opacity .3s, transform .3s; box-shadow: 0 3px 12px rgba(255,140,66,.4); }
.scroll-to-top.show { opacity: 1; transform: translateY(0); }
.scroll-to-top:hover { background: var(--orange-d); }
/* ── NAVBAR SCROLLED ── */
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.15); }
/* ── FADE IN ── */
.service-card, .value-card, .catalog-card, .info-card { transition: opacity .4s ease, transform .4s ease; }
.service-card.fade-in, .value-card.fade-in, .catalog-card.fade-in, .info-card.fade-in { opacity: 1; transform: translateY(0); }
/* ── WHO WE ARE CARD ── */
.who-we-are-card {
    background: linear-gradient(135deg, rgba(255,140,66,.12), rgba(255,107,0,.08));
    border: 1px solid rgba(255,140,66,.35);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 28px 30px;
    height: 100%;
}
.who-we-are-card .section-title { margin-top: 8px; }
.who-we-are-card .intro-text-large { margin-top: 10px; }
/* ── SERVICE DETAIL — оранжеви check bullets ── */
.service-detail-content ul {
    list-style: none;
    padding-left: 0;
}
.service-detail-content ul li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: .55rem;
    line-height: 1.7;
}
.service-detail-content ul li::before {
    content: "\f058";           /* fa-check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: .15em;
    color: var(--primary-orange, #ff7a00);
    font-size: .95em;
}

/* ================================================================
   MOBILE RESPONSIVE — SmartSys-BG
   ================================================================ */

/* ── Navbar toggler (hamburger) — оранжев ── */
.navbar-toggler {
    border: 2px solid var(--orange);
    border-radius: 6px;
    padding: 4px 8px;
    transition: var(--trans);
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255,140,66,.25); outline: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23ff8c42' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ── Логото до бутона, а не над него ──────────────────────────────────
   Логото е широк надпис - 794x105 px, съотношение 7.56:1. При височина
   36px то заема 272px ширина. На телефон с екран 320px след отстъпите
   на .container остават 296px, тоест за копчето не остава място и
   Bootstrap го премята на нов ред.

   Затова височината слиза на стъпки: съотношението се пази само, а
   ширината намалява с нея. nowrap е предпазителят - редът не се чупи
   дори при по-тесен екран от предвиденото.
   ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .navbar > .container { flex-wrap: nowrap; }
    .navbar-brand { flex: 0 1 auto; min-width: 0; margin-right: 10px; }
    .navbar-brand img { height: 32px; }          /* ≈242px ширина */
}
@media (max-width: 575px) {
    .navbar-brand img { height: 28px; }          /* ≈212px */
}
@media (max-width: 380px) {
    .navbar-brand img { height: 24px; }          /* ≈182px */
}

/* ── Collapsed nav menu ── */
@media (max-width: 991px) {
    .navbar-collapse {
        border-top: 2px solid var(--border);
        margin-top: 10px;
        padding-top: 6px;
        background: var(--white);
    }
    .navbar-nav { padding-bottom: 8px; }
    .nav-link {
        padding: 10px 12px !important;
        font-size: 13px;
        border-radius: 6px;
        margin: 1px 0;
    }
    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.active {
        background: rgba(255,140,66,.08);
        border-radius: 6px;
    }
}

/* ── Tablet (≤768px) ── */
@media (max-width: 767px) {
    /* Typography */
    h1 { font-size: 20px; }
    h2 { font-size: 18px; }
    h3 { font-size: 16px; }
    .section-title { font-size: 18px; }
    p, .lead { font-size: 13px; }

    /* Page header */
    .page-header { padding: 22px 0 18px; }
    .page-header h1 { font-size: 17px; }
    .page-header p { font-size: 13px; }

    /* Hero */
    .hero-slider .carousel-item { height: 280px; }
    .hero-slide-title-big { font-size: 20px; }
    .hero-slide-description { font-size: 13px; margin-bottom: 16px; }
    .hero-buttons-slide { gap: 8px; }
    .hero-buttons-slide .btn { padding: 7px 14px; font-size: 12px; }

    /* Product / Service card images — reduce height */
    .prod-card-img { height: 150px !important; }
    .svc-card-img  { height: 120px !important; }

    /* Product detail main image */
    .product-main-img { max-height: 260px !important; }
    .product-main-img img { max-height: 260px !important; }

    /* Related product cards */
    .related-card img { height: 100px !important; }

    /* Catalog cards */
    .catalog-image { height: 80px; }
    .catalog-icon  { font-size: 36px; }

    /* Stat boxes */
    .stat-number-modern { font-size: 24px; }
    .stat-icon-modern { width: 44px; height: 44px; }
    .stat-icon-modern i { font-size: 20px; }

    /* Service cards */
    .service-card { padding: 18px 16px; }
    .service-icon { height: 60px; }
    .service-icon i { font-size: 28px; }

    /* Value cards */
    .value-icon { width: 50px; height: 50px; }
    .value-icon i { font-size: 22px; }

    /* Contact */
    .contact-form-box { padding: 20px 16px; }

    /* Footer */
    .footer { padding: 28px 0 14px; margin-top: 30px; }
    .footer h5 { font-size: var(--fs-base); margin-bottom: 10px; }
    .footer-bottom { margin-top: 16px; padding-top: 12px; }

    /* Buttons */
    .btn-cta-primary, .btn-cta-secondary { max-width: 100%; padding: 11px 20px; }

    /* Gallery */
    .gallery-2, .gallery-3, .gallery-4 { grid-template-columns: 1fr; }
    .gallery-3 .gallery-item:first-child,
    .gallery-4 .gallery-item:first-child { grid-row: auto; grid-column: auto; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 18px; }

    /* CTA sections */
    .cta-section { padding: 36px 0; }
    .simple-cta-section { padding: 36px 0; }

    /* Scroll to top */
    .scroll-to-top { bottom: 16px; right: 16px; width: 36px; height: 36px; font-size: 14px; }

    /* Service detail header */
    .service-detail-header { padding: 30px 0 24px; }
    .service-detail-header h1 { font-size: 19px; }
    .service-detail-content { padding: 22px 16px; }

    /* CTA section buttons row */
    .simple-cta-section .d-flex { justify-content: center !important; }

    /* Page header intro */
    .page-header-intro { padding: 16px 18px; }

    /* Products/services features card */
    .who-we-are-section { padding: 40px 0; }
    .for-whom-section { padding: 40px 0; }
    .how-we-work-section { padding: 40px 0; }
    .main-directions-section { padding: 40px 0; }
}

/* ── Small phones (≤480px) ── */
@media (max-width: 480px) {
    .container { padding-left: 12px; padding-right: 12px; }
    h1 { font-size: 16px; }
    h2 { font-size: 16px; }
    .page-header h1 { font-size: 15px; }
    .hero-slider .carousel-item { height: 230px; }
    .hero-slide-title-big { font-size: 16px; line-height: 1.3; }
    .hero-slide-description { display: none; } /* Скриваме описанието на много малки екрани */
    .hero-buttons-slide .btn { padding: 6px 12px; font-size: 11px; }
    .prod-card-img { height: 130px !important; }
    .svc-card-img  { height: 100px !important; }
    .stat-box { flex-direction: column; text-align: center; gap: 10px; padding: 16px; }
    .contact-info-box { flex-direction: column; gap: 8px; }

    /* Quote builder */
    .qb-section { padding: 16px; }
    .qb-summary-panel { padding: 14px; }
    .qb-tab-btn { padding: 8px 12px; font-size: 12px; }

    /* Service category cards */
    .spc-header { padding: 24px 16px 20px; }
    .spc-body { padding: 16px 16px 12px; }
    .spc-footer { padding: 12px 16px 16px; }

    /* Footer */
    .footer { padding: 24px 0 12px; }

    /* Contact form captcha */
    .captcha-row-mobile { flex-wrap: wrap !important; gap: 8px !important; }
    .captcha-row-mobile .form-control { max-width: 80px; }
}

/* ── Подменю в навигацията ── */
.navbar-nav .dropdown-menu{border:1px solid rgba(20,30,50,.06);box-shadow:0 12px 28px rgba(20,30,50,.10);border-radius:12px;padding:8px;margin-top:10px;min-width:206px;}
.navbar-nav .dropdown-item{border-radius:8px;font-weight:500;font-size:.95rem;padding:9px 14px;color:var(--navy,#2c3e50);transition:background .15s ease,color .15s ease;}
.navbar-nav .dropdown-item:hover,.navbar-nav .dropdown-item:focus{background:#f3f5f8;color:var(--navy,#2c3e50);}
.navbar-nav .dropdown-item.active{background:#eef1f5;color:var(--navy,#2c3e50);font-weight:600;}
.navbar-nav .dropdown-toggle::after{margin-left:7px;vertical-align:middle;opacity:.55;}
@media (min-width:992px){.navbar-nav .dropdown:hover>.dropdown-menu{display:block;}}
