/* =========================================================
   A SQUARE SOLUTIONS: Design Tokens
   ========================================================= */
:root{
  /* Color */
  --navy:        #071B2F;
  --navy-deep:   #050F1A;
  --navy-soft:   #10293F;
  --yellow:      #F6B400;
  --orange:      #FF6A00;
  --white:       #FFFFFF;
  --grey-light:  #F4F5F7;
  --grey-mid:    #C9CED6;
  --charcoal:    #1B1F24;
  --text-body:   #4B5563;
  --text-dim:    rgba(244,245,247,0.66);
  --line:        rgba(7,27,47,0.10);
  --line-dark:   rgba(244,245,247,0.14);

  /* Type */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body: 'Inter', sans-serif;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 72px);
  --radius-s: 6px;
  --radius-m: 14px;

  /* Motion */
  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  font-family:var(--f-body);
  color:var(--charcoal);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

h1,h2,h3,h4{
  font-family:var(--f-display);
  margin:0;
  letter-spacing:-0.01em;
  font-weight:600;
}

p{ margin:0; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding-inline:var(--pad);
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--f-body);
  font-weight:600;
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--orange);
}
.eyebrow::before{
  content:"";
  width:16px; height:9px;
  background:var(--orange);
  clip-path:polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
}
.section--dark .eyebrow{ color:var(--yellow); }
.section--dark .eyebrow::before{ background:var(--yellow); }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 30px;
  font-size:14.5px;
  font-weight:600;
  border-radius:2px;
  border:1px solid transparent;
  transition:transform .35s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--orange);
  color:var(--white);
}
.btn-primary:hover{ background:#ff7d1f; }
.btn-outline{
  border-color:rgba(255,255,255,0.35);
  color:var(--white);
  background:transparent;
}
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,0.06); }
.btn-outline.on-light{
  border-color:var(--navy);
  color:var(--navy);
}
.btn-outline.on-light:hover{ background:var(--navy); color:var(--white); }
.btn-yellow{
  background:var(--yellow);
  color:var(--navy);
}
.btn-yellow:hover{ background:#ffc633; }
.btn-sm{ padding:11px 20px; font-size:13px; }

/* =========================================================
   Hex signature system
   A Square's recurring motif: the hex head: bolt, nut, GET
   tooth cross-section. Used for badges, bullets, filters.
   ========================================================= */
.hex{
  --s: 46px;
  width:var(--s);
  height:calc(var(--s) * 1.1547);
  background:var(--navy);
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.hex-svg{
  width:52%;
  height:52%;
  fill:none;
  stroke:#fff;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hex-svg circle[fill], .hex-svg path[fill]{ fill:#fff; }
.hex-outline{
  background:transparent;
  position:relative;
}
.hex-outline::before{
  content:"";
  position:absolute; inset:0;
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  padding:1.5px;
  background:linear-gradient(135deg,var(--orange),var(--yellow));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}
.hex-bullet{
  width:7px; height:8px;
  background:var(--orange);
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display:inline-block;
  flex-shrink:0;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(7,27,47,0.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-dark);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family:var(--f-display);
  color:var(--white);
}
.brand-badge{
  background:var(--white);
  padding:7px 14px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  line-height:0;
}
.brand-badge img{ height:34px; width:auto; display:block; }
.footer-brand .brand-badge img{ height:40px; }
.brand .hex{ --s:32px; background:var(--yellow); position:relative; }
.brand .hex::after{
  content:"";
  position:absolute; inset:7px;
  background:var(--navy);
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text strong{ font-size:18px; letter-spacing:0.03em; }
.brand-text span{ font-family:var(--f-body); font-size:10px; letter-spacing:0.12em; text-transform:uppercase; color:var(--text-dim); }

.nav-links{
  display:flex;
  align-items:center;
  gap:2px;
}
.nav-links > li{ position:relative; }
.nav-links > li > a{
  display:flex; align-items:center; gap:6px;
  padding:14px;
  color:var(--text-dim);
  font-size:14px;
  font-weight:500;
  transition:color .2s ease;
}
.nav-links > li > a:hover, .nav-links > li.active > a{ color:var(--white); }
.nav-links .caret{ width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-top:-3px; opacity:.7;}

.mega{
  position:absolute;
  top:100%; left:50%;
  transform:translate(-50%,8px);
  width:min(760px,88vw);
  background:var(--navy-soft);
  border:1px solid var(--line-dark);
  border-radius:var(--radius-m);
  padding:26px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px 24px;
  opacity:0; visibility:hidden;
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.5);
}
.nav-links > li:hover .mega{
  opacity:1; visibility:visible; transform:translate(-50%,14px);
}
.mega-col-title{
  font-family:var(--f-body);
  font-size:11px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase;
  color:var(--yellow);
  margin-bottom:10px;
  padding-top:12px;
}
.mega a{
  display:block;
  padding:7px 0;
  font-size:13.5px;
  color:var(--text-dim);
  border-bottom:1px solid transparent;
}
.mega a:hover{ color:var(--white); padding-left:4px; }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-burger{ display:none; }

@media (max-width: 980px){
  .nav-links, .nav-cta .btn-outline{ display:none; }
  .nav-burger{ display:flex; width:40px; height:40px; align-items:center; justify-content:center; background:transparent; border:1px solid var(--line-dark); border-radius:4px; }
  .nav-burger span{ display:block; width:18px; height:1.5px; background:var(--white); position:relative; }
  .nav-burger span::before,.nav-burger span::after{ content:""; position:absolute; left:0; width:18px; height:1.5px; background:var(--white); }
  .nav-burger span::before{ top:-6px; } .nav-burger span::after{ top:6px; }
}

/* Mobile drawer */
.mobile-drawer{
  position:fixed; inset:0 0 0 auto; width:min(340px,86vw); height:100vh;
  background:var(--navy); z-index:200; padding:28px 24px;
  transform:translateX(100%); transition:transform .4s var(--ease);
  overflow-y:auto;
  border-left:1px solid var(--line-dark);
}
.mobile-drawer.open{ transform:translateX(0); }
.mobile-drawer .close-drawer{ background:none;border:none;color:var(--white);font-size:26px;float:right; }
.mobile-drawer h4{ color:var(--yellow); font-size:11px; letter-spacing:.1em; text-transform:uppercase; margin:22px 0 10px; font-family:var(--f-body); }
.mobile-drawer a{ display:block; padding:10px 0; color:var(--text-dim); font-size:15px; border-bottom:1px solid var(--line-dark); }
.mobile-drawer a:hover{ color:var(--white); }
.drawer-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:190; opacity:0; visibility:hidden; transition:opacity .3s ease; }
.drawer-backdrop.open{ opacity:1; visibility:visible; }

/* breadcrumb */
.breadcrumb{
  padding:16px var(--pad);
  font-size:12.5px;
  color:var(--text-body);
  background:var(--grey-light);
  border-bottom:1px solid var(--line);
}
.breadcrumb a{ color:var(--text-body); }
.breadcrumb a:hover{ color:var(--orange); }
.breadcrumb span{ color:var(--charcoal); font-weight:600; }

/* =========================================================
   Sections generic
   ========================================================= */
.section{ padding:120px 0; }
.section--tight{ padding:80px 0; }
.section--dark{ background:var(--navy); color:var(--white); }
.section--charcoal{ background:var(--charcoal); color:var(--white); }
.section--grey{ background:var(--grey-light); }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:56px;
  flex-wrap:wrap;
}
.section-head h2{
  font-size:clamp(30px,4vw,46px);
  line-height:1.08;
  margin-top:14px;
  max-width:640px;
}
.section-head p{
  max-width:380px;
  color:var(--text-body);
  font-size:15px;
}
.section--dark .section-head p, .section--charcoal .section-head p{ color:var(--text-dim); }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position:relative;
  background:var(--navy);
  color:var(--white);
  overflow:hidden;
  min-height:92vh;
  display:flex;
  align-items:center;
  padding-top:76px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(60% 55% at 82% 20%, rgba(246,180,0,0.14), transparent 60%),
    radial-gradient(50% 60% at 100% 90%, rgba(255,106,0,0.12), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 90px);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr 0.85fr;
  gap:40px;
  align-items:center;
  padding-block:60px;
}
.hero-kicker{
  display:flex; align-items:center; gap:12px;
  font-size:12.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--yellow); font-weight:600; margin-bottom:26px;
}
.hero-kicker .rule{ width:34px; height:1px; background:var(--yellow); }
.hero h1{
  font-size:clamp(40px, 5.6vw, 74px);
  line-height:1.03;
  font-weight:600;
  max-width:780px;
}
.hero h1 em{
  font-style:normal;
  color:var(--yellow);
}
.hero-sub{
  margin-top:26px;
  font-size:17px;
  color:var(--text-dim);
  max-width:480px;
  line-height:1.65;
}
.hero-actions{ display:flex; gap:16px; margin-top:44px; flex-wrap:wrap; }
.hero-meta{
  display:flex; gap:36px; margin-top:64px; flex-wrap:wrap;
}
.hero-meta div strong{ display:block; font-family:var(--f-display); font-size:26px; color:var(--white); }
.hero-meta div span{ font-size:12px; color:var(--text-dim); letter-spacing:.03em; }

