
        :root {
            --primary-color: #1a467c;
            --white-color: #ffffff;
            --black-color: #000000;
            --light-gray: #f5f5f5;
            --dark-gray: #333333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            /* Dodano fallback fonty systemowe dla eliminacji CLS */
            font-family: "Montserrat", -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
            font-optical-sizing: auto;
            font-weight: 300;
            font-style: normal;
            /* Zapobiega przesuniĂ„â„˘ciom podczas Äąâ€šadowania fontÄ‚Ĺ‚w */
            font-display: swap;
        }

        body {
            overflow-x: hidden;
            color: var(--dark-gray);
            /* Dodane wÄąâ€šaÄąâ€şciwoÄąâ€şci dla eliminacji CLS */
            min-height: 100vh;
            position: relative;
            line-height: 1.6;
            /* Zapobiega skokom podczas Äąâ€šadowania treÄąâ€şci */
            visibility: visible;
        }
        /* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Accessibility improvements */
.burger:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

img {
            display: block;
            max-width: 100%;
            height: auto;
            /* Zapobiega przesuniĂ„â„˘ciom podczas Äąâ€šadowania */
            font-size: 0;
        }

        /* Navigation */
        

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

/* Header bottom section */

.header_bot {
        height: 70px;
    width: 100%;
        background: white;
    transition: all 0.3s 
ease;
    display: flex
;
    align-items: center;
    justify-content: space-between;
    
    position: relative;
    z-index: 1000;
}

