:root {
  --accent: #ff6a1a;
  --accent-2: #ffb37a;
  --dark: #0e0e10;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
  margin: 0;
}

.oswald { font-family: 'Oswald', sans-serif; letter-spacing: .02em; }

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background: var(--dark);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s cubic-bezier(.77,0,.18,1), visibility 0s .6s;
}
.curtain.in { opacity: 1; visibility: visible; transition: opacity .6s cubic-bezier(.77,0,.18,1), visibility 0s; }
.curtain.out { opacity: 0; visibility: hidden; }
.page-enter { animation: pageEnter .9s cubic-bezier(.4,0,.2,1) both; }
@keyframes pageEnter {
  0% { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ---------- Hero Image Slider ---------- */
.hero-slider {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-wrap { position: relative; overflow: hidden; background: #000; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.7) 100%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at 50% 60%, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 80%);
}

/* hero entrance */
@keyframes fadeUp { from { opacity:0; transform: translateY(40px);} to { opacity:1; transform: translateY(0);} }
.reveal-line { animation: fadeUp 1s cubic-bezier(.4,0,.2,1) both; }
.hero-content .reveal-line:nth-child(1) { animation-delay: .15s; }
.hero-content .reveal-line:nth-child(2) { animation-delay: .35s; }
.hero-content .reveal-line:nth-child(3) { animation-delay: .55s; }
.hero-content .reveal-line:nth-child(4) { animation-delay: .75s; }
.hero-right { animation: fadeRight 1.1s cubic-bezier(.4,0,.2,1) .4s both; }
@keyframes fadeRight { from { opacity:0; transform: translateX(40px);} to { opacity:1; transform: translateX(0);} }
/* Hero logo animation */
.hero-logo-wrap {
  animation: logoReveal 1.4s cubic-bezier(.4,0,.2,1) both;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}
@keyframes logoReveal {
  0% { opacity: 0; transform: translateY(30px) scale(0.85); filter: blur(8px); }
  50% { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.hero-logo-wrap img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(255,106,26,0.3));
  transition: filter 0.6s ease, transform 0.6s ease;
}
.hero-logo-wrap img:hover {
  filter: drop-shadow(0 0 35px rgba(255,106,26,0.55));
  transform: scale(1.04);
}
.hero-logo-wrap::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 12px;
  animation: lineExpand 1.2s cubic-bezier(.4,0,.2,1) 0.6s both;
}
@keyframes lineExpand {
  0% { width: 0; opacity: 0; }
  100% { width: 60%; opacity: 1; }
}
@media (min-width: 768px) {
  .hero-logo-wrap img { height: 80px; }
}
.hero-strip { animation: fadeUp .9s ease-out 1.1s both; }
.scroll-indicator {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 11;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeUp 1s ease-out 1.6s both;
}
.scroll-track { width: 1px; height: 50px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.scroll-thumb {
  width: 1px; height: 20px; background: var(--accent); position: absolute; top: -20px; left: 0;
  animation: scrollPing 2.2s ease-in-out infinite;
}
@keyframes scrollPing { 0%{ top:-20px; } 60% { top: 50px; } 100% { top: 50px; } }

.split-line, .split-headline { display: block; overflow: visible; }

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 0;
  font-family: 'Oswald', sans-serif; letter-spacing: .25em; text-transform: uppercase; font-size: .78rem;
  position: relative; overflow: hidden;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .25s ease;
  border: 2px solid var(--accent);
  will-change: transform; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff8240; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-arrow { width: 16px; height: 16px; transition: transform .35s ease; }
.btn-primary:hover .btn-arrow, .btn-secondary:hover .btn-arrow { transform: translateX(4px); }
.btn-primary::after, .btn-secondary::after {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.18); transform: translateX(-100%);
  transition: transform .5s ease;
}
.btn-primary:hover::after, .btn-secondary:hover::after { transform: translateX(0); }

/* ---------- Misc ---------- */
.section-rule { width: 40px; height: 2px; background: var(--accent); display: inline-block; }
.label-orange { color: var(--accent); letter-spacing: .25em; font-weight: 600; text-transform: uppercase; font-size: .72rem; }
.heading-xl { font-family: 'Oswald', sans-serif; font-weight: 500; letter-spacing: -.01em; }

/* nav */
header nav a { transition: color .25s ease; position: relative; }
header nav a:hover { color: var(--accent); }
.nav-link { padding-bottom: 4px; border-bottom: 2px solid transparent; cursor: pointer; }
.nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent);
  transition: width .35s cubic-bezier(.4,0,.2,1);
}
.nav-link:hover::after { width: 100%; }
.nav-link.active::after { width: 100%; }

