/* ==========================================================================
   Digital Marketing Marvels — Global Design System
   Dark-editorial · electric crimson accent · glassmorphism · cinematic motion
   ========================================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --bg:            #0B0B0F;
  --bg-soft:       #101018;
  --surface:       #15151C;
  --surface-2:     #1B1B24;
  --border:        rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.18);

  --accent:        #E4002B;
  --accent-2:      #FF4D5E;
  --violet:        #7B2FF7;
  --success:       #22C55E;

  --text:          #F5F5F7;
  --text-muted:    #A1A1AA;
  --text-faint:    #6B6B76;

  --grad-accent:   linear-gradient(120deg, #E4002B 0%, #FF4D5E 100%);
  --grad-mesh:     radial-gradient(60% 60% at 20% 20%, rgba(228,0,43,0.28), transparent 60%),
                   radial-gradient(50% 50% at 85% 15%, rgba(123,47,247,0.22), transparent 60%),
                   radial-gradient(60% 60% at 70% 90%, rgba(228,0,43,0.14), transparent 60%);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing / layout */
  --maxw:  1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 20px;
  --radius-sm: 14px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.5s;

  /* Depth */
  --shadow:      0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px -8px rgba(228, 0, 43, 0.45);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film-grain + mesh glow layered behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0.55;
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: -0.01em; }
p  { color: var(--text-muted); }

.accent-text { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
/* One vertical rhythm for every section: ~56px mobile → ~96px desktop */
.section  { padding-block: clamp(3.5rem, 6vw, 6rem); position: relative; }
.divider  { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--border-bright), transparent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2);
  padding: 0.4rem 0.9rem; border: 1px solid var(--border); border-radius: 100px;
  background: rgba(228, 0, 43, 0.06);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.section-head { max-width: 720px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head p { margin-top: 1rem; font-size: 1.1rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--grad-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  min-height: 48px; padding: 14px 28px; border-radius: 12px; border: 1px solid transparent;
  background: var(--_bg); color: #fff; position: relative; isolation: isolate; cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: var(--shadow-glow);
  will-change: transform;
}
.btn:hover { box-shadow: 0 0 55px -6px rgba(228, 0, 43, 0.7); }
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn.ghost {
  --_bg: transparent;
  border-color: var(--border-bright); color: var(--text); box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn.ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); box-shadow: none; }

.btn.sm { min-height: 40px; padding: 0 1.1rem; font-size: 14px; border-radius: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 0.7rem; color: var(--accent-2); }

/* ---------- Glass card ---------- */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  height: 100%;
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.3rem;
  border-radius: 14px; background: rgba(228, 0, 43, 0.12); border: 1px solid rgba(228, 0, 43, 0.25);
  color: var(--accent-2); font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p  { font-size: 0.98rem; }

/* Glow ring that follows hover on feature cards */
.card.glow::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card.glow:hover::after { opacity: 0.6; }

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: clamp(1.5rem, 2.5vw, 2rem); align-items: stretch; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 15, 0.8);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; height: 72px; }

.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; line-height: 1.05; white-space: nowrap; flex: none; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad-accent); flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: var(--shadow-glow);
}
.brand > span { display: flex; flex-direction: column; justify-content: center; }
.brand small { font-family: var(--font-body); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 0.1rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--text-muted);
  padding: 0.5rem 0.78rem; border-radius: 10px; position: relative; white-space: nowrap; transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.78rem; right: 0.78rem; bottom: 0.28rem; height: 2px;
  background: var(--grad-accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 0.7rem; flex: none; }
/* Compact CTA sized for the bar (global .btn stays 48px everywhere else) */
.nav-cta .btn { min-height: 42px; padding: 0 1.25rem; font-size: 14.5px; border-radius: 10px; }

.hamburger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); position: relative; }
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(11, 11, 15, 0.96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 0.5rem; padding: 6rem var(--gutter) 2rem;
  transform: translateX(100%); transition: transform 0.45s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; padding: 0.6rem 0; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 1.5rem; justify-content: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: clamp(7.5rem, 11vw, 9.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .word { display: inline-block; }
.hero .lead { max-width: 34ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; z-index: -1;
  animation: drift 18s ease-in-out infinite;
}
.blob.a { width: 460px; height: 460px; background: rgba(228, 0, 43, 0.5); top: -120px; left: -80px; }
.blob.b { width: 380px; height: 380px; background: rgba(123, 47, 247, 0.4); bottom: -100px; right: -60px; animation-delay: -6s; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.1); } }