.header_bot.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header_bot .logo {
    height: 100%;
    width: 20%;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.header_bot .logo a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Navigation container */
.header_nav {
    display: flex;
    align-items: center;
}

/* Main menu */
.main-menu {
            height: 100%;
    display: flex
;
    align-items: center;
    border-radius: 0px 0px 0px 50px;
    padding: 0px 10px 0px 10px;
}

.main-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: var(--black-color);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

.main-menu a:hover {
    color: var(--primary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-menu a:hover::after {
    width: 100%;
}


/* Mobile menu button */
.burger {
    display: none;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    z-index: 1001;
}

.burger__box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.burger__box__line,
.burger__box__line__top,
.burger__box__line__bot {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}

.burger__box__line__top {
    transform: translateY(-8px);
}

.burger__box__line__bot {
    transform: translateY(8px);
}

/* Burger animation when active */
.burger.active .burger__box__line {
    opacity: 0;
}

.burger.active .burger__box__line__top {
    transform: rotate(45deg);
}

.burger.active .burger__box__line__bot {
    transform: rotate(-45deg);
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 20px 5% 20px;
    background-color: var(--light-gray);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.breadcrumb li {
    position: relative;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    color: var(--dark-gray);
    opacity: 0.6;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--black-color);
}

.breadcrumb li:last-child {
    color: var(--dark-gray);
    font-weight: 500;
}

/* Hero Section */
        .hero {
            top: -70px;
            height: 100vh;
            display: flex;
    align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
               text-align: left;
    width: 50%;
    padding: 4%;
    position: relative;
    z-index: 2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(4px);
}

        
        .hero-content p {
                color: black;
    font-weight: 500;
        }
        .hero-image {
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }


        .hero-image img {
            width: 70%;
    height: 100%;
    position: absolute;
    right: 0;
    object-fit: cover;
        }

        .hero h1 {
            font-size: 48px;
    font-weight: bolder;
    color: #0e2f5a;
    margin-bottom: 20px;
    line-height: 1.2;
        }

        .hero-highlight {
            font-size: 24px;
            font-weight: 400;
            color: var(--primary-color);
            margin-bottom: 30px;
        }

        .cta-button {
            display: inline-block;
                min-width: 200px;
    min-height: 50px;
            padding: 15px 30px;
            margin-top: 25px;
            background-color: var(--primary-color);
            color: var(--white-color);
            text-decoration: none;
            border-radius: 5px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            border: 2px solid var(--primary-color);
        }

        .cta-button:hover {
            background-color: transparent;
            color: var(--primary-color);
        }

        

        /* About Section */
        .about {
            padding: 100px 5%;
            background-color: var(--white-color);
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-header h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--primary-color);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        .section-header h2 {
            font-size: 36px;
            font-weight: 700;
            color: var(--black-color);
            position: relative;
            padding-bottom: 20px;
        }

        .section-header h2::after {
                content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .about-text {
            flex: 1;
        }

        .about-text h4 {
            font-size: 24px;
            font-weight: 600;
            color: var(--black-color);
            margin-bottom: 20px;
        }

        .about-text p {
            font-size: 16px;
            line-height: 1.8;
            color: var(--dark-gray);
            margin-bottom: 20px;
        }

        .about-features {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }

        .feature-item {
            width: calc(50% - 10px);
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        .feature-icon {
            min-width: 50px;
            height: 50px;
            background-color: rgba(26, 70, 124, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 20px;
        }

        .feature-text h5 {
            font-size: 18px;
            font-weight: 600;
            color: var(--black-color);
            margin-bottom: 5px;
        }

        .feature-text p {
            font-size: 14px;
            line-height: 1.6;
            color: var(--dark-gray);
        }
        /* FAQ Section */
.faq {
    padding: 100px 5%;
    background-color: var(--white-color);
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.faq h2::after {
        content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

.faq-item {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-item h3,
.faq-item summary {
    font-size: 20px;
    font-weight: 600;
    color: var(--black-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.faq-item h3::after,
.faq-item summary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.faq-item p,
.faq-item .faq-body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

.faq-item summary {
    display: block;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] summary {
    margin-bottom: 15px;
}

/* Generic container class */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
        /* Services Section */
        .services {
            padding: 70px 5%;
    position: relative;
    top: -70px;
            background-color: var(--light-gray);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 50px;
        }

        .service-card {
            background-color: var(--white-color);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .service-icon {
            min-height: 120px;
    min-width: 200px;
            background-color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            background-repeat: no-repeat;
            background-position: center;
        }

        .service-content {
            padding: 30px;
        }

        .service-content h3 {
            font-size: 22px;
            font-weight: 600;
            color: var(--black-color);
            margin-bottom: 15px;
        }

        .service-content p {
            font-size: 14px;
            line-height: 1.7;
            color: var(--dark-gray);
            margin-bottom: 20px;
        }

        .service-link {
            display: inline-block;
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-color);
            text-decoration: none;
            position: relative;
        }

        .service-link::after {
            content: "\2192";
            margin-left: 5px;
            transition: margin-left 0.3s ease;
        }

        .service-link:hover::after {
            margin-left: 10px;
        }

        /* Parallax Section */
        .parallax {
            height: 50vh;
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            background-attachment: fixed;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            text-align: center;
        }

        .parallax::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(26, 70, 124, 0.8);
        }

        .parallax-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            padding: 0 20px;
        }

        .parallax-content h2 {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .parallax-content p {
            font-size: 18px;
            line-height: 1.7;
            margin-bottom: 30px;
        }

        .parallax-content .cta-button {
            background-color: var(--white-color);
            color: var(--primary-color);
            border: 2px solid var(--white-color);
        }

        .parallax-content .cta-button:hover {
            background-color: transparent;
            color: var(--white-color);
        }

        /* Testimonials Section */
        .testimonials {
            padding: 100px 0;
            background-color: var(--white-color);
        }

        .testimonials-slider {
            margin-top: 50px;
            position: relative;
        }

        .testimonial-item {
            background-color: var(--light-gray);
            border-radius: 10px;
            padding: 5px;
            text-align: center;
            margin: 0 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }

        .testimonial-quote {
            font-size: 36px;
            color: var(--primary-color);
            margin-bottom: 20px;
            opacity: 0.3;
        }

        .testimonial-text {
            font-size: 16px;
            line-height: 1.8;
            color: var(--dark-gray);
            margin-bottom: 20px;
            font-style: italic;
        }

        .testimonial-author {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .testimonial-author-image {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            overflow: hidden;
            margin-bottom: 15px;
            border: 3px solid var(--primary-color);
        }

        .testimonial-author-image img {
            background-color: white;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .testimonial-author-info h4 {
            font-size: 18px;
            font-weight: 600;
            color: var(--black-color);
            margin-bottom: 5px;
        }

        .testimonial-author-info p {
            font-size: 14px;
            color: var(--primary-color);
        }

        .testimonial-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }

        .testimonial-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--white-color);
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .testimonial-btn:hover {
            background-color: var(--primary-color);
            color: var(--white-color);
        }

        /* Contact Section */
        .contact {
            padding: 100px 5%;
            background-color: var(--light-gray);
        }

        .contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info,
.contact-map {
    flex: 1 1 50%;
}

        .contact-form {
            flex: 1;
            background-color: var(--white-color);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
        }

        .contact-info-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 30px;
        }

        .contact-info-icon {
            min-width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            font-size: 20px;
        }

        .contact-info-text h4 {
            font-size: 18px;
            font-weight: 600;
            color: var(--black-color);
            margin-bottom: 5px;
        }

        .contact-info-text p, .contact-info-text a {
            font-size: 16px;
            line-height: 1.6;
            color: var(--dark-gray);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-info-text a:hover {
            color: var(--primary-color);
        }

        .contact-social {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 10px rgba(26, 70, 124, 0.3);
        }

        .map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    background: #eee;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-text strong {
    color: var(--black-color);
    font-weight: 600;
}

/* Content Headings */

.content-text h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--black-color);
    margin: 40px 0 20px 0;
    position: relative;
    padding-bottom: 15px;
}

.content-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.content-text h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--black-color);
    margin: 40px 0 20px 0;
    position: relative;
    padding-bottom: 15px;
}

.content-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.content-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--black-color);
    margin: 30px 0 15px 0;
    position: relative;
    padding-bottom: 10px;
}

.content-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.content-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black-color);
    margin: 25px 0 15px 0;
    position: relative;
    padding-left: 15px;
}

.content-text h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Content Lists */
.content-text ul {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.content-text ul li {
    position: relative;
    padding: 8px 0 8px 25px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.content-text ul li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.content-text ul li:hover {
    transform: translateX(5px);
    background-color: rgba(26, 70, 124, 0.05);
    border-radius: 5px;
    padding-left: 30px;
}

/* Content Links */
.content-text a {
    color: var(--primary-color);
    text-decoration: none;
    width: 100%;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.content-text a:hover {
    color: var(--black-color);
}

.content-text a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.content-text a:hover::after {
    width: 100%;
}

/* Special Phone Number Styling */
.phone-number {
    display: inline-block;
    background-color: rgba(26, 70, 124, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-number:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* CTA Link Styling */
.cta-link {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    margin: 10px 0;
}

.cta-link:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

.cta-link::after {
    display: none;
}

/* Content Highlights */
.content-highlight {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.content-highlight p {
    margin-bottom: 15px;
}

.content-highlight p:last-child {
    margin-bottom: 0;
}

/* Related Products Section */
.related-products {
   padding: 60px 0;
   background-color: var(--light-gray);
   margin-top: 60px;
}

.related-products .section-title {
   font-size: 32px;
   font-weight: 600;
   color: var(--black-color);
   text-align: center;
   margin-bottom: 50px;
   position: relative;
   padding-bottom: 20px;
}

.related-products .section-title::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 60px;
   height: 3px;
   background-color: var(--primary-color);
}

.products-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   gap: 30px;
   padding: 0 5%;
}

.product-card-link {
   text-decoration: none;
   color: inherit;
   display: block;
}

.product-card {
   background-color: var(--white-color);
   border-radius: 12px;
   overflow: hidden;
   box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
   transition: all 0.3s ease;
   border: 1px solid rgba(0, 0, 0, 0.05);
   height: 100%;
   display: flex;
   flex-direction: column;
}

.product-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
   position: relative;
   height: 140px;
   overflow: hidden;
   background-color: var(--light-gray);
}

.card-image img {
   width: 100%;
   height: 100%;
   padding: 15px;
    object-fit: contain;
   transition: transform 0.3s ease;
}

.product-card:hover .card-image img {
   transform: scale(1.05);
}

.quick-view {
   position: absolute;
   bottom: -50px;
   left: 50%;
   transform: translateX(-50%);
   background-color: var(--primary-color);
   color: var(--white-color);
   padding: 10px 20px;
   border-radius: 25px;
   font-size: 14px;
   font-weight: 600;
   transition: all 0.3s ease;
   white-space: nowrap;
   opacity: 0;
   visibility: hidden;
}

.product-card:hover .quick-view {
   bottom: 15px;
   opacity: 1;
   visibility: visible;
}

.card-info {
   padding: 25px 20px;
   flex-grow: 1;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
}

.card-title {
   font-size: 18px;
   font-weight: 600;
   color: var(--black-color);
   margin: 0;
   line-height: 1.4;
   transition: color 0.3s ease;
}

.product-card:hover .card-title {
   color: var(--primary-color);
}


        /* Footer */
        .footer {
            background-color: var(--black-color);
            color: var(--white-color);
            padding: 60px 5%;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
            justify-items: center;
        }

        .footer-about a{
            display: block;
            background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
    height: 80px;
        }

        .footer-text {
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-heading {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: color 0.3s ease;
            display: inline-block;
        }

        .footer-links a:hover {
            color: var(--white-color);
            transform: translateX(5px);
        }

        .footer-contact-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 15px;
        }

        .footer-contact-icon {
            color: var(--primary-color);
            font-size: 16px;
        }

        .footer-contact-text {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-newsletter p {
            font-size: 14px;
            line-height: 1.7;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.7);
        }

        .newsletter-form {
            display: flex;
        }

        .newsletter-input {
            flex: 1;
            padding: 10px 15px;
            border: none;
            border-radius: 5px 0 0 5px;
            font-size: 14px;
        }

        .newsletter-input:focus {
            outline: none;
        }

        .newsletter-button {
            background-color: var(--primary-color);
            color: var(--white-color);
            border: none;
            padding: 0 15px;
            border-radius: 0 5px 5px 0;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .newsletter-button:hover {
            background-color: #0e2f5a;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 20px 0;
            margin-top: 50px;
            text-align: center;
        }

        .footer-bottom p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }
        .footer-bottom a{
            color: white;
            text-decoration: none;
        }

        @media screen and (max-width: 1024px) {
   .products-grid {
       grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
       gap: 25px;
       padding: 0 3%;
   }
   
   .related-products .section-title {
       font-size: 28px;
       margin-bottom: 40px;
   }
   
   .card-image {
       height: 220px;
   }.services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .sidebar {
        flex: none;
        width: 100%;
    }
    
    .products-listing {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

        @media screen and (max-width: 768px) {
           .header_bot {
        height: 60px;
        padding: 0 1rem;
    }
    
    .header_bot .logo {
        flex: 0 0 auto;
        width: 50%;
        height: 40px;
    }
    
    .header_bot .logo img {
        height: 40px;
        max-width: 100%;
        object-fit: contain;
    }
    
    .burger {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 2rem;
        box-sizing: border-box;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .main-menu.active {
        left: 0;
    }
    
    .main-menu ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .main-menu li {
        width: 100%;
        border-bottom: none;
        padding: 0;
    }
    
    .main-menu li:last-child {
        border-bottom: none;
    }
    
    .main-menu a {
        padding: 1rem 0;
        font-size: 1.2rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        color: var(--black-color);
        border-bottom: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .main-menu a:hover {
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }
    
    .main-menu a::after {
        display: none;
    }
    
    /* Sticky header adjustments for mobile */
    .header_bot.sticky {
        height: 60px;
    }
    
    .header_bot.sticky + .main-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
  .content-wrapper {
        padding: 20px 3%;
    }
    .contact-info,
    .contact-map {
        flex: 1 1 100%;
    }
    
    .sidebar {
        padding: 20px;
    }
    
    .sidebar h2 {
        font-size: 18px;
    }
    
    .main-content h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .products-listing {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .product-listing-item img {
        height: 180px;
    }
    
    .product-listing-item h3 {
        font-size: 16px;
        padding: 15px 15px 8px;
    }
    
    .product-listing-item span {
        padding: 0 15px 15px;
        font-size: 14px;
    }
    
    .breadcrumb {
        padding: 15px 3% 15px;
        text-align: center;
    }
    
    .breadcrumb ul {
        font-size: 13px;
    }

            .hero-content {
                width: 100%;
                padding: 0 5%;
                text-align: center;
                contain: layout;
            }

            .hero-image {
                display: none;
            }

            .hero h1 {
                font-size: 36px;
                contain: layout style; /* Izoluje renderowanie */
                text-rendering: optimizeSpeed; /* Szybsze renderowanie zamiast optimizeLegibility */
                font-display: swap;
            }

            .about-content {
                flex-direction: column;
            }

            .about-image {
                margin-bottom: 30px;
            }

            .services-grid {
                grid-template-columns: 1fr;
            }
            .contact-info-text p, .contact-info-text a {
            font-size: 12px;
        }
            .contact-content {
                flex-direction: column;
            }

            .contact-info {
                margin-bottom: 30px;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }
    .faq {
        padding: 60px 3%;
    }
    
    .faq h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .faq-item {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .faq-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .faq-item p {
        font-size: 15px;
    }
    .content-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .content-text h2 {
        font-size: 24px;
        margin: 30px 0 15px 0;
        padding-bottom: 12px;
    }
    
    .content-text h2::after {
        width: 40px;
        height: 2px;
    }
    
    .content-text h3 {
        font-size: 20px;
        margin: 25px 0 12px 0;
        padding-bottom: 8px;
    }
    
    .content-text h3::after {
        width: 25px;
    }
    
    .content-text h4 {
        font-size: 18px;
        margin: 20px 0 12px 0;
        padding-left: 12px;
    }
    
    .content-text h4::before {
        width: 3px;
        height: 16px;
    }
    
    .content-text ul li {
        padding: 6px 0 6px 20px;
    }
    
    .content-text ul li:hover {
        padding-left: 25px;
    }
    
    .content-highlight {
        padding: 20px;
        margin: 20px 0;
    }
    
    .cta-link {
        padding: 10px 20px;
        font-size: 10px;
    }
    .related-products {
       padding: 40px 0;
       margin-top: 40px;
   }
   
   .products-grid {
       grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
       gap: 20px;
       padding: 0 3%;
   }
   
   .related-products .section-title {
       font-size: 24px;
       margin-bottom: 30px;
       padding-bottom: 15px;
   }
   
   .related-products .section-title::after {
       width: 50px;
       height: 2px;
   }
   
   .card-image {
       height: 200px;
   }
   
   .card-info {
       padding: 20px 15px;
   }
   
   .card-title {
       font-size: 16px;
   }
   
   .quick-view {
       font-size: 13px;
       padding: 8px 16px;
   }
   .footer-content {
            justify-items: left;
        }
        }

        @media screen and (max-width: 480px) {
            .header_bot {
        padding: 0 0.5rem;
    }
    
    .header_bot .logo {
        width: 50%;
        height: 35px;
    }
    
    .header_bot .logo img {
        height: 35px;
    }
    
    .main-menu {
        padding: 1.5rem;
    }
    
    .main-menu a {
        font-size: 1.1rem;
    }
            .feature-item {
                width: 100%;
            }
            .products-listing {
        grid-template-columns: 1fr;
    }
    
    .main-content h1 {
        font-size: 24px;
    }
    
    .breadcrumb ul {
        flex-direction: column;
        gap: 25px;
        font-size: 15px;
    }
    
    .breadcrumb li:not(:last-child)::after {
        display: none;
    }
    .faq {
        padding: 40px 4%;
    }
    
    .faq h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .faq-item {
        padding: 15px;
    }
    
    .faq-item h3 {
        font-size: 16px;
    }
    
    .faq-item p {
        font-size: 14px;
    }
    .contact-info-text p, .contact-info-text a {
            font-size: 12px;
        }
    .content-text {
        font-size: 14px;
    }
    
    .content-text h2 {
        font-size: 22px;
        margin: 25px 0 12px 0;
    }
    
    .content-text h3 {
        font-size: 18px;
        margin: 20px 0 10px 0;
    }
    
    .content-text h4 {
        font-size: 16px;
        margin: 18px 0 10px 0;
    }
    
    .content-highlight {
        padding: 15px;
        margin: 15px 0;
    }
    .related-products {
       padding: 30px 0;
       margin-top: 30px;
   }
   
   .products-grid {
       grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
       gap: 15px;
       padding: 0 4%;
   }
   
   .related-products .section-title {
       font-size: 22px;
       margin-bottom: 25px;
   }
   
   .card-image {
       height: 160px;
   }
   
   .card-info {
       padding: 15px 12px;
   }
   
   .card-title {
       font-size: 15px;
   }
   
   .quick-view {
       font-size: 12px;
       padding: 6px 12px;
   }
   .footer-content {
            justify-items: left;
        }
}

        @media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
main {
    width: 100%;
}

.header_bot .logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.header_bot .logo img {
    width: auto;
    max-width: 220px;
    height: 56px;
    object-fit: contain;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 60px;
}

.footer-brand-link img {
    width: auto;
    max-width: 220px;
    height: 60px;
    object-fit: contain;
}

.service-icon img {
    width: auto;
    max-width: 120px;
    max-height: 90px;
    height: auto;
    object-fit: contain;
}

.hero-image picture {
    display: block;
}

.main-content {
    flex: 1 1 auto;
    min-width: 0;
}

.main-content > h1 {
    margin-bottom: 20px;
}

.main-content > p {
    margin-bottom: 20px;
}

.content-text img,
.ag-post-card-img-wrap img,
.ag-post-featured-img-wrap img,
.ag-article-cover img,
.ag-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.agbiuro-parallax {
    background-image: url('/assets/img/basic/parala.webp');
}

.testimonial-data {
    display: none;
}

.is-reveal-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.is-reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* AG blog sections */
.ag-blog-section {
    padding: 96px 0;
    background: var(--white-color);
}

.ag-blog-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.ag-blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.ag-blog-header-text h1,
.ag-blog-header-text h2 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--black-color);
    margin: 8px 0 12px;
}

.ag-blog-header-text p {
    max-width: 640px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.ag-blog-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 2px solid var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    white-space: nowrap;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.ag-blog-all-link:hover {
    color: var(--white-color);
    background: var(--primary-color);
}

.ag-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.ag-filter-btn {
    appearance: none;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 9px 18px;
    background: var(--light-gray);
    color: var(--dark-gray);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.ag-filter-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.ag-filter-btn--active {
    color: var(--white-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.ag-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ag-post-hidden {
    display: none !important;
}

.ag-post-featured {
    position: sticky;
    top: 90px;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(160deg, #0b2140 0%, #163a66 100%);
    color: var(--white-color);
    box-shadow: 0 22px 56px rgba(8, 22, 43, 0.18);
    transition: transform .3s ease, box-shadow .3s ease;
}

.ag-post-featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 64px rgba(8, 22, 43, 0.24);
}

.ag-post-featured-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.ag-post-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11, 33, 64, 0) 35%, rgba(11, 33, 64, 0.58) 100%);
}

.ag-post-featured-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
    padding: 30px 32px 34px;
}

.ag-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ag-post-cat {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--white-color);
    background: var(--primary-color);
}

.ag-post-date,
.ag-post-read {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.ag-dot {
    opacity: 0.55;
}

.ag-post-featured-body h2,
.ag-post-featured-body h3 {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
}

.ag-post-featured-body h2 a,
.ag-post-featured-body h3 a {
    color: inherit;
    text-decoration: none;
}

.ag-post-featured-body > p {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    flex: 1 1 auto;
}

.ag-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    text-decoration: none;
    transition: border-color .25s ease, gap .25s ease, color .25s ease;
}

.ag-read-more:hover {
    gap: 11px;
    border-color: currentColor;
}

.ag-post-featured .ag-read-more {
    color: var(--white-color);
    border-bottom-color: rgba(255, 255, 255, 0.24);
}

.ag-read-more--sm {
    font-size: 13px;
}

.ag-blog-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ag-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(26, 70, 124, 0.1);
    border-radius: 16px;
    background: var(--white-color);
    box-shadow: 0 10px 26px rgba(17, 38, 64, 0.06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ag-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(17, 38, 64, 0.12);
    border-color: rgba(26, 70, 124, 0.22);
}

.ag-post-card-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
}

.ag-post-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--white-color);
    background: var(--primary-color);
}

.ag-post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 20px 20px 22px;
}

.ag-post-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #7a8190;
}

.ag-post-card-body h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: var(--black-color);
}

.ag-post-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.ag-post-card-body h3 a:hover {
    color: var(--primary-color);
}

.ag-post-card-body > p {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ag-blog-empty {
    padding: 50px 32px;
    border-radius: 18px;
    background: var(--light-gray);
    text-align: center;
}

.ag-blog-empty p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.ag-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
}

.ag-blog-pagination-link,
.ag-blog-pagination-current,
.ag-blog-pagination-gap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.ag-blog-pagination-link {
    border: 1px solid rgba(26, 70, 124, 0.16);
    background: var(--white-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ag-blog-pagination-link:hover {
    color: var(--white-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.ag-blog-pagination-current {
    color: var(--white-color);
    background: var(--primary-color);
}

.ag-blog-pagination-gap {
    min-width: auto;
    padding: 0 4px;
    color: #7a8190;
}

.ag-article {
    background: var(--white-color);
}

.ag-article-header {
    padding: 82px 5% 56px;
    background: linear-gradient(155deg, #0b2140 0%, #1a467c 100%);
}

.ag-article-header-inner {
    max-width: 840px;
    margin: 0 auto;
}

.ag-article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 13px;
}

.ag-article-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.ag-article-breadcrumb a:hover {
    color: var(--white-color);
}

.ag-article-breadcrumb span {
    color: rgba(255, 255, 255, 0.72);
}

.ag-article-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.74);
}

.ag-article-sep {
    opacity: 0.48;
}

.ag-article-header h1 {
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.16;
    font-weight: 800;
    color: var(--white-color);
}

.ag-article-lead {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}

.ag-article-byline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ag-author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white-color);
    font-size: 18px;
    font-weight: 700;
}

.ag-author-name {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white-color);
}

