@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #F8F6F5; /* Premium soft light grey/pinkish tint */
  --bg-alt: #ffffff;
  --text: #1C1B1F;
  --text-muted: #6B6A70;
  --acc: #D3122A; /* Stygar Red */
  --acc-hover: #A80D20;
  --dark-surf: #18171C;
  --bord: rgba(0,0,0,0.08);
  --radius: 20px;
  
  /* Legacy mappings */
  --surface: var(--bg-alt);
  --muted: var(--text-muted);
  --glow: var(--acc);
  --cyan: var(--acc);
}

body.lm {
  --bg: #121114;
  --bg-alt: #18171C;
  --text: #F8F6F5;
  --text-muted: #A3A1A8;
  --acc: #EF233C;
  --acc-hover: #D90429;
  --dark-surf: #1F1D24;
  --bord: rgba(255,255,255,0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

p {
  margin-bottom: 1.5rem;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.center { text-align: center; }

/* HUGE BACKGROUND TEXT */
.huge-bg-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(211, 18, 42, 0.04);
  z-index: -1;
  pointer-events: none;
  white-space: nowrap;
}
body.lm .huge-bg-text {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
}

/* Navbar (Global) */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 1000;
  background: rgba(248, 246, 245, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
body.lm nav {
  background: rgba(18, 17, 20, 0.6);
}
nav.scrolled {
  background: rgba(248, 246, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--bord);
}
body.lm nav.scrolled { background: rgba(18, 17, 20, 0.85); }

.nlogo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--acc);
}
.nlogo::before {
  content: '∷ ';
  color: var(--text);
}

.nlinks {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nlinks a {
  font-weight: 500;
  font-size: 1rem;
  transition: 0.3s;
}
.nlinks a:hover { color: var(--acc); }

/* ── SERVICES DROPDOWN ── */
.has-dropdown {
  position: relative;
}
/* Invisible hover bridge — fills the gap so mouse doesn't leave hover zone */
.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -1.4rem;
  left: -16px;
  right: -16px;
  height: 1.4rem;
  display: block;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-caret {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
.has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: 16px;
  padding: 0.6rem;
  list-style: none;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 500;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--bg-alt);
  border-left: 1px solid var(--bord);
  border-top: 1px solid var(--bord);
  rotate: 45deg;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted) !important;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-dropdown li a i {
  font-size: 1rem;
  color: var(--acc);
  flex-shrink: 0;
}
.nav-dropdown li a:hover {
  background: rgba(168,85,247,0.1);
  color: var(--acc) !important;
}

/* ── MEGA DROPDOWN LAYOUT ── */
.nav-dropdown--mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-width: 520px;
  padding: 1rem;
}
.nav-dd-group {
  padding: 0.5rem 0.75rem;
}
.nav-dd-group:nth-child(odd) {
  border-right: 1px solid var(--bord);
}
.nav-dd-group > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-dd-cat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--acc);
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--bord);
}
.nav-dd-cat i {
  font-size: 0.85rem;
}

/* ── MOBILE SERVICES ACCORDION ── */
.mob-has-dropdown {
  list-style: none;
}
.mob-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}
.mob-caret {
  font-size: 1rem;
  transition: transform 0.25s ease;
}
.mob-dropdown-toggle[aria-expanded="true"] .mob-caret {
  transform: rotate(180deg);
}
.mob-dropdown {
  list-style: none;
  padding-left: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  margin-bottom: 0;
  text-align: center;
}
.mob-dropdown.open {
  max-height: none;
  overflow: visible;
  margin-bottom: 1.5rem;
}
.mob-dropdown li {
  margin-bottom: 0.8rem;
}
/* Higher specificity to override .mob-nav ul li a (2rem) */
.mob-nav .mob-dropdown li a {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s;
}
.mob-nav .mob-dropdown li a:hover { color: var(--acc); }
.mob-dd-cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--acc);
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--bord);
  pointer-events: none;
}
.mob-dd-back {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bord);
}
.mob-dd-back button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 auto;
  transition: color 0.2s;
}
.mob-dd-back button:hover { color: var(--acc); }

