/* ============================================================
   AEROTHANE APPLICATIONS — MAIN STYLESHEET
   style.css
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ------------------------------------------------------------ */
:root {
    /* ── Brand Palette: Red / Black / White ── */
    --navy: #111111; /* primary dark — near black                */
    --blue: #cc0000; /* primary brand red                        */
    --steel: #ee3333; /* lighter red — hover / gradient end       */
    --orange: #cc0000; /* CTA accent — same red                    */
    --amber: #ff4444; /* bright red — highlights                  */
    --dark-red: #8b0000; /* deep red — gradient mid-stop             */
    --white: #ffffff;
    --light-grey: #f5f5f5;
    --dark-text: #111111;
    --mid-text: #555555;
    --border: #ddd;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.22);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;

    /* ── Gradients ── */
    /* Hero: black → deep red → brand red */
    --grad-hero: linear-gradient(135deg, #111111 0%, #8b0000 55%, #cc0000 100%);
    /* Primary button: brand red → bright red */
    --grad-primary: linear-gradient(135deg, #cc0000, #ee3333);
    /* Secondary button: black → dark grey */
    --grad-secondary: linear-gradient(135deg, #222222, #444444);
    /* Accent stripe: red → bright red → black */
    --grad-accent: linear-gradient(90deg, #cc0000, #ff4444, #111111);

    --nav-height: 72px;
}

/* ------------------------------------------------------------
   2. CSS RESET & BOX-SIZING
   ------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font);
}

input,
textarea,
select {
    font-family: var(--font);
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY BASE
   ------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-text);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}
h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}
h4 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1rem;
}
p:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------------
   4. UTILITY CLASSES
   ------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 96px 0;
}

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

.section-header h2 {
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--grad-primary);
    border-radius: 2px;
    margin: 12px auto 0;
}

.section-header p {
    color: var(--mid-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Gradient text on LIGHT backgrounds (white/grey sections) */
.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Gradient text on DARK/RED sections — must use white ────
   Overrides .gradient-text wherever the background is the
   red/black hero gradient, CTA banner, or stats section.
   Red-on-red is unreadable; white ensures full contrast.       */
.hero .gradient-text,
.page-hero .gradient-text,
.cta-banner .gradient-text,
.stats-section .gradient-text,
.product-hero .gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #ffcccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}
.text-navy {
    color: var(--navy);
}
.text-orange {
    color: var(--orange);
}

/* ------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.45);
    filter: brightness(1.08);
}

.btn-secondary {
    background: var(--grad-secondary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.25);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.35);
    filter: brightness(1.08);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.1rem;
}

/* ------------------------------------------------------------
   6. FADE-IN ANIMATION
   ------------------------------------------------------------ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

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

.fade-in-delay-1 {
    transition-delay: 0.1s;
}
.fade-in-delay-2 {
    transition-delay: 0.2s;
}
.fade-in-delay-3 {
    transition-delay: 0.3s;
}
.fade-in-delay-4 {
    transition-delay: 0.4s;
}
.fade-in-delay-5 {
    transition-delay: 0.5s;
}

/* ------------------------------------------------------------
   7. NAVIGATION
   ------------------------------------------------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--navy);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--white);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: calc(100% - 32px);
}

/* ── Dropdown navigation ── */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: " ▾";
    font-size: 0.7em;
    opacity: 0.75;
}

.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    min-width: 200px;
    padding: 6px 0;
    z-index: 1000;
    border-top: 3px solid var(--orange);
    list-style: none;
}

.dropdown li a {
    display: block;
    padding: 10px 18px;
    color: var(--dark-text) !important;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        background 0.15s,
        color 0.15s,
        padding-left 0.15s;
    white-space: nowrap;
}

.dropdown li a::after {
    display: none !important;
}

.dropdown li a:hover,
.dropdown li a.active {
    background: var(--light-grey);
    color: var(--blue) !important;
    padding-left: 24px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: block;
}

/* Dropdown fade-in animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
.has-dropdown:hover .dropdown {
    animation: dropdownFadeIn 0.18s ease forwards;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Inner-page nav (no hero beneath it) */
.navbar.solid {
    background: var(--navy);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------------------------
   8. HERO SECTION
   ------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--grad-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: floatUp linear infinite;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 5%;
    bottom: -80px;
    animation-duration: 18s;
    animation-delay: 0s;
}
.particle:nth-child(2) {
    width: 40px;
    height: 40px;
    left: 15%;
    bottom: -40px;
    animation-duration: 12s;
    animation-delay: 2s;
}
.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 28%;
    bottom: -60px;
    animation-duration: 15s;
    animation-delay: 4s;
}
.particle:nth-child(4) {
    width: 25px;
    height: 25px;
    left: 42%;
    bottom: -25px;
    animation-duration: 10s;
    animation-delay: 1s;
}
.particle:nth-child(5) {
    width: 100px;
    height: 100px;
    left: 55%;
    bottom: -100px;
    animation-duration: 20s;
    animation-delay: 3s;
}
.particle:nth-child(6) {
    width: 35px;
    height: 35px;
    left: 67%;
    bottom: -35px;
    animation-duration: 14s;
    animation-delay: 6s;
}
.particle:nth-child(7) {
    width: 55px;
    height: 55px;
    left: 75%;
    bottom: -55px;
    animation-duration: 16s;
    animation-delay: 2s;
}
.particle:nth-child(8) {
    width: 20px;
    height: 20px;
    left: 85%;
    bottom: -20px;
    animation-duration: 11s;
    animation-delay: 5s;
}
.particle:nth-child(9) {
    width: 70px;
    height: 70px;
    left: 92%;
    bottom: -70px;
    animation-duration: 17s;
    animation-delay: 0.5s;
}
.particle:nth-child(10) {
    width: 45px;
    height: 45px;
    left: 50%;
    bottom: -45px;
    animation-duration: 13s;
    animation-delay: 8s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-110vh) translateX(40px);
        opacity: 0;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 24px 120px;
    max-width: 860px;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    background: rgba(10, 20, 40, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .stat {
    flex: 1;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.hero-stats .stat:last-child {
    border-right: none;
}

.hero-stats .stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    /* White on dark hero background — no red-on-red */
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.hero-stats .stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ------------------------------------------------------------
   9. PRODUCTS SECTION (HOMEPAGE)
   ------------------------------------------------------------ */
.products-section {
    background: var(--light-grey);
    padding: 96px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

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

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: block;
}

.card-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(204, 0, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.product-card h3 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.product-card p {
    color: var(--mid-text);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}

.card-specs {
    list-style: none;
    margin-bottom: 20px;
}

.card-specs li {
    font-size: 0.83rem;
    color: var(--mid-text);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.card-specs li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

.card-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    margin-top: auto;
}

.card-link:hover {
    color: var(--orange);
    gap: 8px;
}

/* ------------------------------------------------------------
   10. ABOUT SECTION (HOMEPAGE)
   ------------------------------------------------------------ */
.about-section {
    padding: 96px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.about-content h2 {
    margin-bottom: 20px;
    line-height: 1.25;
}

.about-content p {
    font-size: 1rem;
    color: var(--mid-text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.about-stat-box {
    background: var(--light-grey);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    border-left: 4px solid var(--orange);
    transition: var(--transition);
}

.about-stat-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-stat-box .stat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.about-stat-box strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat-box span {
    font-size: 0.82rem;
    color: var(--mid-text);
    font-weight: 500;
}

/* About Info Card */
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-card-header {
    background: var(--grad-primary);
    padding: 28px 32px;
    color: var(--white);
}

.about-card-header h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 6px;
}

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

.about-card-body {
    padding: 28px 32px;
}

.about-card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.about-card-item:last-child {
    border-bottom: none;
}

.about-card-item .item-icon {
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    background: var(--light-grey);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-card-item .item-info label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mid-text);
    margin-bottom: 2px;
}

.about-card-item .item-info span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
}

/* ------------------------------------------------------------
   11. WHY CHOOSE US SECTION
   ------------------------------------------------------------ */
.why-section {
    padding: 96px 0;
    background: var(--light-grey);
}

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

.why-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon {
    width: 72px;
    height: 72px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: rgba(204, 0, 0, 0.1);
}

.why-card h3 {
    font-size: 1.05rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--mid-text);
    line-height: 1.65;
    margin: 0;
}

/* ------------------------------------------------------------
   12. CTA BANNER
   ------------------------------------------------------------ */
.cta-banner {
    background: var(--grad-hero);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-banner h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.cta-contact-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.cta-contact-item .icon {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
}

/* CTA banner sits on a dark red/black gradient — links must be
   white/light, not red, to avoid red-on-red invisibility       */
.cta-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.cta-contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ------------------------------------------------------------
   13. FOOTER
   ------------------------------------------------------------ */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 48px;
    padding-bottom: 64px;
}

.footer-brand .footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.footer-brand .footer-logo-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: "›";
    color: var(--orange);
    font-weight: 700;
}

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

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

/* Footer is dark navy/black — amber (now red) is barely visible;
   use a warm white-pink instead for the contact icons           */
.footer-contact-item .f-icon {
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.5;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.footer-admin-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-admin-link:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------
   14. PAGE HERO (INNER PAGES)
   ------------------------------------------------------------ */
.page-hero {
    background: var(--grad-hero);
    padding: calc(var(--nav-height) + 48px) 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

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

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

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ------------------------------------------------------------
   15. FILTER TABS (PRODUCTS PAGE)
   ------------------------------------------------------------ */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--mid-text);
    transition: var(--transition);
}

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

/* ── Dark-section accent overrides ─────────────────────────────
   Any element using var(--orange) / var(--amber) / var(--blue)
   that lives inside a dark gradient section needs to be white.
   The sections below carry the red/black hero gradient bg.      */

/* Hero eyebrow decorative lines — already rgba white, fine */

/* Section-header underline bar on WHITE bg sections — red OK */
/* .section-header h2::after uses --grad-primary → red on white ✅ */

/* Filter button active: uses --grad-secondary (dark) → white text ✅ */

/* Card-category badge: red text on near-white tint bg ✅ */

/* Card-link on white card bg ✅ */

/* Nav dropdown active link: red text on white dropdown bg ✅ */

/* Stat card top border on white card bg ✅ */

/* Timeline year badge: red bg + white text ✅ */

/* Value-icon circle bg: rgba red tint on light-grey ✅ */

.filter-btn.active {
    background: var(--grad-secondary);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.25);
}

/* Products Page Cards */
.products-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-page-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-page-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.product-page-card-header {
    background: var(--grad-hero);
    padding: 28px 24px;
    text-align: center;
}

.product-page-card-header .card-icon {
    font-size: 3rem;
    margin-bottom: 0;
}

.product-page-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-page-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.product-page-card-body p {
    font-size: 0.9rem;
    color: var(--mid-text);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 16px;
}

.product-page-card-body .card-specs {
    margin-bottom: 20px;
}

.product-page-card-footer {
    padding: 0 24px 24px;
}

/* ------------------------------------------------------------
   16. TIMELINE (ABOUT PAGE)
   ------------------------------------------------------------ */
.timeline-section {
    padding: 96px 0;
    background: var(--light-grey);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--grad-accent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--orange);
    border: 3px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(204, 0, 0, 0.2);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    max-width: 320px;
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.timeline-year {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--grad-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--dark-text);
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--mid-text);
    margin: 0;
    line-height: 1.6;
}

