:root {
    --bg-dark: #050608;
    --bg-muted: #0f131a;
    --steel: #c2d4f2;
    /* DUERO catalogue gold + steel blue */
    --accent: #c9a227;
    --accent-2: #1a6eb5;
    --text: #f8f8fb;
    --text-muted: #b2bfd2;
    --card: #111827;
    --border: rgba(255, 255, 255, 0.08);
    --font-base: 'Inter', Arial, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    /* Layout rhythm */
    --content-max: 80rem;
    --section-pad-y: clamp(3.75rem, 6.5vw, 6.25rem);
    --section-pad-y-tight: clamp(2.75rem, 5vw, 4.5rem);
    --gap-xl: clamp(2rem, 4vw, 3rem);
    --gap-lg: clamp(1.5rem, 3vw, 2.5rem);
    --gap-md: clamp(1.1rem, 2vw, 1.75rem);
    --text-base: 1.0625rem;
    --text-lg: 1.1875rem;
    --product-img-area: clamp(300px, 42vw, 460px);
    --product-img-pad: 1.25rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    overflow-x: clip;
    width: 100%;
}

body {
    margin: 0;
    overflow-x: visible;
    font-family: var(--font-base);
    font-size: var(--text-base);
    background: radial-gradient(circle at top, rgba(0, 140, 255, 0.08), transparent 40%),
        linear-gradient(180deg, #050608 0%, #07090c 40%, #050608 100%);
    color: var(--text);
    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive media in content areas (avoid stretching logos/icons globally) */
.hero-image img,
.product-image img,
.product-image-container img,
.product-overview-icon img,
.portfolio-grid img,
.gallery-grid img,
.hero-logo-between {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.container {
    width: min(94%, var(--content-max));
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    background: rgba(5, 6, 8, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.85rem;
    min-height: 74px;
    width: min(94%, var(--content-max));
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

@media (max-width: 768px) {
    .site-header .container {
        min-height: 66px;
        padding-block: 0.7rem;
    }
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex-shrink: 0;
    max-width: min(58vw, 360px);
}

.logo-img {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.logo:hover .logo-img {
    opacity: 0.9;
}

nav {
    position: relative;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-icon {
    opacity: 0.88;
    flex-shrink: 0;
    color: var(--steel);
}

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

.nav-links a.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.nav-cta-item {
    list-style: none;
}

.nav-quote-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .nav-cta-item {
        width: 100%;
        margin-top: 0.35rem;
    }

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

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    padding-left: 1.75rem;
}

.dropdown-menu a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.page-hero {
    padding-block: var(--section-pad-y) var(--gap-lg);
    background: radial-gradient(circle at top, rgba(0, 140, 255, 0.08), transparent 60%);
}

.page-hero .container {
    text-align: left;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0.65rem 0 1.15rem;
    color: var(--text);
    max-width: 22ch;
}

.page-hero .lead {
    font-size: var(--text-lg);
    line-height: 1.7;
    max-width: 42rem;
    margin: 0;
}

.hero {
    padding: 1.25rem 0;
    min-height: calc(100vh - 67px);
    display: flex;
    align-items: center;
    overflow: visible;
    background: radial-gradient(circle at top, rgba(0, 140, 255, 0.08), transparent 40%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-muted) 40%, var(--bg-dark) 100%);
}

/* Home hero — DUERO showcase + welcome (reference layout) */
.hero.hero--welcome {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: auto;
    padding-top: clamp(3rem, 10vh, 5.5rem);
    padding-bottom: clamp(1.75rem, 3vh, 2.5rem);
    display: flex;
    align-items: flex-start;
    background-color: #07090c;
    background-image:
        linear-gradient(118deg, transparent 42%, rgba(201, 162, 39, 0.07) 50%, transparent 58%),
        radial-gradient(ellipse 85% 70% at 78% 38%, rgba(201, 162, 39, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 65% 55% at 18% 72%, rgba(26, 110, 181, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 0%, rgba(194, 212, 242, 0.08) 0%, transparent 60%),
        linear-gradient(168deg, #0c0e12 0%, #12161f 38%, #0a0d11 72%, #050608 100%);
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
}

/* Brushed steel + machined grain (industrial) */
.hero.hero--welcome::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 18%, transparent 82%, rgba(0, 0, 0, 0.2) 100%),
        repeating-linear-gradient(
            -14deg,
            transparent 0,
            transparent 3px,
            rgba(255, 255, 255, 0.018) 3px,
            rgba(255, 255, 255, 0.018) 4px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.012) 0,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px,
            transparent 64px
        );
}

/* Warm specular highlight behind DUERO side */
.hero.hero--welcome::after {
    content: '';
    position: absolute;
    top: 8%;
    right: 5%;
    width: min(52vw, 520px);
    height: min(70%, 420px);
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.22) 0%, rgba(201, 162, 39, 0.06) 40%, transparent 72%);
    filter: blur(28px);
    transform: translateZ(0);
}

.hero.hero--welcome > .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding-top: 0;
}

.hero-welcome-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: center;
    width: 100%;
}

.hero-welcome-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    max-width: 36rem;
}

