/* ================================================================
   TheSolve – Premium Home Services Marketplace
   style.css — Complete Stylesheet
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS VARIABLES & THEME
   ---------------------------------------------------------------- */
:root {
  /* Colors */
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --primary-light: #cfe2ff;
  --secondary: #00c6ff;
  --accent: #6f42c1;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gradient-main: linear-gradient(135deg, #0d6efd 0%, #6f42c1 100%);
  --gradient-hero: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #6f42c1 100%);
  --gradient-accent: linear-gradient(135deg, #00c6ff 0%, #0d6efd 100%);

  /* Light theme */
  --bg-body: #f8faff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f4ff;
  --bg-input: #f4f7ff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(13,110,253,.08);
  --shadow-md: 0 8px 32px rgba(13,110,253,.12);
  --shadow-lg: 0 20px 60px rgba(13,110,253,.18);
  --nav-bg: rgba(255,255,255,.92);
  --nav-border: rgba(13,110,253,.08);

  /* Typography */
  --font-display: 'Clash Display', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-pad: 96px 0;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

/* Dark theme */
[data-theme="dark"] {
  --bg-body: #0b0f1a;
  --bg-card: #131929;
  --bg-card-hover: #1a2238;
  --bg-input: #1a2238;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e2d4f;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
  --nav-bg: rgba(11,15,26,.92);
  --nav-border: rgba(255,255,255,.05);
  --bg-body-rgb: 11, 15, 26;
}

/* ----------------------------------------------------------------
   2. BASE & RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background-color .3s ease, color .3s ease;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: all .2s ease; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

/* ----------------------------------------------------------------
   3. LOADING SCREEN
   ---------------------------------------------------------------- */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 250px;
  height: auto;
  filter: brightness(0) invert(1);
  animation: logoPulse 1s ease-in-out infinite alternate;
  margin-bottom: 24px;
}

@keyframes logoPulse {
  from { opacity: .6; transform: scale(.97); }
  to   { opacity: 1;  transform: scale(1.03); }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,.2);
  border-radius: 99px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 99px;
  animation: loaderFill 1.8s ease forwards;
}

@keyframes loaderFill {
  to { width: 100%; }
}

/* ----------------------------------------------------------------
   4. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------- */
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

[data-theme="dark"] .section-badge {
  background: rgba(13,110,253,.15);
}

.section-header { margin-bottom: 56px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.section-pad { padding: var(--section-pad); }

/* ----------------------------------------------------------------
   5. NAVBAR
   ---------------------------------------------------------------- */
#mainNav {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  padding: 12px 0;
  transition: all .3s ease;
  z-index: 1000;
}

#mainNav.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.nav-logo {
  height: 100px;
  width: auto;
  transition: height .3s ease;
}

#mainNav.scrolled .nav-logo { height: 34px; }

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-secondary);
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 99px;
  transition: width .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Nav buttons */
.btn-nav {
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  transition: all .25s ease;
}

.btn-outline-primary.btn-nav {
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline-primary.btn-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .25s ease;
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Hamburger */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 6px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger-icon span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s ease;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ----------------------------------------------------------------
   6. HERO SECTION
   ---------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Animated background blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .3;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
  width: 500px; height: 500px;
  background: #00c6ff;
  top: -150px; right: -100px;
  animation-delay: 0s;
}

.blob-2 {
  width: 400px; height: 400px;
  background: #6f42c1;
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}

.blob-3 {
  width: 300px; height: 300px;
  background: #0d6efd;
  top: 50%; left: 50%;
  animation-delay: 5s;
}

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

/* Floating icons */
.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  animation: floatAnim 6s ease-in-out infinite;
}

.fi-1 { top: 20%; left: 8%; animation-delay: 0s; }
.fi-2 { top: 65%; left: 5%; animation-delay: 1.5s; }
.fi-3 { top: 15%; right: 5%; animation-delay: 3s; }
.fi-4 { top: 75%; right: 8%; animation-delay: 4.5s; }

@keyframes floatAnim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(5deg); }
  66% { transform: translateY(8px) rotate(-5deg); }
}