.ag-article-dates {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.ag-article-cover {
    overflow: hidden;
    background: #dde4ee;
}

.ag-article-cover img {
    width: 100%;
    object-fit: contain;
}

.ag-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 60px;
    align-items: start;
    max-width: 1160px;
    margin: 0 auto;
    padding: 60px 5% 86px;
}

.ag-article-body,
.ag-article-content,
.ag-article-sidebar {
    min-width: 0;
}

.ag-article-content {
    font-size: 17px;
    line-height: 1.85;
    color: var(--dark-gray);
}

.ag-article-content > :first-child {
    margin-top: 0;
}

.ag-article-content p,
.ag-article-content ul,
.ag-article-content ol,
.ag-article-content table,
.ag-article-content blockquote,
.ag-article-content details {
    margin: 0 0 22px;
}

.ag-article-content h2,
.ag-article-content h3 {
    scroll-margin-top: 110px;
}

.ag-article-content h2 {
    margin: 46px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(26, 70, 124, 0.1);
    position: relative;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--black-color);
}

.ag-article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 54px;
    height: 2px;
    background: var(--primary-color);
}

.ag-article-content h3 {
    margin: 34px 0 12px;
    padding-left: 14px;
    border-left: 3px solid var(--primary-color);
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--black-color);
}

.ag-article-content ul,
.ag-article-content ol {
    padding: 0;
    list-style: none;
}

