/* ============================================================
   BRAHI FORMS — Premium Design System (REAL BRAND COLORS)
   ------------------------------------------------------------
   Brand color verified from the actual Brahi Forms logo artwork
   (assets/images/logo.png -> dominant color #06B3D8), matching
   the cyan/turquoise identity used on the live brahiforms.com.
   Palette: Cyan/Turquoise (brand) · Black · White · Light Gray
   Type:    Cormorant Garamond (display) · Inter (body/UI)
   ============================================================ */

:root {
    /* Centralized brand tokens — single source of truth */
    --brand-primary: #06B3D8;
    --brand-primary-dark: #0592AD;
    --brand-primary-light: #E3F7FB;
    --black: #111111;
    --white: #FFFFFF;
    --light-gray: #F5F6F7;
    --border: #E5E7E9;
    --ink-60: #5B6167;
    --border-dark: rgba(255,255,255,0.14);

    --radius-sm: 3px;
    --radius: 6px;
    --shadow-soft: 0 12px 32px rgba(17,17,17,0.07);
    --shadow-lift: 0 20px 48px rgba(17,17,17,0.14);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Typography scale — one consistent, responsive system used everywhere.
       Inter is the primary UI/body/nav/button/card/number font throughout;
       --font-display is reserved for large editorial headings only (h1/h2). */
    --text-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
    --text-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
    --text-base: clamp(0.95rem, 0.93rem + 0.1vw, 1rem);
    --text-lg: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
    --text-xl: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    --text-2xl: clamp(1.4rem, 1.25rem + 0.7vw, 1.7rem);
    --text-3xl: clamp(1.7rem, 1.45rem + 1.1vw, 2.1rem);
    --text-4xl: clamp(2rem, 1.6rem + 1.8vw, 2.6rem);
    --text-5xl: clamp(2.3rem, 1.8rem + 2.3vw, 3.3rem);
    --text-hero: clamp(2.4rem, 1.7rem + 3vw, 3.8rem);

    /* Motion system — shared timing/easing so every animation on the site
       feels like one consistent system rather than page-by-page choices. */
    --motion-fast: 300ms;
    --motion-base: 700ms;
    --motion-slow: 900ms;
    --motion-hero: 1200ms;
    --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --stagger-step: 90ms;

    /* Spacing scale — consistent vertical/horizontal rhythm */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 20px;
    --space-5: 28px;
    --space-6: 40px;
    --space-7: 56px;
    --space-8: 80px;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important; animation-delay: 0s !important;
        animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--black);
    background: var(--light-gray);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--black); color: #fff;
    padding: 12px 20px; z-index: 999; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.2px;
    color: var(--black);
    margin: 0 0 0.45em;
}
h3, h4 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.3;
    color: var(--black);
    margin: 0 0 0.45em;
}
h1 { font-size: var(--text-hero); font-weight: 600; letter-spacing: -0.3px; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-xl); font-weight: 700; }
h4 { font-size: var(--text-base); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
p { margin: 0 0 1em; color: var(--ink-60); font-size: var(--text-base); }
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.eyebrow-small {
    display: inline-block; color: var(--brand-primary); font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; font-size: var(--text-xs); margin-bottom: 14px; font-family: var(--font-body);
}

/* Dedicated numeric style — all UI numbers (stats, product numbers, years)
   use the clean sans-serif body font, never the editorial serif. */
.numeric, .num, .tile-num, .mega-num, .fnum {
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 30px; border-radius: var(--radius-sm); font-weight: 600;
    font-family: var(--font-body); font-size: 0.92rem; cursor: pointer;
    border: 1.5px solid transparent; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
    letter-spacing: 0.2px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-primary-dark); box-shadow: var(--shadow-lift); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--black); border-color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: #fff; }

/* ============================================================
   TOPBAR + HEADER
   ============================================================ */
.topbar { background: var(--black); color: #b9c6d4; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 28px; gap: 16px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-right a { color: #cfd8e3; }
.topbar-right a:hover { color: var(--brand-primary); }
.topbar .divider { opacity: 0.35; }

.site-header {
    background: rgba(255,255,255,0.97); backdrop-filter: saturate(180%) blur(6px);
    position: sticky; top: 0; z-index: 300; border-bottom: 1px solid transparent;
    transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(17,17,17,0.08); border-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 32px; padding: 16px 28px; }
.logo img { height: 50px; }
.main-nav { display: flex; align-items: center; gap: 34px; flex: 1; }
.main-nav > a {
    font-weight: 600; font-size: 0.94rem; color: var(--black); position: relative; padding: 8px 0;
    font-family: var(--font-body);
}
.main-nav > a::after {
    content: ''; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0;
    background: var(--brand-primary); transition: width 0.25s var(--ease);
}
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.main-nav > a.active { color: var(--brand-primary); }
.header-cta { white-space: nowrap; margin-left: auto; }

/* Mobile toggle (hamburger) */
.nav-toggle {
    display: none; width: 40px; height: 34px; background: none; border: none; cursor: pointer;
    flex-direction: column; justify-content: center; gap: 6px; padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--black); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   MEGA MENU
   ============================================================ */
.nav-item-mega { position: static; }
.mega-trigger {
    background: none; border: none; font: inherit; font-weight: 600; font-size: 0.94rem;
    color: var(--black); cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 8px 0;
    position: relative; font-family: var(--font-body);
}
.mega-trigger::after {
    content: ''; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0;
    background: var(--brand-primary); transition: width 0.25s var(--ease);
}
.mega-trigger[aria-expanded="true"]::after, .mega-trigger.active::after, .mega-trigger:hover::after { width: 100%; }
.mega-trigger.active { color: var(--brand-primary); }
.caret { font-size: 0.65rem; transition: transform 0.25s var(--ease); position: relative; top: -1px; }
.mega-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }

