:root{--red:#E30613;--red2:#F23838;--bg:#181A1F;--bg2:#20232A;--card:#262A33;--line:#3A3F4B;--muted:#BFC4CF;--max:1240px;--shadow:0 22px 70px rgba(0,0,0,.28)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#fff;font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{max-width:var(--max);margin:auto;padding:0 24px}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(8,12,18,.96);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.header-inner{min-height:108px;display:grid;grid-template-columns:220px 1fr auto;gap:18px;align-items:center}.header-logo img{width:205px;max-height:76px;object-fit:contain;filter:drop-shadow(0 0 13px rgba(227,6,19,.25));transition:.3s}.header-logo:hover img{transform:translateY(-3px) scale(1.05);filter:drop-shadow(0 0 26px rgba(227,6,19,.58))}.main-nav{display:flex;justify-content:center;gap:18px}.main-nav a{font-weight:900;font-size:1.02rem;padding:16px 4px;position:relative}.main-nav a:after{content:"";position:absolute;left:4px;right:4px;bottom:6px;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:.25s}.main-nav a:hover:after,.main-nav a.active:after{transform:scaleX(1)}.header-cta{display:flex;gap:12px;align-items:center}.phone-link,.quote-link{height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;font-weight:900;white-space:nowrap}.phone-link{padding:0 18px;background:rgba(255,255,255,.045);border:1px solid var(--line)}.phone-link i{color:var(--red);margin-right:10px}.quote-link{padding:0 22px;background:linear-gradient(135deg,var(--red),var(--red2));box-shadow:0 16px 38px rgba(227,6,19,.28)}.menu-btn{display:none}
.section{padding:86px 0;background:var(--bg)}.dark-section{background:var(--bg)!important}.section-head{margin-bottom:30px;max-width:760px}.eyebrow{color:var(--red);font-weight:900;letter-spacing:.28em;font-size:.82rem;text-transform:uppercase;margin:0 0 12px}.section-head h2,.contact-layout h2,.section-intro h2{font-size:clamp(1.9rem,3.1vw,2.8rem);line-height:1.1;margin:0 0 16px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.panel,.info-card,.service-card,.project-card,.contact-form,.contact-list a,.contact-list span,.faq details{background:var(--card);border:1px solid var(--line);border-radius:18px;color:#fff}.panel,.info-card,.contact-form,.faq details{padding:24px}.panel p,.panel li,.service-card p,.faq p,.section-intro p{color:var(--muted);line-height:1.7}.icon-red,.service-card i{color:var(--red)}
.hero-section{min-height:calc(100vh - 108px);position:relative;display:flex;align-items:center;overflow:hidden;background:#07101a}.hero-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,10,16,.96) 0%,rgba(5,10,16,.84) 43%,rgba(5,10,16,.18) 100%),url("../images/hero-bg.png") center center/cover no-repeat}.hero-text{position:relative;z-index:2;max-width:760px;padding:70px 0 90px}.hero-kicker{display:block;color:var(--red);font-weight:900;letter-spacing:.44em;font-size:.92rem;margin-bottom:20px}.hero-text h1{font-size:clamp(4.4rem,8vw,8rem);line-height:.9;margin:0;letter-spacing:-.045em;font-weight:900}.hero-text h1 span{color:var(--red);text-shadow:0 0 24px rgba(227,6,19,.38)}.hero-text h2{font-size:clamp(1.3rem,2.5vw,2.45rem);letter-spacing:.34em;font-weight:800;margin:20px 0 18px}.red-line{width:72px;height:3px;background:var(--red);margin:0 0 28px}.tagline{font-size:clamp(1.7rem,3vw,3rem);font-weight:850;margin:0 0 18px}.former{text-transform:uppercase;letter-spacing:.05em}.service-line{font-size:1.07rem;line-height:1.7;color:#fff}.service-line b{color:var(--red);margin:0 8px}.actions{display:flex;gap:20px;flex-wrap:wrap;margin-top:30px}.btn{height:58px;padding:0 26px;border-radius:11px;display:inline-flex;align-items:center;gap:12px;font-weight:900;text-transform:uppercase;border:0;transition:.25s}.btn.primary{background:linear-gradient(135deg,var(--red),var(--red2));box-shadow:0 16px 40px rgba(227,6,19,.30)}.btn.secondary{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.42)}.btn:hover{transform:translateY(-4px)}.hero-logo-mark{width:min(440px,90%);margin:24px 0 0;position:relative;cursor:pointer;transition:.55s}.hero-logo-mark:before{content:"";position:absolute;inset:10%;background:radial-gradient(circle,rgba(227,6,19,.22),transparent 65%);filter:blur(8px);z-index:-1}.hero-logo-mark img{width:100%;max-height:155px;object-fit:contain;filter:drop-shadow(0 0 18px rgba(227,6,19,.35));transition:.55s}.hero-logo-mark:hover{transform:translateY(-12px) scale(1.08)}.hero-logo-mark:hover img{filter:drop-shadow(0 0 26px rgba(255,0,0,.88)) drop-shadow(0 0 58px rgba(227,6,19,.55)) brightness(1.18)}
.about-layout{display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;align-items:stretch}.section-intro{grid-column:span 1}.team-panel{grid-column:span 2;min-height:330px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:var(--card)}.team-panel img{width:100%;height:100%;min-height:330px;object-fit:cover;transition:.55s}.team-panel:hover img{transform:scale(1.06);filter:brightness(1.08)}
.info-card strong{display:block;font-size:2.1rem;color:var(--red)}.info-card span{font-weight:900}.service-card{overflow:hidden;transition:.35s}.service-img{height:210px;background:#111;overflow:hidden}.service-img img{width:100%;height:100%;object-fit:cover;transition:.55s}.service-body{padding:22px 24px 24px}.service-card:hover{transform:translateY(-10px);border-color:rgba(227,6,19,.65);box-shadow:0 24px 64px rgba(227,6,19,.22),0 20px 48px rgba(0,0,0,.24)}.service-card:hover .service-img img{transform:scale(1.1);filter:brightness(1.12) contrast(1.08)}.service-card:hover i{transform:scale(1.1);text-shadow:0 0 18px rgba(227,6,19,.75)}
.project-card{margin:0;overflow:hidden;cursor:pointer;transition:.35s}.project-card img{width:100%;height:230px;object-fit:cover;background:#111;transition:.55s}.project-card figcaption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;background:var(--card)}.project-card button{border:0;border-radius:999px;padding:8px 12px;background:var(--red);color:#fff;font-weight:900;opacity:0;transform:translateY(6px);transition:.35s}.project-card:hover{transform:translateY(-10px);border-color:rgba(227,6,19,.65);box-shadow:0 24px 64px rgba(227,6,19,.20),0 20px 48px rgba(0,0,0,.24)}.project-card:hover img{transform:scale(1.1);filter:brightness(.82)}.project-card:hover button{opacity:1;transform:none}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px}.contact-list{display:grid;gap:12px}.contact-list a,.contact-list span{padding:14px}.contact-list i{color:var(--red);margin-right:8px}.contact-form{display:grid;gap:12px}.contact-form input,.contact-form textarea{width:100%;padding:14px;border-radius:14px;border:1px solid var(--line);background:#1F222A;color:#fff}.contact-form button{border:0;border-radius:14px;background:linear-gradient(135deg,var(--red),var(--red2));color:#fff;font-weight:900;padding:14px}
.faq{display:grid;gap:12px}.faq summary{font-weight:900;cursor:pointer}.floating-actions{position:fixed;right:18px;bottom:18px;z-index:1000;display:grid;gap:10px}.review-float,.whatsapp{padding:13px 16px;border-radius:15px;font-weight:950;display:inline-flex;align-items:center;gap:8px;box-shadow:0 12px 34px rgba(0,0,0,.35)}.review-float{background:linear-gradient(135deg,var(--red),var(--red2))}.whatsapp{background:#25D366;color:#061A0E}
.project-modal{position:fixed;inset:0;z-index:3000;display:none;align-items:center;justify-content:center;padding:24px}.project-modal.show{display:flex}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(8px)}.modal-card{position:relative;z-index:2;width:min(980px,96vw);max-height:90vh;overflow:auto;display:grid;grid-template-columns:1.1fr .9fr;background:var(--bg2);border:1px solid var(--line);border-radius:24px;box-shadow:0 32px 100px rgba(0,0,0,.55)}.modal-image img{width:100%;height:100%;min-height:420px;object-fit:cover}.modal-text{padding:34px}.modal-text p,.modal-text li{color:var(--muted);line-height:1.7}.modal-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:#fff;z-index:5;cursor:pointer}
footer{background:var(--bg);border-top:1px solid var(--line);padding:30px 0;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.footer-logo{width:220px}
.outline-btn{display:inline-flex;gap:10px;align-items:center;border:1px solid var(--red);border-radius:12px;padding:13px 18px;color:#fff;font-weight:900;margin-top:14px}.outline-btn:hover{background:var(--red)}
@media(max-width:1100px){.header-inner{grid-template-columns:190px 1fr auto}.header-logo img{width:180px}.main-nav{gap:10px}.main-nav a{font-size:.92rem}.phone-link{display:none}.grid-3,.grid-4,.about-layout,.contact-layout{grid-template-columns:1fr 1fr}.team-panel{grid-column:span 1}}
@media(max-width:800px){.header-inner{min-height:78px;grid-template-columns:1fr auto}.header-logo img{width:160px}.menu-btn{display:grid;width:46px;height:46px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:#fff;place-items:center}.main-nav{display:none;position:absolute;top:78px;left:0;right:0;background:var(--bg2);padding:16px;grid-template-columns:1fr;gap:10px;border-bottom:1px solid var(--line)}.main-nav.open{display:grid}.header-cta{display:none}.grid-3,.grid-4,.about-layout,.contact-layout,.footer-grid,.modal-card{grid-template-columns:1fr}.hero-text{padding:60px 0 70px}.hero-text h1{font-size:clamp(3.2rem,14vw,5rem)}.hero-text h2{letter-spacing:.16em}.actions{display:grid}.btn{width:100%}.modal-image img{min-height:260px}}



/* =========================================================
   HERO LOGO + TABLET/MOBILE BACKGROUND RESPONSIVE FIX
   ========================================================= */

/* Clear visible logo in home hero */
.hero-logo-home{
  width:min(460px,88vw);
  margin:24px 0 18px;
  position:relative;
  z-index:3;
  cursor:pointer;
  transition:transform .55s ease;
}

.hero-logo-home::before{
  content:"";
  position:absolute;
  inset:8%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(227,6,19,.28),transparent 65%);
  filter:blur(10px);
  opacity:.8;
  z-index:-1;
  transition:transform .45s ease, opacity .45s ease;
}

.hero-logo-home::after{
  content:"";
  position:absolute;
  top:-35%;
  left:-120%;
  width:42%;
  height:170%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
  transform:rotate(22deg);
  transition:left .85s ease;
  pointer-events:none;
}

.hero-logo-home img{
  width:100%;
  max-height:170px;
  object-fit:contain;
  filter:drop-shadow(0 0 20px rgba(227,6,19,.42));
  transition:filter .55s ease, transform .55s ease;
}

.hero-logo-home:hover{
  transform:translateY(-12px) scale(1.08);
}

.hero-logo-home:hover::before{
  opacity:1;
  transform:scale(1.18);
}

.hero-logo-home:hover::after{
  left:150%;
}

.hero-logo-home:hover img{
  filter:
    drop-shadow(0 0 28px rgba(255,0,0,.92))
    drop-shadow(0 0 64px rgba(227,6,19,.62))
    brightness(1.2);
}

/* Hide old class if browser cached/duplicated */
.hero-logo-mark{
  display:none !important;
}

/* Desktop background alignment */
.hero-bg{
  background:
    linear-gradient(90deg,rgba(5,10,16,.96) 0%,rgba(5,10,16,.83) 42%,rgba(5,10,16,.20) 100%),
    url("../images/hero-bg.png") center center / cover no-repeat !important;
}

/* Tablet: keep technician/panel visible on the right */
@media(max-width:1100px){
  .hero-section{
    min-height:auto !important;
  }

  .hero-bg{
    background:
      linear-gradient(90deg,rgba(5,10,16,.95) 0%,rgba(5,10,16,.82) 55%,rgba(5,10,16,.45) 100%),
      url("../images/hero-bg.png") 68% center / cover no-repeat !important;
  }

  .hero-text{
    max-width:680px !important;
    padding:58px 0 72px !important;
  }

  .hero-logo-home{
    width:min(400px,82vw);
  }
}

/* Mobile: avoid cutting important subject; use right-center image and stronger overlay for readability */
@media(max-width:800px){
  .hero-bg{
    background:
      linear-gradient(180deg,rgba(5,10,16,.96) 0%,rgba(5,10,16,.88) 52%,rgba(5,10,16,.70) 100%),
      url("../images/hero-bg.png") 72% center / cover no-repeat !important;
  }

  .hero-text{
    padding:50px 0 62px !important;
    max-width:100% !important;
  }

  .hero-logo-home{
    width:min(330px,92vw);
    margin:20px 0 16px;
  }

  .hero-logo-home img{
    max-height:130px;
  }

  .service-line br{
    display:none;
  }
}

/* Small mobile: move background a little more right so text stays clean */
@media(max-width:480px){
  .hero-bg{
    background:
      linear-gradient(180deg,rgba(5,10,16,.97) 0%,rgba(5,10,16,.90) 55%,rgba(5,10,16,.74) 100%),
      url("../images/hero-bg.png") 78% center / cover no-repeat !important;
  }

  .hero-logo-home{
    width:min(285px,90vw);
  }
}



/* =========================================================
   HOME TWO-COLUMN RESPONSIVE FIX + ABOUT OPTION ONE
   ========================================================= */

/* Home: two columns, picture left, brand content right */
.hero-two-column{
  min-height:calc(100vh - 108px) !important;
  display:flex !important;
  align-items:center !important;
  background:#181A1F !important;
  padding:54px 0 !important;
  overflow:hidden !important;
}

.hero-two-column::before,
.hero-two-column .hero-bg,
.hero-two-column .hero-bg-layer{
  display:none !important;
}

.hero-two-wrap{
  display:grid !important;
  grid-template-columns:minmax(420px,1fr) minmax(430px,1fr) !important;
  gap:32px !important;
  align-items:stretch !important;
}

.hero-image-panel{
  min-height:620px;
  border-radius:28px;
  overflow:hidden;
  border:1px solid #3A3F4B;
  box-shadow:0 26px 80px rgba(0,0,0,.34);
  background:
    linear-gradient(90deg,rgba(5,10,16,.12),rgba(5,10,16,.08)),
    url("../images/hero-bg.png") 73% center / cover no-repeat;
}

.hero-content-panel{
  min-height:620px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:46px 50px;
  border-radius:28px;
  background:linear-gradient(135deg,rgba(38,42,51,.90),rgba(32,35,42,.74));
  border:1px solid #3A3F4B;
  box-shadow:0 26px 80px rgba(0,0,0,.25);
}

.hero-content-panel .hero-kicker{
  color:#E30613 !important;
  font-weight:900 !important;
  letter-spacing:.42em !important;
  font-size:.9rem !important;
  margin-bottom:18px !important;
}

.hero-content-panel h1{
  margin:0 !important;
  line-height:.9 !important;
  font-size:clamp(3.5rem,6.2vw,6.7rem) !important;
  font-weight:880 !important;
  letter-spacing:-.045em !important;
}

.hero-content-panel h1 span{
  color:#E30613 !important;
  text-shadow:0 0 22px rgba(227,6,19,.34);
}

.hero-content-panel h2{
  margin:18px 0 16px !important;
  color:#fff !important;
  font-size:clamp(1.1rem,2.2vw,2rem) !important;
  letter-spacing:.20em !important;
  font-weight:850 !important;
}

.hero-content-panel .red-line{
  width:72px !important;
  height:3px !important;
  background:#E30613 !important;
  margin:0 0 24px !important;
}

/* Static hero logo: no wave/sweep effect */
.hero-logo-static{
  width:min(390px,90%);
  margin:0 0 22px;
}

.hero-logo-static img{
  width:100%;
  max-height:135px;
  object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(227,6,19,.36));
  transition:transform .35s ease, filter .35s ease;
}

.hero-logo-static:hover img{
  transform:translateY(-6px) scale(1.04);
  filter:drop-shadow(0 0 28px rgba(227,6,19,.65)) brightness(1.08);
}

.hero-logo-home,
.hero-logo-mark{
  display:none !important;
}

.hero-content-panel .tagline{
  font-size:clamp(1.45rem,2.7vw,2.6rem) !important;
  line-height:1.14 !important;
  margin:0 0 16px !important;
  color:#fff !important;
  font-weight:850 !important;
}

.hero-content-panel .former{
  margin:0 0 16px !important;
}

.hero-content-panel .service-line{
  color:#BFC4CF !important;
  line-height:1.7 !important;
  margin:0 !important;
}

.hero-content-panel .service-line b{
  color:#E30613 !important;
  margin:0 7px;
}

/* About Option 1 */
.about-option-one{
  background:#181A1F !important;
}

.about-option-grid{
  display:grid;
  grid-template-columns:0.95fr 1.45fr;
  gap:24px;
  align-items:stretch;
}

.about-main-copy,
.about-team-photo,
.equal-about-card{
  min-height:320px;
}

.about-main-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10px 0;
}

.about-main-copy h2{
  margin:0 0 18px;
  font-size:clamp(2rem,3.4vw,3.2rem);
  line-height:1.08;
}

.about-main-copy p{
  color:#BFC4CF;
  line-height:1.7;
  max-width:520px;
}

.about-team-photo{
  border-radius:18px;
  overflow:hidden;
  border:1px solid #3A3F4B;
  background:#262A33;
  box-shadow:0 16px 44px rgba(0,0,0,.22);
}

.about-team-photo img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
  transition:transform .55s ease, filter .55s ease;
}

.about-team-photo:hover img{
  transform:scale(1.045);
  filter:brightness(1.06) contrast(1.04);
}

.equal-about-card{
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.equal-about-card ul{
  margin:0;
  padding-left:20px;
  color:#BFC4CF;
  line-height:1.72;
}

.equal-about-card li{
  margin:.38rem 0;
}

/* Tablet: two-column hero remains, but reduced */
@media(max-width:1100px){
  .hero-two-column{
    padding:38px 0 !important;
    min-height:auto !important;
  }

  .hero-two-wrap{
    grid-template-columns:1fr 1fr !important;
    gap:20px !important;
  }

  .hero-image-panel,
  .hero-content-panel{
    min-height:560px;
  }

  .hero-image-panel{
    background:
      linear-gradient(90deg,rgba(5,10,16,.10),rgba(5,10,16,.16)),
      url("../images/hero-bg.png") 74% center / cover no-repeat;
  }

  .hero-content-panel{
    padding:34px 28px;
  }

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

/* Mobile: stack image first, then content; picture remains visible */
@media(max-width:800px){
  .hero-two-wrap{
    grid-template-columns:1fr !important;
  }

  .hero-image-panel{
    min-height:360px;
    background:
      linear-gradient(180deg,rgba(5,10,16,.05),rgba(5,10,16,.20)),
      url("../images/hero-bg.png") 73% center / cover no-repeat;
  }

  .hero-content-panel{
    min-height:auto;
    padding:30px 22px;
  }

  .hero-content-panel h1{
    font-size:clamp(3rem,14vw,4.8rem) !important;
  }

  .hero-content-panel h2{
    letter-spacing:.12em !important;
  }

  .hero-logo-static{
    width:min(320px,92vw);
  }

  .hero-content-panel .service-line br{
    display:none;
  }

  .hero-content-panel .actions{
    display:grid !important;
  }

  .hero-content-panel .btn{
    width:100%;
  }

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

  .about-main-copy,
  .about-team-photo,
  .equal-about-card{
    min-height:auto;
  }

  .about-team-photo img{
    min-height:280px;
  }
}

@media(max-width:480px){
  .hero-image-panel{
    min-height:300px;
    background:
      linear-gradient(180deg,rgba(5,10,16,.03),rgba(5,10,16,.24)),
      url("../images/hero-bg.png") 78% center / cover no-repeat;
  }
}



/* =========================================================
   FINAL UNIFORM WIDTH + MERGED HERO LAYOUT
   - Left: company heading/logo
   - Right: hero picture
   - One unified panel, no separation
   ========================================================= */

:root{
  --max:1240px !important;
}

/* Same content width from header to footer */
.container,
.header-inner,
.hero-merged-container,
footer .container{
  max-width:1240px !important;
}

/* Header aligns with all sections */
.site-header .container,
.header-inner{
  width:100% !important;
}

/* Merged hero */
.hero-merged-section{
  min-height:calc(100vh - 108px) !important;
  display:flex !important;
  align-items:center !important;
  background:
    radial-gradient(circle at 65% 38%,rgba(227,6,19,.10),transparent 34%),
    linear-gradient(135deg,#1f232b 0%,#181A1F 100%) !important;
  padding:54px 0 !important;
  overflow:hidden !important;
}

.hero-merged-section::before,
.hero-merged-section .hero-bg,
.hero-merged-section .hero-bg-layer{
  display:none !important;
}

.hero-merged-panel{
  width:100%;
  display:grid;
  grid-template-columns:minmax(460px,.95fr) minmax(520px,1.05fr);
  align-items:stretch;
  min-height:640px;
  border-radius:30px;
  overflow:hidden;
  border:1px solid #3A3F4B;
  background:linear-gradient(135deg,rgba(38,42,51,.92),rgba(32,35,42,.76));
  box-shadow:0 28px 90px rgba(0,0,0,.34);
}

/* Left content is part of same panel */
.hero-merged-panel .hero-content-panel{
  min-height:auto !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  padding:52px 54px !important;
  border:0 !important;
  border-radius:0 !important;
  background:linear-gradient(90deg,rgba(24,26,31,.96),rgba(24,26,31,.82)) !important;
  box-shadow:none !important;
  position:relative;
  z-index:2;
}

.hero-merged-panel .hero-content-panel::after{
  content:"";
  position:absolute;
  top:0;
  right:-110px;
  width:220px;
  height:100%;
  background:linear-gradient(90deg,rgba(24,26,31,.82),rgba(24,26,31,.18),transparent);
  pointer-events:none;
  z-index:-1;
}

/* Right picture merges into content */
.hero-merged-panel .hero-image-panel{
  min-height:auto !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:
    linear-gradient(90deg,rgba(24,26,31,.50),rgba(24,26,31,.08),rgba(24,26,31,.18)),
    url("../images/hero-bg.png") 72% center / cover no-repeat !important;
}

/* Typography refinement */
.hero-merged-panel .hero-kicker{
  color:#E30613 !important;
  font-weight:900 !important;
  letter-spacing:.42em !important;
  font-size:.9rem !important;
  margin-bottom:18px !important;
}

.hero-merged-panel h1{
  margin:0 !important;
  line-height:.9 !important;
  font-size:clamp(3.8rem,6.3vw,7.1rem) !important;
  font-weight:880 !important;
  letter-spacing:-.045em !important;
}

.hero-merged-panel h1 span{
  color:#E30613 !important;
  text-shadow:0 0 22px rgba(227,6,19,.34);
}

.hero-merged-panel h2{
  margin:18px 0 16px !important;
  color:#fff !important;
  font-size:clamp(1.1rem,2.15vw,2rem) !important;
  letter-spacing:.20em !important;
  font-weight:850 !important;
}

.hero-merged-panel .red-line{
  width:72px !important;
  height:3px !important;
  background:#E30613 !important;
  margin:0 0 24px !important;
}

/* Logo: static, clean hover, no wave */
.hero-logo-static{
  width:min(370px,90%);
  margin:0 0 22px;
}

.hero-logo-static img{
  width:100%;
  max-height:130px;
  object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(227,6,19,.34));
  transition:transform .35s ease, filter .35s ease;
}

.hero-logo-static:hover img{
  transform:translateY(-6px) scale(1.04);
  filter:drop-shadow(0 0 28px rgba(227,6,19,.62)) brightness(1.08);
}

.hero-logo-home,
.hero-logo-mark{
  display:none !important;
}

.hero-merged-panel .tagline{
  font-size:clamp(1.45rem,2.65vw,2.6rem) !important;
  line-height:1.14 !important;
  margin:0 0 16px !important;
  color:#fff !important;
  font-weight:850 !important;
}

.hero-merged-panel .former{
  margin:0 0 16px !important;
  color:#fff !important;
}

.hero-merged-panel .service-line{
  color:#BFC4CF !important;
  line-height:1.7 !important;
  margin:0 !important;
}

.hero-merged-panel .service-line b{
  color:#E30613 !important;
  margin:0 7px;
}

.hero-merged-panel .actions{
  margin-top:30px !important;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

/* Section width visual consistency */
.section > .container{
  max-width:1240px !important;
}

/* Tablet */
@media(max-width:1100px){
  .hero-merged-section{
    padding:38px 0 !important;
    min-height:auto !important;
  }

  .hero-merged-panel{
    grid-template-columns:1fr 1fr;
    min-height:570px;
  }

  .hero-merged-panel .hero-content-panel{
    padding:36px 30px !important;
  }

  .hero-merged-panel h1{
    font-size:clamp(3.1rem,7vw,5.4rem) !important;
  }

  .hero-merged-panel h2{
    letter-spacing:.14em !important;
  }

  .hero-logo-static{
    width:min(320px,92%);
  }

  .hero-merged-panel .hero-image-panel{
    background:
      linear-gradient(90deg,rgba(24,26,31,.40),rgba(24,26,31,.10)),
      url("../images/hero-bg.png") 74% center / cover no-repeat !important;
  }
}

/* Mobile: keep image visible above, content below, same panel */
@media(max-width:800px){
  .hero-merged-panel{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .hero-merged-panel .hero-image-panel{
    order:1;
    min-height:340px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.05),rgba(24,26,31,.26)),
      url("../images/hero-bg.png") 74% center / cover no-repeat !important;
  }

  .hero-merged-panel .hero-content-panel{
    order:2;
    padding:30px 22px !important;
  }

  .hero-merged-panel .hero-content-panel::after{
    display:none;
  }

  .hero-merged-panel h1{
    font-size:clamp(3rem,14vw,4.8rem) !important;
  }

  .hero-logo-static{
    width:min(300px,90vw);
  }

  .hero-merged-panel .service-line br{
    display:none;
  }

  .hero-merged-panel .actions{
    display:grid !important;
  }

  .hero-merged-panel .btn{
    width:100%;
  }
}

@media(max-width:480px){
  .hero-merged-section{
    padding:24px 0 !important;
  }

  .hero-merged-panel{
    border-radius:22px;
  }

  .hero-merged-panel .hero-image-panel{
    min-height:300px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.03),rgba(24,26,31,.28)),
      url("../images/hero-bg.png") 78% center / cover no-repeat !important;
  }
}



/* =========================================================
   ABOUT SECTION FILL FIX
   Team picture fills the empty top-right area
   ========================================================= */

.about-final-layout{
  background:#181A1F !important;
}

.about-final-grid{
  display:grid !important;
  grid-template-columns:minmax(330px,.82fr) minmax(560px,1.18fr) !important;
  grid-template-areas:
    "copy team"
    "history focus" !important;
  gap:24px !important;
  align-items:stretch !important;
}

.about-main-copy{
  grid-area:copy !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-height:350px !important;
  padding:8px 0 !important;
}

.about-main-copy h2{
  margin:0 0 18px !important;
  font-size:clamp(2.1rem,3.45vw,3.35rem) !important;
  line-height:1.06 !important;
}

.about-main-copy p{
  color:#BFC4CF !important;
  line-height:1.72 !important;
  max-width:520px !important;
}

.about-team-photo{
  grid-area:team !important;
  min-height:350px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid #3A3F4B !important;
  background:#262A33 !important;
  box-shadow:0 16px 44px rgba(0,0,0,.24) !important;
}

.about-team-photo img{
  width:100% !important;
  height:100% !important;
  min-height:350px !important;
  object-fit:cover !important;
  object-position:center center !important;
  transition:transform .55s ease, filter .55s ease !important;
}

.about-team-photo:hover img{
  transform:scale(1.045) !important;
  filter:brightness(1.06) contrast(1.04) !important;
}

.about-history-card{
  grid-area:history !important;
}

.about-focus-card{
  grid-area:focus !important;
}

.about-card{
  min-height:245px !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  background:#262A33 !important;
  border:1px solid #3A3F4B !important;
  border-radius:18px !important;
}

.about-card ul{
  margin:0 !important;
  padding-left:20px !important;
  color:#BFC4CF !important;
  line-height:1.72 !important;
}

.about-card li{
  margin:.35rem 0 !important;
}

/* Keep About aligned with the same uniform site width */
.about-final-layout .container{
  max-width:1240px !important;
}

/* Tablet */
@media(max-width:1100px){
  .about-final-grid{
    grid-template-columns:1fr 1fr !important;
    grid-template-areas:
      "copy team"
      "history focus" !important;
  }

  .about-main-copy,
  .about-team-photo,
  .about-team-photo img{
    min-height:320px !important;
  }
}

/* Mobile */
@media(max-width:800px){
  .about-final-grid{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "copy"
      "team"
      "history"
      "focus" !important;
  }

  .about-main-copy{
    min-height:auto !important;
  }

  .about-team-photo,
  .about-team-photo img{
    min-height:280px !important;
  }

  .about-card{
    min-height:auto !important;
  }
}



/* =========================================================
   HERO PADDING + TECHNICIAN VISIBILITY FIX
   ========================================================= */

/* Reduce excessive empty space above and below hero */
.hero-merged-section{
  min-height:auto !important;
  padding:24px 0 34px !important;
}

.hero-merged-panel{
  min-height:560px !important;
}

/* Keep the content aligned but not too tall */
.hero-merged-panel .hero-content-panel{
  padding:36px 44px !important;
}

/* Desktop/laptop: show the technician clearly, not only his hand */
.hero-merged-panel .hero-image-panel{
  background:
    linear-gradient(90deg,rgba(24,26,31,.44),rgba(24,26,31,.04),rgba(24,26,31,.08)),
    url("../images/hero-bg.png") 88% center / cover no-repeat !important;
}

/* Make image column slightly wider so the technician is visible */
.hero-merged-panel{
  grid-template-columns:minmax(420px,.88fr) minmax(600px,1.12fr) !important;
}

/* Reduce top/bottom empty space around nearby sections */
.section{
  padding-top:62px !important;
  padding-bottom:62px !important;
}

/* About section starts closer after hero */
#about{
  padding-top:52px !important;
}

/* Laptop medium screens */
@media(max-width:1280px){
  .hero-merged-panel{
    grid-template-columns:minmax(390px,.86fr) minmax(560px,1.14fr) !important;
    min-height:520px !important;
  }

  .hero-merged-panel .hero-image-panel{
    background:
      linear-gradient(90deg,rgba(24,26,31,.42),rgba(24,26,31,.06),rgba(24,26,31,.08)),
      url("../images/hero-bg.png") 90% center / cover no-repeat !important;
  }

  .hero-merged-panel .hero-content-panel{
    padding:32px 36px !important;
  }
}

/* Tablet: stack later, still keep the technician visible */
@media(max-width:1100px){
  .hero-merged-section{
    padding:20px 0 28px !important;
  }

  .hero-merged-panel{
    grid-template-columns:1fr 1fr !important;
    min-height:500px !important;
  }

  .hero-merged-panel .hero-image-panel{
    background:
      linear-gradient(90deg,rgba(24,26,31,.30),rgba(24,26,31,.04)),
      url("../images/hero-bg.png") 88% center / cover no-repeat !important;
  }
}

/* Mobile: full technician/panel visible above content */
@media(max-width:800px){
  .hero-merged-section{
    padding:16px 0 24px !important;
  }

  .hero-merged-panel .hero-image-panel{
    min-height:320px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.03),rgba(24,26,31,.18)),
      url("../images/hero-bg.png") 82% center / cover no-repeat !important;
  }

  .hero-merged-panel .hero-content-panel{
    padding:26px 20px !important;
  }

  .section{
    padding-top:48px !important;
    padding-bottom:48px !important;
  }

  #about{
    padding-top:42px !important;
  }
}

/* Small mobile */
@media(max-width:480px){
  .hero-merged-panel .hero-image-panel{
    min-height:285px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.02),rgba(24,26,31,.20)),
      url("../images/hero-bg.png") 84% center / cover no-repeat !important;
  }
}



