/* ============================================
   TAXCRAFT INSIGHT LLP — Main Stylesheet
   ============================================ */

/* === TOP BAR === */
.topbar {
  background: var(--brand-primary);
  color: var(--gray-400);
  font-size: var(--text-xs);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.topbar a {
  color: var(--gray-400);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover { color: var(--brand-accent); }
.topbar-dash-link {
  background: rgba(212,168,67,0.15);
  color: var(--brand-accent) !important;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  height: var(--header-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.logo-icon svg { width: 40px; height: 40px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand-primary);
}
.logo-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-accent);
  text-transform: uppercase;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.85rem;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
  background: var(--brand-light);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--brand-accent);
  border-radius: var(--radius-full);
}
.nav-arrow {
  font-size: 10px;
  transition: transform var(--transition-fast);
}
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Mega Menu */
.has-dropdown { position: relative; }
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: var(--space-5);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all var(--transition-base);
  pointer-events: none;
}
.has-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.mega-col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--gray-200);
}
.mega-col a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0;
  font-size: var(--text-sm);
  color: var(--gray-600);
  transition: color var(--transition-fast);
}
.mega-col a i { color: var(--brand-secondary); width: 14px; }
.mega-col a:hover { color: var(--brand-primary); }

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,37,64,0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.mobile-overlay.active { display: block; }

/* ===================================================
   HERO SECTION
=================================================== */
.hero {
  background: var(--brand-primary);
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0 var(--space-20);
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(27,79,138,0.6) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,168,67,0.08) 0%, transparent 40%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 30px,
      rgba(255,255,255,0.015) 30px,
      rgba(255,255,255,0.015) 31px
    );
  pointer-events: none;
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.hero-left { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--brand-accent);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
  animation: fadeUp 0.5s ease both;
}
.hero-badge i { font-size: 10px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  animation: fadeUp 0.6s ease both 0.1s;
}
.hero-title em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero-desc {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  animation: fadeUp 0.6s ease both 0.2s;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease both 0.3s;
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.6s ease both 0.4s;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* Hero Card */
.hero-right {
  animation: fadeUp 0.7s ease both 0.2s;
}
.hero-contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl);
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-1);
}
.hero-card-sub {
  font-size: var(--text-sm);
  color: var(--gray-400);
  margin-bottom: var(--space-6);
}
.hero-card-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ===================================================
   TRUST BAR
=================================================== */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: var(--space-5) 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}
.trust-item i {
  font-size: 1.25rem;
  color: var(--brand-accent);
}

/* ===================================================
   SERVICES SECTION
=================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-secondary);
  margin-bottom: var(--space-4);
  transition: all var(--transition-base);
}
.service-card:hover .service-icon {
  background: var(--brand-primary);
  color: var(--brand-accent);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.service-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.service-item-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--brand-light);
  color: var(--brand-secondary);
  border-radius: var(--radius-full);
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-secondary);
  transition: gap var(--transition-fast);
}
.service-card-link:hover { gap: 10px; color: var(--brand-primary); }

/* ===================================================
   WHY CHOOSE US
=================================================== */
.why-section {
  background: var(--brand-primary);
  color: var(--white);
}
.why-section .section-label { color: var(--brand-accent); }
.why-section .section-label::before { background: var(--brand-accent); }
.why-section .section-title { color: var(--white); }
.why-section .section-desc { color: rgba(255,255,255,0.65); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-top: var(--space-12);
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.why-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.why-item-text h4 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-1);
}
.why-item-text p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}
.why-image-block {
  position: relative;
}
.why-image-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.why-stat {
  text-align: center;
  padding: var(--space-5);
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.why-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--brand-accent);
}
.why-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  margin-top: var(--space-1);
}

/* ===================================================
   INDUSTRIES SECTION
=================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition-base);
  cursor: default;
}
.industry-card:hover {
  border-color: var(--brand-secondary);
  background: var(--brand-light);
  color: var(--brand-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.industry-icon {
  font-size: 1.8rem;
  color: var(--brand-secondary);
  transition: color var(--transition-fast);
}
.industry-card:hover .industry-icon { color: var(--brand-primary); }

/* ===================================================
   PROCESS SECTION
=================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 56px;
  height: 56px;
  background: var(--brand-primary);
  color: var(--brand-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}
.process-step h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-section { background: var(--gray-50); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--brand-light);
  line-height: 1;
}
.testimonial-stars { color: var(--brand-accent); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.testimonial-text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; color: var(--brand-primary); font-size: var(--text-sm); }
.testimonial-role { font-size: var(--text-xs); color: var(--gray-400); }

/* ===================================================
   CTA SECTION
=================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  position: relative;
}
.cta-text { color: var(--white); }
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.cta-text p { color: rgba(255,255,255,0.65); font-size: var(--text-lg); }
.cta-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ===================================================
   CONTACT PAGE
=================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-10);
  margin-top: var(--space-12);
}
.contact-info-card {
  background: var(--brand-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: var(--white);
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.contact-info-card p {
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  margin-bottom: var(--space-8);
}
.contact-info-items { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-info-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.contact-info-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(212,168,67,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.contact-info-item-text h5 { font-weight: 600; margin-bottom: 2px; }
.contact-info-item-text a, .contact-info-item-text span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}
.contact-info-item-text a:hover { color: var(--brand-accent); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.contact-form-full { grid-column: 1 / -1; }

/* ===================================================
   FOOTER
=================================================== */
.site-footer { background: var(--brand-primary); color: var(--white); }
.footer-wave { overflow: hidden; margin-bottom: -1px; line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 80px; }
.footer-body { padding: var(--space-16) 0 var(--space-10); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}
.footer-socials {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}
.footer-socials a:hover { background: var(--brand-accent); color: var(--brand-primary); }
.footer-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-full);
  color: var(--brand-accent);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.60);
  transition: color var(--transition-fast);
  padding: 2px 0;
}
.footer-links a i { font-size: 10px; color: var(--brand-accent); }
.footer-links a:hover { color: var(--white); }

