/* ============================================================
   Tradox Global — Design System
   Direction: royal-blue "corporate trust" (ref: GCA) grounded in
   the product's own material — corrugated kraft + a fluted signature.
   Display: Space Grotesk · Body: Inter
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Blue trust family */
    --ink: #0A1E3D;
    --ink-2: #12294D;
    --blue: #1655C0;
    --blue-2: #2B8AE8;
    --sky: #E9F2FE;
    --sky-line: #CFE2FB;

    /* Kraft accent — the corrugated-board note */
    --kraft: #C87A2E;
    --kraft-soft: #E7A24A;

    /* Neutrals */
    --paper: #F6F8FB;
    --card: #FFFFFF;
    --text: #14213A;
    --muted: #5A6B85;
    --line: #E4EAF2;
    --white: #FFFFFF;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(10, 30, 61, 0.06);
    --shadow: 0 10px 30px -12px rgba(10, 30, 61, 0.18);
    --shadow-lg: 0 28px 60px -24px rgba(10, 30, 61, 0.32);
    --ring: 0 0 0 1px var(--line);

    --r: 14px;
    --r-lg: 22px;
    --r-pill: 999px;

    --grad-blue: linear-gradient(135deg, #1655C0 0%, #2B8AE8 100%);
    --grad-ink: linear-gradient(160deg, #0A1E3D 0%, #143567 60%, #10305C 100%);

    /* Fluted divider (corrugated board edge) */
    --flute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Cpath d='M0 12 Q9 2 18 12 T36 12' fill='none' stroke='%23C87A2E' stroke-width='2'/%3E%3C/svg%3E");
    /* Same wave as an alpha mask so it can take any accent color */
    --flute-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12' viewBox='0 0 36 12'%3E%3Cpath d='M0 10 Q9 1 18 10 T36 10' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");

    --section-y: clamp(4rem, 8vw, 7rem);

    /* Per-page accent (overridden by body theme classes) */
    --page-accent: #1655C0;
    --page-accent-2: #2B8AE8;
    --page-tint: #EAF2FE;
    --page-glow: rgba(43, 138, 232, 0.30);
}

/* Interior page themes, grounded in each product's material */
body.theme-kraft { --page-accent: #C0731F; --page-accent-2: #E7A24A; --page-tint: #FBF0E1; --page-glow: rgba(200, 122, 46, 0.34); }
body.theme-cyan  {
    --page-accent: #1487A6;
    --page-accent-2: #35B5D1;
    --page-tint: #E2F4F9;
    --product-photo-bg: #E9F3F8;
    --page-glow: rgba(53, 181, 209, 0.32);
}

body.theme-cyan .product-range {
    background:
        radial-gradient(130% 120% at 50% 0%, color-mix(in srgb, var(--page-accent) 12%, transparent), transparent 58%),
        linear-gradient(180deg, var(--page-tint) 0%, var(--product-photo-bg) 42%, var(--product-photo-bg) 100%);
}
body.theme-paper { --page-accent: #3F8552; --page-accent-2: #5FB27A; --page-tint: #E7F5EC; --page-glow: rgba(95, 178, 122, 0.32); }
body.theme-mono  {
    --page-accent: #7A4FB0;
    --page-accent-2: #A579D8;
    --page-tint: #F1EAFB;
    /* Matches Gemini product mockup backgrounds (sampled from asset corners) */
    --product-photo-bg: #E8DEF5;
    --page-glow: rgba(165, 121, 216, 0.32);
}

/* ---------- Base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4,
.hero-title,
.stat-number,
.feature-index {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

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

a { color: inherit; }

::selection {
    background: var(--kraft-soft);
    color: var(--ink);
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Shared eyebrow label — utility face, technical tracking */
.eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    max-width: 100%;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--kraft);
    display: inline-block;
}

/* ---------- Section header ---------- */
.section-header {
    max-width: 640px;
    margin: 0 auto 3.25rem;
    text-align: center;
}

.section-header .eyebrow {
    justify-content: center;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.9rem;
}

.section-header p {
    font-size: 1.06rem;
    color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
    --pad-y: 15px;
    --pad-x: 30px;
    padding: var(--pad-y) var(--pad-x);
    border-radius: var(--r-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    position: relative;
    isolation: isolate;
}

.btn-primary {
    background: var(--grad-blue);
    color: var(--white);
    box-shadow: 0 12px 26px -12px rgba(22, 85, 192, 0.7);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px -14px rgba(22, 85, 192, 0.75);
}

/* Animated gradient ring — the trust cue borrowed from the reference,
   used only on the hero's primary action. */
@property --ring-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes ringSpin {
    to { --ring-angle: 360deg; }
}

.btn-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.6px;
    background: conic-gradient(from var(--ring-angle),
        transparent 0deg, var(--kraft-soft) 90deg, #BFE0FF 180deg, var(--kraft-soft) 270deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: ringSpin 4s linear infinite;
    z-index: -1;
}

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

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

/* Ghost / white button (on dark CTA bands) */
.btn-white {
    background: var(--white);
    color: var(--blue);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}

.btn-large {
    --pad-y: 18px;
    --pad-x: 42px;
    font-size: 1.05rem;
}

/* WhatsApp action button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1EBE5D);
    color: var(--white);
    box-shadow: 0 12px 26px -12px rgba(37, 211, 102, 0.7);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px -14px rgba(37, 211, 102, 0.8);
    color: var(--white);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Dual action group on CTA bands */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
}

.logo a { display: block; transition: opacity 0.3s ease; }
.logo a:hover { opacity: 0.85; }

.logo-img {
    height: 62px;
    width: auto;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    font-size: 0.94rem;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-menu a:not(.active)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--kraft);
    transition: width 0.25s ease;
}

