/* ============================================================
   Gullf Group — Design System
   Identity: Bold red wordmark + deep navy + gold accents
   Cinematic, premium, parent-holding feel
   ============================================================ */

:root {
  /* Primary: bold red from logo */
  --red-700: #991B1B;
  --red-600: #B91C1C;
  --red-500: #DC2626;
  --red-400: #EF4444;
  --red-300: #F87171;
  --red-200: #FECACA;
  --red-100: #FEE2E2;
  --red-50:  #FEF2F2;

  /* Accent: gold for premium / value-added positioning */
  --gold-700: #92651A;
  --gold-600: #B98920;
  --gold-500: #D4AF37;
  --gold-400: #E6C66A;
  --gold-300: #F0D98A;
  --gold-200: #F7E9B7;
  --gold-100: #FBF4DA;

  /* Deep navy / ink — pairs with red & gold */
  --ink-950: #050813;
  --ink-900: #0A0F1E;
  --ink-850: #0F1628;
  --ink-800: #161F35;
  --ink-700: #283250;
  --ink-600: #3B4768;
  --ink-500: #5B6788;
  --ink-400: #8893B0;
  --ink-300: #B5BDD2;
  --ink-200: #DCE1ED;
  --ink-100: #EFF2F8;
  --ink-50:  #F7F9FC;

  --green-500: #10B981;
  --amber-500: #F59E0B;

  --white: #FFFFFF;
  --border: rgba(10, 15, 30, 0.08);
  --border-strong: rgba(10, 15, 30, 0.14);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 15, 30, 0.07), 0 1px 2px rgba(10, 15, 30, 0.04);
  --shadow-md: 0 4px 18px rgba(10, 15, 30, 0.08), 0 2px 5px rgba(10, 15, 30, 0.04);
  --shadow-lg: 0 18px 50px rgba(10, 15, 30, 0.12), 0 4px 14px rgba(10, 15, 30, 0.06);
  --shadow-xl: 0 28px 70px rgba(10, 15, 30, 0.18);
  --shadow-red: 0 14px 36px rgba(220, 38, 38, 0.28);
  --shadow-gold: 0 14px 36px rgba(212, 175, 55, 0.28);
  --shadow-card-hover: 0 24px 64px rgba(220, 38, 38, 0.14), 0 8px 20px rgba(10, 15, 30, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #DC2626 0%, #EF4444 45%, #B91C1C 100%);
  --gradient-brand-hover: linear-gradient(135deg, #B91C1C 0%, #DC2626 50%, #EF4444 100%);
  --gradient-gold: linear-gradient(135deg, #B98920 0%, #D4AF37 45%, #E6C66A 100%);
  --gradient-gold-soft: linear-gradient(135deg, #FBF4DA 0%, #F7E9B7 100%);
  --gradient-ink: linear-gradient(135deg, #0A0F1E 0%, #161F35 50%, #0A0F1E 100%);
  --gradient-hero: radial-gradient(1200px 700px at 75% -10%, rgba(220, 38, 38, 0.20), transparent 55%),
                   radial-gradient(900px 600px at 10% 110%, rgba(212, 175, 55, 0.12), transparent 55%),
                   linear-gradient(135deg, #050813 0%, #0A0F1E 50%, #161F35 100%);
  --gradient-soft: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  --gradient-mesh: radial-gradient(800px 500px at 70% 20%, rgba(220, 38, 38, 0.18), transparent 55%),
                   radial-gradient(600px 400px at 20% 80%, rgba(212, 175, 55, 0.12), transparent 55%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;

  --container: 1200px;
  --container-wide: 1340px;

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--red-500); color: #fff; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink-900);
}
h1 { font-size: clamp(2.35rem, 4vw + 1rem, 4rem); letter-spacing: -0.035em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 2.75rem); letter-spacing: -0.028em; font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1.2vw + 0.8rem, 1.55rem); }
h4 { font-size: 1.125rem; }
p { color: var(--ink-500); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-600);
  padding: 0.4rem 0.9rem;
  background: var(--red-50);
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.16);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-500);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.22);
}
.eyebrow.gold {
  background: var(--gradient-gold-soft);
  color: var(--gold-700);
  border-color: rgba(212, 175, 55, 0.30);
}
.eyebrow.gold::before { background: var(--gold-500); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25); }
.eyebrow.light {
  background: rgba(220, 38, 38, 0.10);
  color: #FCA5A5;
  border-color: rgba(220, 38, 38, 0.24);
}
.eyebrow.light::before { background: var(--red-400); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25); }
.eyebrow.light-gold {
  background: rgba(212, 175, 55, 0.10);
  color: var(--gold-400);
  border-color: rgba(212, 175, 55, 0.28);
}
.eyebrow.light-gold::before { background: var(--gold-500); box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25); }

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