.hero-art{ position:relative; height:520px; }
.hex-cluster{ position:absolute; inset:0; }
.hex-cluster .hex{ position:absolute; }

/* =========================================================
   Marquee / Trust strip
   ========================================================= */
.trust-strip{
  background:var(--yellow);
  color:var(--navy);
  overflow:hidden;
  border-top:1px solid rgba(7,27,47,0.08);
}
.marquee{
  display:flex;
  width:max-content;
  animation:scroll 30s linear infinite;
}
.marquee-track{ display:flex; }
@keyframes scroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
.marquee-item{
  display:flex; align-items:center; gap:14px;
  padding:20px 44px;
  font-family:var(--f-display);
  font-size:15px;
  font-weight:600;
  white-space:nowrap;
  border-right:1px solid rgba(7,27,47,0.15);
}
.marquee-item .num{ font-size:20px; }

/* =========================================================
   About
   ========================================================= */
.about-grid{
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:72px;
  align-items:center;
}
.about-copy p{ color:var(--text-body); font-size:16px; line-height:1.8; margin-bottom:18px; }
.about-copy p:last-child{ margin-bottom:0; }
.about-stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  margin-top:40px;
  background:var(--line);
  border:1px solid var(--line);
}
.about-stats div{ background:var(--white); padding:22px 18px; }
.about-stats strong{ font-family:var(--f-display); font-size:30px; display:block; color:var(--navy); }
.about-stats span{ font-size:12.5px; color:var(--text-body); }

