/* ==========================================================================
   WELD PRO AUTO SERVICE — 1:1 REFERENCE DESIGN RECREATION v4
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Dark theme */
    --bg-dark: #0a0e17;
    --bg-dark-alt: #0d1220;
    --bg-card-dark: #111a28;
    --border-dark: #1a2538;

    /* Light theme */
    --bg-light: #ffffff;
    --bg-light-alt: #f8fafc;
    --border-light: #e2e8f0;

    /* Accent */
    --accent: #1e90ff;
    --accent-glow: rgba(30,144,255,.15);
    --green: #25d366;

    /* Text */
    --white: #ffffff;
    --grey: #8a9bb5;
    --dark: #0f172a;
    --grey-body: #475569;

    /* Fonts */
    --heading: 'Oswald', sans-serif;
    --body: 'Plus Jakarta Sans', sans-serif;

    /* Layout */
    --header-h: 68px;
    --section-pad: 80px;
    --container-w: 1160px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
section[id] { scroll-margin-top: 72px; }

/* Active press tactile feedback */
.hero-cta-btn:active, .about-btn:active, .services-toggle-btn:active, .portfolio-btn:active, .carousel-arrow:active, .social-icons a:active {
    transform: scale(0.96) translateY(0) !important;
    transition: transform 0.1s ease !important;
}
body {
    font-family: var(--body);
    background: var(--bg-dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

/* ================================================================
   1. HEADER
   ================================================================ */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-h);
    background: rgba(10,14,23,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    z-index: 1000;
    transition: background .3s, box-shadow .3s;
}
.main-header.scrolled {
    background: rgba(10,14,23,.99);
    box-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.header-container {
    display: flex; justify-content: space-between; align-items: center; height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-svg { transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.logo:hover .logo-svg { transform: scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
    font-family: var(--heading); font-weight: 800; font-size: 18px;
    letter-spacing: 1.5px; color: var(--white);
}
.logo-subtitle {
    font-family: var(--heading); font-size: 8px; font-weight: 700;
    color: var(--accent); letter-spacing: 3px; margin-top: 2px;
}

/* Nav */
.nav-menu { display: flex; gap: 28px; align-items: center; }
.nav-link {
    font-family: var(--heading); font-size: 10.5px; font-weight: 700;
    letter-spacing: 1.5px; color: var(--grey); padding: 6px 0;
    position: relative; transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-transform: uppercase;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--accent);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger */
.hamburger-btn {
    display: none; flex-direction: column; justify-content: space-between;
    width: 22px; height: 16px; background: none; border: none; cursor: pointer; z-index: 1001;
}
.hamburger-btn .bar {
    width: 100%; height: 2px; background: var(--white); border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* ================================================================
   2. HERO
   ================================================================ */
.hero-section {
    position: relative; min-height: 100vh; padding-top: var(--header-h);
    background: url('../images/hero-bg.png') center center / cover no-repeat;
    display: flex; align-items: center; overflow: hidden;
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg,
        rgba(10,14,23,.98) 0%,
        rgba(10,14,23,.92) 30%,
        rgba(10,14,23,.7) 55%,
        rgba(10,14,23,.2) 85%,
        rgba(10,14,23,.05) 100%);
    z-index: 1;
}
.hero-container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 520px; padding: 50px 0; }

.hero-tagline {
    font-family: var(--heading); font-weight: 600; font-size: 11px;
    color: var(--accent); letter-spacing: 3px; margin-bottom: 18px;
    text-transform: uppercase;
}
.hero-title {
    font-family: var(--heading); font-weight: 900; font-size: 40px;
    line-height: 1.08; margin-bottom: 18px; text-transform: uppercase;
    letter-spacing: -0.5px;
}
.hero-description {
    font-size: 13.5px; color: var(--grey); margin-bottom: 28px;
    max-width: 380px; line-height: 1.7; font-style: italic;
}

/* Hero checklist */
.hero-features-list { margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.hero-features-list li {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--heading); font-weight: 600; font-size: 12px;
    letter-spacing: .5px; color: var(--white);
}
.feature-icon-wrapper {
    color: var(--accent); font-size: 14px; width: 18px;
    display: flex; align-items: center; justify-content: center;
}
.feature-icon-svg {
    width: 18px; height: 18px; display: block;
}

/* CTA */
.hero-cta-container { width: fit-content; }
.hero-cta-btn {
    display: flex; flex-direction: column; align-items: center;
    background: var(--accent); color: var(--white); border-radius: 6px;
    overflow: hidden; width: 260px;
    box-shadow: 0 8px 30px rgba(30,144,255,.3);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease;
}
.hero-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 45px rgba(30,144,255,.5);
    background: #1a82e8;
}
.cta-phone {
    font-family: var(--heading); font-weight: 700; font-size: 17px;
    padding: 13px 20px 8px; display: flex; align-items: center; gap: 8px;
    letter-spacing: .5px;
}
.cta-subtext {
    width: 100%; background: rgba(0,0,0,.2); text-align: center;
    font-size: 9px; font-weight: 700; letter-spacing: 2.5px; padding: 6px 0;
    color: rgba(255,255,255,.65);
}

/* Wave */
.wave-separator { display: none; position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0; }
.wave-separator svg { width: 100%; height: 40px; }

.wavy-section {
    position: relative !important;
}
.wavy-section .wave-separator {
    display: none;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
}
.wavy-section .wave-separator svg {
    width: 100%;
    height: auto;
    display: block;
}
.wave-to-white path { fill: #ffffff !important; }
.wave-to-dark path { fill: #0a0e17 !important; }
.wave-to-light-alt path { fill: #f8fafc !important; }

/* ================================================================
   3. TRUST BAR — White bg, dark text
   ================================================================ */
.trust-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    padding: 24px 0;
}
.trust-container {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.trust-item {
    display: flex; align-items: center; gap: 12px; flex: 1;
}
.trust-icon-box {
    color: var(--accent); font-size: 24px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.trust-text { display: flex; flex-direction: column; }
.trust-text strong {
    font-family: var(--heading); font-weight: 700; font-size: 10px;
    color: var(--dark); letter-spacing: .3px; line-height: 1.3;
    text-transform: uppercase;
}
.trust-text span { font-size: 10px; color: var(--grey-body); line-height: 1.3; }

/* ================================================================
   4. SECTION TITLES (shared)
   ================================================================ */
.section-title-wrapper { text-align: center; margin-bottom: 45px; }
.section-title {
    font-family: var(--heading); font-weight: 800; font-size: 26px;
    letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title.dark-text { color: var(--dark); }
.section-title.white-title { color: var(--white); }
.section-title-underline {
    width: 45px; height: 3px; background: var(--accent);
    border-radius: 2px; margin: 0 auto;
}

/* ================================================================
   5. NAŠE USLUGE — Light bg, no border on icons
   ================================================================ */
.services-section {
    background: var(--bg-light-alt);
    padding: var(--section-pad) 0;
}
.services-section .section-title { color: var(--dark); }

.services-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.service-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 40px 20px 30px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.08);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(30, 144, 255, 0.2);
}

.service-icon-container {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.service-icon-container svg { width: 100%; height: 100%; }
.service-icon-container i {
    font-size: 38px;
    color: var(--accent);
}

.service-card-title {
    font-family: var(--heading); font-weight: 700; font-size: 12px;
    color: var(--dark); margin-bottom: 12px; text-transform: uppercase;
    letter-spacing: .8px;
}
.service-card-desc {
    font-size: 11.5px; color: var(--grey-body); line-height: 1.7;
}
.services-toggle-container {
    display: none;
}

/* ================================================================
   6. NAŠI RADOVI — Dark bg, carousel
   ================================================================ */
.portfolio-section {
    background: var(--bg-dark);
    padding: var(--section-pad) 0;
}

.carousel-outer-wrapper {
    position: relative; max-width: 1060px; margin: 0 auto;
    display: flex; align-items: center; padding: 0 50px;
}
.carousel-viewport { overflow: hidden; width: 100%; border-radius: 12px; }
.carousel-track {
    display: flex; gap: 20px; width: 100%;
}
.carousel-item { width: calc((100% - 40px) / 3); flex: 0 0 auto; }

.before-after-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card-dark);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    width: 100%;
}
.before-after-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30,144,255,.15);
}

.before-after-card .card-header {
    padding: 20px 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--border-dark);
    background: rgba(255,255,255,0.01);
}
.before-after-card .project-number {
    font-family: var(--heading);
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.before-after-card .project-title {
    font-family: var(--heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}
.before-after-card .project-desc {
    font-family: var(--body);
    font-size: 11.5px;
    color: var(--grey);
    line-height: 1.55;
    margin-top: 4px;
}

.before-after-card .images-container {
    display: flex;
    position: relative;
    width: 100%;
}

.before-panel, .after-panel { width: 50%; position: relative; overflow: hidden; }
.before-panel img, .after-panel img {
    width: 100%; height: 220px; object-fit: cover;
    transition: transform .4s ease;
}
.before-after-card:hover .before-panel img, 
.before-after-card:hover .after-panel img { transform: scale(1.04); }

.before-after-card .card-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, rgba(30, 144, 255, 0), var(--accent), rgba(30, 144, 255, 0));
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 0 8px var(--accent);
}

.label-badge {
    position: absolute;
    top: 12px;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 8px;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--white);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
    text-transform: uppercase;
}
.before-badge { left: 12px; background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(255,255,255,0.15); }
.after-badge { right: 12px; background: rgba(30,144,255,0.85); border: 1px solid rgba(255,255,255,0.25); }

