/* ============================================
   TOKENS
============================================ */
:root{
  --bg:            #08080d;
  --bg-soft:       #101018;
  --panel:         #14141d;
  --panel-border:  #26262f;
--purple:         #C9A227;
  /* --purple: linear-gradient(
    45deg,
    #8C6A00,
    #C9A227,
    #F7D96B,
    #FFEFB0,
    #D4AF37,
    #9B7A00
); */

  --blue:          #3b82f6;
  /* --gradient:      linear-gradient(90deg, var(--purple), var(--blue)); */

  --gradient: linear-gradient(
    90deg,
    #8C6A00,
    #C9A227,
    #F7D96B,
    #FFEFB0,
    #D4AF37,
    #9B7A00
);
  --text:          #f5f5f7;
  --muted:         #d0d0d0;
  --muted-dim:     #b5b5b6;
  --orange:        #e8734a;
  --radius-lg:     18px;
  --radius-md:     12px;
  --radius-sm:     8px;
  --maxw:          1240px;
  --font-display:  'Sora', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body:     'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease:          cubic-bezier(.16,.84,.44,1);
  --header-h:      76px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }

a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }

.eyebrow{
  font-size:18px; font-weight:800; letter-spacing:0.14em;
  color:var(--purple); text-transform:uppercase; margin-bottom:10px;
}
.eyebrow.center{ text-align:center; }

.gradient-text{
  background:var(--gradient);
  background-size:200% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:shimmer 8s ease-in-out infinite;
}
@keyframes shimmer{
  0%, 100%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
}

h1,h2,h3,h4,h5{ font-family:var(--font-display); font-weight:700; letter-spacing:-0.01em; }

.body-text{ color:var(--muted); font-size:16px; max-width:520px; }
.body-text.small{ font-size:13px; max-width:none; }

/* ============================================
   BUTTONS
============================================ */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:0.04em;
  padding:14px 24px; border-radius:999px;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space:nowrap; cursor:pointer; border:none;
}
.btn .arrow{ transition:transform .25s var(--ease); }
.btn:hover .arrow{ transform:translateX(4px); }

.btn-gradient{ background:var(--gradient); color:#fff; box-shadow:0 8px 24px rgba(124,58,237,0.35); }
.btn-gradient:hover{ transform:translateY(-2px); box-shadow:0 12px 30px rgba(124,58,237,0.5); }
.btn-small{ padding:11px 20px; font-size:12px; }

.btn-outline{ background:transparent; border:1px solid var(--panel-border); color:var(--text); }
.btn-outline:hover{ border-color:var(--purple); background:rgba(124,58,237,0.08); }

.btn-play{ background:transparent; color:var(--text); gap:12px; }
.play-circle{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--panel-border); font-size:12px;
  transition:background .25s var(--ease), transform .25s var(--ease);
  background:rgba(10,10,15,0.55);
}
.play-circle.small{ width:32px; height:32px; }
.play-circle.tiny{ width:22px; height:22px; font-size:9px; }
.btn-play:hover .play-circle{ background:var(--gradient); transform:scale(1.08); border-color:transparent; }

.link-arrow{
  font-size:12px; font-weight:700; letter-spacing:0.08em; color:var(--purple);
  display:inline-flex; align-items:center; gap:6px; transition:gap .25s ease;
}
.link-arrow:hover{ gap:10px; }

/* ============================================
   HEADER
============================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  border-bottom:1px solid var(--panel-border);
  transition:box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* blur lives on a pseudo-element (not the header itself) so that backdrop-filter
   doesn't create a containing block that would trap the fixed mobile nav/backdrop */
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(8,8,13,0.85); backdrop-filter:blur(10px);
  transition:background .3s var(--ease);
}
.site-header.is-scrolled::before{ background:rgba(8,8,13,0.96); }
.site-header.is-scrolled{ box-shadow:0 12px 30px rgba(0,0,0,0.35); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:var(--header-h); gap:16px; }
.logo{ display:flex; align-items:center; gap:10px; transition:transform .25s var(--ease); }
.logo img{ height:42px; width:auto; max-width:none; }
.logo:hover{ transform:scale(1.03); }
.logo-icon{ width:34px; height:34px; }
.logo-text{ font-family:var(--font-display); font-weight:800; font-size:18px; letter-spacing:0.06em; line-height:1; }
.logo-text small{ display:block; font-size:8px; font-weight:600; letter-spacing:0.18em; color:var(--muted); }

