/* ============================================
   Compact Tech World — Rebrand Stylesheet
   Modern, Responsive, Professional
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #DA9A05;
  --primary-dark: #B88004;
  --primary-light: #FEF3C7;
  --secondary: #1E293B;
  --secondary-dark: #0F172A;
  --gradient: linear-gradient(135deg, #DA9A05 0%, #F5C842 100%);
  --gradient-hover: linear-gradient(135deg, #B88004 0%, #DA9A05 100%);
  --dark: #0F172A;
  --darker: #020617;
  --gray-900: #1E293B;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #64748B;
  --gray-500: #94A3B8;
  --gray-400: #CBD5E1;
  --gray-300: #E2E8F0;
  --gray-200: #F1F5F9;
  --gray-100: #F8FAFC;
  --white: #FFFFFF;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
}
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
}
.section-sm { padding: 50px 0; }
.section-dark {
  background: var(--dark);
  color: var(--gray-300);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}
.section-light { background: var(--gray-200); }
.section-gradient {
  background: var(--gradient);
  color: var(--white);
}
.section-gradient h1, .section-gradient h2, .section-gradient h3 { color: var(--white); }
.text-center { text-align: center; }

/* Grid system */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex helpers */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { justify-content: space-between; align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.4;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--gradient-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--gray-900);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* --- Preloader --- */
.preloader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--gray-300);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--dark); }
.logo img { height: 64px; width: auto; }
.logo span { color: var(--primary); }

/* Desktop nav */
.nav-links {
  display: none;
  gap: 8px;
}
.nav-links a {
  padding: 8px 18px;
  border-radius: var(--radius);
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}
.header-cta {
  display: none;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: none;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--dark);
  transition: var(--transition);
  position: relative;
  z-index: 1002;
}
.menu-toggle:hover { background: var(--gray-300); }
.menu-toggle .fa-times { display: none; }
.menu-toggle.active .fa-bars { display: none; }
.menu-toggle.active .fa-times { display: inline; }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 88px 24px 24px;
  overflow-y: auto;
  z-index: 1001;
}
.mobile-menu.open { display: flex; flex-direction: column; animation: menuFadeIn 0.3s ease; }
@keyframes menuFadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-menu a {
  display: block;
  padding: 16px 20px;
  color: var(--gray-800);
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}
.mobile-menu-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-300);
}
.mobile-menu-info p {
  display: flex; align-items: center; gap: 10px;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.mobile-menu-info i { color: var(--primary); width: 18px; text-align: center; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (min-width: 960px) {
  .header-cta { display: inline-flex; }
}

/* --- Hero Section / Slider --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  padding-top: 72px;
}
.hero-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.9) 0%, rgba(37,99,235,0.4) 100%);
}
.hero > .container { position: relative; z-index: 2; }
.hero-slide .container { position: relative; z-index: 2; width: 100%; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 20px 0 120px;
  margin: 0 auto 0 0;
}
.hero h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.hero p { color: var(--gray-400); font-size: 1.15rem; margin-bottom: 32px; max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* Slider dots */
.hero-slider-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.hero-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

/* Stats bar at bottom of hero */
.hero-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.hero-stat { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-stat h3 { color: var(--white); font-size: 2rem; margin-bottom: 0; display: inline; }
.hero-stat-plus { color: var(--white); font-size: 2rem; font-weight: 700; }
.hero-stat p { color: var(--gray-500); font-size: 0.875rem; margin: 0; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--dark);
  padding: 140px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 500px; height: 500px;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.08;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: var(--gray-400); margin: 0; font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.breadcrumb a { color: var(--gray-400); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--gray-500); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-300);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card-icon {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.card:hover .card-icon {
  background: var(--gradient);
  color: var(--white);
}
.card h4 { margin-bottom: 12px; }
.card p { color: var(--gray-600); margin-bottom: 0; font-size: 0.95rem; }

/* --- Service Cards (image hover) --- */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.08); }
.service-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
  transition: var(--transition);
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(0deg, rgba(37,99,235,0.9) 0%, rgba(124,58,237,0.6) 100%);
}
.service-card-overlay h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.service-card-overlay p { color: var(--gray-300); font-size: 0.9rem; margin: 0; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.service-card:hover .service-card-overlay p { opacity: 1; transform: translateY(0); }

/* --- Stats bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 4px; }
.stat-item h3 .text-gradient { font-weight: 800; }
.stat-item p { color: var(--gray-600); font-size: 0.9rem; margin: 0; }
.section-dark .stat-item p { color: var(--gray-400); }
@media (min-width: 768px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }

/* --- Feature row --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) { .feature-row { grid-template-columns: 1fr 1fr; } }
.feature-row.reverse .feature-img { order: 1; }
@media (min-width: 768px) { .feature-row.reverse .feature-img { order: -1; } }
.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-img img { width: 100%; }
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.feature-list li i {
  color: var(--success);
  margin-top: 4px;
  flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-300);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 28px;
  font-size: 4rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-rating {
  display: flex;
  gap: 4px;
  color: var(--warning);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-author-info h5 { margin-bottom: 0; font-size: 0.95rem; }
.testimonial-author-info p { margin: 0; font-size: 0.8rem; color: var(--gray-500); }

/* --- Contact Form --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-800);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-control::placeholder { color: var(--gray-500); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* --- CTA Section --- */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border: 40px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* --- Advantages row --- */
.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
}
.advantage-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.advantage-item:hover .advantage-icon {
  background: var(--gradient);
  color: var(--white);
  transform: scale(1.1);
}
.advantage-item h4 { font-size: 1rem; }

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.footer-about .logo-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-about .logo-footer img {
  height: 52px;
  width: auto;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.footer-about .logo-footer span { color: var(--primary); }
.footer-about p { font-size: 0.9rem; line-height: 1.7; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.footer-contact i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--gray-400);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gradient);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  z-index: 99;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* --- Google Map --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* --- Marquee / Brands --- */
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px 0;
}
.brands-row img {
  height: 40px;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: var(--transition);
}
.brands-row img:hover { opacity: 1; filter: grayscale(0%); }