.ncta {
  background: var(--acc);
  color: #fff !important;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  transition: 0.3s;
}
.ncta:hover { background: var(--acc-hover); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 2.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.3s;
  cursor: pointer;
}
.btn-primary {
  background: var(--acc);
  color: #fff !important;
  border: 2px solid var(--acc);
  box-shadow: 0 10px 25px rgba(211, 18, 42, 0.3);
}
.btn-primary:hover {
  background: var(--acc-hover);
  border-color: var(--acc-hover);
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  color: var(--text) !important;
  border: 2px solid var(--bord);
}
.btn-outline:hover {
  border-color: var(--acc);
  color: var(--acc) !important;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  border: 2px solid #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #1EBE5C;
  transform: translateY(-3px);
}

/* Base Sections */
section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}
.bg-light { background: var(--bg-alt); }

.sub-head {
  color: var(--acc);
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 1rem;
}
.sec-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.sec-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* HERO SECTION */
.hero {
  padding: 12rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(211, 18, 42, 0.1);
  color: var(--acc);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero-subtitle span {
  color: var(--text);
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}
.stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bord);
}
.hero-image-wrap {
  position: relative;
  text-align: center;
}
.hero-image-bg {
  position: absolute;
  top: 10%; right: 10%; bottom: 10%; left: 10%;
  background: var(--acc);
  border-radius: 40px;
  transform: rotate(5deg);
  z-index: 0;
  opacity: 0.1;
}
.hero-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  border-radius: 30px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.dark-card {
  background: var(--dark-surf);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: block;
  color: #fff !important;
  transition: 0.4s;
}
.dark-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100px; height: 100px;
  background: var(--acc);
  border-radius: 100% 0 0 0;
  z-index: 0;
  transition: 0.4s;
}
.dark-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.dark-card:hover::after {
  transform: scale(1.5);
}
.dark-card > * {
  position: relative;
  z-index: 1;
}
.srv-icon {
  width: 60px; height: 60px;
  background: var(--acc);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  margin-bottom: 2rem;
}
.dark-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.dark-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}
.srv-link {
  font-weight: 600;
  color: var(--acc);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dark-card:hover .srv-link {
  color: #fff;
}

/* EXPERIENCE SECTION */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.experience-img-wrap {
  position: relative;
  max-width: 55%;
  margin: 0 auto;
}
.exp-img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}
.exp-badge {
  position: absolute;
  bottom: -30px; right: -30px;
  background: var(--acc);
  color: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(211, 18, 42, 0.3);
  text-align: center;
}
.exp-badge h2 { font-size: 3rem; line-height: 1; }
.exp-badge p { font-weight: 600; font-size: 1.1rem; }

.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 20px;
  border-left: 2px dashed var(--bord);
}
.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}
.tl-dot {
  position: absolute;
  left: -29px; top: 0;
  width: 16px; height: 16px;
  background: var(--bg-alt);
  border: 3px solid var(--acc);
  border-radius: 50%;
}
.timeline-item h4 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.timeline-item h5 {
  font-size: 1rem;
  color: var(--acc);
  font-weight: 600;
  margin-bottom: 1rem;
}
.timeline-item h5 span {
  color: var(--text-muted);
  font-weight: 400;
}
.timeline-item p {
  color: var(--text-muted);
}

/* SKILLS */
.skills-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}
.skill-category h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.skill-tags span {
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  font-weight: 500;
  transition: 0.3s;
}
.skill-tags span:hover {
  background: var(--acc);
  color: #fff;
  border-color: var(--acc);
}