.mega-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(17,17,17,0.14);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 150;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
.mega-menu::-webkit-scrollbar { width: 8px; }
.mega-menu::-webkit-scrollbar-track { background: transparent; }
.mega-menu::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.mega-menu::-webkit-scrollbar-thumb:hover { background: var(--brand-primary); }
.nav-item-mega.open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu-inner {
    max-width: 1240px; margin: 0 auto; padding: 48px 28px 52px;
    display: grid; grid-template-columns: 260px 1fr 300px; gap: 48px;
}
.mega-intro h3 { font-size: 1.6rem; margin-bottom: 12px; }
.mega-intro p { font-size: 0.9rem; margin-bottom: 20px; }
.mega-viewall { font-weight: 700; font-size: 0.85rem; color: var(--brand-primary); letter-spacing: 0.3px; }
.mega-viewall:hover { text-decoration: underline; }

.mega-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.mega-col { list-style: none; margin: 0; padding: 0; }
.mega-col li { border-bottom: 1px solid var(--border); }
.mega-col li:last-child { border-bottom: none; }
.mega-link {
    display: flex; align-items: center; gap: 14px; padding: 15px 6px;
    transition: padding-left 0.2s var(--ease), background 0.2s;
    border-radius: var(--radius-sm);
}
.mega-link:hover, .mega-link:focus { padding-left: 12px; background: var(--light-gray); }
.mega-num { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 1.1rem; color: var(--brand-primary); font-weight: 700; width: 26px; flex-shrink: 0; }
.mega-text { flex: 1; display: flex; flex-direction: column; }
.mega-title { font-weight: 600; font-size: 0.98rem; color: var(--black); }
.mega-desc { font-size: 0.78rem; color: var(--ink-60); margin-top: 2px; }
.mega-arrow { opacity: 0; transform: translateX(-6px); transition: all 0.2s var(--ease); color: var(--brand-primary); font-size: 1.05rem; }
.mega-link:hover .mega-arrow, .mega-link:focus .mega-arrow { opacity: 1; transform: translateX(0); }

.mega-feature { border-left: 1px solid var(--border); padding-left: 32px; }
.mega-feature-img {
    height: 160px; border-radius: var(--radius); background-size: cover; background-position: center;
    margin-bottom: 18px; transition: background-image 0.3s ease;
}
.mega-feature-body h4 { color: var(--black); margin-bottom: 14px; text-transform: none; font-family: var(--font-body); font-size: var(--text-xl); font-weight: 700; letter-spacing: 0; }
.mega-feature-body .card-link { color: var(--brand-primary); font-weight: 700; font-size: 0.85rem; }

/* Mobile drawer — full-viewport premium overlay panel.
   Slides in from the right using transform (GPU-friendly) and covers the
   entire mobile viewport so no strip of the page is left visible behind it.
   The site header sits at a higher z-index (see .site-header below) so the
   hamburger/X toggle stays visible and clickable while the drawer is open. */
.mobile-drawer {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; width: 100%; height: 100vh; height: 100dvh;
    background: #fff; z-index: 250;
    transform: translateX(100%); opacity: 0; visibility: hidden;
    transition: transform 0.32s var(--motion-ease), opacity 0.32s var(--motion-ease), visibility 0.32s;
    padding: 118px 32px 40px; overflow-y: auto;
    gap: 2px;
}
.mobile-drawer.open { transform: translateX(0); opacity: 1; visibility: visible; }
.mobile-drawer > a {
    padding: 20px 4px; font-weight: 600; font-size: 1.05rem; color: var(--black);
    border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.mobile-drawer > a.active { color: var(--brand-primary); }
.mobile-drawer > a:last-of-type { border-bottom: none; }
.mobile-drawer .btn { margin-top: 28px; width: 100%; justify-content: center; text-align: center; }
@media (min-width: 480px) {
    .mobile-drawer { width: min(420px, 100%); box-shadow: -20px 0 50px rgba(0,0,0,0.15); }
}

/* ============================================================
   HERO — light base, real imagery, cyan accents, black type
   ============================================================ */
.hero {
    position: relative; overflow: hidden; background: var(--light-gray);
    padding: 0; min-height: 640px; display: flex; align-items: center;
    border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 0; width: 100%; }
.hero-content { padding: 100px 0 100px 0; position: relative; z-index: 2; color: var(--black); }
.hero-content h1 { color: var(--black); max-width: 600px; font-size: clamp(2.3rem, 3.4vw, 3.3rem); line-height: 1.12; letter-spacing: -0.5px; }
.hero-content p.lead { color: var(--ink-60); max-width: 480px; font-size: 1.08rem; }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-media { position: relative; height: 100%; min-height: 640px; }
.hero-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-media::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, var(--light-gray) 0%, rgba(245,246,247,0) 22%);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-badge {
    position: absolute; bottom: 32px; left: 32px; z-index: 3; background: #fff; border-radius: var(--radius);
    padding: 18px 22px 18px 18px; box-shadow: var(--shadow-lift); display: flex; gap: 14px; align-items: center;
    border: 1px solid var(--border); border-left: 3px solid var(--brand-primary);
}
.hero-badge .num { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 2rem; color: var(--black); font-weight: 800; line-height: 1; }
.hero-badge .txt { font-size: 0.72rem; color: var(--ink-60); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; line-height: 1.4; }

