/* ==========================================================================
   Protectors International Limited — Corporate Stylesheet
   1. Variables      5. Hero          9.  Why / Industries
   2. Global         6. Sections      10. CTA / Contact
   3. Typography     7. Services      11. Footer
   4. Navbar         8. Process       12. Animations & Responsive
   ========================================================================== */

/* 1. VARIABLES ----------------------------------------------------------- */
:root {
  --primary-red: #b3121b;
  --red-deep: #8c0d15;
  --red-soft: rgba(179, 18, 27, 0.08);
  --primary-blue: #123a6b;
  --deep-navy: #071a33;
  --navy-800: #0c2445;
  --white: #ffffff;
  --text-dark: #10151c;
  --text-body: #39424e;
  --text-muted: #6b7684;
  --light-bg: #f5f7fa;
  --line: #e3e8ef;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;

  --shadow-sm: 0 1px 2px rgba(7, 26, 51, 0.06);
  --shadow-md: 0 12px 30px -12px rgba(7, 26, 51, 0.18);
  --shadow-lg: 0 34px 70px -30px rgba(7, 26, 51, 0.38);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 4px;
  --nav-h: 88px;
}

/* 2. GLOBAL -------------------------------------------------------------- */
* { -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--primary-red); color: #fff; }

a { color: var(--primary-blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--primary-red); }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--deep-navy); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

.container-xxl { max-width: 1320px; }

