/**
 * Mewtech Marketing Website — Main Stylesheet
 * Enterprise black/white/grey theme with Harabara + Roboto
 */

/* ── Fonts ── */
@font-face {
  font-family: 'Harabara';
  src: url('../../asests/css/fonts/Harabara.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Variables (Light) ── */
:root {
  --font-display: 'Harabara', 'Roboto', sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-grey-50: #f8f9fa;
  --color-grey-100: #f1f3f5;
  --color-grey-200: #e9ecef;
  --color-grey-300: #dee2e6;
  --color-grey-400: #ced4da;
  --color-grey-500: #adb5bd;
  --color-grey-600: #6c757d;
  --color-grey-700: #495057;
  --color-grey-800: #343a40;
  --color-grey-900: #212529;

  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-grey-50);
  --bg-elevated: var(--color-white);
  --text-primary: var(--color-black);
  --text-secondary: var(--color-grey-600);
  --text-muted: var(--color-grey-500);
  --border-color: var(--color-grey-200);
  --accent: var(--color-black);
  --accent-hover: var(--color-grey-800);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --header-height: 72px;
  --logo-height-header: 44px;
  --logo-height-footer: 40px;
  --logo-height-mobile: 40px;
  --logo-max-width: 150px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme */
[data-theme="dark"] {
  --bg-primary: #0d0d0d;
  --bg-secondary: #141414;
  --bg-elevated: #1a1a1a;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #707070;
  --border-color: #2a2a2a;
  --accent: #ffffff;
  --accent-hover: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  transition: background var(--transition), color var(--transition);
}

#main-content {
  overflow-x: hidden;
  max-width: 100%;
}

body.loaded #page-loader { opacity: 0; visibility: hidden; pointer-events: none; }

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

/* Harabara display font — letter-spacing everywhere it is used */
h1, h2, h3, h4, h5, h6,
.loader-logo,
.logo,
.logo-text,
.hero-title,
.section-title,
.badge-number,
.stat-number,
.stat-suffix,
.footer-logo,
.error-code,
.page-hero h1,
.cta-box h3,
.contact-preview-box h2 {
  font-family: var(--font-display);
  letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.2;
}

/* Bootstrap Icons must not inherit Harabara */
.bi,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  font-family: bootstrap-icons !important;
  letter-spacing: normal;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; outline: 3px solid var(--color-grey-400); }

/* ── Page Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}
.loader-logo {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}
.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--color-grey-200);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--color-black);
  border-radius: 3px;
  animation: loaderSlide 1s ease-in-out infinite;
}
[data-theme="dark"] .loader-bar span { background: var(--color-white); }
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.btn-primary:hover {
  background: var(--color-grey-800);
  border-color: var(--color-grey-800);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
[data-theme="dark"] .btn-primary {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
[data-theme="dark"] .btn-primary:hover {
  background: var(--color-grey-200);
  border-color: var(--color-grey-200);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-outline:hover {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}
[data-theme="dark"] .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
[data-theme="dark"] .site-header {
  background: rgba(13,13,13,0.9);
}
.site-header.scrolled {
  border-bottom-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-img {
  width: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 0;
  flex-shrink: 0;
}
.logo-img--header {
  height: var(--logo-height-header);
  max-width: var(--logo-max-width);
}
.logo-img--footer {
  height: var(--logo-height-footer);
  max-width: var(--logo-max-width);
}
.logo-img--mobile {
  height: var(--logo-height-mobile);
  max-width: var(--logo-max-width);
}

/* Light theme: black logo | Dark theme: white logo */
.logo .logo-img--dark,
.mobile-nav-logo .logo-img--dark {
  display: none;
}
[data-theme="dark"] .logo .logo-img--light,
[data-theme="dark"] .mobile-nav-logo .logo-img--light {
  display: none;
}
[data-theme="dark"] .logo .logo-img--dark,
[data-theme="dark"] .mobile-nav-logo .logo-img--dark {
  display: block;
}