/* Hero content */
.hero-content {
  padding: 80px 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #a5f3fc, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin-bottom: 40px;
}

/* Hero Search */
.hero-search {
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}

.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  padding: 4px 8px;
}

.search-icon {
  color: var(--text-muted);
  padding: 0 12px;
  font-size: 1rem;
  flex-shrink: 0;
}

.search-select,
.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 16px 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.search-select option { color: #0f172a; }

.search-divider {
  width: 1px;
  background: var(--border-color);
  margin: 12px 0;
  align-self: stretch;
}

.search-btn {
  margin: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  background: var(--gradient-main);
  border: none;
  transition: all .3s ease;
  box-shadow: 0 4px 20px rgba(13,110,253,.4);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13,110,253,.5);
}

/* Hero tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.tag-label {
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  font-weight: 600;
}

.hero-tag {
  padding: 6px 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 500;
  transition: all .25s ease;
}

.hero-tag:hover {
  background: rgba(255,255,255,.25);
  color: #fff;
  transform: translateY(-2px);
}

/* Hero card stack */
.hero-visual {
  justify-content: center;
  align-items: center;
  padding: 80px 0 40px;
}

.hero-card-stack {
  position: relative;
  width: 320px;
  height: 340px;
}

.hero-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  animation: cardFloat 4s ease-in-out infinite;
}

.hc-main {
  width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  top: 0; left: 0;
  animation-delay: 0s;
}

.hc-avatar {
  width: 48px; height: 48px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hc-info strong {
  display: block;
  font-size: .9rem;
  color: var(--text-primary);
  font-weight: 700;
}

.hc-info span {
  font-size: .8rem;
  color: var(--text-secondary);
}

.hc-badge {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.hc-badge.available {
  background: rgba(34,197,94,.15);
  color: #22c55e;
}

.hc-booking {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  top: 100px; right: -30px;
  animation-delay: 1.5s;
}

.hc-booking small {
  display: block;
  font-size: .75rem;
  color: var(--text-muted);
}

.hc-booking strong {
  display: block;
  font-size: .88rem;
  color: var(--text-primary);
  font-weight: 700;
}

.hc-rating {
  width: 190px;
  bottom: 20px; left: -20px;
  animation-delay: 2.5s;
}

.hc-rating .stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 4px;
}

.hc-rating p {
  font-size: .82rem;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-style: italic;
}

.hc-rating small {
  font-size: .78rem;
  color: var(--text-muted);
}

.hc-stat {
  width: 110px;
  text-align: center;
  top: 50%; right: -50px;
  animation-delay: 3.5s;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
}

/* ----------------------------------------------------------------
   7. BRANDS STRIP
   ---------------------------------------------------------------- */
.brands-strip {
  padding: 28px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.brands-label {
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.brands-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-slide {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: brandScroll 20s linear infinite;
}

@keyframes brandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-item {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .2s;
}

.brand-item:hover { color: var(--primary); }

/* ----------------------------------------------------------------
   8. BUTTONS
   ---------------------------------------------------------------- */
.btn-primary {
  background: var(--gradient-main);
  border: none;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background .3s ease;
}

.btn-primary:hover::before {
  background: rgba(255,255,255,.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13,110,253,.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all .3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13,110,253,.3);
}

/* ----------------------------------------------------------------
   9. SERVICE CATEGORY CARDS
   ---------------------------------------------------------------- */
/* Filter tabs */
.filter-btn {
  padding: 10px 24px;
  border-radius: 99px;
  border: 2px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(13,110,253,.3);
}

/* Service card */
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 0 0 20px 0;
  text-align: center;
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Image wrap for service cards */
.sc-img-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 16px;
}

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

.service-card:hover .sc-img-wrap img {
  transform: scale(1.08);
}

.sc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,30,80,.55) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px 12px;
  opacity: 0;
  transition: opacity .3s ease;
}