.section { padding: 7rem 0; }
.section--tight { padding: 5rem 0; }
.section--light { background: var(--light-bg); }
.section--navy { background: var(--deep-navy); color: rgba(255,255,255,.76); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* 3. TYPOGRAPHY ---------------------------------------------------------- */
h1, h2, h3, h4, h5, .display-title {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
h2 { font-size: clamp(2rem, 3.4vw, 3.05rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.25; }
p { margin-bottom: 1rem; }
.lead-text { font-size: clamp(1.02rem, 1.2vw, 1.18rem); color: var(--text-muted); line-height: 1.75; }
.section--navy .lead-text { color: rgba(255,255,255,.7); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary-red); margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--primary-red); display: block;
}
.section--navy .eyebrow { color: #ff6b74; }
.section--navy .eyebrow::before { background: #ff6b74; }

.rule-accent { width: 56px; height: 3px; background: var(--primary-red); border: 0; opacity: 1; margin: 1.75rem 0 0; }

/* 4. BUTTONS ------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: .95rem 1.75rem; border-radius: var(--radius);
  transition: all .3s var(--ease); border-width: 1px;
}
.btn-red {
  background: var(--primary-red); color: #fff; border-color: var(--primary-red);
  box-shadow: 0 10px 24px -14px rgba(179, 18, 27, .9);
}
.btn-red:hover, .btn-red:focus {
  background: var(--red-deep); border-color: var(--red-deep); color: #fff;
  transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(179, 18, 27, .95);
}
.btn-outline-navy { background: transparent; color: var(--deep-navy); border: 1px solid rgba(7,26,51,.28); }
.btn-outline-navy:hover { background: var(--deep-navy); border-color: var(--deep-navy); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { background: #fff; color: var(--deep-navy); border-color: #fff; transform: translateY(-2px); }
.btn-lg-c { padding: 1.05rem 2.1rem; font-size: .95rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .9rem; color: var(--primary-red);
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* 5. NAVBAR -------------------------------------------------------------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  padding: 1.35rem 0;
  background: transparent;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  padding: .7rem 0;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(7,26,51,.6);
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 3px;
  background: var(--primary-red);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1rem; letter-spacing: -.03em;
}
.brand-text { line-height: 1.15; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em;
  color: #fff; display: block; transition: color .35s var(--ease);
}
.brand-sub {
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); transition: color .35s var(--ease);
}
.is-scrolled .brand-name { color: var(--deep-navy); }
.is-scrolled .brand-sub { color: var(--text-muted); }

.nav-link-c {
  font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.82);
  padding: .5rem 0; margin: 0 1rem; position: relative;
  transition: color .3s var(--ease);
}
.nav-link-c::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--primary-red); transition: width .3s var(--ease);
}
.nav-link-c:hover, .nav-link-c.active { color: #fff; }
.nav-link-c:hover::after, .nav-link-c.active::after { width: 100%; }
.is-scrolled .nav-link-c { color: var(--text-body); }
.is-scrolled .nav-link-c:hover, .is-scrolled .nav-link-c.active { color: var(--deep-navy); }

.nav-toggle {
  width: 46px; height: 40px; border: 1px solid rgba(255,255,255,.35); background: transparent;
  border-radius: var(--radius); display: grid; place-items: center; gap: 5px; padding: 9px 11px;
  transition: border-color .3s var(--ease);
}
.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span { display: block; width: 100%; height: 1.5px; background: #fff; transition: all .3s var(--ease); }
.is-scrolled .nav-toggle span { background: var(--deep-navy); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: 0; z-index: 1029;
  background: var(--deep-navy);
  padding: calc(var(--nav-h) + 1rem) 1.75rem 2.5rem;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.mobile-panel.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-panel a.m-link {
  display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: #fff; padding: .7rem 0; border-bottom: 1px solid var(--line-dark);
}
.mobile-panel a.m-link:hover { color: #ff6b74; padding-left: .5rem; }
.mobile-meta { color: rgba(255,255,255,.55); font-size: .85rem; margin-top: 2rem; }

/* 6. HERO ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem; overflow: hidden;
  background: var(--deep-navy);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,20,38,.95) 0%, rgba(7,20,38,.85) 34%, rgba(7,20,38,.42) 66%, rgba(7,20,38,.22) 100%),
    linear-gradient(180deg, rgba(7,20,38,.75) 0%, transparent 30%, rgba(7,20,38,.6) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.03; letter-spacing: -.035em; margin-bottom: 1.6rem;
}
.hero h1 em { font-style: normal; color: #ff5d68; }
.hero-sub { color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.25vw, 1.16rem); max-width: 40rem; }
.hero-eyebrow { color: rgba(255,255,255,.7); }
.hero-eyebrow::before { background: var(--primary-red); }

.hero-loc {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.hero-loc i { color: var(--primary-red); }

.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
}
.hero-card .label {
  display: block;
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: #ff6b74; font-weight: 600;
}
.hero-card .value { font-family: var(--font-display); color: #fff; font-weight: 600; font-size: 1.05rem; margin-top: .35rem; }
.hero-card .chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.hero-card .chips span {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.2);
  padding: .3rem .6rem; border-radius: 2px;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.55); font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase; text-align: center;
}
.scroll-cue .line {
  width: 1px; height: 46px; margin: .7rem auto 0; background: rgba(255,255,255,.25); position: relative; overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--primary-red); animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 100% { top: 100%; } }

/* 7. CREDIBILITY STRIP --------------------------------------------------- */
.cred { background: var(--white); border-bottom: 1px solid var(--line); }
.cred-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.cred-item {
  padding: 2.4rem 1.6rem; border-right: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.cred-item:last-child { border-right: 0; }
.cred-item:hover { background: var(--light-bg); }
.cred-item i { font-size: 1.35rem; color: var(--primary-red); display: block; margin-bottom: .9rem; transition: transform .35s var(--ease); }
.cred-item:hover i { transform: translateY(-3px); }
.cred-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.cred-item p { font-size: .84rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* 8. ABOUT --------------------------------------------------------------- */
.img-frame { position: relative; overflow: hidden; border-radius: var(--radius); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.img-frame:hover img { transform: scale(1.045); }
.img-frame--tall { aspect-ratio: 4 / 5; }
.img-accent-bar { position: absolute; left: 0; bottom: 0; width: 6px; height: 42%; background: var(--primary-red); z-index: 2; }

.about-note {
  border-left: 2px solid var(--primary-red);
  padding: .35rem 0 .35rem 1.25rem;
  color: var(--text-dark); font-weight: 500;
}
.pill-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.5rem; }
.pill-list li { display: flex; gap: .65rem; font-size: .92rem; color: var(--text-body); align-items: flex-start; }
.pill-list i { color: var(--primary-red); font-size: .95rem; margin-top: .22rem; }

/* 9. SERVICES ------------------------------------------------------------ */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-btn {
  width: 100%; text-align: left; background: transparent; border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 1.15rem .25rem; display: flex; align-items: baseline; gap: 1.1rem;
  color: rgba(255,255,255,.6); transition: all .35s var(--ease); position: relative;
}
.svc-btn .num { font-size: .74rem; letter-spacing: .14em; font-weight: 600; color: rgba(255,255,255,.35); transition: color .35s var(--ease); }
.svc-btn .name { font-family: var(--font-display); font-size: clamp(1.02rem, 1.45vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; }
.svc-btn::before {
  content: ""; position: absolute; left: -1.5rem; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; background: var(--primary-red); transition: height .35s var(--ease);
}
.svc-btn:hover { color: #fff; padding-left: .7rem; }
.svc-btn.active { color: #fff; }
.svc-btn.active .num { color: #ff6b74; }
.svc-btn.active::before { height: 62%; }

.svc-panel {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius); overflow: hidden;
}
.svc-panel-img { aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--navy-800); }
.svc-panel-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-panel-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,51,.15), rgba(7,26,51,.6)); }
.svc-panel-body { padding: 2rem 2.1rem 2.25rem; }
.svc-panel-body h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin-bottom: .85rem; }
.svc-panel-body p { color: rgba(255,255,255,.72); margin-bottom: 1.35rem; }
.svc-icon {
  width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 3px;
  display: grid; place-items: center; color: #ff6b74; font-size: 1.1rem; margin-bottom: 1.25rem;
}
.fade-swap { animation: fadeSwap .45s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Mobile accordion */
.svc-accordion .acc-item { border-bottom: 1px solid var(--line-dark); }
.svc-accordion .acc-head {
  width: 100%; background: transparent; border: 0; color: #fff; text-align: left;
  padding: 1.1rem .2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.svc-accordion .acc-head .num { font-size: .72rem; color: #ff6b74; letter-spacing: .14em; display: block; margin-bottom: .25rem; font-family: var(--font-body); }
.svc-accordion .acc-head i { transition: transform .3s var(--ease); color: rgba(255,255,255,.6); }
.svc-accordion .acc-head[aria-expanded="true"] i { transform: rotate(45deg); }
.svc-accordion .acc-body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.svc-accordion .acc-body-inner { padding: 0 .2rem 1.5rem; color: rgba(255,255,255,.72); font-size: .93rem; }
.svc-accordion .acc-body img { width: 100%; border-radius: var(--radius); margin-bottom: 1rem; }

/* 10. PROCESS ------------------------------------------------------------ */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-track::before {
  content: ""; position: absolute; top: 21px; left: 0; right: 0; height: 1px; background: var(--line);
}
.p-step { padding: 0 1.5rem 0 0; position: relative; }
.p-step .dot {
  width: 42px; height: 42px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--primary-blue);
  position: relative; z-index: 2; transition: all .4s var(--ease);
}
.p-step:hover .dot, .p-step.in-view .dot { background: var(--primary-red); border-color: var(--primary-red); color: #fff; }
.p-step h3 { font-size: 1.02rem; margin: 1.4rem 0 .5rem; }
.p-step p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* 11. WHY ---------------------------------------------------------------- */
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 2rem; height: 100%; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.why-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--primary-red);
  transition: width .45s var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::after { width: 100%; }
.why-card i { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 1.1rem; display: block; }
.why-card h3 { font-size: 1.08rem; margin-bottom: .6rem; }
.why-card p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* 12. INDUSTRIES --------------------------------------------------------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.ind-tile {
  border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding: 2.1rem 1.6rem; min-height: 158px; display: flex; flex-direction: column; justify-content: space-between;
  transition: background .4s var(--ease); position: relative;
}
.ind-tile:hover { background: rgba(255,255,255,.05); }
.ind-tile i { font-size: 1.3rem; color: #ff6b74; }
.ind-tile h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.ind-tile span { font-size: .78rem; color: rgba(255,255,255,.5); display: block; margin-top: .3rem; }

/* 13. KAMPALA ------------------------------------------------------------ */
.kampala { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.kampala img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kampala::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,26,51,.95) 0%, rgba(7,26,51,.82) 45%, rgba(7,26,51,.35) 100%);
}
.kampala .container-xxl { position: relative; z-index: 2; }
.kampala h2, .kampala p { color: #fff; }
.kampala p { color: rgba(255,255,255,.76); }

/* 14. CTA ---------------------------------------------------------------- */
.cta-band { background: var(--primary-blue); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -8%; top: -40%; width: 46%; height: 180%;
  background: var(--primary-red); transform: skewX(-14deg); opacity: .92;
}
.cta-band::after {
  content: ""; position: absolute; right: 30%; top: -40%; width: 6%; height: 180%;
  background: rgba(255,255,255,.06); transform: skewX(-14deg);
}
.cta-band .container-xxl { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.1vw, 2.75rem); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 46ch; }

/* 15. CONTACT ------------------------------------------------------------ */
.contact-item { display: flex; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.contact-item:first-of-type { border-top: 1px solid var(--line); }
.contact-item i { color: var(--primary-red); font-size: 1.1rem; margin-top: .2rem; }
.contact-item .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.contact-item .v { font-family: var(--font-display); font-weight: 600; color: var(--text-dark); font-size: 1rem; }

.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-md); }
.form-label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-bottom: .45rem; }
.form-control, .form-select {
  border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem;
  font-size: .95rem; color: var(--text-dark); background: #fdfdfe;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(18,58,107,.1); background: #fff;
}
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--primary-red); box-shadow: none; }
.invalid-feedback { font-size: .8rem; color: var(--primary-red); }
.field-hint { font-size: .76rem; color: var(--text-muted); margin-top: .35rem; }
.form-note { font-size: .8rem; color: var(--text-muted); }
.form-status { display: none; padding: .9rem 1.1rem; border-radius: var(--radius); font-size: .9rem; margin-top: 1.25rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(18,58,107,.07); color: var(--primary-blue); border: 1px solid rgba(18,58,107,.2); }
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.form-check-input:checked { background-color: var(--primary-red); border-color: var(--primary-red); }