.about-diagram{ position:relative; }
.about-diagram svg{ width:100%; height:auto; }

/* =========================================================
   Category cards (hex-clipped)
   ========================================================= */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2px;
  background:var(--line);
  border:1px solid var(--line);
}
.cat-card{
  background:var(--white);
  padding:38px 26px;
  display:flex; flex-direction:column; gap:18px;
  transition:background .3s ease;
  position:relative;
}
.cat-card:hover{ background:var(--navy); }
.cat-card:hover .cat-title, .cat-card:hover .cat-desc{ color:var(--white); }
.cat-card:hover .hex{ background:var(--orange); }
.cat-card:hover .cat-arrow{ opacity:1; transform:translateX(0); }
.cat-title{ font-family:var(--f-display); font-size:18px; color:var(--navy); transition:color .3s ease; }
.cat-desc{ font-size:13px; color:var(--text-body); transition:color .3s ease; line-height:1.6; }
.cat-count{ font-size:11.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--orange); font-weight:600; }
.cat-arrow{ margin-top:auto; opacity:0; transform:translateX(-6px); transition:all .3s ease; color:var(--yellow); font-size:13px; }

@media (max-width:980px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .cat-grid{ grid-template-columns:1fr; } }

/* =========================================================
   Breaker spec / dark technical section
   ========================================================= */