/* =========================================================
   HERO TECHNICIAN FULL VISIBILITY FIX ONLY
   Purpose: show full technician and Redflux branding on workwear
   ========================================================= */

/* Desktop/laptop: use contain instead of cover so the person is not cropped */
.hero-merged-panel .hero-image-panel,
.hero-image-panel{
  background:
    linear-gradient(90deg,rgba(24,26,31,.18),rgba(24,26,31,.02)),
    url("../images/hero-bg.png") center center / contain no-repeat !important;
  background-color:#111820 !important;
}

/* Make the image column wide enough for the full technician */
.hero-merged-panel{
  grid-template-columns:minmax(390px,.78fr) minmax(650px,1.22fr) !important;
}

/* Keep panel height enough to display full image */
.hero-merged-panel,
.hero-image-panel{
  min-height:560px !important;
}

/* Medium laptop */
@media(max-width:1280px){
  .hero-merged-panel{
    grid-template-columns:minmax(360px,.75fr) minmax(610px,1.25fr) !important;
  }

  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    background:
      linear-gradient(90deg,rgba(24,26,31,.16),rgba(24,26,31,.02)),
      url("../images/hero-bg.png") center center / contain no-repeat !important;
    background-color:#111820 !important;
  }
}

/* Tablet: still show full person */
@media(max-width:1100px){
  .hero-merged-panel{
    grid-template-columns:1fr 1fr !important;
  }

  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:500px !important;
    background:
      linear-gradient(90deg,rgba(24,26,31,.12),rgba(24,26,31,.02)),
      url("../images/hero-bg.png") center center / contain no-repeat !important;
    background-color:#111820 !important;
  }
}

