/* ============================================================
   Alseel Technical Systems LLC — Redesign
   Design system + global styles
   ============================================================ */

:root {
  /* Brand palette (from logo) */
  --navy:        #123a72;
  --navy-deep:   #0d2b56;
  --navy-900:    #0a1f3f;
  --green:       #52b04a;
  --green-dark:  #3f9639;
  --teal:        #2f6b6d;

  /* Neutrals */
  --ink:         #111c2e;
  --slate:       #47566b;
  --muted:       #7a8699;
  --line:        #e6ebf2;
  --bg:          #ffffff;
  --bg-soft:     #f4f7fb;
  --bg-soft-2:   #eef3f9;
  --white:       #ffffff;

  /* Effects */
  --shadow-sm:   0 2px 8px rgba(16, 40, 80, .06);
  --shadow-md:   0 12px 30px rgba(16, 40, 80, .10);
  --shadow-lg:   0 24px 60px rgba(11, 31, 63, .16);
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   26px;

  /* Layout */
  --maxw:        1200px;
  --gutter:      clamp(20px, 5vw, 48px);

  --grad-brand:  linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%);
  --grad-green:  linear-gradient(120deg, var(--green) 0%, var(--green-dark) 100%);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

/* ---------- Layout helpers ---------- */
.wrap { width: 90%; max-width: none; margin: 0 auto; padding-inline: 20px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.center { text-align: center; }
.grid { display: grid; gap: 26px; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: none; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-lead { color: var(--slate); font-size: 1.06rem; max-width: 100%; }
.center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 50px; font-weight: 700; font-size: .95rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-green); color: #fff; box-shadow: 0 10px 24px rgba(82,176,74,.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(82,176,74,.42); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.82);
  font-size: .84rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar a { color: rgba(255,255,255,.82); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left svg { width: 15px; height: 15px; color: var(--green); }
.topbar-badges { display: flex; gap: 10px; align-items: center; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(82,176,74,.18); color: #a7e6a1;
  padding: 3px 11px; border-radius: 40px; font-weight: 600; font-size: .76rem;
}
.topbar-social { display: flex; gap: 14px; }
.topbar-social svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; border-radius: 40px; font-weight: 600; font-size: .96rem;
  color: var(--slate); transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: var(--bg-soft); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: var(--navy); }
.nav-phone .ico {
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center;
}
.nav-phone .ico svg { width: 18px; height: 18px; color: var(--green-dark); }
.nav-phone small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.nav-phone b { font-size: .95rem; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft); }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Services mega dropdown ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-mega-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 40px; font-weight: 600; font-size: .96rem;
  color: var(--slate); transition: color .2s, background .2s; cursor: pointer;
}
.nav-mega-trigger:hover, .nav-mega-trigger.active { color: var(--navy); background: var(--bg-soft); }
.nav-mega-trigger .caret { width: 14px; height: 14px; transition: transform .25s; }
.nav-item.has-mega:hover .caret { transform: rotate(180deg); }
.nav-item.has-mega::after { content: ""; position: absolute; top: 100%; left: 0; width: 100%; height: 16px; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 0;
  width: min(800px, 92vw); max-width: 800px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 16px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s; z-index: 120;
}
.nav-item.has-mega:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega-list { display: grid; gap: 2px; align-content: start; }
.mega-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 14px; border-radius: 11px; font-size: .9rem; font-weight: 600; color: var(--slate);
  transition: background .2s, color .2s;
}
.mega-list a span { line-height: 1.3; }
.mega-list a svg { width: 16px; height: 16px; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; color: var(--green-dark); }
.mega-list a:hover { background: var(--bg-soft); color: var(--navy); }
.mega-list a:hover svg { opacity: 1; transform: none; }
.mega-media { border-radius: 12px; overflow: hidden; background: var(--grad-brand); min-height: 300px; }
.mega-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(130deg, #0a1f3f 0%, #123a72 55%, #2f6b6d 125%);
}
/* Hero background slider */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; animation: heroKen 7s ease-out forwards; }
@keyframes heroKen { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,31,63,.94) 0%, rgba(11,34,70,.82) 42%, rgba(13,43,86,.55) 72%, rgba(47,107,109,.34) 100%);
}
.hero-dots { display: flex; gap: 10px; margin-top: 30px; }
.hero-dot { width: 26px; height: 5px; border-radius: 4px; background: rgba(255,255,255,.3); transition: background .3s, width .3s; cursor: pointer; padding: 0; }
.hero-dot.active { background: var(--green); width: 40px; }
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .32; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 520px at 12% 42%, #000, transparent 78%);
}
.hero-motif {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  width: min(44vw, 540px); opacity: .07; color: #fff; z-index: 1; pointer-events: none;
}
.hero-motif svg { width: 100%; height: auto; }
.hero .wrap { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: end;
  min-height: 100vh;
  padding: clamp(56px, 8vw, 92px) 0 clamp(56px, 7vw, 84px);
}
.hero-copy { align-self: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px; border-radius: 40px; font-size: .82rem; font-weight: 600;
  color: #dfe9f5; margin-bottom: 24px;
}
.hero-tag b { color: var(--green); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; }
.hero h1 .accent { color: #8fe087; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.12rem; margin: 22px 0 34px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap;     padding-top: 46px; }

/* Bottom-right quick quote form */
.hero-quote {
  align-self: end; position: relative; z-index: 3;
  width: 100%; max-width: 420px; margin-left: auto; margin-bottom: 0;
  background: #fff; color: var(--ink); border-radius: 20px;
  padding: 26px 26px 28px; box-shadow: var(--shadow-lg);
}
.hero-quote h4 { font-size: 1.4rem; letter-spacing: -.02em; }
.hero-quote .hq-sub { color: var(--slate); font-size: .9rem; margin: 6px 0 18px; }
.hero-quote .hq-field { margin-bottom: 12px; }
.hero-quote input, .hero-quote select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .92rem; background: var(--bg-soft); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.hero-quote input:focus, .hero-quote select:focus { outline: none; border-color: var(--green); background: #fff; }
.hero-quote .btn { width: 100%; justify-content: center; margin-top: 4px; }
.hero-quote .hq-status { font-size: .8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* Wave divider */
.wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ============================================================
   TRUST / CLIENT MARQUEE
   ============================================================ */
.marquee-wrap { background: var(--bg-soft); border-block: 1px solid var(--line); overflow: hidden; padding: 76px 0 30px; }
.marquee-label { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.marquee { display: flex; gap: 60px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .logo-item {
  display: flex; align-items: center; gap: 10px; color: var(--slate); font-weight: 800;
  font-size: 1.15rem; opacity: .55; transition: opacity .3s; letter-spacing: -.02em; white-space: nowrap;
}
.marquee .logo-item:hover { opacity: 1; color: var(--navy); }
.marquee .logo-item svg { width: 26px; height: 26px; color: var(--green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   FEATURE / INTRO
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); align-items: center; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--grad-brand); min-height: 420px; box-shadow: var(--shadow-lg);
}
.media-frame .mesh { position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.4) 0 2px, transparent 3px);
  background-size: 34px 34px; }
.media-frame .glyph { position: absolute; inset: 0; display: grid; place-items: center; }
.media-frame .glyph svg { width: 130px; height: 130px; color: rgba(255,255,255,.9); }
.media-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-badge {
  position: absolute; right: -18px; bottom: 34px; background: #fff; border-radius: 18px;
  padding: 20px 24px; box-shadow: var(--shadow-lg); text-align: center;
}
.exp-badge b { font-size: 2.4rem; color: var(--green-dark); display: block; line-height: 1; }
.exp-badge span { font-size: .82rem; color: var(--slate); font-weight: 600; }

.check-list { display: grid; gap: 14px; margin: 26px 0 30px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--slate); }
.check-list .tick {
  width: 24px; height: 24px; flex: none; border-radius: 50%; background: rgba(82,176,74,.16);
  color: var(--green-dark); display: grid; place-items: center; margin-top: 2px;
}
.check-list .tick svg { width: 14px; height: 14px; }
.check-list b { color: var(--ink); }

/* ============================================================
   ABOUT FEATURE (full-bleed split)
   ============================================================ */
.about-feature { width: 100%; margin-top: 80px; }
.af-wrap { text-align: center; }
.af-creds { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.af-cred {
  flex: 1 1 240px; max-width: 320px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 24px; box-shadow: var(--shadow-sm);
}
.af-cred img { height: 90px; width: auto; max-width: 180px; object-fit: contain; }
.af-cred span { font-size: .98rem; font-weight: 700; color: var(--navy); line-height: 1.3; letter-spacing: -.01em; }
.af-head { max-width: 880px; margin: clamp(44px, 5vw, 64px) auto 0; }
.af-title { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin-top: 12px; }
.af-body { max-width: 790px; margin: 26px auto 0; }
.af-text { color: var(--slate); font-size: 1.06rem; margin-bottom: 18px; }
.af-body .btn { margin-top: 10px; }
.af-media {
  margin-top: clamp(48px, 5vw, 72px);
  min-height: clamp(240px, 30vw, 380px);
  background-color: var(--navy);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { grid-template-columns: repeat(4, 1fr); }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--grad-green); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--navy); margin-bottom: 22px; transition: background .3s, color .3s;
}
.svc-ico svg { width: 30px; height: 30px; }
.svc-card:hover .svc-ico { background: var(--grad-brand); color: #fff; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc-card p { color: var(--slate); font-size: .95rem; margin-bottom: 18px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem;
  color: var(--green-dark); transition: gap .25s;
}
.svc-link:hover { gap: 13px; }
.svc-link svg { width: 16px; height: 16px; }

