        :root {
            --slate-900: #0f1419;
            --slate-800: #1a2332;
            --slate-700: #2a3444;
            --slate-600: #3d4a5c;
            --slate-400: #8896a6;
            --slate-200: #c8d1dc;
            --cream: #f7f5f0;
            --amber: #d4a853;
            --amber-light: #e8c578;
            --amber-dark: #b8923f;
            --white: #ffffff;
            --font-display: 'Bebas Neue', sans-serif;
            --font-body: 'DM Sans', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            background: var(--slate-900);
            color: var(--cream);
            overflow-x: clip;          /* clip (not hidden) keeps position:sticky working */
            line-height: 1.6;
        }

        /* Topographic Pattern Animation */
        .topo-pattern {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 0;
            opacity: 0.03;
        }

        .topo-pattern svg {
            width: 100%;
            height: 100%;
        }

        .topo-line {
            fill: none;
            stroke: var(--amber);
            stroke-width: 1;
            animation: topoFlow 20s linear infinite;
        }

        .topo-line:nth-child(2) { animation-delay: -5s; }
        .topo-line:nth-child(3) { animation-delay: -10s; }
        .topo-line:nth-child(4) { animation-delay: -15s; }

        @keyframes topoFlow {
            0% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: 1000; }
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1.5rem 4rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(to bottom, var(--slate-900) 0%, transparent 100%);
            transition: all 0.4s ease;
        }

        header.scrolled {
            background: rgba(15, 20, 25, 0.95);
            backdrop-filter: blur(20px);
            padding: 1rem 4rem;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: var(--amber);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .logo-icon::before {
            content: '';
            position: absolute;
            width: 60%;
            height: 60%;
            border: 2px solid var(--slate-900);
            border-radius: 2px;
            transform: rotate(45deg);
        }

        .logo-icon::after {
            content: '';
            position: absolute;
            width: 8px;
            height: 8px;
            background: var(--slate-900);
            border-radius: 50%;
        }

        .logo-text {
            font-family: var(--font-display);
            font-size: 1.8rem;
            color: var(--white);
            letter-spacing: 0.1em;
        }

        nav {
            display: flex;
            gap: 3rem;
        }

        nav a {
            color: var(--slate-200);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            position: relative;
            transition: color 0.3s ease;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--amber);
            transition: width 0.3s ease;
        }

        nav a:hover {
            color: var(--amber);
        }

        nav a:hover::after {
            width: 100%;
        }

        .header-contact {
            display: flex;
            gap: 2rem;
        }

        .header-phone {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--amber);
            font-weight: 600;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .header-phone:hover {
            transform: translateY(-2px);
        }

        .header-phone svg {
            width: 18px;
            height: 18px;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding: 8rem 4rem 4rem;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            right: 0;
            width: 60%;
            height: 100%;
            background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-700) 100%);
            clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
            z-index: 1;
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://geocvet.com/images/obj1.png') center/cover no-repeat;
            opacity: 0.15;
            mix-blend-mode: luminosity;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(212, 168, 83, 0.15);
            border: 1px solid rgba(212, 168, 83, 0.3);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.85rem;
            color: var(--amber);
            margin-bottom: 2rem;
            animation: fadeInUp 0.8s ease forwards;
            opacity: 0;
        }

        .hero-badge::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--amber);
            border-radius: 50%;
            animation: pulse 2s ease infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.2); }
        }

        .hero h1 {
            font-family: var(--font-display);
            font-size: clamp(3.5rem, 8vw, 7rem);
            line-height: 0.95;
            letter-spacing: 0.02em;
            margin-bottom: 1.5rem;
            animation: fadeInUp 0.8s ease 0.2s forwards;
            opacity: 0;
        }

        .hero h1 span {
            color: var(--amber);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--slate-400);
            max-width: 500px;
            margin-bottom: 2.5rem;
            animation: fadeInUp 0.8s ease 0.4s forwards;
            opacity: 0;
        }

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

        .hero-cta {
            display: flex;
            gap: 1.5rem;
            animation: fadeInUp 0.8s ease 0.6s forwards;
            opacity: 0;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 2rem;
            font-family: var(--font-body);
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s ease;
            cursor: pointer;
            border: none;
        }

        .btn-primary {
            background: var(--amber);
            color: var(--slate-900);
        }

        .btn-primary:hover {
            background: var(--amber-light);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
        }

        .btn-secondary {
            background: transparent;
            color: var(--cream);
            border: 2px solid var(--slate-600);
        }

        .btn-secondary:hover {
            border-color: var(--amber);
            color: var(--amber);
        }

        .btn svg {
            width: 18px;
            height: 18px;
            transition: transform 0.3s ease;
        }

        .btn:hover svg {
            transform: translateX(4px);
        }

        /* Stats Bar */
        .stats-bar {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: center;
            gap: 4rem;
            padding: 3rem 4rem;
            background: var(--slate-800);
            border-top: 1px solid var(--slate-700);
            border-bottom: 1px solid var(--slate-700);
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-family: var(--font-display);
            font-size: 3.5rem;
            color: var(--amber);
            line-height: 1;
        }

        .stat-label {
            color: var(--slate-400);
            font-size: 0.9rem;
            margin-top: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        /* Services Section */
        .services {
            position: relative;
            z-index: 2;
            padding: 8rem 4rem;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
        }

        .section-tag {
            display: inline-block;
            font-size: 0.85rem;
            color: var(--amber);
            text-transform: uppercase;
            letter-spacing: 0.2em;
            margin-bottom: 1rem;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 5vw, 4rem);
            color: var(--white);
            letter-spacing: 0.02em;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .service-card {
            background: var(--slate-800);
            border: 1px solid var(--slate-700);
            border-radius: 8px;
            padding: 2.5rem 2rem;
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
            cursor: pointer;
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--amber);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .service-card:hover {
            transform: translateY(-8px);
            border-color: var(--amber);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

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

        .service-icon {
            width: 60px;
            height: 60px;
            background: rgba(212, 168, 83, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            background: var(--amber);
        }

        .service-icon svg {
            width: 28px;
            height: 28px;
            stroke: var(--amber);
            fill: none;
            stroke-width: 2;
            transition: stroke 0.3s ease;
        }

        .service-card:hover .service-icon svg {
            stroke: var(--slate-900);
        }

        .service-card h3 {
            font-family: var(--font-display);
            font-size: 1.5rem;
            color: var(--white);
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .service-card p {
            color: var(--slate-400);
            font-size: 0.95rem;
            line-height: 1.7;
        }

        .service-card .arrow {
            position: absolute;
            bottom: 2rem;
            right: 2rem;
            width: 40px;
            height: 40px;
            border: 1px solid var(--slate-600);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(-10px);
            transition: all 0.3s ease;
        }

        .service-card:hover .arrow {
            opacity: 1;
            transform: translateX(0);
        }

        .service-card .arrow svg {
            width: 16px;
            height: 16px;
            stroke: var(--amber);
        }

        /* About Section */
        .about {
            position: relative;
            z-index: 2;
            padding: 8rem 4rem;
            background: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 100%);
        }

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

        .about-visual {
            position: relative;
        }

        .about-image-main {
            width: 100%;
            height: 500px;
            background: url('https://geocvet.com/images/obj2.png') center/cover no-repeat;
            border-radius: 8px;
            position: relative;
        }

        .about-image-main::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(212, 168, 83, 0.2) 0%, transparent 50%);
            border-radius: 8px;
        }

        .about-image-accent {
            position: absolute;
            bottom: -40px;
            right: -40px;
            width: 200px;
            height: 200px;
            background: url('https://geocvet.com/images/obj3.png') center/cover no-repeat;
            border-radius: 8px;
            border: 4px solid var(--slate-900);
        }

        .about-badge {
            position: absolute;
            top: -20px;
            left: -20px;
            width: 120px;
            height: 120px;
            background: var(--amber);
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            animation: rotateBadge 20s linear infinite;
        }

        @keyframes rotateBadge {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .about-badge-inner {
            animation: rotateBadge 20s linear infinite reverse;
            text-align: center;
        }

        .about-badge span:first-child {
            font-family: var(--font-display);
            font-size: 2.5rem;
            color: var(--slate-900);
            display: block;
            line-height: 1;
        }

        .about-badge span:last-child {
            font-size: 0.7rem;
            color: var(--slate-900);
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        .about-content h2 {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            color: var(--white);
            margin-bottom: 1.5rem;
            letter-spacing: 0.02em;
        }

        .about-content h2 span {
            color: var(--amber);
        }

        .about-content > p {
            color: var(--slate-400);
            font-size: 1.1rem;
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .about-feature {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .about-feature-icon {
            width: 40px;
            height: 40px;
            background: rgba(212, 168, 83, 0.1);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .about-feature-icon svg {
            width: 20px;
            height: 20px;
            stroke: var(--amber);
            fill: none;
            stroke-width: 2;
        }

        .about-feature h3 {
            font-size: 1rem;
            color: var(--white);
            margin-bottom: 0.25rem;
        }

        .about-feature p {
            font-size: 0.85rem;
            color: var(--slate-400);
        }

        /* Equipment Section */
        .equipment {
            position: relative;
            z-index: 2;
            padding: 8rem 4rem;
            background: var(--slate-800);
        }

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

        .equipment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 4rem;
        }

        .equipment-item {
            background: var(--slate-900);
            border: 1px solid var(--slate-700);
            border-radius: 8px;
            padding: 2rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            transition: all 0.3s ease;
        }

        .equipment-item:hover {
            border-color: var(--amber);
            transform: translateX(8px);
        }

        .equipment-count {
            font-family: var(--font-display);
            font-size: 3rem;
            color: var(--amber);
            line-height: 1;
            min-width: 60px;
        }

        .equipment-info h3 {
            color: var(--white);
            font-size: 1rem;
            margin-bottom: 0.25rem;
        }

        .equipment-info p {
            color: var(--slate-400);
            font-size: 0.85rem;
        }

        /* Projects Section */
        .projects {
            position: relative;
            z-index: 2;
            padding: 8rem 4rem;
        }

        .projects-showcase {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
        }

        .project-main {
            position: relative;
            height: 500px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
        }

        .project-main img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .project-main:hover img {
            transform: scale(1.05);
        }

        .project-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15, 20, 25, 0.9) 0%, transparent 50%);
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .project-overlay h3 {
            font-family: var(--font-display);
            font-size: 2rem;
            color: var(--white);
            margin-bottom: 0.5rem;
        }

        .project-overlay p {
            color: var(--slate-400);
            font-size: 0.95rem;
        }

        .projects-side {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .project-small {
            position: relative;
            height: calc(50% - 1rem);
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
        }

        .project-small img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .project-small:hover img {
            transform: scale(1.1);
        }

        .project-small .project-overlay h3 {
            font-size: 1.3rem;
        }

        /* EU Project Highlight */
        .eu-project {
            position: relative;
            z-index: 2;
            padding: 4rem;
            background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-700) 100%);
            margin: 4rem;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 4rem;
            border: 1px solid var(--slate-600);
        }

        .eu-project-image {
            width: 300px;
            height: 200px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .eu-project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .eu-project-content h3 {
            font-family: var(--font-display);
            font-size: 1.8rem;
            color: var(--white);
            margin-bottom: 1rem;
        }

        .eu-project-content p {
            color: var(--slate-400);
            line-height: 1.7;
        }

        /* Contact Section */
        .contact {
            position: relative;
            z-index: 2;
            padding: 8rem 4rem;
            background: var(--slate-900);
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
        }

        .contact-info h2 {
            font-family: var(--font-display);
            font-size: 3rem;
            color: var(--white);
            margin-bottom: 1.5rem;
        }

        .contact-info > p {
            color: var(--slate-400);
            font-size: 1.1rem;
            margin-bottom: 3rem;
        }

        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .contact-method {
            display: flex;
            gap: 1.5rem;
            align-items: flex-start;
        }

        .contact-method-icon {
            width: 56px;
            height: 56px;
            background: rgba(212, 168, 83, 0.1);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-method-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--amber);
            fill: none;
            stroke-width: 2;
        }

        .contact-method h3 {
            color: var(--slate-400);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
        }

        .contact-method a,
        .contact-method p {
            color: var(--white);
            font-size: 1.2rem;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-method a:hover {
            color: var(--amber);
        }

        .contact-method .sub {
            color: var(--slate-400);
            font-size: 0.9rem;
            margin-top: 0.25rem;
        }

        .contact-form {
            background: var(--slate-800);
            padding: 3rem;
            border-radius: 12px;
            border: 1px solid var(--slate-700);
        }

        .contact-form h3 {
            font-family: var(--font-display);
            font-size: 1.5rem;
            color: var(--white);
            margin-bottom: 2rem;
        }

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

        .form-group label {
            display: block;
            color: var(--slate-400);
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: var(--slate-900);
            border: 1px solid var(--slate-600);
            border-radius: 6px;
            color: var(--white);
            font-family: var(--font-body);
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--amber);
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        .contact-form .btn {
            width: 100%;
            justify-content: center;
        }

        /* Footer */
        footer {
            position: relative;
            z-index: 2;
            padding: 4rem;
            background: var(--slate-800);
            border-top: 1px solid var(--slate-700);
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .footer-brand .logo-icon {
            width: 40px;
            height: 40px;
        }

        .footer-brand span {
            font-family: var(--font-display);
            font-size: 1.3rem;
            color: var(--white);
        }

        .footer-copyright {
            color: var(--slate-400);
            font-size: 0.9rem;
        }

        .footer-links {
            display: flex;
            gap: 2rem;
        }

        .footer-links a {
            color: var(--slate-400);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--amber);
        }

        /* Video/Visual Showcase Section */
        .visual-showcase {
            position: relative;
            z-index: 2;
            height: 60vh;
            min-height: 400px;
            overflow: hidden;
        }

        .visual-showcase-bg {
            position: absolute;
            inset: 0;
            background: url('https://geocvet.com/images/obj3.png') center/cover no-repeat;
        }

        .visual-showcase-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(15, 20, 25, 0.85) 0%, rgba(26, 35, 50, 0.7) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .visual-showcase-content {
            text-align: center;
            max-width: 800px;
            padding: 2rem;
        }

        .visual-showcase-content h2 {
            font-family: var(--font-display);
            font-size: clamp(2.5rem, 5vw, 4rem);
            color: var(--white);
            margin-bottom: 1.5rem;
            letter-spacing: 0.05em;
        }

        .visual-showcase-content p {
            color: var(--slate-300);
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .visual-showcase-stats {
            display: flex;
            justify-content: center;
            gap: 4rem;
            margin-top: 3rem;
        }

        .showcase-stat {
            text-align: center;
        }

        .showcase-stat-number {
            font-family: var(--font-display);
            font-size: 3rem;
            color: var(--amber);
        }

        .showcase-stat-label {
            color: var(--slate-400);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        /* Flip Card Enhancement for Services */
        .service-card-flip {
            perspective: 1000px;
            height: 320px;
        }

        .service-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .service-card-flip:hover .service-card-inner {
            transform: rotateY(180deg);
        }

        .service-card-front,
        .service-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 8px;
            padding: 2rem;
        }

        .service-card-front {
            background: var(--slate-800);
            border: 1px solid var(--slate-700);
        }

        .service-card-back {
            background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: var(--slate-900);
        }

        .service-card-back h4 {
            font-family: var(--font-display);
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        .service-card-back ul {
            list-style: none;
            padding: 0;
        }

        .service-card-back li {
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(15, 20, 25, 0.2);
            font-size: 0.9rem;
        }

        .service-card-back li:last-child {
            border-bottom: none;
        }

        /* Marquee/Scrolling Text */
        .marquee-section {
            position: relative;
            z-index: 2;
            background: var(--amber);
            padding: 1rem 0;
            overflow: hidden;
        }

        .marquee-track {
            display: flex;
            animation: marquee 30s linear infinite;
        }

        .marquee-content {
            display: flex;
            gap: 4rem;
            padding: 0 2rem;
            white-space: nowrap;
        }

        .marquee-item {
            font-family: var(--font-display);
            font-size: 1.2rem;
            color: var(--slate-900);
            letter-spacing: 0.1em;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .marquee-item::before {
            content: '';
            width: 8px;
            height: 8px;
            background: var(--slate-900);
            border-radius: 50%;
        }

        @keyframes marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        /* Testimonial/Trust Section */
        .trust-section {
            position: relative;
            z-index: 2;
            padding: 6rem 4rem;
            background: var(--slate-900);
            text-align: center;
        }

        .trust-badges {
            display: flex;
            justify-content: center;
            gap: 4rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .trust-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            opacity: 0.6;
            transition: opacity 0.3s ease;
        }

        .trust-badge:hover {
            opacity: 1;
        }

        .trust-badge-icon {
            width: 80px;
            height: 80px;
            background: var(--slate-800);
            border: 2px solid var(--slate-700);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .trust-badge-icon svg {
            width: 36px;
            height: 36px;
            stroke: var(--amber);
            fill: none;
            stroke-width: 1.5;
        }

        .trust-badge span {
            color: var(--slate-400);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-menu-btn span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--white);
            margin: 5px 0;
            transition: all 0.3s ease;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .equipment-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 992px) {
            header {
                padding: 1rem 2rem;
            }

            nav {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero {
                padding: 6rem 2rem 4rem;
            }

            .hero-bg {
                width: 100%;
                clip-path: none;
                opacity: 0.3;
            }

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

            .about-visual {
                order: 2;
            }

            .contact-container {
                grid-template-columns: 1fr;
                gap: 4rem;
            }

            .projects-showcase {
                grid-template-columns: 1fr;
            }

            .projects-side {
                flex-direction: row;
            }

            .project-small {
                height: 250px;
                width: calc(50% - 1rem);
            }

            .eu-project {
                flex-direction: column;
                margin: 2rem;
                gap: 2rem;
            }

            .eu-project-image {
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .stats-bar {
                flex-wrap: wrap;
                gap: 2rem;
                padding: 2rem;
            }

            .stat {
                width: calc(50% - 1rem);
            }

            .services-grid {
                grid-template-columns: 1fr;
            }

            .equipment-grid {
                grid-template-columns: 1fr;
            }

            .about-features {
                grid-template-columns: 1fr;
            }

            .about-image-accent {
                display: none;
            }

            .about-badge {
                width: 80px;
                height: 80px;
                top: -10px;
                left: -10px;
            }

            .about-badge span:first-child {
                font-size: 1.8rem;
            }

            .about-badge span:last-child {
                font-size: 0.6rem;
            }

            .projects-side {
                flex-direction: column;
            }

            .project-small {
                width: 100%;
                height: 200px;
            }

            .footer-container {
                flex-direction: column;
                gap: 2rem;
                text-align: center;
            }

            .header-contact {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-cta {
                flex-direction: column;
            }

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

            .stat-number {
                font-size: 2.5rem;
            }
        }

/* ========= Additions for CMS ========= */
.flash {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.flash-success {
    background: rgba(212, 168, 83, 0.12);
    border-left: 4px solid var(--amber);
    color: var(--cream);
}
.flash-error {
    background: rgba(239, 68, 68, 0.12);
    border-left: 4px solid #ef4444;
    color: var(--cream);
}

.projects-extra {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 4rem 0;
}
.project-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.project-card:hover { transform: translateY(-4px); }
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-card .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,20,25,0.95), rgba(15,20,25,0.2) 50%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}
.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--amber);
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}
.project-card p {
    color: var(--slate-200);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .projects-extra {
        padding: 2rem 1.5rem 0;
    }
}

/* Mobile menu fix */
@media (max-width: 768px) {
    header {
        padding: 1rem 1.5rem;
    }
    header.scrolled {
        padding: 0.75rem 1.5rem;
    }
    nav {
        display: none;
    }
    nav.open {
        display: flex !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        backdrop-filter: blur(10px);
    }
    .services,
    .about,
    .equipment,
    .projects,
    .trust-section,
    .contact,
    .visual-showcase {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .hero {
        padding: 0 1.5rem;
    }
    footer .footer-container {
        padding: 2rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem !important;
    }
    .section-title {
        font-size: 2.2rem !important;
    }
    .stats-bar {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .visual-showcase-stats {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* ========= Laravel/Multi-page additions ========= */
.flash {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}
.flash-success { background: rgba(212, 168, 83, 0.12); border-left: 4px solid var(--amber); color: var(--cream); }
.flash-error { background: rgba(239, 68, 68, 0.12); border-left: 4px solid #ef4444; color: var(--cream); }

/* Page hero (used on /za-nas /kontakti /nashi-obekti /novini pages) */
.page-hero {
    position: relative;
    min-height: 60vh;
    padding: 140px 4rem 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.page-hero .hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    z-index: 0;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    line-height: 1.05;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}
.page-hero-content .hero-subtitle {
    font-size: 1.2rem;
    color: var(--slate-200);
    max-width: 650px;
}
.project-hero { min-height: 50vh; }

/* Content sections */
.content-section {
    position: relative;
    z-index: 2;
    padding: 6rem 4rem;
}
.content-section.alt { background: var(--slate-800); }
.content-container { max-width: 1200px; margin: 0 auto; }
.content-container.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.content-container h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--amber);
    letter-spacing: 0.04em;
    margin: 1rem 0 1.5rem;
}
.content-container p.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--slate-200);
    max-width: 900px;
}
.content-container p {
    line-height: 1.75;
    color: var(--slate-200);
}
.side-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--amber-dark), var(--slate-700));
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

/* Values grid on /za-nas */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.value-card {
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-left: 3px solid var(--amber);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.2s;
}
.value-card:hover { transform: translateY(-4px); }
.value-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--amber);
    line-height: 1;
}
.value-label {
    color: var(--cream);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Projects gallery (on /nashi-obekti) */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.project-card-link {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s;
    background: var(--slate-800);
}
.project-card-link:hover { transform: translateY(-6px); }
.project-card-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.project-card-link:hover img { transform: scale(1.05); }
.project-card-link .project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,20,25,0.96) 0%, rgba(15,20,25,0.6) 40%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}
.project-card-link .project-cat {
    display: inline-block;
    background: var(--amber);
    color: var(--slate-900);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 0.8rem;
}
.project-card-link h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--amber);
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    line-height: 1.15;
}
.project-card-link p { color: var(--slate-200); font-size: 0.9rem; }
.project-card-link .project-meta {
    margin-top: 0.6rem;
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--slate-400);
}
.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--slate-700), var(--slate-800));
}

