
  :root {
    --orange: #ff6b00;
    --orange-light: #ff8c3a;
    --dark: #0a0a0a;
    --dark2: #111111;
    --dark3: #1a1a1a;
    --dark4: #222222;
  }

  * { font-family: 'Cairo', sans-serif; scroll-behavior: smooth; box-sizing: border-box; }

  /* ── Scrollbar ── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--dark); }
  ::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

  /* ── Keyframes ── */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-18px); }
  }
  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,107,0,.3); }
    50% { box-shadow: 0 0 50px rgba(255,107,0,.7); }
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes spin-slow { to { transform: rotate(360deg); } }
  @keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  @keyframes wa-bounce {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.12); }
  }
  @keyframes counter-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ── Utility ── */
  .float-anim { animation: float 6s ease-in-out infinite; }
  .glow-box   { animation: pulse-glow 3s ease-in-out infinite; }
  .spin-slow  { animation: spin-slow 20s linear infinite; }

  .gradient-hero { background: linear-gradient(135deg, #0a0a0a 0%, #1a0f00 60%, #2a1500 100%); }

  .text-gradient {
    background: linear-gradient(135deg, #ff6b00, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* ── Nav ── */
  #navbar { transition: all .3s ease; }
  #navbar.scrolled {
    background: rgba(10,10,10,.98) !important;
    box-shadow: 0 4px 30px rgba(255,107,0,.15);
  }
  .nav-link {
    position: relative;
    color: #aaa;
    font-weight: 600;
    transition: color .3s;
    padding-bottom: 4px;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width .3s;
  }
  .nav-link:hover { color: #fff; }
  .nav-link:hover::after { width: 100%; }

  /* ── Mobile menu ── */
  #mobile-menu {
    display: none;
    animation: slideDown .3s ease;
  }
  #mobile-menu.open { display: block; }

  /* ── Hero particles ── */
  .particle {
    position: absolute;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.08;
    animation: float var(--dur, 8s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
  }

  /* ── Service card ── */
  .service-card {
    background: var(--dark3);
    border: 1px solid rgba(255,107,0,.1);
    border-radius: 24px;
    padding: 2rem;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
  }
  .service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,0,.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s;
  }
  .service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,107,0,.4);
    box-shadow: 0 20px 60px rgba(255,107,0,.15);
  }
  .service-card:hover::before { opacity: 1; }

  /* ── Portfolio ── */
  .portfolio-item { border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; }
  .portfolio-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s ease; }
  .portfolio-item:hover img { transform: scale(1.08); }
  .portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,.95) 0%, rgba(255,107,0,.2) 100%);
    opacity: 0; transition: opacity .4s;
    display: flex; align-items: flex-end; padding: 1.5rem;
  }
  .portfolio-item:hover .portfolio-overlay { opacity: 1; }

  /* ── Stats ── */
  .stat-card {
    background: var(--dark3);
    border: 1px solid rgba(255,107,0,.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all .3s;
  }
  .stat-card:hover {
    border-color: var(--orange);
    box-shadow: 0 0 30px rgba(255,107,0,.15);
  }

  /* ── Ticker ── */
  .ticker-wrap { overflow: hidden; background: var(--orange); padding: 12px 0; }
  .ticker-inner {
    display: flex;
    width: max-content;
    animation: ticker 25s linear infinite;
    gap: 0;
  }
  .ticker-item { white-space: nowrap; padding: 0 40px; font-weight: 700; color: #fff; font-size: .9rem; }

  /* ── Contact form ── */
  .form-input {
    width: 100%;
    background: var(--dark4);
    border: 1px solid rgba(255,107,0,.2);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: border-color .3s, box-shadow .3s;
    outline: none;
  }
  .form-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,107,0,.15);
  }
  .form-input::placeholder { color: #666; }

  /* ── WhatsApp Float ── */
  .wa-float {
    position: fixed;
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
    left: max(28px, calc(env(safe-area-inset-left) + 20px));
    z-index: 999;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: #fff;
    box-shadow: 0 6px 30px rgba(37,211,102,.5);
    animation: wa-bounce 2.5s ease-in-out infinite;
    text-decoration: none;
    transition: transform .2s;
  }
  .wa-float:hover { transform: scale(1.15); }
  .wa-float:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
  }

  /* ── Scroll reveal ── */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── Hamburger ── */
  .hamburger span {
    display: block; width: 26px; height: 2px;
    background: #fff; margin: 5px 0;
    transition: all .3s;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Testimonials ── */
  .testimonial-card {
    background: var(--dark3);
    border: 1px solid rgba(255,107,0,.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all .3s;
  }
  .testimonial-card:hover {
    border-color: rgba(255,107,0,.35);
    transform: translateY(-4px);
  }

  /* ── Btn ── */
  .btn-primary {
    background: var(--orange);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all .3s;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
    border: none; cursor: pointer;
  }
  .btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,107,0,.4);
  }
  .btn-outline {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,.3);
    transition: all .3s;
    display: inline-flex; align-items: center; gap: 8px;
    text-decoration: none;
  }
  .btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
  }

  .tab-btn {
    background: #1a1a1a;
    color: #999;
    border: 1px solid rgba(255,107,0,.2);
  }
  .tab-btn:hover { color: #fff; border-color: rgba(255,107,0,.5); }
  .active-tab {
    background: #ff6b00 !important;
    color: #fff !important;
    border-color: #ff6b00 !important;
  }
  .portfolio-item.hidden-item { display: none; }


  .filter-btn {
    background: #1a1a1a;
    border: 1px solid rgba(255,107,0,.2);
    color: #aaa;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: all .3s;
  }
  .filter-btn:hover, .filter-btn.active {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255,107,0,.3);
  }
  .portfolio-item { transition: opacity .4s, transform .4s; }
  .portfolio-item.hidden { opacity: 0; pointer-events: none; position: absolute; }


  /* ── Project Slider ── */
  .slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .slider-track {
    flex: 1;
    overflow: hidden;
    border-radius: 16px;
  }
  .slider-inner {
    display: flex;
    flex-direction: row;
    gap: 14px;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    direction: ltr;
  }
  .slide-card {
    direction: rtl;
  }
  .slide-card {
    flex: 0 0 260px;
    cursor: pointer;
    direction: rtl;
  }
  @media (max-width: 640px) {
    .slide-card { flex: 0 0 220px; }
  }
  .slide-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,107,0,.12);
    transition: border-color .3s, box-shadow .3s;
  }
  .slide-img-wrap:hover {
    border-color: rgba(255,107,0,.45);
    box-shadow: 0 10px 35px rgba(255,107,0,.18);
  }
  .slide-img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
  }
  .slide-img-wrap:hover img { transform: scale(1.06); }
  .slide-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(6px);
  }
  .slide-desc {
    text-align: center;
    color: #555;
    font-size: .78rem;
    margin-top: 7px;
  }
  .slider-btn {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid rgba(255,107,0,.25);
    color: #ff6b00;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s;
    font-size: .85rem;
  }
  .slider-btn:hover {
    background: #ff6b00;
    color: #fff;
    box-shadow: 0 4px 16px rgba(255,107,0,.35);
  }
  .slider-btn:disabled {
    opacity: .3;
    cursor: not-allowed;
  }


  /* ── Before/After Slider ── */
  .ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,107,0,.25);
    margin-bottom: 24px;
    cursor: ew-resize;
    user-select: none;
    touch-action: pan-y;
  }
  .ba-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
  }
  .ba-before-wrap {
    position: absolute;
    inset: 0;
    width: 50%;
    overflow: hidden;
  }
  .ba-before-wrap img {
    width: var(--ba-w, 100vw);
    max-width: none;
  }
  .ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: #ff6b00;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .ba-handle::after {
    content: '\2194';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
    background: #ff6b00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,.4);
  }
  .ba-tag {
    position: absolute;
    bottom: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,.6);
    pointer-events: none;
  }
  .ba-tag.ba-tag-before { right: 12px; }
  .ba-tag.ba-tag-after { left: 12px; }

  /* ── Projects Grid ── */
  .project-card { }
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
  @media (max-width: 640px) {
    .steps-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }
  }
  .step-item { }
  .step-img {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,107,0,.2);
    aspect-ratio: 1;
  }
  .step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
  }
  .step-img:hover img {
    transform: scale(1.05);
  }
  .step-label { }
  .step-desc { }


  /* ── Contact Layout ── */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  @media (min-width: 768px) {
    .contact-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (min-width: 1024px) {
    .contact-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  .contact-card {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,107,0,.15);
    background: #1a1a1a;
    text-align: center;
    transition: all .3s;
  }
  .contact-card:hover {
    border-color: rgba(255,107,0,.4);
    background: #242424;
  }
  .contact-icon {
    font-size: 28px;
    color: #ff6b00;
    margin-bottom: 8px;
  }



/* ===== next block ===== */


  .project-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }
  .project-step { position: relative; }
  .step-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,107,0,.1);
    transition: border-color .3s, box-shadow .3s;
  }
  .step-img-wrap:hover {
    border-color: rgba(255,107,0,.4);
    box-shadow: 0 12px 40px rgba(255,107,0,.15);
  }
  .step-img-wrap img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
  }
  .step-img-wrap:hover img { transform: scale(1.05); }
  .step-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
  }
  .step-desc {
    text-align: center;
    color: #666;
    font-size: .8rem;
    margin-top: 8px;
  }

  /* Arrow connector between steps on desktop */
  @media (min-width: 768px) {
    .project-step:not(:last-child) .step-img-wrap::after {
      content: '←';
      position: absolute;
      left: -20px;
      top: 50%;
      transform: translateY(-50%);
      color: #ff6b00;
      font-size: 1.5rem;
      font-weight: bold;
    }
  }