/* ---------- Services image tiles (home) ---------- */
.svc-tile {
  position: relative; display: block; overflow: hidden; border-radius: 16px;
  aspect-ratio: 3 / 4; background: var(--navy); box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.svc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.svc-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,20,38,.9) 0%, rgba(9,20,38,.35) 42%, rgba(9,20,38,0) 68%);
}
.svc-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-tile:hover img { transform: scale(1.06); }
.svc-tile-label {
  position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2;
  color: #fff; font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em;
  display: flex; align-items: center; gap: 8px;
}
.svc-tile-label svg { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.svc-tile:hover .svc-tile-label svg { opacity: 1; transform: none; }

/* ===== Service detail page hero ===== */
.svc-hero { padding: clamp(36px, 5vw, 72px) 0 0; }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.svc-hero .crumbs { color: var(--muted); margin-bottom: 18px; }
.svc-hero .crumbs a { color: var(--slate); }
.svc-hero .crumbs a:hover { color: var(--green-dark); }
.svc-hero .crumbs span { color: var(--navy); }
.svc-hero-copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); margin: 10px 0 18px; }
.svc-hero-copy .section-lead { margin-bottom: 28px; max-width: 560px; }
.svc-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.svc-hero-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-apps-media { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.svc-apps-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-media { order: -1; aspect-ratio: 16 / 10; }
}

