/* SmartEye System brand layer — night blue (dark navy + electric blue).
   Loaded after the template CSS; delete the <link> to css/smarteye.css to go back to the template green. */
:root {
    --primary: #1E6BFF;
    --primary-dark: #1553CC;
    --dark: #0B1530;
    --bs-primary: #1E6BFF;
}

body { font-family: 'Noto Sans Armenian', 'Open Sans', sans-serif; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.navbar .navbar-nav .nav-link, .btn { font-family: 'Noto Sans Armenian', 'Roboto', sans-serif; }

a { color: var(--primary); }
.btn-link, .link-primary, .text-primary { color: var(--primary) !important; }
.footer .btn-square.btn-outline-secondary { color: #AAB4CC; }
a:hover { color: var(--primary-dark); }
.footer a.text-secondary, .bg-dark a.text-secondary, .footer .btn-link { color: #AAB4CC !important; }
.footer .btn-link:hover, .bg-dark a.text-secondary:hover { color: #FFFFFF !important; }
.copyright a { color: #FFFFFF !important; }

.bg-primary { background-color: var(--primary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.border-primary { border-color: var(--primary) !important; }

.btn-primary, .btn.btn-primary,
.btn-primary:disabled, .btn-primary.disabled {
    color: #FFFFFF !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}
.btn-outline-primary { color: var(--primary) !important; border-color: var(--primary) !important; }
.btn-outline-primary:hover { color: #FFFFFF !important; background-color: var(--primary) !important; }
.btn-light, .btn-light:hover { color: var(--dark) !important; }
.btn-outline-light, .btn-outline-light:hover { color: #FFFFFF !important; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .15) !important; }
.btn-square.btn-outline-secondary:hover { background: var(--primary) !important; border-color: var(--primary) !important; color: #FFFFFF !important; }
.btn-square.bg-light.text-primary:hover { background: var(--primary) !important; color: #FFFFFF !important; }

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--primary) !important; }
.navbar .navbar-nav .nav-link { color: var(--dark) !important; }

.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(30, 107, 255, .2); }

.header-carousel .carousel-inner,
.portfolio-inner .portfolio-text { background: rgba(11, 21, 48, .72); }
.page-header {
    background: linear-gradient(rgba(11, 21, 48, .78), rgba(11, 21, 48, .78)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover { background: var(--primary); border-color: var(--primary); }

/* Facts boxes: the big numbers are decorative, keep them subtle on dark navy */
.fact-num { color: rgba(255, 255, 255, .08); font-weight: 900; line-height: 1; }

/* Service cards */
.service-item h4 { font-size: 1.25rem; }
.service-cta .btn { white-space: nowrap; }

/* Armenian words are long — keep big headings from overflowing on phones */
.display-3, .display-5 { overflow-wrap: anywhere; }
@media (max-width: 576px) {
    .display-3 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }
}

/* Template icons are green PNGs — shift them to the brand blue */
img[src*="img/icon/"] { filter: hue-rotate(118deg) saturate(1.2); }

/* The template styles every .btn inside a service card as a 38px round "read more" button */
.service-cta .btn {
    width: auto;
    height: auto;
    padding: .55rem 1.1rem;
    border-radius: 2rem;
    display: inline-block;
}
.service-cta .btn.btn-light { background: #FFFFFF !important; }
.service-cta .btn.btn-outline-light { background: transparent !important; border: 1px solid #FFFFFF; }

/* Armenian has no title case — the template's capitalize makes footer links look wrong */
.footer .btn.btn-link { text-transform: none; }

/* "Why us" items: long Armenian words need room */
.feature-text h5 { font-size: 1rem; overflow-wrap: anywhere; }
.feature-text p.small { line-height: 1.35; }

/* Social section */
.social-card { border-radius: 12px; box-shadow: 0 0 30px rgba(11, 21, 48, .08); transition: transform .2s, box-shadow .2s; text-decoration: none; }
.social-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(11, 21, 48, .15); }
.social-icon { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.social-card .btn { pointer-events: none; }

/* Floating call button on phones; lift back-to-top above it */
.call-float { position: fixed; left: 16px; bottom: 20px; z-index: 99; padding: .7rem 1.3rem; }
@media (max-width: 991.98px) { .back-to-top { right: 16px; bottom: 20px; } }

/* Real work gallery */
.work-tile { border-radius: 10px; }
.work-tile img { transition: transform .4s; aspect-ratio: 1 / 1; object-fit: cover; }
.work-tile:hover img { transform: scale(1.05); }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .85rem;
    background: linear-gradient(transparent, rgba(11, 21, 48, .85)); }

/* Form: spam trap + result notice */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 500; }
.form-notice.ok { background: #E6F4EA; color: #1E7B34; }
.form-notice.err { background: #FDECEA; color: #A52A1E; }

/* Self-hosted work videos */
.work-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #0B1530; border-radius: 10px; }

/* ===== Redesign: logo, hero, steps, FAQ ===== */
.navbar-brand { color: var(--primary); }
.logo-mark { color: var(--primary); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-weight: 900; font-size: 1.55rem; color: var(--dark); letter-spacing: -.02em; }
.logo-sub { font-weight: 500; font-size: .72rem; color: var(--primary); letter-spacing: .32em; text-transform: uppercase; margin-top: 3px; }

.hero {
    position: relative;
    padding: 5.5rem 0 6rem;
    color: #DCE4F5;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(30, 107, 255, .35), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(30, 107, 255, .18), transparent 60%),
        var(--dark);
    overflow: hidden;
}
.hero::after { /* subtle grid */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero-kicker { display: inline-block; font-size: .85rem; font-weight: 500; color: #8FB4FF; letter-spacing: .04em; margin-bottom: 1rem; }
.hero-title { color: #fff; font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.12; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.1rem; line-height: 1.65; max-width: 34rem; margin-bottom: 2rem; color: #C3CFEA; }
.hero-chip { display: inline-flex; align-items: center; font-size: .85rem; padding: .45rem .9rem; border-radius: 2rem;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #DCE4F5; }
.hero-chip i { color: #6FA0FF; }
.hero-media { position: relative; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); }
.hero-badge { position: absolute; left: -14px; bottom: 24px; background: #fff; color: var(--dark); font-weight: 500; font-size: .9rem;
    padding: .7rem 1.1rem; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hero-badge i { color: var(--primary); }
.hero .btn-outline-light { border-color: rgba(255,255,255,.35) !important; }
@media (max-width: 991.98px) {
    .hero { padding: 3.5rem 0 4rem; }
    .hero-badge { left: 12px; bottom: 12px; }
}

.step { position: relative; background: #fff; border-radius: 16px; padding: 1.75rem 1.4rem; box-shadow: 0 10px 35px rgba(11, 21, 48, .07); }
.step-num { position: absolute; top: 1rem; right: 1.2rem; font-weight: 900; font-size: 2.4rem; line-height: 1; color: rgba(30, 107, 255, .12); }
.step-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px;
    background: rgba(30, 107, 255, .1); color: var(--primary); font-size: 1.3rem; margin-bottom: 1rem; }
.step h5 { font-size: 1.05rem; }

#faq .accordion-item { border: 0; border-radius: 12px !important; margin-bottom: .75rem; overflow: hidden; box-shadow: 0 6px 24px rgba(11, 21, 48, .06); }
#faq .accordion-button { font-weight: 500; font-size: 1.02rem; color: var(--dark); padding: 1.1rem 1.25rem; }
#faq .accordion-button:not(.collapsed) { background: rgba(30, 107, 255, .07); color: var(--primary); box-shadow: none; }
#faq .accordion-button:focus { box-shadow: none; }
#faq .accordion-body { color: #4A5568; line-height: 1.65; }

/* Template's page header gets the same navy look */
.page-header { background: radial-gradient(700px 300px at 85% 0%, rgba(30, 107, 255, .35), transparent 60%), var(--dark) !important; }

/* ===== Calculator ===== */
.calc-card { background: #fff; border-radius: 18px; padding: 1.75rem; box-shadow: 0 10px 40px rgba(11, 21, 48, .08); }
.calc-q { margin-bottom: 1.75rem; }
.calc-q h5 { display: flex; align-items: center; font-size: 1.05rem; margin-bottom: .9rem; }
.calc-q h5 span { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff;
    font-size: .8rem; align-items: center; justify-content: center; margin-right: .6rem; flex-shrink: 0; }
.calc-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.calc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.calc-opt span { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; padding: .55rem .95rem; border-radius: 10px;
    border: 1.5px solid #DDE3EE; color: #2D3748; font-size: .92rem; transition: .15s; user-select: none; }
.calc-opt span i { color: #8A97B1; }
.calc-opt input:checked + span { border-color: var(--primary); background: rgba(30, 107, 255, .08); color: var(--primary); }
.calc-opt input:checked + span i { color: var(--primary); }
.calc-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.calc-opt-wide span { flex-direction: column; align-items: flex-start; gap: 0; }
.calc-opt-wide small { color: #718096; font-size: .78rem; }
.calc-step { display: flex; align-items: center; gap: .6rem; border: 1.5px solid #DDE3EE; border-radius: 12px; padding: .5rem .6rem .5rem 1rem; }
.calc-step-label { flex: 1; font-size: .95rem; }
.calc-step output { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.2rem; color: var(--dark); }
.calc-btn { width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(30, 107, 255, .1); color: var(--primary); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.calc-btn:hover { background: var(--primary); color: #fff; }
.calc-result { position: sticky; top: 100px; border-radius: 18px; padding: 1.75rem; color: #C3CFEA;
    background: radial-gradient(500px 300px at 100% 0%, rgba(30, 107, 255, .35), transparent 60%), var(--dark); }
.calc-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.calc-list li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
.calc-list li i { width: 20px; text-align: center; color: #6FA0FF; }
.calc-note { font-size: .82rem; color: #93A3C7; }
.calc-result .form-control { border: 0; padding: .75rem 1rem; }
.calc-result .form-notice { margin-bottom: 1rem; }

/* ===== Unified look for inner sections ===== */
.service-item { border-radius: 0; background: #fff; }
.service-item .step-icon { margin-bottom: 1.25rem; }
.service-cta .step-icon-light { background: rgba(255,255,255,.18); color: #fff; }
.feature-text .step-icon { width: 48px; height: 48px; font-size: 1.15rem; }
.feature-text h5 { font-size: 1rem; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 2.25rem 2.5rem; border-radius: 20px; color: #C3CFEA;
    background: radial-gradient(600px 300px at 100% 0%, rgba(30, 107, 255, .4), transparent 60%), var(--dark); }
.cta-band .btn-outline-light { border-color: rgba(255,255,255,.35) !important; }
@media (max-width: 575.98px) { .cta-band { padding: 1.75rem 1.4rem; } }

/* Page header: tighter, consistent with hero */
.page-header { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
.page-header h1 { font-weight: 900; }

/* ===== IP vs Analog ===== */
.sys-card { position: relative; background: #fff; border-radius: 18px; padding: 2rem; box-shadow: 0 10px 40px rgba(11, 21, 48, .08); }
.sys-card h4 { margin-bottom: .75rem; }
.sys-card p { color: #4A5568; line-height: 1.6; }
.sys-fit { background: rgba(30, 107, 255, .06); border-radius: 10px; padding: .8rem 1rem; color: #2D3748 !important; }
.sys-tag { position: absolute; top: 1.25rem; right: 1.25rem; font-size: .72rem; font-weight: 500; padding: .3rem .7rem; border-radius: 2rem;
    background: rgba(30, 107, 255, .1); color: var(--primary); }
.sys-tag-muted { background: #EEF1F6; color: #5A6680; }
@media (max-width: 575.98px) { .sys-tag { position: static; display: inline-block; margin-bottom: 1rem; } }
.sys-table-wrap { background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(11, 21, 48, .08); padding: .5rem 1rem; }
.sys-table th, .sys-table td { padding: .9rem .75rem; vertical-align: top; border-color: #EEF1F6; font-size: .95rem; }
.sys-table thead th { color: var(--primary); font-size: 1.05rem; border-bottom-width: 2px; }
.sys-table tbody th { color: var(--dark); font-weight: 500; width: 22%; }
.sys-table td { color: #4A5568; }
.sys-table tr:last-child th, .sys-table tr:last-child td { border-bottom: 0; }
.calc-help { font-size: .8rem; font-weight: 400; margin-left: auto; }

/* ===== Smart AI section ===== */
.ai-section { padding: 5.5rem 0; margin: 3rem 0; color: #C3CFEA;
    background: radial-gradient(800px 400px at 0% 0%, rgba(30, 107, 255, .3), transparent 60%),
                radial-gradient(600px 400px at 100% 100%, rgba(111, 160, 255, .18), transparent 60%), var(--dark); }
.ai-feat { padding: 1.75rem; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: .2s; }
.ai-feat:hover { background: rgba(255,255,255,.07); border-color: rgba(111,160,255,.35); }
.ai-feat i { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; align-items: center; justify-content: center;
    background: rgba(30, 107, 255, .2); color: #8FB4FF; font-size: 1.2rem; margin-bottom: 1rem; }
.ai-feat h5 { color: #fff; font-size: 1.05rem; }
.ai-feat p { font-size: .93rem; color: #A9B7D6; line-height: 1.6; }

/* ===== Smart page ===== */
.smart-teaser { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; padding: 1.75rem 2rem; border-radius: 20px; text-decoration: none; color: #A9B7D6;
    background: radial-gradient(500px 250px at 0% 0%, rgba(30, 107, 255, .35), transparent 60%), var(--dark); transition: transform .2s; }
.smart-teaser:hover { transform: translateY(-3px); color: #C3CFEA; }
.smart-teaser-icon { display: inline-flex; width: 60px; height: 60px; border-radius: 16px; align-items: center; justify-content: center;
    background: rgba(30, 107, 255, .25); color: #8FB4FF; font-size: 1.5rem; flex-shrink: 0; }
.use-card { display: flex; gap: 1.1rem; background: #fff; border-radius: 16px; padding: 1.6rem; box-shadow: 0 10px 35px rgba(11, 21, 48, .07); }
.use-card > i { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; flex-shrink: 0;
    background: rgba(30, 107, 255, .1); color: var(--primary); font-size: 1.3rem; }
.use-card p { color: #4A5568; line-height: 1.6; }

/* ===== Alarm page / service links ===== */
.more-link { display: inline-block; margin-top: 1rem; font-weight: 500; font-size: .92rem; }
.dev-card { background: #fff; border-radius: 14px; padding: 1.3rem; box-shadow: 0 8px 28px rgba(11, 21, 48, .06); }
.dev-card i { color: var(--primary); font-size: 1.4rem; margin-bottom: .8rem; display: block; }
.dev-card h6 { font-size: .98rem; margin-bottom: .35rem; }
.dev-card p { font-size: .86rem; color: #5A6680; line-height: 1.5; }

/* Comparison tables stack on phones instead of scrolling sideways */
.sys-table .cell-h { display: none; }
@media (max-width: 575.98px) {
    .sys-table-wrap { overflow: visible; padding: .25rem .75rem; }
    .sys-table thead { display: none; }
    .sys-table, .sys-table tbody, .sys-table tr, .sys-table th, .sys-table td { display: block; width: 100% !important; }
    .sys-table tr { padding: .75rem 0; border-bottom: 1px solid #EEF1F6; }
    .sys-table tr:last-child { border-bottom: 0; }
    .sys-table th, .sys-table td { border: 0; padding: .2rem 0; }
    .sys-table tbody th { color: var(--primary); }
    .sys-table .cell-h { display: inline; font-weight: 500; color: var(--dark); }
}

.calc-alarm { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: rgba(30, 107, 255, .05); border: 1px dashed rgba(30, 107, 255, .3); }
.calc-alarm .calc-step { background: #fff; }
.calc-alarm .calc-step-label { font-size: .88rem; }

/* ===== Calculator: need picker, groups, attachments ===== */
.calc-q h5 span:empty::before { content: counter(calcq); }
.calc-card { counter-reset: calcq; }
.calc-card .calc-q:not([hidden]) { counter-increment: calcq; }
.calc-card .calc-group[hidden] .calc-q { counter-increment: none; }
.calc-opt-big span { padding: .8rem 1.2rem; font-size: 1rem; font-weight: 500; }
.calc-group { border-top: 1px solid #EEF1F6; padding-top: 1.25rem; margin-top: .25rem; margin-bottom: 1.5rem; }
.calc-group-title { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.calc-attach { display: grid; gap: .5rem; }
.calc-attach-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: .7rem 1rem; border-radius: 10px; cursor: pointer;
    background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.3); color: #DCE4F5; font-size: .92rem; transition: .15s; }
.calc-attach-btn:hover { background: rgba(255,255,255,.14); }
.calc-attach-btn.done { border-style: solid; border-color: #4ADE80; color: #BBF7D0; }
.calc-attach-note { font-size: .78rem; color: #93A3C7; }

/* ===== Polish pass: typography, sections, cards ===== */
body { color: #4A5568; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
p { color: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--dark); letter-spacing: -.01em; }
/* section headings: bold and compact instead of the template's thin display type + blue rule */
.bg-primary.mx-auto[style*="60px"], .bg-primary.mb-3[style*="60px"] { display: none !important; }
h2.display-5, h1.display-5 { font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
.ai-section h2.display-5, .hero h2 { color: #fff; }
.container-xxl.py-5 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.text-center > p, .text-center p.mx-auto { color: #5A6680; font-size: 1.05rem; }

/* topbar: quieter */
.container-fluid.bg-dark.px-5 small, .container-fluid.bg-dark.px-5 a { font-size: .82rem; }
.container-fluid.bg-dark.px-5 .btn-sm-square { width: 26px; height: 26px; }
.navbar { box-shadow: 0 1px 0 #EEF1F6; }
.navbar .navbar-nav .nav-link { font-weight: 500; font-size: .95rem; }

/* trust strip under the hero */
.trust-strip { background: #fff; border-bottom: 1px solid #EEF1F6; padding: 1.4rem 0; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(11,21,48,.05); }
.trust-item { display: flex; align-items: center; gap: .8rem; }
.trust-item i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(30,107,255,.1); color: var(--primary); }
.trust-item span { font-size: .85rem; line-height: 1.35; color: #5A6680; }
.trust-item b { display: block; color: var(--dark); font-size: .92rem; }
@media (max-width: 767.98px) { .trust-item { flex-direction: column; text-align: center; gap: .4rem; } }

/* services: separate rounded cards instead of a bordered grid */
.service-row { box-shadow: none; --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; margin-top: calc(-1 * var(--bs-gutter-y)); }
.service-row > [class*="col-"] { padding: calc(var(--bs-gutter-x) / 2); }
.service-item { height: 100%; border-radius: 18px; border: 1px solid #E8EDF5 !important; padding: 2rem !important; transition: transform .2s, box-shadow .2s; }
.service-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,21,48,.08); }
.service-item h4 { font-size: 1.12rem; font-weight: 700; }
.service-item p { font-size: .95rem; line-height: 1.6; }

/* steps & cards: a touch more depth */
.step, .use-card, .sys-card, .calc-card, .sys-table-wrap { border: 1px solid #EEF1F6; }
.step h5 { font-weight: 700; }

/* social cards */
.social-card { border: 1px solid #EEF1F6; }

/* FAQ */
#faq .accordion-item { border: 1px solid #EEF1F6; box-shadow: none; }

/* footer */
.footer { background: #07102A !important; }
.footer-brand { display: flex; align-items: center; gap: .6rem; }
.footer-brand span { color: #fff; font-weight: 900; font-size: 1.4rem; letter-spacing: -.02em; }
.footer-brand small { font-weight: 500; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #6FA0FF; margin-left: .2rem; }
.footer-about { color: #93A3C7; font-size: .92rem; max-width: 300px; }
.footer h5 { font-weight: 700; font-size: 1rem; }

/* ===== Calculator polish ===== */
.calc-card { padding: 2rem; border-radius: 22px; }
.calc-q h5 { font-size: 1.08rem; font-weight: 700; }
.calc-need { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.calc-tile, .calc-obj { margin: 0; cursor: pointer; }
.calc-tile input, .calc-obj input { position: absolute; opacity: 0; pointer-events: none; }
.calc-tile-body { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.1rem 1.1rem 1rem; border-radius: 16px;
    border: 2px solid #E3E9F3; background: #fff; transition: .15s; }
.calc-tile-body b { color: var(--dark); font-size: 1rem; line-height: 1.3; margin-top: .7rem; }
.calc-tile-body small { color: #718096; font-size: .82rem; margin-top: .2rem; }
.calc-tile-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
    background: #EEF2F8; color: #6B7A99; font-size: 1.15rem; transition: .15s; }
.calc-tile-check { position: absolute; top: .8rem; right: .8rem; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: .7rem; border: 2px solid #D5DDEA; color: transparent; transition: .15s; }
.calc-tile input:checked + .calc-tile-body { border-color: var(--primary); background: rgba(30,107,255,.04); box-shadow: 0 8px 24px rgba(30,107,255,.12); }
.calc-tile input:checked + .calc-tile-body .calc-tile-ic { background: var(--primary); color: #fff; }
.calc-tile input:checked + .calc-tile-body .calc-tile-check { background: var(--primary); border-color: var(--primary); color: #fff; }
.calc-tile input:focus-visible + .calc-tile-body, .calc-obj input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.calc-objs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
.calc-obj span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .5rem; height: 100%;
    padding: .9rem .4rem; border-radius: 14px; border: 2px solid #E3E9F3; font-size: .82rem; line-height: 1.25; color: #2D3748; transition: .15s; }
.calc-obj span i { font-size: 1.35rem; color: #8A97B1; }
.calc-obj input:checked + span { border-color: var(--primary); background: rgba(30,107,255,.06); color: var(--primary); font-weight: 500; }
.calc-obj input:checked + span i { color: var(--primary); }

.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.calc-grid .calc-opt span { width: 100%; height: 100%; }
.calc-opt span { border-width: 2px; border-radius: 12px; }
.calc-opt input:checked + span { box-shadow: 0 4px 14px rgba(30,107,255,.12); }
/* checkbox chips get a tick box */
.calc-opt input[type="checkbox"] + span::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; border: 2px solid #C9D3E3; transition: .15s;
    background: #fff center / 11px no-repeat; }
.calc-opt input[type="checkbox"]:checked + span::before { border-color: var(--primary);
    background-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.calc-opt input[type="checkbox"] + span i { display: none; }
.calc-group { border-top: 0; margin: 0 -2rem 1.75rem; padding: 1.5rem 2rem .25rem; background: #F7F9FC; border-radius: 0; }
.calc-group:last-of-type { margin-bottom: 1rem; }
.calc-group-title { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 2rem; background: rgba(30,107,255,.1); }
.calc-group .calc-step { background: #fff; }
.calc-result { padding: 2rem; border-radius: 22px; }
.calc-list li { font-size: .95rem; }

/* mobile summary bar */
.calc-mbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 98; display: none; align-items: center; justify-content: space-between; gap: .75rem;
    padding: .85rem 1.1rem; border-radius: 16px; background: var(--dark); color: #C3CFEA; box-shadow: 0 12px 30px rgba(0,0,0,.3); text-decoration: none; font-size: .88rem; }
.calc-mbar b { color: #fff; white-space: nowrap; }
@media (max-width: 991.98px) {
    .calc-mbar.show { display: flex; }
    body:has(.calc-mbar.show) .call-float, body:has(.calc-mbar.show) .back-to-top { display: none !important; }
}
@media (max-width: 767.98px) {
    .calc-card, .calc-result { padding: 1.4rem; }
    .calc-group { margin: 0 -1.4rem 1.5rem; padding: 1.25rem 1.4rem .25rem; }
    .calc-objs { grid-template-columns: repeat(3, 1fr); }
    .calc-grid { grid-template-columns: 1fr; }
    .calc-grid.calc-grid-q, .calc-opts.calc-grid:has(input[name="q"]) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 400px) { .calc-need { grid-template-columns: 1fr; } }
.calc-grid > * { min-width: 0; }
.calc-grid .calc-opt span { overflow-wrap: anywhere; padding: .6rem .7rem; }
.calc-objs > * { min-width: 0; } .calc-obj span { overflow-wrap: anywhere; }
@media (max-width: 767.98px) {
    .calc-objs { grid-template-columns: 1fr 1fr; }
    .calc-obj span { flex-direction: row; justify-content: flex-start; text-align: left; padding: .75rem .8rem; font-size: .88rem; overflow-wrap: normal; }
    .calc-obj span i { font-size: 1.1rem; width: 22px; text-align: center; flex-shrink: 0; }
    .calc-opts.calc-grid:has(input[name="q"]) { grid-template-columns: 1fr; }
    .calc-grid .calc-opt span { overflow-wrap: normal; }
}

/* hero: presentation link */
.hero-pdf { display: inline-flex; align-items: center; color: #8FB4FF; font-weight: 500; text-decoration: none; border-bottom: 1px dashed rgba(143,180,255,.5); padding-bottom: 2px; }
.hero-pdf:hover { color: #fff; border-bottom-color: #fff; }

/* hero kicker is the page H1 for SEO; keep its small kicker look */
h1.hero-kicker { font-family: inherit; font-size: .85rem; font-weight: 500; line-height: 1.5; color: #8FB4FF; margin: 0 0 1rem; }

/* ===== Door viewer (EZVIZ) ===== */
.door-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 35px rgba(11, 21, 48, .07); }
.door-img { max-height: 320px; border-radius: 14px; }
.door-card ul li { color: #4A5568; }

/* brand logo (vector) */
.site-logo { height: 44px; width: auto; display: block; }
@media (max-width: 575.98px) { .site-logo { height: 36px; } }
@media (min-width: 992px) {
  .navbar .navbar-nav .nav-link { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1399.98px) {
  .site-logo { height: 36px; }
  .navbar .navbar-nav .nav-link { margin-right: 18px !important; padding-left: 0; padding-right: 0; font-size: .95rem; }
}

/* long Armenian words in narrow cards */
.step p, .step h6, .dev-card p, .dev-card h6 { overflow-wrap: break-word; }