/* Arrows - No circles, just chevrons */
.carousel-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 40px; background: transparent; border: none;
    color: var(--white); cursor: pointer; font-size: 24px;
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    transition: color .3s ease; opacity: 0.6;
}
.prev-arrow { left: 10px; }
.next-arrow { right: 10px; }
.carousel-arrow:hover { color: var(--accent); opacity: 1; }

/* Dots */
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--grey); cursor: pointer;
    transition: all .3s ease; opacity: 0.5;
}
.dot.active { background: var(--accent); opacity: 1; }

.portfolio-action { text-align: center; margin-top: 36px; }
.portfolio-btn {
    display: inline-block; font-family: var(--heading); font-weight: 700;
    font-size: 10px; letter-spacing: 2px; color: var(--white);
    border: 1px solid var(--accent); background: rgba(30,144,255,.05);
    border-radius: 4px; padding: 12px 30px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, border-color 0.3s ease;
    text-transform: uppercase;
}
.portfolio-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ================================================================
   7. O NAMA — Light bg
   ================================================================ */
.about-section {
    background: var(--bg-light);
    padding: var(--section-pad) 0;
}
.about-container { display: flex; align-items: center; gap: 50px; }
.about-content { flex: 1; }

.about-title {
    font-family: var(--heading); font-weight: 800; font-size: 26px;
    color: var(--dark); margin-bottom: 20px; position: relative;
    padding-bottom: 14px; text-transform: uppercase; letter-spacing: 1px;
}
.about-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 3px; background: var(--accent); border-radius: 2px;
}
.about-text {
    font-size: 13.5px; color: var(--grey-body); line-height: 1.8; margin-bottom: 20px;
}
.about-text-more {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0px;
}
.about-text-more.show {
    max-height: 350px;
    opacity: 1;
    margin-bottom: 24px;
}
.about-text-more p {
    font-size: 13.5px;
    color: var(--grey-body);
    line-height: 1.8;
    margin-bottom: 14px;
}
.about-text-more p:last-child {
    margin-bottom: 0;
}
.about-btn {
    display: inline-block; font-family: var(--heading); font-weight: 700;
    font-size: 10px; letter-spacing: 2px; color: var(--accent);
    border: 1.5px solid var(--accent); border-radius: 4px; padding: 10px 22px;
    transition: all .3s ease; text-transform: uppercase; background: transparent;
    cursor: pointer;
}
.about-btn:hover { background: var(--accent); color: var(--white); }