/* Project detail page */
.project-detail {
    max-width: 900px;
}
.project-meta-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    background: var(--slate-800);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--amber);
    margin-bottom: 3rem;
    font-size: 0.95rem;
}
.project-meta-box strong { color: var(--amber); display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.project-meta-box div { color: var(--cream); }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.gallery-item {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    cursor: zoom-in;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.06); }

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.news-card {
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--amber); }
.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--slate-700), var(--slate-800));
    flex: 0 0 auto;
}
.news-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-image img { transform: scale(1.03); }
/* Legacy support: any leftover bare <img> directly in a card */
.news-card > img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    display: block;
}
.news-card .project-placeholder { aspect-ratio: 16 / 10; }
.news-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-card time { color: var(--amber); font-size: 0.85rem; letter-spacing: 0.06em; font-weight: 500; }
.news-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin: 0.5rem 0 0.8rem;
    line-height: 1.3;
    letter-spacing: normal;
}
.news-card p { color: var(--slate-200); font-size: 0.92rem; flex: 1; }
.news-card .read-more { color: var(--amber); margin-top: 1rem; font-size: 0.9rem; font-weight: 500; }

/* Article */
.article-content { max-width: 800px; }
.rich-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate-200);
}
.rich-content p { margin-bottom: 1.2rem; }
.rich-content h1, .rich-content h2, .rich-content h3 {
    color: var(--amber);
    margin: 2rem 0 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: normal;
}
.rich-content h1 { font-size: 1.8rem; }
.rich-content h2 { font-size: 1.5rem; }
.rich-content h3 { font-size: 1.2rem; }
.rich-content ul, .rich-content ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
.rich-content ul li, .rich-content ol li { margin-bottom: 0.5rem; }
.rich-content strong { color: var(--cream); }
.rich-content a { color: var(--amber); text-decoration: underline; }
.rich-content blockquote {
    border-left: 4px solid var(--amber);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--slate-200);
    font-style: italic;
}
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--slate-400);
    font-size: 1.1rem;
}