.hero-duero-showcase {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin: 0;
    line-height: 0;
}

.hero-duero-logo {
    display: block;
    width: auto;
    max-width: min(100%, 500px);
    height: auto;
    max-height: clamp(140px, 22vw, 230px);
    object-fit: contain;
    object-position: right center;
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
}

.hero--welcome .hero-welcome {
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: var(--text-muted);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0.15rem 0 0;
}

.hero--welcome .hero-title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text);
}

.hero--welcome .hero-description {
    margin: 0;
    max-width: 36rem;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.65;
    color: var(--text-muted);
}

.hero--welcome .hero-cta {
    margin-top: 0.25rem;
    gap: 0.85rem;
    flex-wrap: wrap;
}

/* Home: breathing room after hero, before products */
.hero.hero--welcome + .product-overview {
    padding-top: clamp(2.5rem, 5vw, var(--section-pad-y));
}

/* Hero welcome — responsive breakpoints */
@media (min-width: 1440px) {
    .hero-welcome-grid {
        gap: clamp(1.5rem, 2.5vw, 2.5rem);
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    }

    .hero-duero-logo {
        max-width: min(100%, 540px);
        max-height: 250px;
    }
}

@media (min-width: 901px) and (max-width: 1199px) {
    .hero-welcome-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
        gap: var(--gap-lg);
    }

    .hero-duero-logo {
        max-width: min(100%, 420px);
        max-height: 200px;
    }

    .hero--welcome .hero-title {
        font-size: clamp(1.75rem, 3.8vw, 2.75rem);
    }
}

@media (max-width: 900px) {
    .hero.hero--welcome {
        min-height: auto;
        padding-top: clamp(2.25rem, 8vw, 3.5rem);
        padding-bottom: clamp(1.5rem, 5vw, 2.25rem);
    }

    .hero-welcome-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
    }

    .hero-duero-showcase {
        order: -1;
        justify-content: center;
    }

    .hero-duero-logo {
        max-width: min(92vw, 480px);
        max-height: min(32vh, 220px);
        object-position: center;
        margin-inline: auto;
    }

    .hero-welcome-copy {
        max-width: none;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .hero--welcome .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero--welcome .hero-cta .btn {
        flex: 1 1 auto;
        min-width: 10.5rem;
    }
}