.about-image-wrapper { flex: 1; display: flex; justify-content: flex-end; }
.about-image-shape {
    width: 100%; max-width: 460px;
    border-top-left-radius: 140px; border-bottom-left-radius: 140px;
    overflow: hidden;
    box-shadow: -8px 8px 30px rgba(0,0,0,.06);
}
.about-image {
    width: 100%; height: 320px; object-fit: cover;
    transition: transform .5s ease;
}
.about-image-wrapper:hover .about-image { transform: scale(1.04); }

/* ================================================================
   8. ZAŠTO IZABRATI NAS — Dark bg, premium card design
   ================================================================ */
.why-us-section {
    background: linear-gradient(175deg, #0a0e17 0%, #0d1425 50%, #0a1020 100%);
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}
.why-us-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(30,144,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.why-us-grid {
    display: grid; grid-template-columns: repeat(5, 1fr);
    gap: 18px; text-align: center;
}

.why-us-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 32px 16px 28px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
    position: relative;
}
.why-us-item:hover {
    transform: translateY(-6px);
    background: rgba(30,144,255,0.04);
    border-color: rgba(30,144,255,0.2);
    box-shadow: 0 12px 40px rgba(30,144,255,0.1);
}

.why-us-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30,144,255,0.12), rgba(30,144,255,0.04));
    border: 1px solid rgba(30,144,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 26px;
    margin-bottom: 20px;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.35s ease, box-shadow 0.35s ease;
}
.why-us-item:hover .why-us-icon-wrapper {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(30,144,255,0.25), rgba(30,144,255,0.1));
    box-shadow: 0 0 20px rgba(30,144,255,0.2);
}

