:root {
    --width-xs: 12rem;
    --width-s: 16rem;
    --action: var(--brand-red, #e63946);
}

.transition-pixel-grid {
    background-color: #0d0d0d;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pixel-row {
    display: flex;
    width: 100%;
    flex-direction: row;
}
.pixel-cell {
    flex: 1;
    aspect-ratio: 1 / 1;
    background-color: transparent;
    opacity: 0;
    transform: scale(0.3);
    will-change: opacity, transform;
}
.pixel-cell.color-white {
    background-color: #ffffff;
}
.pixel-cell.color-red {
    background-color: var(--brand-red, #e63946);
}
.pixel-cell.color-silver {
    background-color: #e5e5e5;
}

/* Events Grid Entrance CSS pre-hide */
body:not([data-builder-window="iframe"]) .arg-events-grid__card {
    opacity: 0;
    transform: translateY(50px);
    will-change: opacity, transform;
}
body:not([data-builder-window="iframe"]).gsap-fallback .arg-events-grid__card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Contact Form Legal Scrollbox (argu.local style) */
.arg-contact-form__legal-box {
    height: 80px;
    overflow-y: auto;
    border: 1px solid #2d3138;
    padding: 12px var(--arg-space-3xs);
    background-color: rgba(255, 255, 255, 0.02);
    color: #a1a1aa;
    font-size: var(--arg-text-xs);
    border-radius: 6px;
    line-height: 1.5;
    margin-top: var(--arg-space-3xs);
    margin-bottom: var(--arg-space-3xs);
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-red, #e63946) rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar for webkit browsers */
.arg-contact-form__legal-box::-webkit-scrollbar {
    width: 6px;
}
.arg-contact-form__legal-box::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}
.arg-contact-form__legal-box::-webkit-scrollbar-thumb {
    background: var(--brand-red, #e63946);
    border-radius: 6px;
}
.arg-contact-form__legal-box::-webkit-scrollbar-thumb:hover {
    background: #c12e3e;
}

/* Our Products Cards Hover Cursor Follower */
.arg-product-hover-cursor {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    width: 90px;
    height: 90px;
    background-color: var(--brand-red, #e63946);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.3;
    padding: 10px;
    box-sizing: border-box;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    text-transform: uppercase;
    font-family: 'Inter Tight', sans-serif;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4);
}

.arg-product-hover-cursor.is-active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Hide default cursor on product cards when hover is active (only in the text area) */
body:not([data-builder-window="iframe"]) .arg-product-card.arg-hide-cursor {
    cursor: none !important;
}

body:not([data-builder-window="iframe"]) .arg-product-card.arg-hide-cursor * {
    cursor: none !important;
}

/* Homepage Slider Number Box Styles */
.slider__card_num {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--width-s) !important;
    height: 150px !important;
    margin-left: var(--space-xl) !important;
    margin-right: var(--space-xl) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    
    background: linear-gradient(45deg, var(--action) 0%, #bc4e9c 50%, #861d31 100%) !important;
    background-size: 200% 200% !important;
    animation: gradient-shift 3s ease alternate infinite !important;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.slider__card_num .brxe-heading {
    color: var(--white) !important;
    font-size: 110px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

@media (max-width: 478px) {
    .slider__card_num {
        width: var(--width-xs) !important;
        height: 100px !important;
        margin-left: var(--space-xs) !important;
        margin-right: var(--space-xs) !important;
    }
    .slider__card_num .brxe-heading {
        font-size: 80px !important;
    }
}

@media (max-width: 767px) {
    /* Section 35 Years Mobile Layout */
    #brxe-Home-35-years .arg-stats__container,
    #brxe-brxe-pmhcsu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        row-gap: var(--arg-space-m, 24px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #brxe-brxe-axqouu {
        width: 56% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #brxe-brxe-khlqti {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        line-height: 1 !important;
    }

    #brxe-brxe-keyofn,
    #brxe-brxe-opifro {
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #brxe-brxe-wiyysx,
    #brxe-brxe-plvaeq,
    #brxe-brxe-khlqti .arg-stats__bracket {
        font-size: clamp(44px, 12vw, 56px) !important;
        font-weight: 300 !important;
        color: var(--bricks-color-col-sezalt, #d4ff32) !important;
        line-height: 1 !important;
        display: block !important;
    }

    #brxe-brxe-bwapaz {
        width: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #brxe-brxe-uqlfjc,
    #brxe-brxe-bwapaz .arg-stats__number {
        font-size: clamp(38px, 10vw, 48px) !important;
        font-weight: 900 !important;
        color: #ffffff !important;
        line-height: 1 !important;
        display: block !important;
    }

    #brxe-brxe-snwrrx {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 6px !important;
    }

    #brxe-brxe-ojffws,
    #brxe-brxe-snwrrx .arg-stats__label {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        color: var(--brand-red, #e63946) !important;
        text-align: center !important;
        line-height: 1.2 !important;
        display: block !important;
    }

    #brxe-brxe-emljnl {
        width: 40% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #brxe-brxe-ewjfcy,
    #brxe-brxe-emljnl img {
        width: clamp(95px, 26vw, 120px) !important;
        height: auto !important;
        display: block !important;
    }

    #brxe-brxe-xjxsbg {
        width: 100% !important;
        padding-left: var(--arg-space-xs, 16px) !important;
        padding-right: var(--arg-space-xs, 16px) !important;
        box-sizing: border-box !important;
    }

    #brxe-brxe-heepwf,
    #brxe-brxe-xjxsbg .arg-stats__desc {
        font-size: var(--arg-text-s, 15px) !important;
        line-height: var(--arg-lh-m, 1.5) !important;
        color: #ffffff !important;
        display: block !important;
    }
}