/* Credentials / partnerships band (About) */
.cred-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cred-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.cred-item .cred-ic {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 13px;
  display: grid; place-items: center; background: var(--navy); color: #fff;
}
.cred-item .cred-ic svg { width: 26px; height: 26px; }
.cred-item b { display: block; color: var(--navy); font-size: 1.04rem; letter-spacing: -.01em; line-height: 1.25; }
.cred-item span { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; }
.cred-band.logos .cred-item { flex-direction: column; text-align: center; gap: 16px; padding: 30px 24px; }
.cred-band.logos .cred-logo { height: 66px; width: auto; max-width: 190px; object-fit: contain; }
.cred-item .cred-logo-ic { flex: 0 0 auto; width: 76px; height: 54px; border-radius: 11px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 7px; }
.cred-item .cred-logo-ic img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 900px) { .cred-band { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURED PRODUCTS CAROUSEL
   ============================================================ */
.pf-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.pf-nav { display: flex; gap: 10px; flex: none; }
.pf-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--navy); transition: background .25s, color .25s, border-color .25s;
}
.pf-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.pf-arrow svg { width: 20px; height: 20px; }
.pf-wrap { position: relative; }
.pf-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 4px 16px; scrollbar-width: none; -ms-overflow-style: none;
}
.pf-track::-webkit-scrollbar { display: none; }
.pf-card {
  flex: 0 0 calc(25% - 18px); scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pf-thumb { display: block; position: relative; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.pf-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .5s ease; }
.pf-card:hover .pf-thumb img { transform: scale(1.05); }
.pf-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(18,58,114,.92); color: #fff; font-size: .7rem; font-weight: 700;
  padding: 4px 11px; border-radius: 40px; letter-spacing: .02em;
}
.pf-body { padding: 20px 22px 24px; }
.pf-body h3 { font-size: 1.12rem; margin-bottom: 7px; }
.pf-body p { color: var(--slate); font-size: .9rem; margin-bottom: 16px; }
.pf-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--green-dark); }
.pf-btn svg { width: 16px; height: 16px; transition: transform .25s; }
.pf-btn:hover svg { transform: translateX(4px); }

