/* =====================================================================
   Q-LINE RESIN FLOORING LTD
   Design system + global styles
   Brand: royal blue + deep navy + silver on white
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand:        #1a5fd4;   /* primary royal blue (from logo) */
  --brand-dark:   #1149a8;
  --brand-deep:   #0e3c8c;
  --brand-light:  #3f82f0;
  --brand-50:     #eaf2ff;
  --brand-100:    #d7e6ff;

  --navy:         #0c2440;   /* dark sections */
  --navy-deep:    #081a30;
  --navy-soft:    #15314f;

  --silver:       #c2cad6;
  --silver-light: #e3e8f0;

  /* Neutrals */
  --ink:          #0f1d2e;   /* headings */
  --body:         #3a4759;   /* body text */
  --slate:        #5c6a7e;   /* muted */
  --line:         #e6eaf1;   /* borders */
  --bg:           #ffffff;
  --bg-soft:      #f5f8fc;   /* subtle section bg */
  --bg-softer:    #eef3f9;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container:    1200px;
  --container-wide: 1320px;
  --radius:       4px;
  --radius-lg:    4px;
  --radius-sm:    4px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(12,36,64,.06);
  --shadow:     0 14px 40px rgba(12,36,64,.10);
  --shadow-lg:  0 30px 70px rgba(12,36,64,.16);
  --shadow-blue:0 18px 44px rgba(26,95,212,.28);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .25s;
  --t: .45s;

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
input,textarea,select,button { font: inherit; color: inherit; }
h1,h2,h3,h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-wide { max-width: var(--container-wide); }
.section { padding: clamp(64px, 8vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 84px) 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #d9e2ee; }
.center { text-align: center; }
.mw-720 { max-width: 720px; }
.mw-640 { max-width: 640px; }
.mx-auto { margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); line-height: 1.7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow.center-line { justify-content: center; }
.bg-navy .eyebrow { color: var(--brand-light); }
.bg-navy .eyebrow::before { background: var(--brand-light); }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-top: 16px;
}
.section-head .lead { margin-top: 18px; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 4px; border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-3px); box-shadow: 0 22px 50px rgba(26,95,212,.36); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-3px); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), height var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 8px 30px rgba(12,36,64,.08);
  height: 70px;
  border-bottom-color: var(--line);
}
/* On pages with a dark hero, header text starts white */
.site-header.on-dark:not(.scrolled) .nav-links a,
.site-header.on-dark:not(.scrolled) .logo-word .lw-line,
.site-header.on-dark:not(.scrolled) .logo-sub { color: #fff; }
.site-header.on-dark:not(.scrolled) .nav-toggle span { background: #fff; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 13px; }
.logo-emblem { width: 46px; height: 46px; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word .lw-main {
  font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; letter-spacing: .01em;
}
.logo-word .lw-q { color: var(--brand); }
.logo-word .lw-line { color: var(--ink); transition: color var(--t) var(--ease); }
.logo-sub {
  font-family: var(--font-display); font-weight: 600; font-size: .56rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--slate);
  margin-top: 4px; transition: color var(--t) var(--ease);
}

/* Nav */
.nav { display: flex; align-items: center; gap: 36px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink);
  position: relative; padding: 6px 0; transition: color var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width var(--t-fast) var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.site-header.on-dark:not(.scrolled) .nav-links a[aria-current="page"] { color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: none; background: transparent;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; margin-inline: auto; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,20,38,.92) 0%, rgba(8,20,38,.74) 42%, rgba(8,20,38,.38) 100%),
    linear-gradient(0deg, rgba(8,20,38,.6), rgba(8,20,38,0) 40%);
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; font-weight: 800; }
.hero h1 .accent { color: var(--brand-light); }
.hero .lead { color: rgba(233,240,250,.86); margin-top: 22px; max-width: 600px; font-size: clamp(1.08rem,1.7vw,1.28rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 9px 18px; border-radius: 4px; font-family: var(--font-display);
  font-weight: 500; font-size: .9rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #46d39a; box-shadow: 0 0 0 4px rgba(70,211,154,.25); }

/* hero stat strip */
.hero-stats {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: clamp(28px,5vw,72px);
  margin-top: clamp(46px,6vw,68px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero-stats .hs-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem,3.4vw,2.6rem); color: #fff; line-height: 1; }
.hero-stats .hs-num .unit { color: var(--brand-light); }
.hero-stats .hs-label { font-size: .92rem; color: rgba(233,240,250,.72); margin-top: 8px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.6); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-display);
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.4); border-radius: 4px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; background: #fff; border-radius: 3px; transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0%{opacity:0; transform: translate(-50%,0);} 30%{opacity:1;} 100%{opacity:0; transform: translate(-50%,12px);} }

/* ---------- Reveal animations ---------- */
/* Hidden initial state applies only when JS is active (html.js-anim), so the
   site stays fully visible with JavaScript disabled. */
.js-anim .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal.fade-left { transform: translateX(-40px); }
.reveal.fade-right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in-view { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }

/* ---------- Trust / logos strip ---------- */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(20px,4vw,54px); }
.trust-label { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.trust-item { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #aab4c2; letter-spacing: .02em; transition: color var(--t-fast); }
.trust-item:hover { color: var(--navy); }

/* ---------- Intro split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.split-media:hover .frame img { transform: scale(1.06); }
.split-media .frame.tall { aspect-ratio: 4/4.6; }
.split-media .frame.wide { aspect-ratio: 4/3; }
.split-content h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.split-content p + p { margin-top: 16px; }
.split-content .lead { margin: 18px 0 22px; }

/* floating accent card on media */
.media-badge {
  position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.media-badge.bl { left: -22px; bottom: 30px; }
.media-badge.br { right: -22px; bottom: 30px; }
.media-badge .mb-icon { width: 46px; height: 46px; border-radius: 4px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.media-badge .mb-icon svg { width: 24px; height: 24px; }
.media-badge .mb-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.media-badge .mb-text { font-size: .82rem; color: var(--slate); margin-top: 3px; }

/* decorative hexagon dot grid */
.hex-accent { position: absolute; width: 130px; height: 130px; opacity: .5; z-index: -1; color: var(--brand-100);
  background-image: radial-gradient(currentColor 2px, transparent 2px); background-size: 18px 18px; }

/* ---------- Feature list (ticks) ---------- */
.tick-list { display: grid; gap: 14px; margin-top: 8px; }
.tick-list li { display: flex; align-items: flex-start; gap: 13px; color: var(--body); }
.tick-list li .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-top: 2px; }
.tick-list li .tick svg { width: 14px; height: 14px; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
  position: relative; overflow: hidden;
}
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--brand); transition: width var(--t) var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { width: 100%; }
.svc-icon { width: 58px; height: 58px; border-radius: 4px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; transition: background var(--t), color var(--t), transform var(--t) var(--ease); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc-card p { font-size: .98rem; color: var(--slate); }
.svc-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-family: var(--font-display); font-weight: 600; font-size: .92rem; }
.svc-link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.svc-card:hover .svc-link svg { transform: translateX(5px); }

/* compact services chips (full list) */
.svc-chips { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.svc-chip {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast), border-color var(--t-fast);
}
.svc-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.svc-chip .num { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--brand); width: 30px; flex: none; }
.svc-chip h4 { font-size: 1.02rem; color: var(--ink); font-weight: 600; }

/* ---------- Why / feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.feat-card { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.bg-navy .feat-card { background: var(--navy-soft); border-color: rgba(255,255,255,.08); }
.feat-icon { width: 54px; height: 54px; border-radius: 4px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; }
.bg-navy .feat-icon { background: rgba(63,130,240,.16); color: var(--brand-light); }
.feat-icon svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.feat-card p { font-size: .95rem; color: var(--slate); }
.bg-navy .feat-card p { color: #aebccd; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat .stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,4vw,3.2rem); color: var(--ink); line-height: 1; }
.bg-navy .stat .stat-num { color: #fff; }
.stat .stat-num .unit { color: var(--brand); }
.bg-navy .stat .stat-num .unit { color: var(--brand-light); }
.stat .stat-label { margin-top: 10px; color: var(--slate); font-size: .98rem; }
.bg-navy .stat .stat-label { color: #aebccd; }

/* ---------- Global reach ---------- */
.reach-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.reach-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 4px;
  background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.reach-chip:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand); }