/* ============================================================
   Layout
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container.wide { max-width: var(--container-wide); }
.section { padding: 6.5rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-head p { font-size: 1.0625rem; margin-top: 1rem; color: var(--ink-500); }
.section-head.left { text-align: left; margin-left: 0; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--easing), background 0.3s var(--easing);
}
.nav.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.94); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-logo { height: 30px; width: auto; }
.brand-suffix {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-700);
  letter-spacing: -0.01em;
  border-left: 1.5px solid var(--border-strong);
  padding-left: 0.7rem;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #161F35 0%, #050813 100%);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(10, 15, 30, 0.18);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(220, 38, 38, 0.22), transparent 70%);
}
.brand-mark svg { position: relative; z-index: 1; width: 26px; height: 26px; display: block; }
.brand-mark svg .gg-halo { transform-origin: 21px 22px; animation: gg-halo 2.8s ease-in-out infinite; }
@keyframes gg-halo { 0%,100% { opacity: 0.4; transform: scale(0.85); } 50% { opacity: 0.9; transform: scale(1.15); } }
.brand:hover .brand-mark { transform: translateY(-1px); }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink-900); letter-spacing: 0.02em; line-height: 1; }
.brand-sub { font-size: 0.66rem; color: var(--ink-500); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 0.2rem; font-weight: 600; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,0.55); }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links > a, .has-dropdown > a {
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-800);
  border-radius: 9px;
  transition: color 0.2s, background 0.2s;
  position: relative;
  cursor: pointer;
}
.nav-links > a:hover, .has-dropdown > a:hover { color: var(--red-600); background: var(--red-50); }
.nav-links a.active { color: var(--red-600); font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem; right: 1rem;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.2rem;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-red);
  transition: transform 0.25s var(--easing), box-shadow 0.25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 44px rgba(220, 38, 38, 0.36); }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; background: var(--ink-50); place-items: center; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  min-width: 320px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.22s var(--easing);
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(4px);
}
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.8rem;
  border-radius: 11px;
  color: var(--ink-800);
}
.dropdown a:hover { background: var(--red-50); }
.dropdown .dd-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--red-50);
  color: var(--red-500);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 0.25s var(--easing);
}
.dropdown a:hover .dd-icon { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-red); }
.dropdown .dd-title { font-weight: 600; font-size: 0.9rem; color: var(--ink-900); }
.dropdown .dd-desc { font-size: 0.77rem; color: var(--ink-400); display: block; margin-top: 1px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.28s var(--easing), box-shadow 0.28s, background 0.28s;
  white-space: nowrap;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(220, 38, 38, 0.36);
  background: var(--gradient-brand-hover);
}
.btn-gold { background: var(--gradient-gold); color: var(--ink-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(212, 175, 55, 0.36); }
.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink-900); border: 1.5px solid var(--ink-200); }
.btn-outline:hover { border-color: var(--red-500); color: var(--red-600); background: var(--red-50); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }
.btn-link { color: var(--red-600); padding: 0; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; transition: gap 0.25s var(--easing); }
.btn-link:hover { color: var(--red-700); gap: 0.65rem; }
.btn .arrow { transition: transform 0.25s var(--easing); }
.btn:hover .arrow { transform: translateX(3px); }

/* Shimmer on primary */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.7s var(--easing);
  z-index: -1;
}
.btn-primary:hover::after { left: 100%; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 6rem 0 7rem;
  background: var(--gradient-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% 8%, rgba(220, 38, 38, 0.22), transparent 55%),
    radial-gradient(600px 450px at 15% 90%, rgba(212, 175, 55, 0.12), transparent 55%);
  z-index: -2;
  animation: meshShift 20s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -1%) scale(1.04); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220, 38, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 25%, transparent 70%);
  z-index: -1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 { color: #fff; margin-top: 0.6rem; }
.hero h1 .gradient-text {
  background: linear-gradient(135deg, #F87171 0%, #FCA5A5 50%, #FECACA 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .gold-text {
  background: linear-gradient(135deg, #E6C66A 0%, #F0D98A 50%, #F7E9B7 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead {
  margin-top: 1.5rem;
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 58ch;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(220, 38, 38, 0.14);
}
.hero-meta .meta-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
}
.hero-meta .meta-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}

/* Hero visual cinematic — orbital subsidiary cards */
.hero-visual { position: relative; height: 540px; perspective: 1400px; }
.orbit-stage { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.18);
  pointer-events: none;
}
.orbit-ring.r1 { inset: 8%; }
.orbit-ring.r2 { inset: 22%; border-color: rgba(220, 38, 38, 0.18); }
.orbit-ring.r3 { inset: 36%; border-color: rgba(212, 175, 55, 0.14); }

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px; height: 110px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(212, 175, 55, 0.1));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: pulseCore 4s ease-in-out infinite;
  z-index: 3;
}
.orbit-center .oc-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.orbit-center .oc-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.2rem;
}
@keyframes pulseCore {
  0%, 100% { box-shadow: 0 20px 60px rgba(220, 38, 38, 0.25), 0 0 0 0 rgba(212, 175, 55, 0.18), inset 0 1px 0 rgba(255,255,255,0.1); }
  50% { box-shadow: 0 20px 60px rgba(220, 38, 38, 0.35), 0 0 0 30px rgba(212, 175, 55, 0), inset 0 1px 0 rgba(255,255,255,0.15); }
}