/* Mobile: full technician visible above content */
@media(max-width:800px){
  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:360px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.04),rgba(24,26,31,.14)),
      url("../images/hero-bg.png") center center / contain no-repeat !important;
    background-color:#111820 !important;
  }
}

/* Small phones */
@media(max-width:480px){
  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:320px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.04),rgba(24,26,31,.16)),
      url("../images/hero-bg.png") center center / contain no-repeat !important;
    background-color:#111820 !important;
  }
}



/* =========================================================
   HERO MARKED AREA FIX
   1) Remove empty space around technician image
   2) Upscale hero logo and make it bolder
   ========================================================= */

/* Remove top/bottom empty bars while keeping technician visible */
.hero-merged-panel .hero-image-panel,
.hero-image-panel{
  background:
    linear-gradient(90deg,rgba(24,26,31,.26),rgba(24,26,31,.03),rgba(24,26,31,.06)),
    url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
  background-color:#111820 !important;
}

/* Give the picture area better width and height balance */
.hero-merged-panel{
  grid-template-columns:minmax(380px,.74fr) minmax(700px,1.26fr) !important;
  min-height:600px !important;
}

.hero-merged-panel .hero-image-panel,
.hero-image-panel{
  min-height:600px !important;
}

/* Reduce internal empty feeling of the left heading panel */
.hero-merged-panel .hero-content-panel{
  padding-top:34px !important;
  padding-bottom:34px !important;
}