.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--blue); }

/* Contact Us as a solid pill */
.nav-menu li:last-child a {
    background: var(--grad-blue);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--r-pill);
    box-shadow: 0 10px 22px -12px rgba(22, 85, 192, 0.8);
}

.nav-menu li:last-child a::after { display: none; }

.nav-menu li:last-child a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu li:last-child a.active {
    background: var(--grad-blue);
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--grad-ink);
    color: var(--white);
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 7.5rem);
    overflow: hidden;
}

/* Ambient glows */
.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 780px;
    max-height: 780px;
    background: radial-gradient(circle, rgba(43, 138, 232, 0.35) 0%, transparent 62%);
    pointer-events: none;
    will-change: transform;
    animation: glowDriftA 22s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -8%;
    width: 46vw;
    height: 46vw;
    max-width: 560px;
    max-height: 560px;
    background: radial-gradient(circle, rgba(200, 122, 46, 0.22) 0%, transparent 65%);
    pointer-events: none;
    will-change: transform;
    animation: glowDriftB 28s ease-in-out infinite;
}

@keyframes glowDriftA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-4%, 5%) scale(1.14); }
}

@keyframes glowDriftB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(6%, -4%) scale(1.18); }
}

.hero > .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.hero-content { text-align: left; max-width: 560px; min-width: 0; }