@media (max-width: 767px) {
    .hero.hero--welcome {
        padding-block: 2rem 2.5rem;
    }

    .hero--welcome .hero-welcome {
        letter-spacing: 0.18em;
    }

    .hero--welcome .hero-title {
        font-size: clamp(1.65rem, 6.5vw, 2.25rem);
        letter-spacing: 0.03em;
    }

    .hero--welcome .hero-description {
        font-size: 1rem;
    }

    .hero-duero-logo {
        max-width: min(88vw, 400px);
        max-height: 200px;
    }

    .hero--welcome .hero-cta {
        flex-direction: column;
        width: 100%;
    }

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

@media (max-width: 575px) {
    .hero--welcome .hero-welcome {
        letter-spacing: 0.12em;
        font-size: 0.8rem;
    }

    .hero--welcome .hero-title {
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }

    .hero-duero-logo {
        max-width: min(94vw, 320px);
        max-height: 168px;
    }
}

/* Tablet / phone landscape — keep two columns when there is room */
@media (min-width: 640px) and (max-height: 520px) and (orientation: landscape) {
    .hero.hero--welcome {
        min-height: auto;
        padding-block: 1.25rem 1.5rem;
    }

    .hero-welcome-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(200px, 0.7fr);
        gap: 1.25rem;
    }

    .hero-duero-showcase {
        order: 0;
        justify-content: flex-end;
    }

    .hero-duero-logo {
        max-width: min(100%, 320px);
        max-height: min(36vh, 160px);
        object-position: right center;
    }

    .hero--welcome .hero-title {
        font-size: clamp(1.35rem, 4vw, 1.85rem);
    }

    .hero--welcome .hero-description {
        margin-bottom: 0.5rem;
        font-size: 0.92rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero--welcome .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hero--welcome .hero-cta .btn {
        width: auto;
        padding: 0.65rem 1.1rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .hero.hero--welcome {
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 1023px) {
    .hero:not(.hero--welcome) {
        min-height: auto;
        max-height: none;
        padding: 2rem 0;
    }
}

@media (max-width: 767px) {
    .hero:not(.hero--welcome) {
        padding: 1rem 0;
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .hero:not(.hero--welcome) {
        padding: 0.75rem 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    overflow: visible;
    width: 100%;
}

@media (max-width: 1023px) {
    .hero-grid {
        gap: 2rem;
    }
}

/* Responsive Hero Grid */
@media (min-width: 1440px) {
    .hero-grid {
        gap: 4rem;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-grid {
        gap: 3rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 767px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-image {
        order: -1;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    .hero-content {
        gap: 0.75rem;
    }
}

.hero-logo-section {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    line-height: 0;
}

@media (max-width: 767px) {
    .hero-logo-section {
        margin: 0 0 0.5rem 0;
    }
}

.hero-logo-between {
    width: 140px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left top;
    display: block;
    margin: 0;
    padding: 0;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* Responsive Hero Logo */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-logo-between {
        width: 130px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-logo-between {
        width: 120px;
    }
}

@media (max-width: 767px) {
    .hero-logo-between {
        width: 110px;
        max-width: 85%;
    }
}

@media (max-width: 575px) {
    .hero-logo-between {
        width: 100px;
        max-width: 80%;
    }
}

.hero-welcome {
    font-family: var(--font-base);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    padding: 0;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .hero-welcome {
        font-size: 0.8rem;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.75rem);
    color: var(--text);
    margin: 0.15rem 0 0.35rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .hero-title {
        margin: 0.25rem 0 0.5rem;
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 500px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 0 0.75rem 0;
    }
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: auto;
    max-height: 55vh;
    cursor: pointer;
    overflow: visible;
    padding: 0.5rem;
    position: relative;
}

/* Responsive Hero Image */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-image {
        max-height: 65vh;
        padding: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-image {
        max-height: 50vh;
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-image {
        max-height: 40vh;
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .hero-image {
        max-height: 35vh;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
    display: block;
    transform-origin: center center;
}

@media (max-width: 767px) {
    .hero-image img {
        max-width: 100%;
        max-height: 40vh;
    }
}

@media (max-width: 575px) {
    .hero-image img {
        max-height: 35vh;
    }
}


.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.85rem;
    color: var(--accent-2);
    margin-bottom: 1.1rem;
}

.lead {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.35rem;
}

@media (max-width: 767px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

.btn {
    border-radius: 8px;
    padding: 1rem 2.15rem;
    font-weight: 600;
    border: 1px solid transparent;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 1.05rem;
    font-family: var(--font-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn.primary:hover,
.btn.primary:focus {
    background: #b86505;
    border-color: #b86505;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn.primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.btn.video-btn {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn.video-btn:hover,
.btn.video-btn:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn.ghost {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn.full {
    width: 100%;
}

.btn:disabled,
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    pointer-events: none;
}

.btn:disabled:hover,
button[type="submit"]:disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.hero-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-card h3 {
    margin-top: 0;
    font-family: var(--font-display);
}

.hero-photo {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.hero-photo img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.hero-photo figcaption {
    padding: 0.9rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-card ul {
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--steel);
}

.trust-logos {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

section {
    padding-block: var(--section-pad-y);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-xl);
    align-items: start;
}

@media (max-width: 768px) {
    .split {
        gap: 2rem;
    }
}

.stats-grid {
    margin-top: var(--gap-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap-md);
}

.stats-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-tile__value,
.stats-grid > div > span:not(.stat-tile__icon) {
    display: block;
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-tile {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
}

.stat-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.stats-grid p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pillars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillars article {
    background: var(--card);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pillars article:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 119, 6, 0.3);
}

.pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: rgba(0, 140, 255, 0.12);
    color: var(--accent-2);
    margin-bottom: 1rem;
}

.pillars article h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0 0 0.75rem 0;
    color: var(--text);
    font-weight: 600;
}

.pillars article p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.products {
    background: var(--bg-muted);
}

.section-heading {
    text-align: center;
    margin-bottom: var(--gap-xl);
    max-width: 48rem;
    margin-inline: auto;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4.5vw, 3rem);
    margin: 0.65rem 0 1.15rem;
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
}

.section-heading p {
    color: var(--text-muted);
    font-size: var(--text-lg);
    margin: 0;
    line-height: 1.7;
}

.why-choose-us {
    background: var(--bg-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-lg);
    margin-top: var(--gap-xl);
}

/* Large Devices (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

/* Medium Devices (Tablets Landscape, 768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Small Devices (Tablets Portrait, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.product-overview {
    background: var(--bg-muted);
}

.product-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-lg);
    margin-top: var(--gap-xl);
    max-width: 56rem;
    margin-inline: auto;
}

/* Responsive Product Overview Grid */
@media (min-width: 1440px) {
    .product-overview-grid {
        gap: var(--gap-xl);
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .product-overview-grid {
        gap: var(--gap-lg);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--gap-lg);
    }
}

@media (max-width: 767px) {
    .product-overview-grid {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
        max-width: none;
    }
}

.product-overview-card {
    background: var(--card);
    padding: 2.75rem 2.25rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-overview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: var(--accent);
}

.product-overview-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 16px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Product image container for overview cards */
.product-overview-icon.product-image-container {
    width: 100%;
    min-height: var(--product-img-area);
    max-height: none;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.75rem;
    background: #ffffff;
    padding: var(--product-img-pad);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-overview-icon.product-image-container img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(var(--product-img-area) - (var(--product-img-pad) * 2));
    object-fit: contain;
    display: block;
}

/* Responsive product overview icon images */
@media (max-width: 767px) {
    .product-overview-icon.product-image-container {
        margin-bottom: 1.25rem;
    }
}

.product-overview-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin: 0 0 1rem;
    color: var(--text);
    font-weight: 600;
}

.product-overview-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem;
    flex: 1;
}

.product-overview-card .btn {
    margin-top: auto;
}

.feature-card {
    background: var(--card);
    padding: 2.75rem 2.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(217, 119, 6, 0.4);
    background: rgba(17, 24, 39, 0.8);
}

.feature-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 12px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: var(--text-base);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--gap-lg);
}

/* Responsive Product Grid */
@media (min-width: 1440px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.product-card {
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(217, 119, 6, 0.4);
}

.product-card:focus-within {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.product-image {
    width: 100%;
    min-height: var(--product-img-area);
    height: auto;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--product-img-pad);
}

.product-image img {
    width: auto;
    height: auto;
    max-width: min(100%, 520px);
    max-height: calc(var(--product-img-area) - (var(--product-img-pad) * 2));
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

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

.product-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1;
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.product-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-specs li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.product-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.product-specs strong {
    color: var(--text);
    font-weight: 600;
}

.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
    align-items: center;
}

.product-actions .btn {
    margin-top: 0;
    flex: 1;
    min-width: 140px;
}

.page-hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.page-hero .page-hero-actions {
    max-width: 52rem;
    margin-inline: auto;
}

.btn:disabled,
a.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .page-hero-actions {
        flex-direction: column;
    }
    
    .page-hero-actions .btn {
        width: 100%;
    }
}

.portfolio {
    background: radial-gradient(circle at top, rgba(255, 107, 53, 0.12), transparent 60%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gap-lg);
}

.portfolio-grid article {
    padding: 1.65rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.portfolio-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 119, 6, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-grid article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.portfolio-grid article h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 0.75rem 0 0.5rem 0;
    color: var(--text);
    font-weight: 600;
}

.portfolio-grid article p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 0.75rem 0;
}

.portfolio-grid span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
    font-weight: 500;
}

.insights {
    background: var(--bg-muted);
}

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

.insight-list li {
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 1rem;
    border-radius: 0 12px 12px 0;
    transition: all 0.2s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.insight-list__icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent);
}

.insight-list li:hover {
    background: rgba(0, 0, 0, 0.35);
    transform: translateX(4px);
}

.insight-list li strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.insight-list li p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.insight-card {
    background: linear-gradient(145deg, rgba(0, 140, 255, 0.2), rgba(0, 140, 255, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 140, 255, 0.3);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 140, 255, 0.2);
    border-color: rgba(0, 140, 255, 0.5);
}

.insight-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: var(--text);
    font-weight: 600;
}

.insight-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.contact {
    background: var(--bg-dark);
}

.gallery {
    background: var(--bg-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.gallery-grid figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.gallery-grid figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 119, 6, 0.3);
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-grid figcaption {
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-showcase {
    background: var(--bg-muted);
    padding: 5rem 0;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.product-showcase-image {
    position: sticky;
    top: 100px;
    background: var(--card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: var(--product-img-area);
}

.product-showcase-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    border-radius: 8px;
}


.product-showcase-specs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-showcase-header {
    margin-bottom: 0.5rem;
}

.product-showcase-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0.5rem 0 0.75rem 0;
    color: var(--text);
    line-height: 1.2;
}

.product-subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.specs-table {
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.spec-label {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(217, 119, 6, 0.1);
    border-right: 1px solid rgba(217, 119, 6, 0.2);
    display: flex;
    align-items: center;
    min-width: 200px;
}

.spec-value {
    padding: 1.25rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-list li {
    color: var(--text-muted);
    line-height: 1.6;
}

.spec-list strong {
    color: var(--text);
    font-weight: 600;
    margin-right: 0.5rem;
}

.product-showcase-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

@media (max-width: 968px) {
    .product-showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-showcase-image {
        position: relative;
        top: 0;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-label {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem 1.5rem;
    }

    .spec-value {
        padding: 1rem 1.5rem;
    }
}

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

    .product-showcase-image {
        padding: 1.5rem;
    }

    .product-showcase-cta {
        flex-direction: column;
    }

    .product-showcase-cta .btn {
        width: 100%;
    }
}

.quick-links {
    background: var(--bg-dark);
}

.quick-links .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-lg);
    align-items: stretch;
}

.quick-links .product-grid article {
    background: var(--card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-links .product-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(217, 119, 6, 0.3);
}

.quick-links .product-grid article h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0;
    color: var(--text);
    font-weight: 600;
}

.quick-links .product-grid article p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.cta-panel {
    background: rgba(0, 140, 255, 0.08);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.cta-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--text);
    line-height: 1.2;
}

.cta-panel p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.cta-panel .btn {
    margin-top: 1rem;
}

.coming-soon {
    min-height: calc(100vh - 67px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.coming-soon-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.coming-soon-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    line-height: 0;
}

.coming-soon-visual img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.coming-soon-card {
    max-width: none;
    margin: 0;
    text-align: center;
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 767px) {
    .coming-soon-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .coming-soon-visual img {
        min-height: 220px;
        max-height: 280px;
    }

    .coming-soon-card {
        padding: 2rem 1.5rem;
    }
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.coming-soon-card h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0 0 1rem;
    color: var(--text);
}

.coming-soon-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 2rem;
    font-size: 1.05rem;
}

.coming-soon-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-meta li {
    font-size: 1rem;
    line-height: 1.7;
}

.contact-meta__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.contact-meta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: rgba(0, 140, 255, 0.12);
    color: var(--accent-2);
}

.contact-meta__item strong {
    display: block;
    color: var(--text);
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.contact-meta__item div {
    min-width: 0;
}

.contact-meta__text {
    color: var(--text-muted);
}

.contact-meta strong {
    color: var(--text);
    font-weight: 600;
    margin-right: 0.5rem;
}

.form-panel {
    background: var(--card);
    border-radius: 20px;
    padding: 2.5rem 2.25rem;
    border: 1px solid var(--border);
}

.form-row {
    margin-bottom: 1.35rem;
    display: flex;
    flex-direction: column;
}

.form-row.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
    display: block;
}

input,
select,
textarea {
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.9rem 1.2rem;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 0;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 107, 53, 0.6);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-hint {
    display: block;
    color: var(--accent-2);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.turnstile-row {
    margin-top: 0.25rem;
}

.form-row input:invalid:not(:placeholder-shown),
.form-row select:invalid:not(:placeholder-shown) {
    border-color: rgba(217, 119, 6, 0.65);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.footer-link,
.contact-meta a {
    color: var(--accent-2);
    text-decoration: none;
}

.footer-link:hover,
.contact-meta a:hover {
    text-decoration: underline;
}

select {
    color: var(--text);
    background: var(--card);
}

select:invalid {
    color: var(--text-muted);
}

select:valid {
    color: var(--text);
}

select:focus {
    color: var(--text);
}

/* Optgroup labels - category headers - Single color scheme */
select optgroup {
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent) !important;
    background: rgba(217, 119, 6, 0.15) !important;
}

/* All category headers use the same accent color */
select optgroup[label="Metal Cutting - HSS"],
select optgroup[label="Metal Cutting - TCT"],
select optgroup[label="Solid Cutting"],
select optgroup[label="Wood Cutting"],
select optgroup[label="Band Saw"] {
    color: var(--accent) !important;
    background: rgba(217, 119, 6, 0.15) !important;
}

/* Option styling */
select option {
    padding: 0.75rem 1rem;
    color: var(--text) !important;
    background: var(--card) !important;
}

/* All options with consistent styling */
select optgroup option {
    padding-left: 1.5rem;
}

select optgroup option:hover,
select optgroup option:checked,
select option:checked {
    background: rgba(217, 119, 6, 0.2) !important;
    color: var(--accent) !important;
}

/* Default/placeholder option */
select option[value=""] {
    color: var(--text-muted) !important;
    background: var(--card) !important;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert.success {
    background: rgba(0, 200, 150, 0.15);
    border: 1px solid rgba(0, 200, 150, 0.4);
    color: #a0f0d0;
}

.alert.error {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.4);
    color: #ffb399;
}

.alert.info {
    background: rgba(0, 140, 255, 0.15);
    border: 1px solid rgba(0, 140, 255, 0.4);
    color: #99d6ff;
}

.alert.hidden {
    display: none;
}

.site-footer {
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
    padding-block: var(--section-pad-y-tight) 2rem;
    color: var(--text);
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: var(--gap-lg);
    margin-bottom: var(--gap-md);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap-lg);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-column p,
.footer-column span {
    margin: 0;
    font-size: var(--text-base);
    color: var(--text);
    line-height: 1.65;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: var(--text);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom strong {
    font-weight: 600;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1rem);
        right: 0;
        flex-direction: column;
        background: var(--bg-muted);
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid var(--border);
        display: none;
        min-width: 200px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        z-index: 100;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.35rem;
        margin-left: 1rem;
        border: none;
        border-left: 2px solid var(--accent);
        border-radius: 0;
        padding: 0.5rem 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu a:hover {
        padding-left: 1.25rem;
    }

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

    .hero-image {
        order: -1;
        overflow: visible;
        padding: 2rem;
        min-height: 300px;
    }

    .hero-image img {
        max-width: 100%;
        width: 100%;
    }

    .hero-logo-section {
        margin: 0 0 1rem 0;
        padding: 0;
        line-height: 0;
    }
    
    .hero-logo-between {
        width: 120px;
        max-width: 90%;
        margin: 0;
        padding: 0;
        object-position: left top;
    }
    
    .hero:not(.hero--welcome) .hero-welcome {
        font-size: 0.85rem;
        margin: 0;
        padding: 0;
    }
    
    .hero:not(.hero--welcome) .hero-title {
        margin: 0.15rem 0 0.75rem;
        font-size: 2rem;
    }

    .hero:not(.hero--welcome) .hero-description {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-overview {
        padding: 3rem 0;
    }
    
    .product-overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-overview-card {
        padding: 2rem 1.5rem;
    }
    
    .product-overview-icon:not(.product-image-container) {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }
    
    .product-overview-card h3 {
        font-size: 1.5rem;
    }

    .product-image {
        min-height: clamp(280px, 55vw, var(--product-img-area));
        padding: var(--product-img-pad);
    }
    
    .product-image img {
        max-width: 100%;
        max-height: calc(clamp(280px, 55vw, var(--product-img-area)) - (var(--product-img-pad) * 2));
    }

    .product-content {
        padding: 1.5rem;
    }

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

    .footer-column {
        text-align: center;
    }

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

    .page-hero {
        padding: 3rem 0 2rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero .lead {
        font-size: 1rem;
    }

    .form-row.two-col {
        grid-template-columns: 1fr;
    }

    .form-panel {
        padding: 1.5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

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

/* Product Popup Modal */
.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-popup-content {
    background: var(--card);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 2.5rem;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

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

.product-popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.product-popup-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.product-popup-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 0 1.5rem 0;
    color: var(--text);
    font-weight: 600;
}

.product-popup-message {
    color: var(--text-muted);
    line-height: 1.7;
}

.product-popup-message p {
    margin: 0 0 1rem 0;
    font-size: 1.05rem;
}

.product-popup-message .btn {
    margin-top: 1.5rem;
}

.product-card {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-card:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    .product-popup {
        padding: 1rem;
    }
    
    .product-popup-content {
        padding: 2rem 1.5rem;
    }
    
    .product-popup-content h3 {
        font-size: 1.5rem;
        padding-right: 2rem;
    }
    
    .product-popup-close {
        top: 1rem;
        right: 1rem;
    }
}

/* Product Tabs Styles */
.product-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.9rem 2.5rem;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-base);
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(217, 119, 6, 0.1);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tab-btn.active:hover {
    background: #b86505;
    border-color: #b86505;
    transform: translateY(-2px);
}

/* Product Filtering */
.product-card {
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card.hidden {
    display: none;
}

/* Hide non-metal-cutting products in metal-cutting section */
.metal-cutting-section .product-card:not([data-category*="metal-cutting"]) {
    display: none !important;
}

/* Initially hide TCT products, show HSS */
.metal-cutting-section .product-card[data-category*="tct"] {
    display: none;
}

.metal-cutting-section .product-card[data-category*="hss"] {
    display: block;
}

@media (max-width: 768px) {
    .product-tabs {
        margin: 1.5rem 0 2rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        flex: 1;
        min-width: 120px;
    }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES
   ============================================ */

/* Extra Large Devices (Large Desktops, 1440px and up) */
@media (min-width: 1440px) {
    .hero-grid {
        gap: 4rem;
    }
    
    .product-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 56rem;
        margin-inline: auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

/* Large Devices (Desktops, 1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero-grid {
        gap: 3rem;
    }
    
    .product-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 56rem;
        margin-inline: auto;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Medium Devices (Tablets Landscape, 768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        gap: 2.5rem;
    }
    
    .hero:not(.hero--welcome) .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .product-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-heading h2 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .product-overview-card {
        padding: 2rem 1.5rem;
    }
    
    section {
        padding: 3.5rem 0;
    }
}

/* Small Devices (Tablets Portrait, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero:not(.hero--welcome) .hero-title {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
    }
    
    .hero:not(.hero--welcome) .hero-description {
        font-size: 0.95rem;
    }
    
    .product-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .section-heading h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .feature-card {
        padding: 1.75rem 1.25rem;
    }
    
    .product-overview-card {
        padding: 1.75rem 1.25rem;
    }
    
    .product-overview-icon:not(.product-image-container) {
        width: 70px;
        height: 70px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 575px) {
    .logo {
        max-width: min(62vw, 300px);
    }

    .logo-img {
        height: 47px;
    }
    
    .hero:not(.hero--welcome) .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero:not(.hero--welcome) .hero-description {
        font-size: 0.9rem;
    }
    
    .hero:not(.hero--welcome) .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero:not(.hero--welcome) .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .product-overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-overview-card {
        padding: 1.5rem 1rem;
    }
    
    .product-overview-icon:not(.product-image-container) {
        width: 60px;
        height: 60px;
        margin-bottom: 0.75rem;
    }
    
    .product-overview-card h3 {
        font-size: 1.25rem;
    }
    
    .product-overview-card p {
        font-size: 0.9rem;
    }
    
    .section-heading {
        margin-bottom: 2rem;
    }
    
    .section-heading h2 {
        font-size: 1.5rem;
        margin: 0.5rem 0 0.75rem;
    }
    
    .section-heading p {
        font-size: 0.95rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image {
        min-height: clamp(260px, 62vw, 380px);
        padding: var(--product-img-pad);
    }
    
    .product-image img {
        max-width: 100%;
        max-height: calc(clamp(260px, 62vw, 380px) - (var(--product-img-pad) * 2));
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .product-card h3 {
        font-size: 1.25rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-specs li {
        font-size: 0.85rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
        margin: 0;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch-friendly */
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stat-tile__value {
        font-size: 2rem;
    }
    
    .stats-grid p {
        font-size: 0.85rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .page-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero .lead {
        font-size: 0.95rem;
    }
    
    .split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-column p {
        font-size: 0.85rem;
    }
    
    .form-panel {
        padding: 1.25rem;
    }
    
    .form-row.two-col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
        min-height: 44px; /* Touch-friendly */
    }
    
    textarea {
        min-height: 120px;
    }
    
    .product-tabs {
        margin: 1rem 0 1.5rem;
        gap: 0.75rem;
    }
    
    .tab-btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: 100px;
        min-height: 44px;
    }
    
    .product-popup-content {
        padding: 1.5rem 1rem;
        margin: 1rem;
    }
    
    .product-popup-content h3 {
        font-size: 1.25rem;
        padding-right: 2.5rem;
    }
    
    .hero-image {
        min-height: 250px;
        padding: 1rem;
    }
    
    .hero-logo-between {
        width: 100px;
        max-width: 85%;
    }
    
    .eyebrow {
        font-size: 0.75rem;
    }
}

/* Landscape Orientation for Small Devices */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-image {
        min-height: 200px;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn,
    .nav-links,
    .product-actions {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* ============================================
   ADDITIONAL RESPONSIVE UTILITIES
   ============================================ */

/* Ensure touch targets are at least 44x44px on mobile */
@media (max-width: 767px) {
    a, button, input[type="button"], input[type="submit"], .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Horizontal scroll: clip on html only so body children can use position: sticky */
body {
    max-width: 100%;
}

/* Responsive typography scaling */
@media (max-width: 575px) {
    h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
    h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
    h3 { font-size: clamp(1.1rem, 3vw, 1.5rem); }
    h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); }
    p, li { font-size: clamp(0.875rem, 2vw, 1rem); }
}

/* Responsive spacing adjustments */
@media (max-width: 767px) {
    .section-heading {
        margin-bottom: 2rem;
    }
    
    .page-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .page-hero-actions .btn {
        width: 100%;
    }
}

/* Responsive gallery and image grids */
@media (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

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

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Quick links — 3 across tablet + desktop; stack on small phones only */
@media (max-width: 1023px) {
    .quick-links .product-grid {
        gap: 1rem;
    }

    .quick-links .product-grid article {
        padding: 1.35rem 1.15rem;
    }

    .quick-links .product-grid article h3 {
        font-size: 1.2rem;
    }

    .quick-links .product-grid article p {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    .quick-links .product-grid .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
        white-space: normal;
    }
}

@media (max-width: 575px) {
    .quick-links .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Ensure all iframes and embeds are responsive */
iframe, embed, object, video {
    max-width: 100%;
    height: auto;
}

/* Responsive table wrapper for horizontal scroll on small screens */
@media (max-width: 767px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* Smooth scrolling for better mobile experience */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: rgba(255, 255, 255, 0.2);
    }
}

/* Dark mode optimizations (already dark, but ensure consistency) */
@media (prefers-color-scheme: dark) {
    /* Already using dark theme, no changes needed */
}

/* Landscape phone optimizations */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-image {
        min-height: 200px;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Very small devices (phones in portrait, < 375px) */
@media (max-width: 374px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .logo {
        max-width: min(68vw, 260px);
    }

    .logo-img {
        height: 40px;
    }
    
    .hero:not(.hero--welcome) .hero-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .product-overview-card {
        padding: 1.25rem 0.75rem;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
    }
}

/* --- Frontend UX pack (skip link, mobile CTA, form, breadcrumbs) --- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 100;
    padding: 0.65rem 1rem;
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 600;
    border-radius: 0.35rem;
    text-decoration: none;
}

.skip-link:focus {
    left: 1rem;
}

.breadcrumbs {
    padding: 1rem 0 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0 0 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--accent-2);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.field-error {
    display: block;
    color: #f59e0b;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.field-error.hidden {
    display: none;
}

.form-note {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.quote-context {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 140, 255, 0.35);
    background: rgba(0, 140, 255, 0.1);
    font-size: 0.92rem;
}

.quote-context.hidden {
    display: none;
}

.quote-context__clear {
    margin-left: auto;
    color: var(--accent-2);
    font-size: 0.85rem;
    text-decoration: none;
}

.quote-context__clear:hover {
    text-decoration: underline;
}

.alert-message {
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.alert-sub {
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    color: inherit;
    opacity: 0.9;
}

.alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.alert-actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
}

.product-content > .spec-chip {
    margin-top: 0.35rem;
}

/* Global vertical rhythm — about, contact, quick links */
main {
    display: block;
}

.about h2,
.split > div > h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.35rem);
    line-height: 1.2;
    margin: 0.5rem 0 1.15rem;
}

.about p,
.split > div > p {
    font-size: var(--text-base);
    line-height: 1.7;
}

.contact-meta {
    font-size: var(--text-base);
    line-height: 1.75;
}

.contact-meta li + li {
    margin-top: 0.65rem;
}

.pillars article {
    padding: 2rem 1.85rem;
}

.pillars article h3 {
    font-size: 1.35rem;
}

.quick-links .product-grid article {
    padding: 2.25rem 2rem;
}

.spec-chip {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--steel);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.cf-turnstile:focus-within {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

.ui-icon {
    flex-shrink: 0;
}

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

.site-engagement-strip {
    background: linear-gradient(180deg, rgba(0, 140, 255, 0.08), rgba(0, 0, 0, 0.35));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: clamp(1.25rem, 3vw, 2rem) 0;
}

@media (max-width: 767px) {
    .site-engagement-strip {
        display: none;
    }
}

.site-engagement-strip__inner {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    align-items: stretch;
}

@media (min-width: 900px) {
    .site-engagement-strip__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.engagement-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}

.engagement-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.engagement-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.engagement-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.engagement-pill:hover {
    border-color: rgba(217, 119, 6, 0.45);
    color: var(--accent);
}

.engagement-pill--accent {
    border-color: rgba(37, 211, 102, 0.45);
    color: #9ae6b0;
}

.engagement-pill--primary {
    background: rgba(0, 140, 255, 0.18);
    border-color: rgba(0, 140, 255, 0.5);
    color: var(--accent-2);
}

.benefit-section {
    max-width: var(--content-max);
    margin: 0 auto;
}

.benefit-section__title {
    text-align: center;
    margin: 0 0 2rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 1023px) {
    .benefit-grid {
        gap: 1rem;
    }

    .benefit-card {
        padding: 1.25rem 1rem;
    }

    .benefit-card strong {
        font-size: 0.95rem;
    }

    .benefit-card p {
        font-size: 0.82rem;
    }
}

@media (max-width: 575px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    padding: 1.5rem;
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.benefit-card__icon {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
}

.quick-link-card__icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 140, 255, 0.12);
    color: var(--accent-2);
    margin-bottom: 1rem;
}

.portfolio-card__icon {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent);
    margin-top: 1rem;
}

.engagement-fab {
    display: none;
}

@media (min-width: 768px) {
    .engagement-fab {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        position: fixed;
        right: 1.1rem;
        bottom: 1.25rem;
        z-index: 8;
    }

    .engagement-fab__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.1rem;
        height: 3.1rem;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: rgba(8, 10, 14, 0.92);
        color: var(--text);
        text-decoration: none;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
        transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .engagement-fab__btn:hover {
        transform: translateY(-2px);
        border-color: rgba(0, 140, 255, 0.55);
        color: var(--accent-2);
    }

    .engagement-fab__btn--wa {
        border-color: rgba(37, 211, 102, 0.5);
        color: #86efac;
    }
}

.mobile-cta-bar {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    }

  body.nav-open .mobile-cta-bar {
        display: none;
    }

    .mobile-cta-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9;
        background: rgba(5, 6, 8, 0.96);
        border-top: 1px solid var(--border);
        padding: 0.4rem 0.35rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
        gap: 0.35rem;
        backdrop-filter: blur(10px);
    }

    .mobile-cta-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-height: 2.75rem;
        border-radius: 0.5rem;
        border: 1px solid var(--border);
        color: var(--text);
        text-decoration: none;
        font-size: 0.72rem;
        font-weight: 600;
    }

    .mobile-cta-item--accent {
        background: rgba(0, 140, 255, 0.15);
        border-color: rgba(0, 140, 255, 0.45);
        color: var(--accent-2);
    }
}