.ag-article-content ol {
    counter-reset: ag-ol;
}

.ag-article-content ul li,
.ag-article-content ol li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.ag-article-content ul li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.ag-article-content ol li::before {
    counter-increment: ag-ol;
    content: counter(ag-ol) ".";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.ag-article-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ag-article-content a:hover {
    opacity: 0.8;
}

.ag-article-content strong {
    color: var(--black-color);
}

.ag-article-content img {
    margin: 30px auto;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(17, 38, 64, 0.1);
}

.ag-article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
}

.ag-article-content th,
.ag-article-content td {
    padding: 14px 16px;
    border: 1px solid rgba(26, 70, 124, 0.12);
    text-align: left;
    vertical-align: top;
}

.ag-article-content th {
    color: var(--black-color);
    background: rgba(26, 70, 124, 0.06);
    font-weight: 700;
}

.ag-article-content blockquote,
.ag-article-content .ag-article-highlight {
    padding: 20px 24px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 14px 14px 0;
    background: rgba(26, 70, 124, 0.05);
}

.ag-article-content details {
    border: 1px solid rgba(26, 70, 124, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background: var(--white-color);
}

.ag-article-content summary {
    cursor: pointer;
    padding: 16px 18px;
    font-weight: 700;
    color: var(--black-color);
    list-style: none;
}

.ag-article-content details > *:not(summary) {
    padding-left: 18px;
    padding-right: 18px;
}

.ag-article-content details > *:last-child {
    padding-bottom: 18px;
}

.ag-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 46px;
    padding-top: 26px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ag-tags-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-gray);
}

.ag-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(26, 70, 124, 0.14);
    background: rgba(26, 70, 124, 0.07);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.ag-tag:hover {
    color: var(--white-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.ag-article-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 52px;
    padding: 36px 40px;
    border-radius: 18px;
    background: linear-gradient(130deg, #0b2140 0%, #1a467c 100%);
}

.ag-article-cta-text h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--white-color);
}

.ag-article-cta-text p {
    margin: 0;
    max-width: 620px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.ag-article-cta .cta-button {
    white-space: nowrap;
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

.ag-article-cta .cta-button:hover {
    background: transparent;
    color: var(--white-color);
}

.ag-article-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.ag-toc,
.ag-sidebar-popular {
    padding: 22px;
    border: 1px solid rgba(26, 70, 124, 0.08);
    border-radius: 16px;
    background: var(--light-gray);
}

.ag-toc-title,
.ag-sidebar-popular h2,
.ag-sidebar-contact h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(26, 70, 124, 0.12);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.ag-toc-nav ol,
.ag-sidebar-popular ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ag-toc-nav li {
    counter-increment: ag-toc-counter;
    margin-bottom: 2px;
}

.ag-toc-nav ol {
    counter-reset: ag-toc-counter;
}

.ag-toc-nav a {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dark-gray);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}

.ag-toc-nav a::before {
    content: counter(ag-toc-counter);
    min-width: 16px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary-color);
}

.ag-toc-nav a:hover,
.ag-toc-nav a.ag-toc-active {
    color: var(--primary-color);
    background: rgba(26, 70, 124, 0.08);
    padding-left: 14px;
}

.ag-toc-sub a {
    padding-left: 24px;
    font-size: 12px;
    color: #6f7888;
}

.ag-toc-sub a::before {
    display: none;
}

.ag-sidebar-contact {
    padding: 26px 22px;
    border-radius: 16px;
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
}

.ag-sidebar-contact-icon {
    margin-bottom: 12px;
    font-size: 30px;
}

.ag-sidebar-contact h2 {
    color: var(--white-color);
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.ag-sidebar-contact p {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.ag-sidebar-btn {
    display: block;
    padding: 12px 14px;
    border: 2px solid var(--white-color);
    border-radius: 10px;
    background: var(--white-color);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ag-sidebar-btn + .ag-sidebar-btn {
    margin-top: 10px;
}

.ag-sidebar-btn:hover {
    background: transparent;
    color: var(--white-color);
}

.ag-sidebar-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--white-color);
}

.ag-sidebar-btn--outline:hover {
    border-color: var(--white-color);
    background: rgba(255, 255, 255, 0.1);
}

.ag-sidebar-popular li + li {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ag-sidebar-popular li a {
    display: block;
    padding: 12px 0;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    color: var(--dark-gray);
    transition: color .2s ease, padding-left .2s ease;
}

.ag-sidebar-popular li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.ag-sidebar-post-cat {
    display: block;
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.ag-related-posts {
    padding: 82px 5% 96px;
    background: var(--light-gray);
}

.ag-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 44px auto 0;
}

@media (max-width: 1120px) {
    .ag-blog-grid {
        grid-template-columns: 1fr;
    }

    .ag-post-featured {
        position: static;
    }

    .ag-blog-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ag-article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ag-article-sidebar {
        position: static;
    }

    .ag-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .ag-blog-section {
        padding: 72px 0;
    }

    .ag-blog-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ag-blog-header-text h1,
    .ag-blog-header-text h2 {
        font-size: 30px;
    }

    .ag-blog-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ag-article-header {
        padding-top: 66px;
    }

    .ag-article-header h1 {
        font-size: 32px;
    }

    .ag-article-lead {
        font-size: 17px;
    }


    .ag-article-cta {
        align-items: flex-start;
        padding: 30px 28px;
    }
}

@media (max-width: 640px) {
    .ag-blog-inner {
        padding: 0 20px;
    }

    .ag-blog-header-text h1,
    .ag-blog-header-text h2 {
        font-size: 26px;
    }


    .ag-post-featured-body {
        padding: 24px 22px 26px;
    }

    .ag-post-featured-body h2,
    .ag-post-featured-body h3 {
        font-size: 21px;
    }

    .ag-blog-cards,
    .ag-related-grid {
        grid-template-columns: 1fr;
    }


    .ag-article-header {
        padding: 54px 20px 40px;
    }

    .ag-article-header h1 {
        font-size: 27px;
    }

    .ag-article-layout {
        padding: 42px 20px 68px;
    }

    .ag-article-content {
        font-size: 16px;
    }

    .ag-article-content h2 {
        font-size: 23px;
    }

    .ag-article-content h3 {
        font-size: 19px;
    }


    .ag-article-cta {
        padding: 26px 22px;
        text-align: center;
        justify-content: center;
    }

    .ag-article-cta-text p {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .ag-blog-filters {
        gap: 8px;
    }

    .ag-filter-btn {
        width: 100%;
        justify-content: center;
    }


    .ag-blog-pagination {
        gap: 8px;
    }

    .ag-blog-pagination-link,
    .ag-blog-pagination-current {
        min-width: 40px;
        min-height: 40px;
        padding: 0 12px;
    }
}

/* ============================================================
   AG HOME - nowe sekcje strony glownej
   ============================================================ */
.ag-home-stats {
    background: linear-gradient(135deg, #0e2f5a 0%, #1a467c 50%, #1e5490 100%);
    padding: 80px 5%;
    position: relative;
    overflow: hidden;
}

.ag-home-stats::before,
.ag-home-stats::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ag-home-stats::before {
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
}

.ag-home-stats::after {
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.04);
}

.ag-home-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ag-home-stats__item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.ag-home-stats__item:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.11);
}

.ag-home-stats__number {
    display: inline-block;
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    color: var(--white-color);
    letter-spacing: -1px;
}

.ag-home-stats__label {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

.ag-home-process {
    padding: 100px 5%;
    background-color: var(--light-gray);
}

.ag-home-process__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 60px auto 0;
}

.ag-home-process__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.ag-home-process__number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(26,70,124,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ag-home-process__step:hover .ag-home-process__number {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(26,70,124,0.45);
}

.ag-home-process__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 12px;
}

.ag-home-process__content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.ag-home-process__connector {
    flex: 0 0 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), rgba(26,70,124,0.3));
    margin-top: 36px;
    position: relative;
}