/* Active nav item */
nav a.active { color: var(--amber) !important; }
nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--amber);
}
nav a { position: relative; }

/* Pagination (Laravel default) */
nav[role="navigation"] { display: flex; justify-content: center; margin-top: 2rem; }
nav[role="navigation"] span, nav[role="navigation"] a {
    color: var(--slate-200);
    padding: 8px 14px;
    margin: 0 2px;
    border: 1px solid var(--slate-700);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}
nav[role="navigation"] span[aria-current="page"] span {
    background: var(--amber);
    color: var(--slate-900);
    border-color: var(--amber);
}

@media (max-width: 768px) {
    .page-hero { padding: 120px 1.5rem 60px; min-height: 50vh; }
    .content-section { padding: 3rem 1.5rem; }
    .content-container.two-col { grid-template-columns: 1fr; gap: 2rem; }
    .content-container h2 { font-size: 2rem; }
    .project-card-link { height: 320px; }
    nav a::after { display: none; }
}

/* ================================================================
   Mobile + Sticky Header Improvements
   ================================================================ */

/* Always-visible sticky header with subtle backdrop from the start */
html, body { overflow-x: clip; }
html { scroll-padding-top: 90px; }

header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 20, 25, 0.75) !important;
    backdrop-filter: blur(12px) saturate(1.5);
    -webkit-backdrop-filter: blur(12px) saturate(1.5);
    border-bottom: 1px solid rgba(212, 168, 83, 0.08);
    transition: background 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}

