/* ============================================================
   VEKTORSOL ENGINEERING, Light industrial premium
   Brand: teal #0F91B3, orange #E8743C, graphite, off-white
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a2230;
  background: #f5f3ee;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  --teal: #0f91b3;
  --teal-dark: #0a6b85;
  --teal-deep: #053f52;
  --orange: #e8743c;
  --orange-soft: #f59563;
  --ink: #0c1116;
  --graphite: #1a2230;
  --slate: #475066;
  --mist: #8a93a6;
  --line: #e2dfd6;
  --paper: #f5f3ee;
  --paper-2: #ecebe3;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(12,17,22,.06);
  --shadow-md: 0 12px 32px -12px rgba(12,17,22,.18);
  --shadow-lg: 0 30px 80px -30px rgba(12,17,22,.35);
  --radius: 14px;
  --container: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  background: rgba(245,243,238,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
}
.nav.scrolled { padding: 10px 0; background: rgba(245,243,238,.92); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; letter-spacing: -.01em; }
.brand img.brand-logo {
  height: 64px; width: 64px; object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(15,145,179,.35));
  transition: transform 1.2s var(--ease), filter .4s var(--ease);
  image-rendering: -webkit-optimize-contrast;
}
.brand:hover img.brand-logo { transform: rotate(60deg); filter: drop-shadow(0 10px 18px rgba(15,145,179,.55)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.18; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; color: #0b0b0b; letter-spacing: -.005em; }
.brand-text span { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: #F26A1F; margin-top: 6px; }
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--graphite); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--orange); transition: right .35s var(--ease);
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--graphite); margin: 5px 0; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -8px rgba(232,116,60,.55); }
.btn-primary:hover { background: #d6622d; transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(232,116,60,.7); }
.btn-secondary { background: var(--graphite); color: #fff; }
.btn-secondary:hover { background: var(--teal); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--graphite); border-color: var(--graphite); }
.btn-ghost:hover { background: var(--graphite); color: #fff; }
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: min(100vh, 920px);
  display: flex; align-items: center;
  background: var(--paper);
  padding: 160px 0 110px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  transform: scale(1.08); transition: transform 1.2s var(--ease);
  filter: saturate(108%) contrast(104%);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(20,28,38,.88) 0%, rgba(20,28,38,.62) 45%, rgba(20,28,38,.25) 75%, rgba(20,28,38,.05) 100%),
    linear-gradient(180deg, rgba(20,28,38,.15) 0%, rgba(20,28,38,.55) 100%);
}
.hero-bg-overlay::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, #000 20%, transparent 80%);
}
.hero-inner { position: relative; max-width: 1180px; }
.hero-text { max-width: 760px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; margin-bottom: 28px;
  padding: 8px 14px; background: rgba(15,145,179,.22); border: 1px solid rgba(15,145,179,.5);
  border-radius: 999px; backdrop-filter: blur(8px);
}
.hero-kicker::before { content: ''; width: 24px; height: 2px; background: var(--orange); }
.hero h1 {
  font-family: 'Manrope', sans-serif;
  margin: 0 0 28px; font-weight: 800; color: #fff;
  letter-spacing: -.025em; line-height: 1;
  display: flex; flex-direction: column; gap: 14px;
}
.hero h1 .hero-brand {
  font-size: clamp(48px, 8vw, 108px);
  line-height: .95;
  background: linear-gradient(180deg, #ffffff 30%, #cfe6ee 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero h1 .hero-tag {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 600; line-height: 1.15; color: rgba(255,255,255,.92);
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.82);
  max-width: 620px; margin: 0 0 40px; line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); backdrop-filter: blur(6px); }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--graphite); border-color: #fff; }
.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, auto); gap: 56px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,.18); max-width: 620px;
}
.stat-num { font-family: 'Manrope', sans-serif; font-size: 44px; font-weight: 800; color: #fff; line-height: 1; }
.stat-num .plus { color: var(--orange); }
.stat-label { font-size: 11.5px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.hero-scroll span {
  width: 1px; height: 38px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.6));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.7); } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--graphite); color: #fff; padding: 22px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05);
}
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 35s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -.01em;
}
.marquee-item .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
section { padding: 120px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.section-kicker::before { content: ''; width: 28px; height: 1px; background: var(--orange); }
.section-title {
  font-family: 'Manrope', sans-serif; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05;
  letter-spacing: -.025em; margin: 0 0 18px; color: var(--graphite); font-weight: 800;
}
.section-title em { font-style: normal; color: var(--teal); }
.section-lead { font-size: 17px; color: var(--slate); margin: 0; }

/* ============ ABOUT ============ */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; aspect-ratio: 4/5; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
.about-img-wrap::before {
  content: ''; position: absolute; inset: 24px -24px -24px 24px;
  border: 2px solid var(--orange); border-radius: 18px; z-index: -1;
}
.about-content p { font-size: 17px; color: var(--slate); margin: 0 0 18px; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.pillar { padding: 22px; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); transition: .35s var(--ease); }
.pillar:hover { transform: translateY(-4px); border-color: var(--teal); background: #fff; box-shadow: var(--shadow-md); }
.pillar-icon { width: 36px; height: 36px; color: var(--teal); margin-bottom: 12px; }
.pillar h4 { font-family: 'Manrope', sans-serif; font-size: 16px; margin: 0 0 6px; color: var(--graphite); font-weight: 700; }
.pillar p { font-size: 14px; color: var(--slate); margin: 0; line-height: 1.5; }

/* ============ SERVICES ============ */
.services { background: #0b0f14; color: #f4f6f8; position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(15,145,179,.18), transparent 50%), radial-gradient(circle at 10% 90%, rgba(242,106,31,.10), transparent 55%); pointer-events: none; }
.services .container { position: relative; z-index: 1; }
.services .section-kicker { color: var(--orange); }
.services .section-title { color: #fff; }
.services .section-title em { color: var(--teal); font-style: normal; }
.services .section-lead { color: rgba(255,255,255,.65); }
.services-list { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.10); }
.srv-row { position: relative; display: grid; grid-template-columns: 90px 1fr auto 40px; align-items: center; gap: 28px; padding: 30px 8px; border-bottom: 1px solid rgba(255,255,255,.10); cursor: pointer; transition: padding .5s var(--ease), background .5s var(--ease); overflow: hidden; }
.srv-row::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, rgba(15,145,179,.12), transparent 70%); transition: width .6s var(--ease); z-index: 0; }
.srv-row::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: linear-gradient(90deg, var(--teal), var(--orange)); transition: width .6s var(--ease); z-index: 2; }
.srv-row > * { position: relative; z-index: 1; }
.srv-row:hover { padding-left: 28px; padding-right: 28px; }
.srv-row:hover::before { width: 100%; }
.srv-row:hover::after { width: 100%; }
.srv-num { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; font-style: italic; color: rgba(255,255,255,.25); transition: color .4s var(--ease), transform .4s var(--ease); }
.srv-row:hover .srv-num { color: var(--orange); transform: translateX(-4px); }
.srv-body h3 { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; margin: 0 0 6px; color: #fff; letter-spacing: -.01em; }
.srv-body p { font-size: 14.5px; color: rgba(255,255,255,.62); margin: 0; max-width: 560px; }
.srv-tag { font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .22em; color: rgba(255,255,255,.45); text-transform: uppercase; white-space: nowrap; }
.srv-arrow { font-size: 24px; color: rgba(255,255,255,.35); transition: transform .4s var(--ease), color .4s var(--ease); text-align: right; }
.srv-row:hover .srv-arrow { color: var(--orange); transform: translateX(8px); }
@media (max-width: 760px) { .srv-row { grid-template-columns: 60px 1fr 30px; gap: 16px; } .srv-tag { display: none; } .srv-num { font-size: 32px; } .srv-body h3 { font-size: 20px; } }

/* ============ PROJECTS ============ */
.projects { background: var(--graphite); color: #fff; }
.projects .section-title, .projects .section-kicker { color: #fff; }
.projects .section-kicker { color: var(--orange-soft); }
.projects .section-lead { color: rgba(255,255,255,.65); }
.proj-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.proj-card {
  position: relative; overflow: hidden; border-radius: 18px;
  cursor: pointer; transition: transform .6s var(--ease);
  background: #0a0e13;
}
.proj-card.s1 { grid-column: span 8; aspect-ratio: 16/10; }
.proj-card.s2 { grid-column: span 4; aspect-ratio: 4/5; }
.proj-card.s3 { grid-column: span 4; aspect-ratio: 4/5; }
.proj-card.s4 { grid-column: span 4; aspect-ratio: 4/5; }
.proj-card.s5 { grid-column: span 4; aspect-ratio: 4/5; }
.proj-card.s6 { grid-column: span 6; aspect-ratio: 16/10; }
.proj-card.s7 { grid-column: span 6; aspect-ratio: 16/10; }
.proj-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
  filter: grayscale(.15) brightness(.85);
}
.proj-card:hover img { transform: scale(1.08); filter: grayscale(0) brightness(1); }
.proj-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px;
  background: linear-gradient(to top, rgba(10,14,19,.95) 0%, rgba(10,14,19,.6) 50%, transparent 100%);
  transform: translateY(20px); opacity: .92; transition: .5s var(--ease);
}
.proj-card:hover .proj-meta { transform: translateY(0); opacity: 1; }
.proj-tag {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange-soft); margin-bottom: 8px;
}
.proj-meta h4 { font-family: 'Manrope', sans-serif; font-size: 22px; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.proj-meta p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }

/* ============ WHY ============ */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--line); align-items: start;
  transition: .35s var(--ease);
}
.why-item:last-child { border-bottom: 0; }
.why-item:hover { padding-left: 12px; }
.why-num {
  font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--orange); width: 44px; height: 44px; border: 2px solid var(--orange);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: .35s var(--ease); flex-shrink: 0;
}
.why-item:hover .why-num { background: var(--orange); color: #fff; transform: rotate(360deg); }
.why-item h4 { font-family: 'Manrope', sans-serif; font-size: 19px; margin: 4px 0 6px; color: var(--graphite); font-weight: 700; }
.why-item p { font-size: 15px; color: var(--slate); margin: 0; }
.why-counter { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.counter-card {
  padding: 36px 28px; background: var(--paper); border-radius: 18px; text-align: left;
  border: 1px solid var(--line); transition: .4s var(--ease);
}
.counter-card:hover { transform: translateY(-6px); background: var(--graphite); color: #fff; border-color: var(--graphite); }
.counter-card .counter {
  font-family: 'Manrope', sans-serif; font-size: 56px; font-weight: 800; line-height: 1;
  color: var(--graphite); letter-spacing: -.03em;
}
.counter-card:hover .counter { color: var(--orange); }
.counter-card .counter-suffix { color: var(--orange); }
.counter-card .counter-label { font-size: 13px; color: var(--slate); margin-top: 12px; letter-spacing: .04em; }
.counter-card:hover .counter-label { color: rgba(255,255,255,.75); }

/* ============ CONTACT ============ */
.contact {
  background: var(--graphite); color: #fff; position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; top: -160px; right: -160px; width: 480px; height: 480px;
  background: radial-gradient(circle, var(--teal), transparent 70%); opacity: .25; pointer-events: none;
}
.contact .section-title, .contact .section-kicker { color: #fff; }
.contact .section-kicker { color: var(--orange-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; position: relative; }
.contact-info p { color: rgba(255,255,255,.7); font-size: 17px; margin: 0 0 36px; max-width: 420px; }
.info-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.1); align-items: start; }
.info-icon {
  width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,145,179,.15); color: var(--teal); border-radius: 12px;
}
.info-icon svg { width: 20px; height: 20px; }
.info-row strong { display: block; font-size: 12px; color: var(--orange-soft); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.info-row span, .info-row a { font-size: 16px; color: #fff; line-height: 1.5; transition: color .25s; }
.info-row a:hover { color: var(--teal); }

.contact-form {
  background: rgba(255,255,255,.04); padding: 40px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.field { margin-bottom: 20px; position: relative; }
.field label {
  display: block; font-size: 12px; color: rgba(255,255,255,.6);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; font-weight: 600;
}
.field input, .field textarea {
  width: 100%; padding: 14px 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; color: #fff; font-family: inherit; font-size: 15px; transition: .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--teal); background: rgba(255,255,255,.1); }
.field textarea { resize: vertical; min-height: 130px; }

/* ============ FOOTER ============ */
.footer { background: #060a0e; color: rgba(255,255,255,.6); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; margin-bottom: 48px; }
.footer-brand img { height: 64px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 320px; margin: 0; }
.footer-col h5 { font-family: 'Manrope', sans-serif; font-size: 13px; color: #fff; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--orange-soft); }
.footer-bot { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ============ REVEAL ANIMATIONS ============ */
/* Default: visible. JS adds .js-reveal to gate them only when JS is enabled. */
.reveal { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal:not(.visible) { opacity: 0; transform: translateY(24px); }
.js-reveal .reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* (custom cursor removed for a cleaner, professional feel) */

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 24px; gap: 14px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-inner > .btn { display: none; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .hero h1 .hero-brand { font-size: clamp(40px, 11vw, 64px); }
  .hero h1 .hero-tag { font-size: 18px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stat-num { font-size: 28px; }
  .hero-scroll { display: none; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .proj-grid > * { grid-column: span 12 !important; aspect-ratio: 16/10 !important; }
  .about-img-wrap::before { display: none; }
  .contact-form { padding: 28px; }
  .why-counter { grid-template-columns: 1fr 1fr; }
  .brand img.brand-logo { height: 44px; }
  .brand-text { font-size: 16px; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #0f1720;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.5;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 320px; }
.cookie-banner a { color: #f5b301; text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner button {
  border: 0;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.cookie-accept { background: #f5b301; color: #111; }
.cookie-accept:hover { background: #ffc527; }
.cookie-decline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25) !important; }
.cookie-decline:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-banner .cookie-actions { justify-content: flex-end; }
}


/* Back to top + Google Translate widget */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #f5b301;
  color: #111;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 9998;
}
#back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: #ffc527; }

/* Language pill (in nav) */
.lang-pill { position: relative; display: inline-flex; align-items: center; }
.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(245, 243, 238, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  color: #2a2a2a;
  font: 600 12px 'Inter', sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 4px 14px rgba(0,0,0,0.06);
  transition: background .2s var(--ease, ease), border-color .2s var(--ease, ease), color .2s var(--ease, ease), box-shadow .2s var(--ease, ease);
}
.lang-pill-btn:hover { background: rgba(245, 243, 238, 0.65); border-color: rgba(255,255,255,0.7); }
.lang-pill-btn[aria-expanded="true"] { background: rgba(245, 243, 238, 0.75); border-color: rgba(255,255,255,0.8); }
.lang-pill-globe { width: 14px; height: 14px; flex-shrink: 0; opacity: .85; }
.lang-pill-code { text-transform: uppercase; }
.lang-pill-chev { width: 8px; height: 5px; opacity: .7; }

.lang-pill-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(28, 28, 30, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  z-index: 1000;
}
.lang-pill-menu li {
  padding: 8px 12px;
  border-radius: 8px;
  font: 500 13px 'Inter', sans-serif;
  color: #f3f3f3;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-pill-menu li:hover,
.lang-pill-menu li[aria-selected="true"] { background: rgba(255, 255, 255, 0.10); color: #fff; }

/* Hidden Google Translate gadget */
#google_translate_element { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 0; width: 0; overflow: hidden; }
.goog-te-banner-frame.skiptranslate, .goog-tooltip, .goog-tooltip:hover { display: none !important; }
body { top: 0 !important; }

/* Mobile: pill stays visible next to the hamburger */
/* Mobile-only pill is hidden on desktop */
.lang-pill--mobile { display: none; }

@media (max-width: 960px) {
  /* Desktop pill (the one in the top header bar) gets out of the way on mobile,
     so the brand has full width and "Vektorsol Engineering" + "Private Limited"
     can render on their own lines without wrapping mid-word. */
  #lang-pill { display: none !important; }

  /* Mobile pill lives inside the slide-out menu, full-width like a menu item */
  .lang-pill--mobile { display: block; margin-top: 8px; }
  .lang-pill--mobile .lang-pill-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 13px;
  }
  .lang-pill--mobile .lang-pill-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    max-height: 260px;
  }

  /* Let the brand breathe: prevent wrap and let it scale naturally */
  .brand-text { white-space: nowrap; }
}

@media (max-width: 600px) {
  #back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .brand-text { font-size: 15px; }
  .brand img.brand-logo { height: 40px; }
}