/* --- Contact info bar --- */
.info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 0;
}
.info-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.info-bar-item i {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

/* --- Service list compact --- */
.service-list-compact h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.service-list-compact ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-300);
  color: var(--gray-700);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-list-compact ul li i { color: var(--primary); font-size: 0.8rem; }

/* --- Responsive fine tuning --- */
@media (max-width: 767px) {
  .section { padding: 54px 0; }
  .hero { min-height: auto; min-height: 100vh; }
  .hero-content { padding: 20px 0 120px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat { min-width: 80px; }
  .hero-stat h3 { font-size: 1.5rem; }
  .hero-stat-plus { font-size: 1.5rem; }
  .hero-slider-dots { bottom: 90px; }
  .page-hero { padding: 120px 0 40px; }
  .cta-section { padding: 54px 0; }
  .footer { padding-top: 48px; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* --- Utility --- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* --- Dark Mode Toggle Button --- */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: none;
  background: var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray-700);
  transition: var(--transition);
  margin-right: 8px;
}
.dark-mode-toggle:hover { background: var(--gray-300); }
.dark-mode-toggle .fa-sun { display: none; }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 9999;
  width: 0;
  transition: width 0.1s linear;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px; left: 30px;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.7rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 99;
  transition: var(--transition);
  animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 25px rgba(37,211,102,0.6); }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  color: var(--gray-300);
  padding: 20px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 2px solid var(--primary);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 240px;
}
.cookie-banner-inner p i { color: var(--primary); margin-right: 8px; }
.cookie-buttons { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn-outline { border-color: var(--gray-600); color: var(--gray-400); }
.cookie-banner .btn-outline:hover { border-color: var(--white); color: var(--white); background: transparent; }

/* --- Testimonials Carousel --- */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 24px;
}
.testimonial-carousel .testimonial-card {
  min-width: calc(100% - 0px);
  flex-shrink: 0;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .testimonial-carousel .testimonial-card {
    min-width: calc(50% - 12px);
  }
}
@media (min-width: 960px) {
  .testimonial-carousel .testimonial-card {
    min-width: calc(33.333% - 16px);
  }
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.carousel-btn:hover {
  background: var(--gradient);
  color: var(--white);
  border-color: var(--primary);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ============================================
   DARK MODE
   ============================================ */
body.dark-mode {
  background: #0F172A;
  color: #CBD5E1;
}
body.dark-mode .dark-mode-toggle .fa-moon { display: none; }
body.dark-mode .dark-mode-toggle .fa-sun { display: inline; }
body.dark-mode .dark-mode-toggle { background: #334155; color: #F59E0B; }

body.dark-mode .header {
  background: rgba(15,23,42,0.95);
  border-bottom-color: #1E293B;
}
body.dark-mode .logo { color: #F8FAFC; }
body.dark-mode .logo:hover { color: #F8FAFC; }
body.dark-mode .nav-links a { color: #94A3B8; }
body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active { color: var(--primary); background: rgba(218,154,5,0.1); }

body.dark-mode .mobile-menu { background: #0F172A; }
body.dark-mode .mobile-menu a { color: #CBD5E1; }
body.dark-mode .mobile-menu a:hover,
body.dark-mode .mobile-menu a.active { background: rgba(218,154,5,0.1); color: var(--primary); }
body.dark-mode .mobile-menu-info { border-top-color: #1E293B; }
body.dark-mode .mobile-menu-info p { color: #94A3B8; }
body.dark-mode .menu-toggle { background: #334155; color: #F8FAFC; }

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #F8FAFC; }
body.dark-mode p { color: #94A3B8; }

body.dark-mode .card {
  background: #1E293B;
  border-color: #334155;
}
body.dark-mode .card:hover { border-color: rgba(218,154,5,0.3); }
body.dark-mode .card p { color: #94A3B8; }
body.dark-mode .card-icon { background: rgba(218,154,5,0.15); }

body.dark-mode .section-light { background: #1E293B; }
body.dark-mode .section-tag { background: rgba(218,154,5,0.15); }

body.dark-mode .testimonial-card {
  background: #1E293B;
  border-color: #334155;
}
body.dark-mode .testimonial-card blockquote { color: #94A3B8; }
body.dark-mode .testimonial-card::before { color: rgba(218,154,5,0.15); }
body.dark-mode .carousel-btn { background: #1E293B; border-color: #334155; color: #94A3B8; }
body.dark-mode .carousel-dot { background: #334155; }

body.dark-mode .form-control {
  background: #1E293B;
  border-color: #334155;
  color: #F8FAFC;
}
body.dark-mode .form-control:focus { border-color: var(--primary); }
body.dark-mode .form-group label { color: #CBD5E1; }

body.dark-mode .feature-list li { color: #94A3B8; }
body.dark-mode .info-bar-item i { background: rgba(218,154,5,0.15); }
body.dark-mode .footer-contact i { color: var(--primary); }
body.dark-mode .stat-item p { color: #94A3B8; }
body.dark-mode .subtitle { color: #94A3B8; }
body.dark-mode .breadcrumb a { color: #94A3B8; }

body.dark-mode .service-card-overlay h4 { color: #fff; }

body.dark-mode .preloader { background: #0F172A; }

body.dark-mode .cookie-banner { background: #1E293B; }