.orbit-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  min-width: 180px;
  z-index: 2;
}
.orbit-card .oc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 0.5rem;
}
.orbit-card .oc-name { font-size: 0.85rem; font-weight: 700; color: #fff; font-family: var(--font-display); }
.orbit-card .oc-tag { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }

.orbit-card.oc-mytec { top: 8%; right: 4%; animation: floatA 7s ease-in-out infinite; }
.orbit-card.oc-mytec .oc-icon { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }
.orbit-card.oc-timelore { bottom: 12%; left: 2%; animation: floatB 8s ease-in-out infinite; }
.orbit-card.oc-timelore .oc-icon { background: linear-gradient(135deg, #B98920, #E6C66A); }
.orbit-card.oc-var { top: 52%; right: -2%; animation: floatC 9s ease-in-out infinite; }
.orbit-card.oc-var .oc-icon { background: linear-gradient(135deg, #DC2626, #EF4444); }
.orbit-card.oc-stats { top: 8%; left: 4%; animation: floatA 8.5s ease-in-out infinite; }
.orbit-card.oc-stats .oc-icon { background: linear-gradient(135deg, #10B981, #34D399); }

@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(12px) rotate(-1deg); } }
@keyframes floatC { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(2deg); } }

/* ============================================================
   Logo strip
   ============================================================ */
.logos { padding: 3rem 0; border-bottom: 1px solid var(--border); background: var(--ink-50); }
.logos-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-500);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.logos-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3.5rem;
}
.logos-row span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink-600);
  letter-spacing: -0.01em;
  transition: color 0.25s var(--easing);
}
.logos-row span:hover { color: var(--red-600); }

/* ============================================================
   Subsidiaries showcase (signature parent-company section)
   ============================================================ */
