/* ===== Nrisco Home Care - Modern Light Theme ===== */
/* Brand palette sourced from nrisco.com (navy #002d62 + orange #f97316) */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  /* Brand: Nrisco navy (trust) + Nrisco orange (warmth) */
  --primary:#002d62;
  --primary-dark:#001f45;
  --primary-soft:#cdddf2;
  --primary-tint:#eef4fb;

  --accent:#f97316;
  --accent-soft:#ffedd5;

  /* Surfaces */
  --bg:#fafbfc;
  --card:#ffffff;
  --surface:#f8fafc;
  --border:#eef2f6;
  --border-strong:#e5e7eb;

  /* Text */
  --text:#0f172a;
  --text-soft:#334155;
  --muted:#64748b;
  --muted-2:#94a3b8;

  /* Status */
  --success:#10b981;
  --success-soft:#d1fae5;
  --warn:#f59e0b;
  --warn-soft:#fef3c7;
  --danger:#ef4444;
  --danger-soft:#fee2e2;
  --info:#3b82f6;
  --info-soft:#dbeafe;

  --radius:14px;
  --radius-sm:10px;
  --shadow:0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.03);
  --shadow-md:0 4px 12px rgba(15,23,42,.06);
  --shadow-lg:0 12px 28px rgba(15,23,42,.08);
}

html,body{ height:100%; }
html{ scroll-padding-top:78px; }
body{
  font-family:'Inter','Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover{ color: var(--primary-dark); text-decoration: none; }

/* ===== Topbar ===== */
.topbar{
  background:#fff;
  border-bottom:1px solid var(--border);
  padding:12px 24px;
  display:flex; justify-content:space-between; align-items:center;
  position:fixed; top:0; left:0; right:0; z-index:50;
}
.topbar .brand{
  font-weight:700; font-size:17px; color:var(--text);
  display:flex; align-items:center; gap:10px;
  letter-spacing:-.01em;
}
.topbar .brand i{
  font-size:18px; color: var(--primary);
  background: var(--primary-soft);
  width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}
.topbar .right{ display:flex; align-items:center; gap:14px; }
.topbar .user{ display:flex; align-items:center; gap:10px; }
.topbar .user .avatar{
  width:36px;height:36px;border-radius:50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display:flex; align-items:center; justify-content:center;
  font-weight:600; font-size:14px;
}
.topbar .user .name b{ font-size:13px; font-weight:600; }
.topbar .notif{
  position:relative; color: var(--muted); font-size:16px;
  width:38px;height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  background: var(--surface);
  transition: background .15s;
}
.topbar .notif:hover{ background: var(--primary-tint); color: var(--primary); }
.topbar .notif .dot{
  position:absolute; top:4px; right:4px;
  background: var(--accent); color:#fff;
  border-radius:10px; padding:1px 5px;
  font-size:10px; font-weight:600;
  border:2px solid #fff;
}

/* ===== Layout ===== */
.layout{ display:flex; min-height: calc(100vh - 61px); margin-top:61px; }
.sidebar{
  width:240px;
  background:#fff;
  border-right:1px solid var(--border);
  padding:18px 14px;
  flex-shrink: 0;
  position:sticky;
  top:61px;
  align-self:flex-start;
  height: calc(100vh - 61px);
  overflow-y:auto;
}
.sidebar h6{
  color: var(--muted-2);
  font-size:11px;
  padding:14px 10px 8px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:600;
}
.sidebar a{
  display:flex; align-items:center; gap:12px;
  padding:10px 12px;
  color: var(--text-soft);
  font-size:13.5px; font-weight:500;
  border-radius: 10px;
  margin-bottom:2px;
  transition: background .15s, color .15s;
}
.sidebar a:hover{ background: var(--surface); color: var(--text); }
.sidebar a.active{
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-weight:600;
}
.sidebar a.active i{ color: var(--primary); }
.sidebar a i{
  width:18px; text-align:center;
  font-size:14px; color: var(--muted);
}
.main{ flex:1; padding:26px 28px; min-width: 0; background: var(--bg); }

/* ===== Page Header ===== */
.page-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:22px; flex-wrap:wrap; gap:12px;
}
.page-head h1{
  font-size:22px; font-weight:700; color:var(--text);
  letter-spacing:-.015em;
}
.page-head .crumbs{ color: var(--muted); font-size:12px; }