/* Make hero logo larger, bolder and more visible */
.hero-logo-static,
.hero-logo-home{
  width:min(560px,100%) !important;
  margin:28px 0 26px !important;
}

.hero-logo-static img,
.hero-logo-home img{
  width:100% !important;
  max-height:210px !important;
  object-fit:contain !important;
  opacity:1 !important;
  filter:
    drop-shadow(0 0 22px rgba(227,6,19,.58))
    drop-shadow(0 0 42px rgba(227,6,19,.32))
    brightness(1.16)
    contrast(1.12) !important;
}

.hero-logo-static:hover img,
.hero-logo-home:hover img{
  transform:translateY(-7px) scale(1.06) !important;
  filter:
    drop-shadow(0 0 32px rgba(255,0,0,.95))
    drop-shadow(0 0 68px rgba(227,6,19,.60))
    brightness(1.24)
    contrast(1.14) !important;
}

/* Laptop scaling */
@media(max-width:1280px){
  .hero-merged-panel{
    grid-template-columns:minmax(350px,.72fr) minmax(640px,1.28fr) !important;
    min-height:560px !important;
  }

  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:560px !important;
    background:
      linear-gradient(90deg,rgba(24,26,31,.24),rgba(24,26,31,.03),rgba(24,26,31,.06)),
      url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
    background-color:#111820 !important;
  }

  .hero-logo-static,
  .hero-logo-home{
    width:min(500px,100%) !important;
  }
}

/* Tablet */
@media(max-width:1100px){
  .hero-merged-panel{
    grid-template-columns:1fr 1fr !important;
    min-height:520px !important;
  }

  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:520px !important;
    background:
      linear-gradient(90deg,rgba(24,26,31,.18),rgba(24,26,31,.02)),
      url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
    background-color:#111820 !important;
  }

  .hero-logo-static,
  .hero-logo-home{
    width:min(420px,100%) !important;
  }
}

/* Mobile: full image still visible, but no large empty padding */
@media(max-width:800px){
  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:350px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.04),rgba(24,26,31,.16)),
      url("../images/hero-bg.png") center center / cover no-repeat !important;
    background-color:#111820 !important;
  }

  .hero-logo-static,
  .hero-logo-home{
    width:min(360px,92vw) !important;
    margin:22px 0 20px !important;
  }

  .hero-logo-static img,
  .hero-logo-home img{
    max-height:150px !important;
  }
}

@media(max-width:480px){
  .hero-merged-panel .hero-image-panel,
  .hero-image-panel{
    min-height:310px !important;
    background:
      linear-gradient(180deg,rgba(24,26,31,.04),rgba(24,26,31,.18)),
      url("../images/hero-bg.png") center center / cover no-repeat !important;
  }
}