/* CTA SECTION */
.cta-section {
  background: var(--dark-surf);
  padding: 8rem 0;
  color: #fff;
}
.cta-title {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}
.cta-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 3rem;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* FOOTER OVERRIDES */
.site-footer {
  background: var(--bg);
  padding: 6rem 5% 2rem;
  border-top: 1px solid var(--bord);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.flogo { font-size: 2rem; font-weight: 800; color: var(--acc); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.flogo::before { content: '∷'; color: var(--text); }
.footer-brand p { color: var(--text-muted); max-width: 400px; margin-bottom: 2rem; }
.fci { display: flex; align-items: center; gap: 1rem; color: var(--text); margin-bottom: 1rem; font-weight: 500; }
.fci i { color: var(--acc); font-size: 1.2rem; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: var(--text-muted); transition: 0.3s; }
.footer-col ul li a:hover { color: var(--acc); }
.footer-bottom {
  border-top: 1px solid var(--bord);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-bottom > p {
  margin: 0;
  line-height: 1;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--acc); }
.footer-legal span { color: var(--bord); }

/* MOBILE NAV */
.mob-nav {
  position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
  background: var(--bg); z-index: 2000;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden; /* clips the two-panel slider */
}
.mob-nav.open { right: 0; }
.mob-nav-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: 2px solid var(--bord);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.4rem; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: border-color 0.2s, color 0.2s;
}
.mob-nav-close:hover { border-color: var(--acc); color: var(--acc); }

/* ── TWO-PANEL SLIDER ── */
.mob-panel {
  position: absolute; top: 0; width: 100%; height: 100%;
  padding: 5rem 2rem 2rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mob-panel--main  { transform: translateX(0); }
.mob-panel--services { transform: translateX(100%); }

/* When services open — slide main out, services in */
.mob-nav.mob-srv-open .mob-panel--main    { transform: translateX(-100%); }
.mob-nav.mob-srv-open .mob-panel--services { transform: translateX(0); }

/* Main panel links */
.mob-panel--main ul { list-style: none; text-align: center; margin-top: 1rem; }
.mob-panel--main ul li { margin-bottom: 2rem; }
.mob-panel--main ul li a {
  font-size: 2rem; font-weight: 700;
  color: var(--text); transition: color 0.2s;
}
.mob-panel--main ul li a:hover { color: var(--acc); }

/* Services trigger button (looks like the other links) */
.mob-srv-trigger {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 2rem; font-weight: 700;
  color: var(--text); display: inline-flex; align-items: center;
  gap: 0.4rem; transition: color 0.2s;
}
.mob-srv-trigger i { font-size: 1.2rem; }
.mob-srv-trigger:hover { color: var(--acc); }

/* Back button — sticky at top of services panel */
.mob-back-btn {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 700;
  color: var(--text-muted); display: flex; align-items: center;
  gap: 0.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bord); width: 100%;
  text-transform: uppercase; letter-spacing: 1px;
  transition: color 0.2s;
}
.mob-back-btn:hover { color: var(--acc); }
.mob-back-btn i { font-size: 1.1rem; }

/* Services panel list */
.mob-panel--services > ul { list-style: none; text-align: center; }
.mob-panel--services > ul li { margin-bottom: 1rem; }
.mob-panel--services > ul li a {
  font-size: 1.15rem; font-weight: 600;
  color: var(--text); transition: color 0.2s;
}
.mob-panel--services > ul li a:hover { color: var(--acc); }

/* Mobile dark mode toggle */
.mob-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: calc(100% - 0rem);
  margin-top: auto;
  padding: 1rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  width: auto;
}
.mob-theme-toggle:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.mob-theme-toggle i { font-size: 1.2rem; }
/* Highlight active icon based on theme */
body:not(.lm) .mob-theme-sun { color: var(--acc); }
body.lm .mob-theme-moon { color: var(--acc); }




.wa-float {
  position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px;
  background: #25D366; color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 30px;
  box-shadow: 0 10px 25px rgba(37,211,102,0.3); z-index: 999;
}

/* =========================================================
   INNER PAGE LEGACY CLASS SUPPORT (Stygar Aesthetic mapped)
   ========================================================= */