/* ===== next block ===== */


  .brand-logo { transition: transform .3s, filter .3s; filter: brightness(.8); }
  .brand-logo:hover { transform: scale(1.08); filter: brightness(1); }

/* ================================
   Brands Section
================================ */

.brands-section {
  --brand-orange: #ff6b00;
  --brand-white: #ffffff;
  --brand-muted: #a9a9a9;
  --brand-card-bg: #ffffff;
  --brand-page-bg: #0d0d0d;

  position: relative;
  padding: 82px 20px 92px;
  background: var(--brand-page-bg);
  overflow: hidden;
}

.brands-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 5%;
  left: 5%;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    rgba(255, 107, 0, 0.55),
    transparent
  );
}

.brands-container {
  width: min(100%, 1120px);
  margin-inline: auto;
  text-align: center;
}

.brands-eyebrow {
  margin: 0 0 10px;
  color: var(--brand-orange);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

.brands-section h2 {
  margin: 0;
  color: var(--brand-white);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
}

.brands-description {
  max-width: 620px;
  margin: 18px auto 42px;
  color: var(--brand-muted);
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.9;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: min(100%, 860px);
  margin-inline: auto;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 108px;
  padding: 18px 20px;

  background: var(--brand-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(0, 0, 0, 0.025);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 107, 0, 0.18);
}

.brand-card picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
}