.hero .eyebrow { color: #9EC6FF; margin-bottom: 1.5rem; }
.hero .eyebrow::before { background: var(--kraft-soft); }

.hero-title {
    font-size: clamp(2.3rem, 5.6vw, 4rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
}

.hero-title .accent {
    color: transparent;
    background: linear-gradient(100deg, var(--kraft) 0%, var(--kraft-soft) 30%, #FFD9A6 50%, var(--kraft-soft) 70%, var(--kraft) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: accentShimmer 6s ease-in-out infinite;
}

@keyframes accentShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    display: none; /* legacy — replaced by refined description */
}

.hero-description {
    font-size: 1.14rem;
    line-height: 1.7;
    color: rgba(233, 242, 254, 0.86);
    margin-bottom: 2.25rem;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero visual — stacked corrugated cartons in CSS/SVG */
.hero-visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual .box-card {
    position: absolute;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.hero-visual .box-back {
    width: 74%;
    height: 74%;
    top: 6%;
    right: 4%;
    background: linear-gradient(160deg, rgba(43, 138, 232, 0.22), rgba(255, 255, 255, 0.03));
    animation: floatY 9s ease-in-out infinite;
}

.hero-visual .box-mid {
    width: 62%;
    height: 62%;
    bottom: 8%;
    left: 2%;
    background: linear-gradient(160deg, rgba(200, 122, 46, 0.2), rgba(255, 255, 255, 0.03));
    border-color: rgba(231, 162, 74, 0.4);
    animation: floatY 7.5s ease-in-out infinite;
    animation-delay: -1.5s;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.hero-visual .box-front {
    position: relative;
    z-index: 3;
    width: 58%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #DCEBFF;
    animation: floatY 6s ease-in-out infinite;
}

.hero-visual .box-front svg { animation: rockGently 9s ease-in-out infinite; }

@keyframes rockGently {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.hero-visual .box-front svg { width: 46%; height: 46%; }

/* Corrugated flute strip inside the front card */
.hero-visual .flute-strip {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 12%;
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.9;
    animation: fluteConveyor 1.4s linear infinite;
}

@keyframes fluteConveyor {
    to { background-position-x: -36px; }
}

/* ---------- Fluted divider between sections ---------- */
.flute-divider {
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.55;
}

/* ---------- Hero stats — slim glass strip at the bottom of the hero ---------- */
.hero-stats {
    position: relative;
    z-index: 2;
    margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r);
    overflow: hidden;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    transition: background 0.3s ease;
}

.stat-item:first-child { border-left: none; }
.stat-item:hover { background: rgba(255, 255, 255, 0.05); }

.stat-icon {
    flex: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #9EC6FF;
    background: linear-gradient(140deg, rgba(43, 138, 232, 0.28), rgba(43, 138, 232, 0.07));
    border: 1px solid rgba(158, 198, 255, 0.26);
    transition: color 0.3s ease, transform 0.3s ease;
}

.stat-icon svg { width: 18px; height: 18px; }
.stat-item:hover .stat-icon { color: var(--kraft-soft); transform: scale(1.06); }

.stat-text { min-width: 0; text-align: left; }

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: #EAF2FE;
    background: linear-gradient(120deg, #FFFFFF 0%, #8FBBFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.76rem;
    color: rgba(233, 242, 254, 0.66);
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

/* ---------- Capabilities ribbon (continuous motion, top bar) ---------- */
.marquee {
    position: relative;
    background: linear-gradient(135deg, var(--kraft) 0%, var(--kraft-soft) 100%);
    color: var(--ink);
    padding: 0.7rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(10, 30, 61, 0.12);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 2.75rem;
    animation: marqueeScroll 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 2.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

.marquee-item::after {
    content: "";
    width: 8px;
    height: 8px;
    background: rgba(10, 30, 61, 0.55);
    transform: rotate(45deg);
    border-radius: 2px;
    flex: none;
}

/* ---------- Section rhythm ---------- */
.solutions,
.why-choose-us,
.industries {
    padding: var(--section-y) 0;
}

.solutions { background: var(--paper); }
.why-choose-us { background: var(--white); }
.industries { background: var(--white); }

/* ---------- Trusted-by proof band (compact, below hero) ---------- */
.clients-strip {
    padding: 2.25rem 0 2.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.clients-strip-label {
    margin: 0 0 1.6rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.clients-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientsScroll 22s linear infinite;
}

/* Desktop (mouse) pauses on hover. Excluded on touch so a tap doesn't
   trigger a sticky :hover that leaves the marquee frozen. */
@media (hover: hover) and (pointer: fine) {
    .clients-marquee:hover .clients-track { animation-play-state: paused; }
}

/* Touch: pause only while the finger is held down, resume on release. */
.clients-track.is-pressing { animation-play-state: paused; }

/* Equal horizontal padding per item keeps the two duplicated sets perfectly
   aligned, so the -50% loop is seamless. */
.client-logo {
    flex: 0 0 auto;
    height: 54px;
    padding: 0 clamp(1.5rem, 3.2vw, 3rem);
    display: grid;
    place-items: center;
}

.client-logo img {
    max-height: 54px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    /* Cropped logos sit on white; multiply drops the white into the tinted band */
    mix-blend-mode: multiply;
    opacity: 1;
    transition: transform 0.35s ease;
}

.client-logo:hover img {
    transform: scale(1.06);
}

@keyframes clientsScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Landing-page "Why Tradox" runs on a dark blue band */
.why-choose-dark {
    background: var(--grad-ink);
    color: var(--white);
}

.why-choose-dark .section-header h2 { color: var(--white); }
.why-choose-dark .section-header p { color: rgba(233, 242, 254, 0.72); }
.why-choose-dark .eyebrow { color: #9EC6FF; }

.why-choose-dark .feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.why-choose-dark .feature-item:hover {
    border-color: rgba(74, 160, 255, 0.5);
}

.why-choose-dark .feature-item h3 { color: var(--white); }
.why-choose-dark .feature-item p { color: rgba(233, 242, 254, 0.72); }
.why-choose-dark .feature-number { color: #9EC6FF; }
.why-choose-dark .feature-number::before { background: #9EC6FF; }

/* ---------- Solutions cards ---------- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

/* Per-division accent tokens, grounded in each material */
.solution-card {
    --accent: #1655C0;
    --accent-2: #2B8AE8;
    --tint: #EAF2FE;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    overflow: hidden;
}

.solution-card.sc-kraft { --accent: #C0731F; --accent-2: #E7A24A; --tint: #FBF0E1; }
.solution-card.sc-cyan  { --accent: #1487A6; --accent-2: #35B5D1; --tint: #E2F4F9; }
.solution-card.sc-paper { --accent: #3F8552; --accent-2: #5FB27A; --tint: #E7F5EC; }
.solution-card.sc-mono  { --accent: #7A4FB0; --accent-2: #A579D8; --tint: #F1EAFB; }

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

/* Media band — themed gradient + ghost watermark + fluted baseline */
.solution-media {
    position: relative;
    padding: 1.6rem 1.9rem 1.5rem;
    min-height: 132px;
    background:
        radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
        linear-gradient(160deg, var(--tint), var(--card));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.solution-index {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 12%, var(--white));
    border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
    padding: 0.3rem 0.7rem;
    border-radius: var(--r-pill);
}

.solution-icon {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    color: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 26px -14px color-mix(in srgb, var(--accent) 90%, transparent);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-icon svg { width: 30px; height: 30px; }

.solution-card:hover .solution-icon {
    transform: translateY(-2px) rotate(-6deg) scale(1.06);
}

.solution-watermark {
    position: absolute;
    z-index: 1;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    color: var(--accent);
    opacity: 0.1;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.solution-card:hover .solution-watermark {
    transform: translateY(-50%) rotate(8deg) scale(1.12);
    opacity: 0.16;
}

.solution-flute {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 12px;
    background: var(--accent);
    -webkit-mask: var(--flute-mask) repeat-x;
    mask: var(--flute-mask) repeat-x;
    -webkit-mask-size: 36px 12px;
    mask-size: 36px 12px;
    opacity: 0.55;
}

.solution-body {
    padding: 1.6rem 1.9rem 1.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.solution-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
}

.solution-body > p {
    color: var(--muted);
    margin-bottom: 1.35rem;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    margin-bottom: 1.6rem;
    display: grid;
    gap: 0.55rem;
}

.solution-features li {
    color: var(--text);
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.95rem;
}

.solution-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
}

.solution-cta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    border: 1.5px solid color-mix(in srgb, var(--accent) 28%, var(--line));
    color: var(--accent);
    font-weight: 600;
    font-size: 0.96rem;
    text-decoration: none;
    background: color-mix(in srgb, var(--accent) 5%, var(--white));
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.solution-cta span {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-size: 1.1rem;
}

.solution-cta:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 90%, transparent);
}

.solution-cta:hover span { transform: translateX(5px); }

/* Legacy inline link (kept for safety on other markup) */
.solution-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.25s ease, color 0.25s ease;
}

.solution-link:hover { gap: 0.8rem; color: var(--ink); }

/* ---------- Why choose us — engineering callouts, no big numbers ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    position: relative;
    background: var(--card);
    padding: 2rem 1.75rem;
    border-radius: var(--r);
    border: 1px solid var(--line);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--page-accent) 40%, var(--line));
}

/* the .feature-number becomes a small technical index tag */
.feature-number {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--page-accent);
    margin-bottom: 1.1rem;
    opacity: 1;
}

.feature-number::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--page-accent);
    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-item:hover .feature-number::before { width: 40px; }

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.55rem;
}

.feature-item p { color: var(--muted); }

/* ---------- Industries (on light band) ---------- */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

/* Default: legible on light sections (product pages) */
.industry-tag {
    background: var(--white);
    padding: 0.8rem 1.6rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--sky-line);
    color: var(--blue);
    font-weight: 500;
    font-size: 0.94rem;
    cursor: default;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.industry-tag:hover {
    background: var(--grad-blue);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(22, 85, 192, 0.8);
}

/* ---------- CTA band ---------- */
.cta-section {
    position: relative;
    background: var(--grad-ink);
    color: var(--white);
    padding: var(--section-y) 0;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.8;
}

.cta-section .container { position: relative; z-index: 1; text-align: center; }

.cta-box {
    position: relative;
    background: var(--grad-ink);
    border-radius: var(--r-lg);
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: var(--white);
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.8;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.cta-box > p {
    font-size: 1.14rem;
    color: rgba(233, 242, 254, 0.85);
    margin-bottom: 2.5rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.07);
    padding: 1.5rem;
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-info-item div { flex: 1; min-width: 0; }

.contact-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    width: 44px;
    text-align: center;
}

.contact-info-item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-item p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(233, 242, 254, 0.85);
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.7;
}

.email-link,
.phone-link {
    color: var(--white);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: all 0.25s ease;
    border-bottom: 1px solid transparent;
    font-size: 0.9rem;
    width: fit-content;
}

.email-link:hover,
.phone-link:hover {
    border-bottom-color: var(--kraft-soft);
    color: var(--kraft-soft);
}

.phone-link::before { content: "\260E  "; }

/* Legacy .cta-content (product pages) */
.cta-content h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.14rem;
    color: rgba(233, 242, 254, 0.85);
    margin-bottom: 2rem;
}

/* ---------- Contact CTA (landing) ---------- */
.contact-cta {
    position: relative;
    background: var(--grad-ink);
    color: var(--white);
    padding: var(--section-y) 0 clamp(3.5rem, 6vw, 5rem);
    overflow: hidden;
    text-align: center;
}

.contact-cta::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.8;
    z-index: 2;
}

.contact-cta::after {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    max-width: 720px;
    max-height: 720px;
    background: radial-gradient(circle, rgba(43, 138, 232, 0.22) 0%, transparent 62%);
    transform: translateX(-50%);
    pointer-events: none;
    will-change: transform;
    animation: glowDriftB 26s ease-in-out infinite;
}

.contact-cta .container { position: relative; z-index: 2; }

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9EC6FF;
    margin-bottom: 1.5rem;
}

.eyebrow-pill svg { width: 14px; height: 14px; }

.contact-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4.8vw, 3.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.contact-cta-title .accent {
    font-style: italic;
    background: linear-gradient(100deg, #4AA0FF, #2B8AE8 55%, #7CC0FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.contact-cta-sub {
    color: rgba(233, 242, 254, 0.72);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 2.75rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.15rem 1.4rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 160, 255, 0.5);
    background: rgba(43, 138, 232, 0.10);
    box-shadow: var(--shadow-lg);
}

.cc-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #9EC6FF;
}

.cc-icon svg { width: 20px; height: 20px; }

.cc-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cc-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(233, 242, 254, 0.5);
    font-weight: 600;
}

.cc-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cc-arrow {
    flex-shrink: 0;
    color: rgba(233, 242, 254, 0.5);
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card:hover .cc-arrow {
    transform: translateX(5px);
    color: #9EC6FF;
}

/* WhatsApp gets its signature green tint */
.cc-whatsapp { background: rgba(37, 211, 102, 0.08); border-color: rgba(37, 211, 102, 0.25); }
.cc-whatsapp:hover { background: rgba(37, 211, 102, 0.14); border-color: rgba(37, 211, 102, 0.5); }
.cc-whatsapp .cc-icon { background: #25D366; border-color: #25D366; color: #fff; }
.cc-whatsapp:hover .cc-arrow { color: #25D366; }

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background: var(--ink);
    color: rgba(233, 242, 254, 0.75);
    padding: 4.5rem 0 1.75rem;
}

.footer::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 74px;
    margin-bottom: 1.1rem;
}

.footer-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(233, 242, 254, 0.8);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(43, 138, 232, 0.2);
    border-color: rgba(74, 160, 255, 0.5);
    color: #fff;
}

.footer-social a.is-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; font-size: 0.95rem; line-height: 1.5; }

.footer-col a {
    color: rgba(233, 242, 254, 0.72);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-col a:hover { color: var(--kraft-soft); }

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

/* ---------- Interior page hero (dynamic, themed) ---------- */
.page-hero {
    position: relative;
    background: var(--grad-ink);
    color: var(--white);
    padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(4.5rem, 8vw, 6rem);
    text-align: center;
    overflow: hidden;
}

/* Two drifting glows: brand blue + the page's own accent */
.page-hero::before {
    content: "";
    position: absolute;
    top: -35%;
    right: -6%;
    width: 44vw;
    height: 44vw;
    max-width: 560px;
    max-height: 560px;
    background: radial-gradient(circle, rgba(43, 138, 232, 0.32) 0%, transparent 64%);
    pointer-events: none;
    will-change: transform;
    animation: glowDriftA 22s ease-in-out infinite;
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: -45%;
    left: -8%;
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, var(--page-glow) 0%, transparent 66%);
    pointer-events: none;
    will-change: transform;
    animation: glowDriftB 27s ease-in-out infinite;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero .eyebrow {
    justify-content: center;
    color: #9EC6FF;
    margin-bottom: 1.1rem;
}

.page-hero .eyebrow::before { background: var(--page-accent-2); }

.page-hero h1 {
    font-size: clamp(2.3rem, 4.8vw, 3.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}

.page-hero p {
    font-size: 1.14rem;
    color: rgba(233, 242, 254, 0.82);
    max-width: 620px;
    margin: 0 auto;
}

/* Large, faint floating watermark of the page's subject */
.page-hero-visual {
    position: absolute;
    top: 50%;
    right: clamp(-40px, 2vw, 40px);
    transform: translateY(-50%);
    width: clamp(180px, 24vw, 300px);
    height: clamp(180px, 24vw, 300px);
    color: var(--page-accent-2);
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
    animation: floatY 8s ease-in-out infinite;
}

.page-hero-visual svg { width: 100%; height: 100%; }

/* Glowing blue seam along the bottom of the page hero */
.page-hero .page-hero-flute {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background-image: linear-gradient(90deg,
        transparent 0%,
        rgba(43, 138, 232, 0) 4%,
        rgba(74, 160, 255, 0.9) 20%,
        #BFE0FF 50%,
        rgba(74, 160, 255, 0.9) 80%,
        rgba(43, 138, 232, 0) 96%,
        transparent 100%);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 220% 100%;
    opacity: 1;
    box-shadow:
        0 0 24px rgba(124, 192, 255, 0.85),
        0 0 60px rgba(74, 160, 255, 0.6),
        0 0 110px rgba(43, 138, 232, 0.45);
    z-index: 2;
    animation: seamSlide 9s ease-in-out infinite;
}

/* ---------- Products ---------- */
.products-section {
    padding: var(--section-y) 0;
    background: var(--paper);
}

/* "Our Product Range" gets its own themed, shaded band so the shift is clear */
.product-range {
    padding: var(--section-y) 0;
    background:
        radial-gradient(130% 120% at 50% 0%, color-mix(in srgb, var(--page-accent) 12%, transparent), transparent 58%),
        var(--page-tint);
    border-top: 1px solid color-mix(in srgb, var(--page-accent) 22%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--page-accent) 22%, transparent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.75rem;
}

.product-card {
    position: relative;
    background: var(--card);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Accent bar that draws across the top on hover */
.product-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--page-accent), var(--page-accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--page-accent) 45%, var(--line));
}

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

.product-image {
    width: 100%;
    height: 170px;
    background:
        radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--page-accent) 16%, transparent), transparent 58%),
        linear-gradient(150deg, var(--page-tint), #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease;
}

/* subject inside the image lifts + scales gently on hover */
.product-image > * { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.product-card:hover .product-image > * { transform: scale(1.08) translateY(-2px); }

/* Two-tone isometric product illustrations */
.product-image svg {
    width: auto;
    height: 118px;
    fill: none;
    stroke: #1f2733;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}
.product-image svg .det { stroke-width: 1.7; }
.product-card:hover .product-image svg { transform: scale(1.06) translateY(-2px); }

/* Photo product cards: show full image (unchanged assets), scaled to the band */
.product-image:has(> img) {
    height: 260px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    background: var(--product-photo-bg, var(--page-tint));
}

body.theme-mono .product-range {
    background:
        radial-gradient(130% 120% at 50% 0%, color-mix(in srgb, var(--page-accent) 12%, transparent), transparent 58%),
        linear-gradient(180deg, var(--page-tint) 0%, var(--product-photo-bg) 42%, var(--product-photo-bg) 100%);
}

.product-image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}

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

/* fluted baseline on product imagery */
.product-image::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 12px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.5;
}

.product-content { padding: 1.6rem; }

.product-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.product-content p { color: var(--muted); margin-bottom: 1rem; }

.product-features { list-style: none; }

.product-features li {
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.9rem;
    border-top: 1px solid var(--line);
}

.product-features li:first-child { border-top: none; }

/* ---------- About ---------- */
.about-content { max-width: 1000px; margin: 0 auto; }

.about-intro { text-align: center; margin-bottom: 4rem; }

.about-intro h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.lead-text {
    font-size: 1.18rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 780px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--card);
    padding: 2.5rem 2rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.about-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(150deg, var(--sky), var(--blue));
    color: #fff;
    box-shadow: 0 14px 30px rgba(22, 85, 192, 0.28);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.about-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-card:hover .about-icon {
    transform: translateY(-4px) rotate(-4deg);
    box-shadow: 0 18px 36px rgba(22, 85, 192, 0.34);
}

.about-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 0.85rem;
}