/* ---------- Stat cards ---------- */
.stat-card {
  background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 28px 22px;
  display: flex; flex-direction: column; gap: 6px; transition: transform .35s ease, box-shadow .35s ease;
}
.stat-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.08); border-color: var(--accent); }
.stat-num { font-family: 'Oswald', sans-serif; font-size: 2.6rem; color: var(--accent); font-weight: 500; }
.stat-label { font-size: .85rem; color: #666; }

/* ---------- Tilt cards ---------- */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.9,.3,1), box-shadow .4s ease;
  will-change: transform;
}

/* ---------- Project cards ---------- */
.project-card {
  background: #fff; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 1px solid #eee;
}
.project-card .card-img { overflow: hidden; aspect-ratio: 4/3; }
.project-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; display: block; }
.project-card:hover .card-img img { transform: scale(1.07); }
.project-card .card-body { padding: 20px 22px 26px; }
.project-card .card-tags { display: flex; flex-wrap: wrap; font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .2em; color: #999; }
.project-card .card-tags .sep { margin: 0 8px; color: #ddd; }

/* ---------- Service cards ---------- */
.service-card {
  background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 32px 24px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,.08); border-color: var(--accent); transform: translateY(-4px); }
.service-icon {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(255,106,26,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent);
}

/* category chips */
.chip {
  padding: 8px 18px; border: 1px solid #ddd; border-radius: 999px; font-family: 'Oswald', sans-serif;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #555; background: #fff;
  transition: all .3s ease; cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* background grid */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(to right, rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(circle at center, #000 30%, transparent 80%);
}

/* parallax bg */
.parallax-bg {
  position: absolute; inset: -50px 0; z-index: 0;
  background-image: url('../images/projects/sirius.png');
  background-size: cover; background-position: center; opacity: .08; filter: blur(2px);
  will-change: transform;
}

/* ---------- Glowing search bar ---------- */
@keyframes spin-slow { 0% { transform: translate(-50%,-50%) rotate(0); } 100% { transform: translate(-50%,-50%) rotate(360deg); } }
.search-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
#poda { position: relative; display: flex; align-items: center; justify-content: center; }
#poda .conic { position: absolute; z-index: -1; overflow: hidden; max-height: 70px; max-width: 314px; height: 100%; width: 100%; border-radius: 12px; filter: blur(3px); }
#poda .conic::before {
  content: ''; position: absolute; z-index: -2; width: 999px; height: 999px;
  top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(60deg);
  background: conic-gradient(#000, #402fb5 5%, #000 38%, #000 50%, #cf30aa 60%, #000 87%);
  transition: transform 2s ease;
}
#poda:hover .conic::before { transform: translate(-50%,-50%) rotate(-120deg); }
#poda:focus-within .conic::before { transform: translate(-50%,-50%) rotate(420deg); transition: transform 4s ease; }
#poda .blur2 { max-height: 65px; max-width: 312px; filter: blur(3px); }
#poda .blur2::before {
  width: 600px; height: 600px; transform: translate(-50%,-50%) rotate(82deg);
  background: conic-gradient(rgba(0,0,0,0), #18116a, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, #6e1b60, rgba(0,0,0,0) 60%);
}
#poda:hover .blur2::before { transform: translate(-50%,-50%) rotate(-98deg); }
#poda:focus-within .blur2::before { transform: translate(-50%,-50%) rotate(442deg); transition: transform 4s ease; }
#poda .blur3 { max-height: 63px; max-width: 307px; filter: blur(2px); border-radius: 8px; }
#poda .blur3::before {
  width: 600px; height: 600px; transform: translate(-50%,-50%) rotate(83deg);
  background: conic-gradient(rgba(0,0,0,0) 0%, #a099d8, rgba(0,0,0,0) 8%, rgba(0,0,0,0) 50%, #dfa2da, rgba(0,0,0,0) 58%);
  filter: brightness(1.4);
}
#poda:hover .blur3::before { transform: translate(-50%,-50%) rotate(-97deg); }
#poda:focus-within .blur3::before { transform: translate(-50%,-50%) rotate(443deg); transition: transform 4s ease; }
#poda .blur4 { max-height: 59px; max-width: 303px; filter: blur(.5px); }
#poda .blur4::before {
  width: 600px; height: 600px; transform: translate(-50%,-50%) rotate(70deg);
  background: conic-gradient(#1c191c, #402fb5 5%, #1c191c 14%, #1c191c 50%, #cf30aa 60%, #1c191c 64%);
  filter: brightness(1.3);
}
#poda:hover .blur4::before { transform: translate(-50%,-50%) rotate(-110deg); }
#poda:focus-within .blur4::before { transform: translate(-50%,-50%) rotate(430deg); transition: transform 4s ease; }
#poda #main { position: relative; }
#poda input { background: #010201; border: none; width: 301px; height: 56px; border-radius: 8px; color: #fff; padding: 0 60px; font-size: 1.05rem; outline: none; cursor: text; }
#poda input::placeholder { color: #9ca3af; }
#input-mask { pointer-events: none; width: 100px; height: 20px; position: absolute; left: 70px; top: 18px; background: linear-gradient(to right, transparent, #000); }
#poda:focus-within #input-mask { display: none; }
#pink-mask { pointer-events: none; width: 30px; height: 20px; position: absolute; left: 5px; top: 10px; background: #cf30aa; filter: blur(40px); opacity: .8; transition: opacity 2s ease; }
#poda:hover #pink-mask { opacity: 0; }
#filter-orbit { position: absolute; height: 42px; width: 40px; top: 7px; right: 7px; border-radius: 8px; overflow: hidden; }
#filter-orbit::before { content: ''; position: absolute; width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(90deg); background: conic-gradient(rgba(0,0,0,0), #3d3a4f, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 50%, #3d3a4f, rgba(0,0,0,0) 100%); filter: brightness(1.35); animation: spin-slow 8s linear infinite; }
#filter-icon { position: absolute; top: 8px; right: 8px; height: 40px; width: 38px; z-index: 2; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; isolation: isolate; background: linear-gradient(180deg, #161329 0%, #000 50%, #1d1b4b 100%); border: 1px solid transparent; }
#search-icon { position: absolute; left: 20px; top: 16px; }

/* ---------- Marquee logos ---------- */
.marquee {
  overflow: hidden; position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee-left 38s linear infinite; }
.marquee--right .marquee__track { animation: marquee-right 42s linear infinite; }
.marquee__item { flex: 0 0 auto; width: 200px; height: 110px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.marquee__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
@keyframes marquee-left  { 0% { transform: translateX(0);} 100% { transform: translateX(-50%);} }
@keyframes marquee-right { 0% { transform: translateX(-50%);} 100% { transform: translateX(0);} }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-100 { transition-delay: .1s; }
.reveal.delay-200 { transition-delay: .2s; }
.reveal.delay-300 { transition-delay: .3s; }

/* ---------- Services Gradient Animation ---------- */
.services-gradient {
  background: linear-gradient(135deg, #fef3e2 0%, #fce4ec 25%, #e8eaf6 50%, #e0f7fa 75%, #fff8e1 100%);
  position: relative;
}
.services-gradient h2,
.services-gradient h3,
.services-gradient .label-orange,
.services-gradient p {
  color: inherit;
}
.services-gradient .heading-xl {
  color: #1a1a1a;
}
.services-gradient .btn-primary {
  box-shadow: 0 4px 20px rgba(255,106,26,0.35);
}
.gradient-animation-bg {
  position: absolute; inset: 0; overflow: hidden; filter: blur(80px); opacity: 0.7;
}
.gradient-blob {
  position: absolute; border-radius: 50%;
  width: 40%; height: 40%;
  mix-blend-mode: multiply;
}
.blob-1 {
  background: radial-gradient(circle, rgba(255,183,130,0.6) 0%, transparent 70%);
  top: -10%; left: -5%;
  animation: blobMove1 25s ease-in-out infinite;
}
.blob-2 {
  background: radial-gradient(circle, rgba(200,180,255,0.5) 0%, transparent 70%);
  top: 10%; right: -10%;
  animation: blobMove2 20s ease-in-out infinite reverse;
}
.blob-3 {
  background: radial-gradient(circle, rgba(130,210,255,0.5) 0%, transparent 70%);
  bottom: -10%; left: 20%;
  animation: blobMove3 30s ease-in-out infinite;
}
.blob-4 {
  background: radial-gradient(circle, rgba(255,160,180,0.4) 0%, transparent 70%);
  top: 30%; left: 40%;
  animation: blobMove4 35s ease-in-out infinite;
}
.blob-5 {
  background: radial-gradient(circle, rgba(180,230,160,0.4) 0%, transparent 70%);
  bottom: 0; right: 10%;
  animation: blobMove5 22s ease-in-out infinite reverse;
}
@keyframes blobMove1 { 0%,100%{ transform: translate(0,0); } 33%{ transform: translate(30px,40px); } 66%{ transform: translate(-20px,20px); } }
@keyframes blobMove2 { 0%,100%{ transform: translate(0,0); } 33%{ transform: translate(-40px,30px); } 66%{ transform: translate(20px,-20px); } }
@keyframes blobMove3 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(40px,-30px); } }
@keyframes blobMove4 { 0%,100%{ transform: translate(0,0); } 25%{ transform: translate(-30px,-40px); } 75%{ transform: translate(30px,20px); } }
@keyframes blobMove5 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-30px,40px); } }