.sc-img-overlay i {
  width: 34px;
  height: 34px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.service-card:hover .sc-img-overlay {
  opacity: 1;
}

.service-card h5 {
  padding: 0 16px;
}

.service-card p {
  padding: 0 16px;
}

.service-card h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  padding: 0 16px;
}

.service-card p {
  font-size: .82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
  padding: 0 16px;
}

.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.sc-price {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
}

.sc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: all .3s ease;
}

.service-card:hover .sc-arrow {
  background: var(--primary);
  color: #fff;
  transform: translateX(4px);
}

/* Service item filter animation */
.service-item {
  transition: all .4s ease;
}

.service-item.hidden {
  display: none;
}

/* ----------------------------------------------------------------
   10. WHY CHOOSE US
   ---------------------------------------------------------------- */
.why-us-section {
  position: relative;
  overflow: hidden;
}

.why-bg-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: var(--gradient-main);
  opacity: .04;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  filter: blur(60px);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1.5px solid var(--border-color);
  transition: all .3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--fi-color), transparent 85%);
  color: var(--fi-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all .3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--fi-color);
  color: #fff;
}

.feature-card h6 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-card p {
  font-size: .82rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Counters */
.counters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.counter-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.counter-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.counter-card:hover::after { transform: scaleX(1); }

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.counter-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}

/* Counter value display row */
.counter-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Static / pre-formatted values (4.9, 12+) */
.counter-num.counter-fixed {
  font-size: 2.2rem;
}

.counter-suffix {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.counter-card p {
  font-size: .9rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0;
}

/* ----------------------------------------------------------------
   11. POPULAR SERVICE CARDS
   ---------------------------------------------------------------- */
.popular-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all .35s ease;
  height: 100%;
}

.popular-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.popular-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

/* Real photo for popular cards */
.popular-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.popular-card:hover .popular-real-img {
  transform: scale(1.07);
}

/* Remove old placeholder styles — replaced by real images */
.popular-img-placeholder { display: none; }

.popular-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
}

.popular-badge.trending {
  background: rgba(239,68,68,.15);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,.25);
}

.popular-badge.top {
  background: rgba(245,158,11,.15);
  color: #d97706;
  border: 1px solid rgba(245,158,11,.25);
}

.popular-badge.new {
  background: rgba(13,110,253,.15);
  color: var(--primary);
  border: 1px solid rgba(13,110,253,.25);
}

.popular-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}

.popular-wish:hover,
.popular-wish.active {
  color: #ef4444;
  background: #fee2e2;
}

.popular-wish.active i { font-weight: 900; }

.popular-body {
  padding: 20px;
}

.popular-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.pop-category {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 99px;
}

[data-theme="dark"] .pop-category { background: rgba(13,110,253,.15); }

.pop-rating {
  font-size: .82rem;
  color: var(--warning);
  font-weight: 700;
}

.popular-body h5 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.popular-body p {
  font-size: .83rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.popular-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pop-price-old {
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.pop-price-new {
  font-size: 1rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-pop {
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------------
   12. HOW IT WORKS
   ---------------------------------------------------------------- */
.how-section {
  position: relative;
  overflow: hidden;
}

.how-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-body) 0%, color-mix(in srgb, var(--primary-light), transparent 50%) 100%);
}

[data-theme="dark"] .how-bg {
  background: linear-gradient(180deg, var(--bg-body) 0%, rgba(13,110,253,.05) 100%);
}

.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.how-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--step-color, var(--primary)), transparent 85%);
  border: 3px solid color-mix(in srgb, var(--step-color, var(--primary)), transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: all .3s ease;
  cursor: default;
}

.step-circle i {
  font-size: 1.6rem;
  color: var(--step-color, var(--primary));
}

.step-num {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  background: var(--step-color, var(--primary));
  color: #fff;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-step:hover .step-circle {
  transform: scale(1.1);
  background: var(--step-color, var(--primary));
}

.how-step:hover .step-circle i {
  color: #fff;
}

.step-connector {
  position: absolute;
  top: 44px;
  right: -20px;
  width: 40px;
}

.step-connector span {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--border-color), var(--primary));
  position: relative;
}