/* Footer is always on dark background — white logo only */
.footer-logo .logo-img {
  display: block !important;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--color-grey-100);
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: var(--color-grey-800);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.theme-toggle:hover { background: var(--color-grey-100); }
[data-theme="dark"] .theme-toggle:hover { background: var(--color-grey-800); }

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.mobile-nav-toggle.active .hamburger { background: transparent; }
.mobile-nav-toggle.active .hamburger::before { top: 0; transform: rotate(45deg); }
.mobile-nav-toggle.active .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ── Mobile full-page side navigation ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}
.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-nav.is-open .mobile-nav-backdrop {
  opacity: 1;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88%, 380px);
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.18);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
}
.mobile-nav:not(.is-open) .mobile-nav-panel {
  visibility: hidden;
}
.mobile-nav.is-open .mobile-nav-panel {
  transform: translate3d(0, 0, 0);
  visibility: visible;
}
.mobile-nav-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 20px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.mobile-nav.is-open .mobile-nav-header {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-logo {
  display: flex;
  align-items: center;
}
.mobile-nav-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
}
.mobile-nav-close:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  transform: rotate(90deg);
}
[data-theme="dark"] .mobile-nav-close:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.mobile-nav-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.mobile-nav.is-open .mobile-nav-eyebrow {
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav-menu {
  flex: 1;
}
.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-item {
  opacity: 0;
  transform: translate3d(12px, 0, 0);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.04s * var(--nav-i) + 0.08s);
  max-width: 100%;
}
.mobile-nav.is-open .mobile-nav-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition), padding-left var(--transition);
  max-width: 100%;
  word-wrap: break-word;
}
.mobile-nav-link-text {
  flex: 1;
  min-width: 0;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-secondary);
  padding-left: 6px;
}
.mobile-nav-link-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity var(--transition), transform var(--transition);
}
.mobile-nav-link:hover .mobile-nav-link-icon,
.mobile-nav-link.active .mobile-nav-link-icon {
  opacity: 1;
}
.mobile-nav-footer {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease 0.35s, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.mobile-nav.is-open .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.mobile-theme-toggle {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  padding: 14px 18px;
  gap: 12px;
  justify-content: flex-start;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-theme-toggle span {
  flex: 1;
  text-align: left;
}
.mobile-nav-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.mobile-nav-contact a:hover {
  color: var(--text-primary);
}
.mobile-nav-contact i {
  font-size: 1.1rem;
  color: var(--color-black);
}
[data-theme="dark"] .mobile-nav-contact i {
  color: var(--color-white);
}

body.mobile-nav-open {
  overflow: hidden;
  touch-action: none;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 60px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.min-vh-hero { min-height: calc(100vh - var(--header-height) - 140px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}
.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
[data-theme="dark"] .hero-glow {
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--color-grey-100);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
[data-theme="dark"] .hero-badge { background: var(--color-grey-800); }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 20px;
  line-height: 1.1;
}
.text-gradient {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-grey-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trust-avatars { display: flex; }
.trust-avatars .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
}
.trust-avatars .avatar:first-child { margin-left: 0; }
.hero-trust p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

/* Dashboard mockup */
.hero-dashboard {
  position: relative;
  padding: 20px;
  max-width: 100%;
  overflow: hidden;
}
.dashboard-window {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--color-grey-100);
  border-bottom: 1px solid var(--border-color);
}
[data-theme="dark"] .dashboard-header { background: var(--color-grey-900); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.dashboard-title { margin-left: 12px; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.dashboard-body { display: flex; min-height: 280px; }
.dash-sidebar {
  width: 60px;
  padding: 16px 10px;
  background: var(--color-grey-50);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-theme="dark"] .dash-sidebar { background: #111; }
.dash-nav-item {
  height: 8px;
  border-radius: 4px;
  background: var(--color-grey-300);
}
.dash-nav-item.active { background: var(--color-black); width: 80%; }
[data-theme="dark"] .dash-nav-item.active { background: var(--color-white); }
.dash-main { flex: 1; padding: 16px; }
.dash-stats { display: flex; gap: 10px; margin-bottom: 16px; }
.dash-stat-card {
  flex: 1;
  padding: 12px;
  background: var(--color-grey-50);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .dash-stat-card { background: var(--color-grey-900); }
.dash-stat-card .label { display: block; font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; }
.dash-stat-card .value { font-weight: 700; font-size: 1rem; }
.dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  margin-bottom: 16px;
  padding: 10px;
  background: var(--color-grey-50);
  border-radius: 8px;
}
[data-theme="dark"] .dash-chart { background: var(--color-grey-900); }
.chart-bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-grey-600) 100%);
  border-radius: 4px 4px 0 0;
  animation: barGrow 1.2s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}
[data-theme="dark"] .chart-bar {
  background: linear-gradient(180deg, #fff 0%, #666 100%);
}
@keyframes barGrow { to { transform: scaleY(1); } }
.dash-table .table-row {
  height: 12px;
  background: var(--color-grey-200);
  border-radius: 4px;
  margin-bottom: 8px;
}
[data-theme="dark"] .dash-table .table-row { background: var(--color-grey-800); }
.dash-table .table-row:nth-child(2) { width: 85%; }
.dash-table .table-row:nth-child(3) { width: 70%; }

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}
.floating-card i { font-size: 1.2rem; color: var(--color-black); }
[data-theme="dark"] .floating-card i { color: var(--color-white); }
.card-invoice { top: 10%; right: -5%; }
.card-stock { bottom: 15%; left: -5%; animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
}
.scroll-indicator .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: block;
  position: relative;
}
.scroll-indicator .mouse::after {
  content: '';
  width: 4px; height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 20px; }
}