.reach-chip svg { width: 16px; height: 16px; color: var(--brand); }
.bg-navy .reach-chip { background: var(--navy-soft); border-color: rgba(255,255,255,.1); color: #dce6f2; }
.bg-navy .reach-chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.bg-navy .reach-chip:hover svg { color: #fff; }

/* ---------- Project / case study cards ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.proj-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/11; display: block; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.proj-card:hover img { transform: scale(1.08); }
.proj-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,38,.9) 0%, rgba(8,20,38,.25) 50%, rgba(8,20,38,0) 100%); }
.proj-meta { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 30px; color: #fff; width: 100%; }
.proj-meta .tag { display: inline-block; font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--brand); padding: 6px 12px; border-radius: 4px; margin-bottom: 14px; }
.proj-meta h3 { color: #fff; font-size: 1.5rem; }
.proj-meta p { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: 6px; }
.proj-arrow { position: absolute; top: 24px; right: 24px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; transition: background var(--t), transform var(--t) var(--ease); }
.proj-card:hover .proj-arrow { background: var(--brand); transform: rotate(-45deg); }
.proj-arrow svg { width: 20px; height: 20px; }

/* ---------- Case study (project detail) ---------- */
.cs-hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }
.cs-hero-meta .csm { }
.cs-hero-meta .csm .k { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--font-display); font-weight: 600; }
.cs-hero-meta .csm .v { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-top: 6px; }