.subsidiaries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.sub-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s, border-color 0.3s;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 350px at 100% 0%, var(--card-glow, rgba(220, 38, 38, 0.08)), transparent 55%);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.4s var(--easing);
}
.sub-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.sub-card:hover::before { opacity: 1; }
.sub-card[data-brand="mytec"] { --card-glow: rgba(14, 165, 233, 0.10); }
.sub-card[data-brand="timelore"] { --card-glow: rgba(212, 175, 55, 0.12); }

.sub-head { display: flex; align-items: center; gap: 1rem; }
.sub-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
}
.sub-card[data-brand="mytec"] .sub-icon { background: linear-gradient(135deg, #0EA5E9, #0284C7); box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28); }
.sub-card[data-brand="timelore"] .sub-icon { background: linear-gradient(135deg, #B98920, #D4AF37); box-shadow: var(--shadow-gold); color: #1a1a1a; }

.sub-meta .sub-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--ink-900); letter-spacing: -0.025em; }
.sub-meta .sub-tag { font-size: 0.78rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-top: 0.2rem; }
.sub-card p { font-size: 0.96rem; line-height: 1.65; }
.sub-card .sub-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sub-card .sub-chips span {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.65rem;
  background: var(--ink-50);
  color: var(--ink-700);
  border-radius: 99px;
  border: 1px solid var(--border);
}
.sub-card .sub-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--red-600);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap 0.25s var(--easing);
}
.sub-card[data-brand="mytec"] .sub-link { color: #0EA5E9; }
.sub-card[data-brand="timelore"] .sub-link { color: var(--gold-700); }
.sub-card .sub-link:hover { gap: 0.8rem; }

/* ============================================================
   Services grid
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s, border-color 0.3s;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s var(--easing);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(220, 38, 38, 0.18);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--red-50);
  color: var(--red-500);
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  transition: transform 0.35s var(--ease-out-expo), background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(-3deg);
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1rem; flex: 1; }
.service-card .chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 1.25rem; }
.service-card .chips span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  background: var(--ink-50);
  color: var(--ink-600);
  border-radius: 99px;
  border: 1px solid var(--border);
}

/* Premium dark service card variant */
.service-card.dark {
  background: var(--gradient-ink);
  border: 0;
  color: #fff;
}
.service-card.dark h3 { color: #fff; }
.service-card.dark p { color: rgba(255,255,255,0.65); }
.service-card.dark .service-icon { background: rgba(255,255,255,0.06); color: var(--gold-400); }
.service-card.dark .chips span { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.1); }
.service-card.dark .btn-link { color: var(--gold-400); }

/* ============================================================
   Feature / Split sections
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gradient-ink);
  padding: 2.25rem;
  min-height: 440px;
  box-shadow: var(--shadow-xl);
}
.split-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 80% 20%, rgba(220, 38, 38, 0.22), transparent 60%),
              radial-gradient(400px 250px at 10% 90%, rgba(212, 175, 55, 0.12), transparent 60%);
  pointer-events: none;
}

.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li {
  display: flex;
  gap: 0.95rem;
  padding: 0.7rem 0;
  align-items: flex-start;
}
.feature-list .check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--gradient-brand);
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 2px;
  box-shadow: var(--shadow-red);
}
.feature-list strong { color: var(--ink-900); display: block; margin-bottom: 0.2rem; font-size: 1rem; font-weight: 700; }
.feature-list span { color: var(--ink-500); font-size: 0.92rem; }

/* ============================================================
   Stats
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  text-align: left;
  transition: transform 0.3s var(--easing), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--easing);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(220, 38, 38, 0.18); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-card .num {
  font-family: var(--font-display);
  font-size: 2.65rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.035em;
}
.stat-card.gold .num { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .label { font-size: 0.9rem; color: var(--ink-500); margin-top: 0.7rem; }

/* ============================================================
   Process
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%; right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(220, 38, 38, 0.3) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--red-200);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--red-600);
  box-shadow: var(--shadow-md);
  transition: all 0.35s var(--ease-out-expo);
}
.process-step:hover .process-num {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--shadow-red);
}
.process-step h4 { margin-bottom: 0.35rem; }
.process-step p { font-size: 0.88rem; }

/* ============================================================
   Industries
   ============================================================ */
.industries {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.industry-tile {
  padding: 1.6rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s var(--easing);
}
.industry-tile:hover {
  border-color: var(--red-300);
  background: var(--red-50);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-tile .ind-icon { width: 40px; height: 40px; margin: 0 auto 0.7rem; color: var(--red-500); }
.industry-tile:hover .ind-icon { color: var(--red-600); }
.industry-tile .ind-label { font-size: 0.85rem; font-weight: 600; color: var(--ink-800); }

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial {
  background: var(--gradient-ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.testimonial::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 100%, rgba(220, 38, 38, 0.22), transparent),
    radial-gradient(300px 200px at 10% 10%, rgba(212, 175, 55, 0.12), transparent);
  z-index: -1;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.85vw, 1.65rem);
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 880px;
}
.testimonial-quote::before { content: '\201C'; font-size: 4.5rem; color: var(--gold-400); line-height: 0; vertical-align: -0.5em; margin-right: 0.4rem; }
.testimonial-meta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.testimonial-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--gradient-brand); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); }
.testimonial-name { color: #fff; font-weight: 600; }
.testimonial-role { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--gradient-ink);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 4.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 10% 0%, rgba(220, 38, 38, 0.28), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(212, 175, 55, 0.14), transparent 60%);
  z-index: -1;
}
.cta-band::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle 1.5px, rgba(220, 38, 38, 0.18) 100%, transparent 100%);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000 20%, transparent 70%);
  z-index: -1;
}
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto 1rem; }
.cta-band p { color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 2rem; font-size: 1.0625rem; }
.cta-band .hero-actions { justify-content: center; }