/* Floating dashboard */
.dash {
  position: relative; border-radius: 24px; padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border-bright); backdrop-filter: blur(20px); box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0.001deg); } 50% { transform: translateY(-14px); } }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.dash-head .dots { display: flex; gap: 6px; }
.dash-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); display: block; }
.dash-head .live { font-size: 0.72rem; color: var(--success); display: inline-flex; align-items: center; gap: 0.4rem; }
.dash-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.dash-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; margin-bottom: 0.8rem; }
.dash-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0.9rem 1rem; }
.dash-tile .k { font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.dash-tile .v { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-top: 0.2rem; }
.dash-tile .v.up { color: var(--success); }
.dash-chart { height: 90px; display: flex; align-items: flex-end; gap: 6px; padding: 0.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.dash-chart span { flex: 1; background: var(--grad-accent); border-radius: 4px 4px 0 0; opacity: 0.85; animation: grow 2.4s var(--ease) both; }
@keyframes grow { from { height: 0; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--text-faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.6rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Industry chip row (trust strip when no client logos exist yet) */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.logo-chip { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.7rem 1.3rem; border: 1px solid var(--border); border-radius: 100px; background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--text-muted); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.logo-chip:hover { color: var(--text); border-color: var(--border-bright); }
.logo-chip .ic { font-size: 1.15rem; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-soft); padding: clamp(1.6rem, 3vw, 2.4rem); text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.stat .label { margin-top: 0.6rem; font-size: 0.92rem; color: var(--text-muted); }

/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--violet)); opacity: 0.4; }
.step { position: relative; }
.step .n { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-bright); font-family: var(--font-display); font-weight: 700; margin-bottom: 1.2rem; position: relative; z-index: 1; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.tcard { min-height: 100%; }
.tcard .quote { font-size: 1.1rem; color: var(--text); line-height: 1.6; margin-bottom: 1.5rem; }
.tcard .who { display: flex; align-items: center; gap: 0.9rem; }
.tcard .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; }
.tcard .who b { display: block; font-size: 0.95rem; }
.tcard .who span { font-size: 0.82rem; color: var(--text-faint); }
.stars { color: var(--accent-2); margin-bottom: 1rem; letter-spacing: 2px; }

