/* =============================================
   KEPHREN BUSINESS LIMITED — World Class Styles
   ============================================= */

/* ─── CSS Variables ─── */
:root {
  --navy-950: #071E30;
  --navy-900: #0A2A42;
  --navy-800: #0B3350;
  --navy-700: #0F4266;
  --ocean-600: #0F6E9C;
  --ocean-500: #1583B3;
  --ocean-400: #3FA9D6;
  --ocean-300: #6CC4E8;
  --mist-50: #EEF5F9;
  --mist-100: #E1EEF5;
  --mist-200: #C8DDE8;
  --white: #FFFFFF;
  --ink-900: #0D1A24;
  --ink-800: #16232C;
  --ink-700: #233542;
  --slate-500: #5C7080;
  --slate-400: #7A8F9E;
  --slate-300: #9FB2BE;
  --slate-200: #B8C8D2;
  --line: #D6E4EC;
  --radius: 3px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(7,30,48,0.06);
  --shadow-md: 0 4px 16px rgba(7,30,48,0.08);
  --shadow-lg: 0 12px 40px rgba(7,30,48,0.12);
  --shadow-xl: 0 24px 64px rgba(7,30,48,0.16);
  --transition-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-base: 0.35s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Archivo', Arial, sans-serif;
  margin: 0;
  color: var(--navy-950);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; margin: 0; }

/* ─── Typography Utilities ─── */
.mono { font-family: 'IBM Plex Mono', monospace; }
.text-gradient {
  background: linear-gradient(135deg, var(--ocean-500), var(--ocean-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Layout ─── */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ─── Eyebrow ─── */
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--ocean-500);
  display: inline-block;
  transition: width var(--transition-base);
}
.eyebrow:hover::before { width: 36px; }

/* ─── Utility Bar ─── */
.utility-bar {
  background: var(--navy-950);
  color: var(--slate-300);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 48px;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.utility-bar a {
  color: var(--slate-300);
  transition: color var(--transition-fast);
}
.utility-bar a:hover { color: var(--ocean-400); }
.utility-links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ─── Header / Nav ─── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition-base);
}
header.scrolled { box-shadow: var(--shadow-md); }

nav.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-word {
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-950);
  line-height: 1;
}
.brand-word span { color: var(--ocean-600); }
.brand-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--slate-500);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: var(--ink-700);
  padding: 6px 0;
  transition: color var(--transition-fast);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ocean-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-base);
}
.nav-links a:hover { color: var(--navy-950); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.cta-btn {
  background: var(--navy-950);
  color: var(--white) !important;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.cta-btn:hover {
  background: var(--ocean-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle { display: none; }

/* ─── Ticker ─── */
.ticker-band {
  border-bottom: 1px solid var(--line);
  background: var(--mist-50);
}
.tradingview-widget-container { padding: 2px 0; }

/* ─── Hero ─── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--mist-50) 100%);
  border-bottom: 1px solid var(--line);
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero .wrap {
  padding: clamp(60px, 8vh, 100px) 48px clamp(60px, 6vh, 80px);
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 620px; }

.hero h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.05;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--ocean-500);
}
.hero p.lede {
  margin-top: 24px;
  font-size: clamp(15px, 1.1vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 520px;
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--navy-950);
  color: var(--white);
  padding: 15px 28px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--ocean-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  border: 1.5px solid var(--navy-950);
  color: var(--navy-950);
  padding: 14px 28px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-ghost:hover {
  background: var(--navy-950);
  color: var(--white);
  transform: translateY(-2px);
}

/* ─── Hero Image Carousel ─── */
.hero-visual {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,30,48,0.15) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}
.hero-img-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.hero-img-track img {
  width: 25%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.hero-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.hero-carousel-dots button.active {
  background: var(--white);
  width: 24px;
  border-radius: 4px;
}

/* ─── Stat Strip ─── */
.stat-strip {
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stat-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ocean-400), transparent);
  opacity: 0.3;
}
.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 48px;
  gap: 32px;
}
.stat {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num {
  font-family: 'Archivo', Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 2.2vw, 34px);
  color: var(--white);
}
.stat .lbl {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--slate-300);
  line-height: 1.5;
}
.stat-icon {
  position: absolute;
  top: -4px;
  right: 8px;
  opacity: 0.06;
  width: 48px;
  height: 48px;
}

/* ─── Section Shell ─── */
section { padding: clamp(72px, 9vh, 110px) 0; position: relative; }
section.tint { background: var(--mist-50); }

.section-head {
  max-width: 700px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 16px;
  font-weight: 800;
  line-height: 1.15;
}
.section-head p {
  margin-top: 18px;
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.65;
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-copy p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 20px;
}
.license-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--navy-800);
  margin-top: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.license-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ocean-500);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.about-image-wrap:hover img { transform: scale(1.03); }
.about-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,30,48,0.4) 100%);
  pointer-events: none;
}
.about-image-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: var(--white);
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  z-index: 2;
}

.dept-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.dept-card {
  background: var(--white);
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background var(--transition-fast);
}
.dept-card:hover { background: var(--mist-50); }
.dept-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ocean-500);
  font-weight: 600;
  padding-top: 4px;
  min-width: 22px;
}
.dept-card h4 { font-size: 16px; font-weight: 700; }
.dept-card p { font-size: 14px; color: var(--slate-500); margin-top: 6px; line-height: 1.6; }