header.scrolled {
    background: rgba(15, 20, 25, 0.95) !important;
    border-bottom-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* Reserve space below fixed header on pages that don't have a hero */
.page-hero, .hero {
    padding-top: calc(140px + 1rem);
}

/* ================================================================
   Mobile Menu — modern hamburger + full-screen drawer
   ================================================================ */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 10000;
    position: relative;
}
.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

body.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}
body.menu-open .mobile-menu-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    header {
        padding: 0.9rem 1.25rem !important;
    }
    header.scrolled {
        padding: 0.7rem 1.25rem !important;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .logo-icon {
        width: 42px;
        height: 42px;
    }
    .header-contact {
        display: none;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
    nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(85vw, 340px);
        background: linear-gradient(180deg, var(--slate-900) 0%, var(--slate-800) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 90px 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 9998;
        display: flex;
        overflow-y: auto;
    }
    body.menu-open nav {
        transform: translateX(0);
    }
    nav a {
        padding: 1rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--slate-700);
        color: var(--cream) !important;
    }
    nav a.active {
        color: var(--amber) !important;
    }
    nav a.active::after,
    nav a::after {
        display: none;
    }
    nav a:hover {
        padding-left: 8px;
        transition: padding 0.2s;
    }
    /* Backdrop when menu open */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 9997;
        backdrop-filter: blur(3px);
    }
    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ================================================================
   Mobile Polish — section spacing, touch targets, typography
   ================================================================ */
