:root {
    --main-color: #005991;
    --main-color-light: #0d76b8;
    --second-color: #2db9f0;
    --second-color-dark: #1c96c9;
    --second-color-tint: #eaf7fd;
    --text-dark: #1c2b33;
    --text-muted: #5c6f78;
}

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.page-header h1,
.navbar-brand,
.brand-text,
.cta-section h2,
.stat-number,
.process-number,
.service-card h5,
.value-card h5,
.team-card h5,
.footer-heading,
.btn,
.nav-link,
.mobile-nav-list a {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: .3px;
}

a { text-decoration: none; }

.text-accent { color: var(--second-color); }

.text-gradient {
    background: linear-gradient(90deg, var(--second-color) 0%, var(--main-color-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--main-color-light);
}

/* SITE HEADER (fixed, transparent -> white on scroll) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}
body { padding-top: 0; }

/* TOPBAR (transparent at top, white on scroll) */
.topbar {
    background: transparent;
    color: #fff;
    font-size: .78rem;
    border-bottom: 1px solid rgba(255,255,255,.25);
    transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.topbar-info a, .topbar-info span {
    color: #fff;
    margin-right: 1.5rem;
    transition: color .35s ease;
}
.topbar-info a:hover { color: var(--second-color); }
.topbar-social a {
    color: #fff;
    margin-left: .75rem;
    transition: color .35s ease;
}
.topbar-social a:hover { color: var(--second-color); }

.site-header.scrolled .topbar {
    background: #fff;
    border-bottom: 1px solid rgba(6,35,58,.12);
}
.site-header.scrolled .topbar-info a,
.site-header.scrolled .topbar-info span,
.site-header.scrolled .topbar-social a {
    color: var(--main-color);
}
.site-header.scrolled .topbar-info a:hover,
.site-header.scrolled .topbar-social a:hover {
    color: var(--second-color);
}

/* NAVBAR (transparent at top, white on scroll) */
.main-nav {
    background: transparent;
    padding: .4rem 0;
    display: flex;
    align-items: center;
    transition: background .35s ease, box-shadow .35s ease;
}
.main-nav > .container {
    display: flex;
    align-items: center;
}
.site-header.scrolled .main-nav {
    background: #fff;
    box-shadow: 0 6px 24px rgba(6,35,58,.1);
}
.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--main-color);
}
.logo-img {
    height: 61px;
    width: auto;
}
.logo-dark { display: none; }
.site-header.scrolled .logo-white { display: none; }
.site-header.scrolled .logo-dark { display: inline-block; }