.step-connector span::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: -10px;
  color: var(--primary);
  font-size: .8rem;
}

.how-step h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.how-step p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   13. TESTIMONIALS
   ---------------------------------------------------------------- */
.testi-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  height: 100%;
  position: relative;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testi-featured {
  background: var(--gradient-main);
  border-color: transparent;
}

.testi-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--warning);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 99px;
  letter-spacing: .04em;
}

.testi-stars {
  font-size: 1.1rem;
  color: var(--warning);
  margin-bottom: 12px;
}

.testi-featured .testi-stars {
  color: #fde68a;
}

.testi-text {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-featured .testi-text {
  color: rgba(255,255,255,.9);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--av-color, var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: .92rem;
  color: var(--text-primary);
  font-weight: 700;
}

.testi-featured .testi-author strong {
  color: #fff;
}

.testi-author small {
  font-size: .8rem;
  color: var(--text-muted);
}

.testi-featured .testi-author small {
  color: rgba(255,255,255,.7);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
}

.testi-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.testi-dots {
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  gap: 8px;
}

.testi-dots button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--border-color) !important;
  border: none !important;
  padding: 0 !important;
  transition: all .3s ease !important;
  opacity: 1 !important;
}

.testi-dots button.active {
  background: var(--primary) !important;
  width: 24px !important;
  border-radius: 99px !important;
}

/* ----------------------------------------------------------------
   14. FOOTER AREA NOTE
   ---------------------------------------------------------------- */
.footer-area-note {
  display: flex;
  align-items: center;
  font-size: .88rem;
  color: #64748b;
  margin-top: 4px;
}

.footer-area-note strong { color: #94a3b8; }

/* ----------------------------------------------------------------
   15. FAQ
   ---------------------------------------------------------------- */
.faq-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .3s ease;
}

.faq-item:hover {
  border-color: var(--primary) !important;
}

.faq-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-primary) !important;
  background: var(--bg-card) !important;
  padding: 20px 24px !important;
  box-shadow: none !important;
  border: none !important;
}

.faq-btn::after {
  filter: none;
  content: '\f067' !important;
  font-family: 'Font Awesome 6 Free' !important;
  font-weight: 900 !important;
  font-size: .8rem;
  color: var(--primary);
  background-image: none !important;
  width: auto !important;
  height: auto !important;
}

.faq-btn:not(.collapsed)::after {
  content: '\f068' !important;
  transform: none !important;
}

.faq-body {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 0 24px 20px !important;
  background: var(--bg-card);
}

/* ----------------------------------------------------------------
   16. CONTACT
   ---------------------------------------------------------------- */
.contact-section {
  background: color-mix(in srgb, var(--primary-light), transparent 60%);
}

[data-theme="dark"] .contact-section {
  background: rgba(13,110,253,.05);
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  transition: all .3s ease;
}

.contact-info-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.ci-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info-item p {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.map-placeholder {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all .3s ease;
}

.map-placeholder:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.map-placeholder i { font-size: 2.5rem; margin-bottom: 8px; }
.map-placeholder p { font-size: .88rem; font-weight: 600; margin-bottom: 0; }

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

/* Form inputs */
.form-group-modern label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.modern-input {
  background: var(--bg-input) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important;
  font-family: var(--font-body) !important;
  font-size: .92rem !important;
  color: var(--text-primary) !important;
  transition: all .25s ease !important;
  width: 100%;
}

.modern-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(13,110,253,.12) !important;
  outline: none;
  background: var(--bg-card) !important;
}

.modern-input::placeholder {
  color: var(--text-muted) !important;
}

/* Password toggle */
.password-wrap {
  position: relative;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color .2s;
}

.pw-toggle:hover { color: var(--primary); }