.spec-layout{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:60px;
  align-items:start;
}
.spec-list{ display:grid; grid-template-columns:1fr 1fr; gap:12px 28px; margin-top:36px; }
.spec-list li{ display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--text-dim); padding:6px 0; }
.spec-list .hex-bullet{ margin-top:6px; }

.spec-table-wrap{ overflow-x:auto; border:1px solid var(--line-dark); }
table.spec-table{ width:100%; border-collapse:collapse; min-width:640px; font-size:13.5px; }
table.spec-table th, table.spec-table td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--line-dark); white-space:nowrap; }
table.spec-table thead th{ background:rgba(255,255,255,0.04); font-family:var(--f-display); font-weight:600; color:var(--yellow); font-size:12.5px; letter-spacing:.04em; text-transform:uppercase; }
table.spec-table tbody th{ color:var(--text-dim); font-weight:500; }
table.spec-table tbody td{ color:var(--white); font-family:var(--f-display); }
table.spec-table tbody tr:last-child td, table.spec-table tbody tr:last-child th{ border-bottom:none; }

/* =========================================================
   Industries
   ========================================================= */
.chip-row{ display:flex; flex-wrap:wrap; gap:12px; }
.chip{
  padding:14px 22px;
  border:1px solid var(--line);
  border-radius:2px;
  font-size:14px; font-weight:500;
  display:flex; align-items:center; gap:10px;
  color:var(--navy);
  transition:all .25s ease;
}
.chip:hover{ border-color:var(--orange); background:var(--grey-light); }

/* =========================================================
   Brands carousel
   ========================================================= */
.brand-row{
  display:flex; flex-wrap:wrap; gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.brand-cell{
  flex:1 1 150px;
  background:var(--white);
  min-height:120px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px;
  padding:20px;
  position:relative;
  transition:background .25s ease;
}
.brand-cell:hover{ background:var(--grey-light); }
.brand-cell .brand-mark{
  font-family:var(--f-display);
  font-weight:700;
  font-size:17px;
  letter-spacing:.01em;
  color:var(--charcoal);
  transition:transform .3s ease;
}
.brand-cell:hover .brand-mark{ transform:translateY(-2px); }
.brand-cell .brand-swatch{
  width:26px; height:3px; border-radius:2px;
  background:var(--brand-color, var(--orange));
  transition:width .3s ease;
}
.brand-cell:hover .brand-swatch{ width:40px; }

/* =========================================================
   Why choose us
   ========================================================= */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.why-card{ background:var(--white); padding:34px 24px; }
.why-card .hex{ --s:38px; background:var(--navy); margin-bottom:20px; }
.why-card h3{ font-size:16px; margin-bottom:8px; }
.why-card p{ font-size:13.5px; color:var(--text-body); line-height:1.6; }
@media (max-width:980px){ .why-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr;} }

/* =========================================================
   CTA band
   ========================================================= */
.founder-section{ padding:110px 0; }
.section--dark.photo-section{ position:relative; }
.founder-grid{
  display:grid;
  grid-template-columns:0.55fr 1fr;
  gap:64px;
  align-items:center;
}
.founder-photo-card{
  position:relative;
  overflow:hidden;
  border-radius:2px;
  background:var(--navy);
}
.founder-photo-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  min-height:420px;
}
.founder-photo-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:22px 26px;
  background:linear-gradient(0deg, rgba(7,27,47,0.92) 10%, transparent);
  color:#fff;
}
.founder-photo-caption h3{ font-size:19px; margin-bottom:4px; }
.founder-photo-caption span{ color:var(--yellow); font-size:12.5px; letter-spacing:.05em; text-transform:uppercase; }
.founder-copy p{ color:var(--text-body); font-size:15.5px; line-height:1.8; margin-bottom:18px; }
.founder-copy p:last-child{ margin-bottom:0; }
.founder-copy strong{ color:var(--navy); }
@media (max-width:900px){ .founder-grid{ grid-template-columns:1fr; } }
.dark-photo-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(7,27,47,0.96) 0%, rgba(7,27,47,0.88) 42%, rgba(7,27,47,0.55) 100%);
}

