/* ============================================================
   Kadven LLP — style.css
   Palette, layout, components, animations
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --c-blue:   #0A3FB8;
  --c-bright: #0088FF;
  --c-teal:   #16D6C6;
  --c-navy:   #0B1B5C;
  --c-ice:    #EAF6FF;
  --c-frost:  #F8FBFF;

  /* Neutrals */
  --c-ink:    #0c1430;
  --c-body:   #41506b;
  --c-muted:  #6b7896;
  --c-line:   #dbe7f5;
  --white:    #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--c-blue) 0%, var(--c-bright) 50%, var(--c-teal) 100%);
  --grad-brand-soft: linear-gradient(120deg, #0a3fb81a, #16d6c61a);
  --grad-dark: linear-gradient(150deg, #0b1b5c 0%, #0a2a86 55%, #0a3fb8 100%);

  /* Layout */
  --maxw: 1200px;
  --gut: clamp(1.1rem, 4vw, 2rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  /* Effects */
  --shadow-sm: 0 4px 18px rgba(11, 27, 92, 0.07);
  --shadow:    0 18px 50px rgba(10, 63, 184, 0.12);
  --shadow-lg: 0 30px 70px rgba(10, 63, 184, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-brd: rgba(255, 255, 255, 0.7);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.45s var(--ease);

  /* Typography */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", var(--font-body);

  /* z-index */
  --z-header: 1000;
  --z-overlay: 1100;
  --z-top: 1200;
}

/* ---------- 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(--c-body);
  background: var(--c-frost);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-ink); line-height: 1.15; font-weight: 700; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.eyebrow {
  display: inline-block;
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-blue);
  background: var(--grad-brand-soft);
  border: 1px solid #0088ff33;
  padding: 0.45rem 0.9rem; border-radius: 100px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: var(--z-top);
  background: var(--c-navy); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.85rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px; font-weight: 700; font-size: 0.97rem;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  will-change: transform;
}
.btn--primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 12px 28px rgba(0, 136, 255, 0.35);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--c-teal), var(--c-bright), var(--c-blue));
  opacity: 0; transition: opacity var(--t);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(0, 136, 255, 0.45); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.6); color: var(--c-blue);
  border: 1.5px solid #0088ff44; backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--c-bright); box-shadow: var(--shadow-sm); }
.btn:focus-visible { outline: 3px solid var(--c-bright); outline-offset: 3px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: background var(--t), box-shadow var(--t), padding var(--t);
  padding: 0.6rem 0;
}
.header.scrolled {
  background: rgba(248, 251, 255, 0.8);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 6px 26px rgba(11, 27, 92, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__logo { height: clamp(42px, 6vw, 56px); width: auto; transition: height var(--t); }
.header.scrolled .nav__logo { height: clamp(38px, 5vw, 48px); }

.nav__menu { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.5rem, 1.6vw, 1.6rem); }
.nav__link {
  font-weight: 600; color: var(--c-ink); padding: 0.4rem 0.2rem; position: relative; font-size: 0.97rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width var(--t);
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--c-blue); }
.nav__cta { padding: 0.7rem 1.3rem; }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 12px; position: relative;
  background: rgba(255,255,255,0.6); border: 1px solid var(--c-line);
}
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 3px;
  background: var(--c-navy); transition: transform var(--t), opacity 0.2s ease, top var(--t);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem 0 4rem; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 85% -10%, #16d6c61f, transparent 60%),
    radial-gradient(900px 600px at 0% 100%, #0088ff1a, transparent 55%),
    var(--c-frost);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; opacity: 0.5; }
.hero__glow--1 { width: 420px; height: 420px; background: #0088ff55; top: -80px; right: -60px; }
.hero__glow--2 { width: 380px; height: 380px; background: #16d6c655; bottom: -120px; left: -80px; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.hero__title {
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; letter-spacing: -0.02em;
}
.hero__title .gradient-text { display: block; }
.hero__subtitle { font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem); color: var(--c-body); max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; margin-top: 0.6rem; }
.trust-strip__item { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--c-ink); font-size: 0.92rem; }
.trust-strip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 4px #16d6c624; }

/* Hero visual */
.hero__visual { display: grid; place-items: center; }
.glass-orb {
  position: relative; width: min(78%, 360px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.85), rgba(234,246,255,0.35));
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(0,136,255,0.12);
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.glass-orb__mark { width: 58%; filter: drop-shadow(0 12px 24px rgba(10,63,184,0.25)); }
.orbit {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(0,136,255,0.25);
  animation: spin linear infinite;
}
.orbit--1 { inset: -8%; animation-duration: 16s; }
.orbit--2 { inset: 8%; animation-duration: 22s; animation-direction: reverse; }
.orbit--3 { inset: 22%; animation-duration: 28s; }
.orbit__node {
  position: absolute; top: -16px; left: 50%; translate: -50% 0;
  width: 34px; height: 34px; display: grid; place-items: center; font-size: 1rem;
  background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); color: var(--c-blue);
  animation: spin linear infinite; animation-duration: inherit; animation-direction: inherit;
}
.orbit--1 .orbit__node { animation: counterspin 16s linear infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes counterspin { to { transform: rotate(-360deg); } }

.hero__scroll { position: absolute; bottom: 1.4rem; left: 50%; translate: -50% 0; z-index: 1; }
.hero__mouse {
  display: block; width: 26px; height: 42px; border: 2px solid var(--c-blue); border-radius: 16px; position: relative;
}
.hero__mouse::before {
  content: ""; position: absolute; top: 8px; left: 50%; translate: -50% 0;
  width: 4px; height: 8px; background: var(--c-blue); border-radius: 3px;
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 20px; } 100% { opacity: 0; } }

/* ============================================================
   SECTIONS clamp(4rem, 8vw, 7rem) 0
   ============================================================ 
.section { padding:  clamp(0.5px, 4vw, 3rem) 0; padding-bottom: 1rem; /* Adjust this value to make the bottom space smaller */
    padding-left: 0;
    padding-right: 0; position: relative; } */
.section { 
    padding-top: clamp(1.5rem, 5vw, 3.5rem);    /* Responsive top space: comfortable but not huge */
    padding-bottom: clamp(1rem, 3vw, 2rem);    /* Slightly smaller responsive bottom space */
    padding-left: 0;
    padding-right: 0;
    margin-top: 0;
    position: relative; 
}
.section--alt { background: linear-gradient(180deg, var(--c-frost), var(--c-ice) 60%, var(--c-frost)); padding-top: 25px !important; }
.section--dark { background: var(--grad-dark); color: #e7eeff; overflow: hidden; padding-top: 25px !important; }
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 0%, #16d6c61f, transparent 60%);
  pointer-events: none;
}

.section__head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.6rem); text-align: center; }
.section__label {
  display: inline-block; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.78rem; color: var(--c-bright); margin-bottom: 0.9rem;
}
.section__label--light { color: var(--c-teal); }
.section__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.section--dark .section__title { color: #fff; }
.section__lead { margin-top: 0.9rem; font-size: 1.08rem; color: var(--c-muted); }
.section--dark .section__lead { color: #b9c6ee; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.about__story p + p { margin-top: 1rem; }
.about__pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.pill {
  padding: 0.45rem 0.95rem; border-radius: 100px; font-weight: 600; font-size: 0.85rem;
  color: var(--c-blue); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm);
}
.about__cards { display: grid; gap: 1.2rem; }

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px) saturate(140%);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.vm-card { transition: transform var(--t), box-shadow var(--t); }
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vm-card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: var(--grad-brand); margin-bottom: 1rem; box-shadow: 0 10px 22px rgba(0,136,255,0.3);
}
.vm-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }

/* Timeline */
.timeline { margin-top: clamp(3rem, 6vw, 4.5rem); }
.timeline__title { text-align: center; font-size: 1.4rem; margin-bottom: 2.2rem; }
.timeline__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; counter-reset: step;
}
.timeline__list::before {
  content: ""; position: absolute; top: 9px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-teal));
  opacity: 0.5;
}
.timeline__item { position: relative; padding-top: 2.6rem; text-align: center; counter-increment: step; }
.timeline__dot {
  position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--c-bright);
  box-shadow: 0 0 0 5px #0088ff1f;
}
.timeline__item h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.timeline__item h4::before { content: "0" counter(step); display: block; color: var(--c-bright); font-size: 0.85rem; font-weight: 800; }
.timeline__item p { font-size: 0.92rem; color: var(--c-muted); }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t);
}
.service-card::after {
  content: ""; position: absolute; top: -40%; right: -40%; width: 70%; height: 70%;
  background: radial-gradient(circle, #16d6c61f, transparent 70%);
  opacity: 0; transition: opacity var(--t);
}
.service-card:hover, .service-card:focus-visible {
  transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; outline: none;
}
.service-card:hover::before, .service-card:focus-visible::before,
.service-card:hover::after, .service-card:focus-visible::after { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  color: var(--c-blue); background: var(--grad-brand-soft); border: 1px solid #0088ff26;
  margin-bottom: 1.1rem; transition: transform var(--t), background var(--t), color var(--t);
}
.service-card:hover .service-card__icon { background: var(--grad-brand); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card__title { font-size: 1.22rem; margin-bottom: 0.4rem; }
.service-card__desc { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.service-card__list { display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; margin-bottom: 1.3rem; }
.service-card__list li {
  font-size: 0.8rem; font-weight: 600; color: var(--c-blue);
  background: var(--c-ice); padding: 0.3rem 0.65rem; border-radius: 100px;
}
.service-card__link {
  margin-top: auto; font-weight: 700; color: var(--c-blue); display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap var(--t), color var(--t);
}
.service-card__link:hover { gap: 0.75rem; color: var(--c-bright); }

/* ---------- Industries ---------- */
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.4rem); }
.industry-tile {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.8rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.industry-tile:hover {
  transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, var(--c-ice));
}
.industry-tile__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 0.9rem;
  font-size: 1.7rem; border-radius: 50%; background: var(--grad-brand-soft); border: 1px solid #0088ff1f;
  transition: transform var(--t);
}
.industry-tile:hover .industry-tile__icon { transform: scale(1.1); }
.industry-tile h3 { font-size: 1.02rem; }