/* ── Sections ── */
.section { padding: 100px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

/* About */
.about-section { background: var(--bg-secondary); }
.about-visual { position: relative; }
.about-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.about-badge {
  position: absolute;
  bottom: 24px;
  right: -10px;
  background: var(--color-black);
  color: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .about-badge { background: var(--color-white); color: var(--color-black); }
.badge-number { display: block; font-size: 2rem; line-height: 1; }
.badge-text { font-size: 0.75rem; opacity: 0.9; }
.about-content .lead { font-size: 1.2rem; font-weight: 500; }
.about-highlights { list-style: none; padding: 0; margin: 24px 0; }
.about-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-secondary);
}
.about-highlights i { color: var(--color-black); font-size: 1.1rem; }
[data-theme="dark"] .about-highlights i { color: var(--color-white); }

/* Services */
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-black);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-grey-100);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-black);
  transition: all var(--transition);
}
.service-icon i {
  font-size: 1.6rem;
  line-height: 1;
  color: inherit;
}
[data-theme="dark"] .service-icon {
  background: var(--color-grey-800);
  border-color: var(--color-grey-700);
  color: var(--color-white);
}
.service-card:hover .service-icon {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
}
[data-theme="dark"] .service-card:hover .service-icon {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-black);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover { gap: 10px; }

/* Features */
.features-section { background: var(--bg-secondary); }
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  height: 100%;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon i {
  font-size: 1.35rem;
  line-height: 1;
  color: inherit;
}
[data-theme="dark"] .feature-icon {
  background: var(--color-white);
  color: var(--color-black);
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

.features-cta { margin-top: 60px; }
.cta-box {
  background: var(--color-black);
  color: var(--color-white);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
}
[data-theme="dark"] .cta-box {
  background: var(--color-white);
  color: var(--color-black);
}
.cta-box h3 { font-size: 1.75rem; margin-bottom: 12px; }
.cta-box p { opacity: 0.8; margin-bottom: 28px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-box .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}
.cta-box .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
[data-theme="dark"] .cta-box .btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
[data-theme="dark"] .cta-box .btn-outline {
  border-color: rgba(0,0,0,0.3);
  color: var(--color-black);
}

/* Stats */
.stats-section {
  padding: 60px 0;
  background: var(--color-black);
  color: var(--color-white);
}
[data-theme="dark"] .stats-section {
  background: var(--color-white);
  color: var(--color-black);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  display: inline;
}
.stat-suffix { font-size: 2rem; }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 10px;
  height: auto;
}
.testimonial-rating { color: #f5a623; margin-bottom: 16px; }
.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
[data-theme="dark"] .author-avatar {
  background: var(--color-white);
  color: var(--color-black);
}
.testimonial-author cite {
  font-style: normal;
  font-weight: 700;
  display: block;
}
.author-role { font-size: 0.85rem; color: var(--text-muted); }
.testimonials-swiper {
  padding-bottom: 56px;
  position: relative;
}
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  width: 48px;
  height: 48px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
  content: none !important;
  display: none;
}
.testimonials-swiper .swiper-button-prev i,
.testimonials-swiper .swiper-button-next i {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--color-black);
}
[data-theme="dark"] .testimonials-swiper .swiper-button-prev i,
[data-theme="dark"] .testimonials-swiper .swiper-button-next i {
  color: var(--color-white);
}
.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
  background: var(--color-black);
  border-color: var(--color-black);
}
.testimonials-swiper .swiper-button-prev:hover i,
.testimonials-swiper .swiper-button-next:hover i {
  color: var(--color-white);
}
[data-theme="dark"] .testimonials-swiper .swiper-button-prev:hover,
[data-theme="dark"] .testimonials-swiper .swiper-button-next:hover {
  background: var(--color-white);
  border-color: var(--color-white);
}
[data-theme="dark"] .testimonials-swiper .swiper-button-prev:hover i,
[data-theme="dark"] .testimonials-swiper .swiper-button-next:hover i {
  color: var(--color-black);
}
.testimonials-swiper .swiper-button-prev { left: 0; }
.testimonials-swiper .swiper-button-next { right: 0; }
@media (max-width: 767px) {
  .testimonials-swiper .swiper-button-prev { left: 4px; }
  .testimonials-swiper .swiper-button-next { right: 4px; }
}
.testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--color-black);
}
[data-theme="dark"] .testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--color-white);
}