.footer-contact-list { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-contact-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}
.footer-contact-list li i { color: var(--brand-accent); width: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--brand-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-5) 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: var(--text-sm); color: rgba(255,255,255,0.50); }
.footer-bottom strong { color: var(--white); }
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}
.footer-bottom-links a { color: rgba(255,255,255,0.50); transition: color var(--transition-fast); }
.footer-bottom-links a:hover { color: var(--brand-accent); }
.footer-bottom-links span { color: rgba(255,255,255,0.2); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 990;
  transition: all var(--transition-base);
  text-decoration: none;
}
.whatsapp-float i { font-size: 1.2rem; }
.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-md);
  z-index: 990;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--brand-secondary); }

/* ===================================================
   PAGE HERO
=================================================== */
.page-hero {
  background: var(--brand-primary);
  padding: var(--space-16) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 30px,
    rgba(255,255,255,0.015) 30px, rgba(255,255,255,0.015) 31px
  );
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label { color: var(--brand-accent); opacity: 0.8; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}
.page-hero p { color: rgba(255,255,255,0.65); font-size: var(--text-lg); max-width: 560px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.50);
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--brand-accent); }
.breadcrumb i { font-size: 8px; }

/* ===================================================
   SERVICES PAGE
=================================================== */
.service-section-block {
  margin-bottom: var(--space-16);
  scroll-margin-top: 100px;
}
.service-section-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--gray-200);
}
.service-section-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-accent);
  flex-shrink: 0;
}
.service-section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}
.service-section-header p { color: var(--gray-500); font-size: var(--text-sm); }

.service-items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.service-list-item:hover {
  background: var(--brand-light);
  border-color: var(--brand-secondary);
}
.service-list-item i { color: var(--brand-accent); margin-top: 2px; flex-shrink: 0; }
.service-list-item span { font-size: var(--text-sm); font-weight: 500; color: var(--gray-700); }

/* ===================================================
   DASHBOARD
=================================================== */
/* Dashboard styles are in dashboard/style.css */

/* ===================================================
   RESPONSIVE — TABLET & MOBILE
=================================================== */

/* Prevent horizontal scroll site-wide */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* ---- 1024px: Tablet landscape ---- */
@media (max-width: 1024px) {
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .mega-menu           { width: 480px; left: 0; transform: translateY(8px); }
  .has-dropdown:hover .mega-menu { transform: translateY(0); }
  .testimonials-grid   { grid-template-columns: 1fr 1fr; }
  .why-stats-grid      { grid-template-columns: 1fr 1fr; }
  .hero-title          { font-size: clamp(2rem, 4vw, 3rem); }
}