/* Buttons */
.btn-g { background: var(--acc); color: #fff !important; padding: 1.2rem 2.5rem; border-radius: 40px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: 0.3s; box-shadow: 0 10px 25px rgba(211, 18, 42, 0.3); border: 2px solid var(--acc); }
.btn-g:hover { background: var(--acc-hover); transform: translateY(-3px); border-color: var(--acc-hover); }
.btn-o { background: transparent; border: 2px solid var(--bord); color: var(--text) !important; padding: 1.2rem 2.5rem; border-radius: 40px; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: 0.3s; }
.btn-o:hover { border-color: var(--acc); color: var(--acc) !important; }
.cta-bar .btn-o { border-color: rgba(255,255,255,0.2); color: #fff !important; }
.cta-bar .btn-o:hover { border-color: var(--acc); background: var(--acc); }

/* Hide mobile nav on desktop, show on mobile */
.mob-nav { display: none; }
.ham { display: none; }
@media (max-width: 1024px) {
  .mob-nav { display: block; right: -100%; transition: right 0.4s cubic-bezier(0.4,0,0.2,1); }
  .mob-nav.open { right: 0; }
  .ham { display: flex; }

  
  /* Homepage fixes */
  .hero-container, .experience-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .cta-btns { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .exp-badge { right: 0; bottom: -20px; }
  .nlinks, .ncta { display: none; }
  .huge-bg-text { font-size: 40vw; }
  
  /* Inner pages fixes */
  .pcgrid { grid-template-columns: 1fr; }
  .ph-title { font-size: 3rem; }
}

/* =========================================================
   JS INTERACTIVE ELEMENTS (Cursors, Transitions, Canvas)
   ========================================================= */




/* Page Transition Overlay */
.page-trans {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--dark-surf); z-index: 99999; pointer-events: none;
  transform: scaleY(0);
}

/* Theme Wipe Transition */
.theme-wipe {
  position: fixed; border-radius: 50%; z-index: 999999; pointer-events: none;
  transform: translate(-50%, -50%);
}
.theme-wipe.expanding {
  width: 300vmax !important; height: 300vmax !important;
  transition: width 0.6s cubic-bezier(0.77,0,0.175,1), height 0.6s cubic-bezier(0.77,0,0.175,1) !important;
}

/* =========================================================
   NAVIGATION DROPDOWN
   ========================================================= */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown .dropbtn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dropdown-content {
  display: block;
  position: absolute;
  top: 150%;
  left: 0;
  background-color: rgba(248, 246, 245, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  min-width: 260px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--bord);
  border-radius: 12px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0.8rem;
}
body.lm .dropdown-content {
  background-color: rgba(18, 17, 20, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  top: 100%;
}
.nav-cat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 0.8rem 1rem 0.4rem;
  font-weight: 600;
}
.dropdown-content a {
  color: var(--text);
  padding: 0.6rem 1rem;
  text-decoration: none;
  display: block;
  border-radius: 8px;
  transition: 0.2s;
  font-size: 0.95rem;
  font-weight: 500;
}
.dropdown-content a:hover {
  background-color: rgba(211, 18, 42, 0.05);
  color: var(--acc);
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  background: var(--dark-surf);
  color: #fff;
  padding: 5rem 5% 2rem;
  margin-top: 5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-brand .flogo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-brand p {
  color: #aaa;
  margin-bottom: 2rem;
  max-width: 350px;
}
.footer-brand .fci {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}
.footer-brand .fci:hover {
  color: var(--acc);
}
.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.8rem;
}
.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover {
  color: var(--acc);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom > p {
  margin: 0;
  line-height: 1;
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}
.footer-legal a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--acc); }
.footer-legal span { color: #555; }
.fbadges {
  display: flex;
  gap: 0.5rem;
}
.fbadge {
  background: rgba(255,255,255,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #ccc;
}
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  z-index: 1000;
  transition: transform 0.3s;
}
.wa-float:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.rev {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.rev.vis {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   THEME SWITCH (Dark/Light Toggle)
   ========================================================= */
.tswitch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.tswitch-track {
  width: 44px;
  height: 24px;
  background: rgba(0,0,0,0.1);
  border-radius: 12px;
  position: relative;
  transition: 0.3s;
}
body.lm .tswitch-track {
  background: rgba(255,255,255,0.1);
}
.tswitch-thumb {
  width: 18px;
  height: 18px;
  background: var(--text);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.lm .tswitch-thumb {
  transform: translateX(20px);
  background: var(--acc);
}
.tswitch-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */
.ham {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
  z-index: 1002;
}

.mob-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(248, 246, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
body.lm .mob-nav {
  background: rgba(18, 17, 20, 0.98);
}
.mob-nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mob-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 5%;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text);
  cursor: pointer;
}
.mob-nav ul {
  list-style: none;
  text-align: center;
}
.mob-nav ul li {
  margin-bottom: 1.5rem;
}
.mob-nav ul li a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: 0.3s;
}
.mob-nav ul li a:hover {
  color: var(--acc);
}
.mob-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--acc);
  text-decoration: none;
}

@media (max-width: 992px) {
  .nlinks, .ncta, .tswitch {
    display: none !important;
  }
  .ham {
    display: block;
  }
}

/* CONTACT PAGE STYLES */
.page-hero {
  padding: 180px 2rem 20px;
  text-align: center;
}
.page-hero .stag {
  color: var(--acc);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.page-hero .ph-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}
.page-hero .ph-sub {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 1rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
}
@media (max-width: 900px) {
  .cgrid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.cinfo-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s, border-color 0.3s;
}
.cinfo-item:hover {
  transform: translateY(-5px);
  border-color: var(--acc);
}
.cinfo-icon {
  font-size: 1.8rem;
  color: var(--acc);
  background: var(--glass);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.cinfo-label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}
.cinfo-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
}