/* ===== Cards ===== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: var(--shadow);
}
.card.flat{ box-shadow:none; }
.card h3{ font-size:15px; font-weight:600; margin-bottom:14px; color:var(--text); }

.card-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:16px;
  margin-bottom:20px;
}

/* ===== Stat cards ===== */
.stat{
  background:#fff;
  padding:20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border:1px solid var(--border);
  position:relative;
  overflow:hidden;
}
.stat .label{
  color:var(--muted);
  font-size:12px;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.stat .num{
  font-size:28px;
  font-weight:700;
  margin-top:6px;
  color:var(--text);
  letter-spacing:-.02em;
}
.stat .icon{
  float:right;
  font-size:18px;
  width:42px; height:42px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: var(--primary-tint);
  color: var(--primary);
  opacity:1;
}
.stat.s-blue   .icon{ background:#eff6ff; color:#3b82f6; }
.stat.s-green  .icon{ background:#ecfdf5; color:#10b981; }
.stat.s-orange .icon{ background:#fff7ed; color:#f59e0b; }
.stat.s-purple .icon{ background:#f5f3ff; color:#8b5cf6; }
.stat.s-red    .icon{ background:#fef2f2; color:#ef4444; }

.stat.s-blue,.stat.s-green,.stat.s-orange,.stat.s-purple,.stat.s-red{ border-top: 1px solid var(--border); }

/* ===== Forms ===== */
.form-row{
  display:grid; gap:14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom:14px;
}
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group label{
  font-size:13px;
  color: var(--text-soft);
  font-weight:500;
}
.form-group input,
.form-group select,
.form-group textarea{
  padding:10px 12px;
  border:1px solid var(--border-strong);
  border-radius:10px;
  font-size:14px;
  font-family: inherit;
  background:#fff;
  color: var(--text);
  width:100%;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder{ color: var(--muted-2); }
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover{ border-color:#cbd5e1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,45,98,.12);
}
.form-group textarea{ min-height:90px; resize:vertical; }
.form-help{ font-size: 12px; color: var(--muted); }
.form-actions{ display:flex; gap:10px; margin-top:16px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 18px; border-radius:10px;
  font-size:13.5px; font-weight:600; cursor:pointer;
  border:1px solid transparent;
  background: var(--primary); color:#fff;
  text-decoration:none;
  transition: background .15s, transform .05s, box-shadow .15s;
}
.btn:hover{ background: var(--primary-dark); color:#fff; box-shadow: 0 4px 10px rgba(0,45,98,.18); }
.btn:active{ transform: translateY(1px); }
.btn-sm{ padding:6px 12px; font-size:12px; border-radius:8px; }

.btn-secondary{
  background:#fff; color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover{ background: var(--surface); color: var(--text); border-color:#cbd5e1; box-shadow:none; }

.btn-success{ background: var(--success); }
.btn-success:hover{ background:#059669; box-shadow:0 4px 10px rgba(16,185,129,.18); }

.btn-danger{ background: var(--danger); }
.btn-danger:hover{ background:#dc2626; box-shadow:0 4px 10px rgba(239,68,68,.18); }

.btn-warn{ background: var(--warn); color:#fff; }
.btn-warn:hover{ background:#d97706; box-shadow:0 4px 10px rgba(245,158,11,.18); }

.btn-info{ background: var(--info); }
.btn-info:hover{ background:#2563eb; box-shadow:0 4px 10px rgba(59,130,246,.18); }

.btn-outline{
  background:#fff; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover{
  background: var(--primary-tint); color: var(--primary-dark);
  border-color: var(--primary-dark); box-shadow:none;
}

/* ===== Tables ===== */
.table-wrap{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow-x:auto;
  box-shadow: var(--shadow);
}
.table{ width:100%; border-collapse: collapse; }
.table th, .table td{
  padding:14px 16px;
  text-align:left;
  border-bottom:1px solid var(--border);
  font-size:13px;
  vertical-align: middle;
}
.table th{
  background:#fbfcfd;
  color:var(--muted);
  font-weight:600;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.05em;
}
.table tbody tr:last-child td{ border-bottom: 0; }
.table tr:hover{ background: var(--surface); }
.table .actions{ display:flex; gap:6px; flex-wrap:wrap; }

/* ===== Badges ===== */
.badge{
  display:inline-block;
  padding:4px 10px;
  border-radius: 999px;
  font-size:11px;
  font-weight:600;
  color: var(--muted);
  background: var(--surface);
  border:1px solid var(--border-strong);
  text-transform:capitalize;
  letter-spacing:.01em;
}
.badge-success,
.badge.success,
.badge-completed,
.badge-paid,
.badge-active{
  background: var(--success-soft);
  color:#065f46;
  border-color: transparent;
}
.badge-warn,
.badge.warn,
.badge-pending,
.badge-progress{
  background: var(--warn-soft);
  color:#92400e;
  border-color: transparent;
}
.badge-danger,
.badge.danger,
.badge-cancelled,
.badge-rejected,
.badge-failed,
.badge-blocked{
  background: var(--danger-soft);
  color:#991b1b;
  border-color: transparent;
}
.badge-info,
.badge.info,
.badge-assigned,
.badge-confirmed{
  background: var(--info-soft);
  color:#1e40af;
  border-color: transparent;
}
.badge-primary{
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: transparent;
}

/* ===== Alerts ===== */
.alert{
  padding:12px 16px;
  border-radius:10px;
  margin-bottom:16px;
  font-size:13px;
  border:1px solid var(--info-soft);
  background:#f5faff;
  color:#1e40af;
  display:flex; align-items:flex-start; gap:10px;
}
.alert-success{
  border-color: var(--success-soft);
  background:#f0fdf4;
  color:#065f46;
}
.alert-danger{
  border-color: var(--danger-soft);
  background:#fef2f2;
  color:#991b1b;
}
.alert-warn{
  border-color: var(--warn-soft);
  background:#fffbeb;
  color:#92400e;
}

/* ===== Auth pages ===== */
.auth-wrap{
  min-height: 100vh;
  display:flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1000px 500px at 90% -10%, var(--primary-tint), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, var(--accent-soft), transparent 60%),
    #fff;
  padding:24px;
}
.auth-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:36px 30px;
  width:100%;
  max-width:430px;
  box-shadow: var(--shadow-lg);
}
.auth-card h2{
  text-align:center;
  margin-bottom:6px;
  color:var(--text);
  font-size:22px;
  font-weight:700;
  letter-spacing:-.015em;
}
.auth-card .sub{
  text-align:center;
  color:var(--muted);
  margin-bottom:22px;
  font-size:13px;
}
.auth-tabs{
  display:flex;
  margin-bottom:22px;
  background: var(--surface);
  border-radius:10px;
  padding:4px;
}
.auth-tabs a{
  flex:1; text-align:center;
  padding:9px 0;
  color: var(--muted);
  font-weight:600;
  border-radius:8px;
  font-size:13px;
}
.auth-tabs a.active{
  background:#fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow);
}

/* ===== Landing ===== */
.land-nav{
  position:fixed; top:0; left:0; right:0; z-index:50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom:1px solid var(--border);
  padding:14px 32px;
  display:flex; justify-content:space-between; align-items:center;
}
.land-nav .logo{
  font-weight:700; font-size:18px; color: var(--text);
  display:flex; align-items:center; gap:10px;
  letter-spacing:-.01em;
}
.land-nav .logo i{
  color: var(--primary);
  background: var(--primary-soft);
  width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
}
.land-nav .links{ display:flex; align-items:center; gap:6px; }
.land-nav .links a{
  margin-left:6px;
  color: var(--text-soft);
  font-weight:500;
  font-size:14px;
  padding:8px 14px;
  border-radius:8px;
}
.land-nav .links a:hover{ color: var(--text); background: var(--surface); }
.land-nav .links a.btn{ background: var(--primary); color:#fff; padding:8px 16px; }
.land-nav .links a.btn:hover{ background: var(--primary-dark); color:#fff; }

/* ===== Brand logo lockup (icon + wordmark) ===== */
.brand-link{ display:flex; align-items:center; gap:9px; }
.lg-icon, .lg-word{ width:auto; display:block; }
.topbar .brand .lg-icon{ height:26px; }
.topbar .brand .lg-word{ height:27px; }
.land-nav .logo .lg-icon{ height:30px; }
.land-nav .logo .lg-word{ height:35px; }
.footer-col .logo .lg-icon{ height:32px; }
.footer-col .logo .lg-word{ height:37px; }
.auth-logo-wrap{ display:flex; align-items:center; justify-content:center; gap:11px; margin:0 auto 16px; }
.auth-logo-wrap .lg-icon{ height:40px; }
.auth-logo-wrap .lg-word{ height:42px; }

.hero{
  background:
    radial-gradient(900px 500px at 80% -20%, var(--primary-tint), transparent 60%),
    radial-gradient(700px 400px at 0% 120%, var(--accent-soft), transparent 60%),
    #fff;
  color: var(--text);
  padding:152px 32px 80px;
  text-align:center;
  border-bottom:1px solid var(--border);
}
.hero h1{
  font-size:44px;
  margin-bottom:18px;
  font-weight:700;
  letter-spacing:-.025em;
  color: var(--text);
  max-width: 900px;
  margin-left:auto; margin-right:auto;
  line-height:1.15;
}
.hero p{
  font-size:17px;
  color: var(--muted);
  max-width:680px;
  margin:0 auto 32px;
  line-height: 1.6;
}
.hero .btn{
  background: var(--primary);
  color:#fff;
  padding:13px 28px;
  font-weight:600;
  font-size:14px;
}
.hero .btn:hover{ background: var(--primary-dark); color:#fff; }
.hero .btn.btn-secondary{
  background:#fff;
  color: var(--text);
  border:1px solid var(--border-strong);
}
.hero .btn.btn-secondary:hover{ background: var(--surface); color: var(--text); }

.section{
  padding: 70px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.section h2{
  text-align:center;
  margin-bottom:10px;
  color: var(--text);
  font-size:28px;
  font-weight:700;
  letter-spacing:-.02em;
}
.section .sub{
  text-align:center;
  color: var(--muted);
  margin-bottom:42px;
  font-size:15px;
}

/* Category cards */
.cat-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:18px;
}
.cat-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:24px 20px;
  text-align:center;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor:pointer;
}
.cat-card:hover{
  transform: translateY(-3px);
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-md);
}
.cat-card .icon{
  width:54px;height:54px;
  margin: 0 auto 14px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:22px;
}
.cat-card:nth-child(3n+2) .icon{ background: var(--accent-soft); color: var(--accent); }
.cat-card:nth-child(3n) .icon{ background:#eff6ff; color: var(--info); }
.cat-card h4{ font-size:15px; font-weight:600; margin-bottom:6px; color: var(--text); }
.cat-card p{ font-size:12.5px; color:var(--muted); line-height:1.5; }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:24px;
}
.step{
  text-align:center;
  padding:24px 18px;
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step .num{
  width:48px;height:48px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:700;
  margin:0 auto 14px;
}
.step h4{ font-size:15px; font-weight:600; margin-bottom:6px; }
.step p{ font-size:13px; color: var(--muted); line-height:1.5; }

.footer{
  background:#fff;
  border-top:1px solid var(--border);
  color: var(--muted);
  padding:36px 32px 28px;
  text-align:center;
  font-size:13px;
}
.footer p { margin-top: 6px; font-size:12.5px; color: var(--muted-2); }

/* ===== Service browse cards ===== */
.svc-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:18px;
}
.svc-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:20px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display:flex; flex-direction:column;
}
.svc-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}
.svc-card .top{ display:flex; gap:14px; margin-bottom:12px; align-items:flex-start; }
.svc-card .icon{
  width:48px;height:48px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  flex-shrink:0;
}
.svc-card h4{ font-size:15px; font-weight:600; margin-bottom:4px; color: var(--text); }
.svc-card p{ font-size:12.5px; color:var(--muted); min-height:36px; line-height:1.5; }
.svc-card .price{
  font-size:22px; font-weight:700;
  color: var(--text);
  margin: 14px 0 4px;
  letter-spacing:-.02em;
}
.svc-card .price small{
  font-size:12px;
  color: var(--muted);
  font-weight:500;
}
.svc-card .btn{
  width:100%;
  justify-content:center;
  margin-top:auto;
  padding-top:10px; padding-bottom:10px;
}

/* ===== Detail rows ===== */
.kv{
  display:grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 16px;
  padding:12px 0;
  border-bottom:1px solid var(--border);
  align-items:center;
  font-size:13.5px;
}
.kv:last-child{ border:0; }
.kv .k{ color: var(--muted); font-weight:500; font-size:12.5px; }

/* ===== Status timeline ===== */
.timeline{
  list-style:none;
  padding-left:18px;
  border-left: 2px solid var(--border);
  margin: 6px 0;
}
.timeline li{ position:relative; padding:10px 0 10px 18px; }
.timeline li::before{
  content:""; position:absolute;
  left:-25px; top:16px;
  width:12px; height:12px; border-radius:50%;
  background:#fff;
  border: 3px solid var(--primary);
}
.timeline li .meta{ font-size:12px; color: var(--muted); margin-top:2px; }

/* ===== Filters ===== */
.filters{
  background:#fff;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  margin-bottom:16px;
  box-shadow: var(--shadow);
}
.filters .form-row{ margin-bottom:0; align-items:end; }

/* ===== Misc utility ===== */
hr{ border:0; border-top:1px solid var(--border); margin:18px 0; }

/* Scrollbar */
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-thumb{ background:#e2e8f0; border-radius:10px; border:2px solid #fff; }
::-webkit-scrollbar-thumb:hover{ background:#cbd5e1; }
::-webkit-scrollbar-track{ background:transparent; }

/* ===== Landing extras ===== */
.eyebrow{
  display:inline-block;
  font-size:11px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase;
  color: var(--primary-dark);
  background: var(--primary-tint);
  padding:6px 12px; border-radius: 999px;
  margin-bottom:14px;
}
.eyebrow.light{ background: rgba(255,255,255,.18); color:#fff; }
.section-head{ text-align:center; max-width:720px; margin: 0 auto 44px; }
.section-head h2{ margin-bottom:10px; }
.section-head .sub{ margin-bottom:0; }
.section-alt{ background:#f8fafc; border-top:1px solid var(--border); border-bottom:1px solid var(--border); max-width:none; padding-left:0; padding-right:0; }
.section-alt .section-inner{ max-width:1180px; margin:0 auto; padding: 0 32px; }
.muted-sm{ font-size:12px; color: var(--muted); }

/* Hero split */
.hero-split{ padding:128px 32px 80px; text-align:left; overflow:hidden; }
.hero-split .hero-inner{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: 1.1fr 1fr; gap:56px; align-items:center;
}
.hero-split .hero-text h1{ text-align:left; margin-left:0; margin-right:0; font-size:46px; }
.hero-split .hero-text p{ text-align:left; margin:0 0 28px; }
.hero .pill{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--border-strong);
  color: var(--text-soft);
  padding:7px 14px; border-radius:999px;
  font-size:12px; font-weight:600;
  margin-bottom:18px;
  box-shadow: var(--shadow);
}
.hero .pill i{ color: var(--primary); }
.accent-text{
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color: transparent;
}
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:28px; }
.hero-trust{ display:flex; align-items:center; gap:14px; }
.hero-trust .avatars{ display:flex; }
.hero-trust .avatars img{
  width:36px; height:36px; border-radius:50%;
  border:2px solid #fff; object-fit:cover;
  margin-left:-8px; box-shadow: var(--shadow);
}
.hero-trust .avatars img:first-child{ margin-left:0; }
.hero-trust .rating{ color:#f59e0b; font-size:13px; }
.hero-trust .rating b{ color: var(--text); margin-left:4px; }

.hero-visual{ position:relative; }
.hero-img{
  width:100%; height:auto; max-height:520px;
  object-fit:cover;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,45,98,.18);
  border: 6px solid #fff;
}
.float-card{
  position:absolute;
  background:#fff; border:1px solid var(--border);
  border-radius: 14px; padding:12px 14px;
  box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap:10px;
  font-size:13px;
  min-width:170px;
}
.float-card b{ display:block; font-size:13px; font-weight:600; }
.float-card .fc-icon{
  width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:14px; flex-shrink:0;
}
.fc-1{ top:18px; left:-24px; }
.fc-2{ bottom:80px; right:-20px; }
.fc-3{ bottom:-18px; left:30px; }

/* Stats strip */
.stats-strip{ background:#fff; border-bottom:1px solid var(--border); padding: 28px 32px; }
.ss-inner{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: repeat(4, 1fr); gap:24px; text-align:center;
}
.ss-num{ font-size:30px; font-weight:700; color: var(--text); letter-spacing:-.02em; }
.ss-lbl{ font-size:12.5px; color: var(--muted); text-transform:uppercase; letter-spacing:.06em; font-weight:600; margin-top:4px; }

/* Category card link arrow */
.cat-link{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:600;
  color: var(--primary);
  margin-top:10px;
}
.cat-card:hover .cat-link i{ transform: translateX(3px); }
.cat-link i{ transition: transform .15s; font-size:11px; }

/* Step icon (small chip below number) */
.step-icon{
  width:36px; height:36px; border-radius:10px;
  background: var(--surface); color: var(--muted);
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 12px; font-size:14px;
}

/* Why us */
.why-grid{
  display:grid; grid-template-columns: 1fr 1.1fr; gap:56px; align-items:center;
  max-width:1180px; margin:0 auto;
}
.why-img{ position:relative; }
.why-img img{
  width:100%; height:520px; object-fit:cover;
  border-radius:24px; border:6px solid #fff;
  box-shadow: 0 20px 50px rgba(0,45,98,.15);
}
.why-badge{
  position:absolute; bottom:24px; right:-20px;
  background:#fff; border:1px solid var(--border);
  border-radius:14px; padding:14px 16px;
  box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap:12px;
}
.why-text .sub-left{ color: var(--muted); font-size:15px; line-height:1.6; margin-bottom:24px; max-width:540px; }
.why-list{ list-style:none; display:grid; gap:18px; padding:0; }
.why-list li{ display:flex; gap:14px; }
.why-list .ic{
  width:42px; height:42px; flex-shrink:0;
  border-radius:12px;
  background: var(--primary-tint); color: var(--primary);
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
}
.why-list b{ display:block; font-size:14.5px; margin-bottom:2px; color: var(--text); }
.why-list p{ font-size:13px; color: var(--muted); line-height:1.5; }

/* Popular service cards */
.pop-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:20px;
}
.pop-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  overflow:hidden; box-shadow: var(--shadow);
  display:flex; flex-direction:column;
  transition: transform .18s, box-shadow .18s;
}
.pop-card:hover{ transform:translateY(-4px); box-shadow: var(--shadow-md); }
.pop-img{ position:relative; aspect-ratio: 4 / 3; overflow:hidden; }
.pop-img img{ width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.pop-card:hover .pop-img img{ transform: scale(1.05); }
.pop-body{ padding:16px 18px 18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.pop-tag{
  position:absolute; top:12px; left:12px;
  background:#fff; color: var(--text);
  padding:5px 10px; border-radius:999px;
  font-size:12px; font-weight:600;
  box-shadow: var(--shadow);
}
.pop-tag i{ color:#f59e0b; margin-right:4px; }
.pop-body h4{ font-size:16px; font-weight:600; }
.pop-body p{ font-size:13px; color: var(--muted); line-height:1.5; flex:1; }
.pop-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:6px; }
.pop-price{ font-weight:700; font-size:15px; color: var(--text); }

/* Testimonials */
.t-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:20px;
}
.t-card{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding:24px; box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap:14px;
}
.t-stars{ color:#f59e0b; font-size:14px; }
.t-card p{ font-size:14px; line-height:1.6; color: var(--text-soft); flex:1; }
.t-user{ display:flex; align-items:center; gap:12px; padding-top:12px; border-top:1px solid var(--border); }
.t-user img{ width:42px; height:42px; border-radius:50%; object-fit:cover; }
.t-user b{ font-size:14px; }

/* CTA band */
.cta-band{
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 24px;
  padding: 48px;
  display:grid; grid-template-columns: 1.2fr 1fr; gap:40px;
  align-items:center;
  color:#fff;
  max-width:1180px; margin: 0 auto;
  overflow:hidden;
}
.cta-band h2{ color:#fff; font-size:30px; line-height:1.2; margin-bottom:12px; }
.cta-band p{ color: rgba(255,255,255,.85); font-size:15px; margin-bottom:24px; max-width:520px; }
.cta-band .btn{ background:#fff; color: var(--primary-dark); }
.cta-band .btn:hover{ background:#f0fdfa; color: var(--primary-dark); }
.cta-band .btn-secondary{ background: transparent; color:#fff; border-color: rgba(255,255,255,.4); }
.cta-band .btn-secondary:hover{ background: rgba(255,255,255,.12); color:#fff; }
.cta-img img{
  width:100%; height:280px; object-fit:cover;
  border-radius: 18px;
  border:4px solid rgba(255,255,255,.2);
}

/* FAQ */
.faq-list{ display:flex; flex-direction:column; gap:10px; }
.faq-item{
  background:#fff; border:1px solid var(--border); border-radius: var(--radius);
  padding: 4px 18px;
  box-shadow: var(--shadow);
  transition: border-color .15s;
}
.faq-item[open]{ border-color: var(--primary-soft); }
.faq-item summary{
  cursor:pointer;
  list-style:none;
  padding: 16px 0;
  font-weight:600; font-size:14.5px;
  display:flex; justify-content:space-between; align-items:center;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-size:20px; font-weight:400; color: var(--muted);
  transition: transform .2s;
}
.faq-item[open] summary::after{ content:"−"; color: var(--primary); }
.faq-item p{
  font-size:13.5px; color: var(--muted); line-height:1.6;
  padding: 0 0 18px;
}

/* Contact card */
.contact-card{ text-align:center; padding:32px 22px; }
.ic-chip{
  width:52px; height:52px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 14px; font-size:18px;
}
.contact-lbl{
  font-size:11px; color: var(--muted);
  text-transform:uppercase; letter-spacing:.08em;
  font-weight:600; margin-bottom:6px;
}
.contact-card h3{ margin:0 0 6px; font-size:15px; }
.contact-card p{ font-size:12.5px; color: var(--muted); }

/* Rich footer */
.footer-rich{ padding:0; text-align:left; }
.footer-rich .footer-inner{
  max-width:1180px; margin:0 auto;
  display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:40px;
  padding: 56px 32px 40px;
}
.footer-col h5{
  font-size:13px; font-weight:600;
  color: var(--text); text-transform:uppercase; letter-spacing:.06em;
  margin-bottom:14px;
}
.footer-col a{
  display:block; color: var(--muted);
  font-size:13.5px; padding:5px 0;
}
.footer-col a:hover{ color: var(--primary); }
.footer-col .logo{
  font-weight:700; font-size:18px; color: var(--text);
  display:flex; align-items:center; gap:10px; margin-bottom:12px;
}
.footer-col .logo i{
  color: var(--primary); background: var(--primary-soft);
  width:34px; height:34px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
}
.footer-col p{ font-size:13.5px; color: var(--muted); line-height:1.6; margin-bottom:18px; max-width:280px; }
.socials{ display:flex; gap:8px; }
.socials a{
  width:36px; height:36px; border-radius:10px;
  background: var(--surface);
  display:flex; align-items:center; justify-content:center;
  color: var(--muted); padding:0;
  transition: background .15s, color .15s;
}
.socials a:hover{ background: var(--primary-tint); color: var(--primary); }
.footer-bot{
  border-top:1px solid var(--border);
  padding: 18px 32px;
  display:flex; justify-content:space-between; align-items:center;
  font-size:12.5px; color: var(--muted-2);
  max-width:1180px; margin:0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 900px){
  .main{ padding:18px; }
  .hero{ padding:120px 22px 50px; }
  .hero h1{ font-size:32px; }
  .section{ padding:50px 22px; }
  .section h2{ font-size:24px; }

  .hero-split{ padding:108px 22px 50px; }
  .hero-split .hero-inner{ grid-template-columns: 1fr; gap:40px; text-align:center; }
  .hero-split .hero-text h1{ font-size:34px; text-align:center; }
  .hero-split .hero-text p{ text-align:center; margin-left:auto; margin-right:auto; }
  .hero-cta{ justify-content:center; }
  .hero-trust{ justify-content:center; }
  .hero-img{ max-height:380px; }
  .float-card{ display:none; }

  .ss-inner{ grid-template-columns: repeat(2, 1fr); gap:20px; }

  .why-grid{ grid-template-columns: 1fr; gap:36px; }
  .why-img img{ height:360px; }
  .why-badge{ right:14px; bottom:14px; }

  .cta-band{ grid-template-columns: 1fr; padding: 36px 28px; gap:28px; text-align:center; }
  .cta-band p{ margin-left:auto; margin-right:auto; }
  .cta-band .hero-cta{ justify-content:center; }
  .cta-img img{ height:220px; }

  .footer-rich .footer-inner{ grid-template-columns: 1fr 1fr; gap:28px; padding: 40px 22px 28px; }
  .footer-bot{ flex-direction:column; gap:6px; text-align:center; padding: 16px 22px; }
}
@media (max-width: 540px){
  .ss-inner{ grid-template-columns: 1fr 1fr; }
  .footer-rich .footer-inner{ grid-template-columns: 1fr; }
  .section-head h2, .hero-split .hero-text h1{ font-size:28px; }
}
@media (max-width: 760px){
  .sidebar{ width: 64px; padding:14px 8px; }
  .sidebar h6{ display:none; }
  .sidebar a{ justify-content:center; padding: 12px 8px; gap:0; }
  .sidebar a span{ display:none; }
  .topbar .user .name{ display:none; }
  .land-nav{ padding:12px 16px; }
  .land-nav .links a{ display:none; }
  .land-nav .links a.btn{ display:inline-flex; }
}