.why-us-item-title {
    font-family: var(--heading); font-weight: 700; font-size: 13px;
    letter-spacing: 1.2px; margin-bottom: 10px; text-transform: uppercase;
    color: var(--white);
}
.why-us-item-desc {
    font-size: 12px; color: var(--grey); line-height: 1.6;
}

/* ================================================================
   9. KONTAKTIRAJTE NAS — Light bg
   ================================================================ */
.contact-section {
    background: var(--bg-light-alt);
    padding: var(--section-pad) 0;
}
.contact-section .section-title { color: var(--dark); }

.contact-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.contact-card {
    display: flex; align-items: center; gap: 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 6px; padding: 22px 18px;
    transition: all .3s ease;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.08);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 144, 255, 0.2);
}

.contact-icon-wrapper {
    font-size: 22px; flex-shrink: 0; background: transparent !important; border: none !important; color: inherit; width: auto; height: auto; border-radius: 0; display: flex; align-items: center; justify-content: center;
}
.contact-info { display: flex; flex-direction: column; min-width: 0; }
.contact-label {
    font-size: 9px; font-weight: 700; letter-spacing: 1px;
    color: var(--dark); text-transform: uppercase; margin-bottom: 2px;
}
.contact-value {
    font-family: var(--heading); font-weight: 700; font-size: 13px;
    color: var(--accent); white-space: nowrap;
}
.contact-value.text-smaller {
    font-size: 11.5px; white-space: normal; line-height: 1.4; color: var(--grey-body);
}

/* Icon specific colors for contact section */
.call-card .contact-icon-wrapper { color: var(--accent) !important; }
.call-card .contact-value { color: var(--accent); }

.whatsapp-card .contact-icon-wrapper { color: var(--green) !important; }
.whatsapp-card .contact-value { color: var(--green); }

.address-card .contact-icon-wrapper { color: var(--accent) !important; }
.address-card .contact-label, .hours-card .contact-label { color: var(--dark); }

.hours-card .contact-icon-wrapper { color: var(--dark) !important; }

/* ================================================================
   10. FOOTER
   ================================================================ */
.main-footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 32px; margin-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; }
.footer-logo { margin-bottom: 16px; }
.logo-title.text-light { color: var(--white); }
.footer-about-text { font-size: 12px; color: var(--grey); max-width: 260px; line-height: 1.7; }

.footer-col-title {
    font-family: var(--heading); font-weight: 700; font-size: 11px;
    letter-spacing: 1.5px; color: var(--white); margin-bottom: 20px;
    text-transform: uppercase;
}
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a {
    font-size: 12px; color: var(--grey); transition: all .3s ease;
}
.footer-links-list a:hover { color: var(--white); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white); font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 20px 0; }
.footer-bottom-container {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 11px; color: var(--grey);
}
.designer-credit a { color: var(--grey); font-weight: 500; }
.designer-credit a:hover { color: var(--accent); }

/* ================================================================
   RESPONSIVE — TABLET
   ================================================================ */