/* =========================================================
   FINAL HERO ONLY: CENTERED OVERLAY + UNIFORM WIDTH
   ========================================================= */

:root{
  --max:1240px !important;
}

.container,
.section > .container,
footer .container,
.header-inner{
  max-width:1240px !important;
}

/* Hero section only */
.hero-overlay-section{
  position:relative !important;
  min-height:calc(100vh - 108px) !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  padding:34px 0 !important;
  background:#101820 !important;
}

/* Full technician image as the hero visual */
.hero-overlay-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,10,16,.88) 0%,rgba(5,10,16,.72) 42%,rgba(5,10,16,.36) 100%),
    linear-gradient(180deg,rgba(5,10,16,.18),rgba(5,10,16,.55)),
    url("../images/hero-bg.png") right center / auto 100% no-repeat;
  background-color:#101820;
  z-index:0;
}

/* Uniform centered content panel */
.hero-overlay-container{
  position:relative;
  z-index:2;
  width:100%;
}

.hero-overlay-content{
  width:min(760px,100%);
  padding:52px 0 58px;
  color:#fff;
  text-align:left;
}

.hero-overlay-content .hero-kicker{
  display:block;
  color:#E30613 !important;
  font-weight:900 !important;
  letter-spacing:.42em !important;
  font-size:.92rem !important;
  margin-bottom:18px !important;
}

.hero-overlay-content h1{
  margin:0 !important;
  line-height:.9 !important;
  font-size:clamp(4.3rem,8vw,8rem) !important;
  font-weight:900 !important;
  letter-spacing:-.045em !important;
}

.hero-overlay-content h1 span{
  color:#E30613 !important;
  text-shadow:0 0 24px rgba(227,6,19,.38) !important;
}

.hero-overlay-content h2{
  margin:20px 0 16px !important;
  color:#fff !important;
  font-size:clamp(1.3rem,2.5vw,2.45rem) !important;
  letter-spacing:.30em !important;
  font-weight:850 !important;
}

.hero-overlay-content .red-line{
  width:72px !important;
  height:3px !important;
  background:#E30613 !important;
  margin:0 0 24px !important;
}

/* Big centered/branding logo, no wave effect */
.hero-logo-center{
  width:min(560px,95%);
  margin:0 0 22px;
  position:relative;
  transition:transform .35s ease;
}

.hero-logo-center img{
  width:100%;
  max-height:205px;
  object-fit:contain;
  filter:
    drop-shadow(0 0 24px rgba(227,6,19,.62))
    drop-shadow(0 0 46px rgba(227,6,19,.34))
    brightness(1.15)
    contrast(1.12);
  transition:transform .35s ease, filter .35s ease;
}

.hero-logo-center:hover img{
  transform:translateY(-6px) scale(1.045);
  filter:
    drop-shadow(0 0 32px rgba(255,0,0,.92))
    drop-shadow(0 0 70px rgba(227,6,19,.60))
    brightness(1.23)
    contrast(1.14);
}

.hero-overlay-content .tagline{
  font-size:clamp(1.7rem,3vw,3rem) !important;
  line-height:1.12 !important;
  font-weight:850 !important;
  margin:0 0 16px !important;
  color:#fff !important;
}

.hero-overlay-content .former{
  margin:0 0 16px !important;
  text-transform:uppercase !important;
  letter-spacing:.05em !important;
  color:#fff !important;
}

.hero-overlay-content .service-line{
  color:#BFC4CF !important;
  font-size:1.07rem !important;
  line-height:1.7 !important;
  margin:0 !important;
}

.hero-overlay-content .service-line b{
  color:#E30613 !important;
  margin:0 7px;
}

.hero-overlay-content .actions{
  margin-top:30px !important;
  display:flex !important;
  gap:18px !important;
  flex-wrap:wrap !important;
}

.hero-overlay-content .btn{
  height:58px !important;
  padding:0 26px !important;
  border-radius:11px !important;
}

/* Remove older hero formats if still cached */
.hero-merged-panel,
.hero-two-wrap,
.hero-grid,
.hero-image-panel,
.hero-content-panel,
.hero-logo-static,
.hero-logo-home,
.hero-logo-mark{
  /* only hidden when accidentally left inside the new hero */
}

/* Laptop: keep full technician and branding visible */
@media(max-width:1280px){
  .hero-overlay-bg{
    background:
      linear-gradient(90deg,rgba(5,10,16,.90) 0%,rgba(5,10,16,.76) 48%,rgba(5,10,16,.42) 100%),
      linear-gradient(180deg,rgba(5,10,16,.18),rgba(5,10,16,.55)),
      url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-overlay-content{
    width:min(700px,100%);
  }
}

/* Tablet */
@media(max-width:900px){
  .hero-overlay-section{
    min-height:auto !important;
    padding:26px 0 !important;
  }

  .hero-overlay-bg{
    background:
      linear-gradient(180deg,rgba(5,10,16,.86) 0%,rgba(5,10,16,.76) 52%,rgba(5,10,16,.72) 100%),
      url("../images/hero-bg.png") center top / contain no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-overlay-content{
    width:100%;
    padding:340px 0 44px;
  }

  .hero-overlay-content h1{
    font-size:clamp(3.2rem,14vw,5rem) !important;
  }

  .hero-overlay-content h2{
    letter-spacing:.15em !important;
  }

  .hero-logo-center{
    width:min(380px,92vw);
  }

  .hero-logo-center img{
    max-height:150px;
  }

  .hero-overlay-content .service-line br{
    display:none;
  }

  .hero-overlay-content .actions{
    display:grid !important;
  }

  .hero-overlay-content .btn{
    width:100%;
  }
}

/* Phone */
@media(max-width:480px){
  .hero-overlay-content{
    padding-top:300px;
  }

  .hero-logo-center{
    width:min(320px,90vw);
  }
}



/* =========================================================
   HERO WIDTH FIX ONLY
   Keep hero picture inside the same centered website width
   ========================================================= */

.hero-overlay-section{
  background:#181A1F !important;
  padding:32px 0 44px !important;
  min-height:auto !important;
}

.hero-overlay-bg{
  display:none !important;
}

.hero-overlay-container{
  max-width:1240px !important;
  position:relative !important;
}

.hero-overlay-container::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:28px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(5,10,16,.94) 0%,rgba(5,10,16,.82) 43%,rgba(5,10,16,.35) 100%),
    url("../images/hero-bg.png") right center / auto 100% no-repeat;
  background-color:#101820;
  border:1px solid #3A3F4B;
  box-shadow:0 26px 82px rgba(0,0,0,.34);
  z-index:0;
}

.hero-overlay-content{
  position:relative !important;
  z-index:2 !important;
  padding:54px 44px 58px !important;
  width:min(720px,100%) !important;
}

/* Make top REDFLUX visible below the sticky navigation */
.hero-overlay-content h1{
  font-size:clamp(4rem,7.4vw,7.4rem) !important;
}

.hero-logo-center{
  width:min(480px,92%) !important;
}

.hero-logo-center img{
  max-height:175px !important;
}

