/* ==========================================================================
   GIDEL SERVICES — Shared Design System
   Brand: Black + Orange/Yellow | Modern, elegant, animated
   Pages: Home, Services, About, Gallery, ICT Application, Contact
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS
   -------------------------------------------------------------------------- */
/* Google Fonts are loaded via a non-blocking <link> in each page <head>. */

/* --------------------------------------------------------------------------
   2. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --c-bg:        #0c0c0d;
  --c-bg-2:      #121214;
  --c-surface:   #1a1a1e;
  --c-surface-2: #222227;
  --c-border:    rgba(255, 255, 255, 0.08);
  --c-border-2:  rgba(251, 191, 36, 0.35);
  --c-text:      #f5f5f7;
  --c-muted:     #a3a3ad;
  --c-muted-2:   #7c7c85;

  /* Brand accents */
  --c-orange: #f97316;
  --c-yellow: #fbbf24;
  --c-orange-soft: rgba(249, 115, 22, 0.14);
  --c-yellow-soft: rgba(251, 191, 36, 0.12);
  --grad-accent: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  --grad-soft: linear-gradient(135deg, rgba(249,115,22,0.16) 0%, rgba(251,191,36,0.12) 100%);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Sora', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.45s var(--ease);
  --t-slow: 0.7s var(--ease);

  /* Header */
  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   3. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font-family: inherit; }

::selection { background: var(--c-orange); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-orange), var(--c-yellow));
  border-radius: 20px;
  border: 3px solid var(--c-bg);
}

/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 92px; }
.section-alt { background: var(--c-bg-2); }
.section-tight { padding-block: 64px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-yellow);
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-top: 14px;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 16px;
  color: var(--c-muted);
  font-size: 1.02rem;
}

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .icon { font-size: 1.05em; line-height: 1; transition: transform var(--t-fast); }

.btn-primary {
  background: var(--grad-accent);
  color: #1a1206;
  box-shadow: 0 10px 30px -8px rgba(249, 115, 22, 0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(249, 115, 22, 0.65); }
.btn-primary:hover .icon { transform: translateX(4px); }

.btn-outline {
  border: 1.5px solid rgba(251, 191, 36, 0.45);
  color: var(--c-yellow);
  background: rgba(251, 191, 36, 0.04);
}
.btn-outline:hover {
  background: var(--grad-accent);
  color: #1a1206;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -10px rgba(249, 115, 22, 0.5);
}

.btn-ghost {
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--c-yellow); color: var(--c-yellow); transform: translateY(-3px); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   6. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med), box-shadow var(--t-med), height var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
  background: rgba(12, 12, 13, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.scrolled {
  height: 62px;
  background: rgba(12, 12, 13, 0.92);
  border-bottom-color: var(--c-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--c-border-2);
  background: var(--c-surface);
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-name span { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-yellow); margin-top: 2px; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  padding: 10px 15px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-muted);
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--c-text); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--c-yellow); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--c-text);
  border-radius: 3px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: 70px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(760px 460px at -5% 20%, rgba(251, 191, 36, 0.12), transparent 55%),
    linear-gradient(160deg, #101013 0%, #0a0a0b 60%, #0e0e10 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.5;
  animation: float 9s ease-in-out infinite;
}
.hero-orb.o1 { width: 340px; height: 340px; background: rgba(249,115,22,0.28); top: 8%; right: 6%; }
.hero-orb.o2 { width: 240px; height: 240px; background: rgba(251,191,36,0.2); bottom: 4%; left: 2%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(12px); }
}

.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-border-2);
  background: var(--grad-soft);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-yellow);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 0 0 rgba(251,191,36,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251,191,36,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(251,191,36,0); }
  100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.hero-tagline {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-text);
}
.hero-tagline .sep { color: var(--c-orange); margin-inline: 6px; }

.hero-text {
  margin-top: 20px;
  max-width: 560px;
  color: var(--c-muted);
  font-size: 1.06rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; }
.hero-trust-item { display: flex; align-items: center; gap: 12px; }
.hero-trust-item .num {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-yellow);
  line-height: 1;
}
.hero-trust-item .lbl { font-size: 0.8rem; color: var(--c-muted); line-height: 1.35; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
}
.hero-card img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; transition: transform var(--t-slow); }
.hero-card:hover img { transform: scale(1.05); }
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(12,12,13,0.85) 100%);
}
.hero-card-caption {
  position: absolute;
  left: 26px; right: 26px; bottom: 24px;
  z-index: 2;
}
.hero-card-caption h3 { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; }
.hero-card-caption p { color: var(--c-muted); font-size: 0.9rem; margin-top: 4px; }

