/* =========================================================
   NILA360 UK — Landing Page
   ========================================================= */

@font-face{
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/Inter.woff2') format('woff2');
}
@font-face{
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('fonts/SpaceGrotesk.woff2') format('woff2');
}

:root{
  --bg: #0a0a0c;
  --bg-elevated: #131317;
  --bg-elevated-2: #1a1a1f;
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.16);
  --text: #f5f5f7;
  --text-dim: #a6a6ad;
  --text-dimmer: #82828a;
  --orange: #ff6a1a;
  --orange-2: #ff9142;
  --orange-dark: #d94e00;
  --on-orange: #14100c;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --container: 1200px;
  --nav-h: 76px;

  --ease: cubic-bezier(.16,.84,.44,1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
svg{ display: block; }
img{ max-width: 100%; display: block; }
button{ font: inherit; }

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

.text-orange{ color: var(--orange); }

::selection{ background: var(--orange); color: var(--on-orange); }

.skip-link{
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--orange);
  color: var(--on-orange);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus{ top: 16px; }

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Ambient background texture
   ========================================================= */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow{
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin-left: -240px; margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,26,.14), transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-1000px,-1000px);
  transition: transform 120ms linear;
  will-change: transform;
}
@media (hover: none){ .cursor-glow{ display: none; } }

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  min-height: 44px;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  cursor: pointer;
}
.btn svg{ width: 18px; height: 18px; }
.btn-primary{
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: var(--on-orange);
  box-shadow: 0 6px 20px rgba(255,106,26,.28);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,106,26,.4);
}
.btn-ghost{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ background: rgba(255,255,255,.08); border-color: var(--border-strong); }
.btn-outline{
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover{ border-color: var(--orange); color: var(--orange-2); transform: translateY(-2px); }
.btn-lg{ padding: 16px 28px; font-size: 1rem; }

.hide-sm{ display: inline; }
@media (max-width: 560px){ .hide-sm{ display: none; } }

/* =========================================================
   Navbar
   ========================================================= */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10,10,12,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height var(--dur-med) var(--ease), background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.nav.is-scrolled{
  height: 64px;
  background: rgba(10,10,12,.85);
  border-bottom-color: var(--border);
}
.nav-inner{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{ flex-shrink: 0; }
.brand-text{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.brand-text em{ font-style: normal; color: var(--orange); }
.brand-text small{ font-size: .55em; color: var(--text-dim); font-weight: 600; letter-spacing: .12em; }

.nav-links{
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a{
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 6px 2px;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--dur-med) var(--ease);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after{ width: 100%; }

.nav-cta{ display: flex; align-items: center; gap: 12px; }

.hamburger{
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span{
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 90;
  background: rgba(9,9,11,.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 24px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility var(--dur-med);
}
.mobile-menu.is-open{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-menu nav{ display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-cta{ display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-cta .btn{ width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 60px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-glow{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-a{
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(255,106,26,.35), transparent 70%);
  animation: float-a 16s ease-in-out infinite;
}
.hero-glow-b{
  width: 420px; height: 420px;
  bottom: -140px; left: -120px;
  background: radial-gradient(circle, rgba(255,145,66,.18), transparent 70%);
  animation: float-b 20s ease-in-out infinite;
}
@keyframes float-a{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(-40px, 30px); }
}
@keyframes float-b{
  0%,100%{ transform: translate(0,0); }
  50%{ transform: translate(30px,-30px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-glow-a, .hero-glow-b{ animation: none; }
}

.hero-inner{ position: relative; z-index: 2; max-width: 760px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-size: .82rem;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.stars{ color: var(--orange); letter-spacing: 2px; font-size: .8rem; }
.stars-lg{ font-size: 1.6rem; letter-spacing: 4px; }

.hero-title{
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  margin-bottom: 24px;
}

.hero-sub{
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta{ display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-tagline{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--text-dimmer);
}
.hero-tagline span{ color: var(--orange); }

.hero-art{
  position: absolute;
  right: -60px;
  bottom: 0;
  width: min(52vw, 640px);
  opacity: .9;
  z-index: 1;
  pointer-events: none;
}
.car-svg{ width: 100%; height: auto; }
.car-line{ stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) forwards .3s; }
.car-wheel{ stroke-dasharray: 180; stroke-dashoffset: 180; animation: draw 1.2s var(--ease) forwards 1.4s; }
@keyframes draw{ to{ stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce){
  .car-line, .car-wheel{ animation: none; stroke-dashoffset: 0; }
}

.spark{
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 12px 2px rgba(255,145,66,.8);
  animation: twinkle 2.6s ease-in-out infinite;
}
.spark1{ top: 28%; left: 30%; animation-delay: 0s; }
.spark2{ top: 55%; left: 68%; animation-delay: .8s; }
.spark3{ top: 20%; left: 62%; animation-delay: 1.6s; }
@keyframes twinkle{
  0%,100%{ opacity: 0; transform: scale(.4); }
  50%{ opacity: 1; transform: scale(1); }
}
@media (max-width: 900px){ .hero-art{ display: none; } }

.scroll-cue{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span{
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--orange);
  animation: scroll-cue 1.8s ease-in-out infinite;
}
@keyframes scroll-cue{
  0%{ opacity: 1; transform: translateY(0); }
  70%{ opacity: 0; transform: translateY(14px); }
  100%{ opacity: 0; }
}
@media (max-width: 700px){ .scroll-cue{ display: none; } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee{
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track{
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-track i{
  font-style: normal;
  color: var(--orange);
  font-size: 1rem;
}
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation-duration: 60s; }
}

/* =========================================================
   Sections (shared)
   ========================================================= */
.section{
  position: relative;
  padding: 100px 0;
  z-index: 2;
  scroll-margin-top: var(--nav-h);
}
.section-alt{ background: var(--bg-elevated); }

.kicker{
  font-family: 'Space Grotesk', sans-serif;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 14px;
}
.section-title{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 720px;
  margin-bottom: 16px;
}
.section-sub{
  color: var(--text-dim);
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* =========================================================
   Services
   ========================================================= */
.services-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card{
  position: relative;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.service-card:hover{
  transform: translateY(-6px);
  border-color: rgba(255,106,26,.4);
  background: var(--bg-elevated-2);
}
.service-icon{
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,106,26,.1);
  color: var(--orange);
  margin-bottom: 22px;
  transition: transform var(--dur-med) var(--ease);
}
.service-card:hover .service-icon{ transform: scale(1.08) rotate(-4deg); }
.service-icon svg{ width: 28px; height: 28px; }
.service-card h3{ font-size: 1.15rem; margin-bottom: 14px; }
.service-list li{
  position: relative;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: .92rem;
  margin-bottom: 8px;
}
.service-list li::before{
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* =========================================================
   Why us
   ========================================================= */
.why-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.why-item{
  padding: 28px 20px;
  text-align: center;
  border-radius: var(--radius-md);
  transition: background var(--dur-med) var(--ease);
}
.why-item:hover{ background: rgba(255,255,255,.03); }
.why-item svg{
  width: 40px; height: 40px;
  margin: 0 auto 18px;
  color: var(--orange);
}
.why-item h3{ font-size: 1rem; margin-bottom: 8px; }
.why-item p{ font-size: .88rem; color: var(--text-dim); }

/* =========================================================
   Process
   ========================================================= */
.process-grid{
  margin-top: 48px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.process-step{ flex: 1; text-align: left; }
.process-num{
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--orange);
  margin-bottom: 14px;
}
.process-step h3{ font-size: 1.2rem; margin-bottom: 10px; }
.process-step p{ color: var(--text-dim); font-size: .95rem; max-width: 260px; }
.process-connector{
  flex: 0 0 auto;
  width: 60px;
  height: 2px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews-inner{
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.rating-badge{
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 28px;
  border-radius: var(--radius-md);
  background: rgba(255,106,26,.08);
  border: 1px solid rgba(255,106,26,.3);
}
.rating-number{
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
}
.reviews-text{ color: var(--text-dim); font-size: 1.05rem; max-width: 420px; }
.reviews-text strong{ color: var(--text); }

/* =========================================================
   Contact
   ========================================================= */
.contact{ overflow: hidden; }
.contact .hero-glow-a{ top: auto; bottom: -200px; right: -160px; }

.contact-grid{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}
.contact-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.contact-card:not(.contact-card-static):hover{
  transform: translateY(-4px);
  border-color: rgba(255,106,26,.4);
}
.contact-card svg{ width: 30px; height: 30px; color: var(--orange); margin-bottom: 4px; }
.contact-label{ font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dimmer); }
.contact-value{ font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.05rem; }

/* =========================================================
   Footer
   ========================================================= */
.footer{
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding-top: 56px;
  background: var(--bg-elevated);
}
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 48px;
}
.footer-brand{ display: flex; align-items: center; gap: 12px; }
.footer-tagline{ color: var(--text-dim); font-size: .85rem; margin-top: 4px; }
.footer-links{ display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.footer-links a{ color: var(--text-dim); font-size: .92rem; transition: color var(--dur-fast); }
.footer-links a:hover{ color: var(--orange-2); }
.footer-contact{ display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-contact a, .footer-contact span{ color: var(--text-dim); font-size: .92rem; }
.footer-contact a:hover{ color: var(--orange-2); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-bottom span{ color: var(--text-dimmer); font-size: .82rem; }

/* =========================================================
   Floating WhatsApp button
   ========================================================= */
.fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  color: var(--on-orange);
  box-shadow: 0 10px 30px rgba(255,106,26,.4);
  z-index: 80;
  animation: fab-pulse 2.8s ease-in-out infinite;
  transition: transform var(--dur-fast) var(--ease);
}
.fab:hover{ transform: scale(1.08); }
.fab svg{ width: 28px; height: 28px; }
@keyframes fab-pulse{
  0%,100%{ box-shadow: 0 10px 30px rgba(255,106,26,.4); }
  50%{ box-shadow: 0 10px 40px rgba(255,106,26,.65); }
}
@media (prefers-reduced-motion: reduce){ .fab{ animation: none; } }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .why-grid{ grid-template-columns: repeat(3, 1fr); }
  .contact-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-grid{ flex-direction: column; }
  .process-connector{ display: none; }
}

@media (max-width: 860px){
  .nav-links{ display: none; }
  .hamburger{ display: flex; }
  .nav-cta .btn-ghost{ display: none; }
}

@media (max-width: 640px){
  .container{ padding-inline: 20px; }
  .section{ padding: 72px 0; }
  .hero{ padding-top: calc(var(--nav-h) + 40px); min-height: auto; padding-bottom: 60px; }
  .services-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .reviews-inner{ flex-direction: column; align-items: flex-start; }
  .hero-cta .btn{ width: 100%; }
  .hero-cta{ flex-direction: column; }
  .footer-inner{ flex-direction: column; gap: 28px; }
}