.main-nav{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.main-nav > a, .nav-link{
  font-size:11.5px; font-weight:600; letter-spacing:0.05em; color:var(--muted);
  position:relative; padding-bottom:4px; transition:color .2s ease; white-space:nowrap;
  background:none; border:none; cursor:pointer; font-family:inherit;
  display:inline-flex; align-items:center; gap:4px;
}
.main-nav > a::after, .nav-link::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--gradient); transition:width .25s var(--ease);
}
.main-nav > a:hover, .main-nav > a.active,
.nav-link:hover, .nav-item.has-dropdown:hover .nav-link,
.nav-item.has-dropdown:focus-within .nav-link{ color:var(--text); }
.main-nav > a.active::after, .main-nav > a:hover::after,
.nav-link:hover::after, .nav-item.has-dropdown:hover .nav-link::after,
.nav-item.has-dropdown:focus-within .nav-link::after{ width:100%; }
.nav-cta{ display:none; }

/* ---- dropdown nav items (Services / Projects / Partners) — pure CSS, no JS ---- */
.nav-item.has-dropdown{ position:relative; }
.nav-item.has-dropdown::after{
  /* invisible bridge over the visual gap between the button and the menu,
     so the mouse never leaves the hoverable area while moving down to it */
  content:""; position:absolute; left:0; right:0; top:100%; height:22px;
}
.nav-caret{
  font-size:9px; transform:translateY(1px); transition:transform .25s var(--ease);
}
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret{ transform:translateY(1px) rotate(180deg); }

.dropdown-menu{
  position:absolute; top:calc(100% + 16px); left:50%; transform:translate(-50%,10px);
  min-width:210px; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius-md); padding:10px; box-shadow:0 20px 44px rgba(0,0,0,0.5);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index:120;
}
.dropdown-menu::before{
  content:""; position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg);
  width:12px; height:12px; background:var(--panel); border-left:1px solid var(--panel-border);
  border-top:1px solid var(--panel-border);
}
.dropdown-menu a{
  display:block; padding:9px 12px; font-size:12.5px; color:var(--muted);
  border-radius:8px; white-space:nowrap; transition:background .2s ease, color .2s ease, transform .2s var(--ease);
}
.dropdown-menu a:hover{ background:rgba(255,255,255,0.06); color:var(--text); transform:translateX(2px); }

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu{
  opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,0);
}