.hero-badge-float {
  position: absolute;
  top: -18px; left: -18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--grad-accent);
  color: #1a1206;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 18px 40px -12px rgba(249,115,22,0.7);
  animation: float 6s ease-in-out infinite;
}
.hero-badge-float small { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; opacity: 0.85; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: 96px 78px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 16px;
}
.page-hero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
  font-size: 0.86rem;
  font-family: var(--font-heading);
}
.page-hero .crumb a:hover { color: var(--c-yellow); }
.page-hero .crumb .sep { color: var(--c-orange); }

/* --------------------------------------------------------------------------
   8. CARDS & GRIDS
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Category cards (home) */
.cat-card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--c-border-2); box-shadow: 0 24px 60px -22px rgba(249,115,22,0.28); }
.cat-card:hover::before { transform: scaleX(1); }

.cat-icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--c-border-2);
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: transform var(--t-med), background var(--t-med);
}
.cat-card:hover .cat-icon { transform: rotate(-6deg) scale(1.06); background: var(--grad-accent); }

.cat-card h3 { font-family: var(--font-heading); font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.cat-card p { color: var(--c-muted); font-size: 0.94rem; }
.cat-count {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-yellow);
}

/* Service cards */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  position: relative;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--c-border-2); box-shadow: 0 22px 55px -20px rgba(249,115,22,0.25); }
.service-num {
  position: absolute;
  top: 18px; right: 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  transition: color var(--t-fast);
}
.service-card:hover .service-num { color: rgba(251,191,36,0.35); }
.service-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--c-border-2);
  font-size: 1.45rem;
  margin-bottom: 14px;
  transition: transform var(--t-med), background var(--t-med);
}
.service-card:hover .service-icon { background: var(--grad-accent); transform: scale(1.05) rotate(-4deg); }
.service-card h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; }
.service-card p { color: var(--c-muted); font-size: 0.9rem; }

/* Value cards */
.value-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--c-surface), var(--c-bg-2));
  border: 1px solid var(--c-border);
  text-align: center;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.value-card:hover { transform: translateY(-8px); border-color: var(--c-border-2); box-shadow: 0 24px 55px -20px rgba(249,115,22,0.25); }
.value-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--c-border-2);
  font-size: 1.9rem;
  transition: transform var(--t-med), background var(--t-med);
}
.value-card:hover .value-icon { background: var(--grad-accent); transform: scale(1.08) rotate(6deg); }
.value-card h3 { font-family: var(--font-heading); font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.value-card p { color: var(--c-muted); font-size: 0.92rem; }

/* Why-choose items */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  transition: transform var(--t-med), border-color var(--t-med);
}
.why-item:hover { transform: translateX(6px); border-color: var(--c-border-2); }
.why-check {
  flex: none;
  width: 30px; height: 30px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--grad-accent);
  color: #1a1206;
  font-weight: 800;
  font-size: 0.9rem;
}
.why-item p { font-weight: 500; font-size: 0.98rem; }

/* Client tags */
.client-tags { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.client-tag {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-text);
  transition: border-color var(--t-fast), transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.client-tag:hover {
  border-color: var(--c-yellow);
  background: var(--grad-soft);
  color: var(--c-yellow);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   9. MISSION / VISION / STATEMENT BANDS
   -------------------------------------------------------------------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card {
  position: relative;
  padding: 44px 38px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
}
.mv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at 85% -10%, rgba(249,115,22,0.18), transparent 60%);
  pointer-events: none;
}
.mv-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-yellow);
}
.mv-card h3 { font-family: var(--font-display); font-size: 1.9rem; margin: 12px 0 16px; }
.mv-card p { color: var(--c-muted); font-size: 1rem; position: relative; }

.statement-band {
  position: relative;
  padding: 84px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(249,115,22,0.16), transparent 60%),
    var(--c-bg-2);
}
.statement-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.3;
}
.statement-band .sub {
  margin-top: 22px;
  color: var(--c-muted);
  max-width: 680px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   10. STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  position: relative;
  padding: 44px 0;
  border-block: 1px solid var(--c-border);
  background: var(--c-bg-2);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--c-muted); font-size: 0.9rem; margin-top: 6px; }