.brand-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.brand-card--wide {
  padding-inline: 14px;
}

.brand-card--wide picture {
  height: 66px;
}

.brand-card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 260px);
}

@media (min-width: 640px) {
  .brands-section {
    padding-inline: 28px;
  }

  .brands-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 22px;
  }

  .brand-card {
    min-height: 118px;
    padding: 20px 26px;
  }
}

@media (min-width: 960px) {
  .brands-section {
    padding-top: 96px;
    padding-bottom: 108px;
  }

  .brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .brand-card {
    min-height: 124px;
  }

  .brand-card:last-child {
    width: 190px;
  }
}

@media (max-width: 380px) {
  .brands-section {
    padding: 64px 14px 76px;
  }

  .brands-grid {
    gap: 12px;
  }

  .brand-card {
    min-height: 92px;
    padding: 14px 10px;
    border-radius: 8px;
  }

  .brand-card picture {
    height: 58px;
  }

  .brands-description {
    margin-bottom: 30px;
    font-size: 13px;
  }
}

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

  .brand-card:hover {
    transform: none;
  }
}

/* ================================
   Brand logo visual balancing
   (StacBond & Alucobest appeared smaller than the others after cropping
   their source files — scaled up visually without touching the files again)
================================ */
.brand-card--stacbond img {
  transform: scale(1.35);
}

.brand-card--alucobest img {
  transform: scale(1.18);
}

.brand-card--wide img {
  transform: scale(1.05);
}

/* ================================
   Footer refinements
================================ */
.site-footer {
  padding-top: 60px;
  padding-bottom: 32px;
}

.footer-muted {
  color: #999;
}

.footer-muted,
.footer-grid li,
.footer-grid li a {
  font-size: 14px;
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: 110px; /* keep footer content clear of the floating WhatsApp button */
  }

  .footer-col-brand {
    text-align: center;
  }

  .footer-col-brand img {
    margin-inline: auto;
  }

  .footer-grid h4 {
    margin-bottom: 16px;
  }
}

/* ================================
   Reduced motion (site-wide)
================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================
   Generic focus-visible for keyboard users
================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ff6b00;
  outline-offset: 3px;
}