/* Case Studies */
.case-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  height: 100%;
  transition: all var(--transition);
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-icon {
  width: 52px;
  height: 52px;
  background: var(--color-grey-100);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-black);
}
.case-icon i {
  font-size: 1.4rem;
  line-height: 1;
  color: inherit;
}
[data-theme="dark"] .case-icon {
  background: var(--color-grey-800);
  border-color: var(--color-grey-700);
  color: var(--color-white);
}
.case-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}
.case-card h3 { font-size: 1.2rem; margin: 8px 0 12px; }
.case-card p { color: var(--text-secondary); font-size: 0.95rem; }
.case-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  padding: 12px 16px;
  background: var(--color-grey-50);
  border-radius: 8px;
  font-size: 0.95rem;
}
[data-theme="dark"] .case-result { background: var(--color-grey-900); }
.case-result i { color: #28a745; }
.case-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Blog */
.blog-section { background: var(--bg-secondary); }
.blog-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.8rem;
}
.blog-category {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}
[data-theme="dark"] .blog-category {
  background: var(--color-white);
  color: var(--color-black);
}
.blog-meta time { color: var(--text-muted); }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.blog-card h3 a:hover { color: var(--text-secondary); }
.blog-card p { color: var(--text-secondary); font-size: 0.95rem; }
.blog-read-more {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

/* FAQ */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 1rem;
  padding: 20px 24px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--color-grey-50);
  color: var(--text-primary);
}
[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  background: var(--color-grey-900);
}
.faq-accordion .accordion-body {
  color: var(--text-secondary);
  padding: 0 24px 20px;
}