/* ---- hamburger toggle (hidden on desktop, shown on tablet/mobile) ---- */
.header-actions{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:1px solid var(--panel-border);
  border-radius:10px; cursor:pointer; padding:0; align-items:center; flex:0 0 auto;
}
.nav-toggle span{
  display:block; width:18px; height:2px; background:var(--text);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.nav-backdrop{
  position:fixed; inset:0; top:var(--header-h); background:rgba(4,4,8,0.6);
  backdrop-filter:blur(2px); opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s;
  z-index:90;
}
body.nav-open .nav-backdrop{ opacity:1; visibility:visible; }
body.nav-open{ overflow:hidden; }

/* ============================================
   HERO
============================================ */
.hero{ padding:72px 0 48px; position:relative; }
.hero-inner{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:40px; align-items:center; }
.hero h1{ font-size:44px; line-height:1.12; margin-bottom:10px; }
.hero-tagline{
  font-size:18px; font-weight:600; color:var(--purple); margin-bottom:18px;
}
.hero-sub{ color:var(--muted); font-size:15px; max-width:420px; margin-bottom:32px; }
.hero-actions{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }

.hero-visual{ position:relative; min-height:480px; }
.hero-image{ width:100%; border-radius:var(--radius-lg); object-fit:cover; }

.connector-lines{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.connector-lines .line{
  fill:none; stroke:rgba(124,58,237,0.55); stroke-width:1.5;
  stroke-dasharray:6 6; animation:dash 6s linear infinite;
}
@keyframes dash{ to{ stroke-dashoffset:-120; } }

.float-card{
  position:absolute; background:rgba(15,15,22,0.92);
  border:1px solid var(--panel-border); border-radius:var(--radius-sm);
  padding:12px 14px; width:170px; font-size:11px; color:var(--muted);
  box-shadow:0 12px 30px rgba(0,0,0,0.45);
  animation:float 5s ease-in-out infinite; backdrop-filter:blur(6px);
}
.float-card img{ border-radius:6px; margin-top:6px; width:100%; }
.fc-num{ display:inline-block; color:var(--purple); font-weight:800; font-size:10px; margin-right:6px; }
.fc-label{ font-weight:700; letter-spacing:0.05em; color:var(--text); font-size:10px; }
.fc-caret{ display:block; margin-top:8px; color:var(--purple); font-weight:700; }
.float-card p{ margin-top:6px; line-height:1.4; }

.fc-01{ top:2%;  left:0%;   animation-delay:0s; }
.fc-02{ top:5%;  right:2%;  animation-delay:.6s; width:150px; }
.fc-03{ top:34%; right:0%;  animation-delay:1.2s; width:150px; }
.fc-04{ bottom:8%; right:4%; animation-delay:1.8s; width:150px; }
.fc-05{ bottom:6%; left:0%;  animation-delay:2.4s; width:160px; }

@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }

/* ---- trusted brand strip ---- */
.trusted-bar{
  margin-top:56px; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius-md); padding:26px 32px; text-align:center;
}
.trusted-label{ font-size:16px; font-weight:600; letter-spacing:0.14em; color:#fff; margin-bottom:20px; }
.logo-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.logo-row img{
  height:100px; width:auto; 
  transition:filter .3s var(--ease), transform .3s var(--ease);
}
.logo-row img:hover{ filter:grayscale(0) brightness(1) opacity(1); transform:translateY(-2px); }

/* ---- experience across industries strip ---- */
.industries-bar{ margin-top:20px; text-align:center; }
.industries-row{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.industry-item{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  flex:1 1 90px; padding:14px 6px;
  transition:transform .25s var(--ease);
}
.industry-item:hover{ transform:translateY(-4px); }
.industry-item img{ width:50px; height:50px; opacity:1; }
.industry-item span{ font-size:16px; color:#fff; }

/* ============================================
   SPLIT GRID (Who we are / Why AI / Academy)
============================================ */
.split-grid{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.split-grid.alt{ grid-template-columns:0.85fr 1.15fr; }
.split-grid.alt.reverse{ grid-template-columns:1.15fr 0.85fr; }

.who-we-are, .why-ai, .academy{ padding:100px 0; }

.wwa-media{ position:relative; border-radius:var(--radius-lg); overflow:hidden; }
.wwa-media img{ border-radius:var(--radius-lg); }
.play-story{
  position:absolute; left:24px; bottom:24px; display:inline-flex; align-items:center; gap:10px;
  background:rgba(10,10,15,0.7); backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,0.15); color:#fff;
  font-size:11px; font-weight:700; letter-spacing:0.06em;
  padding:8px 16px 8px 8px; border-radius:999px; cursor:pointer;
}

.wwa-copy h2{ font-size:34px; line-height:1.2; margin-bottom:18px; }
.wwa-copy .body-text{ margin-bottom:36px; }

.stat-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.stat-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius-md);
  padding:20px 14px; display:flex; flex-direction:column; gap:8px;
  transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.stat-card:hover{ transform:translateY(-4px); border-color:var(--purple); }
.stat-icon{ width:26px; height:26px; }
.stat-num{ font-family:var(--font-display); font-size:36px; font-weight:800; }
.stat-label{ font-size:14px; color:var(--muted); line-height:1.3; }

/* ============================================
   WHAT WE DO / SERVICES CAROUSEL
============================================ */
.what-we-do, .featured-work{ padding:80px 0; }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:36px; flex-wrap:wrap; gap:16px; }
.section-head h2{ font-size:30px; }

.carousel-wrap{ position:relative; display:flex; align-items:center; gap:12px; }
.card-row{
  display:flex; gap:20px; overflow-x:auto; scroll-behavior:smooth;
  scrollbar-width:none; padding-bottom:6px;
}
.card-row::-webkit-scrollbar{ display:none; }

.carousel-btn{
  flex:0 0 auto; width:42px; height:42px; border-radius:50%;
  border:1px solid var(--panel-border); background:var(--panel); color:var(--text);
  font-size:20px; cursor:pointer; transition:background .25s ease, border-color .25s ease;
}
.carousel-btn:hover{ background:var(--gradient); border-color:transparent; }

.dots{ display:flex; justify-content:center; gap:8px; margin-top:24px; }
.dot{ width:6px; height:6px; border-radius:50%; background:var(--panel-border); transition:background .25s ease, width .25s ease; }
.dot.active{ background:var(--gradient); width:20px; border-radius:4px; }

.service-card{
  flex:0 0 220px; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius-md); overflow:hidden; transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover{ transform:translateY(-6px); border-color:var(--purple); }
.service-card img{ height:150px; width:100%; object-fit:cover; }
.card-body{ padding:16px; }
.card-icon{ font-size:16px; display:inline-block; margin-bottom:10px; }
.card-body h3{ font-size:15px; margin-bottom:6px; }
.card-body p{ font-size:14px; color:var(--muted); line-height:1.4; }

/* ============================================
   FEATURED WORK GRID
============================================ */
.featured-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  grid-template-rows:1fr 1fr;
  gap:16px;
  height:420px;
}
.feature-tile{
  position:relative; border-radius:var(--radius-md); overflow:hidden;
  border:1px solid var(--panel-border);
}
.feature-tile img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.feature-tile:hover img{ transform:scale(1.06); }
.feature-tile-large{ grid-column:1; grid-row:1 / span 2; }
.feature-tile-tall{ grid-column:3; grid-row:1 / span 2; }