/* ==========================================================================
   COMMITMENTS SECTION HOVER ANIMATION (ICON TURNS GOLD var(--gold))
   ========================================================================== */
.arg-commitments__card {
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.arg-commitments__card:hover {
    transform: translateY(-4px);
}

.arg-commitments__icon {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.arg-commitments__card:hover .arg-commitments__icon {
    transform: scale(1.08);
}

.arg-commitments__icon path,
.arg-commitments__icon circle,
.arg-commitments__icon g {
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.arg-commitments__card:hover .arg-commitments__icon path[style*="stroke"],
.arg-commitments__card:hover .arg-commitments__icon circle[style*="stroke"] {
    stroke: var(--gold, hsl(46 100% 50%)) !important;
}

.arg-commitments__card:hover .arg-commitments__icon path[style*="fill:#fff"],
.arg-commitments__card:hover .arg-commitments__icon path[style*="fill: #fff"],
.arg-commitments__card:hover .arg-commitments__icon path[style*="fill:#ffffff"],
.arg-commitments__card:hover .arg-commitments__icon path[style*="fill: #ffffff"],
.arg-commitments__card:hover .arg-commitments__icon circle[style*="fill:#fff"],
.arg-commitments__card:hover .arg-commitments__icon circle[style*="fill: #fff"] {
    fill: var(--gold, hsl(46 100% 50%)) !important;
}

/* ==========================================================================
   ABOUT US TIMELINE CARDS & ICONS HOVER ANIMATION (GOLD var(--gold))
   ========================================================================== */
/* Keep background artboard rect completely invisible / no fill */
.arg-about-timeline__col-icon rect,
.arg-about-timeline__col-icon svg rect,
.arg-about-timeline__column:hover .arg-about-timeline__col-icon rect,
.arg-about-timeline__column:hover .arg-about-timeline__col-icon svg rect {
    fill: none !important;
    stroke: none !important;
    opacity: 0 !important;
}

.arg-about-timeline__column {
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.arg-about-timeline__column:hover {
    transform: translateY(-5px);
}

.arg-about-timeline__col-icon {
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.arg-about-timeline__column:hover .arg-about-timeline__col-icon {
    transform: scale(1.08);
}

/* Only change vector path lines to gold */
.arg-about-timeline__col-icon path {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.arg-about-timeline__column:hover .arg-about-timeline__col-icon path {
    fill: var(--gold, hsl(46 100% 50%)) !important;
}



/* ==========================================================================
   BRICKS BUILDER EDITOR SAFEGUARDS
   Only disable OUR custom overlays/cursors. Never touch pointer-events globally.
   ========================================================================== */

/* 1. Hide all our custom overlays/cursors inside the builder iframe */
.brx-body.iframe .arg-menu-overlay,
.brx-body.iframe .arg-menu-container,
.brx-body.iframe .arg-menu-close-btn,
.brx-body.iframe .arg-play-cursor-follower,
.brx-body.iframe .arg-eq-slider-cursor,
.brx-body.iframe .arg-blueprints-cursor,
.brx-body.iframe .arg-blueprint-modal,
.brx-body.iframe .arg-product-hover-cursor {
  display: none !important;
  pointer-events: none !important;
}

/* 2. Restore cursor to auto everywhere inside the builder iframe
      (overrides any cursor:none coming from our custom CSS).
      NOTE: We intentionally do NOT set pointer-events here — that would
      conflict with Bricks Builder's own selection/hover system. */
.brx-body.iframe,
.brx-body.iframe * {
  cursor: auto !important;
}

/* ==========================================================================
   FOOTER CONTACT OUTLINED BIG TITLE (HOLLOW RED TEXT STROKE EFFECT)
   ========================================================================== */
.arg-footer__contact-title-big,
h2.arg-footer__contact-title-big,
h3.arg-footer__contact-title-big,
#brxe-ifaejn,
.brxe-heading.arg-footer__contact-title-big {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 3.5px var(--brand-red, #e63946) !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  letter-spacing: 3px !important;
  font-weight: 800 !important;
  font-size: clamp(48px, 6vw, 110px) !important;
  line-height: 1 !important;
  margin: 0 !important;
  text-align: center !important;
  display: block !important;
}

@media (max-width: 767px) {
  .arg-footer__contact-title-big,
  h2.arg-footer__contact-title-big,
  h3.arg-footer__contact-title-big,
  #brxe-ifaejn,
  .brxe-heading.arg-footer__contact-title-big {
    -webkit-text-stroke: 2px var(--brand-red, #e63946) !important;
    font-size: clamp(30px, 8vw, 54px) !important;
    letter-spacing: 1.5px !important;
  }
}

/* ==========================================================================
   ACCESSIBILITY & WCAG CONTRAST ENHANCEMENTS
   ========================================================================== */
.arg-lang-link.is-active,
.arg-lang-link.is-active .arg-lang-text {
  color: #ff5770 !important;
  font-weight: 700 !important;
}

.arg-stats__label,
#brxe-brxe-ojffws {
  color: #ff5770 !important;
}

.arg-commitments__title,
.brxe-heading.arg-commitments__title {
  color: #ff5770 !important;
}