/* ---- 900px: Tablet portrait ---- */
@media (max-width: 900px) {
  .hero                { padding: var(--space-16) 0; min-height: unset; }
  .hero-content        { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-right          { display: none; }
  .hero-stats          { flex-wrap: wrap; gap: var(--space-5); }
  .hero-actions        { flex-wrap: wrap; gap: var(--space-3); }

  .why-grid            { grid-template-columns: 1fr; gap: var(--space-10); }
  .process-steps       { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .process-steps::before { display: none; }
  .contact-grid        { grid-template-columns: 1fr; }
  .cta-inner           { flex-direction: column; text-align: center; }
  .cta-actions         { justify-content: center; }

  /* About page two-col grid */
  .about-two-col       { grid-template-columns: 1fr !important; }
  .about-team-grid     { grid-template-columns: 1fr 1fr !important; }
  .mvv-grid            { grid-template-columns: 1fr !important; }
}

/* ---- 768px: Mobile ---- */
@media (max-width: 768px) {

  /* Top bar hidden on mobile */
  .topbar { display: none; }

  /* --- HEADER / NAV --- */
  /* Slide-in drawer from the right */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82vw;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 72px var(--space-5) var(--space-8);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: var(--shadow-xl);
    border-left: 1px solid var(--gray-200);
  }
  .main-nav.open        { right: 0; }
  .nav-list             { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-link             {
    width: 100%;
    padding: 13px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--text-base);
  }
  .nav-link.active::after { display: none; }

  /* Mobile mega-menu becomes inline accordion */
  .mega-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    border: none;
    border-radius: 0;
    background: var(--gray-50);
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
  }
  .has-dropdown.open .mega-menu { display: block; }
  .mega-menu-grid       { grid-template-columns: 1fr; gap: var(--space-2); }

  /* Hamburger visible */
  .nav-toggle           { display: flex; }

  /* CTA button — icon only on small screens */
  .header-cta .btn-primary { padding: 0.6rem 1rem; }
  .header-cta .btn-primary .btn-label { display: none; }

  /* --- HERO --- */
  .hero                 { padding: var(--space-12) 0 var(--space-10); min-height: unset; }
  .hero-title           { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero-desc            { font-size: var(--text-base); }
  .hero-badge           { font-size: var(--text-xs); }
  .hero-stats           { gap: var(--space-4); padding-top: var(--space-6); margin-top: var(--space-8); }
  .hero-stat-num        { font-size: var(--text-2xl); }

  /* --- TRUST BAR --- */
  .trust-bar-inner      { gap: var(--space-4); justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .trust-item           { flex-shrink: 0; }

  /* --- SECTION TYPOGRAPHY --- */
  .section-title        { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section-desc         { font-size: var(--text-base); }

  /* --- SERVICES --- */
  .services-grid        { grid-template-columns: 1fr; }

  /* --- WHY SECTION --- */
  .why-stats-grid       { grid-template-columns: 1fr 1fr; }
  .why-image-card       { padding: var(--space-5); }

  /* --- PROCESS --- */
  .process-steps        { grid-template-columns: 1fr; gap: var(--space-5); }

  /* --- INDUSTRIES --- */
  .industries-grid      { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .industry-card        { padding: var(--space-4) var(--space-3); font-size: var(--text-xs); }
  .industry-icon        { font-size: 1.4rem; }

  /* --- TESTIMONIALS --- */
  .testimonials-grid    { grid-template-columns: 1fr; }

  /* --- CTA --- */
  .cta-inner            { padding: var(--space-6) 0; }
  .cta-text h2          { font-size: var(--text-2xl); }
  .cta-actions          { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; margin: 0 auto; }
  .cta-actions .btn     { justify-content: center; }

  /* --- CONTACT --- */
  .contact-form-grid    { grid-template-columns: 1fr; }
  .contact-form-full    { grid-column: 1; }
  .contact-form-card    { padding: var(--space-5); }
  .contact-info-card    { padding: var(--space-6); }

  /* --- FOOTER --- */
  .footer-grid          { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-body          { padding: var(--space-10) 0 var(--space-8); }
  .footer-bottom-inner  { flex-direction: column; text-align: center; gap: var(--space-3); }
  .footer-bottom-links  { justify-content: center; }

  /* --- PAGE HERO --- */
  .page-hero            { padding: var(--space-10) 0; }
  .page-hero h1         { font-size: clamp(1.7rem, 7vw, 2.4rem); }

  /* --- WHATSAPP FLOAT --- */
  .whatsapp-float span  { display: none; }
  .whatsapp-float       { padding: 12px 14px; border-radius: 50%; }
  .whatsapp-float i     { font-size: 1.3rem; }

  /* --- SCROLL TOP --- */
  .scroll-top           { bottom: 20px; right: 16px; }

  /* --- ABOUT PAGE --- */
  .about-two-col        { grid-template-columns: 1fr !important; gap: var(--space-8) !important; }
  .about-team-grid      { grid-template-columns: 1fr !important; }
  .mvv-grid             { grid-template-columns: 1fr !important; }

  /* --- SERVICES PAGE NAV PILLS --- */
  .services-nav-scroll  { padding-bottom: 6px; }

  /* --- HERO FORM (hidden on mobile anyway but fix if shown) --- */
  .hero-form-row        { grid-template-columns: 1fr; }
}

/* ---- 480px: Small phones ---- */
@media (max-width: 480px) {
  :root { --container-pad: 1rem; }

  .hero-title           { font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .hero-actions         { flex-direction: column; align-items: stretch; }
  .hero-actions .btn    { justify-content: center; }

  .industries-grid      { grid-template-columns: repeat(2, 1fr); }
  .why-stats-grid       { grid-template-columns: 1fr 1fr; }
  .footer-grid          { grid-template-columns: 1fr; }

  .btn                  { padding: 0.7rem 1.2rem; font-size: 0.8rem; }

  .section              { padding: var(--space-10) 0; }
  .section-sm           { padding: var(--space-8) 0; }
}