.hero-tech-line {
    position: absolute; top: 28px; left: 28px; width: 2px; height: 64px;
    background: linear-gradient(180deg, var(--brand-primary) 0%, transparent 100%); z-index: 3;
}
.hero-markers {
    position: absolute; top: 32px; right: 32px; z-index: 3; display: flex; gap: 8px;
}
.hero-markers span {
    background: rgba(255,255,255,0.92); backdrop-filter: blur(4px); color: var(--black);
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.6px; padding: 6px 11px;
    border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(17,17,17,0.08);
}
@media (max-width: 980px) {
    .hero-tech-line { display: none; }
    .hero-markers { top: 16px; right: 16px; }
    .hero-markers span { font-size: 0.6rem; padding: 5px 9px; }
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content { padding: 70px 28px 40px; }
    .hero-media { min-height: 340px; order: -1; }
    .hero-media img, .hero-media::before { clip-path: none; }
    .hero-badge { left: 20px; bottom: 20px; padding: 14px 18px 14px 14px; }
}

/* Page banner (inner pages) */
.page-banner {
    background: linear-gradient(120deg, rgba(17,17,17,0.92), rgba(17,17,17,0.82)), var(--hero-img) center/cover;
    color: #fff; padding: 90px 0 70px; text-align: left;
}
.page-banner h1 { color: #fff; margin-bottom: 10px; }
.product-hero-tagline { color: var(--brand-primary-light); font-size: 1.05rem; font-weight: 500; margin-bottom: 16px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; padding: 0; margin: 0; color: #aebccb; font-size: 0.85rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--brand-primary); }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   SECTIONS / LAYOUT PRIMITIVES
   ============================================================ */
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--black); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: #b9c6d4; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.align-left { margin: 0 0 48px; text-align: left; }

/* Reveal is opt-in: only hidden once JS confirms it can animate (html.js-ready),
   so content stays fully visible for no-JS browsers and search crawlers. */
.js-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }

/* Trust strip */
.trust-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.trust-item { text-align: center; flex: 1; min-width: 140px; }
.trust-item .num { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 2.4rem; color: var(--brand-primary); font-weight: 800; line-height: 1; }
.trust-item .label { text-transform: uppercase; font-size: 0.76rem; letter-spacing: 1.2px; color: #c3cedb; margin-top: 8px; display: block; }

/* Grids */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Editorial product grid: 1 featured + smaller tiles */
.editorial-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.editorial-feature { grid-row: span 2; }
.product-tile {
    position: relative; border-radius: var(--radius); overflow: hidden; background: var(--black);
    display: block; min-height: 260px;
}
.editorial-feature .product-tile { min-height: 100%; }
.product-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-tile:hover img { transform: scale(1.06); }
.product-tile::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.25) 55%, rgba(17,17,17,0.05) 100%);
}
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; color: #fff; }
.tile-num { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; color: var(--brand-primary); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.5px; }
.tile-body h3 { color: #fff; margin: 6px 0 6px; font-size: 1.35rem; }
.editorial-feature .tile-body h3 { font-size: 1.9rem; }
.tile-body p { color: #cfd8e3; font-size: 0.86rem; margin-bottom: 10px; max-width: 320px; }
.tile-arrow { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 0.82rem; opacity: 0.9; }
.product-tile:hover .tile-arrow { color: var(--brand-primary); }

@media (max-width: 980px) {
    .editorial-grid { grid-template-columns: 1fr 1fr; }
    .editorial-feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 640px) {
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-feature { grid-column: span 1; }
}

/* Standard card (blog, simple product list) */
.card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-soft); border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--brand-primary); }
.card img { height: 200px; width: 100%; object-fit: cover; transition: transform 0.45s var(--ease); display: block; }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card-body p { font-size: 0.92rem; margin-bottom: 14px; }
.card-link { color: var(--brand-primary-dark); font-weight: 700; font-size: 0.86rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { text-decoration: underline; }
.card:hover .card-link { gap: 10px; }

/* Numbered feature blocks (Why Brahi Forms) — no generic icons */
.feature-list-editorial { display: grid; grid-template-columns: repeat(2, 2fr); gap: 36px 30px; }
.feature-block { border-top: 2px solid var(--black); padding-top: 18px; }
.feature-block .fnum { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 2rem; color: var(--brand-primary); font-weight: 800; display: block; margin-bottom: 6px; }
.feature-block h4 { text-transform: none; font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: 0; color: var(--black); margin-bottom: 8px; }
.feature-block p { font-size: 0.9rem; margin: 0; }

/* Split media/content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-reverse .split-body { order: 1; }
@media (max-width: 900px) { .split-reverse .split-media, .split-reverse .split-body { order: initial; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* Numbered feature list — replaces the old dash/hyphen bullet style.
   Uses a CSS counter so markers stay in sync automatically; numbers
   are always the clean sans-serif body font, never the serif display. */
.numbered-list { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: numbered-list; }
.numbered-list li {
    counter-increment: numbered-list;
    display: flex; align-items: flex-start; gap: 16px;
    padding: 14px 0; border-bottom: 1px solid var(--border);
    font-size: 0.95rem; color: var(--black);
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list li::before {
    content: counter(numbered-list, decimal-leading-zero);
    font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
    font-weight: 700; color: var(--brand-primary); font-size: 0.9rem;
    flex-shrink: 0; min-width: 26px; padding-top: 1px;
}

/* Timeline (About page) */
.timeline { position: relative; margin-top: 20px; padding-left: 34px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -41px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--brand-primary); border: 3px solid var(--light-gray); box-shadow: 0 0 0 2px var(--brand-primary);
}
.timeline-year { font-family: var(--font-body); font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; color: var(--brand-primary); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.5px; }
.timeline-item h4 { text-transform: none; font-family: var(--font-body); font-size: var(--text-lg); font-weight: 700; letter-spacing: 0; color: var(--black); margin: 4px 0 6px; }
.timeline-item p { margin: 0; font-size: 0.92rem; }

/* Category tabs (products overview) */
.cat-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.cat-tabs a {
    padding: 9px 20px; border: 1px solid var(--border); border-radius: 30px;
    font-size: 0.85rem; font-weight: 600; color: var(--black); background: #fff;
}
.cat-tabs a.active, .cat-tabs a:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* Applications / Features chip lists on product pages */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chip-list li {
    background: #fff; border: 1px solid var(--border); border-radius: 30px; padding: 9px 18px;
    font-size: 0.85rem; color: var(--black); font-weight: 600;
}

.mini-feature-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.mini-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--black); font-weight: 500; }
.mini-feature-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-primary); flex-shrink: 0; }