.tile-overlay{
  position:absolute; left:0; right:0; bottom:0; padding:22px;
  background:linear-gradient(to top, rgba(0,0,0,0.85), transparent 70%);
}
.tile-overlay h3{ font-size:22px; letter-spacing:0.08em; margin-bottom:4px; }
.tile-overlay p{ font-size:11px; letter-spacing:0.1em; color:var(--muted); margin-bottom:14px; }
.tile-overlay.small{ padding:14px; }
.tile-overlay.small h4{ font-size:12px; letter-spacing:0.04em; margin-bottom:2px; }
.tile-overlay.small p{ font-size:10px; margin-bottom:0; }
.tile-overlay.center{
  inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,0.25);
}

.watch-pill{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.2);
  padding:6px 14px 6px 6px; border-radius:999px; font-size:11px; font-weight:700; letter-spacing:0.05em;
}

/* ============================================
   WHY AI / COMPARISON
============================================ */
.why-copy h2{ font-size:32px; margin-bottom:16px; line-height:1.2; }
.why-copy .body-text{ margin-bottom:28px; }

.compare-box{
  position:relative; display:grid; grid-template-columns:1fr 1fr;
  background:var(--panel); border:1px solid #d0d0d0;
  border-radius:var(--radius-lg); padding:36px 32px; gap:20px;
}
.compare-col ul{ display:flex; flex-direction:column; gap:16px; margin-top:18px; }
.compare-col li{ display:flex; align-items:center; gap:10px; font-size:16px; color:var(--muted); }
.dot-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%; font-size:11px; flex:0 0 auto;
}
.traditional .compare-heading{ color:var(--orange); font-size:16px; font-weight:700; letter-spacing:0.06em; }
.traditional .dot-icon{ background:rgba(232,115,74,0.12); color:var(--orange); }
.urja .compare-heading{ color:var(--purple); font-size:16px; font-weight:700; letter-spacing:0.06em; }
.urja .dot-icon{ background:rgba(59,130,246,0.12); color:var(--purple); }