/* ─── Track Record (Dark Band) ─── */
.track {
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.track::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ocean-400), transparent);
  opacity: 0.2;
}
.track-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.track .eyebrow { color: var(--ocean-400); }
.track .eyebrow::before { background: var(--ocean-400); }
.track h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); margin-top: 16px; line-height: 1.2; }
.track-quote {
  margin-top: 24px;
  font-size: 16px;
  color: var(--slate-300);
  line-height: 1.75;
}
.track-presence {
  margin-top: 24px;
  font-size: 15px;
  color: var(--white);
  line-height: 1.75;
  border-left: 2px solid var(--ocean-400);
  padding-left: 20px;
}
.track-note {
  margin-top: 32px;
  font-size: 12px;
  color: var(--slate-400);
  font-family: 'IBM Plex Mono', monospace;
}

.terminal-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.terminal-map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,110,156,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.terminal-map {
  width: 100%;
  height: auto;
  display: block;
}

.track-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.track-stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.track-stat-item .num {
  font-family: 'Archivo', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ocean-400);
}
.track-stat-item .lbl {
  font-size: 11.5px;
  color: var(--slate-300);
  margin-top: 4px;
}

/* ─── Team ─── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.team-copy p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 20px;
}
.team-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}
.team-image-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.team-image-wrap:hover img { transform: scale(1.03); }
.team-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,30,48,0.35) 100%);
  pointer-events: none;
}

.team-pillars { display: flex; flex-direction: column; gap: 24px; }
.pillar {
  border-left: 2px solid var(--ocean-500);
  padding-left: 20px;
  transition: border-color var(--transition-fast);
}
.pillar:hover { border-left-color: var(--ocean-400); }
.pillar h4 { font-size: 15.5px; font-weight: 700; }
.pillar p { font-size: 14px; color: var(--slate-500); margin-top: 6px; line-height: 1.65; }

/* ─── Services ─── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-card {
  background: var(--white);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-500), var(--ocean-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  background: var(--mist-50);
  transform: translateY(-2px);
}
.service-icon {
  margin-bottom: 24px;
  width: 44px;
  height: 44px;
}
.service-card h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.service-card p.desc {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--slate-500);
  line-height: 1.65;
}
.service-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  font-size: 13.5px;
  color: var(--ink-700);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.service-list li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--ocean-500);
  margin-top: 8px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* ─── Services Images Row ─── */
.services-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.services-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.services-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.services-img-wrap:hover img { transform: scale(1.04); }
.services-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,30,48,0.45) 100%);
  pointer-events: none;
}
.services-img-caption {
  position: absolute;
  bottom: 20px;
  left: 24px;
  color: var(--white);
  z-index: 2;
}
.services-img-caption h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.services-img-caption p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 2px;
}

/* ─── Market ─── */
.market-grid{
    display:grid;
    grid-template-columns:2.4fr 1fr;
    gap:32px;
    align-items:start;
}

.market-panel{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.market-side{
    background:#fff;
    padding:28px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.market-side h4{
    margin-bottom:20px;
}

.source-list{
    list-style:none;
    padding:0;
    margin:0;
}

.source-list li{
    border-bottom:1px solid #ececec;
}

.source-list li:last-child{
    border:none;
}

.source-list a{
    display:flex;
    justify-content:space-between;
    padding:14px 0;
    text-decoration:none;
    color:#222;
    transition:.25s;
}

.source-list a:hover{
    color:#0B6CF4;
}
/* ─── Contact ─── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.office-card {
  background: var(--white);
  padding: 32px 30px;
  transition: background var(--transition-fast);
}
.office-card:hover { background: var(--mist-50); }
.office-card.hq {
  background: var(--navy-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.office-card.hq::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(63,169,214,0.08) 0%, transparent 70%);
}
.office-card.hq h4 { color: var(--ocean-400); }
.office-card.hq .addr { color: var(--slate-300); }
.office-card h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ocean-600);
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
}
.office-card .city {
  font-size: 19px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  margin-bottom: 8px;
}
.office-card .addr { font-size: 14px; color: var(--slate-500); line-height: 1.65; }

.contact-direct {
  margin-top: 48px;
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-direct .item .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--slate-500);
}
.contact-direct .item .val {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  color: var(--navy-950);
  margin-top: 8px;
  transition: color var(--transition-fast);
}
.contact-direct .item .val a:hover { color: var(--ocean-600); }

/* ─── Footer ─── */
footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 64px 0 32px;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ocean-400), transparent);
  opacity: 0.15;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer .brand-word { color: var(--white); }
footer .brand-word span { color: var(--ocean-400); }
.footer-tagline {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 300px;
  color: var(--slate-300);
}
.footer-col h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ocean-400);
  margin-bottom: 18px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13.5px;
  color: var(--slate-300);
  margin-bottom: 10px;
  line-height: 1.5;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 11.5px;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy-950);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 90;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--ocean-600);
  transform: translateY(-2px);
}

/* ─── Reveal on Scroll ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Parallax ─── */
.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

/* ─── Decorative Elements ─── */
.deco-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-500), var(--ocean-300));
  border-radius: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 380px; }
  .about-grid, .team-grid, .market-grid, .contact-grid, .track-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat { border-left: none; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .track-stats-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; font-weight: 600; }
  .nav-links .cta-btn { margin-top: 16px; width: 100%; text-align: center; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    position: relative;
  }
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy-950);
    transition: all 0.3s ease;
    display: block;
  }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .utility-links { display: none; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-direct { flex-direction: column; gap: 24px; }
  .track-stats-row { grid-template-columns: 1fr; gap: 12px; }
  .services-images { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; }
}

@media (max-width: 480px) {
  .stat-strip .wrap { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}