/* ============================================================
   Group Companies footer band (cross-link)
   ============================================================ */
.group-band {
  padding: 4rem 0 0;
  background: var(--ink-950);
  position: relative;
  overflow: hidden;
}
.group-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px 250px at 50% 0, rgba(220, 38, 38, 0.18), transparent 60%);
  pointer-events: none;
}
.group-head {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.group-head .eyebrow { background: rgba(212, 175, 55, 0.1); color: var(--gold-400); border-color: rgba(212, 175, 55, 0.22); }
.group-head h3 { color: #fff; font-size: 1.5rem; margin-top: 0.5rem; }
.group-head p { color: rgba(255,255,255,0.6); max-width: 520px; margin: 0.5rem auto 0; font-size: 0.95rem; }

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.group-card {
  display: block;
  padding: 1.85rem 1.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.group-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--group-accent, var(--gradient-brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--easing);
}
.group-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}
.group-card:hover::before { transform: scaleX(1); }
.group-card[data-brand="gullf"] { --group-accent: linear-gradient(90deg, #DC2626, #F87171); }
.group-card[data-brand="mytec"] { --group-accent: linear-gradient(90deg, #0EA5E9, #38BDF8); }
.group-card[data-brand="timelore"] { --group-accent: linear-gradient(90deg, #B98920, #E6C66A); }

.group-card.current { border-color: rgba(212, 175, 55, 0.32); background: rgba(212, 175, 55, 0.05); }
.group-card.current::before { transform: scaleX(1); }

.group-card .gc-row { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.group-card .gc-mark {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.group-card[data-brand="gullf"] .gc-mark { background: linear-gradient(135deg, #DC2626, #B91C1C); }
.group-card[data-brand="mytec"] .gc-mark { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.group-card[data-brand="timelore"] .gc-mark { background: linear-gradient(135deg, #B98920, #D4AF37); color: #111; }
.group-card .gc-name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.group-card .gc-role { font-size: 0.72rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-top: 0.15rem; }
.group-card .gc-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.55; }
.group-card .gc-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center; gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.group-card .gc-cta.is-current { color: rgba(255,255,255,0.35); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink-950);
  color: rgba(255,255,255,0.65);
  padding: 5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer h5 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.25rem; font-weight: 700; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col a:hover { color: var(--red-400); }
.footer-about p { font-size: 0.88rem; color: rgba(255,255,255,0.55); max-width: 340px; margin-top: 1rem; }
.footer .brand-logo { height: 28px; }

.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  transition: all 0.25s var(--easing);
}
.social a:hover {
  background: var(--gradient-brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a:hover { color: var(--red-400); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.page-header {
  background: var(--gradient-hero);
  color: #fff;
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 75% 25%, rgba(220, 38, 38, 0.20), transparent 60%),
    radial-gradient(400px 300px at 25% 80%, rgba(212, 175, 55, 0.1), transparent 55%);
  z-index: -1;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(220, 38, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 38, 38, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, #000 25%, transparent 70%);
  z-index: -1;
}
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red-300); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }
.page-header h1 { color: #fff; max-width: 18ch; }
.page-header p.lead { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 60ch; margin-top: 1.25rem; }

/* ============================================================
   Feature cards
   ============================================================ */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: all 0.3s var(--easing);
}
.feature-card:hover { border-color: var(--red-300); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .fc-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--gradient-soft);
  color: var(--red-500);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  transition: all 0.3s var(--easing);
}
.feature-card:hover .fc-icon { background: var(--gradient-brand); color: #fff; box-shadow: var(--shadow-red); }
.feature-card h4 { margin-bottom: 0.5rem; color: var(--ink-900); }
.feature-card p { font-size: 0.92rem; }

/* ============================================================
   Form
   ============================================================ */
.form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-800); margin-bottom: 0.4rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red-500);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.contact-info { display: grid; gap: 1rem; }
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.25s var(--easing);
}
.contact-info-row:hover { border-color: var(--red-300); box-shadow: var(--shadow-sm); }
.contact-info-row .ci-icon {
  width: 44px; height: 44px;
  background: var(--red-50);
  color: var(--red-500);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-row strong { color: var(--ink-900); display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-row span { font-size: 0.88rem; color: var(--ink-500); }

/* ============================================================
   AI Showcase (premium dark)
   ============================================================ */
.ai-section {
  background: var(--gradient-ink);
  color: #fff;
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ai-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 75% 20%, rgba(220, 38, 38, 0.18), transparent 55%),
    radial-gradient(500px 350px at 20% 75%, rgba(212, 175, 55, 0.10), transparent 55%);
  z-index: -1;
}
.ai-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle 1px, rgba(220, 38, 38, 0.10) 100%, transparent 100%);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 20%, transparent 70%);
  z-index: -1;
}
.ai-section .section-head p { color: rgba(255,255,255,0.65); }
.ai-section h2 { color: #fff; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ai-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s;
}
.ai-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(220, 38, 38, 0.22);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.18);
}
.ai-card:hover::before { opacity: 1; }
.ai-card .ai-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.18), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: var(--red-300);
  display: grid; place-items: center;
  margin-bottom: 1.15rem;
  transition: all 0.35s var(--ease-out-expo);
}
.ai-card:hover .ai-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-red);
  transform: scale(1.06) rotate(-3deg);
}
.ai-card h4 { color: #fff; margin-bottom: 0.5rem; font-size: 1.05rem; }
.ai-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.6; }
.ai-card .ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.28rem 0.65rem;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.20);
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--red-300);
}
.ai-card .ai-tag .pulse {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red-400);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(248, 113, 113, 0); }
}

/* Tilt enabled */
.tilt { transform-style: preserve-3d; transition: transform 0.35s var(--easing); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; max-width: 520px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .subsidiaries { grid-template-columns: 1fr; }
  .services-grid, .services-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .group-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 1rem; right: 1rem;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    align-items: stretch;
  }
  .nav-links.open > a, .nav-links.open .has-dropdown > a { width: 100%; padding: 0.75rem 1rem; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; opacity: 1; pointer-events: auto; transform: none; min-width: 0; }
  .nav-cta { display: none; }
  .brand-suffix { display: none; }
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .services-grid, .services-grid.cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial, .cta-band { padding: 2.5rem; }
  .process { grid-template-columns: 1fr; }
  .ai-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 24px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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