/* --------------------------------------------------------------------------
   11. GALLERY
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}
.tab-btn {
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-muted);
  transition: all var(--t-fast);
}
.tab-btn:hover { border-color: var(--c-yellow); color: var(--c-yellow); }
.tab-btn.active { background: var(--grad-accent); border-color: transparent; color: #1a1206; box-shadow: 0 10px 26px -8px rgba(249,115,22,0.5); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-preview { grid-template-columns: repeat(6, 1fr); }
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  aspect-ratio: 4 / 5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item .g-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(200deg, transparent 40%, rgba(12,12,13,0.92) 100%);
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay .g-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 600; }
.g-overlay .g-hint { font-size: 0.78rem; color: var(--c-yellow); margin-top: 2px; }

.gallery-hide { display: none !important; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(8, 8, 9, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 1000px);
  max-height: 84vh;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  transform: scale(0.94);
  transition: transform var(--t-med);
}
.lightbox.open img { transform: scale(1); }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 1.5rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lb-btn:hover { background: var(--grad-accent); color: #1a1206; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 1.4rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.lb-close:hover { background: #e11d48; color: #fff; transform: rotate(90deg); }
.lb-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  color: var(--c-muted);
  font-size: 0.92rem;
  background: rgba(12,12,13,0.7);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  max-width: 80%;
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form-card {
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 9px;
  color: var(--c-text);
}
.form-group label .req { color: var(--c-orange); }
.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--c-bg-2);
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.98rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  outline: none;
}
.form-control::placeholder { color: var(--c-muted-2); }
.form-control:focus {
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.12);
  background: var(--c-bg);
}
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-yellow) 50%), linear-gradient(135deg, var(--c-yellow) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
  background-size: 7px 7px;
  background-repeat: no-repeat;
}
textarea.form-control { min-height: 130px; resize: vertical; }

.form-note { margin-top: 18px; font-size: 0.86rem; color: var(--c-muted); text-align: center; }
.form-success {
  display: none;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.4);
  color: #4ade80;
  font-size: 0.95rem;
}
.form-success.show { display: block; animation: fadeUp 0.5s var(--ease); }

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #fb7185;
}
.form-control.invalid { border-color: #fb7185; box-shadow: 0 0 0 4px rgba(251,113,133,0.1); }

/* --------------------------------------------------------------------------
   13. CONTACT LAYOUT
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  margin-bottom: 16px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.contact-info-item:hover { border-color: var(--c-border-2); transform: translateX(5px); }
.ci-icon {
  flex: none;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--c-border-2);
  font-size: 1.4rem;
}
.ci-title { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; }
.ci-icon svg, .btn .icon svg, .footer-social svg { display: block; }
.ci-value { color: var(--c-muted); font-size: 0.92rem; margin-top: 3px; word-break: break-word; }

.map-frame {
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  filter: grayscale(0.6) invert(0.9) hue-rotate(180deg) contrast(0.9);
}
.map-frame iframe { width: 100%; height: 460px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer { background: var(--c-bg-2); border-top: 1px solid var(--c-border); padding-top: 76px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--c-muted); font-size: 0.94rem; margin-top: 18px; max-width: 320px; }
.footer-tagline {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-yellow);
  letter-spacing: 0.04em;
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: var(--c-muted); font-size: 0.92rem; transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-col ul a:hover { color: var(--c-yellow); padding-left: 5px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  font-size: 1.1rem;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--grad-accent); color: #1a1206; transform: translateY(-3px); border-color: transparent; }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--c-muted-2);
  font-size: 0.86rem;
}
.footer-bottom a { color: var(--c-yellow); }

/* --------------------------------------------------------------------------
   15. WHATSAPP FLOATING BUTTON
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 34px -8px rgba(37, 211, 102, 0.7);
  transition: width var(--t-med), border-radius var(--t-med), transform var(--t-fast), background var(--t-fast);
  overflow: hidden;
  white-space: nowrap;
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ring 2.2s infinite;
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float svg { flex: none; width: 32px; height: 32px; margin: 0 14px; }
.wa-float .wa-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding-right: 18px;
  opacity: 0;
  transition: opacity var(--t-med);
}
.wa-float:hover { width: 210px; border-radius: 999px; transform: translateY(-3px); background: #1fb959; }
.wa-float:hover .wa-label { opacity: 1; }
.wa-float:hover::before { animation: none; opacity: 0; }

/* Call Now float button */
.call-float {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #1a1206;
  box-shadow: 0 12px 34px -8px rgba(249, 115, 22, 0.6);
  transition: width var(--t-med), border-radius var(--t-med), transform var(--t-fast), background var(--t-fast);
  overflow: hidden;
  white-space: nowrap;
}
.call-float svg { flex: none; width: 30px; height: 30px; margin: 0 15px; }
.call-float .call-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding-right: 18px;
  opacity: 0;
  transition: opacity var(--t-med);
}
.call-float:hover { width: 168px; border-radius: 999px; transform: translateY(-3px); }
.call-float:hover .call-label { opacity: 1; }