/* 16. FOOTER ------------------------------------------------------------- */
.site-footer { background: var(--deep-navy); color: rgba(255,255,255,.62); padding: 5rem 0 0; }
.site-footer h4 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.4rem; }
.site-footer a { color: rgba(255,255,255,.62); font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 4rem; padding: 1.5rem 0; font-size: .82rem; }
.footer-desc { font-size: .93rem; max-width: 34ch; }

.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 1020;
  width: 46px; height: 46px; border-radius: 3px; border: 0;
  background: var(--deep-navy); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s var(--ease); box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-red); }

/* 17. ANIMATIONS --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 18. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .cred-item:nth-child(3) { border-right: 0; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .section { padding: 5rem 0; }
  :root { --nav-h: 76px; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 4.5rem) 0 5rem; }
  .hero-media img { object-position: 65% 30%; }
  .process-track { grid-template-columns: 1fr; gap: 2rem; }
  .process-track::before { top: 0; bottom: 0; left: 20px; right: auto; width: 1px; height: auto; }
  .p-step { padding: 0 0 0 0; display: grid; grid-template-columns: 42px 1fr; gap: 1.25rem; align-items: start; }
  .p-step h3 { margin-top: .35rem; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cred-item:nth-child(2n) { border-right: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .form-panel { padding: 1.75rem; }
  .cta-band::before { display: none; }
}
@media (max-width: 575.98px) {
  .section { padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
  .cred-grid { grid-template-columns: 1fr; }
  .cred-item { border-right: 0 !important; padding: 1.75rem 0; }
  .ind-grid { grid-template-columns: 1fr; }
  .pill-list { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-inline-auto { width: auto; }
  .form-panel { padding: 1.35rem; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   19. SUBPAGES — page hero, service details, sector cards
   ========================================================================== */