/* ---------- Why Kadven ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.5rem); }
.why-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius); padding: 1.6rem 1.4rem; backdrop-filter: blur(8px);
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.why-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.12); border-color: var(--c-teal); }
.why-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--c-navy);
  background: linear-gradient(135deg, var(--c-teal), var(--c-bright)); margin-bottom: 1rem;
  box-shadow: 0 10px 24px rgba(22, 214, 198, 0.3);
}
.why-card h3 { color: #fff; font-size: 1.12rem; margin-bottom: 0.4rem; }
.why-card p { color: #c2cdf2; font-size: 0.92rem; }

.stats {
  margin-top: clamp(2.6rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); backdrop-filter: blur(8px);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1; display: block;
  background: linear-gradient(120deg, #fff, var(--c-teal));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__num--text { background: linear-gradient(120deg, #fff, var(--c-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { display: block; margin-top: 0.5rem; color: #b9c6ee; font-weight: 600; font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.4rem, 3.5vw, 2.4rem); align-items: start; }
.contact__form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--c-ink); }
.req { color: #e5484d; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-line); background: rgba(255, 255, 255, 0.85);
  color: var(--c-ink); transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-bright); box-shadow: 0 0 0 4px #0088ff22;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; box-shadow: 0 0 0 4px #e5484d1f; }
.field__error { color: #d23b3f; font-size: 0.8rem; min-height: 1em; }

.contact__submit { margin-top: 0.3rem; justify-self: start; min-width: 180px; }
.btn__spinner {
  width: 16px; height: 16px; border-radius: 50%; display: none;
  border: 2.5px solid rgba(255,255,255,0.45); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.contact__submit.loading .btn__label { opacity: 0.7; }
.contact__submit.loading .btn__spinner { display: inline-block; }
.form-status { font-weight: 600; font-size: 0.92rem; min-height: 1.2em; }
.form-status.success { color: #109b6a; }
.form-status.error { color: #d23b3f; }

.contact__info { display: grid; gap: 1.2rem; }
.info-list { display: grid; gap: 0.9rem; margin-bottom: 1.4rem; }
.info-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.info-list__icon {
  flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: var(--grad-brand-soft); border: 1px solid #0088ff1f; font-size: 1rem;
}
.info-list a:hover { color: var(--c-bright); }
.info-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.info-card__hours { margin-top: 0.4rem; }
.info-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--c-line); font-size: 0.92rem; }
.info-hours li:last-child { border-bottom: none; }
.info-hours span:first-child { font-weight: 600; color: var(--c-ink); }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--glass-brd); }
.map iframe { width: 100%; height: 260px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--c-navy); color: #c2cdf2; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2rem;
  padding-bottom: 2.6rem;
}
.footer__logo { height: 52px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3)); }
.footer__tag { max-width: 30ch; color: #aab8e6; }
.socials { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.social {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; transition: transform var(--t), background var(--t);
}
.social:hover { transform: translateY(-4px); background: var(--grad-brand); }

.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: 0.6rem; }
.footer__col a, .footer__contact li { color: #aab8e6; font-size: 0.93rem; transition: color var(--t); }
.footer__col a:hover { color: var(--c-teal); }
.footer__contact { display: grid; gap: 0.7rem; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.3rem 0; }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between; align-items: center; }
.footer__bottom p { font-size: 0.86rem; color: #8d9bd0; }
.footer__legal a:hover { color: var(--c-teal); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: var(--z-top);
  width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 1.2rem; font-weight: 700;
  background: var(--grad-brand); box-shadow: 0 12px 26px rgba(0, 136, 255, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all var(--t);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* stagger grid children */
.services__grid .reveal.in,
.industries__grid .reveal.in,
.why__grid .reveal.in { transition-delay: var(--d, 0s); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .glass-orb { width: min(60%, 280px); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .hamburger { display: block; }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0.4rem;
    background: rgba(248, 251, 255, 0.96); backdrop-filter: blur(20px);
    padding: 6rem 2rem 2rem; box-shadow: -20px 0 60px rgba(11, 27, 92, 0.18);
    transform: translateX(100%); transition: transform var(--t); z-index: var(--z-overlay);
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 0.3rem; width: 100%; }
  .nav__link { display: block; width: 100%; padding: 0.8rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--c-line); }
  .nav__link::after { display: none; }
  .nav__menu .nav__cta { display: inline-flex; margin-top: 1.2rem; width: 100%; }
  .about__grid { grid-template-columns: 1fr; }
  .timeline__list { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .timeline__list::before { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 6rem; }
  .btn { width: 100%; }
  .hero__cta { width: 100%; }
}

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

@media print {
  .header, .hero__canvas, .to-top, .map, .hamburger { display: none !important; }
}