.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-primary); flex-shrink: 0; margin-top: 7px; }
.why-item p { margin: 0; color: #cfd8e3; }

/* Blog */
.blog-meta { font-size: 0.78rem; color: var(--brand-primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }

.featured-post {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 56px; box-shadow: var(--shadow-soft);
}
.featured-post img { height: 100%; min-height: 320px; width: 100%; object-fit: cover; }
.featured-post .featured-body { padding: 12px 40px 12px 0; }
.featured-post h2 { font-size: 1.8rem; }
.featured-tag { display: inline-block; background: var(--brand-primary); color: #fff; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
@media (max-width: 900px) {
    .featured-post { grid-template-columns: 1fr; }
    .featured-post .featured-body { padding: 24px; }
    .featured-post img { min-height: 220px; }
}
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-article img { border-radius: var(--radius); margin-bottom: 34px; }
.blog-article p { font-size: 1.05rem; color: var(--black); }
.related-posts { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 44px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; }
.contact-info-card { background: var(--brand-primary); color: #fff; border-radius: var(--radius); padding: 38px; }
.contact-info-card h3 { color: #fff; }
.contact-info-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-row .ico { color: #fff; font-size: 1.2rem; line-height: 1.4; }
.contact-info-row div { color: #fff; font-size: 0.94rem; }
.contact-info-row a { color: #fff; font-weight: 600; }
form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
    padding: 14px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.95rem; width: 100%; background: #fff;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--black); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form label { font-size: 0.82rem; font-weight: 700; color: var(--black); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: 0.4px; }
.form-msg { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.92rem; }
.form-msg.success { background: #e4f5ea; color: #1c7a41; border: 1px solid #b7e3c6; }
.form-msg.error { background: #fdeceb; color: #b3261e; border: 1px solid #f3c1bd; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); margin-top: 50px; }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* Certification strip */
.cert-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.cert-strip-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.cert-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-60); }
.cert-badges { display: flex; gap: 26px; align-items: center; }
.cert-badges img { height: 56px; width: auto; filter: grayscale(15%); }

/* CTA band */
.cta-band { background: var(--brand-primary); color: #fff; text-align: center; padding: 76px 0; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: #fff; color: var(--brand-primary-dark); }
.cta-band .btn-primary:hover { background: var(--black); color: #fff; }
.cta-actions { display: flex; gap: 16px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--black); color: #b9c6d4; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid var(--border-dark); }
.footer-logo { height: 42px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-col-brand p { font-size: 0.9rem; }
.footer-since { color: #8ea1b3; font-size: 0.82rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; margin-bottom: 11px; font-size: 0.9rem; color: #b9c6d4; }
.footer-col a:hover { color: var(--brand-primary); }
.footer-col p { font-size: 0.88rem; margin-bottom: 10px; }
.footer-bottom { padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }
.footer-legal a { color: #b9c6d4; }
.footer-legal a:hover { color: var(--brand-primary); }

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 55px;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff;

    border-radius: 50%;
    text-decoration: none;

    z-index: 150;

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Original WhatsApp brand icon */
.whatsapp-float i {
    position: relative;
    z-index: 3;

    font-size: 31px;
    line-height: 1;

    color: #fff;

    transition: transform 0.3s ease;
}


/* -----------------------------------------
   RIPPLE / WAVE
   ----------------------------------------- */

.whatsapp-float::before,
.whatsapp-float::after {
    content: "";
    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 2px solid #25D366;

    opacity: 0;

    transform: scale(1);

    pointer-events: none;

    animation: whatsappWave 2.4s ease-out infinite;
}


/* Second wave slightly delayed */
.whatsapp-float::after {
    animation-delay: 1.2s;
}


@keyframes whatsappWave {

    0% {
        transform: scale(1);
        opacity: 0.65;
    }

    70% {
        transform: scale(1.65);
        opacity: 0;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }

}


/* -----------------------------------------
   HOVER
   ----------------------------------------- */

.whatsapp-float:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover i {
    transform: scale(1.08);
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 768px) {

    .whatsapp-float {
        width: 50px;
        height: 50px;

        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }

}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .mega-menu-inner { grid-template-columns: 220px 1fr 260px; gap: 32px; }
}
@media (max-width: 900px) {
    .topbar-left { display: none; }
    .main-nav { display: none; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; margin-left: auto; }
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
    .split, .contact-grid { grid-template-columns: 1fr; }
    .feature-list-editorial { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
    .feature-list-editorial { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-strip { justify-content: flex-start; }
    .trust-item { min-width: 40%; text-align: left; }
    .cert-strip-inner { justify-content: flex-start; text-align: left; }
    .topbar-inner { justify-content: center; padding: 8px 16px; }
    .topbar-right { flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: 0.72rem; }
    .topbar-right .divider:first-of-type { display: none; }
}
@media (max-width: 400px) {
    .topbar-right a[href^="mailto:"] { display: none; }
    .topbar-right .divider:last-of-type { display: none; }
}

/* ============================================================
   PREMIUM MOTION SYSTEM (v2 — strengthened for visible impact)
   ------------------------------------------------------------
   Every value below was deliberately made larger/longer than a
   typical "subtle" pass so the motion actually reads on screen,
   while staying restrained (no bounce, no infinite loops).
   Only transform/opacity animate. Fully covered by the global
   prefers-reduced-motion override above (duration/delay -> ~0).
   ============================================================ */

/* ---------- Hero cinematic entrance ---------- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(35px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageReveal {
    from { opacity: 0; transform: scale(1.08); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes heroClipReveal {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0% 0); }
}

.hero-content > .eyebrow-small { animation: heroFadeUp var(--motion-base) var(--motion-ease) 0ms both; }
.hero-content > h1 { animation: heroFadeUp 800ms var(--motion-ease) 120ms both; }
.hero-content > p.lead { animation: heroFadeUp var(--motion-base) var(--motion-ease) 220ms both; }
.hero-content > .hero-actions { animation: heroFadeUp var(--motion-base) var(--motion-ease) 320ms both; }
.hero-media { overflow: hidden; animation: heroClipReveal var(--motion-hero) var(--motion-ease) 420ms both; }
.hero-media img { animation: heroImageReveal var(--motion-hero) var(--motion-ease) 420ms both; }
.hero-badge { animation: heroFadeUp var(--motion-slow) var(--motion-ease) 620ms both; }

.page-banner { overflow: hidden; }
.page-banner .eyebrow-small { animation: heroFadeUp var(--motion-base) var(--motion-ease) 0ms both; }
.page-banner h1 { animation: heroFadeUp 800ms var(--motion-ease) 110ms both; }
.page-banner .product-hero-tagline { animation: heroFadeUp var(--motion-base) var(--motion-ease) 210ms both; }
.page-banner .breadcrumb { animation: heroFadeUp var(--motion-base) var(--motion-ease) 300ms both; }

/* ---------- Scroll reveal: base (stronger movement) + directional variants ---------- */
.js-ready .reveal, .js-ready .cta-band {
    opacity: 0; transform: translateY(45px);
    transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
}
.js-ready .reveal.in-view, .js-ready .cta-band.in-view { opacity: 1; transform: translateY(0); }

.js-ready .reveal.reveal-left { transform: translateX(-45px); }
.js-ready .reveal.reveal-left.in-view { transform: translateX(0); }
.js-ready .reveal.reveal-right { transform: translateX(45px); }
.js-ready .reveal.reveal-right.in-view { transform: translateX(0); }
.js-ready .reveal.reveal-scale { transform: scale(0.94); }
.js-ready .reveal.reveal-scale.in-view { transform: scale(1); opacity: 1; }

/* Section headings: editorial rhythm — eyebrow, then heading lifts into place, then paragraph */
.js-ready .reveal .section-head > .eyebrow-small,
.js-ready .reveal .section-head.align-left > .eyebrow-small {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.6s var(--motion-ease), transform 0.6s var(--motion-ease);
}
.js-ready .reveal.in-view .section-head > .eyebrow-small,
.js-ready .reveal.in-view .section-head.align-left > .eyebrow-small { opacity: 1; transform: translateY(0); }
.js-ready .reveal .section-head > h2 {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s var(--motion-ease) 90ms, transform 0.7s var(--motion-ease) 90ms;
}
.js-ready .reveal.in-view .section-head > h2 { opacity: 1; transform: translateY(0); }
.js-ready .reveal .section-head > p {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.6s var(--motion-ease) 180ms, transform 0.6s var(--motion-ease) 180ms;
}
.js-ready .reveal.in-view .section-head > p { opacity: 1; transform: translateY(0); }

/* CTA band: heading, paragraph, buttons stagger as the page's visual climax */
.js-ready .cta-band h2 { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--motion-ease) 100ms, transform 0.7s var(--motion-ease) 100ms; }
.js-ready .cta-band.in-view h2 { opacity: 1; transform: translateY(0); }
.js-ready .cta-band p { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--motion-ease) 200ms, transform 0.65s var(--motion-ease) 200ms; }
.js-ready .cta-band.in-view p { opacity: 1; transform: translateY(0); }
.js-ready .cta-band .cta-actions,
.js-ready .cta-band .hero-actions { opacity: 0; transform: translateY(20px); transition: opacity 0.65s var(--motion-ease) 300ms, transform 0.65s var(--motion-ease) 300ms; }
.js-ready .cta-band.in-view .cta-actions,
.js-ready .cta-band.in-view .hero-actions { opacity: 1; transform: translateY(0); }

/* ---------- Coordinated image/text reveal for split sections, with image clip+scale ---------- */
.js-ready .split.reveal, .js-ready .split-reverse.reveal { opacity: 1; transform: none; } /* parent itself no longer fades as a block — children below handle it */
.js-ready .split.reveal > img,
.js-ready .split.reveal > .split-media {
    opacity: 0; transform: translateX(45px) scale(1.08); overflow: hidden;
    transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
}
.js-ready .split.reveal.in-view > img,
.js-ready .split.reveal.in-view > .split-media { opacity: 1; transform: translateX(0) scale(1); }
.js-ready .split.reveal > img ~ div,
.js-ready .split.reveal > .split-media ~ .split-body {
    opacity: 0; transform: translateX(-45px);
    transition: opacity var(--motion-slow) var(--motion-ease) 120ms, transform var(--motion-slow) var(--motion-ease) 120ms;
}
.js-ready .split.reveal.in-view > img ~ div,
.js-ready .split.reveal.in-view > .split-media ~ .split-body { opacity: 1; transform: translateX(0); }

.js-ready .split-reverse.reveal > img,
.js-ready .split-reverse.reveal > .split-media { transform: translateX(-45px) scale(1.08); }
.js-ready .split-reverse.reveal.in-view > img,
.js-ready .split-reverse.reveal.in-view > .split-media { transform: translateX(0) scale(1); }
.js-ready .split-reverse.reveal > img ~ div,
.js-ready .split-reverse.reveal > .split-media ~ .split-body { transform: translateX(45px); }
.js-ready .split-reverse.reveal.in-view > img ~ div,
.js-ready .split-reverse.reveal.in-view > .split-media ~ .split-body { transform: translateX(0); }

/* ---------- Card / feature-block / product-tile stagger (visibly sequential) ---------- */
.js-ready .reveal .card,
.js-ready .reveal .feature-block,
.js-ready .reveal .product-tile {
    opacity: 0; transform: translateY(35px);
    transition: opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease),
                box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.js-ready .reveal.in-view .card,
.js-ready .reveal.in-view .feature-block,
.js-ready .reveal.in-view .product-tile { opacity: 1; transform: translateY(0); }
.js-ready .reveal.in-view .card:nth-child(1),  .js-ready .reveal.in-view .feature-block:nth-child(1),  .js-ready .reveal.in-view .product-tile:nth-child(1)  { transition-delay: 0ms; }
.js-ready .reveal.in-view .card:nth-child(2),  .js-ready .reveal.in-view .feature-block:nth-child(2),  .js-ready .reveal.in-view .product-tile:nth-child(2)  { transition-delay: var(--stagger-step); }
.js-ready .reveal.in-view .card:nth-child(3),  .js-ready .reveal.in-view .feature-block:nth-child(3),  .js-ready .reveal.in-view .product-tile:nth-child(3)  { transition-delay: calc(var(--stagger-step) * 2); }
.js-ready .reveal.in-view .card:nth-child(4),  .js-ready .reveal.in-view .feature-block:nth-child(4),  .js-ready .reveal.in-view .product-tile:nth-child(4)  { transition-delay: calc(var(--stagger-step) * 3); }
.js-ready .reveal.in-view .card:nth-child(5),  .js-ready .reveal.in-view .feature-block:nth-child(5),  .js-ready .reveal.in-view .product-tile:nth-child(5)  { transition-delay: calc(var(--stagger-step) * 4); }
.js-ready .reveal.in-view .card:nth-child(6),  .js-ready .reveal.in-view .feature-block:nth-child(6)  { transition-delay: calc(var(--stagger-step) * 5); }

/* ---------- Numbered blocks: settle in with a slight scale, after their block ---------- */
.js-ready .reveal .fnum,
.js-ready .reveal .tile-num {
    opacity: 0; transform: translateY(20px) scale(0.95);
    transition: opacity 0.5s var(--motion-ease) 150ms, transform 0.5s var(--motion-ease) 150ms;
}
.js-ready .reveal.in-view .fnum,
.js-ready .reveal.in-view .tile-num { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- Certification strip: label, then logos stagger ---------- */
.js-ready .cert-strip.reveal .cert-label { opacity: 0; transform: translateY(14px); transition: opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease); }
.js-ready .cert-strip.reveal.in-view .cert-label { opacity: 1; transform: translateY(0); }
.js-ready .cert-strip.reveal .cert-badges img { opacity: 0; transform: translateY(14px); transition: opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease); }
.js-ready .cert-strip.reveal.in-view .cert-badges img { opacity: 1; transform: translateY(0); }
.js-ready .cert-strip.reveal.in-view .cert-badges img:nth-child(1) { transition-delay: 90ms; }
.js-ready .cert-strip.reveal.in-view .cert-badges img:nth-child(2) { transition-delay: 180ms; }
.js-ready .cert-strip.reveal.in-view .cert-badges img:nth-child(3) { transition-delay: 270ms; }

/* ---------- Footer: columns reveal in sequence as it enters view ---------- */
.js-ready .site-footer.reveal { opacity: 1; transform: none; }
.js-ready .site-footer.reveal .footer-grid > .footer-col {
    opacity: 0; transform: translateY(24px);
    transition: opacity var(--motion-base) var(--motion-ease), transform var(--motion-base) var(--motion-ease);
}
.js-ready .site-footer.reveal.in-view .footer-grid > .footer-col { opacity: 1; transform: translateY(0); }
.js-ready .site-footer.reveal.in-view .footer-grid > .footer-col:nth-child(1) { transition-delay: 0ms; }
.js-ready .site-footer.reveal.in-view .footer-grid > .footer-col:nth-child(2) { transition-delay: 100ms; }
.js-ready .site-footer.reveal.in-view .footer-grid > .footer-col:nth-child(3) { transition-delay: 200ms; }
.js-ready .site-footer.reveal.in-view .footer-grid > .footer-col:nth-child(4) { transition-delay: 300ms; }
/* ---------- Footer social icons: hard-defended sizing, cannot inherit an oversized render ---------- */
.footer-social { display: flex; align-items: center; gap: 10px; margin: 18px 0; list-style: none; padding: 0; }
.footer-social a {
    box-sizing: border-box !important;
    width: 42px !important; height: 42px !important; min-width: 42px !important; min-height: 42px !important;
    max-width: 42px !important; max-height: 42px !important;
    border-radius: 50% !important; border: 1px solid var(--border-dark);
    display: inline-flex !important; align-items: center; justify-content: center;
    flex: 0 0 42px; color: #cfd8e3; line-height: 0; font-size: 0; overflow: hidden;
    transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--motion-ease);
}
.footer-social a svg {
    width: 18px !important; height: 18px !important; min-width: 18px !important; min-height: 18px !important;
    max-width: 18px !important; max-height: 18px !important;
    display: block !important; flex: 0 0 auto; fill: currentColor;
}
.footer-social a:hover,
.footer-social a:focus-visible { color: #fff; background: var(--brand-primary); border-color: var(--brand-primary); transform: translateY(-2px); }

.js-ready .site-footer.reveal .footer-social { opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--motion-ease) 400ms, transform 0.6s var(--motion-ease) 400ms; }
.js-ready .site-footer.reveal.in-view .footer-social { opacity: 1; transform: translateY(0); }
.js-ready .site-footer.reveal .footer-bottom { opacity: 0; transition: opacity 0.6s var(--motion-ease) 500ms; }
.js-ready .site-footer.reveal.in-view .footer-bottom { opacity: 1; }

/* ---------- Header: smoother scrolled-state transition ---------- */
.site-header { transition: box-shadow 0.3s var(--motion-ease), border-color 0.3s var(--motion-ease), padding 0.3s var(--motion-ease); }
.header-inner { transition: padding 0.3s var(--motion-ease); }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(17,17,17,0.1); }
.site-header.scrolled .header-inner { padding-top: 9px; padding-bottom: 9px; }
.logo img { transition: transform 0.3s var(--motion-ease); }
.site-header.scrolled .logo img { transform: scale(0.92); }

/* ---------- Mega menu: more noticeable open animation + column stagger ---------- */
.mega-menu { transition: opacity 0.32s var(--motion-ease), transform 0.32s var(--motion-ease), visibility 0.32s; }
.nav-item-mega.open .mega-menu { transform: translateY(0); }
.mega-col li { opacity: 0; transform: translateY(14px); transition: opacity 0.32s var(--motion-ease), transform 0.32s var(--motion-ease); }
.nav-item-mega.open .mega-col li { opacity: 1; transform: translateY(0); }
.mega-col:nth-child(1) li:nth-child(1) { transition-delay: 30ms; } .mega-col:nth-child(2) li:nth-child(1) { transition-delay: 30ms; }
.mega-col:nth-child(1) li:nth-child(2) { transition-delay: 60ms; } .mega-col:nth-child(2) li:nth-child(2) { transition-delay: 60ms; }
.mega-col:nth-child(1) li:nth-child(3) { transition-delay: 90ms; } .mega-col:nth-child(2) li:nth-child(3) { transition-delay: 90ms; }
.mega-col:nth-child(1) li:nth-child(4) { transition-delay: 120ms; } .mega-col:nth-child(2) li:nth-child(4) { transition-delay: 120ms; }
.mega-col:nth-child(1) li:nth-child(5) { transition-delay: 150ms; } .mega-col:nth-child(2) li:nth-child(5) { transition-delay: 150ms; }
.mega-col:nth-child(1) li:nth-child(6) { transition-delay: 180ms; }
.mega-feature { opacity: 0; transform: translateY(10px); transition: opacity 0.35s var(--motion-ease) 190ms, transform 0.35s var(--motion-ease) 190ms; }
.nav-item-mega.open .mega-feature { opacity: 1; transform: translateY(0); }

/* ---------- Card hover: refined, more premium ---------- */
.card img { transition: transform 0.5s var(--motion-ease); }
.card:hover img { transform: scale(1.04); }
.card:hover { transform: translateY(-5px); }

/* ---------- Button micro-interaction: press feedback ---------- */
.btn:active { transform: scale(0.98); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: var(--brand-primary); z-index: 400; transition: width 0.1s linear;
}

/* ---------- Back-to-top floating button ---------- */
.back-to-top {
    position: fixed; right: 28px; bottom: 125px; z-index: 200;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--brand-primary); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 24px rgba(6,179,216,0.3);
    opacity: 0; transform: scale(0.85) translateY(10px); pointer-events: none;
    transition: opacity 0.3s var(--motion-ease), transform 0.3s var(--motion-ease), background 0.2s;
}
.back-to-top.visible { opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-primary-dark); transform: scale(1) translateY(-2px); }
.back-to-top:active { transform: scale(0.95); }

/* ---------- Parallax (hero image only; disabled below 768px via main.js) ---------- */
.parallax-target { will-change: transform; }

/* ---------- Mobile: reduce motion intensity (shorter travel, faster settle) ---------- */
@media (max-width: 640px) {
    .hero-content > .eyebrow-small, .hero-content > h1, .hero-content > p.lead, .hero-content > .hero-actions,
    .page-banner .eyebrow-small, .page-banner h1, .page-banner .product-hero-tagline, .page-banner .breadcrumb {
        animation-duration: 500ms;
    }
    .js-ready .reveal, .js-ready .cta-band { transform: translateY(24px); }
    .js-ready .reveal.reveal-left, .js-ready .reveal.reveal-right { transform: translateY(20px); }
    .js-ready .reveal.in-view.reveal-left, .js-ready .reveal.in-view.reveal-right { transform: translateY(0); }
    .js-ready .split.reveal > img, .js-ready .split.reveal > .split-media,
    .js-ready .split-reverse.reveal > img, .js-ready .split-reverse.reveal > .split-media {
        transform: translateY(24px) scale(1.05);
    }
    .js-ready .split.reveal > img ~ div, .js-ready .split.reveal > .split-media ~ .split-body,
    .js-ready .split-reverse.reveal > img ~ div, .js-ready .split-reverse.reveal > .split-media ~ .split-body {
        transform: translateY(20px);
    }
    .js-ready .split.reveal.in-view > img, .js-ready .split.reveal.in-view > .split-media,
    .js-ready .split-reverse.reveal.in-view > img, .js-ready .split-reverse.reveal.in-view > .split-media,
    .js-ready .split.reveal.in-view > img ~ div, .js-ready .split.reveal.in-view > .split-media ~ .split-body,
    .js-ready .split-reverse.reveal.in-view > img ~ div, .js-ready .split-reverse.reveal.in-view > .split-media ~ .split-body {
        transform: translateY(0) scale(1);
    }
    .js-ready .reveal .card, .js-ready .reveal .feature-block, .js-ready .reveal .product-tile { transform: translateY(22px); }
    .back-to-top { right: 16px; bottom: 85px; width: 44px; height: 44px; }
    .whatsapp-float { right: 16px; bottom: 20px; }
}


.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #111;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.12);

    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-social a i {
    font-size: 18px;
}

.footer-social a:hover {
    background: #06B3D8;
    color: #fff;
    border-color: #06B3D8;
    transform: translateY(-2px);
}