.vs-badge{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:52px; height:52px; border-radius:50%; background:var(--bg);
  border:1px solid var(--panel-border);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800; letter-spacing:0.05em;
}

/* ---- benefits strip (Faster / Smarter / Cost Effective) ---- */
.benefits-strip{
  margin-top:56px; display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.benefit-item{
  display:flex; align-items:flex-start; gap:14px;
  background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius-md); padding:22px;
  transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.benefit-item:hover{ transform:translateY(-4px); border-color:var(--purple); }
.benefit-icon{
  width:38px; height:38px; border-radius:50%; flex:0 0 auto;
  background:rgba(124,58,237,0.12); display:flex; align-items:center; justify-content:center;
}
.benefit-icon img{ width:100px; height:auto; }
.benefit-item h4{ font-size:18px; margin-bottom:4px; }
.benefit-item p{ font-size:16px; color:var(--muted); }

/* ============================================
   FEATURED WORK / STUDENT SHOWCASE CARDS
============================================ */
.work-card{
  position:relative; flex:0 0 220px; height:300px;
  border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--panel-border);
}
.work-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.work-card:hover img{ transform:scale(1.08); }
.work-caption{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  background:linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}
.work-caption h4{ font-size:13px; letter-spacing:0.04em; margin-bottom:2px; }
.work-caption p{ font-size:10px; color:var(--muted); letter-spacing:0.06em; }

.play-overlay{
  position:absolute; inset:0; margin:auto; width:48px; height:48px;
  background:transparent; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .25s ease;
}
.work-card:hover .play-overlay{ opacity:1; }

.student-showcase{ padding:80px 0; }

/* ============================================
   PROCESS STRIP
============================================ */
.process-strip{ padding:70px 0 90px; }
.process-track{ position:relative; display:flex; justify-content:space-between; margin-top:32px; gap:12px; }
.process-track::before{
  content:""; position:absolute; top:26px; left:0; right:0; height:1px;
  background-image:linear-gradient(to right, var(--panel-border) 50%, transparent 0%);
  background-size:12px 1px; background-repeat:repeat-x;
}
.process-step{
  position:relative; display:flex; flex-direction:column; align-items:center;
  gap:10px; flex:1; text-align:center;
}
.step-icon{
  width:52px; height:52px; border-radius:50%; background:var(--panel);
  border:1px solid var(--panel-border); display:flex; align-items:center; justify-content:center;
  z-index:1; transition:border-color .3s var(--ease), transform .3s var(--ease);
}
.step-icon img{ width:50px; height:50px; }
.process-step:hover .step-icon{ border-color:var(--purple); transform:translateY(-4px); }
.step-label{ font-size:16px; font-weight:700; color:var(--text); }
.step-desc{ font-size:14px; color:var(--muted); max-width:100px; line-height:1.4; }

/* ============================================
   FILMKRAFT AI ACADEMY SECTION
============================================ */
.academy-copy h2{ font-size:30px; line-height:1.25; margin-bottom:22px; }
.checklist{ display:flex; flex-direction:column; gap:14px; margin-bottom:30px; }
.checklist li{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--muted); }
.check{
  display:inline-flex; align-items:center; justify-content:center;
  width:20px; height:20px; border-radius:50%; font-size:11px;
  background:rgba(59,130,246,0.15); color:var(--blue); flex:0 0 auto;
}
.academy-media{ border-radius:var(--radius-lg); overflow:hidden; }
.academy-media img{ border-radius:var(--radius-lg); width:100%; }

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials{ padding:80px 0; }
.testimonial-grid{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; margin-top:32px;
}
.testimonial-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius-md);
  padding:26px 22px; display:flex; flex-direction:column; gap:18px;
  transition:transform .25s var(--ease), border-color .25s var(--ease);
}
.testimonial-card:hover{ transform:translateY(-4px); border-color:var(--purple); }
.quote-mark{ font-size:34px; color:var(--purple); font-family:Georgia, serif; line-height:1; }
.testimonial-card p{ font-size:13px; color:var(--muted); line-height:1.5; flex:1; }
.testimonial-author{ display:flex; align-items:center; gap:12px; }
.testimonial-author img{ width:38px; height:38px; border-radius:50%; object-fit:cover; }
.testimonial-author h5{ font-size:13px; }
.testimonial-author span{ font-size:11px; color:var(--muted-dim); }