/* ------------------------------------------------------------
   17. VALUES CARDS (ABOUT PAGE)
   ------------------------------------------------------------ */
.values-section {
    padding: 96px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    text-align: center;
    padding: 44px 32px;
    border-radius: var(--radius-lg);
    background: var(--light-grey);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--orange);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark-text);
}

.value-card p {
    font-size: 0.92rem;
    color: var(--mid-text);
    line-height: 1.7;
    margin: 0;
}

/* ------------------------------------------------------------
   18. STATS COUNTER SECTION
   ------------------------------------------------------------ */
.stats-section {
    background: var(--grad-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.counter-box {
    color: var(--white);
}

.counter-number {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

/* counter-suffix lives inside .stats-section which has a dark
   red/black gradient background — white is the only safe colour */
.counter-suffix {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
}

.counter-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ------------------------------------------------------------
   19. PAIA SECTION (ABOUT PAGE)
   ------------------------------------------------------------ */
.paia-section {
    padding: 64px 0;
    background: var(--light-grey);
}

.paia-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 48px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.paia-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.paia-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.paia-card p {
    font-size: 0.92rem;
    color: var(--mid-text);
    margin: 0;
}

/* ------------------------------------------------------------
   20. CONTACT PAGE
   ------------------------------------------------------------ */
.contact-section {
    padding: 96px 0;
    background: var(--light-grey);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.contact-form-wrapper .form-intro {
    color: var(--mid-text);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label .required {
    color: var(--orange);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--dark-text);
    background: var(--white);
    transition: var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

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

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--grad-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.form-submit-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-message {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 16px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    display: block;
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.contact-detail-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.detail-info label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--mid-text);
    margin-bottom: 4px;
}

.detail-info p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.detail-info a {
    color: var(--blue);
    transition: color 0.2s;
}

.detail-info a:hover {
    color: var(--orange);
}

/* Map Placeholder */
.map-placeholder {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-top: 16px;
}

.map-placeholder-inner {
    background: var(--light-grey);
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--mid-text);
    gap: 8px;
}

.map-placeholder-inner .map-icon {
    font-size: 2.5rem;
}

.map-placeholder-inner p {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
}

.map-placeholder-inner small {
    font-size: 0.78rem;
    opacity: 0.7;
}

.map-placeholder-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--mid-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ------------------------------------------------------------
   21. ABOUT PAGE — STORY SECTION
   ------------------------------------------------------------ */
.story-section {
    padding: 96px 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.story-content p {
    font-size: 1rem;
    color: var(--mid-text);
    line-height: 1.8;
    margin-bottom: 18px;
}

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

.story-highlight {
    background: var(--light-grey);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    margin: 28px 0;
}

.story-highlight p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
    font-style: italic;
}

.story-image-placeholder {
    background: var(--grad-hero);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    gap: 12px;
    font-size: 0.9rem;
}

.story-image-placeholder .placeholder-icon {
    font-size: 4rem;
    opacity: 0.6;
}

/* ------------------------------------------------------------
   22. LOADING STATES & MISC
   ------------------------------------------------------------ */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--grad-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(204, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(12px);
    transition: var(--transition);
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.5);
}

/* ------------------------------------------------------------
   23. RESPONSIVE — 1200px
   ------------------------------------------------------------ */
@media (max-width: 1200px) {
    .products-grid,
    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ------------------------------------------------------------
   24. RESPONSIVE — 992px
   ------------------------------------------------------------ */
@media (max-width: 992px) {
    .section-padding {
        padding: 72px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content {
        max-width: 100%;
    }

    .paia-card {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
}

/* ------------------------------------------------------------
   25. RESPONSIVE — 768px
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    /* Nav mobile */
    /* ── Mobile dropdown accordion ── */
    .has-dropdown > a::after {
        float: right;
        transition: transform 0.2s;
    }

    .has-dropdown.open > a::after {
        transform: rotate(180deg);
    }

    .dropdown {
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--orange);
        background: rgba(255, 255, 255, 0.06);
        border-radius: 0;
        margin-left: 12px;
        padding: 4px 0;
        min-width: auto;
        width: 100%;
        animation: none !important;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown li a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 0.85rem;
        padding: 9px 16px;
    }

    .dropdown li a:hover,
    .dropdown li a.active {
        background: rgba(255, 255, 255, 0.1);
        color: var(--amber) !important;
        padding-left: 22px;
    }

    /* Override hover-based open on mobile — JS handles it */
    .has-dropdown:hover .dropdown {
        display: none;
    }
    .has-dropdown.open .dropdown {
        display: block !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        transform: translateY(-110%);
        transition: transform 0.35s ease;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links li a {
        display: block;
        padding: 13px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background: rgba(255, 255, 255, 0.08);
    }

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

    /* Hero */
    .hero-stats {
        position: relative;
        flex-wrap: wrap;
    }

    .hero-stats .stat {
        flex: 0 0 50%;
        max-width: 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-stats .stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Products */
    .products-grid,
    .products-page-grid {
        grid-template-columns: 1fr;
    }

    /* About stats */
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    /* Why */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 28px 20px;
    }

    /* CTA */
    .cta-contact-details {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Contact form */
    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ------------------------------------------------------------
   26. RESPONSIVE — 576px
   ------------------------------------------------------------ */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 32px 16px 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .section-padding {
        padding: 56px 0;
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .filter-bar {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .page-hero {
        padding: calc(var(--nav-height) + 28px) 16px 40px;
        min-height: 220px;
    }

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

    .cta-banner {
        padding: 56px 16px;
    }
}

/* ------------------------------------------------------------
   27. PRINT STYLES
   ------------------------------------------------------------ */
@media print {
    .navbar,
    .hamburger,
    .hero-particles,
    .cta-banner,
    .footer-social,
    .scroll-top {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .hero {
        min-height: auto;
        padding: 24pt;
        background: none;
        border-bottom: 2pt solid #000;
    }

    .hero-content h1 {
        color: #000;
    }
}

/* ============================================================
   MOBILE COMPATIBILITY — COMPREHENSIVE FIXES
   ============================================================ */

/* ── Touch targets — minimum 44px ── */
@media (max-width: 768px) {
    .btn, .nav-links li a, .hamburger,
    .filter-btn, .scroll-top {
        min-height: 44px;
    }

    /* Nav container tighter padding */
    .nav-container { padding: 0 16px; }

    /* Hero — prevent overflow */
    .hero { min-height: 100svh; }
    .hero-content {
        padding: 24px 16px 120px;
        text-align: center;
        max-width: 100%;
    }
    .hero-content h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
    .hero-subtitle { font-size: 1rem; max-width: 100%; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }

    /* Hero stats — 2 col */
    .hero-stats {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        bottom: auto;
        margin-top: 32px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
    .hero-stats .stat {
        flex: none;
        max-width: 100%;
        padding: 20px 16px;
        border-right: 1px solid rgba(255,255,255,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .hero-stats .stat:nth-child(even) { border-right: none; }
    .hero-stats .stat:nth-last-child(-n+2) { border-bottom: none; }
    .hero-stats .stat strong { font-size: 1.5rem; }

    /* Section headings */
    .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
    .section-subtitle { font-size: 0.95rem; }

    /* Products grid */
    .products-grid,
    .products-page-grid { grid-template-columns: 1fr; gap: 16px; }

    /* About grid */
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }

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

    /* Stats section */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    /* Contact grid */
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrapper { padding: 24px 16px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* CTA banner */
    .cta-banner { padding: 48px 16px; text-align: center; }
    .cta-banner .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .cta-banner .btn { width: 100%; max-width: 320px; justify-content: center; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
    .footer-contact-item { gap: 10px; }

    /* Page hero (inner pages) */
    .page-hero {
        padding: calc(var(--nav-height) + 24px) 16px 36px;
        min-height: auto;
    }
    .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2.4rem); }

    /* Timeline */
    .timeline::before { left: 16px; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 48px;
        padding-right: 0;
    }
    .timeline-item::before { left: 16px; transform: translateX(-50%); }
    .timeline-content { max-width: 100%; }

    /* Values grid */
    .values-grid { grid-template-columns: 1fr; gap: 16px; }

    /* Story grid */
    .story-grid { grid-template-columns: 1fr; gap: 32px; }

    /* PAIA card */
    .paia-card { flex-direction: column; text-align: center; padding: 24px 16px; }

    /* Scroll top button */
    .scroll-top { bottom: 16px; right: 16px; width: 44px; height: 44px; font-size: 1.2rem; }

    /* Prevent horizontal scroll */
    .hero-particles { overflow: hidden; }
    section, .container { overflow-x: hidden; }
}

/* ── 576px ── */
@media (max-width: 576px) {
    :root { --nav-height: 60px; }

    .container { padding: 0 12px; }

    .hero-content { padding: 20px 12px 100px; }
    .hero-content h1 { font-size: clamp(1.6rem, 8vw, 2.4rem); }
    .hero-eyebrow { font-size: 0.75rem; }

    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stats .stat strong { font-size: 1.3rem; }
    .hero-stats .stat span { font-size: 0.7rem; }

    .section-padding { padding: 48px 0; }
    .section-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }

    .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    .products-grid,
    .products-page-grid { grid-template-columns: 1fr; }

    .filter-bar { gap: 6px; flex-wrap: wrap; }
    .filter-btn { padding: 8px 14px; font-size: 0.8rem; }

    .why-card { padding: 24px 16px; }

    .cta-banner { padding: 40px 12px; }
    .cta-banner h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }

    .footer-grid { gap: 28px; }
    .footer-brand p { font-size: 0.85rem; }

    .page-hero { padding: calc(var(--nav-height) + 20px) 12px 28px; }
    .page-hero h1 { font-size: clamp(1.3rem, 7vw, 2rem); }

    .contact-form-wrapper { padding: 20px 12px; }

    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}

/* ── 400px — very small phones ── */
@media (max-width: 400px) {
    .nav-container { padding: 0 12px; }
    .logo-text { font-size: 1.1rem; }

    .hero-content h1 { font-size: clamp(1.4rem, 9vw, 2rem); }
    .hero-stats { grid-template-columns: 1fr 1fr; }

    .section-title { font-size: 1.3rem; }

    .products-grid,
    .products-page-grid { grid-template-columns: 1fr; }

    .footer-grid { gap: 24px; }
}

/* ── Landscape phones ── */
@media (max-width: 768px) and (orientation: landscape) {
    .hero { min-height: auto; padding: calc(var(--nav-height) + 32px) 0 32px; }
    .hero-content { padding: 16px 16px 80px; }
    .hero-stats { position: relative; bottom: auto; margin-top: 24px; }
}

/* ── Prevent text overflow everywhere ── */
* { word-break: break-word; }
img, video, iframe { max-width: 100%; }
table { max-width: 100%; }

/* ── Improve tap targets on mobile ── */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .product-card:hover,
    .why-card:hover,
    .advantage-item:hover,
    .app-card:hover,
    .related-card:hover {
        transform: none;
        box-shadow: none;
    }
    .nav-links li a:hover::after { width: 0; }
}

/* ── Mobile nav scroll fix ── */
@media (max-width: 768px) {
    .nav-links {
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Ensure nav-links z-index is above everything */
    .nav-links.open { z-index: 999; }

    /* Fix nav-container on solid pages */
    .navbar.solid .nav-container { padding: 0 16px; }

    /* Hamburger always visible on mobile */
    .hamburger { display: flex !important; }

    /* Hide desktop nav links by default on mobile */
    .nav-links:not(.open) { display: none; }
    .nav-links.open { display: flex; }
}

/* ── Footer contact list (shared footer.php) ── */
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact li div { display: flex; flex-direction: column; gap: 2px; }
.footer-contact li strong { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.footer-contact li a,
.footer-contact li span { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact li a:hover { color: #fff; }

/* ── Footer container ── */
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 576px) { .footer-container { padding: 0 12px; } }

/* ── Footer logo text ── */
.footer-logo-main { font-size: 1.4rem; font-weight: 800; color: #fff; display: block; line-height: 1.1; }
.footer-logo-sub { font-size: 0.62rem; color: rgba(255,255,255,0.45); letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 12px; }