/* Slider */
.slider { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform 0.6s var(--ease); }
.slider-slide { min-width: 100%; padding: 0.4rem; }
.slider-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.slider-prev, .slider-next { width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 1.1rem; transition: all 0.3s var(--ease); }
.slider-prev:hover, .slider-next:hover { border-color: var(--accent); color: var(--accent-2); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border-bright); transition: all 0.3s var(--ease); }
.slider-dot.active { background: var(--grad-accent); width: 26px; border-radius: 100px; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; overflow: hidden; border: 1px solid var(--border-bright); background: var(--surface); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: 0.9; z-index: -1; }
.cta-band h2 { max-width: 18ch; margin: 0 auto 1rem; }
.cta-band p { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ==========================================================================
   PACKAGES / PRICING
   ========================================================================== */
.toggle-wrap { display: inline-flex; align-items: center; gap: 0.8rem; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 0.4rem; }
.toggle-wrap button { background: transparent; border: 0; color: var(--text-muted); padding: 0.5rem 1.2rem; border-radius: 100px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; transition: all 0.3s var(--ease); }
.toggle-wrap button.active { background: var(--grad-accent); color: #fff; }

.price-card { display: flex; flex-direction: column; }
.price-card.popular { border-color: var(--accent); box-shadow: var(--shadow-glow); padding-top: 2.9rem; }
/* Reusable badge (used on package cards + home teaser) */
.badge { display: inline-block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 100px; background: var(--grad-accent); color: #fff; }
.price-card .badge { position: absolute; top: 1.1rem; left: 50%; transform: translateX(-50%); box-shadow: var(--shadow-glow); }
.price-card .who-for { font-size: 0.88rem; color: var(--accent-2); font-weight: 600; margin-bottom: 1rem; }
.price-card .price { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; margin-bottom: 0.3rem; }
.price-card .price small { font-size: 0.9rem; color: var(--text-faint); font-weight: 400; }
.price-card ul.deliverables { margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.price-card ul.deliverables li { display: flex; gap: 0.6rem; font-size: 0.94rem; color: var(--text-muted); }
.price-card ul.deliverables li::before { content: "✓"; color: var(--success); font-weight: 700; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ==========================================================================
   ACCORDION (FAQ)
   ========================================================================== */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q { width: 100%; text-align: left; background: transparent; border: 0; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc-q .plus { flex: none; width: 26px; height: 26px; position: relative; }
.acc-q .plus::before, .acc-q .plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--accent-2); transition: transform 0.3s var(--ease); }
.acc-q .plus::before { width: 14px; height: 2px; }
.acc-q .plus::after { width: 2px; height: 14px; }
.acc-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-a p { padding-bottom: 1.4rem; }

/* ==========================================================================
   SERVICE / ALTERNATING BLOCKS
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); position: relative; display: grid; place-items: center; }
.split-media .glyph { font-size: clamp(4rem, 10vw, 8rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-media::after { content: ""; position: absolute; inset: 0; background: var(--grad-mesh); opacity: 0.5; }
.split ul.benefits { margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.split ul.benefits li { display: flex; gap: 0.6rem; color: var(--text-muted); }
.split ul.benefits li::before { content: "→"; color: var(--accent-2); font-weight: 700; }

/* ==========================================================================
   TABS
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.tab { background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); padding: 0.7rem 1.3rem; border-radius: 100px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; transition: all 0.3s var(--ease); }
.tab.active { background: var(--grad-accent); color: #fff; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.5s var(--ease) both; }

/* ==========================================================================
   GALLERY / PROJECTS
   ========================================================================== */
.project { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--border); background: var(--surface); display: grid; place-items: center; }
.project .glyph { font-size: 4rem; opacity: 0.5; }
.project .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,11,15,0.95), transparent 70%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.4rem; transform: translateY(12px); opacity: 0; transition: all 0.4s var(--ease); }
.project:hover .overlay { transform: translateY(0); opacity: 1; }
.project:hover { border-color: var(--border-bright); }
.project .tag { font-size: 0.75rem; color: var(--accent-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.project .result { color: var(--success); font-weight: 700; font-family: var(--font-display); margin-top: 0.3rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.field { position: relative; margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 0.9rem 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(228, 0, 43, 0.15); }
.field .err { color: var(--accent-2); font-size: 0.8rem; margin-top: 0.4rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent-2); }
.form-success { display: none; text-align: center; padding: 2rem; }
.form-success.show { display: block; animation: fadeUp 0.5s var(--ease) both; }
.form-success .check { width: 70px; height: 70px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(34,197,94,0.15); border: 2px solid var(--success); display: grid; place-items: center; color: var(--success); font-size: 2rem; animation: pop 0.5s var(--ease) both; }
@keyframes pop { from { transform: scale(0); } 60% { transform: scale(1.15); } }

/* contact detail rows */
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.contact-detail .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(228,0,43,0.12); border: 1px solid rgba(228,0,43,0.25); display: grid; place-items: center; color: var(--accent-2); font-size: 1.1rem; }
.contact-detail b { display: block; font-family: var(--font-display); }
.contact-detail span { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   PAGE HERO (interior pages)
   ========================================================================== */
.page-hero { padding-top: clamp(7.5rem, 11vw, 9.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { max-width: 16ch; margin: 1.2rem auto 1.2rem; }
.page-hero p { max-width: 60ch; margin-inline: auto; font-size: 1.15rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding-block: clamp(2.5rem, 5vw, 4rem) 2rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer h4 { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 1.2rem; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul a { color: var(--text-muted); font-size: 0.94rem; transition: color 0.25s var(--ease); }
.footer ul a:hover { color: var(--accent-2); }
.footer .blurb { color: var(--text-muted); font-size: 0.95rem; max-width: 34ch; margin: 1.2rem 0; }
.foot-contact { display: flex; flex-direction: column; gap: 0.5rem; font-style: normal; margin-bottom: 1.3rem; }
.foot-contact a { color: var(--text-muted); font-size: 0.9rem; line-height: 1.45; transition: color 0.25s var(--ease); }
.foot-contact a:hover { color: var(--accent-2); }
.socials { display: flex; gap: 0.6rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-muted); transition: all 0.3s var(--ease); }
.socials a:hover { color: #fff; border-color: var(--accent); transform: translateY(-3px); background: rgba(228,0,43,0.1); }
.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem 1rem; color: var(--text); font-family: var(--font-body); }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--text-muted); }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.6); animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); } 50% { box-shadow: 0 12px 30px -6px rgba(37,211,102,0.6), 0 0 0 14px rgba(37,211,102,0); } }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  /* Collapse to hamburger before the desktop nav gets crowded */
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .dash-wrap { max-width: 460px; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4, .grid-5, .stats { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Keep the brand from crowding the hamburger on small phones */
  .brand { font-size: 0.92rem; }
  .brand small { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