.cta-band{
  background:var(--navy);
  color:var(--white);
  position:relative;
  overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute; right:-80px; top:50%; transform:translateY(-50%);
  width:420px; height:420px;
  background:radial-gradient(circle, rgba(246,180,0,0.16), transparent 70%);
}
.cta-inner{
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  position:relative;
}
.cta-inner h2{ font-size:clamp(26px,3.4vw,38px); max-width:560px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--navy-deep); color:var(--text-dim); }
.footer-top{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:48px;
  padding-block:80px;
  border-bottom:1px solid var(--line-dark);
}
.footer-brand p{ margin-top:18px; font-size:14px; line-height:1.7; max-width:280px; }
.footer-col h4{ font-family:var(--f-body); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--yellow); margin-bottom:20px; font-weight:700; }
.footer-col li{ margin-bottom:11px; }
.footer-col a{ font-size:14px; transition:color .2s ease; }
.footer-col a:hover{ color:var(--white); }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:36px; height:36px; border:1px solid var(--line-dark); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:13px;
}
.footer-social a:hover{ border-color:var(--orange); color:var(--orange); }
.newsletter{ display:flex; margin-top:16px; border:1px solid var(--line-dark); }
.newsletter input{ flex:1; background:transparent; border:none; padding:12px 14px; color:var(--white); font-size:13px; }
.newsletter input::placeholder{ color:var(--text-dim); }
.newsletter button{ background:var(--orange); color:var(--white); border:none; padding:0 18px; font-size:13px; font-weight:600; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:12.5px; flex-wrap:wrap; gap:10px;
}
.site-watermark{
  text-align:center;
  padding:14px 0;
  font-size:11.5px;
  color:var(--text-dim);
  border-top:1px solid var(--line-dark);
}
.site-watermark span{ color:var(--yellow); }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* =========================================================
   Floating actions
   ========================================================= */