/* Page hero banner --------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--deep-navy);
  padding: calc(var(--nav-h) + 5.5rem) 0 4.75rem;
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; right: -6%; top: -55%;
  width: 34%; height: 200%;
  background: var(--primary-red); transform: skewX(-14deg); opacity: .16;
}
.page-hero::after {
  content: ""; position: absolute; right: 24%; top: -55%;
  width: 5%; height: 200%;
  background: rgba(255,255,255,.05); transform: skewX(-14deg);
}
.page-hero .container-xxl { position: relative; z-index: 2; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  line-height: 1.05; letter-spacing: -.03em;
}
.page-hero h1 em { font-style: normal; color: #ff5d68; }
.page-hero .lead-text { color: rgba(255,255,255,.75); max-width: 46rem; margin-bottom: 0; }
.page-hero .eyebrow { color: #ff6b74; }
.page-hero .eyebrow::before { background: #ff6b74; }

/* Check lists ---------------------------------------------------------------- */
.check-list {
  list-style: none; padding: 0; margin: 1.25rem 0 0;
  display: grid; gap: .65rem;
}
.check-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .95rem; color: var(--text-body); line-height: 1.55;
}
.check-list li i { color: var(--primary-red); font-size: .95rem; margin-top: .28rem; flex: none; }
.check-list--light li { color: rgba(255,255,255,.78); }

.why-card .check-list { margin-top: 1rem; gap: .5rem; }
.why-card .check-list li { font-size: .86rem; color: var(--text-muted); }

.sub-head {
  margin: 2.25rem 0 0;
  font-family: var(--font-body); font-weight: 600;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Service detail rows (services.html) --------------------------------------- */
.svc-detail {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.svc-detail:last-of-type { border-bottom: 0; }
.svc-detail--alt { background: var(--light-bg); }
.num-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary-red); margin-bottom: 1rem;
}
.num-badge i { font-size: 1rem; }
.svc-detail h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  letter-spacing: -.02em; margin-bottom: 0;
}
.svc-detail-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-md);
}
.svc-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.svc-detail-media:hover img { transform: scale(1.04); }

.svc-panel-links { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; }

/* Sector cards (industries.html) --------------------------------------------- */
.sector-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary-red);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sector-card i { display: block; font-size: 1.6rem; color: var(--primary-blue); margin-bottom: 1.1rem; }
.sector-card h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.sector-card p { font-size: .92rem; color: var(--text-muted); margin-bottom: 0; }
.sector-card .check-list { margin-top: 1rem; }
.sector-card .check-list li { font-size: .87rem; color: var(--text-body); }

/* Process track variant with fewer columns ----------------------------------- */
.process-track--light::before { background: var(--line-dark); }
.process-track--light .dot { background: transparent; border-color: var(--line-dark); color: #ff6b74; }
.process-track--light .p-step:hover .dot,
.process-track--light .p-step.in-view .dot { background: var(--primary-red); border-color: var(--primary-red); color: #fff; }
.process-track--light h3 { color: #fff; }
.process-track--light p { color: rgba(255,255,255,.62); }
.process-track--3 { grid-template-columns: repeat(3, 1fr); }

/* Responsive ----------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .page-hero { padding: calc(var(--nav-h) + 4rem) 0 3.75rem; }
  .svc-detail { padding: 4rem 0; }
  .process-track--3 { grid-template-columns: 1fr; gap: 2rem; }
}