/* ----------------------------------------------------------------
   17. FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: #0b0f1a;
  color: #94a3b8;
}

.footer-top {
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-logo {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.7;
  color: #64748b;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.1);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all .25s ease;
}

.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,110,253,.1);
  transform: translateY(-3px);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .88rem;
  color: #64748b;
  display: flex;
  align-items: center;
  transition: all .2s ease;
}

.footer-links a::before {
  content: '→';
  margin-right: 8px;
  opacity: 0;
  transform: translateX(-8px);
  transition: all .2s ease;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-newsletter-text {
  font-size: .88rem;
  color: #64748b;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.1);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: .88rem;
  outline: none;
}

.newsletter-input::placeholder { color: #64748b; }

.newsletter-btn {
  width: 48px;
  background: var(--gradient-main);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-btn:hover { opacity: .9; }

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: #94a3b8;
  font-size: .82rem;
  font-weight: 600;
  transition: all .25s ease;
}

.footer-app-badge:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(13,110,253,.08);
}

.footer-bottom {
  padding: 20px 0;
  background: #070b14;
}

.footer-bottom p {
  font-size: .85rem;
  color: #475569;
  margin-bottom: 0;
}

.footer-bottom a {
  font-size: .85rem;
  color: #475569;
  transition: color .2s;
}

.footer-bottom a:hover { color: var(--primary); }

/* ----------------------------------------------------------------
   18. FLOATING BUTTONS
   ---------------------------------------------------------------- */
/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  color: #fff;
  box-shadow: 0 8px 30px rgba(37,211,102,.5);
}

.wa-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #0f172a;
  border-right: 0;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

/* Scroll to top */
#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--gradient-main);
  border: none;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  box-shadow: 0 4px 20px rgba(13,110,253,.4);
}

#scrollTopBtn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(13,110,253,.5);
}

/* ----------------------------------------------------------------
   19. MODALS
   ---------------------------------------------------------------- */
.modal-modern {
  background: var(--bg-card);
  border-radius: var(--radius-xl) !important;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  padding: 24px 32px 16px !important;
}

.modal-body {
  padding: 16px 32px 24px !important;
}

.modal-footer {
  padding: 16px 32px 24px !important;
}

/* Auth tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  padding: 4px;
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 20px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .25s ease;
}

.auth-tab-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: .85rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border-color);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.auth-social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Toast */
.modern-toast {
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  color: var(--text-primary) !important;
  min-width: 280px;
}

/* ----------------------------------------------------------------
   20. SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.23,1,.32,1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   21. RESPONSIVE — MOBILE FIXES
   ---------------------------------------------------------------- */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
  .hero-card-stack { width: 280px; height: 280px; }
}

/* ---- Tablet portrait / large phone (≤768px) ---- */
@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }

  /* Hero */
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-content { padding: 60px 0 20px; }
  .hero-subtitle { font-size: 1rem; }

  /* Search box — stack vertically */
  .search-box {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 4px;
  }
  .search-field { min-width: unset; width: 100%; }
  .search-divider { display: none !important; }
  .search-btn {
    width: calc(100% - 8px);
    margin: 4px;
    border-radius: var(--radius-sm);
  }
  .search-field-location .search-input { font-size: .85rem; }

  /* Hero tags wrap tighter */
  .hero-tags { gap: 8px; }
  .hero-tag  { font-size: .78rem; padding: 5px 12px; }

  /* Service grid — 2 cols on mobile */
  #servicesGrid .col-6 { padding-left: 8px; padding-right: 8px; }
  .sc-img-wrap { height: 110px; }
  .service-card h5 { font-size: .88rem; }
  .service-card p  { font-size: .76rem; display: none; }

  /* Feature grid — single column */
  .feature-grid { grid-template-columns: 1fr; }

  /* Counters — 2×2 stays but smaller */
  .counters-grid { gap: 12px; }
  .counter-num { font-size: 1.8rem; }
  .counter-suffix { font-size: 1.4rem; }
  .counter-card { padding: 24px 16px; }

  /* How it works — vertical */
  .how-steps { flex-direction: column; align-items: center; }
  .step-connector { display: none !important; }
  .how-step { max-width: 100%; width: 100%; padding: 0 0 24px; }
  .how-step p { max-width: 320px; margin: 0 auto; }

  /* Testimonials — single per slide */
  #testimonialCarousel .col-md-6 { margin-bottom: 12px; }
  .testi-card { margin-bottom: 0; }

  /* Contact */
  .contact-form-card { padding: 24px 16px; }

  /* Mobile navbar collapse */
  .navbar-collapse {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }

  /* Popular cards — full width on small screens */
  .popular-real-img { height: 180px; }
  .popular-img-wrap { height: 180px; }

  /* FAQ */
  .faq-btn { font-size: .88rem; padding: 16px 18px !important; }
}