/* ============================================
   FINAL CTA
============================================ */
.final-cta{ position:relative; padding:120px 0; overflow:hidden; }
.cta-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.cta-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(to right, rgba(8,8,13,0.92), rgba(8,8,13,0.55));
}
.cta-inner{ position:relative; z-index:2; text-align:left; }
.final-cta h2{ font-size:38px; line-height:1.2; margin-bottom:30px; }
.cta-actions{ display:flex; gap:18px; flex-wrap:wrap; }

/* ============================================
   FOOTER
============================================ */
.site-footer{ background:var(--bg-soft); border-top:1px solid var(--panel-border); padding-top:70px; }
.footer-top{
  display:grid; grid-template-columns:1.8fr 1.3fr 1.3fr 1.6fr 1.6fr;
  gap:32px; padding-bottom:50px;
}
.footer-brand img{ height:42px; width:auto; }
.footer-brand .body-text{ margin:16px 0 20px; }
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:34px; height:34px; border-radius:50%; background:var(--panel);
  border:1px solid var(--panel-border); display:flex; align-items:center; justify-content:center;
  transition:background .25s ease, border-color .25s ease;
}
.social-row a:hover{ background:var(--gradient); border-color:transparent; }
.social-row img{ width:25px; height:25px; }

.footer-col h5{ font-size:16px; margin-bottom:18px; }
.footer-col a{
  display:block; font-size:16px; color:var(--muted); margin-bottom:12px; transition:color .2s ease;
}
.footer-col a:hover{ color:var(--text); }
.footer-col a.view-all-link{
  color:var(--purple); font-weight:600; margin-top:2px;
}
.footer-col a.view-all-link:hover{ color:var(--text); }
.dropdown-menu a.view-all-link{
  color:var(--purple); font-weight:600; border-top:1px solid var(--panel-border);
  margin-top:4px; padding-top:12px;
}

.newsletter-form{ display:flex; gap:8px; margin-top:14px; }
.newsletter-form input{
  flex:1; min-width:0; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:999px; padding:10px 16px; font-size:12px; color:var(--text);
}
.newsletter-form input::placeholder{ color:var(--muted-dim); }
.newsletter-form button{ flex:0 0 auto; border-radius:50%; width:38px; height:38px; padding:0; justify-content:center; }

.footer-bottom{
  border-top:1px solid var(--panel-border); padding:22px 32px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
}
.footer-bottom p{ font-size:12px; color:var(--muted-dim); }
.footer-legal{ display:flex; gap:20px; }
.footer-legal a{ font-size:12px; color:var(--muted-dim); transition:color .2s ease; }
.footer-legal a:hover{ color:var(--text); }

/* ============================================
   INNER PAGE HERO (About / Contact / other inner pages)
   Reuses .final-cta as the base banner; .page-hero only
   scopes the tweaks below so the homepage's own final CTA
   section is untouched.
============================================ */
.page-hero{ padding:80px 0 64px; }
.page-hero .cta-inner{ text-align:center; }
.page-hero h2{ margin-bottom:14px; }
.page-hero-sub{
  color:var(--muted); font-size:18px; max-width:560px; margin:0 auto;
}

/* ============================================
   MISSION / VISION / QUALITY POLICY
============================================ */
.mvq-section{ padding:90px 0 110px; }
.mvq-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:24px; margin-top:36px;
}
.mvq-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius-lg);
  padding:34px 28px; transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.mvq-card:hover{ transform:translateY(-6px); border-color:var(--purple); }
