/* =========================================================
   MYTAXPERT — Design System
   Color Palette:
   --navy   : #0B1F3A  (deep navy)
   --blue   : #1A3C6E  (royal blue)
   --gold   : #C9972A  (rich gold)
   --amber  : #F0B429  (warm amber)
   --white  : #FFFFFF
   --off    : #F6F8FC  (off-white bg)
   --text   : #1E2D40  (dark text)
   --muted  : #64748B  (muted text)
========================================================= */

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

:root {
  --navy:   #0B1F3A;
  --blue:   #1A3C6E;
  --gold:   #C9972A;
  --amber:  #F0B429;
  --white:  #FFFFFF;
  --off:    #F6F8FC;
  --text:   #1E2D40;
  --muted:  #64748B;
  --border: #E2E8F0;
  --radius: 16px;
  --shadow: 0 4px 32px rgba(11,31,58,0.10);
  --shadow-hover: 0 12px 48px rgba(11,31,58,0.18);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}
a { text-decoration: none; color: inherit; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.mt-1      { margin-top: 24px; display: inline-block; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.section-sub   { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.section-desc  { color: var(--muted); margin-top: 12px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,151,42,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,151,42,0.5);
}
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-outline-nav {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gold);
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-outline-nav:hover {
  background: var(--gold);
  color: var(--white);
}
.full-width { width: 100%; justify-content: center; }

/* =======================
   NAVBAR
========================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(11,31,58,0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 72px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: height var(--transition);
}
#navbar.scrolled .logo-img {
  height: 58px;
}
.logo-light .logo-img {
  height: 80px;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
#navbar.scrolled .nav-links a { color: var(--muted); }
#navbar.scrolled .nav-links a:hover { color: var(--navy); background: var(--off); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--navy); }

/* =======================
   HERO
========================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #0E2A50 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--amber);
  animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-delay: -3s; }
.shape-3 { width: 250px; height: 250px; top: 40%; right: 15%; animation-delay: -5s; opacity: 0.04; }

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.04); }
}

.hero-content { position: relative; z-index: 1; padding: 60px 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,42,0.18);
  border: 1px solid rgba(201,151,42,0.4);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-badge::before { content: '★'; font-size: 0.7rem; }

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.4; transform: scaleY(0.6); }
}

/* =======================
   STATS BAR
========================= */
.stats-bar {
  background: var(--navy);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.stat-suffix { font-size: 2rem; color: var(--amber); font-weight: 700; }
.stat-item p { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 6px; letter-spacing: 0.05em; text-transform: uppercase; }

/* =======================
   ABOUT
========================= */
.about-section { background: var(--off); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual { position: relative; }
.about-card-stack { position: relative; min-height: 420px; }

.about-illustration {
  width: 100%;
  height: 260px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}
.about-illustration::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(240,180,41,0.08);
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 100%;
  height: 160px;
}
.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--gold), var(--amber));
  border-radius: 6px 6px 0 0;
  opacity: 0.85;
  animation: barGrow 1.5s ease-out forwards;
  transform-origin: bottom;
}
@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.about-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  z-index: 2;
  animation: cardFloat 6s ease-in-out infinite;
}
.about-card strong { display: block; font-size: 0.9rem; color: var(--navy); }
.about-card p { color: var(--muted); font-size: 0.78rem; margin: 0; }
.ac-icon { font-size: 1.4rem; }
.ac1 { top: 0; right: 0; animation-delay: 0s; }
.ac2 { top: 110px; left: 0; animation-delay: -2s; }
.ac3 { bottom: 0; right: 20px; animation-delay: -4s; }
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.about-list { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.check {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--white);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

/* =======================
   SERVICES
========================= */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--amber));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.gst      { background: rgba(59,130,246,0.1);  color: #3B82F6; }
.income   { background: rgba(16,185,129,0.1);  color: #10B981; }
.company  { background: rgba(201,151,42,0.1);  color: var(--gold); }
.accounting{ background: rgba(139,92,246,0.1); color: #8B5CF6; }
.audit    { background: rgba(239,68,68,0.1);   color: #EF4444; }
.ip       { background: rgba(245,158,11,0.1);  color: #F59E0B; }

.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.service-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.service-link:hover { color: var(--amber); letter-spacing: 0.02em; }

/* =======================
   WHY US
========================= */
.why-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(240,180,41,0.05);
}
.why-section .section-label { color: var(--amber); }
.why-section .section-title { color: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(201,151,42,0.4);
}
.why-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(240,180,41,0.25);
  margin-bottom: 12px;
  line-height: 1;
}
.why-card h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.why-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* =======================
   TEAM
========================= */
.team-section { background: var(--off); }
.team-card-wrapper { display: flex; justify-content: center; }
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(11,31,58,0.25);
}
.team-card h3    { font-size: 1.4rem; margin-bottom: 6px; }
.team-role       { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.team-bio        { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.team-tags       { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.team-tags span  {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 14px;
  color: var(--muted);
}

/* =======================
   TESTIMONIALS
========================= */
.testimonials-section {
  background: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(139,92,246,0.05));
  padding: 80px 0;
}
.testimonials-section .section-header { margin-bottom: 60px; }
.testimonials-track-wrapper { overflow: hidden; position: relative; }
.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: calc(50% - 14px);
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(59,130,246,0.15);
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-8px);
}
.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  font-size: 1.2rem;
}
.quote-icon {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 32px;
  font-weight: 500;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}
.testimonial-author strong { display: block; font-size: 0.95rem; color: var(--navy); font-weight: 700; }
.testimonial-author span   { font-size: 0.8rem; color: var(--gold); font-weight: 600; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.testimonial-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none; cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.testimonial-dots button.active {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}

/* =======================
   CONTACT
========================= */
.contact-section { background: var(--off); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact-details {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-details li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
}
.contact-details strong { display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.contact-details p, .contact-details a { font-size: 0.9rem; color: var(--text); line-height: 1.6; }
.contact-details a:hover { color: var(--gold); }

.social-links { display: flex; gap: 12px; margin-top: 28px; }
.social-links a {
  width: 42px; height: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--off);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,42,0.12);
  background: var(--white);
}
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* Form validation states */
.form-error {
  font-size: 0.78rem;
  color: #EF4444;
  min-height: 1.1em;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

/* Form submission status */
.form-status {
  font-size: 0.875rem;
  text-align: center;
  border-radius: 8px;
  margin-top: 12px;
  min-height: 0;
}
.form-status.success {
  padding: 10px 16px;
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.3);
}
.form-status.error {
  padding: 10px 16px;
  background: rgba(239,68,68,0.08);
  color: #DC2626;
  border: 1px solid rgba(239,68,68,0.25);
}

/* =======================
   FOOTER
========================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 72px 24px 48px;
}
.footer-brand p { font-size: 0.87rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-links h5, .footer-contact h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.87rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact p, .footer-contact a {
  font-size: 0.87rem;
  margin-bottom: 8px;
  display: block;
}
.footer-contact a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* =======================
   BACK TO TOP
========================= */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201,151,42,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* =======================
   SCROLL ANIMATIONS
========================= */
.fade-up, .fade-left, .fade-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up    { transform: translateY(36px); }
.fade-left  { transform: translateX(-36px); }
.fade-right { transform: translateX(36px); }
.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* =======================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    transition: right var(--transition);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--navy) !important; width: 100%; padding: 12px 16px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-visual  { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .form-row      { grid-template-columns: 1fr; }

  .testimonial-card { min-width: 85%; }

  .footer-inner  { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