@media (max-width: 768px) {
    /* Hero */
    .hero {
        min-height: 100vh;
        padding: 110px 1.25rem 60px !important;
    }
    .hero h1 {
        font-size: clamp(2.2rem, 9vw, 3rem) !important;
        line-height: 1.05 !important;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6;
    }
    .hero-cta {
        flex-direction: column !important;
        width: 100%;
        gap: 0.75rem !important;
    }
    .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        font-size: 0.95rem;
    }
    .hero-cta .btn {
        padding: 0.9rem 1rem !important;
    }

    /* Stats bar */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 !important;
        padding: 1.5rem 1rem !important;
    }
    .stat {
        padding: 1rem !important;
        border-right: none !important;
        border-bottom: 1px solid var(--slate-700);
    }
    .stat:nth-child(odd) {
        border-right: 1px solid var(--slate-700) !important;
    }
    .stat:nth-child(3), .stat:nth-child(4) {
        border-bottom: none;
    }
    .stat-number {
        font-size: 2.2rem !important;
    }
    .stat-label {
        font-size: 0.78rem !important;
    }

    /* Section headers */
    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem) !important;
        line-height: 1.15;
    }
    .section-tag {
        font-size: 0.75rem;
    }

    /* Services — single column */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .service-card {
        padding: 1.75rem 1.25rem !important;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .about-features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .about-visual {
        min-height: 320px;
    }

    /* Visual showcase */
    .visual-showcase {
        padding: 3rem 1.25rem !important;
    }
    .visual-showcase-stats {
        grid-template-columns: 1fr !important;
    }

    /* Equipment */
    .equipment-grid {
        grid-template-columns: 1fr !important;
    }

    /* Projects main + side */
    .projects-showcase {
        flex-direction: column !important;
    }
    .project-main {
        height: 300px !important;
        flex: 0 0 auto !important;
    }
    .projects-side {
        flex-direction: row !important;
        gap: 1rem !important;
    }
    .project-small {
        height: 200px !important;
        flex: 1 !important;
    }

    /* EU project */
    .eu-project {
        flex-direction: column !important;
    }
    .eu-project-image {
        width: 100% !important;
        height: 240px !important;
    }

    /* Trust badges */
    .trust-badges {
        gap: 1rem !important;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .contact-methods {
        grid-template-columns: 1fr !important;
    }

    /* Forms — 48px touch targets */
    .form-group input,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px !important; /* Prevents iOS zoom on focus */
    }
    .form-group textarea {
        min-height: 120px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
        text-align: center !important;
        padding: 2.5rem 1.25rem !important;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem !important;
    }

    /* Page hero (about/contacts/projects/news) */
    .page-hero {
        min-height: 45vh !important;
        padding: 110px 1.25rem 50px !important;
    }
    .page-hero h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
    .page-hero .hero-subtitle {
        font-size: 1rem !important;
    }

    /* Content sections */
    .content-section {
        padding: 3rem 1.25rem !important;
    }
    .content-container h2 {
        font-size: 1.7rem !important;
    }

    /* Projects gallery */
    .projects-gallery {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* News cards */
    .news-grid {
        grid-template-columns: 1fr !important;
    }

    /* Project detail page */
    .project-meta-box {
        grid-template-columns: 1fr !important;
        padding: 1.25rem !important;
    }
    .gallery {
        grid-template-columns: 1fr !important;
    }

    /* Article (news detail) */
    .rich-content {
        font-size: 1rem !important;
    }
    .rich-content h1 { font-size: 1.5rem !important; }
    .rich-content h2 { font-size: 1.3rem !important; }

    /* Values (about page) */
    .values-grid {
        grid-template-columns: 1fr !important;
    }

    /* Marquee items slightly smaller */
    .marquee-item {
        font-size: 1rem !important;
    }

    /* Flash messages */
    .flash {
        font-size: 0.88rem;
        padding: 12px 14px;
    }
}

/* Extra polish on very small screens (iPhone SE etc.) */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 2rem !important;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    .services-grid,
    .equipment-grid {
        padding: 0 !important;
    }
    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
    .stats-bar {
        grid-template-columns: 1fr !important;
    }
    .stats-bar .stat {
        border-right: none !important;
        border-bottom: 1px solid var(--slate-700);
    }
    .stats-bar .stat:last-child {
        border-bottom: none;
    }
}