.about-card p { color: var(--muted); line-height: 1.7; }

.about-story {
    background: var(--card);
    border: 1px solid var(--line);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--r-lg);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--kraft);
}

.about-story h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.about-story p {
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 1rem;
    font-size: 1.04rem;
}

.about-list { list-style: none; margin-top: 1.5rem; }

.about-list li {
    padding: 1rem 0 1rem 1.75rem;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    line-height: 1.7;
    position: relative;
}

.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.55em;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: var(--kraft);
}

.about-list li strong { color: var(--ink); }
.about-list li:last-child { border-bottom: none; }

.about-commitment { margin-bottom: 4rem; }

.about-commitment h2 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2rem;
    text-align: center;
}

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

.commitment-item {
    background: var(--card);
    padding: 1.85rem;
    border-radius: var(--r);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commitment-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.commitment-item h4 {
    color: var(--ink);
    margin-bottom: 0.65rem;
    font-size: 1.08rem;
    font-weight: 600;
}

.commitment-item p { color: var(--muted); line-height: 1.6; margin: 0; }

.about-cta {
    position: relative;
    background: var(--grad-ink);
    padding: clamp(3rem, 5vw, 4rem);
    border-radius: var(--r-lg);
    text-align: center;
    color: var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-cta::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 14px;
    background-image: var(--flute);
    background-repeat: repeat-x;
    background-size: 36px 14px;
    opacity: 0.8;
}

.about-cta h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.14rem;
    color: rgba(233, 242, 254, 0.85);
    margin-bottom: 2rem;
}