/* ---- Small phone (≤576px) ---- */
@media (max-width: 576px) {
  /* Hero badge wraps */
  .hero-badge { font-size: .78rem; padding: 6px 14px; text-align: center; }

  /* Service cards — tighter */
  .sc-img-wrap { height: 100px; }
  .service-card { border-radius: var(--radius-md); }
  .service-card h5 { font-size: .82rem; padding: 0 10px; margin-bottom: 4px; }
  .sc-footer { padding: 0 10px; }
  .sc-price { font-size: .76rem; }

  /* Counters */
  .counter-num, .counter-num.counter-fixed { font-size: 1.6rem; }
  .counter-suffix { font-size: 1.3rem; }
  .counter-icon { width: 40px; height: 40px; font-size: 1rem; }

  /* Feature card */
  .feature-card { padding: 14px; gap: 10px; }
  .feature-icon { width: 38px; height: 38px; font-size: .95rem; }

  /* Popular card */
  .popular-img-wrap { height: 160px; }
  .popular-real-img { height: 160px; }
  .popular-body { padding: 14px; }
  .popular-body h5 { font-size: .9rem; }
  .popular-body p  { font-size: .8rem; margin-bottom: 10px; }

  /* How step circles */
  .step-circle { width: 72px; height: 72px; }
  .step-circle i { font-size: 1.3rem; }

  /* Auth social buttons */
  .auth-social { grid-template-columns: 1fr; }

  /* Floating buttons */
  .whatsapp-float { bottom: 80px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
  #scrollTopBtn { right: 16px; bottom: 20px; width: 42px; height: 42px; }

  /* Brands strip */
  .brand-item { font-size: .8rem; }

  /* Section title */
  .section-title { font-size: clamp(1.6rem, 6vw, 2rem); }

  /* Footer */
  .footer-top { padding: 48px 0 32px; }
  .footer-socials a { width: 34px; height: 34px; font-size: .82rem; }

  /* Contact info items */
  .contact-info-item { padding: 12px 14px; }
  .ci-icon { width: 38px; height: 38px; font-size: .88rem; }

  /* Booking modal */
  .modal-body { padding: 12px 20px 20px !important; }
  .modal-header { padding: 20px 20px 12px !important; }
  .modal-footer { padding: 12px 20px 20px !important; gap: 8px; }
  #confirmBookingBtn { padding: 12px 20px; font-size: .9rem; }

  /* Testi cards single column */
  #testimonialCarousel .col-md-6 { display: block; }
  #testimonialCarousel .col-lg-4:nth-child(2),
  #testimonialCarousel .col-lg-4:nth-child(3) { display: none; }
}

/* ----------------------------------------------------------------
   22. DARK MODE OVERRIDES
   ---------------------------------------------------------------- */
[data-theme="dark"] .search-box { background: var(--bg-card); }
[data-theme="dark"] .hero-badge { background: rgba(255,255,255,.12); }

[data-theme="dark"] .contact-section {
  background: rgba(13,110,253,.04);
}

[data-theme="dark"] .map-placeholder {
  background: var(--bg-card);
}

[data-theme="dark"] .how-bg {
  background: linear-gradient(180deg, var(--bg-body) 0%, rgba(13,110,253,.06) 100%);
}

[data-theme="dark"] .accordion-button::after {
  filter: invert(1);
}

/* Smooth transitions for theme switch */
*, *::before, *::after {
  transition: background-color .3s ease, border-color .3s ease, color .2s ease;
}

/* Override for animations that shouldn't be transitioned */
.hero-blob, .floating-icon, .hero-card,
.loader-bar span, .brands-slide {
  transition: none;
}