.mvq-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:50%; font-size:22px;
  background:rgba(124,58,237,0.12); margin-bottom:18px;
}
.mvq-card h3{ font-size:19px; margin-bottom:12px; }
.mvq-card p{ font-size:16px; color:var(--muted); line-height:1.65; }

/* ============================================
   CONTACT PAGE
============================================ */
.contact-section{ padding:20px 0 120px; }
.contact-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:start; }

.contact-form-wrap h2{ font-size:32px; margin-bottom:14px; line-height:1.2; }
.contact-form-wrap .body-text{ margin-bottom:28px; max-width:none; }

.contact-form{ display:flex; flex-direction:column; gap:14px; }
.form-row{ display:flex; gap:14px; flex-wrap:wrap; }
.form-row > *{ flex:1; min-width:180px; }

.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; background:var(--panel); border:1px solid var(--panel-border);
  border-radius:var(--radius-sm); padding:13px 16px; font-size:13px;
  color:var(--text); font-family:inherit; transition:border-color .25s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:var(--muted-dim); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline:none; border-color:var(--purple);
}
.contact-form textarea{ resize:vertical; min-height:130px; }
.contact-form select{ appearance:none; cursor:pointer; }
.contact-form button{ align-self:flex-start; margin-top:6px; }
.form-note{ font-size:14px; color:var(--muted-dim); margin-top:4px; }

.office-cards{ display:flex; flex-direction:column; gap:20px; }
.office-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius-lg);
  padding:28px 26px; transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.office-card:hover{ transform:translateY(-4px); border-color:var(--purple); }
.office-flag{ font-size:26px; display:inline-block; margin-bottom:10px; }
.office-card h3{ font-size:17px; margin-bottom:14px; }
.office-line{ font-size:13px; color:var(--muted); line-height:1.7; margin-bottom:6px; }
.office-line strong{ color:var(--text); font-weight:600; }
.office-line a{ color:var(--muted); transition:color .2s ease; }
.office-line a:hover{ color:var(--purple); }

/* ============================================
   CLIENTS BY INDUSTRY
============================================ */
.clients-section{ padding:20px 0 120px; }
.clients-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px; margin-top:36px;
}
.client-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius-lg);
  padding:30px 28px; transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.client-card:hover{ transform:translateY(-6px); border-color:var(--purple); }
.client-card h3{
  font-size:18px; margin-bottom:18px; padding-bottom:14px; position:relative;
}
.client-card h3::after{
  content:""; position:absolute; left:0; bottom:0; width:36px; height:3px;
  border-radius:2px; background:var(--gradient);
}
.client-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.client-list li{
  font-size:13.5px; color:var(--muted); line-height:1.4; padding-left:18px; position:relative;
}
.client-list li::before{
  content:""; position:absolute; left:0; top:7px; width:6px; height:6px;
  border-radius:50%; background:var(--purple);
}