.cs-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.cs-block + .cs-block { margin-top: clamp(56px,7vw,100px); }
.cs-block.reverse .cs-media { order: 2; }
.cs-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.cs-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.cs-media:hover img { transform: scale(1.05); }
.cs-step { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--brand); letter-spacing: .04em; margin-bottom: 14px; }
.cs-step .n { width: 34px; height: 34px; border-radius: 4px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.cs-block h3 { font-size: clamp(1.5rem,2.6vw,2rem); margin-bottom: 16px; }

.outcome-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 12px; }
.outcome { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.outcome:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.outcome .o-icon { width: 48px; height: 48px; border-radius: 4px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.outcome h4 { font-size: 1.05rem; margin-bottom: 6px; }
.outcome p { font-size: .92rem; color: var(--slate); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 0; padding: clamp(60px,8vw,110px) 0; color: #fff; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,33,60,.96), rgba(14,60,140,.82)); }
.cta-inner { position: relative; z-index: 2; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #fff; font-size: clamp(2rem,4vw,3.1rem); }
.cta-inner p { color: rgba(233,240,250,.85); margin: 18px auto 32px; font-size: 1.1rem; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* rounded card variant for CTA (used inside container) */
.cta-card { border-radius: var(--radius-lg); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 70px) 0 clamp(60px,7vw,96px); color: #fff; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,38,.94) 10%, rgba(8,20,38,.7) 60%, rgba(14,60,140,.55) 100%); }
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem,5vw,3.8rem); }
.page-hero .lead { color: rgba(233,240,250,.85); margin-top: 18px; max-width: 640px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 20px; font-family: var(--font-display); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact-info .ci-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:first-child { padding-top: 0; }
.ci-icon { width: 52px; height: 52px; flex: none; border-radius: 4px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.ci-icon svg { width: 24px; height: 24px; }
.ci-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.ci-item p, .ci-item a { color: var(--slate); font-size: .98rem; }
.ci-item a:hover { color: var(--brand); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,3.5vw,42px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(26,95,212,.12); }
.field.error input, .field.error textarea { border-color: #e0506b; box-shadow: 0 0 0 4px rgba(224,80,107,.1); }
.field .err-msg { display: none; color: #d23b58; font-size: .82rem; margin-top: 6px; }
.field.error .err-msg { display: block; }
.form-note { font-size: .84rem; color: var(--slate); margin-top: 6px; }
.form-success {
  display: none; text-align: center; padding: 30px 20px;
}
.form-success.show { display: block; animation: pop .5s var(--ease-out); }
.form-success .fs-icon { width: 70px; height: 70px; border-radius: 50%; background: #e7f8f0; color: #19b378; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-icon svg { width: 36px; height: 36px; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.btn-block { width: 100%; justify-content: center; }

/* map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* ---------- FAQ / accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq-q .icn { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; transition: transform var(--t) var(--ease), background var(--t), color var(--t); }
.faq-q .icn svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .icn { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding: 0 0 24px; color: var(--slate); }

/* ---------- Review / testimonial ---------- */
.review { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px,5vw,72px); align-items: center; }
.review-media { position: relative; }
.review-media .frame { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-lg); }
.review-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.4; display: block; transition: transform 1.1s var(--ease-out); }
.review-media:hover .frame img { transform: scale(1.05); }
.stars { display: inline-flex; gap: 5px; margin-bottom: 22px; }
.stars svg { width: 25px; height: 25px; color: #f5a623; }
.review-mark { width: 44px; height: 44px; color: var(--brand-100); margin-bottom: 6px; display: block; }
.review-quote { margin: 0; padding: 0; border: none; }
.review-quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.12rem,1.7vw,1.4rem); line-height: 1.62; color: var(--ink); letter-spacing: -.01em; }
.review-quote p + p { margin-top: 18px; font-family: var(--font-body); font-weight: 400; font-size: clamp(1rem,1.4vw,1.08rem); line-height: 1.75; color: var(--body); letter-spacing: 0; }
.review-by { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.review-avatar { width: 56px; height: 56px; border-radius: 4px; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: .05em; flex: none; }
.review-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.review-role { color: var(--slate); font-size: .92rem; margin-top: 3px; }
.review-card { max-width: 900px; margin: clamp(40px,6vw,60px) auto 0; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px,4vw,46px); }
.review-card blockquote { margin: 0; padding: 0; border: none; }
.review-card blockquote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.06rem,1.5vw,1.28rem); line-height: 1.64; color: var(--ink); letter-spacing: -.01em; }
.review-card blockquote p + p { margin-top: 16px; font-family: var(--font-body); font-weight: 400; font-size: clamp(1rem,1.3vw,1.06rem); line-height: 1.75; color: var(--body); letter-spacing: 0; }
@media (max-width: 860px) {
  .review { grid-template-columns: 1fr; }
  .review-media { max-width: 560px; margin-inline: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0c4; padding: clamp(56px,7vw,88px) 0 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-word .lw-line { color: #fff; }
.footer-brand .logo-sub { color: #7e90a6; }
.footer-logo-link { display: inline-block; }
.footer-logo { width: 210px; max-width: 70%; height: auto; border-radius: 4px; }
.footer-brand p { margin-top: 20px; font-size: .96rem; max-width: 320px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 42px; height: 42px; border-radius: 4px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #b9c6d6; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); }
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-social a svg { width: 19px; height: 19px; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; font-family: var(--font-display); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .96rem; transition: color var(--t-fast), padding var(--t-fast); }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; margin-bottom: 14px; }
.footer-contact li svg { width: 18px; height: 18px; color: var(--brand-light); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; padding: 26px 0; font-size: .88rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-blue); border: none; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all var(--t) var(--ease); z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-dark); transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid, .feat-grid, .stats-band, .outcome-grid { grid-template-columns: repeat(2,1fr); }
  .svc-chips { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { gap: 22px; }
}
/* mobile drawer contact footer — hidden on desktop, shown inside the drawer */
.nav-foot { display: none; }

/* header turns solid while the mobile menu is open (keeps logo + close X legible) */
.site-header.menu-open { background: rgba(255,255,255,.97); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 8px 30px rgba(12,36,64,.08); border-bottom-color: var(--line); }
.site-header.menu-open .logo-word .lw-line { color: var(--ink) !important; }
.site-header.menu-open .logo-sub { color: var(--slate) !important; }
.site-header.menu-open .nav-toggle span { background: var(--ink) !important; }

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: flex; }

  /* slide-in drawer, sits just below the header bar */
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto;
    width: min(86vw, 330px); background: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 12px 0 26px; gap: 0;
    transform: translateX(104%);
    transition: transform .42s var(--ease-out);
    box-shadow: -24px 0 70px rgba(12,36,64,.22);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.open { transform: translateX(0); }

  /* section label at the top of the drawer */
  .nav::before {
    content: "Menu"; flex: none;
    font-family: var(--font-display); font-weight: 700; font-size: .74rem;
    letter-spacing: .18em; text-transform: uppercase; color: var(--slate);
    padding: 4px 20px 12px; border-bottom: 1px solid var(--line);
  }

  /* links */
  .nav-links { flex-direction: column; align-items: stretch; gap: 3px; width: 100%; padding: 14px 12px 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: 4px; border-bottom: none;
    font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink);
    transition: background .2s var(--ease), color .2s, padding-left .2s var(--ease);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a:focus-visible { background: var(--bg-soft); color: var(--brand); padding-left: 20px; }
  .nav-links a[aria-current="page"] { background: var(--brand-50); color: var(--brand); }
  .site-header.on-dark:not(.scrolled) .nav-links a { color: var(--ink); }
  .site-header.on-dark:not(.scrolled) .nav-links a[aria-current="page"] { color: var(--brand); }

  /* CTA */
  .nav .btn { margin: 16px 16px 0; width: calc(100% - 32px); justify-content: center; }

  /* quick contact links */
  .nav-foot { display: grid; gap: 14px; margin: 20px 16px 0; padding: 18px 14px 0; border-top: 1px solid var(--line); }
  .nav-foot a { display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: .95rem; font-weight: 500; }
  .nav-foot a:hover { color: var(--brand); }
  .nav-foot svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

  /* staggered entrance when the drawer opens */
  .nav-links li, .nav .btn, .nav-foot { opacity: 0; transform: translateX(16px); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
  .nav.open .nav-links li { opacity: 1; transform: none; }
  .nav.open .nav-links li:nth-child(1) { transition-delay: .08s; }
  .nav.open .nav-links li:nth-child(2) { transition-delay: .13s; }
  .nav.open .nav-links li:nth-child(3) { transition-delay: .18s; }
  .nav.open .nav-links li:nth-child(4) { transition-delay: .23s; }
  .nav.open .nav-links li:nth-child(5) { transition-delay: .28s; }
  .nav.open .btn { opacity: 1; transform: none; transition-delay: .32s; }
  .nav.open .nav-foot { opacity: 1; transform: none; transition-delay: .38s; }

  .nav-backdrop { position: fixed; inset: 0; background: rgba(8,20,38,.5); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease); z-index: 96; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .split, .cs-block, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media, .cs-block.reverse .cs-media { order: 0; }
  .split-media { max-width: 560px; margin-inline: auto; }
  .media-badge.bl { left: 16px; } .media-badge.br { right: 16px; }
  .outcome-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .container { padding-inline: 18px; }
  .svc-grid, .feat-grid, .stats-band, .svc-chips, .proj-grid, .outcome-grid, .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px 32px; }
  .logo-word .lw-main { font-size: 1.2rem; }
  .logo-emblem { width: 40px; height: 40px; }
  .media-badge { padding: 14px 16px; }
  .btn { width: 100%; justify-content: center; }
  .hero-cta .btn, .cta-actions .btn { width: auto; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg img { animation: none; }
}