.brand-icon {
    background: var(--second-color);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: .6rem;
}
.main-nav .nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 .6rem;
    position: relative;
    transition: color .35s ease;
}
.site-header.scrolled .main-nav .nav-link {
    color: var(--main-color);
}
.main-nav .nav-link.active,
.main-nav .nav-link:hover {
    color: var(--second-color);
}
.main-nav .dropdown-toggle::after {
    vertical-align: 2px;
}
.main-nav .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(6,35,58,.15);
    padding: .6rem;
    margin-top: .5rem;
}
.main-nav .dropdown-item {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    border-radius: 8px;
    padding: .6rem .9rem;
    font-size: .92rem;
    font-weight: 500;
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item.active {
    background: var(--second-color-tint);
    color: var(--second-color-dark);
}

/* Mobile toggler */
.navbar-toggler {
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: .4rem;
    box-shadow: none !important;
}
.toggler-line {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background .35s ease;
}
.site-header.scrolled .toggler-line {
    background: var(--main-color);
}

/* MOBILE OFFCANVAS MENU */
.offcanvas.mobile-menu {
    width: 300px;
    background: #fff;
}
.mobile-menu .offcanvas-header {
    padding: 1.2rem 1.4rem 0;
    align-items: center;
    gap: 1rem;
}
.mobile-menu .offcanvas-header .navbar-brand {
    min-width: 0;
    overflow: hidden;
}
.mobile-menu .offcanvas-header .logo-img {
    height: 44px;
    width: auto;
    max-width: 100%;
}
.mobile-menu .btn-close {
    flex-shrink: 0;
    opacity: 1;
}
.mobile-menu .offcanvas-body {
    padding: 1rem 1.6rem 2rem;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.mobile-nav-list > li {
    border-bottom: 1px solid #eef2f5;
}
.mobile-nav-list > li > a {
    display: block;
    padding: .85rem 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: .96rem;
}
.mobile-nav-list a.active,
.mobile-nav-list a:hover {
    color: var(--main-color);
}
.mobile-nav-services-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.mobile-nav-services-toggle i {
    font-size: .8rem;
    color: var(--text-muted);
    transition: transform .3s ease;
}
.mobile-nav-services-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.mobile-nav-sub-list {
    list-style: none;
    padding: 0;
    margin: 0 0 .6rem;
}
.mobile-nav-sub {
    border-bottom: none !important;
}
.mobile-nav-sub a {
    display: block;
    padding: .65rem 0 .65rem 1rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-muted);
}
.mobile-nav-sub a.active,
.mobile-nav-sub a:hover {
    color: var(--main-color);
}
.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    font-size: .92rem;
}
.mobile-contact a, .mobile-contact span {
    color: var(--text-muted);
}
.mobile-contact i {
    color: var(--main-color);
    width: 18px;
    margin-right: .5rem;
}
.mobile-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: var(--second-color-tint);
    color: var(--main-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: .5rem;
    line-height: 1;
    text-align: center;
}
.mobile-social a i {
    line-height: 1;
}
.mobile-social a:hover { background: var(--second-color); color: #fff; }

/* Bootstrap offcanvas backdrop already provides the dark overlay on the rest of the page */
.btn {
    font-size: .92rem;
    font-weight: 600;
    padding: .8rem 1.9rem;
    border-radius: 50px;
}
.btn-lg {
    font-size: 1rem;
    padding: .95rem 2.4rem;
}
.btn-accent {
    background: var(--second-color);
    border: none;
    color: #fff !important;
    transition: .25s;
}
.btn-accent:hover {
    background: var(--second-color-dark);
    color: #fff;
    transform: translateY(-2px);
}
.btn-nav {
    font-size: .82rem;
    padding: .55rem 1.3rem;
}
.btn-hero {
    font-size: .85rem;
    padding: .65rem 1.5rem;
}
.btn-navy {
    background: var(--main-color);
    border: none;
    color: #fff !important;
    transition: .25s;
}
.btn-navy:hover {
    background: var(--main-color-light);
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline-light {
    border-radius: 50px;
}
.btn-dark-outline {
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-size: .92rem;
    font-weight: 600;
    padding: .75rem 1.9rem;
    border-radius: 50px;
    transition: .25s;
    display: inline-block;
}
.btn-dark-outline:hover {
    background: var(--main-color);
    color: #fff;
}

/* HERO */
.hero {
    min-height: 820px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(6,35,58,.5), rgba(6,35,58,.38));
    z-index: 1;
}
.hero > .container {
    position: relative;
    z-index: 2;
    padding-top: 8rem;
    padding-bottom: 3rem;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #fff;
}
.hero-text {
    font-size: 1.15rem;
    color: #fff;
    max-width: 600px;
}

/* PAGE HEADER (inner pages) */
.page-header {
    background-size: cover;
    background-position: bottom;
    padding: 11.5rem 0 50px;
    color: #fff;
}
.page-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin: .8rem 0;
    color: var(--second-color);
}
.lead-text { color: #dfeef4; font-size: 1.1rem; }

/* STATS */
.stats-strip {
    background: transparent;
    position: relative;
    z-index: 5;
    padding: 0;
}
.stats-strip .container {
    background: #fff;
    color: var(--text-dark);
    border-radius: 17px;
    box-shadow: 0 20px 50px rgba(6,35,58,.18);
    padding: 2.5rem 1.5rem;
    margin-top: -100px;
}
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--second-color);
}
.stat-label { color: var(--text-muted); font-size: .9rem; }

/* SECTIONS */
.section-padding { padding: 5.5rem 0; }
.bg-light-blue { background: var(--second-color-tint); }
.section-eyebrow {
    color: var(--second-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .85rem;
}
.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--main-color);
    margin: .6rem 0 1rem;
}
.section-text { color: var(--text-muted); line-height: 1.75; }

.check-list { list-style: none; padding: 0; margin: 1.2rem 0; }
.check-list li { margin-bottom: .6rem; color: var(--text-dark); }
.check-list i { color: var(--second-color); margin-right: .5rem; }

/* IMAGE COLLAGE */
.image-collage {
    position: relative;
    padding: 1.5rem 2.5rem 2.5rem 0;
}
.img-main {
    width: 100%;
    border-radius: 17px;
    box-shadow: 0 20px 40px rgba(6,35,58,.2);
}
.img-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45%;
    border: 6px solid #fff;
    border-radius: 13px;
    box-shadow: 0 15px 30px rgba(6,35,58,.25);
}
.shadow-img { box-shadow: 0 20px 40px rgba(6,35,58,.15); border-radius: 13px !important; }

/* SERVICE / VALUE / PROCESS CARDS */
.service-card, .value-card, .process-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.2rem 1.6rem;
    height: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(6,35,58,.06);
    transition: .3s;
    position: relative;
}
.service-card:hover, .value-card:hover, .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(6,35,58,.12);
}
.service-card h5 {
    font-weight: 800;
}
a.service-link-card {
    display: block;
    color: inherit;
    text-decoration: none;
}
a.service-link-card h5 {
    color: var(--main-color);
    transition: color .25s ease;
}
a.service-link-card:hover h5 {
    color: var(--second-color-dark);
}
a.service-link-card p { color: var(--text-muted); margin-bottom: 0; }
.service-icon {
    width: 64px;
    height: 64px;
    background: var(--second-color-tint);
    color: var(--second-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.2rem;
}
.process-card { text-align: left; }
.process-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(23,162,201,.18);
    position: absolute;
    top: 1rem;
    right: 1.4rem;
}