/* Laptop */
@media(max-width:1280px){
  .hero-overlay-container::before{
    background:
      linear-gradient(90deg,rgba(5,10,16,.94) 0%,rgba(5,10,16,.82) 46%,rgba(5,10,16,.42) 100%),
      url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-overlay-content{
    width:min(680px,100%) !important;
  }
}

/* Tablet/mobile: keep picture inside panel and visible */
@media(max-width:900px){
  .hero-overlay-section{
    padding:22px 0 32px !important;
  }

  .hero-overlay-container::before{
    border-radius:22px;
    background:
      linear-gradient(180deg,rgba(5,10,16,.38) 0%,rgba(5,10,16,.72) 46%,rgba(5,10,16,.94) 100%),
      url("../images/hero-bg.png") center top / contain no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-overlay-content{
    padding:330px 22px 34px !important;
    width:100% !important;
  }

  .hero-logo-center{
    width:min(330px,90vw) !important;
  }
}

@media(max-width:480px){
  .hero-overlay-content{
    padding-top:290px !important;
  }
}



/* =========================================================
   FINAL HERO: CENTERED BRANDING BLOCK LIKE USER MOCKUP
   Only hero section updated. Other sections unchanged.
   ========================================================= */

:root{
  --max:1240px !important;
}

.container,
.header-inner,
.section > .container,
footer .container{
  max-width:1240px !important;
}

/* Hero base */
.hero-final-centered{
  position:relative !important;
  min-height:auto !important;
  padding:32px 0 44px !important;
  background:#181A1F !important;
  overflow:hidden !important;
}

.hero-final-bg{
  display:none !important;
}

.hero-final-container{
  position:relative !important;
  z-index:2 !important;
}

/* Uniform-width hero panel */
.hero-final-panel{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  border:1px solid #3A3F4B;
  min-height:650px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg,rgba(5,10,16,.92) 0%,rgba(5,10,16,.82) 42%,rgba(5,10,16,.38) 100%),
    url("../images/hero-bg.png") right center / auto 100% no-repeat;
  background-color:#101820;
  box-shadow:0 26px 82px rgba(0,0,0,.34);
}

/* Centered branding block */
.hero-final-brand{
  width:min(650px,100%);
  padding:54px 42px 58px;
  text-align:center;
  color:#fff;
  position:relative;
  z-index:2;
}

/* WELCOME / TO centered with REDFLUX */
.hero-welcome-stack{
  display:grid;
  gap:10px;
  justify-items:center;
  align-items:center;
  margin:0 auto 18px;
  text-align:center;
}

.hero-welcome-stack span{
  display:block;
  color:#E30613;
  font-size:clamp(.92rem,1.2vw,1.12rem);
  font-weight:950;
  letter-spacing:.32em;
  line-height:1;
  text-transform:uppercase;
  text-align:center;
}

/* REDFLUX bolder and dominant */
.hero-redflux{
  margin:0 auto 10px !important;
  display:block;
  width:max-content;
  max-width:100%;
  text-align:center !important;
  font-size:clamp(4.2rem,7.6vw,7.6rem) !important;
  line-height:.88 !important;
  font-weight:1000 !important;
  letter-spacing:-.055em !important;
  color:#fff;
  text-shadow:0 10px 28px rgba(0,0,0,.48);
}

.hero-redflux span{
  color:#E30613 !important;
  text-shadow:0 0 26px rgba(227,6,19,.45);
}

/* Electromechanical line visually matching REDFLUX width */
.hero-company-line{
  margin:0 auto 24px !important;
  display:block;
  width:max-content;
  max-width:100%;
  text-align:center !important;
  color:#fff !important;
  font-size:clamp(1.25rem,2.15vw,2.18rem) !important;
  font-weight:850 !important;
  letter-spacing:.27em !important;
  line-height:1.1 !important;
  text-transform:uppercase;
}

/* Remove red divider from old hero */
.hero-final-brand .red-line,
.hero-overlay-content .red-line{
  display:none !important;
}

/* Center logo below brand line */
.hero-logo-final{
  width:min(430px,88%);
  margin:0 auto 24px;
  display:grid;
  place-items:center;
}

.hero-logo-final img{
  width:100%;
  max-height:160px;
  object-fit:contain;
  filter:
    drop-shadow(0 0 22px rgba(227,6,19,.58))
    drop-shadow(0 0 46px rgba(227,6,19,.30))
    brightness(1.14)
    contrast(1.12);
  transition:transform .35s ease, filter .35s ease;
}

.hero-logo-final:hover img{
  transform:translateY(-6px) scale(1.045);
  filter:
    drop-shadow(0 0 32px rgba(255,0,0,.92))
    drop-shadow(0 0 70px rgba(227,6,19,.58))
    brightness(1.22)
    contrast(1.14);
}

/* Center supporting text and actions */
.hero-final-brand .tagline{
  margin:0 0 14px !important;
  color:#fff !important;
  font-size:clamp(1.5rem,2.55vw,2.55rem) !important;
  line-height:1.12 !important;
  font-weight:900 !important;
  text-align:center !important;
}

.hero-final-brand .former{
  margin:0 0 16px !important;
  color:#fff !important;
  text-transform:uppercase !important;
  letter-spacing:.05em !important;
  text-align:center !important;
  font-size:.95rem !important;
}

.hero-final-brand .service-line{
  margin:0 auto !important;
  color:#D2D7E1 !important;
  font-size:1.03rem !important;
  line-height:1.72 !important;
  text-align:center !important;
  max-width:620px;
}

.hero-final-brand .service-line b{
  color:#E30613 !important;
  margin:0 7px;
}

.hero-final-brand .actions{
  margin-top:30px !important;
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:18px !important;
  flex-wrap:wrap !important;
}

.hero-final-brand .btn{
  height:56px !important;
  min-width:190px;
  padding:0 24px !important;
  border-radius:11px !important;
}

/* Remove legacy hero blocks if cached */
.hero-overlay-bg,
.hero-overlay-content,
.hero-merged-panel,
.hero-two-wrap,
.hero-grid,
.hero-image-panel,
.hero-content-panel,
.hero-logo-static,
.hero-logo-home,
.hero-logo-mark,
.hero-logo-center{
  /* not used in this hero */
}

/* Laptop */
@media(max-width:1280px){
  .hero-final-panel{
    min-height:610px;
    background:
      linear-gradient(90deg,rgba(5,10,16,.93) 0%,rgba(5,10,16,.84) 46%,rgba(5,10,16,.44) 100%),
      url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-final-brand{
    width:min(620px,100%);
    padding:46px 36px 50px;
  }
}

/* Tablet/mobile: image visible above, centered brand below within same panel */
@media(max-width:900px){
  .hero-final-centered{
    padding:22px 0 34px !important;
  }

  .hero-final-panel{
    min-height:auto;
    display:block;
    background:
      linear-gradient(180deg,rgba(5,10,16,.24) 0%,rgba(5,10,16,.50) 36%,rgba(5,10,16,.94) 58%,rgba(5,10,16,.98) 100%),
      url("../images/hero-bg.png") center top / contain no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-final-brand{
    width:100%;
    padding:330px 22px 36px;
  }

  .hero-redflux{
    font-size:clamp(3.2rem,14vw,5.2rem) !important;
  }

  .hero-company-line{
    font-size:clamp(.98rem,4.3vw,1.5rem) !important;
    letter-spacing:.17em !important;
  }

  .hero-logo-final{
    width:min(330px,90vw);
  }

  .hero-logo-final img{
    max-height:130px;
  }

  .hero-final-brand .service-line br{
    display:none;
  }

  .hero-final-brand .actions{
    display:grid !important;
    grid-template-columns:1fr;
  }

  .hero-final-brand .btn{
    width:100%;
  }
}

@media(max-width:480px){
  .hero-final-panel{
    border-radius:22px;
  }

  .hero-final-brand{
    padding-top:290px;
  }

  .hero-welcome-stack span{
    letter-spacing:.24em;
  }
}



/* =========================================================
   FINAL UNIFORM PAGE WIDTH FIX
   Hero width now matches About, Services, Projects, Contact
   ========================================================= */

:root{ --max:1240px !important; }

.container,
.header-inner,
.section > .container,
footer .container,
.hero-final-container{
  width:100% !important;
  max-width:1240px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.hero-final-centered{
  background:#181A1F !important;
  padding:32px 0 48px !important;
}

.hero-final-panel{
  width:100% !important;
  max-width:1240px !important;
  margin:0 auto !important;
  min-height:650px !important;
  border-radius:28px !important;
  background:
    linear-gradient(90deg,rgba(5,10,16,.94) 0%,rgba(5,10,16,.84) 45%,rgba(5,10,16,.34) 100%),
    url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
  background-color:#101820 !important;
}

.hero-final-brand{
  width:min(680px,55%) !important;
  min-width:560px !important;
  padding:54px 42px 58px !important;
  text-align:center !important;
  margin:0 !important;
}

.hero-welcome-stack,
.hero-redflux,
.hero-company-line,
.hero-logo-final,
.hero-final-brand .tagline,
.hero-final-brand .former,
.hero-final-brand .service-line,
.hero-final-brand .actions{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
  justify-content:center !important;
}

.hero-redflux{
  font-size:clamp(4.2rem,7.2vw,7.3rem) !important;
  font-weight:1000 !important;
  letter-spacing:-.055em !important;
}

.hero-company-line{
  font-size:clamp(1.25rem,2vw,2.05rem) !important;
  letter-spacing:.265em !important;
  font-weight:850 !important;
}

.hero-logo-final{ width:min(440px,90%) !important; }

@media(max-width:1280px){
  .container,
  .header-inner,
  .section > .container,
  footer .container,
  .hero-final-container{ max-width:1120px !important; }

  .hero-final-panel{
    max-width:1120px !important;
    min-height:610px !important;
    background:
      linear-gradient(90deg,rgba(5,10,16,.94) 0%,rgba(5,10,16,.84) 47%,rgba(5,10,16,.38) 100%),
      url("../images/hero-bg.png") right center / auto 100% no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-final-brand{
    width:min(640px,57%) !important;
    min-width:520px !important;
    padding:46px 34px 50px !important;
  }
}

@media(max-width:900px){
  .hero-final-panel{
    width:100% !important;
    max-width:100% !important;
    min-height:auto !important;
    background:
      linear-gradient(180deg,rgba(5,10,16,.22) 0%,rgba(5,10,16,.56) 36%,rgba(5,10,16,.94) 58%,rgba(5,10,16,.98) 100%),
      url("../images/hero-bg.png") center top / contain no-repeat !important;
    background-color:#101820 !important;
  }

  .hero-final-brand{
    width:100% !important;
    min-width:0 !important;
    padding:330px 22px 36px !important;
  }

  .hero-redflux{ font-size:clamp(3.2rem,14vw,5.2rem) !important; }

  .hero-company-line{
    font-size:clamp(.98rem,4.3vw,1.5rem) !important;
    letter-spacing:.17em !important;
  }
}

@media(max-width:480px){
  .hero-final-brand{ padding-top:290px !important; }
}



/* =========================================================
   PROJECT POPUP ENHANCEMENT ONLY
   ========================================================= */

#projectModalTitle,
.project-modal h3,
.modal-text h3,
.modal-content h3{
  color:#E30613 !important;
  font-weight:950 !important;
  letter-spacing:.02em !important;
  text-transform:uppercase !important;
  text-shadow:0 0 18px rgba(227,6,19,.22);
}

.modal-text,
.modal-content{ color:#fff !important; }

.modal-text p,
.modal-content p,
#projectModalDescription{
  color:#D6DAE2 !important;
  font-size:1rem !important;
  line-height:1.75 !important;
}

#projectModalList{
  margin-top:18px !important;
  padding-left:0 !important;
  list-style:none !important;
}

#projectModalList li{
  color:#C9D0DA !important;
  line-height:1.65 !important;
  margin:10px 0 !important;
  padding-left:26px !important;
  position:relative !important;
}

#projectModalList li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#E30613;
  font-weight:950;
}

.project-detail-subtitle{
  display:block;
  margin:18px 0 8px;
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.86rem;
}

.project-meta-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0 16px;
}

.project-meta-line span{
  border:1px solid rgba(227,6,19,.38);
  background:rgba(227,6,19,.10);
  color:#fff;
  border-radius:999px;
  padding:7px 10px;
  font-size:.82rem;
  font-weight:800;
}



/* =========================================================
   ABOUT SECTION RESTORED CONTENT
   Keeps richer Our History and What We Focus On text
   ========================================================= */

.about-final-layout{
  background:#181A1F !important;
}

.about-final-grid{
  display:grid !important;
  grid-template-columns:minmax(330px,.82fr) minmax(560px,1.18fr) !important;
  grid-template-areas:
    "copy team"
    "history focus" !important;
  gap:24px !important;
  align-items:stretch !important;
}

.about-main-copy{
  grid-area:copy !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-height:350px !important;
}

.about-team-photo{
  grid-area:team !important;
  min-height:350px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid #3A3F4B !important;
  background:#262A33 !important;
}

.about-team-photo img{
  width:100% !important;
  height:100% !important;
  min-height:350px !important;
  object-fit:cover !important;
}

.about-history-card{ grid-area:history !important; }
.about-focus-card{ grid-area:focus !important; }

.about-card{
  min-height:360px !important;
  height:100% !important;
}

.about-card p{
  margin:12px 0 16px !important;
  line-height:1.72 !important;
  color:#C9D0DA !important;
}

.about-card ul{
  margin-top:12px !important;
  padding-left:20px !important;
  color:#C9D0DA !important;
  line-height:1.68 !important;
}

.about-card li{
  margin-bottom:10px !important;
}

@media(max-width:800px){
  .about-final-grid{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "copy"
      "team"
      "history"
      "focus" !important;
  }

  .about-main-copy,
  .about-card{
    min-height:auto !important;
  }

  .about-team-photo,
  .about-team-photo img{
    min-height:280px !important;
  }
}

/* =========================================================
   FINAL COMPLETE POLISH
   ========================================================= */
.why-card{min-height:260px!important;text-align:left!important;transition:.35s!important}
.why-card i{color:#E30613!important;font-size:2rem!important;margin-bottom:18px!important;display:block!important}
.why-card h3{margin:0 0 12px!important;font-size:1.22rem!important;color:#fff!important}
.why-card p{color:#C9D0DA!important;line-height:1.72!important;margin:0!important}
.why-card:hover{transform:translateY(-8px)!important;border-color:rgba(227,6,19,.62)!important;box-shadow:0 22px 56px rgba(227,6,19,.16),0 18px 44px rgba(0,0,0,.22)!important}
.contact-intro{color:#C9D0DA!important;line-height:1.75!important;margin:0 0 24px!important;max-width:620px!important}
.contact-final-section .contact-list{margin-top:20px!important}
.contact-final-section .contact-list a,.contact-final-section .contact-list span{background:#262A33!important;border:1px solid #3A3F4B!important;transition:.25s!important}
.contact-final-section .contact-list a:hover,.contact-final-section .contact-list span:hover{transform:translateX(6px);border-color:rgba(227,6,19,.58)!important}
.footer-final{background:#11151B!important;border-top:1px solid #3A3F4B!important;padding:54px 0 0!important;color:#C9D0DA!important}
.footer-final-grid{display:grid!important;grid-template-columns:1.4fr .8fr .9fr 1fr!important;gap:34px!important;align-items:start!important}
.footer-final h3,.footer-final h4{color:#fff!important;margin:0 0 16px!important}
.footer-final h4{font-size:1rem!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#E30613!important}
.footer-final p,.footer-final a{color:#C9D0DA!important;line-height:1.7!important;margin:8px 0!important}
.footer-final a{display:block!important;transition:.25s!important}
.footer-final a:hover{color:#fff!important;transform:translateX(5px)}
.footer-final i{color:#E30613!important;margin-right:8px!important}
.footer-brand .footer-logo{width:230px!important;margin-bottom:18px!important}
.former-footer{margin-top:16px!important;color:#fff!important}
.footer-bottom{margin-top:38px!important;padding:18px 24px!important;border-top:1px solid #3A3F4B!important;display:flex!important;justify-content:space-between!important;gap:18px!important;flex-wrap:wrap!important;color:#AEB6C2!important;font-size:.92rem!important}
@media(max-width:1000px){.footer-final-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:700px){.footer-final{padding-top:42px!important}.footer-final-grid{grid-template-columns:1fr!important}.footer-bottom{display:grid!important;text-align:center!important}.why-card{min-height:auto!important}}



/* =========================================================
   REAL REDFLUX PROJECT IMAGE UPDATE
   ========================================================= */
.project-card img{
  object-fit:cover !important;
  object-position:center center !important;
}
.project-card figcaption strong{
  line-height:1.25 !important;
}
.project-card figcaption button{
  white-space:nowrap !important;
}



/* =========================================================
   SELECTED CLIENTS + INDUSTRIES + PROJECT CTA
   ========================================================= */

.section-summary{
  max-width:820px;
  color:#C9D0DA;
  font-size:1.05rem;
  line-height:1.75;
  margin-top:14px;
}

.clients-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.client-card{
  position:relative;
  min-height:210px;
  padding:28px;
  border-radius:18px;
  border:1px solid #3A3F4B;
  background:#262A33;
  display:flex;
  flex-direction:column;
  justify-content:center;
  transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease;
  overflow:hidden;
}

.client-card::after{
  content:"";
  position:absolute;
  right:-42px;
  bottom:-42px;
  width:120px;
  height:120px;
  border-radius:50%;
  background:rgba(227,6,19,.06);
  transition:transform .32s ease,background .32s ease;
}

.client-card:hover{
  transform:translateY(-7px);
  border-color:rgba(227,6,19,.68);
  box-shadow:0 20px 50px rgba(0,0,0,.24),0 0 30px rgba(227,6,19,.12);
}

.client-card:hover::after{
  transform:scale(1.25);
  background:rgba(227,6,19,.10);
}

.client-mark{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:14px;
  margin-bottom:18px;
  background:rgba(227,6,19,.12);
  border:1px solid rgba(227,6,19,.35);
  color:#E30613;
  font-weight:950;
  letter-spacing:.04em;
}

.client-card h3{
  color:#fff;
  margin:0 0 10px;
  font-size:1.18rem;
  line-height:1.35;
}

.client-card p{
  color:#C9D0DA;
  margin:0;
  line-height:1.65;
}

.client-card-wide{
  grid-column:span 3;
  min-height:170px;
}

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

.industry-card{
  min-height:142px;
  padding:24px 18px;
  border-radius:16px;
  border:1px solid #3A3F4B;
  background:#232730;
  display:flex;
  align-items:center;
  gap:16px;
  color:#fff;
  font-weight:850;
  transition:transform .3s ease,border-color .3s ease,background .3s ease;
}

.industry-card i{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  flex:0 0 46px;
  border-radius:12px;
  color:#E30613;
  background:rgba(227,6,19,.10);
  font-size:1.3rem;
}

.industry-card:hover{
  transform:translateY(-6px);
  border-color:rgba(227,6,19,.62);
  background:#282D37;
}

.project-cta{
  padding:42px 44px;
  border-radius:22px;
  border:1px solid rgba(227,6,19,.44);
  background:
    linear-gradient(110deg,rgba(227,6,19,.14),rgba(38,42,51,.96) 38%,rgba(25,28,34,.98));
  display:grid;
  grid-template-columns:1.5fr auto;
  gap:30px;
  align-items:center;
  box-shadow:0 22px 58px rgba(0,0,0,.23);
}

.project-cta h2{
  margin:0 0 14px;
  color:#fff;
}

.project-cta p{
  margin:0;
  color:#C9D0DA;
  max-width:760px;
  line-height:1.72;
}

.project-cta-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:220px;
}

.project-cta-actions .btn{
  justify-content:center;
}

@media(max-width:1000px){
  .clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .client-card-wide{grid-column:span 2}
  .industries-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-cta{grid-template-columns:1fr}
  .project-cta-actions{flex-direction:row;min-width:0;flex-wrap:wrap}
}

@media(max-width:650px){
  .clients-grid,
  .industries-grid{grid-template-columns:1fr}
  .client-card-wide{grid-column:span 1}
  .client-card{min-height:auto}
  .project-cta{padding:30px 22px}
  .project-cta-actions{display:grid;grid-template-columns:1fr}
  .project-cta-actions .btn{width:100%}
}



/* =========================================================
   CLIENT LOGO WALL
   ========================================================= */

.client-logo-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.client-logo-card{
  min-height:225px;
  padding:22px;
  border-radius:18px;
  border:1px solid #3A3F4B;
  background:#262A33;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-align:center;
  transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease;
}

.client-logo-card:hover{
  transform:translateY(-7px);
  border-color:rgba(227,6,19,.68);
  box-shadow:0 20px 50px rgba(0,0,0,.24),0 0 30px rgba(227,6,19,.12);
}

.client-logo-wrap{
  min-height:130px;
  padding:18px;
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.client-logo-wrap img{
  width:auto;
  max-width:88%;
  max-height:92px;
  object-fit:contain;
  filter:grayscale(100%);
  opacity:.82;
  transition:filter .3s ease,opacity .3s ease,transform .3s ease;
}

.client-logo-card:hover .client-logo-wrap img{
  filter:grayscale(0%);
  opacity:1;
  transform:scale(1.05);
}

.client-logo-card h3{
  color:#fff;
  margin:18px 0 2px;
  font-size:1.08rem;
  line-height:1.35;
}

.client-text-logo{
  flex-direction:column;
  background:#10151B;
  color:#E30613;
  border:1px solid rgba(227,6,19,.35);
}

.client-text-logo span{
  font-size:2.35rem;
  font-weight:1000;
  letter-spacing:.10em;
}

.client-text-logo small{
  margin-top:7px;
  color:#fff;
  font-weight:800;
  letter-spacing:.22em;
}

.client-private-logo{
  gap:16px;
  background:#10151B;
  color:#fff;
  border:1px solid rgba(227,6,19,.35);
}

.client-private-logo i{
  color:#E30613;
  font-size:2rem;
}

.client-private-logo span{
  font-size:1.3rem;
  font-weight:900;
  letter-spacing:.08em;
}

.client-logo-card-wide{
  grid-column:span 3;
  min-height:185px;
}

.client-logo-card-wide .client-logo-wrap{
  min-height:100px;
}

@media(max-width:1000px){
  .client-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .client-logo-card-wide{grid-column:span 2}
}

@media(max-width:650px){
  .client-logo-grid{grid-template-columns:1fr}
  .client-logo-card-wide{grid-column:span 1}
  .client-logo-card{min-height:auto}
}



/* =========================================================
   PROJECTS THIRD ROW
   ========================================================= */
.project-grid{
  align-items:stretch;
}
.project-card{
  height:100%;
}
.project-card img{
  aspect-ratio:16/10;
  width:100%;
  object-fit:cover;
}

/* PROJECT GRID CORRECTION */
.project-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}
.project-card{display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:360px!important;background:#262A33!important;border:1px solid #3A3F4B!important;border-radius:18px!important}
.project-card>img{display:block!important;width:100%!important;height:260px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center!important;background:#15171b!important}
.project-card figcaption{margin-top:auto!important;min-height:96px!important;padding:18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;background:#262A33!important}
.project-card figcaption strong{color:#fff!important;font-size:1.05rem!important;line-height:1.35!important}
.project-card figcaption button{display:inline-flex!important;align-items:center!important;justify-content:center!important}
@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.project-grid{grid-template-columns:1fr!important}.project-card>img{height:230px!important}}
/* Redflux hero slider correction.
   Load once, after css/style.css. */

/* The HTML slider is inside .hero-final-panel, not .hero-final-bg. */
#home .hero-final-bg {
  display: none !important;
}

#home .hero-final-panel {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background: #101820 !important;
}

#home .hero-final-panel > .hero-slides {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  z-index: 1 !important;
}

#home .hero-final-panel > .hero-slides > img.hero-slide {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 1.2s ease-in-out !important;
}

#home .hero-final-panel > .hero-slides > img.hero-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Remove obsolete duplicate overlay. */
#home .hero-final-panel::after {
  content: none !important;
  display: none !important;
}

/* One permanent dark overlay above every slide. */
#home .hero-final-panel::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.88) 30%,
    rgba(0, 0, 0, 0.62) 52%,
    rgba(0, 0, 0, 0.22) 72%,
    rgba(0, 0, 0, 0.06) 100%
  ) !important;
}

#home .hero-final-panel > .hero-final-brand {
  position: relative !important;
  z-index: 3 !important;
}

@media screen and (max-width: 900px) {
  #home .hero-final-panel {
    min-height: auto !important;
  }

  #home .hero-final-panel > .hero-slides {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  #home .hero-final-panel > .hero-slides > img.hero-slide {
    object-fit: cover !important;
    object-position: center center !important;
  }

  /* Mobile overlay: image visible above, text protected below. */
  #home .hero-final-panel::before {
    background: linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.18) 0%,
      rgba(3, 7, 12, 0.38) 34%,
      rgba(3, 7, 12, 0.84) 58%,
      rgba(3, 7, 12, 0.97) 100%
    ) !important;
  }

  #home .hero-final-panel > .hero-final-brand {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home .hero-final-panel > .hero-slides > img.hero-slide {
    transition: none !important;
  }
}
/* =====================================================
   FINAL MOBILE HERO PRESENTATION
   ===================================================== */

@media screen and (max-width: 900px) {

  /* Show the important right side of slides 1, 2 and 4 */
  #home .hero-slide:nth-child(1),
  #home .hero-slide:nth-child(2),
  #home .hero-slide:nth-child(4) {
    object-position: right center !important;
  }

  /* Keep centred pictures centred */
  #home .hero-slide:nth-child(3),
  #home .hero-slide:nth-child(5) {
    object-position: center center !important;
  }

  /* Lighter image area and dark protection behind lower text */
  #home .hero-final-panel::before {
    background: linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.03) 0%,
      rgba(3, 7, 12, 0.12) 35%,
      rgba(3, 7, 12, 0.76) 58%,
      rgba(3, 7, 12, 0.96) 100%
    ) !important;
  }

  /* Make floating buttons compact so they don't cover content */
  .floating-actions {
    right: 12px !important;
    bottom: 14px !important;
    gap: 8px !important;
  }

  .floating-actions .review-float,
  .floating-actions .whatsapp {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    font-size: 0 !important;
  }

  .floating-actions .review-float i,
  .floating-actions .whatsapp i {
    margin: 0 !important;
    font-size: 21px !important;
  }
}
/* =====================================================
   MOBILE HERO — UNCROPPED BACKGROUND SLIDER
   ===================================================== */