/* ---------- Floating Paths Background ---------- */
.floating-paths-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.floating-paths-svg {
  width: 100%; height: 100%;
}
.fp {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: floatPath 20s ease-in-out infinite;
}
.fp1 { animation-duration: 18s; }
.fp2 { animation-duration: 22s; animation-delay: -4s; }
.fp3 { animation-duration: 26s; animation-delay: -8s; }
.fp4 { animation-duration: 20s; animation-delay: -12s; }
.fp5 { animation-duration: 24s; animation-delay: -16s; }
@keyframes floatPath {
  0% { stroke-dashoffset: 1000; opacity: 0.4; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -1000; opacity: 0.4; }
}

/* ---------- Footer Boxes Background ---------- */
.footer-boxes-bg {
  position: absolute; top: 0; left: -20%; right: -20%; bottom: 0; z-index: 0; pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(to right, rgba(255,106,26,0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,106,26,0.4) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  animation: footerGridShift 60s linear infinite;
}
@keyframes footerGridShift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-24px, -24px); }
  100% { transform: translate(0, 0); }
}

/* ---------- CTA Button Pulse Effects ---------- */
.btn-primary {
  position: relative;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6a1a, #ff9a5c, #ff6a1a);
  background-size: 200% 100%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: pulseGlow 3s ease-in-out infinite;
}
.btn-primary:hover::before {
  opacity: 0.6;
}
@keyframes pulseGlow {
  0%, 100% { background-position: 0% 50%; opacity: 0; }
  50% { background-position: 100% 50%; opacity: 0.4; }
}

/* ---------- Footer containment ---------- */
footer { overflow: hidden !important; }

/* ---------- BOQ page ---------- */
.boq-wrap { padding-top: 80px; min-height: 100vh; background: linear-gradient(180deg, #0e0e10 0%, #1a1a1c 100%); color: #fff; }
.boq-header { padding: 60px 0 30px; text-align: center; }
.boq-frame {
  width: 100%; max-width: 1200px; margin: 0 auto; height: 80vh; min-height: 600px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.boq-fallback {
  max-width: 720px; margin: 30px auto; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); padding: 32px; border-radius: 12px;
}