.floating-actions{
  position:fixed; right:24px; bottom:24px; z-index:150;
  display:flex; flex-direction:column; gap:12px; align-items:flex-end;
}
.fab{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--white); font-size:22px;
  box-shadow:0 12px 30px -8px rgba(0,0,0,0.4);
  transition:transform .3s var(--ease);
  border:none;
}
.fab:hover{ transform:translateY(-3px) scale(1.04); }
.fab-whatsapp{ background:#25D366; }
.fab-top{
  background:var(--navy);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .3s ease;
}
.fab-top.show{ opacity:1; visibility:visible; transform:translateY(0); }

/* =========================================================
   Hero blueprint diagram - draws itself in, then breathes
   ========================================================= */
.bp-draw{
  stroke-dasharray:1000;
  stroke-dashoffset:1000;
  animation:bp-line-draw 1.3s ease-out forwards;
}
.bp-1{ animation-delay:.15s; }
.bp-2{ animation-delay:.35s; }
.bp-3{ animation-delay:.55s; }
.bp-4{ animation-delay:.7s; }
.bp-5{ animation-delay:.5s; }
.bp-6{ animation-delay:.6s; }
.bp-7{ animation-delay:.3s; }
.bp-8{ animation-delay:.4s; }
.bp-9{ animation-delay:.45s; }
@keyframes bp-line-draw{ to{ stroke-dashoffset:0; } }

.bp-fade{
  opacity:0;
  animation:fadeInUp .6s ease .95s forwards;
}

.bp-spin{
  transform-origin:230px 205px;
  animation:bp-line-draw 1.3s ease-out .35s forwards, bp-rotate 34s linear 1.65s infinite;
}
@keyframes bp-rotate{ from{ transform:rotate(0deg); } to{ transform:rotate(360deg); } }

.bp-pulse{
  transform-origin:230px 205px;
  animation:bp-line-draw 1.3s ease-out .7s forwards, bp-breathe 3.2s ease-in-out 2s infinite;
}
@keyframes bp-breathe{
  0%,100%{ opacity:0.7; transform:scale(1); }
  50%{ opacity:1; transform:scale(1.08); }
}

.bp-orbit{
  offset-path:path("M230 20 L380 105 L380 275 L230 360 L80 275 L80 105 Z");
  offset-distance:0%;
  opacity:0;
  animation:bp-orbit-fade .4s ease 1.5s forwards, bp-orbit-move 7s linear 1.5s infinite;
  filter:drop-shadow(0 0 4px rgba(246,180,0,0.9));
}
@keyframes bp-orbit-fade{ to{ opacity:1; } }
@keyframes bp-orbit-move{ from{ offset-distance:0%; } to{ offset-distance:100%; } }

@media (prefers-reduced-motion: reduce){
  .bp-draw, .bp-fade, .bp-spin, .bp-pulse, .bp-orbit{ animation:none; stroke-dashoffset:0; opacity:1; }
}

/* =========================================================
   Entrance animation (hero + banner load-in)
   ========================================================= */
@keyframes fadeInUp{
  from{ opacity:0; transform:translateY(28px); }
  to{ opacity:1; transform:translateY(0); }
}
.hero-kicker, .hero h1, .hero-sub, .hero-actions, .hero-meta,
.hero-art, .products-hero .eyebrow, .products-hero h1, .products-hero p, .products-hero .search-bar, .products-hero .search-hint,
.contact-hero .eyebrow, .contact-hero h1, .contact-hero p{
  opacity:0;
  animation:fadeInUp .8s var(--ease) forwards;
}
.hero-kicker{ animation-delay:.05s; }
.hero h1{ animation-delay:.16s; }
.hero-sub{ animation-delay:.30s; }
.hero-actions{ animation-delay:.42s; }
.hero .search-bar{ animation-delay:.36s; }
.hero-meta{ animation-delay:.54s; }
.hero-art{ animation-delay:.5s; }
.products-hero .eyebrow, .contact-hero .eyebrow{ animation-delay:.05s; }
.products-hero h1, .contact-hero h1{ animation-delay:.18s; }
.products-hero p, .contact-hero p{ animation-delay:.3s; }
.products-hero .search-bar{ animation-delay:.42s; }
.products-hero .search-hint{ animation-delay:.52s; }

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

/* =========================================================
   Photo-backed sections (real photography)
   ========================================================= */
.photo-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
}
.photo-overlay{
  position:absolute; inset:0;
  z-index:1;
  pointer-events:none;
}
.hero > *:not(.photo-bg):not(.photo-overlay){ position:relative; z-index:2; }
.hero::before{ z-index:1; }

.photo-section{ position:relative; overflow:hidden; }
.photo-section > .wrap{ position:relative; z-index:2; }

.about-diagram{ position:relative; overflow:hidden; border-radius:2px; }
.about-diagram img{ width:100%; height:100%; object-fit:cover; display:block; min-height:420px; }
.about-diagram .photo-caption{
  position:absolute; left:0; right:0; bottom:0;
  padding:16px 20px;
  background:linear-gradient(0deg, rgba(7,27,47,0.85), transparent);
  color:var(--white);
  font-size:12px;
  letter-spacing:.04em;
}

/* =========================================================
   Products page specific
   ========================================================= */
.products-hero{
  background:var(--navy); color:var(--white); padding:70px 0 50px;
  position:relative; overflow:hidden;
}
.products-hero > .wrap{ position:relative; z-index:2; }
.products-hero h1{ font-size:clamp(32px,4.5vw,52px); }
.products-hero p{ color:var(--text-dim); max-width:560px; margin-top:16px; font-size:15.5px; }

.search-bar{
  margin-top:36px;
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,0.06);
  border:1px solid var(--line-dark);
  padding:6px 6px 6px 20px;
  max-width:640px;
}
.search-bar input{
  flex:1; background:transparent; border:none; color:var(--white); font-size:15px; padding:12px 0;
}
.search-bar input::placeholder{ color:var(--text-dim); }
.search-bar button{ background:var(--orange); color:var(--white); border:none; padding:13px 22px; font-size:13.5px; font-weight:600; }
.search-hint{ margin-top:12px; font-size:12.5px; color:var(--text-dim); }