/* ================================================================
   Prevent subtle layout shifts & horizontal overflow
   ================================================================ */
img, video {
    max-width: 100%;
    height: auto;
}

* {
    -webkit-tap-highlight-color: rgba(212, 168, 83, 0.15);
}

/* Better focus visibility for keyboard users */
*:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus,
a:focus {
    outline: none;
}

/* ================================================================
   Aggressive mobile content-fit fixes (for narrow phones 430px and under)
   ================================================================ */
@media (max-width: 768px) {
    /* Remove ALL secondary container padding — outer section padding is enough */
    .about-container,
    .equipment-container,
    .contact-container,
    .footer-container,
    .visual-showcase-content,
    .stats-bar {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Allow long Cyrillic words to break to next line */
    h1, h2, h3, h4, p, a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    /* Tighten large section headings on mobile so long words like
       "ПРОФЕСИОНАЛИЗЪМ", "ИНФРАСТРУКТУРА", etc. fit */
    .about h2,
    .visual-showcase h2,
    .contact h2 {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important;
        line-height: 1.15 !important;
        letter-spacing: 0.02em;
    }

    .about h2 span,
    .contact h2 span {
        display: block;
        margin-top: 0.4rem;
    }

    /* About section padding override (was 8rem 4rem) */
    .about {
        padding: 4rem 1.25rem !important;
    }

    /* Section header (tag + title) — extra tight */
    .section-title {
        font-size: clamp(1.7rem, 6vw, 2.3rem) !important;
        line-height: 1.1 !important;
        letter-spacing: 0.02em;
        word-break: break-word;
    }

    /* Hero: stronger control */
    .hero {
        padding: 110px 1.25rem 60px !important;
    }
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
    }
    .hero h1 {
        font-size: clamp(2rem, 8vw, 2.6rem) !important;
        line-height: 1.05 !important;
        word-break: break-word;
    }

    /* Showcase numbers */
    .showcase-stat-number {
        font-size: 2.2rem !important;
    }

    /* Eu project text wrap */
    .eu-project-content h3 {
        font-size: 1.3rem !important;
        line-height: 1.2;
    }

    /* Marquee — keep contained but tighter */
    .marquee-section {
        overflow: hidden !important;
    }
    .marquee-item {
        font-size: 0.95rem !important;
        gap: 0.7rem !important;
    }
    .marquee-content {
        gap: 2.5rem !important;
        padding: 0 1rem !important;
    }

    /* Equipment block sizing */
    .equipment-item {
        padding: 1.25rem 1rem !important;
    }
    .equipment-count {
        font-size: 2.5rem !important;
    }
    .equipment-info h3 {
        font-size: 1.05rem !important;
        word-break: break-word;
    }

    /* Trust badges */
    .trust-badge span {
        font-size: 0.85rem;
        word-break: break-word;
    }

    /* Project cards on home */
    .project-main h3,
    .project-small h3,
    .project-card h3 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem !important;
    }
    .section-title,
    .about h2,
    .visual-showcase h2,
    .contact h2 {
        font-size: 1.5rem !important;
    }
    .marquee-item {
        font-size: 0.85rem !important;
    }
}