@media screen and (max-width: 900px) {

  #home .hero-final-panel {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: #101820 !important;
  }

  /* Slider fills the hero background */
  #home .hero-final-panel > .hero-slides {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    z-index: 1 !important;
    background: #101820 !important;
    border-radius: inherit !important;
  }

  /* Complete 16:9 picture remains visible */
  #home .hero-final-panel > .hero-slides > img.hero-slide {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center top !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Only the active picture is visible */
  #home .hero-final-panel > .hero-slides > img.hero-slide {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  #home .hero-final-panel > .hero-slides > img.hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Blend the picture naturally into the dark hero */
  #home .hero-final-panel::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.14) 0%,
      rgba(3, 7, 12, 0.28) 22%,
      rgba(3, 7, 12, 0.72) 36%,
      rgba(3, 7, 12, 0.94) 48%,
      #101820 62%,
      #101820 100%
    ) !important;
  }

  #home .hero-final-panel::after {
    content: none !important;
    display: none !important;
  }

  /* Logo and hero content sit above the sliding picture */
  #home .hero-final-panel > .hero-final-brand {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 34px 18px 42px !important;
    background: transparent !important;
  }
}
/* =====================================================
   PHONE: SLIDER EXACTLY BEHIND THE LOGO
   ===================================================== */