/* TEAM */
.team-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.4rem 1.6rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(6,35,58,.06);
}
.team-icon {
    width: 76px;
    height: 76px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem;
}
.team-role { color: var(--second-color); font-weight: 600; display: block; margin-bottom: .6rem; }

/* GALLERY */
.gallery-item {
    position: relative;
    display: block;
    border-radius: 11px;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: .4s;
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,35,58,.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    opacity: 0;
    transition: .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.08); }

/* HOME GALLERY GRID (bento: 2 riadky po 3 fotky + 1 riadok so 4 fotkami) */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.2rem;
}
.gallery-cell-3 { grid-column: span 4; }
.gallery-cell-4 { grid-column: span 3; }
.home-gallery-grid .gallery-item { height: 100%; }
.home-gallery-grid .gallery-item img { height: 260px; }
.gallery-cell-4 img { height: 220px; }

@media (max-width: 767px) {
    .home-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-cell-3, .gallery-cell-4 { grid-column: span 1; }
}

/* CTA */
.cta-section {
    background-size: cover;
    background-position: center;
    padding: 5.5rem 0;
    color: #fff;
    text-align: center;
}
.cta-section h2 { font-weight: 700; font-size: 2.2rem; margin-bottom: .8rem; }
.cta-section p { color: #dfeef4; margin-bottom: 1.8rem; }

/* Parallax pozadie len na desktope, na mobile normálny scroll (fixed attachment na mobile spôsobuje problémy) */
@media (min-width: 992px) {
    .cta-section-fixed { background-attachment: fixed; }
}
@media (max-width: 991px) {
    .cta-section-fixed { background-attachment: scroll; }
}

/* CONTACT */
.contact-info-list { list-style: none; padding: 0; }
.contact-info-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
    align-items: flex-start;
}
.contact-info-list i {
    width: 44px;
    height: 44px;
    background: var(--second-color-tint);
    color: var(--second-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-info-list strong { display: block; color: var(--main-color); }
.contact-info-list span, .contact-info-list a { color: var(--text-muted); }
.map-wrapper iframe { border-radius: 13px !important; }

.contact-form-card {
    background: var(--second-color-tint);
    border-radius: 17px;
    padding: 2.5rem;
}
.contact-form-card .section-eyebrow { display: block; margin-bottom: .4rem; }
.contact-form-card h3 {
    color: var(--main-color);
    font-weight: 700;
    font-size: 1.7rem;
}
.contact-form-card .form-label {
    color: var(--main-color);
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .5rem;
}
.form-control, .form-select {
    border-radius: 7px;
    padding: .7rem 1rem;
    border: 1px solid #d7e6ec;
}
.form-control:focus, .form-select:focus {
    border-color: var(--second-color);
    box-shadow: 0 0 0 .2rem rgba(23,162,201,.15);
}

/* FOOTER */
.site-footer { background: #fff; color: var(--text-muted); border-top: 1px solid #eef2f5; }
.footer-cta {
    background: #fff;
    color: var(--text-dark);
    text-align: center;
    padding: 4rem 0;
    border-bottom: 1px solid #eef2f5;
}
.footer-cta h2 { font-weight: 700; font-size: 2rem; margin-bottom: .8rem; color: var(--main-color); }
.footer-cta p { color: var(--text-muted); margin-bottom: 1.8rem; }
.footer-logo { height: 56px; width: auto; }
.footer-text { color: var(--text-muted); font-size: .88rem; }
.footer-heading { color: var(--main-color); font-weight: 700; margin-bottom: 1.2rem; font-size: .95rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: var(--text-muted); font-size: .85rem; }
.footer-links a:hover { color: var(--second-color-dark); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { margin-bottom: .7rem; color: var(--text-muted); font-size: .85rem; }
.footer-contact a { color: var(--text-muted); font-size: .85rem; }
.footer-contact a:hover { color: var(--second-color-dark); }
.footer-contact i { color: var(--second-color-dark); margin-right: .5rem; width: 16px; }
.footer-social a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: var(--second-color-tint);
    color: var(--main-color);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: .6rem;
}
.footer-social a:hover { background: var(--second-color); color: #fff; }
.footer-bottom {
    background: #051c3d;
    color: #cfe8f2;
    font-size: .85rem;
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: var(--second-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 991px) {
    .hero-title { font-size: 2.8rem; }
    .hero { min-height: 560px; }
    .main-nav .nav-link { margin: .3rem 0; }
    .image-collage { padding: 1rem; }
    .img-accent { position: static; width: 100%; margin-top: 1rem; }
}
