/* ─── SERVI Design System ─────────────────────────────────────────────────── */
/* Uber-inspired: minimalist, typography-driven, generous whitespace           */
/* Fonts: Syne (headlines), DM Sans (body) — loaded via <link> in HTML        */

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: #0a0a0a; color: #fff; }

body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  color: #0a0a0a;
  background: #fafafa;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: 'DM Sans', sans-serif; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--sm { padding: 60px 0; }

/* ─── Typography ─────────────────────────────────────────────────────────── */
.heading-xl {
  font-family: 'Syne', sans-serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.heading-lg {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.heading-md {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.heading-sm {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
}
.text-body { font-size: 17px; color: #666; line-height: 1.7; }
.text-sm { font-size: 15px; color: #777; line-height: 1.6; }
.text-xs { font-size: 13px; color: #888; line-height: 1.6; }
.text-bold { font-weight: 600; color: #0a0a0a; }
.text-accent { color: #10b981; }
.gradient-text {
  background: linear-gradient(135deg, #10b981, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Logo ───────────────────────────────────────────────────────────────── */
.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: 0.01em;
  position: relative;
  top: -1px;
  cursor: pointer;
}
.logo-dot {
  color: #000000;
  display: inline-block;
  width: 0.34em;
  height: 0.19em;
  border-radius: 0.34em 0.34em 0 0;
  background: currentColor;
  margin-left: 2px;
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1;
  vertical-align: baseline;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  background: #0a0a0a;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-primary--lg { padding: 18px 36px; font-size: 16px; }

.btn-secondary {
  background: transparent;
  color: #0a0a0a;
  border: 1.5px solid #d0d0d0;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
}
.btn-secondary:hover { border-color: #0a0a0a; background: #f5f5f5; }

.btn-white {
  background: #fff;
  color: #0a0a0a;
  border: none;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s;
}
.btn-white:hover { background: #f0f0f0; }

.btn-partner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-partner:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.25);
}
.btn-partner--lg { padding: 18px 36px; font-size: 16px; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.25s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }

/* ─── Inputs ─────────────────────────────────────────────────────────────── */
.input-field {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
  background: #fff;
}
.input-field:focus { border-color: #0a0a0a; }
.input-field::placeholder { color: #aaa; }
textarea.input-field { resize: vertical; min-height: 100px; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.card:hover {
  border-color: #0a0a0a;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.card--clickable { cursor: pointer; position: relative; overflow: hidden; }

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #eee;
  transition: all 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ─── Category Cards ─────────────────────────────────────────────────────── */
.cat-card { composes: card card--clickable; }
.cat-card .cat-arrow { opacity: 0; transform: translateX(-8px); transition: all 0.3s; }
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ─── Steps ──────────────────────────────────────────────────────────────── */
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

/* ─── Stats ──────────────────────────────────────────────────────────────── */
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #0a0a0a;
  line-height: 1;
}
.stat-label { font-size: 13px; color: #777; margin-top: 6px; letter-spacing: 0.02em; }

/* ─── Provider Dark Section ──────────────────────────────────────────────── */
.provider-section {
  background: #0a0a0a;
  color: #fff;
  border-radius: 32px;
  padding: 64px;
  margin: 0 24px;
}

/* ─── Language Toggle ────────────────────────────────────────────────────── */
.lang-toggle {
  display: flex;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.lang-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.03em;
}
.lang-active { background: #0a0a0a; color: #fff; }
.lang-inactive { background: transparent; color: #888; }

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s;
  padding: 20px 0;
}
.navbar--scrolled {
  background: rgba(250,250,250,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 12px 0;
}
.navbar--light-on-dark:not(.navbar--scrolled) {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.navbar--light-on-dark:not(.navbar--scrolled) .logo { color: #fff; }
.navbar--light-on-dark:not(.navbar--scrolled) .logo-dot { color: #fff; }
.navbar--light-on-dark:not(.navbar--scrolled) .nav-link { color: rgba(255,255,255,0.82); }
.navbar--light-on-dark:not(.navbar--scrolled) .nav-link:hover { color: #fff; }
.navbar--light-on-dark:not(.navbar--scrolled) .nav-login-btn { color: #fff; }
.navbar--light-on-dark:not(.navbar--scrolled) .nav-signup-btn {
  background: #fff;
  color: #0a0a0a;
}
.navbar--light-on-dark:not(.navbar--scrolled) .lang-toggle {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.24);
}
.navbar--light-on-dark:not(.navbar--scrolled) .lang-active {
  background: #fff;
  color: #0a0a0a;
}
.navbar--light-on-dark:not(.navbar--scrolled) .lang-inactive { color: rgba(255,255,255,0.82); }
.navbar--light-on-dark:not(.navbar--scrolled) .hamburger { color: #fff; }
.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-link {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.nav-link:hover { color: #0a0a0a; }

.nav-login-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  font-family: 'DM Sans', sans-serif;
}
.nav-signup-btn {
  background: #0a0a0a;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
}

/* ─── User Menu Dropdown ─────────────────────────────────────────────────── */
.user-menu { position: relative; }
.user-menu-trigger {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid #e0e0e0; border-radius: 24px;
  padding: 4px 14px 4px 4px; cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.user-menu-trigger:hover { border-color: #0a0a0a; }
.user-menu-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: #0a0a0a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; font-family: 'Syne', sans-serif; flex-shrink: 0;
}
.user-menu-name { font-size: 14px; font-weight: 500; color: #0a0a0a; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid #e8e8e8; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); min-width: 220px; z-index: 1001;
  padding: 8px 0; animation: fadeIn 0.15s ease;
}
.user-menu-dropdown--open { display: block; }
.user-menu-dropdown-header {
  padding: 12px 16px; border-bottom: 1px solid #f0f0f0;
}
.user-menu-dropdown-header .um-name { font-size: 15px; font-weight: 600; color: #0a0a0a; }
.user-menu-dropdown-header .um-email { font-size: 13px; color: #888; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; }
.user-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 16px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: #0a0a0a; text-decoration: none;
  font-family: 'DM Sans', sans-serif; transition: background 0.15s;
}
.user-menu-item:hover { background: #f5f5f5; }
.user-menu-item--danger { color: #ef4444; }
.user-menu-item--danger:hover { background: #fef2f2; }
.user-menu-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }

.navbar--light-on-dark:not(.navbar--scrolled) .user-menu-trigger { border-color: rgba(255,255,255,0.3); }
.navbar--light-on-dark:not(.navbar--scrolled) .user-menu-name { color: #fff; }
.navbar--light-on-dark:not(.navbar--scrolled) .user-menu-avatar { background: #fff; color: #0a0a0a; }

/* ─── Hamburger & Mobile Menu ────────────────────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  z-index: 1001;
  padding: 24px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  animation: slideInRight 0.3s ease;
}

/* ─── Modal ──────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.modal-content {
  background: #fff;
  border-radius: 24px;
  max-width: 440px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Booking Panel ──────────────────────────────────────────────────────── */
.booking-panel {
  position: fixed;
  inset: 0;
  background: #fafafa;
  z-index: 999;
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.booking-cat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s;
  background: #fff;
}
.booking-cat:hover { border-color: #0a0a0a; background: #fafafa; }
.booking-cat--active { border-color: #0a0a0a; background: #f5f5f5; }

/* ─── Radio Options ──────────────────────────────────────────────────────── */
.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.radio-option:hover { border-color: #999; }
.radio-option--selected { border-color: #0a0a0a; background: #f8f8f8; }
.radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.radio-option--selected .radio-dot { border-color: #0a0a0a; }
.radio-option--selected .radio-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0a0a0a;
}

/* ─── Divider ────────────────────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid #eee;
  padding: 48px 0 32px;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col-title { font-weight: 700; font-size: 14px; margin-bottom: 16px; color: #0a0a0a; }
.footer-link {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s;
  display: block;
}
.footer-link:hover { color: #0a0a0a; }
.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }

.animate-fadeUp { animation: fadeUp 0.8s ease both; }
.animate-fadeIn { animation: fadeIn 0.5s ease both; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .hamburger { display: block; }
}

@media (max-width: 768px) {
  .heading-xl { font-size: 44px !important; }
  .heading-lg { font-size: 32px !important; }
  .provider-section { padding: 40px 24px; margin: 0 16px; border-radius: 24px; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .grid-2 { grid-template-columns: 1fr !important; }
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .about-layout { flex-direction: column !important; }
  .section { padding: 60px 0; }
}

/* ─── Grid helpers ───────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.flex-gap-12 { display: flex; gap: 12px; flex-wrap: wrap; }
.flex-gap-32 { display: flex; gap: 32px; align-items: center; }

#navbar { visibility: hidden; }
#footer { visibility: hidden; }