/* ============================================
   LOGO CARDS (Projects / Partners pages)
============================================ */
.logo-card-section{ padding:20px 0 120px; }
.logo-card-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:24px; margin-top:36px;
}
.logo-card{
  background:var(--panel); border:1px solid var(--panel-border); border-radius:var(--radius-lg);
  padding:32px 28px; text-align:center; display:flex; flex-direction:column; align-items:center;
  transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.logo-card:hover{ transform:translateY(-6px); border-color:var(--purple); }
.logo-card-media{
  border-radius:20px; background:rgba(255,255,255,0.05);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; padding:16px;
}
.logo-card-media img{ max-width:100%; max-height:100%; object-fit:contain; }
.logo-card h3{ font-size:17px; margin-bottom:10px; }
.logo-card p{ font-size:13px; color:var(--muted); line-height:1.65; margin-bottom:20px; }
.logo-card .link-arrow{ margin-top:auto; }

/* ============================================
   SCROLL REVEAL ANIMATION
============================================ */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .float-card, .connector-lines .line, .gradient-text{ animation:none; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width:1100px){
  .footer-top{ grid-template-columns:1fr 1fr 1fr; }
  .testimonial-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:1024px){
  .nav-toggle{ display:inline-flex; }

  .main-nav{
    position:fixed; top:var(--header-h); right:0; bottom:0;
    width:min(320px, 82vw); flex-direction:column; align-items:stretch; gap:2px;
    background:var(--bg-soft); border-left:1px solid var(--panel-border);
    padding:18px; overflow-y:auto;
    transform:translateX(100%); transition:transform .35s var(--ease);
    z-index:95;
  }
  body.nav-open .main-nav{ transform:translateX(0); }

  .main-nav > a, .nav-link{
    width:100%; padding:14px 6px; font-size:13px; justify-content:space-between;
    border-bottom:1px solid var(--panel-border);
  }
  .main-nav > a::after, .nav-link::after{ display:none; }
  .nav-item.has-dropdown{ display:flex; flex-direction:column; }
  .nav-item.has-dropdown::after{ display:none; }

  .nav-cta{ display:inline-flex; justify-content:center; margin-top:16px; }

  /* dropdown becomes an inline accordion instead of a floating popup;
     tapping the button focuses it, which opens the accordion via :focus-within */
  .dropdown-menu{
    position:static; opacity:1; visibility:visible; pointer-events:none;
    transform:none; box-shadow:none; border:none; background:transparent;
    padding:0; max-height:0; overflow:hidden;
    transition:max-height .35s var(--ease), padding .35s var(--ease);
  }
  .dropdown-menu::before{ display:none; }
  .nav-item.has-dropdown:focus-within .dropdown-menu{
    max-height:280px; padding:6px 0 10px 12px; pointer-events:auto;
  }
  .dropdown-menu a{ padding:10px 12px; }

  .hero-inner{ grid-template-columns:1fr; }
  .split-grid, .split-grid.alt, .split-grid.alt.reverse{ grid-template-columns:1fr; }
  .split-grid.alt.reverse{ direction:ltr; }
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .compare-box{ grid-template-columns:1fr; }
  .vs-badge{ position:static; transform:none; margin:12px auto; }
  .process-track{ flex-wrap:wrap; gap:24px; }
  .process-track::before{ display:none; }
  .process-step{ flex:0 0 30%; }
  .featured-grid{ grid-template-columns:1fr 1fr; grid-template-rows:auto; height:auto; }
  .feature-tile-large{ grid-column:1 / span 2; height:260px; }
  .feature-tile-tall{ grid-column:1 / span 2; height:180px; }
  .benefits-strip{ grid-template-columns:1fr; }
  .industries-row{ justify-content:flex-start; }
  .contact-grid{ grid-template-columns:1fr; gap:44px; }
}

@media (max-width:640px){
  .container{ padding:0 20px; }
  .hero h1{ font-size:32px; }
  .float-card{ position:static; width:100%; margin-bottom:10px; animation:none; }
  .hero-visual{ min-height:auto; }
  .connector-lines{ display:none; }
  .logo-row{ justify-content:center; }
  .header-inner .btn-small{ display:none; }
  .footer-top{ grid-template-columns:1fr; }
  .testimonial-grid{ grid-template-columns:1fr; }
  .feature-tile-large, .feature-tile-tall{ grid-column:1; }
  .featured-grid{ grid-template-columns:1fr; }
  .stat-grid{ grid-template-columns:1fr 1fr; }
  .process-step{ flex:0 0 45%; }
  .section-head{ flex-direction:column; align-items:flex-start; }
  .final-cta h2{ font-size:28px; }
  .cta-inner{ text-align:left; }
}

@media (max-width:420px){
  .container{ padding:0 16px; }
  .hero h1{ font-size:27px; }
  .stat-grid{ grid-template-columns:1fr; }
  .process-step{ flex:0 0 100%; }
  .service-card, .work-card{ flex-basis:78vw; }
  .main-nav{ width:100%; }
}