.cform-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.cform-title {
  font-size: 2rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.fgroup {
  margin-bottom: 1.5rem;
}
.flabel {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.finput {
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.finput:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(255, 62, 108, 0.1);
}

.fsubmit {
  background: var(--acc);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.fsubmit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 62, 108, 0.3);
}

.fsuccess {
  display: none;
  padding: 1rem;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 12px;
  margin-top: 1rem;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.fsuccess.show {
  display: flex;
}

/* Custom Dropdown */
.cdd-wrap {
  position: relative;
}
.cdd-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.3s;
}
.cdd-trigger:focus {
  outline: none;
  border-color: var(--acc);
}
.cdd-arrow {
  transition: transform 0.3s;
}
.cdd-wrap.active .cdd-arrow {
  transform: rotate(180deg);
}
.cdd-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: 12px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 20;
  display: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}
.cdd-wrap.active .cdd-menu {
  display: block;
  animation: fadeInDown 0.2s ease forwards;
}
.cdd-group-label {
  padding: 0.8rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(0,0,0,0.02);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lm .cdd-group-label {
  background: rgba(255,255,255,0.05);
}
.cdd-option {
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  color: var(--text);
}
.cdd-option:hover {
  background: var(--glass);
  color: var(--acc);
}
.cdd-divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   BLOG SECTION
   ========================================= */

.blog-hero {
  padding: 180px 5% 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.blog-card {
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 15px rgba(211, 18, 42, 0.1);
}

body.lm .blog-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(239, 35, 60, 0.2);
}

.blog-card-thumb {
  height: 220px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: var(--acc);
  border-bottom: 1px solid var(--bord);
  transition: all 0.4s ease;
}

.blog-card:hover .blog-card-thumb {
  background: var(--acc);
  color: #fff;
}

.blog-card:hover .blog-card-thumb i {
  transform: scale(1.15);
  transition: transform 0.4s ease;
}

.blog-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--acc);
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
  color: var(--acc);
}

.blog-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--bord);
  padding-top: 1.2rem;
  font-size: 0.95rem;
}

.blog-date {
  color: var(--text-muted);
  font-weight: 500;
}