.cat-nav{
  position:sticky; top:76px; z-index:50;
  background:var(--white);
  border-bottom:1px solid var(--line);
  overflow-x:auto;
  white-space:nowrap;
}
.cat-nav-inner{ display:flex; gap:4px; padding:14px var(--pad); }
.cat-nav a{
  padding:9px 16px;
  font-size:13px; font-weight:600;
  color:var(--text-body);
  border-radius:20px;
  transition:all .2s ease;
}
.cat-nav a:hover, .cat-nav a.active{ background:var(--navy); color:var(--white); }

.product-section{ padding:70px 0; border-bottom:1px solid var(--line); }
.product-section:nth-of-type(even){ background:var(--grey-light); }
.product-section-head{ display:flex; align-items:baseline; gap:16px; margin-bottom:36px; flex-wrap:wrap; }
.product-section-head h2{ font-size:clamp(24px,3vw,32px); }
.product-section-head .count{ font-size:13px; color:var(--orange); font-weight:600; }
.product-section-intro{ max-width:640px; color:var(--text-body); font-size:14.5px; margin-bottom:8px; line-height:1.7; }

.item-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.item-card{
  background:var(--white);
  padding:24px 18px;
  display:flex; flex-direction:column; gap:14px; align-items:flex-start;
  transition:background .25s ease, transform .25s ease;
}
.item-card:hover{ background:var(--navy); transform:translateY(-2px); }
.item-card:hover .item-name{ color:var(--white); }
.item-card .hex{
  --s:34px;
  animation:hex-turn 9s linear infinite;
  transform-origin:50% 50%;
}
.item-card:hover .hex{ animation-duration:1.6s; }
@keyframes hex-turn{
  0%{ transform:rotate(0deg) scale(1); }
  50%{ transform:rotate(180deg) scale(1.06); }
  100%{ transform:rotate(360deg) scale(1); }
}
.item-name{ font-size:13.5px; font-weight:600; color:var(--navy); line-height:1.4; transition:color .25s ease; }
.item-card[hidden]{ display:none; }

.subblock{ margin-bottom:44px; }
.subblock:last-child{ margin-bottom:0; }
.subblock-title{ font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-body); margin-bottom:16px; display:flex; align-items:center; gap:10px;}
.subblock-title::after{ content:""; flex:1; height:1px; background:var(--line); }

.no-results{ display:none; padding:60px 0; text-align:center; color:var(--text-body); }
.no-results.show{ display:block; }

/* =========================================================
   Contact page
   ========================================================= */
.contact-hero{ background:var(--navy); color:var(--white); padding:70px 0 60px; position:relative; overflow:hidden; }
.contact-hero > .wrap{ position:relative; z-index:2; }
.contact-grid{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:2px;
  background:var(--line); border:1px solid var(--line);
}
.contact-info{ background:var(--white); padding:56px 44px; }
.contact-info .info-row{ display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.contact-info .info-row:first-of-type{ padding-top:0; }
.contact-info .info-row h4{ font-size:14px; margin-bottom:6px; }
.contact-info .info-row p, .contact-info .info-row a{ font-size:14px; color:var(--text-body); line-height:1.6; }
.contact-info .info-row a:hover{ color:var(--orange); }
.contact-actions{ display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }

.contact-form{ background:var(--grey-light); padding:56px 44px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field.full{ grid-column:1 / -1; }
.form-field label{ font-size:12.5px; font-weight:600; color:var(--navy); }
.form-field input, .form-field select, .form-field textarea{
  border:1px solid var(--grey-mid);
  background:var(--white);
  padding:13px 14px;
  font-size:14px;
  font-family:inherit;
  border-radius:2px;
}
.form-field textarea{ resize:vertical; min-height:110px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color:var(--orange); }

.map-embed{ height:420px; border:1px solid var(--line); filter:grayscale(0.3); }
.map-embed iframe{ width:100%; height:100%; border:0; }

@media (max-width:900px){
  .hero-grid, .about-grid, .spec-layout, .contact-grid{ grid-template-columns:1fr; }
  .hero-art{ display:none; }
  .form-row{ grid-template-columns:1fr; }
}

/* Reveal on scroll */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }
