/* Landel Controls - targeted upgrade concept | Valiant Digital */

:root {
  --navy-950: #071019;
  --navy-900: #0d1f30;
  --navy-800: #14304a;
  --navy-700: #1c4266;
  --blue: #157097;
  --blue-light: #4a9cc2;
  --orange: #f15601;
  --orange-dark: #d24700;
  --ink: #1b242e;
  --ink-soft: #4c5866;
  --paper: #f5f7f9;
  --line: #e2e6ea;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(10, 25, 40, 0.08);
  --shadow-md: 0 14px 40px rgba(10, 25, 40, 0.14);
  --shadow-lg: 0 24px 64px rgba(7, 16, 25, 0.35);
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { position: relative; }
.eyebrow {
  font-family: "Roboto Slab", serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
h1, h2, h3 { margin: 0; line-height: 1.12; }
h2.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-top: 0.5rem;
}
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 0.9rem; line-height: 1.6; }
.section-pad { padding: 6.5rem 0; }
.bg-paper { background: var(--paper); }
.bg-navy { background: var(--navy-900); color: #dbe6ee; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(241, 86, 1, 0.32); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(241, 86, 1, 0.4); }
.btn-outline { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- NAV ---------- */
#nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 500;
  transition: background .28s ease, backdrop-filter .28s ease, box-shadow .28s ease;
}
#nav::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7,16,25,0.55), rgba(7,16,25,0));
  z-index: -1; opacity: 1; transition: opacity .28s ease;
}
#nav.solid { background: rgba(9, 22, 35, 0.94); backdrop-filter: blur(14px); box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
#nav.solid::before { opacity: 0; }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo-link { position: relative; display: block; width: 210px; height: 84px; flex-shrink: 0; transition: transform .25s ease; }
.logo-link:hover { transform: scale(1.04); }
.logo-link img {
  position: absolute; left: 0; top: 6px; transform: none;
  height: 124px; width: auto; max-width: none;
  filter: brightness(0) invert(1);
  transition: height .32s cubic-bezier(.4,0,.2,1), top .32s cubic-bezier(.4,0,.2,1), transform .32s cubic-bezier(.4,0,.2,1), filter .28s ease;
}
#nav.solid .logo-link img { height: 46px; top: 50%; transform: translateY(-50%); }
.primary-links { display: flex; align-items: center; gap: 0.3rem; }
.primary-links > li { position: relative; list-style: none; }
.primary-links a.top-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.6rem 0.9rem; border-radius: 8px; color: #fff; font-weight: 600; font-size: 0.94rem;
  transition: background .22s ease, color .22s ease;
}
.primary-links a.top-link:hover { background: rgba(255,255,255,0.1); }
.primary-links ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.1rem; }
.caret { width: 12px; height: 12px; flex-shrink: 0; opacity: 0.85; vertical-align: middle; }

.nav-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 1.1rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  min-width: 460px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
}
.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown .dd-heading { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin: 0 0 0.6rem; }
.nav-dropdown .dd-col a {
  display: block; padding: 0.35rem 0; font-size: 0.88rem; color: var(--navy-900); font-weight: 500;
  border-radius: 6px; cursor: default; opacity: 0.85;
}
.nav-dropdown .dd-col a:hover { color: var(--orange); }

.nav-cta-group { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { color: #fff; font-weight: 700; font-size: 0.92rem; opacity: 0.9; }
.nav-cta-group .btn { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

.burger { display: none; width: 44px; height: 44px; border-radius: 8px; border: none; background: rgba(255,255,255,0.1); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.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); }

.mobile-drawer {
  position: fixed; top: 0; right: 0; left: auto; width: min(340px, 86vw); height: 100vh; z-index: 700;
  background: var(--navy-950); transform: translateX(100%); transition: transform .32s ease;
  overflow-y: auto; padding: 5.5rem 1.6rem 2.5rem;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(4,10,16,0.6); z-index: 650;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer-close {
  position: absolute; top: 1.4rem; right: 1.4rem; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: none; color: #fff; font-size: 1.1rem; cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.drawer-close:hover { transform: rotate(90deg); background: rgba(255,255,255,0.18); }
.drawer-links { list-style: none; margin: 0; padding: 0; }
.drawer-links > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.drawer-row { display: flex; align-items: center; justify-content: space-between; }
.drawer-links a.top-link { display: block; padding: 1rem 0.2rem; color: #fff; font-weight: 700; font-size: 1.02rem; }
.dd-toggle { background: none; border: none; color: #fff; padding: 0.6rem; cursor: pointer; }
.dd-toggle .caret { transition: transform .25s ease; }
.dd-toggle.open .caret { transform: rotate(180deg); }
.drawer-sub { list-style: none; margin: 0; padding: 0 0 0 0.6rem; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding-bottom .3s ease; }
.drawer-sub.expanded { padding-bottom: 0.8rem; }
.drawer-sub a { display: block; padding: 0.42rem 0; color: #9fb3c4; font-size: 0.92rem; }
.drawer-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-media img { position: absolute; inset: -10% 0 0 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(7,16,25,0.86) 15%, rgba(10,25,40,0.62) 48%, rgba(21,112,151,0.34) 100%);
}
.hero-top-fade {
  position: absolute; top: 0; left: 0; right: 0; height: 260px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4,10,16,0.8) 0%, rgba(4,10,16,0.42) 45%, rgba(4,10,16,0) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 84px; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.hero-copy .eyebrow { color: #ffb27a; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; color: #fff; margin-top: 0.7rem;
  letter-spacing: -0.01em;
}
.hero-copy p.lede { color: #cbdce8; font-size: 1.1rem; line-height: 1.65; margin-top: 1.3rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero-card {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  overflow: hidden; opacity: 0; transform: translateY(48px);
  transition: opacity .9s ease, transform .9s ease;
  margin-bottom: -80px;
}
.hero-card.in { opacity: 1; transform: translateY(0); }
.hero-card-head { padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 0.7rem; }
.hero-card-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #2ecf74; box-shadow: 0 0 0 4px rgba(46,207,116,0.18); animation: pulse 2s infinite; }
.maple-badge { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(217,4,41,0.1); display: flex; align-items: center; justify-content: center; }
.maple-badge svg { width: 18px; height: 18px; fill: #d90429; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(46,207,116,0.18);} 50%{ box-shadow: 0 0 0 8px rgba(46,207,116,0.08);} }
.hero-card-head strong { font-family: "Roboto Slab", serif; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-900); }
.hero-card-body { padding: 1.4rem 1.5rem; }
.hero-card-body .big { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); }
.hero-card-body .sub { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.2rem; }
.hero-map { margin-top: 1.2rem; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #f7f9fb, #eef2f5); border: 1px solid var(--line); }
.hero-map-svg { display: block; width: 100%; height: auto; }
.map-silhouette { fill: rgba(16,42,67,0.07); stroke: rgba(16,42,67,0.18); stroke-width: 2; stroke-linejoin: round; }
.map-route { stroke: rgba(241,86,1,0.4); stroke-width: 1.5; fill: none; }
.map-pin circle { fill: var(--orange); stroke: #fff; stroke-width: 2; }
.map-pin .ring { fill: none; stroke: var(--orange); stroke-width: 1.5; opacity: 0.45; }
.map-pin text { font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; fill: var(--navy-900); text-anchor: middle; }
.map-pin.hq circle:not(.ring) { fill: var(--navy-900); r: 7; }
.map-pin.hq text { font-size: 12px; fill: var(--orange-dark); }
.hero-card-foot { border-top: 1px solid var(--line); padding: 1rem 1.5rem; }
.hero-card-foot a { color: var(--blue); font-weight: 700; font-size: 0.92rem; display: flex; align-items: center; gap: 0.4rem; }
.hero-card-foot a:hover { color: var(--orange); }

.scroll-cue { position: absolute; bottom: 2.2rem; left: 32px; z-index: 2; display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.65); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; }
.scroll-cue .line { width: 28px; height: 1px; background: rgba(255,255,255,0.4); }

/* ---------- STAT BAND ---------- */
.stat-band { background: var(--navy-950); padding-top: 4.2rem; padding-bottom: 2.4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-grid .stat-num { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 900; color: var(--orange); font-family: "Roboto Slab", serif; }
.stat-grid .stat-label { color: #9fb3c4; font-size: 0.86rem; margin-top: 0.35rem; letter-spacing: 0.03em; }

/* ---------- WHY PARTNER ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-copy p { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; margin-top: 1.1rem; }
.why-points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.why-points li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 600; color: var(--navy-900); font-size: 0.98rem; }
.why-points .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: rgba(241,86,1,0.12); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 900; }
.why-panel { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 4/5; background: var(--navy-800); }
.why-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; opacity: 0.92; }
.why-panel-tag { position: absolute; bottom: 1.6rem; left: 1.6rem; right: 1.6rem; background: rgba(9,22,35,0.85); backdrop-filter: blur(6px); border-radius: 10px; padding: 1.1rem 1.3rem; color: #fff; }
.why-panel-tag .eyebrow { color: #ffb27a; }
.why-panel-tag p { margin: 0.3rem 0 0; font-size: 0.92rem; color: #cbdce8; }

/* ---------- BRANDS TRUST BAR ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.brand-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 108px;
  display: flex; align-items: center; justify-content: center; padding: 1.1rem 1.3rem;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.brand-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(241,86,1,0.35); }
.brand-tile img { max-height: 46px; max-width: 100%; object-fit: contain; }
.brand-tile img.on-dark { background: var(--navy-900); padding: 0.5rem 0.9rem; border-radius: 6px; box-sizing: content-box; max-height: 36px; }
.brands-foot { margin-top: 2.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.brands-foot p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.line-card-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--blue); }
.line-card-link:hover { color: var(--orange); }

/* ---------- SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem;
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: rgba(21,112,151,0.35); }
.service-icon {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(21,112,151,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem;
  transition: background .25s ease, transform .25s ease;
}
.service-card:hover .service-icon { background: var(--orange); transform: scale(1.06); }
.service-icon svg { width: 24px; height: 24px; stroke: var(--blue); transition: stroke .25s ease; }
.service-card:hover .service-icon svg { stroke: #fff; }
.service-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--navy-900); }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.55; margin-top: 0.5rem; }

/* ---------- OFFICES ---------- */
.offices-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.office-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem; transition: box-shadow .25s ease, transform .25s ease; }
.office-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.office-card.head { grid-column: span 4; background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; padding: 1.9rem 2rem; }
.office-card.head .badge { background: var(--orange); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; padding: 0.35rem 0.7rem; border-radius: 999px; text-transform: uppercase; }
.office-card.head h3 { color: #fff; font-size: 1.3rem; }
.office-card.head address { color: #b9cbd9; font-style: normal; margin-top: 0.3rem; }
.office-card.head .oc-contact { text-align: right; }
.office-card.head .oc-contact a { display: block; color: #fff; font-weight: 700; }
.office-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy-900); }
.office-card address { font-style: normal; color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.5rem; line-height: 1.55; }
.office-card .oc-phone { display: inline-block; margin-top: 0.7rem; font-weight: 700; color: var(--blue); font-size: 0.9rem; transition: color .2s ease; }
.office-card .oc-phone:hover { color: var(--orange); }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-sm); }
.testi-quote { font-size: 2.4rem; color: var(--orange); font-family: Georgia, serif; line-height: 1; }
.testi-card p.body { color: var(--ink); font-size: 1rem; line-height: 1.7; margin-top: 0.6rem; }
.testi-name { margin-top: 1.3rem; font-weight: 800; color: var(--navy-900); }
.testi-org { color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-950); color: #9fb3c4; padding-top: 5rem; }
.footer-top { display: grid; grid-template-columns: 300px 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.2rem; }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; color: #7f97a8; }
.footer-col .footer-heading { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; color: #9fb3c4; transition: color .2s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.6rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.8rem; font-size: 0.84rem; }
.footer-bottom .credit { color: #7f97a8; }
.footer-bottom .credit a { color: #cbdce8; font-weight: 700; }
.footer-bottom .credit a:hover { color: var(--orange); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .primary-links, .nav-cta-group .btn-outline, .nav-phone { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { margin-top: 2.5rem; margin-bottom: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-panel { order: -1; aspect-ratio: 16/9; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
  .office-card.head { grid-column: span 2; grid-template-columns: 1fr; text-align: left; gap: 0.9rem; }
  .office-card.head .oc-contact { text-align: left; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
/* ================= INTERNAL PAGE HEADER ================= */
.page-header { position: relative; overflow: hidden; color: #fff; }
.page-header-media { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.page-header-media img { position: absolute; inset: -10% 0 0 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.page-header-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(7,16,25,0.88) 15%, rgba(10,25,40,0.68) 48%, rgba(21,112,151,0.4) 100%);
}
.page-header-inner { position: relative; z-index: 2; padding: 225px 0 4rem; width: 100%; }

/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: #fff; border: none; cursor: pointer; z-index: 400;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--orange); }
.back-to-top:active { transform: scale(0.94); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 620px) {
  .back-to-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}
.breadcrumb { font-size: 0.85rem; color: #9fb3c4; margin: 0.9rem 0 1.8rem; }
.breadcrumb a { color: #9fb3c4; text-decoration: none; transition: color .2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 0.45rem; opacity: 0.5; }
.page-header .eyebrow { color: var(--orange); }
.page-header h1 { font-size: 2.5rem; font-weight: 900; margin: 0.6rem 0 0; line-height: 1.15; }
.page-header .lede { color: #cbdce8; font-size: 1.08rem; max-width: 680px; line-height: 1.65; margin-bottom: 1.8rem; }

/* ================= PARTNER CARDS ================= */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 1.6rem; }
.partners-grid.single-col { grid-template-columns: 1fr; max-width: 620px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2rem; transition: box-shadow .25s ease, transform .25s ease; }
.partner-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.partner-card img { height: 40px; width: auto; max-width: 180px; object-fit: contain; margin-bottom: 1.3rem; }
.partner-card img.on-dark { background: var(--navy-900); padding: 0.6rem 1rem; border-radius: 8px; box-sizing: content-box; }
.partner-card p { color: var(--ink-soft); margin-bottom: 1.4rem; line-height: 1.6; }
.partner-card a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.partner-card a:hover { color: var(--orange); }
@media (max-width: 720px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* Partner card variant with a real product photo above the logo/body */
.partner-card.has-photo { padding: 0; overflow: hidden; }
.partner-photo { background: var(--paper); aspect-ratio: 16 / 10; padding: 1.4rem; border-bottom: 1px solid var(--line); box-sizing: border-box; }
.partner-photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; margin-bottom: 0; }
.partner-content { padding: 1.7rem 2rem 2rem; }
.partner-content img { height: 32px; width: auto; max-width: 160px; object-fit: contain; margin-bottom: 1.1rem; }
.partner-content img.on-dark { background: var(--navy-900); padding: 0.5rem 0.9rem; border-radius: 6px; box-sizing: content-box; }
.partner-content p { color: var(--ink-soft); margin-bottom: 1.4rem; line-height: 1.6; }
.partner-content a { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--blue); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.partner-content a:hover { color: var(--orange); }

/* ================= TECHNOLOGIES HUB ================= */
.tech-group { margin-bottom: 3.2rem; }
.tech-group:last-child { margin-bottom: 0; }
.tech-group h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy-900); margin: 0 0 1.3rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 0.6rem; }
.tech-group h2 .tech-count { font-family: "Inter", sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); background: var(--paper); border-radius: 999px; padding: 0.2rem 0.65rem; }
.tech-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem 1.4rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease; }
.tech-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--orange); }
.tech-card .tech-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .25s ease; }
.tech-card .tech-icon svg { width: 21px; height: 21px; stroke: var(--blue); transition: stroke .25s ease; }
.tech-card:hover .tech-icon { background: var(--orange); }
.tech-card:hover .tech-icon svg { stroke: #fff; }
.tech-card .tech-name { font-weight: 700; color: var(--navy-900); font-size: 0.96rem; line-height: 1.3; }
.tech-card .tech-arrow { margin-left: auto; color: var(--ink-soft); flex-shrink: 0; transition: transform .25s ease, color .25s ease; }
.tech-card:hover .tech-arrow { transform: translateX(4px); color: var(--orange); }
@media (max-width: 980px) {
  .tech-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .tech-cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .section-pad { padding: 4rem 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .office-card.head { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding-bottom: 2.2rem; }
  .footer-brand { grid-column: span 2; }
  .footer-brand img { height: 60px; margin-bottom: 0.8rem; }
  .footer-col .footer-heading { margin-bottom: 0.8rem; }
  .footer-col ul { gap: 0.5rem; }
  .nav-inner { height: 70px; }
  .logo-link { width: 150px; height: 70px; }
  .logo-link img { height: 78px; top: 4px; }
  #nav.solid .logo-link img { height: 36px; top: 50%; transform: translateY(-50%); }
  .hero-inner { padding-top: 150px; }
  .page-header-inner { padding-top: 235px; }
  .page-header h1 { font-size: 1.9rem; }
}