.blog-read {
  color: var(--text);
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card:hover .blog-read {
  color: var(--acc);
  transform: translateX(5px);
}

/* =========================================
   ARTICLE PAGES
   ========================================= */

.article-hero {
  padding: 180px 5% 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.article-body {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.article-section {
  margin-bottom: 3rem;
}

.article-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.article-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-section ul, .article-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-section li {
  margin-bottom: 0.5rem;
}

.article-cta {
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.article-cta h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.article-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* =========================================
   SERVICE PAGES & UTILITIES
   ========================================= */

/* Hero */
.page-hero {
  padding: 180px 5% 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero > div {
  justify-content: center;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: var(--acc);
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: var(--acc-hover);
}

.breadcrumb span {
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--text);
}

.stag {
  display: table;
  margin: 0 auto 1.5rem auto;
  padding: 0.4rem 1.2rem;
  background: rgba(211, 18, 42, 0.1);
  color: var(--acc);
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ph-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text) 40%, var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ph-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Sections */
.sec {
  padding: 100px 5%;
  position: relative;
  z-index: 1;
}

.sec > *:not(.cta-bar):not(.related-links) {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.sec.alt {
  background: var(--bg-alt);
}

.sec.alt2 {
  background: var(--dark-surf);
  color: #F8F6F5;
}

.sec.alt2 .sh {
  color: #fff;
}

.sec.alt2 .stag {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.sh {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 3.5rem;
  color: var(--text);
  text-align: center;
}

.sec.alt2 .sh { color: #fff; }

.prose {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.prose strong {
  color: var(--text);
}

.sec.alt2 .prose { color: rgba(255,255,255,0.8); }
.sec.alt2 .prose strong { color: #fff; }

/* Feature Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--bg);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: 0.4s;
}

.sec.alt .card { background: var(--bg); }
.sec.alt2 .card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.05); }

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border-color: var(--acc);
}

.sec.alt2 .card:hover { border-color: var(--acc); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

.card-icon {
  font-size: 2.5rem;
  color: var(--acc);
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.sec.alt2 .card-title { color: #fff; }

.card-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sec.alt2 .card-text { color: rgba(255,255,255,0.7); }

/* Pros/Cons Grid */
.pcgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pcgrid { grid-template-columns: 1fr; }
}

.pros, .cons {
  background: var(--bg);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  padding: 3rem;
}

.sec.alt2 .pros, .sec.alt2 .cons {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.05);
}

.pct {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pct.p { color: #2ecc71; }
.pct.c { color: #e74c3c; }

.pcl {
  list-style: none;
}

.pcl li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.sec.alt2 .pcl li { color: rgba(255,255,255,0.8); }

.pcl li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--acc);
}

.pcl.p li::before { content: '✓'; color: #2ecc71; font-weight: bold; }
.pcl.c li::before { content: '×'; color: #e74c3c; font-weight: bold; }

/* Timeline / Process */
.tbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 900px) {
  .tbox {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 600px;
  }
}

.tstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Horizontal connecting line for Desktop */
.tstep::before {
  content: '';
  position: absolute;
  top: 24px; /* Center of the 50px tnum */
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--bord);
  z-index: -1;
}

/* Hide horizontal line on every 3rd item (end of row) and the very last item */
.tstep:last-child::before,
.tstep:nth-child(3n)::before {
  display: none;
}

@media (max-width: 900px) {
  /* Fallback to vertical layout on mobile */
  .tstep {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  
  .tstep::before {
    display: none; /* Hide horizontal line */
  }

  /* Vertical connecting line for Mobile */
  .tstep::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -2.5rem;
    width: 2px;
    background: var(--bord);
    z-index: -1;
  }
  
  .tstep:last-child::after {
    display: none;
  }
}

.tnum {
  width: 50px;
  height: 50px;
  background: var(--acc);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px var(--bg);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .tnum {
    margin-bottom: 0;
    margin-right: 1.5rem;
  }
}

.sec.alt .tnum { box-shadow: 0 0 0 5px var(--bg-alt); }

.ttext {
  padding-top: 0.5rem;
}

.ttext strong {
  display: block;
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.sec.alt2 .ttext strong { color: #fff; }

.ttext span {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.sec.alt2 .ttext span { color: rgba(255,255,255,0.7); }

/* FAQ Box */
.faqbox {
  max-width: 800px;
  margin: 0 auto;
}

.fitem {
  margin-bottom: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--bord);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: 0.3s;
}

.sec.alt2 .fitem { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.05); }

.fitem:hover { border-color: var(--acc); }

.fq {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.sec.alt2 .fq { color: #fff; }

.fa {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.sec.alt2 .fa { color: rgba(255,255,255,0.7); }

/* CTA Bar */
.cta-bar {
  background: linear-gradient(135deg, var(--acc), var(--acc-hover));
  border-radius: var(--radius);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  max-width: 1000px;
  margin: 0 auto 4rem;
  box-shadow: 0 20px 40px rgba(211,18,42,0.2);
}

.cta-bar h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-bar p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-bar .btn-g {
  background: #fff;
  color: var(--acc) !important;
}

.cta-bar .btn-g:hover {
  background: var(--bg);
}

/* Ensure secondary buttons inside CTA bar inherit correct outline color */
.cta-bar .btn-o {
  border-color: rgba(255,255,255,0.3);
  color: #fff !important;
}

.cta-bar .btn-o:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Related Links */
.related-links {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid var(--bord);
  padding-top: 3rem;
}

.related-links > p {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.related-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.related-links-grid a {
  padding: 0.8rem 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: 40px;
  color: var(--text-muted);
  font-weight: 500;
  transition: 0.3s;
}

.related-links-grid a:hover {
  background: var(--acc);
  color: #fff;
  border-color: var(--acc);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   CASE STUDIES
   ========================================= */

.cs-hero {
  padding: 180px 5% 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cs-hero p {
  text-align: center;
  margin: 0 auto;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.cs-card {
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.cs-card:hover {
  transform: translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08), 0 0 15px rgba(211, 18, 42, 0.1);
}

body.lm .cs-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(239, 35, 60, 0.2);
}

.cs-card-top {
  padding: 2.5rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--bord);
  transition: all 0.4s ease;
}

.cs-card:hover .cs-card-top {
  background: var(--acc);
}

.cs-brand {
  font-size: 1.8rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.cs-card:hover .cs-brand {
  color: #fff;
}

.cs-industry {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: color 0.4s ease;
}

.cs-card:hover .cs-industry {
  color: rgba(255,255,255,0.8);
}

.cs-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cs-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.cs-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bord);
}

.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cs-stat-num {
  font-size: 1.5rem;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--acc);
  margin-bottom: 0.2rem;
}

.cs-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cs-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.cs-card:hover .cs-link {
  color: var(--acc);
  transform: translateX(5px);
}

/* =========================================
   CASE STUDY DETAILS
   ========================================= */

.cs-detail {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 5%;
}

.cs-section {
  margin-bottom: 3.5rem;
}

.cs-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.cs-section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cs-section strong {
  color: var(--text);
  font-weight: 600;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

.ba-box {
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  padding: 2rem;
}

.ba-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem !important;
}

.ba-label.before {
  background: rgba(239, 35, 60, 0.1);
  color: #ef233c;
}

.ba-label.after {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ba-list li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.ba-label.before + .ba-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef233c;
  font-size: 0.8rem;
  top: 4px;
}

.ba-label.after + .ba-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #25d366;
  font-size: 0.9rem;
  top: 4px;
}

.ba-list li:last-child {
  margin-bottom: 0;
}

/* =============================================
   Portfolio Page Styles
   ============================================= */

#fbar {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  padding: 2.5rem 5rem 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
  transition: background .3s;
}

.ftab {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  border: 1.5px solid var(--bord);
  border-radius: 50px;
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ftab:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(211,18,42,0.15);
}

.ftab.active {
  background: var(--acc);
  border-color: var(--acc);
  color: #fff;
  box-shadow: 0 4px 20px rgba(211,18,42,0.3);
}

#pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 5rem 5rem;
  position: relative;
  z-index: 1;
  background: var(--bg);
  transition: background .3s;
}

@media (max-width: 900px) {
  #pgrid { grid-template-columns: repeat(2, 1fr); padding: 2rem 1.5rem 4rem; gap: 1rem; }
  #fbar  { padding: 2rem 1.5rem 0; }
}

@media (max-width: 600px) {
  #pgrid { grid-template-columns: 1fr; padding: 1.5rem 1rem 3rem; }
  #fbar  { padding: 1.5rem 1rem 0; gap: 0.5rem; }
  .ftab  { font-size: 0.7rem; padding: 0.45rem 0.9rem; }
}

.pcard {
  background: var(--bg-alt);
  border: 1px solid var(--bord);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-color: var(--acc);
}

.pcard .pcard-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg);
}

.pcard .pcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.pcard:hover .pcard-thumb img {
  transform: scale(1.05);
}

.pcard-body {
  padding: 1.2rem 1.4rem 1.5rem;
  flex: 1;
}

.pcard-tag {
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: .4rem;
  display: block;
}

.pcard-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
  line-height: 1.4;
}

.pcard-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.6;
}