/* Scroll to top */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 100px;
  z-index: 1500;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border-2);
  color: var(--c-yellow);
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-med), visibility var(--t-med), transform var(--t-med), background var(--t-med), color var(--t-med);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.6);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad-accent); color: #1a1206; }

/* --------------------------------------------------------------------------
   16. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-hero {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}
.anim-hero.d1 { animation-delay: 0.1s; }
.anim-hero.d2 { animation-delay: 0.22s; }
.anim-hero.d3 { animation-delay: 0.34s; }
.anim-hero.d4 { animation-delay: 0.46s; }
.anim-hero.d5 { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17B. HOME GRAPHICS — hero collage, marquee, cat-card thumbs, showcase band
   -------------------------------------------------------------------------- */

/* Hero collage */
.hero-collage { position: relative; }
.hc-float {
  position: absolute;
  width: 148px;
  height: 148px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-border-2);
  box-shadow: 0 22px 50px -16px rgba(0, 0, 0, 0.75);
  animation: float 8s ease-in-out infinite;
}
.hc-float img { width: 100%; height: 100%; object-fit: cover; }
.hc-float .hc-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 9px 12px;
  background: linear-gradient(200deg, transparent 20%, rgba(12, 12, 13, 0.92) 100%);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--c-text);
}
.hc-f1 { top: -22px; right: -22px; }
.hc-f2 { bottom: -24px; left: -24px; width: 136px; height: 136px; animation-delay: -4s; }

/* Services marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--c-border);
  background: var(--c-bg-2);
  padding: 18px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-muted);
  white-space: nowrap;
}
.marquee-item .mi-ic { color: var(--c-yellow); font-size: 1.05rem; }
.marquee-item::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-accent);
  margin-left: 52px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Category cards with image thumbnails */
.cat-card { padding: 0; }
.cat-thumb {
  position: relative;
  height: 172px;
  overflow: hidden;
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.cat-card:hover .cat-thumb img { transform: scale(1.12); }
.cat-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 45%, rgba(12, 12, 13, 0.85) 100%);
}
.cat-body { padding: 26px 28px 30px; }
.cat-card-cta {
  background: var(--grad-soft);
  border: 1px solid var(--c-border-2);
}
.cat-card-cta .cat-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

/* Parallax showcase band */
.showcase {
  position: relative;
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.showcase-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../img-opt/gidel-brands/GIDEL.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(12, 12, 13, 0.62) 0%, rgba(10, 10, 11, 0.92) 100%);
}
.showcase h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.2;
}
.showcase .sub {
  margin: 20px auto 0;
  max-width: 640px;
  color: rgba(245, 245, 247, 0.85);
  font-size: 1.05rem;
}
.showcase .hero-actions { justify-content: center; margin-top: 36px; }

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-preview { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .site-header { position: sticky; top: 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(340px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 28px 40px;
    background: rgba(16, 16, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--c-border);
    transform: translateX(100%);
    transition: transform var(--t-med);
    box-shadow: -30px 0 80px rgba(0,0,0,0.5);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu .nav-link { width: 100%; padding: 14px 16px; font-size: 1.02rem; }
  .nav-menu .nav-link.active::after { display: none; }
  .nav-menu .nav-cta { margin-left: 0; margin-top: 10px; width: 100%; }
  .nav-menu .nav-cta .btn { width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 640px) {
  .section { padding-block: 66px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-preview { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hc-f1, .hc-f2 { width: 96px; height: 96px; }
  .hc-f1 { top: -12px; right: -6px; }
  .hc-f2 { bottom: -12px; left: -6px; }
  .cat-thumb { height: 150px; }
  .showcase { padding: 90px 0; }
  .showcase-bg { background-attachment: scroll; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-card { padding: 28px 22px; }
  .hero-badge-float { display: none; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-btn { width: 44px; height: 44px; }
  .wa-float { right: 18px; bottom: 18px; }
  .call-float { left: 18px; bottom: 18px; }
  .to-top { right: 18px; bottom: 92px; }
}