.about-cta .btn-primary { background: var(--white); color: var(--blue); }
.about-cta .btn-primary:hover { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-section { padding: var(--section-y) 0; background: var(--paper); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1rem;
}

.contact-info > p { color: var(--muted); margin-bottom: 2.25rem; }

.info-item { display: flex; gap: 1rem; margin-bottom: 1.6rem; align-items: flex-start; }

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--sky), #D6E7FD);
    color: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

.info-content p { color: var(--muted); margin: 0; line-height: 1.6; }

.contact-form-wrapper {
    background: var(--card);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.98rem;
    color: var(--text);
    background: var(--paper);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(22, 85, 192, 0.12);
}

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

.form-button {
    width: 100%;
    padding: 15px 32px;
    background: var(--grad-blue);
    color: var(--white);
    border: none;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 26px -12px rgba(22, 85, 192, 0.7);
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -14px rgba(22, 85, 192, 0.75);
}

.success-message {
    background: #E7F6EC;
    color: #1B7A43;
    border: 1px solid #B7E4C7;
    padding: 1rem 1.15rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: none;
    font-weight: 500;
}

.success-message.show { display: block; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Floating quick-contact (Call + WhatsApp) ---------- */
.floating-contact {
    position: fixed;
    left: clamp(14px, 2.5vw, 26px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.fab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 10px 26px rgba(10, 30, 61, 0.28);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.fab svg { position: relative; z-index: 2; width: 30px; height: 30px; overflow: visible; }
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px rgba(10, 30, 61, 0.34); }
.fab:active { transform: scale(0.95); }

.fab-whatsapp { background: #25D366; }
.fab-call { background: linear-gradient(145deg, var(--sky), var(--blue)); }

/* Label that slides out on hover (desktop / mouse only) */
.fab-label {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: var(--ink);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
    border-radius: 9px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(10, 30, 61, 0.24);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fab-label::after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--ink);
}

.fab:hover .fab-label,
.fab:focus-visible .fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (hover: none) {
    .fab-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fab { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 74px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1.25rem;
        border-top: 1px solid var(--line);
    }

    .nav-menu.active { left: 0; }
    .mobile-menu-toggle { display: flex; }

    .hero > .container { grid-template-columns: 1fr; }
    .hero-content { max-width: 640px; }
    .hero-visual { max-width: 320px; margin-top: 1rem; order: -1; }

    .stats-row { grid-template-columns: repeat(3, 1fr); }
    .stat-item { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.09); }

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

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

/* ---------- Phones / small tablets ---------- */
@media (max-width: 640px) {
    .container { padding: 0 18px; }

    /* Tighter, better-proportioned type on small screens */
    .hero-title { font-size: clamp(2rem, 8.5vw, 2.6rem); line-height: 1.08; }
    .hero-description { font-size: 1rem; line-height: 1.65; }
    .section-header h2 { font-size: clamp(1.6rem, 6.6vw, 2rem); }
    .section-header p { font-size: 0.98rem; }
    .page-hero h1 { font-size: clamp(1.9rem, 7.6vw, 2.5rem); }
    .page-hero p { font-size: 1rem; }
    .contact-cta-title { font-size: clamp(1.75rem, 7.4vw, 2.3rem); }
    .contact-cta-sub { font-size: 0.98rem; }

    .product-image:has(> img) { height: 220px; }

    /* Compact trusted-by band */
    .clients-strip { padding: 1.75rem 0 2rem; }
    .clients-strip-label {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }
    .client-logo { height: 40px; padding: 0 1.4rem; }
    .client-logo img { max-height: 40px; max-width: 130px; }

    /* Single-column card grids — avoids overflow on narrow phones */
    .solutions-grid,
    .products-grid,
    .features-grid,
    .about-grid,
    .commitment-grid { grid-template-columns: 1fr; }

    /* CTAs stack full-width */
    .hero-cta,
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .hero-cta .btn,
    .cta-buttons .btn { justify-content: center; }
    .btn { width: 100%; justify-content: center; }
    .contact-form-wrapper .btn,
    .form-button { width: 100%; }

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

    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; text-align: left; }

    /* The faint hero watermark clutters narrow, centered heroes */
    .page-hero-visual { display: none; }

    /* Slimmer, calmer capabilities ribbon */
    .marquee-item { font-size: 0.72rem; gap: 1.9rem; letter-spacing: 0.12em; }
    .marquee-track { gap: 1.9rem; }

    /* Contact cards breathe a little more */
    .contact-card { padding: 1rem 1.1rem; gap: 0.9rem; }
    .cc-icon { width: 40px; height: 40px; }

    /* Keep floating buttons comfortably tappable but out of the way */
    .fab { width: 52px; height: 52px; }
    .fab svg { width: 24px; height: 24px; }
    .floating-contact { gap: 0.7rem; }
}

/* ---------- Very small phones ---------- */
@media (max-width: 380px) {
    .stats-row { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.85rem; }
    .industry-tag { padding: 0.65rem 1.15rem; font-size: 0.88rem; }
}

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 3px solid var(--kraft-soft);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Section seam: glowing blue beam (replaces flute dividers) ---------- */
.cta-section::before,
.cta-box::after,
.contact-cta::before,
.footer::before,
.about-cta::after,
.flute-divider {
    height: 2px;
    background-image: linear-gradient(90deg,
        transparent 0%,
        rgba(43, 138, 232, 0) 6%,
        rgba(74, 160, 255, 0.85) 26%,
        #A6D4FF 50%,
        rgba(74, 160, 255, 0.85) 74%,
        rgba(43, 138, 232, 0) 94%,
        transparent 100%);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 220% 100%;
    opacity: 1;
    box-shadow:
        0 0 16px rgba(74, 160, 255, 0.55),
        0 0 46px rgba(43, 138, 232, 0.38);
    animation: seamSlide 9s ease-in-out infinite;
}

/* subtle traveling shimmer along the beam */
@keyframes seamSlide {
    0% { background-position: 0% 0; }
    50% { background-position: 120% 0; }
    100% { background-position: 0% 0; }
}
