:root {
    --primary: #002F5F;
    --secondary: #007ACC;
    --accent: #FF0000;
    --background: #F5F7FA;
    --background-dark: #E1E5EA;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --gradient-primary: linear-gradient(135deg, #002F5F 0%, #007ACC 100%);
    --gradient-accent: linear-gradient(135deg, #FF0000 0%, #FF4444 100%);
    --shadow-sm: 0 2px 4px rgba(0, 47, 95, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 47, 95, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 47, 95, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

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

header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 0, 0, 0.1);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 45px;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

nav a.active {
    color: var(--accent);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-contact-btn {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.nav-contact-btn::before {
    display: none;
}

.hero, .about-hero, .offer-hero, .contact-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    content-visibility: auto;
    contain-intrinsic-size: 1px 1000px;
}

.services, .why-us, .features, .about-main, .expertise, .values, .commitment, .contact-main {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

.fade-in, .service-card, .feature-card, .value-card, .expertise-card {
    will-change: transform, opacity;
    transform: translateZ(0);
}

.hero::before, .about-hero::before, .offer-hero::before, .contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(1, 70, 139, 0.7));
    z-index: 1;
}

.hero {
    background: url('assets-seo-20260929/automatyka-przemyslowa.webp') no-repeat center center/cover;
}

.about-hero {
    background: url('assets-seo-20260929/projektowanie-ukladow-sterowania.webp') no-repeat center center/cover;
}

.offer-hero {
    background: url('assets-seo-20260929/robotyka-przemyslowa.webp') no-repeat center center/cover;
}

.contact-hero {
    background: url('assets-seo-20260929/programowanie-plc.webp') no-repeat center center/cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    color: var(--white);
}

.hero h1, .about-hero h1, .offer-hero h1, .contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.hero p, .about-hero p, .offer-hero p, .contact-hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.why-us {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.why-us-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-us-icon i {
    font-size: 2rem;
    color: var(--white);
}

.why-us-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.services {
    padding: 5rem 0;
    background: var(--background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 3.5rem;
    padding: 3rem;
    max-width: 1600px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.service-image {
    display: block;
    height: 320px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    will-change: transform;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.1));
    z-index: 1;
}

.service-card h3 {
    padding: 2rem 2rem 1rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
}

.service-card p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

.service-card .learn-more {
    display: inline-block;
    margin: 0 2rem 2.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-card .learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 47, 95, 0.2);
}

.mission {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mission-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.company-quote {
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 2rem;
    padding: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detailed-services {
    padding: 5rem 0;
    background: var(--white);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) .service-content {
    direction: ltr;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-content h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.service-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.target-group {
    padding: 8rem 0;
    background: linear-gradient(135deg, #002F5F 0%, #007ACC 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--secondary);
}

.target-group::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: rotate(45deg);
}

.target-group .section-title {
    color: var(--white);
    font-size: 3.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.target-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.target-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.target-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.target-list li {
    position: relative;
    font-size: 1.2rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 122, 204, 0.2);
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.target-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.target-list li i {
    font-size: 2.8rem;
    color: var(--white);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.target-list li span {
    flex: 1;
    position: relative;
    z-index: 1;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.target-list li:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.target-list li:hover::before {
    opacity: 1;
}

.target-list li:hover i {
    transform: scale(1.3) rotate(8deg);
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.4); }
    100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.2); }
}

.features {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.about-main {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.about-main::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content {
    padding-right: 2rem;
}

.about-content h2 {
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
}

.about-content p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.about-image {
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    transition: var(--transition);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-image:hover::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
}

@media (max-width: 992px) {
    .about-main {
        padding: 6rem 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        padding-right: 0;
        text-align: center;
    }

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-image {
        height: 400px;
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-main {
        padding: 4rem 0;
    }

    .about-content h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .about-content p {
        font-size: 1.05rem;
    }

    .about-image {
        height: 300px;
    }
}

.expertise {
    padding: 8rem 0 14rem;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: visible;
    margin-bottom: -8rem;
}

.expertise::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gradient-primary);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.expertise-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    padding: 0 2rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--white);
}

.expertise-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.expertise-card p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}

.values {
    position: relative;
    z-index: 1;
    padding-top: 14rem;
    padding-bottom: 8rem;
    background: var(--white);
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14rem;
    background: var(--gradient-primary);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 40%);
    z-index: -1;
}

.values .section-title {
    color: var(--white);
    margin-bottom: 8rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.values .section-title::after {
    background: var(--white);
    margin: 1.5rem auto 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.value-icon i {
    font-size: 2rem;
    color: var(--white);
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.value-card p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.commitment {
    padding: 8rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.commitment-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.commitment h2 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.commitment p {
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.commitment .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.commitment .cta-button:hover {
    transform: translateY(-3px);
}

.expertise-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.expertise-content::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.expertise-content p {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    line-height: 1.8;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.expertise-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
    position: relative;
}

.expertise-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

.expertise-card:hover .expertise-icon {
    transform: rotate(360deg);
    background: var(--accent);
}

.expertise-icon i {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.expertise-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expertise-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .expertise {
        padding: 6rem 0;
    }

    .expertise-content p {
        font-size: 1.15rem;
        margin-bottom: 3rem;
    }

    .expertise-grid {
        gap: 2rem;
    }

    .expertise-card {
        padding: 2rem;
    }

    .expertise-icon {
        width: 80px;
        height: 80px;
    }
}

.values {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.values::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.values .section-title {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.value-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--background-dark);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-md);
}

.value-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--background-dark);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: rotate(360deg);
}

.value-card:hover .value-icon::after {
    border-color: var(--accent);
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.value-card h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 1rem;
}

.value-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.value-card:hover h3::after {
    width: 60px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .values {
        padding: 6rem 0;
    }

    .values-grid {
        gap: 2rem;
    }

    .value-card {
        padding: 2.5rem 1.5rem;
    }

    .value-icon {
        width: 80px;
        height: 80px;
    }

    .value-card h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .value-card {
        padding: 2rem 1.5rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 2rem;
    }

    .value-card h3 {
        font-size: 1.3rem;
    }

    .value-card p {
        font-size: 1rem;
    }
}

.commitment {
    padding: 8rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.commitment::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gradient-primary);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.commitment-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.commitment-content::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.commitment-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 1.5rem;
}

.commitment-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.commitment-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .commitment {
        padding: 6rem 0;
    }

    .commitment-content h2 {
        font-size: 2.2rem;
    }

    .commitment-content p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .commitment-content h2 {
        font-size: 2rem;
    }

    .commitment-content p {
        font-size: 1.1rem;
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-bounce);
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.contact-main {
    padding: 6rem 0 4rem;
    background: var(--white);
    position: relative;
}

.page-title {
    color: var(--primary);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-secondary {
    background: var(--background);
    padding: 6rem 0;
    position: relative;
}

.contact-secondary::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--background);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.contact-banner {
    background: var(--gradient-primary);
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    margin-top: 4rem;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--gradient-primary);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

.contact-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-banner p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.banner-contacts {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.banner-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    transition: var(--transition);
}

.banner-contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.banner-contact-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.banner-contact-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 4rem 0;
    }

    .contact-banner h2 {
        font-size: 2rem;
    }

    .contact-banner p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .banner-contacts {
        gap: 1.5rem;
    }

    .banner-contact-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

.contact-info {
    padding: 3rem;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.contact-details {
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    margin-right: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-item:hover i {
    transform: rotate(360deg);
    background: var(--accent);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-form {
    padding: 4rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.contact-form h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border: 2px solid var(--background-dark);
    border-radius: 12px;
    transition: var(--transition);
    font-size: 1rem;
    background: var(--background);
    resize: vertical;
    min-height: 120px;
}

.form-group input {
    min-height: auto;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    opacity: 0.8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,0,0,0.1);
    background: var(--white);
}

@keyframes formSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes glowSuccess {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.success-animation {
    animation: formSuccess 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    position: relative;
}

.success-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.05);
    border-radius: var(--border-radius);
    z-index: -1;
    animation: glowSuccess 0.6s ease-in-out;
}

.success-animation .form-group input,
.success-animation .form-group textarea {
    border-color: #28a745;
    background: #e7f6e7;
    transition: all 0.3s ease;
}

.consent-group {
    margin: 3rem 0;
    padding: 1rem;
    background: var(--background);
    border-radius: 12px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.checkbox-container:hover {
    background: rgba(255,255,255,0.5);
}

.consent-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    border: 2px solid var(--background-dark);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 2px;
}

input[type="checkbox"]:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

input[type="checkbox"]:hover {
    border-color: var(--accent);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,0,0,0.3);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        margin-bottom: 2rem;
    }
    
    .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }
    
    .contact-form h2,
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

.map-section {
    padding: 6rem 0;
    background: var(--white);
    margin-bottom: 2rem;
}

.map-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.map-container h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.map-container h2 i {
    color: var(--accent);
    font-size: 2rem;
}

.map-container h2::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.map-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--background-dark);
    transition: var(--transition);
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
}