.ag-home-process__connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(26,70,124,0.3);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.ag-home-industries {
    padding: 100px 5%;
    background-color: var(--white-color);
}

.ag-home-industries__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.ag-home-industries__card {
    background: var(--white-color);
    border: 1px solid rgba(26,70,124,0.1);
    border-radius: 16px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ag-home-industries__card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ag-home-industries__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26,70,124,0.12);
    border-color: rgba(26,70,124,0.2);
}

.ag-home-industries__card:hover::before {
    transform: scaleX(1);
}

.ag-home-industries__icon {
    display: block;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 20px;
}

.ag-home-industries__card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 12px;
}

.ag-home-industries__card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

.ag-home-why {
    background: linear-gradient(160deg, #f0f4f9 0%, #e8eef7 100%);
    padding: 100px 5%;
}

.ag-home-why__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.ag-home-why__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(26,70,124,0.08);
    border-radius: 30px;
}

.ag-home-why__text h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--black-color);
    line-height: 1.25;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 20px;
}

.ag-home-why__text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.ag-home-why__text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 16px;
}

.ag-home-why__cta {
    margin-top: 16px;
}

.ag-home-why__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ag-home-why__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: var(--white-color);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(26,70,124,0.07);
    border: 1px solid rgba(26,70,124,0.07);
    transition: all 0.3s ease;
}

.ag-home-why__card:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(26,70,124,0.12);
}

.ag-home-why__card-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 12px;
    background: rgba(26,70,124,0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ag-home-why__card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black-color);
    margin-bottom: 8px;
}

.ag-home-why__card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
}

.ag-home-pricing {
    padding: 100px 5%;
    background-color: var(--light-gray);
}

.ag-home-pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 60px auto 0;
    align-items: start;
}

.ag-home-pricing__card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.ag-home-pricing__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(26,70,124,0.12);
}

.ag-home-pricing__card--featured {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(26,70,124,0.18);
    transform: translateY(-8px);
}

.ag-home-pricing__card--featured:hover {
    transform: translateY(-16px);
}

.ag-home-pricing__badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(26,70,124,0.08);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.ag-home-pricing__badge--featured {
    background: var(--primary-color);
    color: var(--white-color);
}

.ag-home-pricing__icon {
    font-size: 42px;
    line-height: 1;
    margin-bottom: 18px;
}

.ag-home-pricing__card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--black-color);
    margin-bottom: 12px;
}

.ag-home-pricing__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 24px;
}

.ag-home-pricing__features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.ag-home-pricing__features li {
    position: relative;
    padding: 9px 0 9px 26px;
    font-size: 14px;
    color: var(--dark-gray);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.ag-home-pricing__features li:last-child {
    border-bottom: none;
}

.ag-home-pricing__features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.ag-home-pricing__cta {
    display: block;
    text-align: center;
    padding: 14px 20px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ag-home-pricing__cta:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.ag-home-pricing__cta--featured {
    background: var(--primary-color);
    color: var(--white-color);
}

.ag-home-pricing__cta--featured:hover {
    background: #0e2f5a;
    border-color: #0e2f5a;
}

.ag-home-pricing__note {
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 40px auto 0;
    max-width: 700px;
    font-style: italic;
}

@media (max-width: 900px) {
    .ag-home-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ag-home-process__steps {
        flex-direction: column;
        align-items: center;
    }

    .ag-home-process__step {
        max-width: 420px;
        width: 100%;
        padding-bottom: 40px;
    }

    .ag-home-process__connector {
        width: 2px;
        height: 30px;
        flex: none;
        background: linear-gradient(180deg, var(--primary-color), rgba(26,70,124,0.3));
        margin-top: 0;
    }

    .ag-home-process__connector::after {
        right: 50%;
        bottom: -6px;
        top: auto;
        transform: translateX(50%) rotate(90deg);
    }

    .ag-home-industries__grid,
    .ag-home-pricing__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ag-home-why__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ag-home-pricing__card--featured {
        transform: none;
    }
}

@media (max-width: 640px) {
    .ag-home-stats,
    .ag-home-process,
    .ag-home-industries,
    .ag-home-why,
    .ag-home-pricing {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .ag-home-stats__grid,
    .ag-home-industries__grid,
    .ag-home-pricing__grid {
        grid-template-columns: 1fr;
    }

    .ag-home-stats__number {
        font-size: 48px;
    }

    .ag-home-why__text h2 {
        font-size: 28px;
    }

    .ag-home-why__card,
    .ag-home-pricing__card,
    .ag-home-industries__card {
        padding: 24px;
    }
}

/* ============================================================
   Kategorie AG - nowy layout
   ============================================================ */
.ag-cat-shell {
    background: #fff;
    padding: 36px 0 72px;
}

.ag-cat-shell__inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.ag-cat-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
}

.ag-cat-sidebar__card,
.ag-cat-sidebar__cta {
    border: 1px solid rgba(13, 37, 63, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(12, 38, 68, 0.08);
}

.ag-cat-sidebar__card {
    padding: 24px;
}

.ag-cat-sidebar__cta {
    padding: 28px 24px;
    background: linear-gradient(160deg, #0d2f58 0%, #1a467c 100%);
    color: #fff;
}

.ag-cat-sidebar__title {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--black-color);
}

.ag-cat-sidebar__title--small {
    font-size: 16px;
    margin-bottom: 14px;
}

.ag-cat-sidebar__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ag-cat-sidebar__nav--compact {
    gap: 8px;
}

.ag-cat-sidebar__link {
    display: block;
    padding: 13px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--dark-gray);
    background: #f6f8fc;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ag-cat-sidebar__link:hover,
.ag-cat-sidebar__link.is-active {
    transform: translateX(4px);
    background: rgba(26, 70, 124, 0.12);
    color: var(--primary-color);
}

.ag-cat-sidebar__item {
    position: relative;
}

.ag-cat-sidebar__item.has-children .ag-cat-sidebar__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 8px;
    align-items: stretch;
}

.ag-cat-sidebar__toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.ag-cat-sidebar__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    background: #f6f8fc;
    color: var(--primary-color);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ag-cat-sidebar__toggle::before {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform .2s ease;
}

.ag-cat-sidebar__toggle:hover,
.ag-cat-sidebar__toggle-input:focus-visible ~ .ag-cat-sidebar__row .ag-cat-sidebar__toggle {
    background: rgba(26, 70, 124, 0.12);
    transform: translateX(2px);
}

.ag-cat-sidebar__toggle-input:checked ~ .ag-cat-sidebar__row .ag-cat-sidebar__toggle::before {
    transform: rotate(45deg);
}

.ag-cat-sidebar__submenu {
    display: none;
    list-style: none;
    margin: 10px 0 0 16px;
    padding: 4px 0 0 12px;
    border-left: 2px solid rgba(26, 70, 124, 0.14);
    gap: 6px;
}

.ag-cat-sidebar__toggle-input:checked ~ .ag-cat-sidebar__submenu {
    display: grid;
}

.ag-cat-sidebar__sublink {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #5b6676;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    background: transparent;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.ag-cat-sidebar__sublink:hover,
.ag-cat-sidebar__sublink.is-active {
    transform: translateX(3px);
    background: rgba(26, 70, 124, 0.08);
    color: var(--primary-color);
}

.ag-cat-sidebar__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
}

.ag-cat-sidebar__cta h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
    color: #fff;
}

.ag-cat-sidebar__cta p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255,255,255,.82);
}

.ag-cat-sidebar__btn {
    display: block;
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
    border: 2px solid transparent;
}

.ag-cat-sidebar__btn + .ag-cat-sidebar__btn {
    margin-top: 10px;
}

.ag-cat-sidebar__btn--solid {
    background: #fff;
    color: var(--primary-color);
}