/* ============================================================
   MOBILE OVERFLOW FIX (≤480px)
   ============================================================ */
@media (max-width: 480px) {
    html, body { overflow-x: hidden; max-width: 100vw; }
    #header { flex-wrap: nowrap !important; gap: 6px !important; padding-left: 10px !important; padding-right: 10px !important; }
    .header-contact { display: flex !important; gap: 6px !important; align-items: center !important; }
    .header-phone { padding: 6px 8px !important; font-size: 10px !important; gap: 4px !important; letter-spacing: .05em !important; }
    .header-phone svg { width: 11px !important; height: 11px !important; display: inline !important; }
}
@media (max-width: 400px) {
    .header-phone { display: none !important; }
}
@media (max-width: 360px) {
    .logo-text { display: none !important; }
}

/* ==========================================================
   ARTICLE PAGE — header, breadcrumb, body layout
   ========================================================== */

/* Shared box-width for the whole article (header, gallery, body, comments).
   Anchored via custom property so every section stays in the same column. */
.article-page { --article-box: 1040px; padding-top: 140px; }

/* All sections of the article use the same centered box.
   These selectors only apply when the section is the direct child of .article-page,
   so they don't affect global .content-* on other pages. */
.article-page > .article-header .content-container,
.article-page > .article-gallery-section .content-container,
.article-page > .article-body-section .content-container {
    max-width: var(--article-box);
    margin: 0 auto;
}
.article-page > .content-section { padding-top: 0; padding-bottom: 0; }
.article-page > .article-gallery-section { padding-block: 1.5rem; }
.article-page > .article-body-section    { padding-block: 1.5rem 3rem; }

/* Comments section inherits the same article box width */
.article-comments-section { padding-block: 1rem 3rem !important; }
.article-comments-section > .content-container.article-content {
    max-width: 1040px;
    margin: 0 auto;
}

/* Header: sits naturally at the top of the article page and scrolls away
   with the content. NOT sticky — disappears when the user scrolls down. */
.article-header {
    position: static !important;
    top: auto !important;
    padding: 0.85rem 0 1.25rem;
}
.article-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.5rem;
    font-size: 0.88rem;
    color: var(--slate-400);
    margin-bottom: 0.7rem;
    letter-spacing: 0;
    text-transform: none;
}
.article-crumbs a {
    color: var(--amber);
    text-decoration: none;
    transition: color 0.2s;
}
.article-crumbs a:hover { color: var(--amber-light); text-decoration: underline; }
.article-crumbs .crumb-sep {
    color: var(--slate-400);
    opacity: 0.7;
    font-size: 0.95em;
}
.article-crumbs .crumb-current {
    color: var(--slate-200);
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    line-height: 1.25;
    color: var(--cream);
    letter-spacing: 0.005em;
    margin: 0 0 0.6rem;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 700;
}
.article-meta { margin-top: 0; font-size: 0.86rem; }

/* The article body block — comfortable reading column inside the box */
.article-body-section .article-content {
    max-width: 100%;
    margin: 0 auto;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 1.75rem 2rem;
}
.article-body-section .lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--cream);
    margin: 0 0 1.2rem;
    font-weight: 500;
}
.article-body-section .rich-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate-200);
    /* Prevent any super-long unbreakable string from blowing out the box */
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}
.article-body-section .rich-content p {
    margin-bottom: 1.1rem;
    text-align: justify;
    hyphens: auto;
}
.article-body-section .lead { overflow-wrap: anywhere; word-break: break-word; }
.article-body-section .rich-content p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .article-header { padding: 0.75rem 0 0.9rem; }
    .article-title { font-size: clamp(1.2rem, 4vw, 1.55rem); }
    .article-body-section .article-content { padding: 1.25rem 1.25rem; border-radius: 10px; }
}
@media (max-width: 600px) {
    .article-page { padding-top: 80px; }
    .article-body-section .rich-content p { text-align: left; }
}

/* ==========================================================
   NEWS — meta strip + comments
   ========================================================== */

/* Aligned icon row. Used both in hero (under article title)
   and inside news cards on the index page. */
.news-meta {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
    align-items: center;
    color: var(--slate-200);
    font-size: 0.92rem;
    line-height: 1.2;
}
.news-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}
.news-meta-item a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: border-color 0.2s, color 0.2s;
}
.news-meta-item a:hover { color: var(--amber); border-bottom-color: var(--amber); }
.news-meta-icon {
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 1.05em;
    color: var(--amber);
    display: block;
}
.news-meta-card {
    margin: 0 0 0.5rem;
    gap: 0.35rem 1.1rem;
    color: var(--slate-400);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}
.news-meta-card .news-meta-icon { color: var(--amber); }

/* Replace the .news-card time block on the index page —
   the meta row carries the date now */
.news-card .news-card-body > time { display: none; }

/* Comments section */
.comments-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 1.5rem;
}
.comments-title .news-meta-icon {
    width: 1em; height: 1em; flex: 0 0 1em;
}
.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8em;
    height: 1.8em;
    padding: 0 0.6em;
    border-radius: 999px;
    background: color-mix(in srgb, var(--amber) 18%, transparent);
    color: var(--amber);
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.comments-flash {
    background: color-mix(in srgb, var(--amber) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
    color: var(--cream);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}
.comments-empty {
    color: var(--slate-400);
    font-style: italic;
    margin: 0 0 1.5rem;
}
.comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comment-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0.9rem;
    align-items: start;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}
.comment-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--amber) 22%, var(--slate-850));
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0;
    flex-shrink: 0;
}
.comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.9rem;
    margin-bottom: 0.35rem;
}
.comment-author {
    color: var(--cream);
    font-weight: 600;
    font-size: 0.98rem;
}
.comment-date {
    color: var(--slate-400);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}
.comment-text {
    margin: 0;
    color: var(--slate-200);
    font-size: 0.98rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Comment form */
.comment-form {
    background: var(--slate-850);
    border: 1px solid var(--slate-700);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.comment-form-title {
    margin: 0;
    font-family: var(--font-body);
    color: var(--cream);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0;
}
.comment-form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.comment-label {
    font-size: 0.85rem;
    color: var(--slate-400);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.comment-input {
    width: 100%;
    background: var(--slate-900);
    border: 1px solid var(--slate-700);
    border-radius: 8px;
    color: var(--cream);
    padding: 0.65rem 0.85rem;
    font: inherit;
    font-size: 0.98rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 20%, transparent);
}
.comment-input.is-invalid {
    border-color: #e26a6a;
}
.comment-textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.comment-error {
    color: #e8a0a0;
    font-size: 0.82rem;
}
.comment-form .btn { align-self: flex-start; }
.comments-back { margin-top: 1rem; text-align: center; }

@media (max-width: 600px) {
    .comment-item { grid-template-columns: 36px 1fr; padding: 0.85rem 0.9rem; }
    .comment-avatar { width: 36px; height: 36px; font-size: 0.95rem; }
    .comment-form { padding: 1.1rem; }
}