@media (max-width: 768px) {
    .map-section {
        padding: 3rem 0;
    }

    .map-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .map-wrapper iframe {
        height: 300px;
    }
}

.faq {
    padding: 6rem 0;
    background: var(--background);
    margin-top: 2rem;
}

.faq .section-title {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
}

.faq .section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--background-dark);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 1rem;
    line-height: 1.4;
}

.faq-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.faq-item:hover h3::after {
    width: 60px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }
    
    .faq .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .faq-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .faq-item {
        padding: 2rem;
    }
    
    .faq-item h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        transition: transform 0.3s ease;
        z-index: 1001;
    }

    nav.active {
        transform: translateX(-100%);
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 2rem;
    }

    .hero h1, .about-hero h1, .offer-hero h1, .contact-hero h1 {
        font-size: 2.5rem;
    }

    .services-grid, .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .service-image {
        height: 300px;
    }

    .service-content {
        padding: 1rem;
        text-align: center;
    }

    .service-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .target-list li {
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.5rem 1rem;
    }

    .hero p, .about-hero p, .offer-hero p, .contact-hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .service-image {
        height: 250px;
    }

    .service-content h2 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .target-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .target-list li {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero h1, .about-hero h1, .offer-hero h1, .contact-hero h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .why-us-card, .service-card {
        padding: 1.5rem;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 1rem 0.5rem;
    }

    .service-content h2 {
        font-size: 1.6rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 2rem;
    }

    .target-list li {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(150%);
    opacity: 0;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-content img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.notification.success {
    background: #e7f6e7;
    border-left: 4px solid #28a745;
}

.notification.error {
    background: #fce8e8;
    border-left: 4px solid #dc3545;
}

.notification i {
    font-size: 1.5rem;
}

.notification.success i {
    color: #28a745;
}

.notification.error i {
    color: #dc3545;
}

.notification span {
    color: var(--text);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.language-switcher {
    position: fixed;    
    top: 20px;          
    right: 20px;          
    display: flex;
    gap: 10px;            
    z-index: 1000;    
}

.language-switcher a img {
    width: 32px;         
    height: auto;
    cursor: pointer;
    border-radius: 4px;   
    transition: transform 0.2s;
}

.language-switcher a img:hover {
    transform: scale(1.1);
}
.language-switcher a img {
    width: 32px;
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
    vertical-align: middle; 
}

/* Accessible, immediate content and stable navigation. September 2026. */
.loader { display:none !important; }
.fade-in { opacity:1; transform:none; }
.hero, .about-main, .contact-main { content-visibility:visible; }
.hero h1, .hero p { animation:none; opacity:1; }
img { max-width:100%; }
.logo img { width:auto; }
header { transform:none !important; }
.header-content { padding-right:130px; }
.mobile-menu-btn { display:none; border:0; background:transparent; width:44px; height:44px; padding:9px; cursor:pointer; z-index:1003; }
.mobile-menu-btn span { display:block; height:3px; margin:5px 0; background:var(--primary); border-radius:2px; }
.service-intro { max-width:820px; margin:0 auto 48px; text-align:center; }
.service-intro h1 { color:var(--primary); font-size:clamp(2rem,4vw,2.8rem); line-height:1.2; margin-bottom:20px; }
.detailed-services { padding-top:130px; }
.about-content h1 { color:var(--primary); font-size:clamp(2rem,4vw,2.8rem); margin-bottom:24px; line-height:1.2; }
.service-item { scroll-margin-top:110px; }
.service-cta { text-align:center; margin:48px auto 0; max-width:760px; }
.service-cta p { margin:16px 0 24px; }
.contact-info a { color:inherit; text-underline-offset:3px; }
:focus-visible { outline:3px solid var(--secondary); outline-offset:5px; }
.skip-link { position:absolute; left:16px; top:-100px; z-index:2000; background:var(--primary); color:var(--white); padding:10px 16px; border-radius:6px; text-decoration:none; }
.skip-link:focus { top:12px; }
.footer-bottom .legal { font-size:.8rem; opacity:.75; margin-top:.75rem; line-height:1.5; }
@media(min-width:993px) { nav li { opacity:1 !important; transform:none !important; } }
@media(max-width:992px) {
  .header-content { padding:8px 110px 8px 16px; }
  .logo img { height:32px; }
  .mobile-menu-btn { display:block; }
  .language-switcher { top:24px; right:12px; gap:8px; }
  .language-switcher a img { width:26px; }
  nav { top:74px; height:calc(100dvh - 74px); right:0; transform:translateX(100%); visibility:hidden; transition:transform .3s ease, visibility .3s; }
  nav.active { transform:translateX(0); visibility:visible; }
  nav ul { width:100%; padding-top:28px; }
  .mobile-menu-btn.active span:nth-child(1) { transform:translateY(8px) rotate(45deg); }
  .mobile-menu-btn.active span:nth-child(2) { opacity:0; }
  .mobile-menu-btn.active span:nth-child(3) { transform:translateY(-8px) rotate(-45deg); }
  .hero { height:auto; min-height:100svh; padding-top:100px; padding-bottom:28px; }
  .hero h1 { font-size:clamp(1.9rem,7vw,3rem); line-height:1.2; }
  .hero-content { padding:24px 18px; }
  .hero p { padding:0; font-size:1.05rem; }
}
/* Service subpages (projektowanie-ukladow-sterowania.html etc.). October 2026. */
.svc-page { background:var(--white); padding:130px 0 4rem; }
.svc-wrap { max-width:980px; }
.breadcrumbs ol { list-style:none; display:flex; flex-wrap:wrap; gap:.35rem; padding:0; margin:0 0 1.5rem; font-size:.92rem; color:var(--text-light); }
.breadcrumbs li + li::before { content:"›"; margin-right:.35rem; }
.breadcrumbs a { color:var(--secondary); }
.svc-hero { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:2.5rem; align-items:center; margin-bottom:3rem; }
.svc-hero h1 { color:var(--primary); font-size:clamp(1.8rem,3.6vw,2.5rem); line-height:1.2; margin-bottom:1rem; }
.svc-hero .lead { font-size:1.12rem; margin-bottom:1.6rem; }
.svc-hero img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:var(--border-radius); box-shadow:var(--shadow-lg); }
.svc-section { margin:2.75rem 0; max-width:760px; }
.svc-section h2 { color:var(--primary); font-size:1.55rem; line-height:1.25; margin-bottom:1rem; }
.svc-section p + p { margin-top:.85rem; }
.svc-section a { color:var(--secondary); }
.svc-list { list-style:none; padding:0; margin:.5rem 0; display:grid; gap:.7rem; }
.svc-list li { position:relative; padding-left:1.6rem; }
.svc-list li::before { content:""; position:absolute; left:0; top:.62em; width:.55rem; height:.55rem; border-radius:2px; background:var(--secondary); }
.svc-list strong, .svc-steps strong { color:var(--primary); }
.svc-brands { list-style:none; padding:0; margin:1.2rem 0 0; display:flex; flex-wrap:wrap; gap:.5rem; }
.svc-brands li { padding:.35rem .8rem; border:1px solid var(--background-dark); border-radius:6px; background:var(--background); font-weight:600; color:var(--primary); font-size:.95rem; }
.svc-steps { counter-reset:step; list-style:none; padding:0; display:grid; gap:1rem; }
.svc-steps li { counter-increment:step; position:relative; padding-left:3rem; min-height:2.1rem; }
.svc-steps li::before { content:counter(step); position:absolute; left:0; top:-.1rem; width:2.1rem; height:2.1rem; border-radius:50%; background:var(--gradient-primary); color:var(--white); display:grid; place-items:center; font-weight:700; }
.svc-why { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.svc-why li { background:var(--background); border-radius:var(--border-radius); padding:1.1rem 1.2rem; display:grid; gap:.35rem; }
.svc-why strong { color:var(--primary); }
.svc-faq h3 { color:var(--primary); font-size:1.12rem; margin:1.4rem 0 .4rem; }
.svc-related { list-style:none; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:.8rem; }
.svc-related a { display:block; height:100%; padding:.95rem 1.1rem; border:1px solid var(--background-dark); border-radius:8px; background:var(--background); color:var(--primary); font-weight:600; text-decoration:none; }
.svc-related a:hover, .svc-related a:focus-visible { border-color:var(--secondary); }
.svc-page .service-cta { background:var(--background); border-radius:var(--border-radius); padding:2rem 1.5rem; }
.svc-more { margin-top:1rem; }
.svc-more a { color:var(--secondary); font-weight:600; }
@media(max-width:768px) { .svc-page { padding-top:100px; } .svc-hero { grid-template-columns:minmax(0,1fr); gap:1.5rem; } }
/* Editorial hub and homepage guide previews. */
.knowledge-page { background:linear-gradient(180deg,#f5f9fd 0,#fff 360px); }
.knowledge-hero { padding:clamp(2rem,5vw,3.5rem); margin:0 0 3.25rem; border:1px solid #dbe8f3; border-radius:22px; background:linear-gradient(135deg,#fff 0%,#edf6fc 100%); box-shadow:0 12px 36px rgba(0,47,95,.07); }
.knowledge-hero h1 { max-width:780px; margin:.65rem 0 1rem; color:var(--primary); font-size:clamp(2rem,4vw,3rem); line-height:1.14; letter-spacing:-.025em; }
.knowledge-hero p { max-width:720px; margin:0; color:#425669; font-size:clamp(1.05rem,1.7vw,1.18rem); line-height:1.7; }
.knowledge-kicker { display:inline-block; color:#005f9e; font-size:.78rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.knowledge-section-heading { display:flex; align-items:end; justify-content:space-between; gap:1.5rem; margin-bottom:1.5rem; }
.knowledge-section-heading h2 { margin:.35rem 0 0; color:var(--primary); font-size:clamp(1.65rem,2.8vw,2.2rem); line-height:1.2; }
.knowledge-section-heading p { max-width:370px; margin:0; color:#536273; line-height:1.6; }
.guide-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; list-style:none; margin:0; padding:0; }
.guide-grid li { min-width:0; }
.guide-card { display:flex; flex-direction:column; height:100%; min-height:224px; gap:.65rem; padding:1.55rem; border:1px solid #dce6ee; border-radius:16px; background:#fff; box-shadow:0 4px 18px rgba(0,47,95,.035); color:var(--text); text-decoration:none; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.guide-card:hover { transform:translateY(-3px); border-color:#87b8da; box-shadow:0 12px 28px rgba(0,47,95,.1); }
.guide-card:focus-visible { outline:3px solid var(--secondary); outline-offset:3px; }
.guide-category { align-self:flex-start; padding:.25rem .6rem; border-radius:100px; background:#edf6fc; color:#005f9e; font-size:.76rem; font-weight:750; letter-spacing:.03em; line-height:1.4; }
.guide-card h3 { margin:0; color:var(--primary); font-size:clamp(1.08rem,1.9vw,1.3rem); line-height:1.35; }
.guide-card p { margin:0; color:#526273; font-size:.96rem; line-height:1.6; }
.guide-link { display:inline-flex; align-items:center; gap:.35rem; margin-top:auto; padding-top:.45rem; color:#005f9e; font-size:.91rem; font-weight:750; }
.guide-link span { font-size:1.2em; line-height:1; }
.guide-grid-featured { grid-column:1 / -1; }
.guide-grid-featured .guide-card { min-height:220px; padding:clamp(1.5rem,3vw,2rem); background:linear-gradient(135deg,#002f5f,#07598f); border-color:#002f5f; }
.guide-grid-featured .guide-card h3 { max-width:700px; color:#fff; font-size:clamp(1.3rem,2.6vw,1.7rem); }
.guide-grid-featured .guide-card p { max-width:710px; color:#e0ecf7; }
.guide-grid-featured .guide-category { background:rgba(255,255,255,.16); color:#fff; }
.guide-grid-featured .guide-link { color:#fff; }
.knowledge-preview { scroll-margin-top:100px; margin-top:3.5rem; padding:clamp(1.4rem,3vw,2rem); border:1px solid #dce8f3; border-radius:20px; background:#f5f9fd; }
.knowledge-preview .guide-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.knowledge-preview .guide-card { min-height:244px; padding:1.25rem; }
.knowledge-preview .guide-card h3 { font-size:1.12rem; }
.knowledge-all-link { display:inline-flex; align-items:center; gap:.5rem; margin-top:1.4rem; color:#005f9e; font-weight:750; text-underline-offset:4px; }
.knowledge-all-link:hover { color:var(--primary); }
@media(max-width:800px) {
  .knowledge-section-heading { align-items:start; flex-direction:column; gap:.5rem; }
  .knowledge-section-heading p { max-width:680px; }
  .knowledge-preview .guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  .knowledge-hero { margin-bottom:2.5rem; }
  .guide-grid,.knowledge-preview .guide-grid { grid-template-columns:minmax(0,1fr); }
  .guide-grid-featured { grid-column:auto; }
  .guide-card,.knowledge-preview .guide-card { min-height:0; }
}
/* Homepage: a calmer, more specific presentation for industrial buyers. */
.home-page .hero { height:auto; min-height:min(780px,88svh); padding:136px 0 88px; background-position:center 44%; }
.home-page .hero::before { background:linear-gradient(90deg,rgba(0,27,56,.94) 0%,rgba(0,35,70,.82) 45%,rgba(0,40,79,.34) 100%); }
.home-page .hero-content { width:100%; max-width:1200px; padding:0 20px; text-align:left; }
.home-page .hero-kicker { display:inline-block; margin-bottom:1.25rem; padding-left:.8rem; border-left:3px solid #ee4a4e; color:#dceeff; font-size:.8rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.home-page .hero h1 { max-width:850px; margin-bottom:1.35rem; font-size:clamp(2.8rem,4.6vw,4.25rem); line-height:1.1; letter-spacing:-.03em; text-shadow:none; }
.home-page .hero p { max-width:690px; margin:0; color:#edf5ff; font-size:clamp(1.05rem,1.4vw,1.18rem); line-height:1.65; text-shadow:none; }
.home-page .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.9rem; margin-top:2rem; }
.home-page .hero-actions .cta-button,.home-page .hero-secondary { display:inline-flex; align-items:center; justify-content:center; min-height:50px; margin:0; padding:.85rem 1.4rem; border-radius:9px; font-size:1rem; font-weight:750; line-height:1.2; text-decoration:none; transition:background .2s ease,border-color .2s ease,transform .2s ease; }
.home-page .hero-actions .cta-button { background:#d62732; box-shadow:0 10px 24px rgba(0,0,0,.16); }
.home-page .hero-actions .cta-button:hover { background:#b91e29; box-shadow:0 10px 24px rgba(0,0,0,.2); transform:translateY(-2px); }
.home-page .hero-secondary { gap:.5rem; border:1px solid rgba(255,255,255,.62); color:#fff; background:rgba(255,255,255,.07); }
.home-page .hero-secondary:hover { border-color:#fff; background:rgba(255,255,255,.17); transform:translateY(-2px); }
.home-page .why-us { padding:4.5rem 0; }
.home-page .why-us .section-title { max-width:760px; margin-bottom:2rem; text-align:left; }
.home-page .why-us .section-title h2 { font-size:clamp(2rem,3.2vw,2.7rem); line-height:1.18; }
.home-page .why-us .section-title h2::after { display:none; }
.home-page .why-us .section-title p { margin-top:.8rem; color:#536273; font-size:1.08rem; line-height:1.6; }
.home-page .why-us-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; padding:0; }
.home-page .why-us-card { padding:1.7rem; border:1px solid #dce6ee; border-radius:16px; box-shadow:0 7px 22px rgba(0,47,95,.045); text-align:left; }
.home-page .why-us-card:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,47,95,.09); }
.home-page .why-us-number { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:9px; background:#edf6fc; color:#005f9e; font-size:.85rem; font-weight:800; }
.home-page .why-us-card h3 { margin:1.1rem 0 .55rem; font-size:1.2rem; line-height:1.3; }
.home-page .why-us-card p { color:#536273; font-size:.97rem; line-height:1.65; }
.home-page .services { padding:4.5rem 0; background:#f5f8fb; }
.home-page .services .section-title { margin-bottom:2rem; }
.home-page .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; max-width:1200px; padding:0; }
.home-page .service-card { display:flex; flex-direction:column; border-radius:16px; box-shadow:0 8px 24px rgba(0,47,95,.065); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.home-page .service-card:hover { transform:translateY(-4px); border-color:#80b7da; box-shadow:0 14px 30px rgba(0,47,95,.12); }
.home-page .service-image { height:255px; }
.home-page .service-image img { transition:transform .35s ease; }
.home-page .service-card:hover .service-image img { transform:scale(1.025); }
.home-page .service-card h3 { padding:1.35rem 1.5rem .6rem; font-size:1.35rem; font-weight:700; }
.home-page .service-card p { padding:0 1.5rem 1.2rem; font-size:1rem; line-height:1.6; }
.home-page .service-card .learn-more { margin:auto 1.5rem 1.55rem; padding:0; border-radius:0; background:none; color:#005f9e; font-weight:750; }
.home-page .service-card .learn-more::after { content:' →'; }
.home-page .service-card .learn-more:hover { transform:none; box-shadow:none; text-decoration:underline; }
.home-page .service-contact-card { display:flex; flex-direction:column; justify-content:center; min-height:390px; padding:clamp(2rem,4vw,3.5rem); border-radius:16px; background:linear-gradient(135deg,#002f5f 0%,#07598f 100%); box-shadow:0 12px 30px rgba(0,47,95,.12); color:#fff; }
.home-page .service-contact-kicker { color:#a9d9f7; font-size:.8rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.home-page .service-contact-card h3 { max-width:430px; margin:.85rem 0 1rem; color:#fff; font-size:clamp(1.65rem,3vw,2.2rem); line-height:1.2; }
.home-page .service-contact-card p { max-width:390px; color:#e3eff8; line-height:1.7; }
.home-page .service-contact-card a { align-self:flex-start; margin-top:1.6rem; padding:.8rem 1.1rem; border-radius:8px; background:#fff; color:#002f5f; font-weight:750; text-decoration:none; }
.home-page .service-contact-card a:hover { background:#e9f5fd; }
.home-page .features { padding:4.5rem 0; background:#f5f8fb; }
.home-page .features .svc-wrap { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem; max-width:1200px; }
.home-page .features .svc-section { max-width:none; margin:0; padding:clamp(1.5rem,3vw,2.2rem); border:1px solid #dce6ee; border-radius:16px; background:#fff; }
.home-page .features .svc-section:first-child,.home-page .features .svc-faq,.home-page .features .knowledge-preview { grid-column:1 / -1; }
.home-page .features .svc-section h2 { margin-bottom:1rem; font-size:clamp(1.55rem,2.5vw,2rem); }
.home-page .features .svc-section p { color:#506171; line-height:1.7; }
.home-page .features .svc-section:first-child > p { max-width:800px; }
.home-page .features .svc-steps { grid-template-columns:repeat(6,minmax(0,1fr)); gap:1rem; margin-top:1.5rem; }
.home-page .features .svc-steps li { grid-column:span 2; min-height:120px; padding:1.1rem 1.1rem 1.1rem 3.65rem; border:1px solid #e0eaf2; border-radius:12px; background:#f7fafc; line-height:1.6; }
.home-page .features .svc-steps li:nth-child(n+4) { grid-column:span 3; }
.home-page .features .svc-steps li::before { left:1rem; top:1rem; }
.home-page .features .svc-list { gap:1rem; }
.home-page .features .svc-faq h2 { margin-bottom:1.2rem; }
.home-page .home-faq-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 2rem; }
.home-page .home-faq-item { padding:1.15rem 0; border-top:1px solid #e2eaf1; }
.home-page .home-faq-item h3 { margin:0 0 .45rem; line-height:1.35; }
.home-page .home-faq-item p { margin:0; }
.home-page .features .knowledge-preview { margin-top:0; background:#fff; }
.home-page .mission { padding:2.25rem 0; background:#f5f8fb; color:#0b2949; }
.home-page .mission-content { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.65rem 2rem; max-width:1200px; margin:0 auto; padding:2rem 2.25rem; border:1px solid #dce6ee; border-left:4px solid #d62732; border-radius:14px; background:#fff; box-shadow:0 12px 30px rgba(0,47,95,.06); text-align:left; }
.home-page .mission-kicker { grid-column:1 / -1; color:#00649d; font-size:.78rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.home-page .mission-title { max-width:700px; margin:0; color:#0b2949; font-size:clamp(1.7rem,2.8vw,2.35rem); line-height:1.15; }
.home-page .mission-text { grid-column:1; max-width:700px; margin:0; color:#4a5d70; font-size:1rem; line-height:1.6; }
.home-page .mission-link { grid-column:2; grid-row:2 / span 2; display:inline-flex; align-items:center; justify-content:center; gap:.4rem; min-height:48px; padding:.8rem 1.25rem; border-radius:8px; background:#002f5f; color:#fff; font-weight:750; text-decoration:none; }
.home-page .mission-link:hover { background:#004579; }
.home-page footer { padding:2.75rem 0 1.5rem; }
.home-page .footer-content { gap:2rem; margin-bottom:1.75rem; }
.home-page .footer-section h3 { margin-bottom:1rem; }
.home-page .footer-links li { margin-bottom:.55rem; }
.home-page .footer-bottom { padding-top:1.25rem; }
@media(max-width:992px) {
  .home-page .hero { min-height:100svh; padding:112px 0 54px; }
  .home-page .hero::before { background:linear-gradient(180deg,rgba(0,29,60,.8),rgba(0,37,73,.78)); }
  .home-page .hero-content { max-width:750px; padding:20px; text-align:center; }
  .home-page .hero-kicker { padding:0 0 .55rem; border-left:0; border-bottom:3px solid #ee4a4e; }
  .home-page .hero p { margin:0 auto; }
  .home-page .hero-actions { justify-content:center; }
}
@media(max-width:800px) {
  .home-page .why-us-grid,.home-page .services-grid { grid-template-columns:minmax(0,1fr); }
  .home-page .features .svc-wrap { grid-template-columns:minmax(0,1fr); }
  .home-page .features .svc-section:first-child,.home-page .features .svc-faq,.home-page .features .knowledge-preview { grid-column:1; }
  .home-page .features .svc-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .home-page .features .svc-steps li,.home-page .features .svc-steps li:nth-child(n+4) { grid-column:auto; }
  .home-page .mission-content { grid-template-columns:minmax(0,1fr); }
  .home-page .mission-link { grid-column:1; grid-row:auto; justify-self:start; margin-top:.6rem; }
}
@media(max-width:620px) {
  .home-page .hero { padding:105px 0 48px; }
  .home-page .hero h1 { font-size:clamp(1.9rem,8vw,2.6rem); }
  .home-page .hero-actions { display:grid; grid-template-columns:minmax(0,1fr); }
  .home-page .hero-actions .cta-button,.home-page .hero-secondary { width:100%; }
  .home-page .why-us,.home-page .services { padding:3.5rem 0; }
  .home-page .why-us-card { padding:1.4rem; }
  .home-page .service-image { height:215px; }
  .home-page .service-contact-card { min-height:320px; padding:2rem; }
  .home-page .features { padding:3.5rem 0; }
  .home-page .features .svc-section { padding:1.5rem; }
  .home-page .features .svc-steps,.home-page .home-faq-grid { grid-template-columns:minmax(0,1fr); }
  .home-page .features .svc-steps li { min-height:0; }
  .home-page .mission { padding:1.75rem 0; }
  .home-page .mission-content { padding:1.5rem; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

/* ======================================================================
   Site-wide design system. October 2026.
   One visual language for every page, derived from the homepage: light
   hero card with a kicker, bordered white cards with soft shadows, square
   tinted badges, solid red primary button, navy secondary button, FAQ as
   ruled rows, closing call to action as a white bar with a red edge.
   Older, page-specific rules above are overridden here; legacy classes
   that no page uses any more are simply dead.
   ====================================================================== */
:root {
  --ink:#0b2949; --muted:#536273; --muted-2:#425669; --line:#dce6ee; --line-2:#e2eaf1;
  --tint:#edf6fc; --tint-bg:#f5f8fb; --link:#005f9e; --cta:#d62732; --cta-hover:#b91e29;
  --navy:#002f5f; --navy-hover:#004579; --r-card:16px; --r-ctrl:9px;
  --shadow-card:0 7px 22px rgba(0,47,95,.045); --shadow-card-hover:0 12px 28px rgba(0,47,95,.09);
}

/* Kicker above a heading */
.kicker, .page-kicker, .knowledge-kicker, .section-kicker { display:inline-block; color:var(--link); font-size:.78rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }

/* Buttons */
.cta-button, .btn-dark, .btn-outline {
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:50px; margin:0; padding:.85rem 1.4rem;
  border:0; border-radius:var(--r-ctrl); font-size:1rem; font-weight:750; line-height:1.2; text-decoration:none; cursor:pointer;
  transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.cta-button { background:var(--cta); color:#fff; box-shadow:0 10px 24px rgba(0,0,0,.12); }
.cta-button:hover { background:var(--cta-hover); transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); }
.btn-dark { background:var(--navy); color:#fff; }
.btn-dark:hover { background:var(--navy-hover); }
.btn-outline { border:1px solid #b9cfe0; background:#fff; color:var(--navy); }
.btn-outline:hover { border-color:var(--link); background:var(--tint); }
.arrow-link { display:inline-flex; align-items:center; gap:.4rem; color:var(--link); font-weight:750; text-decoration:none; text-underline-offset:4px; }
.arrow-link:hover { text-decoration:underline; }

/* Page shell for subpages: light gradient top, generous top padding under the fixed header */
.page, .svc-page { padding:130px 0 0; background:linear-gradient(180deg,#f5f9fd 0,#fff 420px); }
.svc-page { padding-bottom:4rem; }
.page-wrap { max-width:1200px; }
.page-section { margin:0 0 3.5rem; }
.page-section > p, .page-section .intro { max-width:760px; color:var(--muted-2); font-size:1.05rem; line-height:1.7; }

/* Light hero card: kicker, big heading, lead, optional media or button */
.page-hero, .svc-hero, .knowledge-hero {
  display:grid; grid-template-columns:minmax(0,1fr); gap:2rem; align-items:center; margin:0 0 3rem;
  padding:clamp(2rem,5vw,3.5rem); border:1px solid var(--line); border-radius:20px;
  background:#fff; box-shadow:0 12px 36px rgba(0,47,95,.06);
}
.page-hero.has-media, .svc-hero.has-media { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.page-hero .kicker, .svc-hero .kicker, .knowledge-hero .kicker { margin-bottom:.65rem; }
.page-hero h1, .svc-hero h1, .knowledge-hero h1 { max-width:780px; margin:0 0 1rem; color:var(--primary); font-size:clamp(2rem,4vw,3rem); line-height:1.14; letter-spacing:-.025em; }
.page-hero .lead, .page-hero > div > p, .svc-hero .lead, .knowledge-hero p { max-width:720px; margin:0; color:var(--muted-2); font-size:clamp(1.05rem,1.7vw,1.18rem); line-height:1.7; }
.page-hero .lead + .lead, .page-hero > div > p + p { margin-top:.9rem; }
.page-hero .cta-button, .svc-hero .cta-button, .page-hero .hero-actions { margin-top:1.6rem; }
.page-hero .hero-actions { display:flex; flex-wrap:wrap; gap:.9rem; }
.page-hero .hero-actions .cta-button { margin-top:0; }
.page-hero img, .svc-hero img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:var(--r-card); box-shadow:0 12px 30px rgba(0,47,95,.12); }
.svc-page .breadcrumbs ol { margin-bottom:1.25rem; }

/* Section heading: kicker + h2 on the left, short lead on the right */
.section-head, .knowledge-section-heading { display:block; margin-bottom:1.5rem; }
.section-head h2, .knowledge-section-heading h2 { margin:.35rem 0 0; color:var(--primary); font-size:clamp(1.65rem,2.8vw,2.2rem); line-height:1.2; }
.section-head > p, .knowledge-section-heading > p { max-width:720px; margin:.7rem 0 0; color:var(--muted); font-size:1.05rem; line-height:1.65; }

/* Cards */
.card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.card-grid.cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.card-grid.cols-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.card, .svc-why li, .why-us-card {
  min-width:0; padding:1.7rem; border:1px solid var(--line); border-radius:var(--r-card); background:#fff; box-shadow:var(--shadow-card); text-align:left;
  transition:transform .2s ease,box-shadow .2s ease;
}
.card:hover, .svc-why li:hover { transform:translateY(-3px); box-shadow:var(--shadow-card-hover); }
.card-badge, .why-us-number { display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:9px; background:var(--tint); color:var(--link); font-size:.85rem; font-weight:800; }
.card-badge i { font-size:1rem; }
.card h3, .svc-why li strong, .why-us-card h3 { display:block; margin:1.1rem 0 .55rem; color:var(--primary); font-size:1.2rem; line-height:1.3; }
.card h3:first-child, .svc-why li strong:first-child { margin-top:0; }
.card p, .svc-why li span, .why-us-card p { display:block; margin:0; color:var(--muted); font-size:.97rem; line-height:1.65; }
.card p + p { margin-top:.6rem; }
.card a, .svc-why li a { color:var(--link); }
.svc-why { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; padding:0; list-style:none; }
.svc-why li { display:block; padding:1.4rem 1.5rem; }
.card.card-navy { border-color:var(--navy); background:linear-gradient(135deg,#002f5f 0%,#07598f 100%); box-shadow:0 12px 30px rgba(0,47,95,.12); color:#fff; }
.card.card-navy h3 { color:#fff; }
.card.card-navy p { color:#e3eff8; }
.card.card-navy .kicker { color:#a9d9f7; }
.card.card-navy .card-badge { background:rgba(255,255,255,.16); color:#fff; }
.card.card-navy a:not(.cta-button) { color:#fff; }

/* Content blocks inside subpages */
.svc-section { margin:2.75rem 0; max-width:760px; }
.svc-section h2 { color:var(--primary); font-size:clamp(1.45rem,2.2vw,1.8rem); line-height:1.25; margin-bottom:1rem; }
.svc-section p, .svc-section li { color:#3f5265; line-height:1.7; }
.svc-section.wide { max-width:none; }
.svc-list { gap:.7rem; }
.svc-list li::before { border-radius:3px; background:var(--link); }
.svc-brands li { padding:.3rem .75rem; border:0; border-radius:100px; background:var(--tint); color:var(--link); font-size:.86rem; font-weight:750; letter-spacing:.02em; }
.svc-steps { grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1rem; margin-top:1.25rem; }
.svc-steps li { min-height:0; padding:1.1rem 1.1rem 1.1rem 3.65rem; border:1px solid #e0eaf2; border-radius:12px; background:#f7fafc; line-height:1.6; }
.svc-steps li::before { left:1rem; top:1rem; width:2.1rem; height:2.1rem; border-radius:9px; background:var(--tint); color:var(--link); font-size:.9rem; font-weight:800; }
.svc-related { grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.svc-related a { padding:1.05rem 1.2rem; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--primary); font-weight:700; line-height:1.4; box-shadow:0 4px 18px rgba(0,47,95,.035); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.svc-related a:hover, .svc-related a:focus-visible { border-color:#87b8da; transform:translateY(-2px); box-shadow:var(--shadow-card-hover); }

/* FAQ as ruled rows (two columns when room allows) */
.faq-list, .home-faq-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 2rem; }
.faq-row, .home-faq-item { padding:1.15rem 0; border-top:1px solid var(--line-2); }
.faq-row h3, .home-faq-item h3 { margin:0 0 .45rem; color:var(--primary); font-size:1.08rem; line-height:1.35; }
.faq-row p, .home-faq-item p { margin:0; color:#3f5265; line-height:1.65; }
.svc-faq h3 { margin:0 0 .45rem; padding-top:1.15rem; border-top:1px solid var(--line-2); font-size:1.08rem; }
.svc-faq h2 + h3 { margin-top:.25rem; }
.svc-faq p { margin-bottom:1.15rem; }

/* Closing call to action: white bar with a red edge and a navy button */
.cta-bar, .svc-page .service-cta, .mission-content {
  display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.4rem 2rem; max-width:1200px; margin:3rem 0 0;
  padding:2rem 2.25rem; border:1px solid var(--line); border-left:4px solid var(--cta); border-radius:14px; background:#fff;
  box-shadow:0 12px 30px rgba(0,47,95,.06); text-align:left; color:var(--ink);
}
.cta-bar > *, .svc-page .service-cta > * { grid-column:1; }
.cta-bar .kicker { margin-bottom:.25rem; }
.cta-bar h2, .svc-page .service-cta h2 { max-width:700px; margin:0; color:var(--ink); font-size:clamp(1.5rem,2.6vw,2.1rem); line-height:1.15; }
.cta-bar p, .svc-page .service-cta p { max-width:700px; margin:0; color:#4a5d70; font-size:1rem; line-height:1.6; }
.cta-bar .cta-button, .cta-bar .btn-dark, .svc-page .service-cta .cta-button { grid-column:2; grid-row:1 / -1; align-self:center; background:var(--navy); box-shadow:none; }
.cta-bar .cta-button:hover, .cta-bar .btn-dark:hover, .svc-page .service-cta .cta-button:hover { background:var(--navy-hover); transform:none; }
.cta-bar .cta-contacts { display:flex; flex-wrap:wrap; gap:.5rem 1.5rem; margin-top:.5rem; }
.cta-bar .cta-contacts a { display:inline-flex; align-items:center; gap:.5rem; color:var(--navy); font-weight:700; text-decoration:none; }
.cta-bar .cta-contacts a:hover { text-decoration:underline; }
.cta-bar .cta-contacts i { color:var(--link); }
.cta-band { padding:0 0 3.5rem; }
.cta-band .cta-bar { margin-top:0; }

/* Offer page: one row per service */
.service-rows { display:grid; gap:1.25rem; }
.service-row { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); overflow:hidden; border:1px solid var(--line); border-radius:var(--r-card); background:#fff; box-shadow:var(--shadow-card); scroll-margin-top:110px; }
.service-row:nth-child(even) { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); }
.service-row:nth-child(even) .service-media { order:2; }
.service-media { position:relative; min-height:280px; }
.service-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.service-body { display:flex; flex-direction:column; justify-content:center; padding:clamp(1.5rem,3vw,2.4rem); }
.service-body .kicker { margin-bottom:.5rem; }
.service-body h2 { margin:0 0 .75rem; color:var(--primary); font-size:clamp(1.4rem,2.2vw,1.8rem); line-height:1.25; }
.service-body p { margin:0; color:var(--muted); line-height:1.7; }
.service-body .svc-more { margin-top:1.1rem; }
.service-body .svc-more a { color:var(--link); font-weight:750; text-decoration:none; }
.service-body .svc-more a:hover { text-decoration:underline; }

/* Contact page */
.contact-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:1.25rem; align-items:start; }
.contact-list { display:grid; gap:1.1rem; margin-top:1.4rem; }
.contact-list > div { display:grid; grid-template-columns:38px minmax(0,1fr); gap:1rem; align-items:start; }
.contact-list h3 { margin:.3rem 0 .2rem; color:var(--primary); font-size:1rem; }
.contact-list p { margin:0; color:#3f5265; line-height:1.55; }
.contact-list a { color:var(--link); text-decoration:none; text-underline-offset:3px; }
.contact-list a:hover { text-decoration:underline; }
.card h2, .form-card h2 { margin:0 0 .5rem; color:var(--primary); font-size:1.45rem; line-height:1.25; }
.form-card .form-row { gap:1rem; margin-bottom:0; }
.form-card .form-group { margin-bottom:1rem; }
.form-card .form-group label { margin-bottom:.45rem; font-size:.92rem; font-weight:700; color:var(--ink); }
.form-card .form-group input, .form-card .form-group textarea { padding:.85rem 1rem; border:1px solid #c9d8e4; border-radius:10px; background:#fff; font-size:1rem; min-height:0; }
.form-card .form-group textarea { min-height:140px; }
.form-card .form-group input:focus, .form-card .form-group textarea:focus { border-color:var(--link); box-shadow:0 0 0 3px rgba(0,122,204,.15); background:#fff; }
.form-card .consent-group { margin:.25rem 0 1.25rem; padding:.75rem .9rem; background:var(--tint-bg); border:1px solid var(--line-2); border-radius:10px; }
.form-card .checkbox-container { padding:0; gap:.75rem; }
.form-card .checkbox-container:hover { background:transparent; }
.form-card .consent-text { font-size:.92rem; color:#3f5265; }
.form-card input[type="checkbox"] { accent-color:var(--link); }
.form-card input[type="checkbox"]:checked { background-color:var(--link); border-color:var(--link); }
.form-card .submit-btn { width:auto; min-width:220px; padding:.85rem 1.6rem; border-radius:var(--r-ctrl); background:var(--cta); font-size:1rem; font-weight:750; box-shadow:0 10px 24px rgba(0,0,0,.12); transition:background .2s ease,transform .2s ease,box-shadow .2s ease; }
.form-card .submit-btn:hover { background:var(--cta-hover); transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.18); }
.map-card { padding:0; overflow:hidden; }
.map-card iframe { display:block; width:100%; height:420px; border:0; }
.map-card:hover { transform:none; box-shadow:var(--shadow-card); }

/* Not found page */
.not-found-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin:0 0 1.6rem; padding:0; list-style:none; }
.not-found-links a { display:block; padding:1.05rem 1.2rem; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--primary); font-weight:700; text-decoration:none; box-shadow:0 4px 18px rgba(0,47,95,.035); }
.not-found-links a:hover { border-color:#87b8da; }

/* Footer, the same rhythm as the homepage */
footer { padding:2.75rem 0 1.5rem; }
.footer-content { gap:2rem; margin-bottom:1.75rem; }
.footer-section h3 { margin-bottom:1rem; }
.footer-links li { margin-bottom:.55rem; }
.footer-bottom { padding-top:1.25rem; }

@media(max-width:992px) {
  .page-hero.has-media, .svc-hero.has-media { grid-template-columns:minmax(0,1fr); }
  .page-hero img, .svc-hero img { max-height:360px; }
  .card-grid, .card-grid.cols-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:800px) {
  .service-row, .service-row:nth-child(even) { grid-template-columns:minmax(0,1fr); }
  .service-row:nth-child(even) .service-media { order:0; }
  .service-media { min-height:220px; }
  .faq-list { grid-template-columns:minmax(0,1fr); }
  .cta-bar, .svc-page .service-cta { grid-template-columns:minmax(0,1fr); }
  .cta-bar .cta-button, .cta-bar .btn-dark, .svc-page .service-cta .cta-button { grid-column:1; grid-row:auto; justify-self:start; margin-top:.8rem; }
  .svc-why { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:620px) {
  .page, .svc-page { padding-top:100px; }
  .page-hero, .svc-hero, .knowledge-hero { margin-bottom:2.25rem; padding:1.5rem; border-radius:18px; }
  .page-section { margin-bottom:2.75rem; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns:minmax(0,1fr); }
  .card, .svc-why li { padding:1.4rem; }
  .cta-bar, .svc-page .service-cta { padding:1.5rem; }
  .form-card .submit-btn { width:100%; }
  .map-card iframe { height:320px; }
  .svc-steps { grid-template-columns:minmax(0,1fr); }
}
.card .card-title { margin:1rem 0 0; color:var(--primary); font-size:1.08rem; font-weight:700; line-height:1.4; }
.form-card { margin:0; }
.form-card h2 { text-align:left; margin-bottom:1.25rem; }
.form-card h2::after { display:none; }
.page-section .intro + .intro { margin-top:.9rem; }
/* Follow-ups after the first visual pass */
footer .contact-info { padding:0; background:none; border-radius:0; overflow:visible; }
footer .contact-info::before { display:none; }
.svc-section h3 { margin:1.3rem 0 .45rem; color:var(--primary); font-size:1.08rem; line-height:1.35; }
.svc-section h3 + ul, .svc-section h3 + p { margin-top:0; }
.svc-steps { grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); }
/* Contact page, second pass: tinted panel, navy info card stretched to the form height, larger text */
.contact-layout { align-items:stretch; padding:1.25rem; border:1px solid #dce8f3; border-radius:20px; background:#f5f9fd; }
.contact-card { display:flex; flex-direction:column; padding:2rem; border-color:var(--navy); background:linear-gradient(160deg,#002f5f 0%,#07598f 100%); box-shadow:0 12px 30px rgba(0,47,95,.14); color:#fff; }
.contact-card:hover { transform:none; box-shadow:0 12px 30px rgba(0,47,95,.14); }
.contact-card h2 { color:#fff; font-size:1.6rem; }
.contact-list { gap:1.5rem; margin-top:1.75rem; }
.contact-list > div { grid-template-columns:44px minmax(0,1fr); gap:1.1rem; }
.contact-list .card-badge { width:44px; height:44px; background:rgba(255,255,255,.14); color:#fff; }
.contact-list .card-badge i { font-size:1.15rem; }
.contact-list h3 { margin:.15rem 0 .3rem; color:#fff; font-size:1.12rem; }
.contact-list p { color:#dbe8f5; font-size:1.08rem; line-height:1.6; }
.contact-list a { color:#fff; text-decoration:underline; text-decoration-color:rgba(255,255,255,.4); text-underline-offset:4px; }
.contact-list a:hover { text-decoration-color:#fff; }
.form-card { padding:2rem; box-shadow:0 12px 30px rgba(0,47,95,.08); }
.form-card h2 { font-size:1.6rem; }
@media(max-width:620px) { .contact-layout { padding:.75rem; border-radius:16px; } .contact-card, .form-card { padding:1.4rem; } }
/* Third pass: the page background stays flat white under hero cards */
.page, .svc-page, .knowledge-page { background:#fff; }
.contact-layout, .knowledge-preview { background:var(--tint-bg); border-color:var(--line); }
/* Subtle motion, October 2026: hero entrance, blocks revealed on scroll, slow zoom of the homepage photo.
   .reveal / .is-visible are set by initializeReveal() in script.seo-20260929.js. Nothing moves with "reduce motion". */
@keyframes fa-rise { from { opacity:0; translate:0 var(--rise,18px); } to { opacity:1; translate:none; } }
@keyframes fa-settle { from { scale:1.08; } to { scale:1; } }
@keyframes fa-hero-zoom { from { scale:1; } to { scale:1.08; } }
@keyframes fa-fade { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:no-preference) {
  .home-page .hero::after { content:''; position:absolute; inset:0; z-index:0; background:inherit; animation:fa-hero-zoom 24s ease-in-out infinite alternate; }
  .home-page .hero-content > h1, .home-page .hero-content > .cta-button { animation:fa-rise .8s cubic-bezier(.2,.65,.25,1) both; }
  .home-page .hero-content > p span { animation:fa-fade .7s ease both; }
  .home-page .hero-content > p span:nth-child(1) { animation-delay:.3s; }
  .home-page .hero-content > p span:nth-child(2) { animation-delay:.5s; }
  .home-page .hero-content > p span:nth-child(3) { animation-delay:.7s; }
  .home-page .hero-content > p span:nth-child(4) { animation-delay:.9s; }
  .home-page .hero-content > .cta-button { animation-delay:1.1s; }
  :is(.page-hero,.svc-hero) > div > *, .knowledge-hero > * { animation:fa-rise .7s cubic-bezier(.2,.65,.25,1) both; }
  :is(.page-hero,.svc-hero) > div > :nth-child(2), .knowledge-hero > :nth-child(2) { animation-delay:.08s; }
  :is(.page-hero,.svc-hero) > div > :nth-child(3), .knowledge-hero > :nth-child(3) { animation-delay:.16s; }
  :is(.page-hero,.svc-hero) > div > :nth-child(n+4), .knowledge-hero > :nth-child(n+4) { animation-delay:.24s; }
  .reveal { --rise:28px; opacity:0; translate:0 28px; }
  .reveal.is-visible { animation:fa-rise .8s cubic-bezier(.2,.65,.25,1) var(--reveal-delay,0s) both; }
  .reveal :is(.service-media,.service-image) img { scale:1.08; }
  .reveal.is-visible :is(.service-media,.service-image) img { animation:fa-settle 1.4s cubic-bezier(.2,.65,.25,1) var(--reveal-delay,0s) both; }
  .home-page .service-card .learn-more::after { display:inline-block; margin-left:.3em; transition:translate .25s ease; }
  .home-page .service-card:hover .learn-more::after { translate:4px 0; }
  .home-page .guide-link span { display:inline-block; transition:translate .25s ease; }
  .home-page .guide-card:hover .guide-link span { translate:4px 0; }
}
@media print { .reveal { opacity:1 !important; translate:none !important; } }
/* Cookie notice and the Google map placeholder, October 2026 (initializeCookieConsent in script.seo-20260929.js).
   Both choices are the same size on purpose: refusing must be as easy as accepting. */
.cookie-banner { position:fixed; left:16px; right:16px; bottom:16px; z-index:1100; display:flex; align-items:center; gap:1rem 2rem; max-width:1040px; margin:0 auto; padding:1.15rem 1.5rem; border:1px solid var(--line); border-radius:var(--r-card); background:#fff; color:var(--ink); box-shadow:0 16px 40px rgba(4,42,71,.16); }
.cookie-banner p { flex:1; margin:0; color:var(--ink); font-size:.95rem; line-height:1.55; }
.cookie-banner a { color:var(--link); text-decoration:underline; text-underline-offset:3px; }
.cookie-banner-actions { display:grid; grid-template-columns:1fr 1fr; flex-shrink:0; gap:.75rem; }
.cookie-banner button { min-width:150px; min-height:46px; padding:.7rem 1.2rem; border:0; border-radius:var(--r-ctrl); font:inherit; font-size:.95rem; font-weight:750; cursor:pointer; transition:background .2s ease; }
.cookie-banner button:focus-visible, .cookie-banner a:focus-visible { outline:2px solid var(--link); outline-offset:3px; }
.cookie-btn-essential { background:var(--navy); color:#fff; }
.cookie-btn-essential:hover { background:var(--navy-hover); }
.cookie-btn-accept { background:var(--cta); color:#fff; }
.cookie-btn-accept:hover { background:var(--cta-hover); }
.footer-links .cookie-settings-link { padding:0; border:0; background:none; color:var(--white); font:inherit; font-size:.93rem; line-height:1.6; text-align:left; cursor:pointer; transition:var(--transition); }
.footer-links .cookie-settings-link:hover { color:var(--accent); padding-left:5px; }
.map-consent { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; min-height:420px; padding:2rem 1.5rem; background:var(--tint-bg); text-align:center; }
.map-consent p { max-width:34rem; margin:0; color:var(--muted); line-height:1.6; }
.map-consent a { color:var(--link); font-weight:700; }
.cookie-banner[hidden], .map-consent[hidden], .map-consent [hidden], .map-card iframe[hidden] { display:none; }
@media (max-width:640px) {
  .cookie-banner { left:12px; right:12px; bottom:12px; flex-direction:column; align-items:stretch; padding:1rem; }
  .cookie-banner-actions button { min-width:0; }
  .map-consent { min-height:310px; }
}
@media (prefers-reduced-motion:no-preference) {
  .cookie-banner { animation:fa-rise .5s cubic-bezier(.2,.65,.25,1) both; }
}