.ag-cat-sidebar__btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.32);
}

.ag-cat-main {
    min-width: 0;
    display: grid;
    gap: 28px;
}

.ag-cat-section,
.ag-cat-hub-hero,
.ag-cat-leaf-hero {
    border: 1px solid rgba(13, 37, 63, 0.08);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(12, 38, 68, 0.08);
}

.ag-cat-hub-hero,
.ag-cat-leaf-hero {
    overflow: hidden;
}

.ag-cat-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(26, 70, 124, 0.10);
    color: var(--primary-color);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ag-cat-hub-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    padding: 40px;
    background: linear-gradient(155deg, #0f3159 0%, #1a467c 55%, #2d6aa9 100%);
}

.ag-cat-hub-hero--sub {
    background: linear-gradient(155deg, #12365f 0%, #1f4e86 65%, #3473b2 100%);
}

.ag-cat-hub-hero__title,
.ag-cat-leaf-hero__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.12;
}

.ag-cat-hub-hero__title {
    color: #fff;
}

.ag-cat-hub-hero__lead {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,.82);
    max-width: 720px;
}

.ag-cat-hub-hero__actions,
.ag-cat-leaf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ag-cat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    border: 2px solid transparent;
}

.ag-cat-btn:hover {
    transform: translateY(-2px);
}

.ag-cat-btn--solid {
    background: #fff;
    color: var(--primary-color);
}

.ag-cat-btn--ghost {
    background: rgba(255,255,255,.10);
    color: #fff;
    border-color: rgba(255,255,255,.24);
}

.ag-cat-btn--outline {
    background: transparent;
    color: var(--primary-color);
    border-color: rgba(26, 70, 124, 0.18);
}

.ag-cat-hub-hero__stats {
    display: grid;
    gap: 12px;
    align-content: center;
}

.ag-cat-hub-stat {
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.ag-cat-hub-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
    line-height: 1.1;
    color: #fff;
}

.ag-cat-hub-stat span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,.70);
}

.ag-cat-section {
    padding: 34px;
}

.ag-cat-section__head {
    margin-bottom: 22px;
}

.ag-cat-section__head--compact {
    margin-bottom: 18px;
}

.ag-cat-section__head h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
}

.ag-cat-section__head p {
    margin: 0;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.ag-cat-hub-grid,
.ag-cat-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ag-cat-hub-card,
.ag-cat-related__card {
    border: 1px solid rgba(13, 37, 63, 0.08);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ag-cat-hub-card:hover,
.ag-cat-related__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(12, 38, 68, 0.12);
    border-color: rgba(26, 70, 124, 0.18);
}

.ag-cat-hub-card__link,
.ag-cat-related__card a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ag-cat-hub-card__media {
       background: linear-gradient(155deg, #0f3159 0%, #1a467c 55%, #2d6aa9 100%);
}

.ag-cat-hub-card__media img {
    display: block;
    width: 100%;
    height: 150px;
    padding: 20px;
    object-fit: contain;
}

.ag-cat-hub-card__body,
.ag-cat-related__card a {
    padding: 22px 22px 24px;
}

.ag-cat-hub-card__body h3,
.ag-cat-related__card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
    color: var(--black-color);
}

.ag-cat-hub-card__body p,
.ag-cat-related__card p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--dark-gray);
}

.ag-cat-hub-card__cta,
.ag-cat-related__card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color);
}

.ag-cat-content__inner {
    min-width: 0;
}

.ag-cat-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ag-cat-trust__item {
    padding: 24px;
    border-radius: 24px;
    background: #f7f9fc;
    border: 1px solid rgba(13, 37, 63, 0.06);
}

.ag-cat-trust__item h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.ag-cat-trust__item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--dark-gray);
}

.ag-cat-leaf-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 34px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ag-cat-leaf-hero__title {
    color: var(--black-color);
}

.ag-cat-leaf-hero__lead {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.ag-cat-leaf-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 20px;
}

.ag-cat-leaf-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(26, 70, 124, 0.08);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
}

.ag-cat-leaf-hero__aside {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(13, 37, 63, 0.08);
    box-shadow: 0 18px 40px rgba(12, 38, 68, 0.08);
}

.ag-cat-leaf-hero__aside h2 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.3;
}

.ag-cat-leaf-hero__aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.ag-cat-leaf-hero__aside-list li {
    display: grid;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(13, 37, 63, 0.08);
}

.ag-cat-leaf-hero__aside-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.ag-cat-leaf-hero__aside-list strong {
    font-size: 14px;
    line-height: 1.4;
    color: var(--black-color);
}

.ag-cat-leaf-hero__aside-list span {
    font-size: 13px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.ag-cat-content--leaf {
    padding-top: 28px;
}

.ag-cat-related__card a {
    height: 100%;
}

@media (max-width: 1180px) {
    .ag-cat-shell__inner {
        grid-template-columns: 1fr;
    }

    .ag-cat-sidebar {
        position: static;
        order: 2;
    }

    .ag-cat-main {
        order: 1;
    }

    .ag-cat-hub-hero,
    .ag-cat-leaf-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .ag-cat-hub-grid,
    .ag-cat-related__grid,
    .ag-cat-trust__grid {
        grid-template-columns: 1fr 1fr;
    }

    .ag-cat-shell {
        padding: 28px 0 56px;
    }

    .ag-cat-shell__inner {
        width: min(100% - 28px, 1280px);
    }

}

@media (max-width: 640px) {
    .ag-cat-hub-grid,
    .ag-cat-related__grid,
    .ag-cat-trust__grid {
        grid-template-columns: 1fr;
    }

    .ag-cat-section,
    .ag-cat-hub-hero,
    .ag-cat-leaf-hero,
    .ag-cat-sidebar__card,
    .ag-cat-sidebar__cta {
        border-radius: 22px;
    }

    .ag-cat-section,
    .ag-cat-hub-hero,
    .ag-cat-leaf-hero {
        padding: 24px;
    }

    .ag-cat-hub-hero__title,
    .ag-cat-leaf-hero__title {
        font-size: 29px;
    }

    .ag-cat-btn,
    .ag-cat-sidebar__btn {
        width: 100%;
    }

    .ag-cat-hub-hero__actions,
    .ag-cat-leaf-hero__actions {
        flex-direction: column;
    }

    .ag-cat-sidebar__card,
    .ag-cat-sidebar__cta {
        padding: 20px;
    }

}

/* =========================================================
   AG Header Navigation Refresh
========================================================= */
body {
    padding-top: 70px;
}

.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26, 70, 124, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
    will-change: transform;
}

.header-nav.header-hidden {
    transform: translateY(calc(-100% - 10px));
}

.header-nav.scrolled {
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 18px 42px rgba(12, 38, 68, 0.12);
}