/* Contact preview */
.contact-preview-box {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-grey-800) 100%);
  color: var(--color-white);
  padding: 48px 56px;
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .contact-preview-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}
.contact-preview-box h2 { font-size: 1.75rem; margin-bottom: 8px; }
.contact-preview-box p { opacity: 0.85; margin: 0; }
.contact-preview-box .btn-primary {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.contact-preview-box .btn-primary:hover {
  background: var(--color-grey-200);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--bg-secondary);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.page-hero .breadcrumb a:hover { color: var(--text-primary); }

/* Contact page */
.contact-info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  transition: all var(--transition);
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-info-card i {
  font-size: 1.5rem;
  width: 48px; height: 48px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
[data-theme="dark"] .contact-info-card i {
  background: var(--color-white);
  color: var(--color-black);
}
.contact-form-wrapper {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form .form-control,
.contact-form .form-select {
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color var(--transition);
}
.contact-form .form-control:focus {
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
  outline: none;
}
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 400px;
}
.contact-map iframe { width: 100%; height: 400px; border: 0; }

.form-feedback {
  margin-top: 12px;
  font-size: 0.9rem;
  min-height: 24px;
}
.form-feedback.success { color: #28a745; }
.form-feedback.error { color: #dc3545; }

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.legal-content p, .legal-content li { color: var(--text-secondary); }
.legal-content ul { padding-left: 24px; }

/* 404 */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
}
.error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  color: var(--color-grey-200);
}
[data-theme="dark"] .error-code { color: var(--color-grey-800); }

/* Footer */
.site-footer {
  background: var(--color-black);
  color: var(--color-grey-400);
}
[data-theme="dark"] .site-footer {
  background: #080808;
}
.footer-top { padding: 80px 0 40px; }
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  margin-bottom: 16px;
}
.footer-logo span span { color: var(--color-grey-500); }
.footer-tagline { margin-bottom: 24px; max-width: 280px; }
.site-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--color-grey-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-white); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px;
  border: 1px solid var(--color-grey-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-400);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.newsletter-form .input-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid var(--color-grey-700);
}
.newsletter-form .form-control {
  flex: 1;
  border: none;
  padding: 12px 18px;
  background: var(--color-grey-900);
  color: var(--color-white);
}
.newsletter-form .form-control::placeholder { color: var(--color-grey-500); }
.newsletter-form .btn { border-radius: 0 50px 50px 0; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-contact a { color: var(--color-grey-400); }
.footer-contact a:hover { color: var(--color-white); }
.footer-bottom {
  border-top: 1px solid var(--color-grey-800);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom strong { color: var(--color-white); }

/* FAB buttons */
.fab-group {
  position: fixed;
  bottom: 100px;
  left: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.fab:hover { transform: scale(1.1); color: var(--color-white); }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--color-black); }
[data-theme="dark"] .fab-call { background: var(--color-white); color: var(--color-black); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 48px; height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top.visible { opacity: 1; transform: translateY(0); }
[data-theme="dark"] .back-to-top {
  background: var(--color-white);
  color: var(--color-black);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 30px rgba(0,0,0,.1);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-consent.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie-content p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }
.cookie-content a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Chat widget */
.chat-widget { position: fixed; bottom: 24px; right: 90px; z-index: 899; }
.chat-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: transform var(--transition);
}
.chat-toggle:hover { transform: scale(1.05); }
[data-theme="dark"] .chat-toggle {
  background: var(--color-white);
  color: var(--color-black);
}
.chat-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: #e74c3c;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  max-height: 480px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(10px);
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}
.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--color-black);
  color: var(--color-white);
}
[data-theme="dark"] .chat-header {
  background: var(--color-grey-900);
}
.chat-header h4 { margin: 0; font-size: 1rem; color: inherit; }
.chat-status { font-size: 0.75rem; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.status-dot {
  width: 8px; height: 8px;
  background: #28c840;
  border-radius: 50%;
}
.chat-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 260px;
}
.chat-msg {
  margin-bottom: 12px;
  max-width: 85%;
}
.chat-msg.bot {
  background: var(--color-grey-100);
  padding: 12px 16px;
  border-radius: 12px 12px 12px 4px;
}
[data-theme="dark"] .chat-msg.bot { background: var(--color-grey-800); }
.chat-msg.user {
  background: var(--color-black);
  color: var(--color-white);
  padding: 12px 16px;
  border-radius: 12px 12px 4px 12px;
  margin-left: auto;
}
[data-theme="dark"] .chat-msg.user {
  background: var(--color-white);
  color: var(--color-black);
}
.chat-msg p { margin: 0; font-size: 0.9rem; }
.chat-input-form {
  display: flex;
  padding: 12px 16px;
  gap: 8px;
  border-top: 1px solid var(--border-color);
}
.chat-input-form input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 16px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.9rem;
}
.chat-input-form button {
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  cursor: pointer;
}
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
.chat-quick-replies button {
  font-size: 0.75rem;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.chat-quick-replies button:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .mobile-nav-panel,
  .mobile-nav-backdrop {
    transition-duration: 0.01ms !important;
  }
  .mobile-nav-item,
  .mobile-nav-header,
  .mobile-nav-eyebrow,
  .mobile-nav-footer {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .nav-list { display: none; }
  .mobile-nav-toggle { display: flex; align-items: center; justify-content: center; }
  .main-nav { position: relative; }
  .nav-actions { display: none; }
  .floating-card { display: none; }
  .site-header .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero-dashboard { padding: 12px 0; }
  .hero-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-widget { right: 24px; }
  .fab-group { bottom: 90px; }
}

@media (max-width: 767px) {
  :root {
    --logo-height-header: 40px;
    --logo-max-width: 130px;
  }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust {
    flex-wrap: wrap;
  }
  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .contact-preview-box { padding: 32px 24px; text-align: center; }
  .contact-preview-box .text-lg-end { text-align: center !important; }
  .cookie-inner { flex-direction: column; text-align: center; }
  .chat-widget { right: 16px; }
  .chat-panel {
    width: calc(100% - 32px);
    max-width: 340px;
    right: 0;
  }
  .fab-group { left: 16px; bottom: 80px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cta-box { padding: 32px 24px; }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 575px) {
  .mobile-nav-panel {
    width: 100%;
  }
  .mobile-nav-link {
    font-size: 0.95rem;
    padding: 10px 0;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