/* Price + Add to Cart (featured products) */
.pf-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pf-price { font-size: 1.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.pf-learn { font-size: .82rem; font-weight: 700; color: var(--green-dark); }
.pf-learn:hover { text-decoration: underline; }
.pf-cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  padding: 12px 16px; border-radius: 50px; font-weight: 700; font-size: .9rem;
  background: var(--grad-green); color: #fff; box-shadow: 0 8px 18px rgba(82,176,74,.28);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.pf-cart svg { width: 18px; height: 18px; }
.pf-cart:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(82,176,74,.4); }
.pf-cart.is-added { background: var(--navy); box-shadow: var(--shadow-sm); }

/* ============================================================
   CART (icon + drawer + toast)
   ============================================================ */
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-soft); display: grid; place-items: center; color: var(--navy);
  transition: background .2s, color .2s; flex: none;
}
.cart-btn:hover { background: var(--navy); color: #fff; }
.cart-btn svg { width: 21px; height: 21px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 20px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid #fff;
}
.cart-badge[hidden] { display: none; }

.cart-overlay {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,31,63,.5);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 201; height: 100%; width: min(420px, 92vw);
  background: #fff; box-shadow: -20px 0 50px rgba(11,31,63,.2);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.15rem; }
.cart-head .cart-close { width: 38px; height: 38px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--slate); }
.cart-head .cart-close:hover { background: var(--navy); color: #fff; }
.cart-head .cart-close svg { width: 20px; height: 20px; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 22px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.cart-empty svg { width: 46px; height: 46px; color: var(--line); margin-bottom: 14px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-soft); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__info b { display: block; font-size: .95rem; color: var(--ink); }
.cart-item__info .ci-price { font-size: .84rem; color: var(--muted); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 50px; overflow: hidden; }
.ci-qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--navy); font-size: 1.1rem; line-height: 1; }
.ci-qty button:hover { background: var(--bg-soft); }
.ci-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; }
.ci-remove { font-size: .8rem; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.ci-remove:hover { color: #d33; }
.ci-remove svg { width: 15px; height: 15px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; }
.cart-sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cart-sub b { font-size: 1.25rem; color: var(--navy); }
.cart-foot small { color: var(--muted); font-size: .78rem; display: block; margin-bottom: 14px; }
.cart-foot .btn { width: 100%; justify-content: center; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1fbe5a; }
.btn-wa svg { width: 20px; height: 20px; }
.cart-foot .btn-wa { margin-top: 10px; }
.cart-foot .cart-continue { display: block; text-align: center; margin-top: 10px; font-size: .84rem; color: var(--slate); }
.cart-foot .cart-continue:hover { color: var(--navy); }

/* Add-to-cart toast */
.cart-toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 210; max-width: 320px;
  background: var(--navy); color: #fff; border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg);
  transform: translateY(20px); opacity: 0; visibility: hidden; transition: .3s;
}
.cart-toast.show { transform: none; opacity: 1; visibility: visible; }
.cart-toast .ct-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-green); display: grid; place-items: center; flex: none; }
.cart-toast .ct-ic svg { width: 18px; height: 18px; }
.cart-toast b { font-size: .9rem; }
.cart-toast small { display: block; color: rgba(255,255,255,.7); font-size: .78rem; }
.no-scroll { overflow: hidden; }