.nav-container {
    width: min(1280px, calc(100% - 48px));
    min-height: 70px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand__img {
    display: block;
    width: auto;
    height: 52px;
    object-fit: contain;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-search {
    position: relative;
    flex: 1 1 280px;
    max-width: 340px;
    margin-left: auto;
}

.header-search__input,
.mobile-search__input {
    width: 100%;
    min-height: 46px;
    padding: 0 52px 0 18px;
    border: 1px solid rgba(13, 37, 63, 0.12);
    border-radius: 999px;
    background: #f7f9fc;
    color: var(--black-color);
    font-size: 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search__input::placeholder,
.mobile-search__input::placeholder {
    color: #6d7787;
}

.header-search__input:focus,
.mobile-search__input:focus {
    outline: none;
    border-color: rgba(26, 70, 124, 0.34);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 70, 124, 0.08);
}

.header-search__submit,
.mobile-search__submit {
    position: absolute;
    top: 50%;
    right: 6px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d2f58 0%, var(--primary-color) 100%);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search__submit:hover,
.mobile-search__submit:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 10px 20px rgba(12, 38, 68, 0.18);
}

.header-search__submit svg,
.mobile-search__submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.desktop-nav {
    margin-left: 0;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--black-color);
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links > li > a:hover {
    color: var(--primary-color);
    background: rgba(26, 70, 124, 0.08);
}

.nav-links > li > a.active {
    color: var(--white-color);
    background: linear-gradient(135deg, #0d2f58 0%, var(--primary-color) 100%);
    box-shadow: 0 10px 24px rgba(26, 70, 124, 0.22);
}

.nav-links > li.has-dropdown > a::after {
    content: "\25BE";
    margin-left: 8px;
    font-size: 10px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.nav-links > li.has-dropdown:hover > a::after,
.nav-links > li.has-dropdown:focus-within > a::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 280px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(13, 37, 63, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 60px rgba(12, 38, 68, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-links > li.has-dropdown:hover > .dropdown-menu,
.nav-links > li.has-dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.5;
    background: #f7f9fc;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    color: var(--primary-color);
    background: rgba(26, 70, 124, 0.1);
    transform: translateX(4px);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 10001;
}

.mobile-menu-toggle span {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary-color);
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 13px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 20px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 27px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
    background: rgba(247, 249, 252, 0.98);
    backdrop-filter: blur(18px);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    position: relative;
}

.mobile-nav-links > li > a {
    display: block;
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--black-color);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(12, 38, 68, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-links > li > a:hover,
.mobile-nav-links > li > a.active {
    background: linear-gradient(135deg, #0d2f58 0%, var(--primary-color) 100%);
    color: var(--white-color);
}

.mobile-nav-links li.has-mobile-submenu > a {
    padding-right: 64px;
}

.mobile-submenu-toggle {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(26, 70, 124, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-submenu-toggle::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.mobile-nav-links li.is-open > .mobile-submenu-toggle::before {
    transform: rotate(45deg);
}

.mobile-submenu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0 0 0 14px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 0.32s ease, opacity 0.2s ease, transform 0.32s ease, margin-top 0.32s ease;
}

.mobile-submenu[hidden] {
    display: none !important;
}

.mobile-nav-links li.is-open > .mobile-submenu {
    max-height: 1200px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
}

.mobile-submenu .mobile-submenu {
    padding-left: 12px;
    border-left: 2px solid rgba(26, 70, 124, 0.12);
}

.mobile-submenu a {
    display: block;
    padding: 13px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-submenu a:hover,
.mobile-submenu a.active {
    color: var(--primary-color);
    background: rgba(26, 70, 124, 0.1);
    transform: translateX(4px);
}

.mobile-menu-cta {
    margin-top: 18px;
}

.mobile-search {
    margin-top: 18px;
}

.mobile-search__field {
    position: relative;
}

.mobile-menu-cta-cluster {
    display: grid;
    gap: 10px;
}

.mobile-menu-cta .mobile-cta-action {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    justify-content: flex-start;
    gap: 12px;
}

.mobile-menu-cta .mobile-cta-action span {
    font-size: 15px;
    font-weight: 700;
}

.mobile-cta-fixed {
    display: none;
    position: fixed;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 18px, 0) scale(0.92);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.mobile-cta-fixed.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.mobile-cta-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    text-decoration: none;
    border: 0;
    box-shadow: 0 16px 34px rgba(12, 38, 68, 0.2);
}

.mobile-cta-action svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-cta-action--phone {
    background: linear-gradient(135deg, #0d2f58 0%, var(--primary-color) 100%);
    color: #ffffff;
}

.mobile-cta-action--contact {
    background: #ffffff;
    color: var(--primary-color);
}

@media screen and (max-width: 991px) {
    .nav-container {
        width: min(100% - 28px, 1280px);
    }

    .header-search {
        display: none;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle,
    .mobile-cta-fixed {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-brand__img {
        height: 46px;
    }
}

@media screen and (max-width: 640px) {
    .nav-container {
        width: calc(100% - 24px);
    }

    .site-brand__img {
        height: 42px;
    }

    .mobile-menu {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* =========================================================
   AG Search View
========================================================= */
.ag-search-shell {
    padding: 32px 0 72px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ag-search-shell__inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    gap: 28px;
}

.ag-search-hero,
.ag-search-section {
    border: 1px solid rgba(13, 37, 63, 0.08);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(12, 38, 68, 0.08);
}

.ag-search-hero {
    padding: 38px 40px;
    background: linear-gradient(155deg, #0f3159 0%, #1a467c 58%, #2d6aa9 100%);
    color: #fff;
}

.ag-search-hero__content {
    max-width: 860px;
}

.ag-search-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ag-search-section .ag-search-eyebrow {
    background: rgba(26, 70, 124, 0.08);
    color: var(--primary-color);
}

.ag-search-hero__title {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    color: #fff;
}

.ag-search-hero__lead {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.ag-search-form {
    margin-bottom: 24px;
}

.ag-search-form__field {
    position: relative;
    max-width: 620px;
}

.ag-search-form__input {
    width: 100%;
    min-height: 58px;
    padding: 0 64px 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 16px;
    backdrop-filter: blur(10px);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ag-search-form__input::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.ag-search-form__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.ag-search-form__submit {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(12, 38, 68, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ag-search-form__submit:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 16px 30px rgba(12, 38, 68, 0.24);
}

.ag-search-form__submit svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ag-search-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ag-search-stat {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
}

.ag-search-stat strong {
    display: block;
    margin-bottom: 4px;
    font-size: 26px;
    line-height: 1.1;
    color: #fff;
}

.ag-search-stat span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.74);
}

.ag-search-section {
    padding: 32px 34px;
}

.ag-search-section--filters {
    padding-top: 26px;
    padding-bottom: 26px;
}

.ag-search-section__head {
    margin-bottom: 22px;
}

.ag-search-section__head--compact {
    margin-bottom: 18px;
}

.ag-search-section__head h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 36px);
    line-height: 1.2;
    color: var(--black-color);
}

.ag-search-section__head p {
    margin: 0;
    max-width: 780px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.ag-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ag-search-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f6f8fc;
    color: var(--dark-gray);
    border: 1px solid rgba(13, 37, 63, 0.08);
    font-size: 14px;
}

.ag-search-filter-chip strong {
    color: var(--primary-color);
}

.ag-search-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ag-search-card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(13, 37, 63, 0.08);
    box-shadow: 0 16px 36px rgba(12, 38, 68, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ag-search-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 70, 124, 0.16);
    box-shadow: 0 24px 48px rgba(12, 38, 68, 0.11);
}

.ag-search-card__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ag-search-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(26, 70, 124, 0.08);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ag-search-card__path {
    font-size: 13px;
    line-height: 1.6;
    color: #6d7787;
    overflow-wrap: anywhere;
}

.ag-search-card__title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.3;
}

.ag-search-card__title a {
    color: var(--black-color);
    text-decoration: none;
}

.ag-search-card__title a:hover {
    color: var(--primary-color);
}

.ag-search-card__snippet {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.ag-search-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ag-search-card__cta::after {
    content: "\2192";
    transition: transform 0.2s ease;
}

.ag-search-card__cta:hover::after {
    transform: translateX(4px);
}

.ag-search-section__empty,
.ag-search-empty__body {
    padding: 24px;
    border-radius: 22px;
    background: #f7f9fc;
    border: 1px solid rgba(13, 37, 63, 0.08);
}

.ag-search-empty__body p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.ag-search-empty__tips {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ag-search-empty__tips li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.ag-search-empty__tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
}

@media screen and (max-width: 920px) {
    .ag-search-shell__inner {
        width: min(100% - 28px, 1280px);
    }

    .ag-search-results {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .ag-search-shell {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .ag-search-hero,
    .ag-search-section {
        border-radius: 24px;
    }

    .ag-search-hero,
    .ag-search-section {
        padding: 24px;
    }

    .ag-search-hero__title {
        font-size: 29px;
    }

    .ag-search-form__input {
        min-height: 52px;
        padding-left: 18px;
    }

    .ag-search-form__submit {
        width: 40px;
        height: 40px;
    }
}

/* ============================================================
   AG blog / home hotfixes
   ============================================================ */
.ag-filter-btn.ag-filter-btn--active,
.ag-filter-btn.ag-filter-btn--active:hover,
.ag-filter-btn.ag-filter-btn--active:focus-visible {
    color: #fff !important;
}

.hero + .ag-home-stats {
    margin-top: -70px;
    position: relative;
    z-index: 2;
}

.ag-home-stats .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ag-home-stats .section-header {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ag-home-stats .section-header h3,
.ag-home-stats .section-header h2 {
    color: #fff;
}

.ag-home-stats .section-header h3 {
    opacity: 0.92;
}

.ag-home-stats .section-header h2::after {
    background: rgba(255, 255, 255, 0.32);
}

.ag-home-stats__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    justify-content: center;
    width: 100%;
}

.ag-home-stats__item {
    width: 100%;
    margin: 0 auto;
}

.ag-home-services {
    padding: 70px 5%;
    position: relative;
    top: -70px;
    background-color: var(--light-gray);
}

.ag-home-services .container {
    max-width: 1200px;
}

.ag-home-services .ag-cat-section__head {
    text-align: center;
    margin-bottom: 50px;
}

.ag-home-services .ag-cat-section__head h2 {
    position: relative;
    padding-bottom: 20px;
}

.ag-home-services .ag-cat-section__head h2::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
}

.ag-home-services .ag-cat-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ag-home-services + .ag-home-why {
    margin-top: -70px;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .ag-home-stats__grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    }
}

@media (max-width: 768px) {
    .parallax {
        height: 100vh;
    }

    .ag-home-services .ag-cat-hub-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero + .ag-home-stats,
    .ag-home-services + .ag-home-why {
        margin-top: -40px;
    }


    .ag-home-services {
        top: -40px;
    }
}

/* ============================================================
   AG contact / about pages
   ============================================================ */
.page-contact__hero {
    padding: 80px 5% 56px;
    background: linear-gradient(180deg, rgba(15, 52, 96, 0.06) 0%, rgba(15, 52, 96, 0) 100%);
    text-align: center;
}

.page-contact__hero .section-header {
    max-width: 860px;
    margin: 0 auto;
}

.page-contact__hero-title,
.page-about__main-title {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.15;
    color: var(--black-color);
    margin: 12px 0 18px;
}

.page-contact__hero-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
}

.page-contact__hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.page-contact__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(26, 70, 124, 0.08);
    border: 1px solid rgba(26, 70, 124, 0.16);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.page-contact__why,
.page-about__team,
.page-about__certs {
    padding: 100px 5%;
    background-color: var(--white-color);
}

.page-contact__location,
.page-about__mission,
.page-about__history {
    padding: 100px 5%;
    background-color: var(--light-gray);
}

.page-contact__why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.page-contact__why-item {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 30px 28px;
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-color);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.page-contact__why-num {
    flex-shrink: 0;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    color: rgba(26, 70, 124, 0.32);
}

.page-contact__why-body h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--black-color);
}

.page-contact__why-body p {
    margin: 0;
    line-height: 1.8;
    color: var(--dark-gray);
}

.page-contact__location-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: start;
}

.page-contact__location-info {
    display: grid;
    gap: 24px;
}

.page-contact__location-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.page-contact__location-card--alt {
    background: rgba(26, 70, 124, 0.04);
    border: 1px solid rgba(26, 70, 124, 0.1);
}

.page-contact__location-card h4 {
    margin: 0 0 16px;
    padding-bottom: 14px;
    font-size: 1.05rem;
    border-bottom: 2px solid rgba(26, 70, 124, 0.12);
    color: var(--black-color);
}

.page-contact__location-card address {
    font-style: normal;
}

.page-contact__location-card address p,
.page-contact__location-card > p {
    margin: 0 0 18px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.page-contact__location-details {
    display: grid;
    gap: 16px;
}

.page-contact__location-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.page-contact__location-icon {
    flex-shrink: 0;
    width: 22px;
    text-align: center;
    color: var(--primary-color);
}

.page-contact__location-row strong {
    display: block;
    margin-bottom: 4px;
    color: var(--black-color);
}

.page-contact__location-row p {
    margin: 0;
    line-height: 1.7;
    color: var(--dark-gray);
}

.page-contact__location-row a,
.page-contact__location-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.page-contact__location-row a:hover,
.page-contact__location-link a:hover {
    text-decoration: underline;
}

.page-contact__area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-contact__area-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.page-contact__area-list li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.page-contact__location-link {
    margin: 18px 0 0;
}

.page-contact__testimonials {
    padding: 100px 5%;
    background-color: var(--white-color);
}

.page-contact__testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.page-contact__testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 26px;
    background: var(--light-gray);
    border-radius: 18px;
    border-top: 4px solid transparent;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
}

.page-contact__testimonial-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--primary-color);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.page-contact__testimonial-stars {
    color: #f5a623;
    letter-spacing: 2px;
}

.page-contact__testimonial-text {
    margin: 0;
    font-style: italic;
    line-height: 1.8;
    color: var(--dark-gray);
}

.page-contact__testimonial-author strong {
    display: block;
    color: var(--black-color);
}

.page-contact__testimonial-author span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--primary-color);
}

.page-about__stats {
    padding: 70px 5%;
    background-color: var(--primary-color);
}

.page-about__stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    text-align: center;
}

.page-about__stat-item {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.page-about__stat-number {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--white-color);
}

.page-about__stat-label {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-about__mission-grid,
.page-about__team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.page-about__mission-card,
.page-about__team-card,
.page-about__cert-item {
    background-color: var(--white-color);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.page-about__mission-card {
    padding: 32px 28px;
}

.page-about__mission-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(26, 70, 124, 0.1);
    color: var(--primary-color);
    font-weight: 800;
}

.page-about__mission-card h4,
.page-about__team-info h4,
.page-about__timeline-content h4,
.page-about__cert-item h5 {
    margin: 0 0 12px;
    color: var(--black-color);
}

.page-about__mission-card p,
.page-about__team-info p,
.page-about__timeline-content p,
.page-about__cert-item p {
    margin: 0;
    line-height: 1.8;
    color: var(--dark-gray);
}

.page-about__team-lead {
    max-width: 820px;
    margin: -26px auto 56px;
    text-align: center;
    line-height: 1.8;
    color: var(--dark-gray);
}

.page-about__team-card {
    overflow: hidden;
}

.page-about__team-avatar {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(26, 70, 124, 0.08);
}

.page-about__team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-about__team-info {
    padding: 28px 24px;
    text-align: center;
}

.page-about__team-role {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
}

.page-about__timeline {
    position: relative;
    max-width: 940px;
    margin: 0 auto;
}

.page-about__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: rgba(26, 70, 124, 0.2);
}

.page-about__timeline-item {
    display: flex;
    margin-bottom: 36px;
}

.page-about__timeline-item--left {
    justify-content: flex-start;
    padding-right: calc(50% + 24px);
}

.page-about__timeline-item--right {
    justify-content: flex-end;
    padding-left: calc(50% + 24px);
}

.page-about__timeline-content {
    position: relative;
    padding: 28px 24px;
    background: var(--white-color);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.page-about__timeline-year {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--white-color);
    font-size: 13px;
    font-weight: 700;
}

.page-about__certs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.page-about__cert-item {
    padding: 32px 22px;
    text-align: center;
}

.page-about__cert-icon {
    margin-bottom: 16px;
    font-size: 34px;
}

.page-about__cta-banner {
    padding: 80px 5%;
    background: linear-gradient(135deg, #0e2f5a 0%, var(--primary-color) 100%);
}

.page-about__cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.page-about__cta-text h2 {
    margin: 0 0 12px;
    color: var(--white-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.page-about__cta-text p {
    margin: 0;
    max-width: 700px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.page-about__cta-banner .cta-button {
    flex-shrink: 0;
    white-space: nowrap;
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

.page-about__cta-banner .cta-button:hover {
    background: transparent;
    color: var(--white-color);
}

@media (max-width: 1100px) {
    .page-contact__location-inner,
    .page-about__mission-grid,
    .page-about__team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-about__certs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .page-contact__location-inner {
        grid-template-columns: 1fr;
    }

    .page-contact__testimonials-grid,
    .page-about__stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-about__timeline::before {
        display: none;
    }

    .page-about__timeline-item--left,
    .page-about__timeline-item--right {
        padding-left: 0;
        padding-right: 0;
        justify-content: stretch;
    }

    .page-about__cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-contact__hero {
        padding-top: 64px;
    }

    .page-contact__hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .page-contact__why-grid,
    .page-contact__testimonials-grid,
    .page-about__mission-grid,
    .page-about__team-grid,
    .page-about__certs-grid,
    .page-about__stats-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__why-item,
    .page-contact__location-card,
    .page-contact__testimonial-card,
    .page-about__mission-card,
    .page-about__timeline-content,
    .page-about__cert-item {
        padding: 26px 22px;
    }
}

/* Home latest blog posts */
.ag-home-latest {
    padding: 92px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.ag-home-latest .section-header {
    max-width: 840px;
    margin: 0 auto 42px;
    text-align: center;
}

.ag-home-latest .section-header p {
    max-width: 720px;
    margin: 14px auto 0;
    color: #5d6675;
    font-size: 16px;
    line-height: 1.75;
}

.ag-home-latest__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ag-home-latest__card {
    min-height: 100%;
}

.ag-home-latest__card .ag-post-card-body {
    min-height: 250px;
}

.ag-home-latest__card .ag-post-card-body > p {
    flex: 1 1 auto;
}

.ag-home-latest__footer {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.ag-home-latest__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid rgba(26, 70, 124, 0.2);
    border-radius: 999px;
    background: var(--white-color);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(17, 38, 64, 0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ag-home-latest__all:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 70, 124, 0.38);
    box-shadow: 0 18px 36px rgba(17, 38, 64, 0.13);
}

@media (max-width: 991px) {
    .ag-home-latest__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ag-home-latest {
        padding: 70px 0;
    }

    .ag-home-latest__grid {
        grid-template-columns: 1fr;
    }

    .ag-home-latest__card .ag-post-card-body {
        min-height: 0;
    }
}