@media (max-width: 1024px) {
    .trust-container { flex-wrap: wrap; }
    .trust-item { flex: none; width: 48%; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .carousel-item { width: calc((100% - 14px) / 2); }
    .carousel-item:nth-child(3) { display: none; }
}

/* ================================================================
   RESPONSIVE — MOBILE
   ================================================================ */
@media (max-width: 768px) {
    :root { --section-pad: 60px; }

    /* Performance optimization: disable backdrop blur on mobile to prevent scroll lag */
    .main-header, .main-header.scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0a0e17 !important;
    }

    .hamburger-btn { display: flex; }
    .nav-menu {
        position: fixed; top: var(--header-h); left: 0;
        transform: translateX(-100%);
        width: 100%; height: calc(100vh - var(--header-h));
        background: var(--bg-dark); flex-direction: column;
        align-items: center; padding-top: 50px; gap: 28px;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); z-index: 999;
        border-top: 1px solid rgba(255,255,255,.05);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { font-size: 15px; color: var(--white); }

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

    /* Hero */
    .hero-section {
        text-align: left;
        justify-content: flex-start;
        align-items: center;
        min-height: 94vh;
        padding: 130px 0 100px;
        background-position: 75% center;
    }
    .hero-bg-overlay {
        background: linear-gradient(100deg, rgba(10,14,23,0.98) 0%, rgba(10,14,23,0.85) 40%, rgba(10,14,23,0.15) 75%, rgba(10,14,23,0) 100%);
    }
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        text-align: left;
    }
    .hero-tagline {
        font-size: 10px;
        font-weight: 700;
        margin-bottom: 14px;
        letter-spacing: 2.5px;
        text-align: left;
        color: var(--accent);
    }
    .hero-title {
        font-size: 34px;
        line-height: 1.08;
        margin-bottom: 24px;
        letter-spacing: -0.5px;
        padding: 0;
        position: relative;
        padding-bottom: 12px;
        text-align: left;
    }
    .hero-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--accent);
    }
    .hero-description {
        font-size: 14px;
        color: var(--white);
        margin-bottom: 28px;
        line-height: 1.6;
        padding: 0;
        text-align: left;
        max-width: 320px;
        opacity: 0.9;
        font-style: italic;
    }
    .hero-features-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
        text-align: left;
        align-items: flex-start;
    }
    .hero-features-list li {
        font-size: 11px;
        letter-spacing: 0.8px;
        color: var(--white);
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .hero-cta-container {
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
    .hero-cta-btn {
        border-radius: 6px;
        border: 1px solid var(--accent);
        background: #0a0e17;
        box-shadow: 0 8px 24px rgba(30,144,255,.25);
        width: 100%;
        max-width: 290px;
        overflow: hidden;
    }
    .cta-phone {
        font-size: 17px;
        padding: 12px 20px 8px;
        justify-content: center;
        background: var(--accent);
        width: 100%;
        font-weight: 700;
        letter-spacing: 0.5px;
        border-radius: 5px 5px 0 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .cta-subtext {
        display: block;
        font-size: 9px;
        padding: 8px 0;
        letter-spacing: 2px;
        color: var(--white);
        background: transparent;
        text-align: center;
    }
    .wave-separator {
        display: block;
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 100%;
        line-height: 0;
        z-index: 5;
    }
    .wave-separator svg {
        width: 100%;
        height: auto;
        display: block;
    }
    .wave-separator path {
        fill: #ffffff;
    }

    /* Trust */
    .trust-bar { padding: 20px 0; }
    .trust-container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 28px;
        overflow-x: auto;
        padding: 0 24px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .trust-container::-webkit-scrollbar {
        display: none;
    }
    .trust-item {
        width: auto;
        flex: 0 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
    }
    .trust-icon-box {
        width: auto;
        font-size: 24px;
        justify-content: center;
        margin-bottom: 0;
    }
    .trust-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .trust-text strong {
        font-size: 10px;
        letter-spacing: .3px;
        white-space: nowrap;
    }
    .trust-text span {
        font-size: 10px;
        white-space: nowrap;
    }

    /* Services */
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 30px 16px 24px; }
    .service-card-title { font-size: 14px; }
    .section-title { font-size: 22px; }
    
    .services-grid .service-card:nth-child(n+4) {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        border-color: transparent;
        box-shadow: none;
        pointer-events: none;
        margin-top: -16px;
        transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                    opacity 0.3s ease, 
                    padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                    border-color 0.4s ease,
                    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    .services-grid.show-all .service-card:nth-child(n+4) {
        max-height: 250px;
        opacity: 1;
        padding-top: 30px;
        padding-bottom: 24px;
        border-color: var(--border-light);
        box-shadow: 0 4px 20px rgba(30, 144, 255, 0.08);
        pointer-events: auto;
        margin-top: 0;
    }

    .services-toggle-container {
        display: flex;
        justify-content: center;
        margin-top: 24px;
    }
    .services-toggle-btn {
        font-family: var(--heading);
        font-weight: 700;
        font-size: 10px;
        letter-spacing: 1.5px;
        color: var(--accent);
        border: 1.5px solid var(--accent);
        background: transparent;
        border-radius: 4px;
        padding: 10px 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }
    .services-toggle-btn:hover {
        background: var(--accent);
        color: var(--white);
    }

    /* Portfolio */
    .carousel-outer-wrapper { padding: 0 12px; }
    .carousel-viewport { border-radius: 14px; }
    .carousel-track {
        display: flex;
        gap: 0;
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        width: 100%;
    }
    .carousel-item {
        width: 100%;
        min-width: 100%;
        flex: 0 0 100%;
        display: block;
    }
    .before-after-card {
        flex-direction: column;
        border-radius: 14px;
    }
    .before-after-card .card-header {
        padding: 16px 18px 12px;
    }
    .before-after-card .project-number {
        font-size: 9px;
        letter-spacing: 2px;
    }
    .before-after-card .project-title {
        font-size: 16px;
    }
    .before-after-card .project-desc {
        font-size: 12px;
        line-height: 1.5;
        display: none;
    }
    .before-after-card .images-container {
        display: flex;
        flex-direction: column;
        position: relative;
    }
    .before-panel, .after-panel { width: 100%; }
    .before-panel img, .after-panel img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }
    .before-after-card .card-divider {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, rgba(30, 144, 255, 0), var(--accent), rgba(30, 144, 255, 0));
        transform: none;
        box-shadow: 0 0 10px var(--accent);
    }
    .label-badge {
        font-size: 9px;
        padding: 5px 14px;
        border-radius: 6px;
        top: 14px;
    }
    .before-badge { left: 14px; }
    .after-badge { right: 14px; }
    .carousel-arrow {
        display: flex;
        opacity: 0.9;
        width: 36px;
        height: 36px;
        background: rgba(30,144,255,0.15);
        border: 1px solid rgba(30,144,255,0.3);
        border-radius: 50%;
        font-size: 16px;
        backdrop-filter: none;
    }
    .prev-arrow { left: -6px; }
    .next-arrow { right: -6px; }

    /* Wavy Section Mobile */
    .wavy-section {
        padding-bottom: 90px !important;
    }
    .wavy-section .wave-separator {
        display: block;
    }

    /* About */
    .about-container { flex-direction: column; gap: 28px; text-align: center; }
    .about-title::after { left: 50%; transform: translateX(-50%); }
    .about-image-wrapper { width: 100%; justify-content: center; }
    .about-image-shape {
        border-radius: 16px; border-left: none;
    }

    /* Why us */
    .why-us-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .why-us-item {
        padding: 24px 12px 20px;
        border-radius: 12px;
    }
    .why-us-item:last-child { grid-column: span 2; max-width: 50%; justify-self: center; }
    .why-us-icon-wrapper {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        font-size: 22px;
        margin-bottom: 14px;
    }
    .why-us-item-title { font-size: 11px; letter-spacing: 1px; }
    .why-us-item-desc { font-size: 11px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 12px; }

    /* Footer */
    .main-footer { padding: 40px 0 0; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        text-align: left;
    }
    .about-col {
        grid-column: span 2;
        text-align: center;
        align-items: center;
        margin-bottom: 8px;
    }
    .about-col .footer-about-text {
        max-width: 100%;
    }
    .links-col {
        grid-column: span 1;
    }
    .social-col {
        grid-column: span 2;
        text-align: center;
        align-items: center;
        margin-top: 8px;
    }
    .footer-col {
        display: flex;
        flex-direction: column;
    }
    .footer-col-title {
        margin-bottom: 12px;
    }
    .footer-logo { justify-content: center; }
    .social-icons { justify-content: center; }
    .footer-bottom-container { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 84vh; padding: 120px 0 90px; }
    .hero-title { font-size: 30px; }
    .hero-description { font-size: 13px; max-width: 280px; }
    .hero-features-list li { font-size: 10px; }
    .hero-cta-btn { max-width: 270px; }
    .cta-phone { font-size: 16px; }
}