/* ============================================================
   SHOP — listing + product detail
   ============================================================ */
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; flex-wrap: wrap; }
.shop-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-chip { padding: 9px 18px; border-radius: 50px; font-weight: 700; font-size: .88rem; background: #fff; border: 1.5px solid var(--line); color: var(--slate); transition: background .2s, color .2s, border-color .2s; }
.shop-chip:hover { border-color: var(--green); color: var(--navy); }
.shop-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.shop-count { color: var(--muted); font-size: .9rem; font-weight: 600; }
.shop-grid { grid-template-columns: repeat(4, 1fr); }
.pf-price--req { font-size: 1rem; color: var(--green-dark); font-weight: 800; }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.pd-media { position: relative; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.pd-media img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.pd-info .pd-brand { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.pd-info h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 12px; }
.pd-short { color: var(--slate); font-size: 1.05rem; }
.pd-price { margin: 20px 0; }
.pd-price .pf-price { font-size: 1.7rem; }
.pd-price small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.pd-actions .pf-cart { width: auto; flex: 1; min-width: 190px; }
.pd-actions .btn { flex: none; }
.pd-block { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.pd-block h3 { font-size: 1.1rem; margin-bottom: 12px; }
.pd-block p { color: var(--slate); }
table.pd-specs { width: 100%; border-collapse: collapse; }
table.pd-specs tr { border-bottom: 1px solid var(--line); }
table.pd-specs th { text-align: left; padding: 11px 0; font-size: .9rem; color: var(--muted); font-weight: 600; width: 42%; vertical-align: top; }
table.pd-specs td { padding: 11px 0; font-size: .92rem; color: var(--ink); font-weight: 600; }

/* EasyIO Neo controllers table */
.neo-sub { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); margin: 0 0 12px; }
.neo-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); background: #fff; margin-bottom: 30px; }
.neo-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.neo-table th, .neo-table td { text-align: left; padding: 13px 18px; font-size: .9rem; }
.neo-table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.neo-table tbody tr { border-top: 1px solid var(--line); }
.neo-table tbody td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.neo-table tbody td { color: var(--slate); }
.neo-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.pd-note { color: var(--muted); font-size: .82rem; margin-top: 14px; }
.pd-related { margin-top: 60px; }
.pd-related .section-title { font-size: 1.5rem; margin-bottom: 28px; }
.prod-related { grid-template-columns: repeat(3, 1fr); }
#product-detail .crumbs { color: var(--muted); margin-bottom: 26px; }
#product-detail .crumbs a { color: var(--slate); }
#product-detail .crumbs a:hover { color: var(--green-dark); }
#product-detail .crumbs span { color: var(--navy); }

@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .pd-grid { grid-template-columns: 1fr; } .shop-grid, .prod-related { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shop-grid, .prod-related { grid-template-columns: 1fr; } }

/* ============================================================
   CATEGORIES
   ============================================================ */
.cat-band { background: var(--bg-soft); }
.cat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px; transition: transform .28s, box-shadow .28s;
}
.cat-chip:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-chip .ci {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(18,58,114,.08); color: var(--navy);
}
.cat-chip:hover .ci { background: var(--grad-green); color: #fff; }
.cat-chip .ci svg { width: 26px; height: 26px; }
.cat-chip b { font-size: 1rem; color: var(--ink); }
.cat-chip span { font-size: .86rem; color: var(--muted); }

/* ============================================================
   EXPERIENCE / STATS
   ============================================================ */
.stats-band {
  background: var(--grad-brand); color: #fff; position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: radial-gradient(circle at 85% 15%, rgba(82,176,74,.5), transparent 45%);
}
.stats-grid { grid-template-columns: repeat(4, 1fr); position: relative; z-index: 2; text-align: center; }
.stat-item b { font-size: clamp(3.2rem, 6.5vw, 5rem); display: block; letter-spacing: -.04em; color: #fff; }
.stat-item b .plus { color: var(--green); }
.stat-item > span { color: rgba(255,255,255,.75); font-weight: 600; font-size: .96rem; }
.stat-item { padding: 10px; border-right: 1px solid rgba(255,255,255,.14); }
.stat-item:last-child { border-right: none; }

/* ============================================================
   WHY CHOOSE / VALUE
   ============================================================ */
.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card {
  padding: 30px 26px; border-radius: var(--radius); background: var(--bg-soft);
  border: 1px solid transparent; transition: background .3s, border-color .3s, transform .3s;
}
.value-card:hover { background: #fff; border-color: var(--line); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .vi {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--green-dark); box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.value-card:hover .vi { background: var(--grad-green); color: #fff; }
.value-card .vi svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { color: var(--slate); font-size: .94rem; }

/* ============================================================
   TALK TO EXPERT
   ============================================================ */
.expert-band { background: var(--bg-soft); overflow: hidden; }
.expert-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 70px); align-items: center; }
.expert-photos { display: flex; gap: 18px; }
.expert-card {
  flex: 1; background: #fff; border-radius: 40px; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); transition: transform .35s;
}
.expert-card:hover { transform: translateY(-10px); }
.expert-card:nth-child(2) { margin-top: 34px; }
.expert-photo {
  aspect-ratio: 3/4; position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal) 100%);
  display: grid; place-items: end center; overflow: hidden;
}
.expert-photo svg.avatar { width: 82%; height: 92%; color: rgba(255,255,255,.9); }
.expert-photo img.avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.expert-photo .exp-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92);
  color: var(--navy); font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 40px;
}
.expert-info { padding: 18px 20px; text-align: center; }
.expert-info b { display: block; color: var(--ink); font-size: 1.02rem; }
.expert-info span { color: var(--muted); font-size: .84rem; }
.expert-info .socials { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.expert-info .socials a { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--slate); transition: .25s; }
.expert-info .socials a:hover { background: var(--green); color: #fff; }
.expert-info .socials svg { width: 15px; height: 15px; }

.expert-copy .contact-mini { display: grid; gap: 16px; margin: 26px 0 30px; }
.contact-mini a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.contact-mini a:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.contact-mini .cm-ic { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.contact-mini .cm-ic svg { width: 22px; height: 22px; }
.contact-mini small { display: block; color: var(--muted); font-size: .78rem; }
.contact-mini b { color: var(--ink); font-size: 1.02rem; }

/* ============================================================
   CLIENTS LOGO STRIP
   ============================================================ */
.clients-band { background: var(--bg-soft); }
.client-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; margin-top: 44px; }
.client-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.client-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--green); }
.client-logo img {
  max-width: 100%; width: 100%; height: 42px; object-fit: contain;
}
@media (max-width: 980px) { .client-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 720px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .client-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }

/* ============================================================
   QUOTE / CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 64px); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-strip::before { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(82,176,74,.4), transparent 70%); }
.cta-strip h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); position: relative; }
.cta-strip p { color: rgba(255,255,255,.8); margin-top: 8px; position: relative; }
.cta-strip .btn { position: relative; }

/* ============================================================
   PAGE HEADER (subpages)
   ============================================================ */
.page-hero {
  background: radial-gradient(900px 500px at 80% -20%, rgba(82,176,74,.25), transparent 60%),
              linear-gradient(135deg, var(--navy-900), var(--navy) 70%, var(--teal));
  color: #fff; padding: clamp(60px, 8vw, 96px) 0 clamp(70px, 9vw, 110px); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px; mask-image: radial-gradient(600px 400px at 80% 20%, #000, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 720px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.08rem; margin-top: 16px; max-width: 620px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--green); }
.crumbs span { color: var(--green); }

/* ============================================================
   ABOUT PAGE bits
   ============================================================ */
.mv-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
.mv-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.mv-card .mv-ic { width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; margin-bottom: 20px; }
.mv-card .mv-ic svg { width: 30px; height: 30px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.mv-card p { color: var(--slate); }

.timeline { position: relative; margin-top: 40px; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 62px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 11px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.tl-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.tl-item .yr { font-size: .82rem; font-weight: 800; color: var(--green-dark); letter-spacing: .05em; }
.tl-item p { color: var(--slate); font-size: .95rem; margin-top: 4px; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.prod-grid { grid-template-columns: repeat(3, 1fr); }
.prod-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.prod-thumb { aspect-ratio: 16/11; background: var(--grad-brand); position: relative; display: grid; place-items: center; overflow: hidden; }
.prod-thumb svg { width: 74px; height: 74px; color: rgba(255,255,255,.92); position: relative; z-index: 2; }
.prod-thumb::before { content: ""; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5) 0 2px, transparent 3px); background-size: 26px 26px; }
.prod-cat { position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(255,255,255,.92); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 40px; }
.prod-body { padding: 24px; }
.prod-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.prod-body p { color: var(--slate); font-size: .92rem; margin-bottom: 18px; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.contact-panels { display: grid; gap: 18px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card .ii { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.info-card .ii svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--slate); font-size: .95rem; }
.info-card a:hover { color: var(--green-dark); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.66); padding-top: clamp(56px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 46px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .92rem; line-height: 1.7; margin-bottom: 20px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: .25s; }
.footer-social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 { color: #fff; font-size: 1rem; margin-bottom: 20px; font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .93rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--green); padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s; z-index: 90; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green-dark); }
.to-top svg { width: 22px; height: 22px; }

/* WhatsApp float */
.wa-float { position: fixed; left: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); z-index: 90; transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; min-height: auto; padding-bottom: clamp(60px, 8vw, 90px); }
  .hero-motif { display: none; }
  .hero-quote { margin-left: 0; max-width: 480px; margin-bottom: 0; margin-top: 10px; }
  .marquee-wrap { padding-top: 34px; }
  .services-grid, .value-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .expert-grid, .contact-layout, .split { grid-template-columns: 1fr; }
  .expert-copy { order: -1; }
  .af-cred { flex-basis: 100%; max-width: 440px; margin-inline: auto; }
  .af-media { min-height: 260px; }
  .pf-card { flex-basis: calc(50% - 12px); }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone, .topbar-left span.hide-sm { display: none; }
  .burger { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 78px; left: 0; right: 0; background: #fff;
    padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open a { padding: 13px 16px; font-size: 1rem; }
  .nav-links.mobile-open .nav-item.has-mega { display: block; }
  .nav-links.mobile-open .nav-mega-trigger { padding: 13px 16px; font-size: 1rem; }
  .nav-links.mobile-open .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: auto; max-width: none; display: block; padding: 0 0 6px 12px;
    box-shadow: none; border: none; border-radius: 0;
  }
  .nav-links.mobile-open .mega-media { display: none; }
  .nav-links.mobile-open .mega-list a { padding: 10px 14px; font-size: .92rem; }
  .site-header { position: sticky; }
  .stats-band .stat-item { border-right: none; }
  .services-grid, .value-grid, .cat-grid, .prod-grid, .mv-grid { grid-template-columns: 1fr; }
  .expert-photos { flex-direction: row; }
  .expert-card:nth-child(2) { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge-float { left: 0; }
  .cta-strip { flex-direction: column; text-align: center; align-items: center; }
  .pf-card { flex-basis: 86%; }
  .pf-head { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .expert-photos { flex-direction: column; }
  .hero-stats { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   WordPress theme additions
   ============================================================ */
/* Product catalogue grid (archive & related) */
.product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .product-grid { grid-template-columns: 1fr; } }
.product-grid .pf-card { flex: none; }

/* Honeypot (anti-spam) — visually hidden, off-screen */
.alseel-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Form validation states */
.alseel-quote-form .is-invalid { border-color: #e06161 !important; box-shadow: 0 0 0 3px rgba(224,97,97,.14) !important; }
.alseel-quote-form .field-error { display: block; margin-top: 5px; font-size: .78rem; color: #c0392b; font-weight: 600; }
.alseel-quote-form button[data-loading] { opacity: .75; cursor: progress; }

/* Default post/page content typography */
.entry-content { color: var(--slate); line-height: 1.75; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); letter-spacing: -.02em; margin-top: 1.5em; }
.entry-content h3 { font-size: 1.3rem; color: var(--navy); margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .4em 0; }
.entry-content a { color: var(--green-dark); text-decoration: underline; }
.entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