@media screen and (max-width: 600px) {

  /* Position the slider around the separate Redflux logo */
  #home .hero-final-panel > .hero-slides {
    top: 250px !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  #home .hero-final-panel > .hero-slides > img.hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }

  /*
   * Main REDFLUX text: solid dark background.
   * Logo area: picture visible.
   * Tagline and services: solid dark background.
   */
  #home .hero-final-panel::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;

    background: linear-gradient(
      180deg,
      #101820 0,
      #101820 235px,
      rgba(16, 24, 32, 0.20) 285px,
      rgba(16, 24, 32, 0.14) 420px,
      rgba(16, 24, 32, 0.82) 500px,
      #101820 555px,
      #101820 100%
    ) !important;
  }

  #home .hero-final-panel > .hero-final-brand {
    position: relative !important;
    z-index: 3 !important;
  }
}
/* =====================================================
   HERO SLIDER — SMOOTH PREMIUM TRANSITION
   ===================================================== */

#home .hero-slide {
  z-index: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(1) !important;
  will-change: opacity, transform;

  transition:
    opacity 1.4s ease-in-out,
    transform 7s ease-out,
    visibility 0s linear 1.4s !important;
}

#home .hero-slide.active {
  z-index: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1.035) !important;

  transition:
    opacity 1.4s ease-in-out,
    transform 7s ease-out,
    visibility 0s linear 0s !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  #home .hero-slide,
  #home .hero-slide.active {
    transform: none !important;
    transition: opacity 0.4s ease !important;
  }
}
/* Seamless crossfade layering */
#home .hero-slide {
  z-index: 0 !important;
}

#home .hero-slide.active {
  z-index: 1 !important;
}

#home .hero-slide.is-entering {
  z-index: 2 !important;
  visibility: visible !important;
}
/* Project end users and private projects */
.project-end-users {
  margin-top: 56px;
  padding-top: 42px;
  border-top: 1px solid #3A3F4B;
}

.project-end-users-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.project-end-users-head h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  line-height: 1.15;
}

.project-end-user-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-end-user-card {
  min-height: 245px;
  padding: 26px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  background: #262A33;
  border: 1px solid #3A3F4B;
  border-radius: 18px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-end-user-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 6, 19, .68);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25),
              0 0 30px rgba(227, 6, 19, .12);
}

.project-end-user-logo,
.project-end-user-icon {
  width: 150px;
  min-height: 130px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.project-end-user-logo {
  background: #fff;
}

.project-end-user-logo img {
  width: 100%;
  max-width: 120px;
  max-height: 90px;
  object-fit: contain;
}

.project-end-user-icon {
  color: #E30613;
  background: #10151B;
  border: 1px solid rgba(227, 6, 19, .35);
  font-size: 3rem;
}

.project-client-type {
  display: block;
  margin-bottom: 9px;
  color: #E30613;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.4;
}

.project-end-user-content h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1.3;
}

.project-end-user-content p {
  margin: 0;
  color: #C9D0DA;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .project-end-user-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .project-end-users {
    margin-top: 40px;
    padding-top: 32px;
  }

  .project-end-user-card {
    min-height: auto;
    padding: 22px;
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .project-end-user-logo,
  .project-end-user-icon {
    width: 100%;
    min-height: 110px;
  }

  .project-end-user-logo img {
    max-width: 150px;
  }
}