/* JustGoom Front — Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1A428A;
  --primary-dark: #003366;
  --primary-light: #E8F0FA;
  --accent: #F7941D;
  --accent-dark: #E8850C;
  --accent-light: #FFF3E0;
  --success: #16a34a;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --header-h: 72px;
  --transition: 0.25s ease;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid var(--border); color: var(--text); background: var(--bg-white); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline-primary { border: 1.5px solid var(--primary); color: var(--primary); background: var(--bg-white); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo:hover { color: var(--primary); }
.logo-footer {
  font-size: 20px;
  color: #fff;
  display: inline-block;
  margin-bottom: 16px;
}
.logo-footer:hover { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--primary-dark); background: var(--bg); }
.main-nav a.active {
  color: var(--primary-dark);
  background: var(--primary-light);
  font-weight: 600;
}
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.hdr-profile-dropdown { position: relative; }
.hdr-profile-toggle { display: flex; align-items: center; gap: 8px; border-radius: 30px; border: 1px solid var(--border, #e0e0e0); background: #fff; cursor: pointer; padding: 4px 12px 4px 4px; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.hdr-profile-toggle:hover { border-color: var(--primary, #f39c12); box-shadow: 0 0 0 3px rgba(243,156,18,0.12); }
.hdr-avatar-img { width: 32px; height: 32px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.hdr-avatar-initials { font-size: 14px; font-weight: 700; color: #fff; background: var(--primary, #f39c12); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.hdr-toggle-name { font-size: 14px; font-weight: 600; color: #222; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr-toggle-arrow { color: #888; flex-shrink: 0; transition: transform 0.2s; }
.hdr-profile-dropdown.open .hdr-toggle-arrow { transform: rotate(180deg); }
.hdr-profile-menu { display: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px; background: #fff; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06); z-index: 1000; overflow: hidden; border: 1px solid #f0f0f0; }
.hdr-profile-dropdown.open .hdr-profile-menu { display: block; animation: hdrMenuIn 0.18s ease-out; }
@keyframes hdrMenuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.hdr-profile-info { padding: 16px 18px; border-bottom: 1px solid #f0f0f0; }
.hdr-profile-name { font-size: 15px; font-weight: 700; color: #222; margin-bottom: 2px; }
.hdr-profile-email { font-size: 13px; color: #888; }
.hdr-profile-links { padding: 6px 0; }
.hdr-profile-link { display: flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 14px; color: #333; text-decoration: none; transition: background 0.15s; cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-family: inherit; }
.hdr-profile-link:hover { background: #f8f8f8; }
.hdr-profile-link-icon { font-size: 18px; width: 24px; text-align: center; }
.hdr-profile-logout { color: #e74c3c; }
.hdr-profile-logout:hover { background: #fdf0ef; }
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 20px;
  color: var(--text);
}

/* ── Hero Banner ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #2a5cb8 100%);
  padding: 64px 0;
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content {
  text-align: left;
  max-width: none;
  margin: 0;
}
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.15);
}
.hero-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23F7941D' fill-opacity='0.06'%3E%3Crect x='0' y='0' width='8' height='8'/%3E%3Crect x='16' y='16' width='8' height='8'/%3E%3Crect x='32' y='0' width='8' height='8'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Crect x='8' y='8' width='6' height='6'/%3E%3Crect x='24' y='24' width='6' height='6'/%3E%3C/g%3E%3C/svg%3E");
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border: 2px dashed rgba(247, 148, 29, 0.25);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-search {
  display: flex;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  margin: 0;
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: var(--radius);
  color: var(--text);
}
.hero-search .btn { border-radius: var(--radius); padding: 14px 28px; background: var(--accent); }
.hero-search .btn:hover { background: var(--accent-dark); }

/* ── Section ── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-header.text-center .section-title::after { left: 50%; transform: translateX(-50%); }
.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}
.section-blurb {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-blurb .section-title::after { left: 50%; transform: translateX(-50%); }
.section-blurb .section-subtitle { font-size: 16px; line-height: 1.8; }
.view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover { color: var(--primary-dark); }

/* ── Category Cards ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.category-thumb {
  height: 120px;
  overflow: hidden;
  background: var(--border-light);
}
.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover .category-thumb img { transform: scale(1.06); }
.category-card h3 { font-size: 14px; font-weight: 600; color: var(--text); margin: 14px 12px 4px; }
.category-card span { font-size: 12px; color: var(--text-muted); display: block; padding-bottom: 16px; }
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
  background: var(--primary-light);
}
.category-card:nth-child(even) .category-icon { background: var(--accent-light); }
.category-card:hover .category-icon { transform: scale(1.08); transition: transform var(--transition); }
.category-card h3 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.category-card span { font-size: 12px; color: var(--text-muted); }

/* ── Movie Cards ── */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.movie-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.movie-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.movie-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--border-light);
}
.movie-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.movie-card:hover .movie-poster img { transform: scale(1.05); }
.movie-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fbbf24;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.movie-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.movie-info { padding: 16px; }
.movie-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.movie-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.movie-meta span { display: flex; align-items: center; gap: 4px; }

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--border-light); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
}
.blog-body h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.blog-body p { font-size: 14px; color: var(--text-muted); flex: 1; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-footer { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-light); }
.blog-author { display: flex; align-items: center; gap: 8px; }
.blog-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.home-blog-section .section-title::after { display: none; }
.home-blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  background: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ── Footer ── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: #fff; }

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-light); }

/* ── Listing Page ── */
.listing-header {
  background: var(--bg-white);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.listing-header h1 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.listing-header p { font-size: 14px; color: var(--text-muted); }
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 28px 0 64px;
  align-items: start;
}
.filter-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group label.filter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-white);
}
.chip:hover, .chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.filter-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--primary); }
.filter-reset { font-size: 13px; color: var(--accent); font-weight: 600; cursor: pointer; }

.listing-main {}
.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.listing-count { font-size: 14px; color: var(--text-muted); }
.listing-count strong { color: var(--text); }
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  background: var(--bg-white);
  outline: none;
}

/* Featured strip */
.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.featured-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.featured-card::after {
  content: 'Featured';
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}
.featured-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.featured-card p { font-size: 12px; opacity: 0.8; margin-bottom: 8px; }
.featured-card .price { font-size: 20px; font-weight: 700; }
.featured-card .meta { font-size: 12px; opacity: 0.75; margin-top: 4px; }

/* Listing cards */
.listing-cards { display: flex; flex-direction: column; gap: 16px; }
.listing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  transition: all var(--transition);
}
.listing-card:hover { box-shadow: var(--shadow); border-color: #cbd5e1; }
.listing-card-img {
  position: relative;
  min-height: 200px;
  background: var(--border-light);
}
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card-img .photo-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  backdrop-filter: blur(4px);
}
.listing-card-img .viewed-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--success);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.listing-card-body { padding: 20px 24px; display: flex; flex-direction: column; }
.listing-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.listing-card-body h2 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.listing-card-body h2 a:hover { color: var(--primary); }
.listing-location { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.listing-price { text-align: right; flex-shrink: 0; }
.listing-price .amount { font-size: 22px; font-weight: 700; color: var(--text); }
.listing-price .emi { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.listing-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.spec-item { font-size: 13px; color: var(--text-muted); }
.spec-item strong { color: var(--text); font-weight: 600; }
.listing-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.amenity-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--text-muted);
}
.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 10px;
}
.listing-posted { font-size: 12px; color: var(--text-light); }
.listing-actions { display: flex; gap: 8px; }
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 32px;
}
.pagination a, .pagination span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
}
.pagination a:hover, .pagination span.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Details Page ── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 28px 0 64px;
  align-items: start;
}
.detail-main {}
.detail-header-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.detail-header-card h1 { font-size: 24px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.detail-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: var(--success);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.detail-location-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}
.detail-location-row a { color: var(--primary); font-weight: 500; }
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-price-row .price-main { font-size: 28px; font-weight: 800; color: var(--text); }
.detail-price-row .price-unit { font-size: 14px; color: var(--text-muted); }
.detail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.highlight-item { text-align: center; min-width: 80px; }
.highlight-item .val { font-size: 16px; font-weight: 700; color: var(--text); }
.highlight-item .lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.detail-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.detail-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* Gallery */
.gallery-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.gallery-main {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--border-light);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}
.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-view-more {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

/* Tabs */
.detail-tabs {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab-nav button {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-nav button.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-nav button:hover { color: var(--primary); }
.tab-content { padding: 24px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.tab-pane h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.overview-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.overview-item span { color: var(--text-muted); }
.overview-item strong { color: var(--text); font-weight: 600; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
}
.amenity-item::before { content: '✓'; color: var(--success); font-weight: 700; }
.detail-description { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* Sidebar contact */
.detail-sidebar {}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  margin-bottom: 20px;
}
.contact-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.contact-card > p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group label .req { color: #ef4444; }
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--primary); }
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select.form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.phone-input { display: flex; gap: 8px; }
.phone-input .form-input { flex: 1; min-width: 0; }
.phone-prefix {
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg);
  flex-shrink: 0;
}
.contact-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.contact-note { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 12px; line-height: 1.5; }
.contact-note a { color: var(--primary); }

.owner-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.owner-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text-muted); }
.owner-info { display: flex; align-items: center; gap: 12px; }
.owner-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.owner-info div strong { display: block; font-size: 14px; }
.owner-info div span { font-size: 12px; color: var(--text-muted); }

.similar-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.similar-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }
.similar-list { display: flex; flex-direction: column; gap: 12px; }
.similar-item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.similar-item:hover { background: var(--bg); }
.similar-item img { width: 72px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.similar-item div h4 { font-size: 13px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.similar-item div p { font-size: 12px; color: var(--text-muted); }
.similar-item div .sim-price { font-size: 13px; font-weight: 700; color: var(--primary); margin-top: 4px; }

.related-links {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.related-links h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.related-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.related-tags a {
  padding: 6px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 12px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.related-tags a:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* Stats bar on home */
.stats-bar {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.stat-item .stat-num { font-size: 30px; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.02em; }
.stat-item:nth-child(even) .stat-num { color: var(--accent); }
.stat-item .stat-label { font-size: 14px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--bg-white);
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--text-muted);
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.mobile-nav-links a:hover { background: var(--primary-light); color: var(--primary-dark); }
.mobile-nav-links a.active {
  color: var(--primary-dark);
  background: var(--primary-light);
  font-weight: 600;
}
.mobile-nav-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(247, 148, 29, 0.2);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.85); max-width: 600px; }
.page-hero .breadcrumb { color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--accent); }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,0.4); }

/* Pixel decoration */
.pixel-deco {
  position: absolute;
  pointer-events: none;
}
.pixel-deco.orange { top: 20px; right: 40px; }
.pixel-deco.blue { bottom: 20px; left: 40px; }
.pixel-deco span {
  display: inline-block;
  background: var(--accent);
  opacity: 0.5;
  margin: 2px;
}
.pixel-deco.blue span { background: var(--primary); opacity: 0.3; }
.pixel-deco span:nth-child(1) { width: 10px; height: 10px; }
.pixel-deco span:nth-child(2) { width: 6px; height: 6px; }
.pixel-deco span:nth-child(3) { width: 14px; height: 14px; }
.pixel-deco span:nth-child(4) { width: 8px; height: 8px; }

/* ── About Page ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-intro-text h2 { font-size: 32px; font-weight: 800; color: var(--primary-dark); margin-bottom: 16px; line-height: 1.2; }
.about-intro-text h2 span { color: var(--accent); }
.about-intro-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-logo-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-logo-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.about-logo-box img { max-height: 100px; margin: 0 auto 20px; object-fit: contain; }
.about-logo-box h3 { font-size: 18px; font-weight: 700; color: var(--primary-dark); }
.about-logo-display {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 12px;
  display: block;
}
.about-logo-box p { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: 64px;
}
.value-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}
.value-card h3 { font-size: 17px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.about-team {
  background: var(--bg-white);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.team-card strong { display: block; font-size: 15px; color: var(--primary-dark); }
.team-card span { font-size: 13px; color: var(--text-muted); }
.team-card a { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 4px; display: inline-block; }

/* About page enhancements */
.about-page .site-header { height: auto; min-height: var(--header-h); }
.about-page .header-inner { min-height: var(--header-h); }
.about-stats { border-top: none; }
.about-intro-section { padding-top: 56px; }
.about-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.about-intro-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.about-logo-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
  list-style: none;
  padding: 0;
}
.about-logo-tags li {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 50px;
}
.about-section-head {
  justify-content: center;
  text-align: center;
  margin-bottom: 36px;
}
.about-section-head .section-title::after { left: 50%; transform: translateX(-50%); }
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.about-mission-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow var(--transition);
}
.about-mission-card:hover { box-shadow: var(--shadow); }
.about-mission-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.about-mission-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.about-mission-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.about-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-offer-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: all var(--transition);
}
.about-offer-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.about-offer-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.about-offer-card:nth-child(even) .about-offer-icon {
  background: var(--accent-light);
  color: var(--accent-dark);
}
.about-offer-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.about-offer-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.about-journey {
  padding: 56px 0;
  border-top: none;
}
.about-journey .profile-flow-header { margin-bottom: 32px; }
.about-journey .profile-flow-header .section-title::after { display: none; }
.values-grid { padding-bottom: 0; }
.team-card-lg {
  flex-direction: column;
  text-align: center;
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card-lg:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.team-card-lg .team-avatar {
  width: 72px;
  height: 72px;
  font-size: 24px;
  margin-bottom: 4px;
}
.team-card-body { width: 100%; }
.team-role {
  display: block;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin: 4px 0 10px;
}
.team-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.about-contact-section { padding-bottom: 48px; }
.about-contact-grid { padding: 0 0 28px; }
.about-contact-cta { text-align: center; }

@media (max-width: 1024px) {
  .about-offer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .about-offer-grid { grid-template-columns: 1fr; }
  .about-intro-actions { flex-direction: column; }
  .about-intro-actions .btn { width: 100%; justify-content: center; }
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 64px 0;
}
.contact-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.contact-info-card .ci-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 14px;
}
.contact-info-card h4 { font-size: 15px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.contact-info-card a { color: var(--primary); font-weight: 500; }
.contact-info-card a:hover { color: var(--accent); }

/* ── Contact Page ── */
.contact-page-section { padding-top: 48px; }
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.contact-form-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 10px;
}
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-stack {
  grid-template-columns: 1fr;
  gap: 16px;
}
.contact-hours-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.contact-hours-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.contact-hours-list { display: flex; flex-direction: column; gap: 10px; }
.contact-hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.contact-hours-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-hours-list strong { color: var(--text); font-weight: 600; }
.contact-map-section { padding: 0 0 64px; }
.contact-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-map-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.contact-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 51, 102, 0.55);
  color: #fff;
  text-align: center;
}
.contact-map-overlay strong { font-size: 18px; }
.contact-map-overlay span { font-size: 14px; opacity: 0.9; }

/* ── Health Calculator ── */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 48px 0 64px;
  align-items: start;
}
.calc-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.calc-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(26, 66, 138, 0.12);
  border-radius: 50%;
}
.calc-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 160px;
  height: 160px;
  border: 2px dashed rgba(247, 148, 29, 0.15);
  border-radius: 50%;
}
.calc-card > * { position: relative; }
.calc-card h2 { font-size: 22px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.calc-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

.calc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.calc-tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.calc-tab.active { color: var(--primary-dark); border-bottom-color: var(--accent); font-weight: 600; }
.calc-tab:hover { color: var(--primary); }

.unit-toggle {
  display: flex;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
  width: fit-content;
}
.unit-toggle button {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition);
}
.unit-toggle button.active { background: var(--primary); color: #fff; }

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.calc-form-grid .full { grid-column: 1 / -1; }

.gender-select {
  display: flex;
  gap: 12px;
}
.gender-option {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.gender-option.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary-dark); }
.gender-option:hover { border-color: var(--primary); }

.calc-result-card {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 32px;
  color: #fff;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.calc-result-card h3 { font-size: 16px; font-weight: 500; opacity: 0.85; margin-bottom: 8px; }
.bmi-value {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  margin: 16px 0;
  letter-spacing: -0.03em;
}
.bmi-category {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}
.bmi-category.underweight { background: #3b82f6; }
.bmi-category.normal { background: #16a34a; }
.bmi-category.overweight { background: var(--accent); }
.bmi-category.obese { background: #ef4444; }

.bmi-scale {
  margin: 24px 0;
}
.bmi-scale-bar {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, #3b82f6 0%, #16a34a 30%, var(--accent) 60%, #ef4444 100%);
  position: relative;
  margin-bottom: 8px;
}
.bmi-scale-marker {
  position: absolute;
  top: -6px;
  width: 4px;
  height: 22px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: left 0.5s ease;
}
.bmi-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  opacity: 0.7;
}
.bmi-tips {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  margin-top: 20px;
}
.bmi-tips h4 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.bmi-tips p { font-size: 12px; opacity: 0.85; line-height: 1.6; }

.calc-info-section {
  padding: 48px 0 64px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}
.calc-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.calc-info-item {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.calc-info-item .range { font-size: 13px; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.calc-info-item .label { font-size: 12px; color: var(--text-muted); }
.calc-info-item:nth-child(1) { border-top: 3px solid #3b82f6; }
.calc-info-item:nth-child(2) { border-top: 3px solid #16a34a; }
.calc-info-item:nth-child(3) { border-top: 3px solid var(--accent); }
.calc-info-item:nth-child(4) { border-top: 3px solid #ef4444; }

/* ── Calculator Hub ── */
.calculators-page .site-header { height: auto; min-height: var(--header-h); }
.calculators-page .header-inner { min-height: var(--header-h); }
.calc-hub-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  padding: 40px 20px 48px;
  align-items: start;
}
.calc-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calc-sidebar-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.calc-sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 4px;
}
.calc-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  transition: all var(--transition);
}
.calc-sidebar-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.calc-sidebar-item.active {
  background: var(--primary);
  color: #fff;
}
.calc-sidebar-icon { font-size: 20px; line-height: 1; flex-shrink: 0; }
.calc-sidebar-label { line-height: 1.3; }
.calc-hub-main { min-width: 0; }
.calc-layout-hub {
  padding: 0;
  grid-template-columns: 1fr 340px;
  gap: 24px;
}
.calc-panels { min-width: 0; }
.calc-panel { display: none; }
.calc-panel.active { display: block; }
.calc-submit-btn { margin-top: 24px; }
.calc-input-row {
  display: flex;
  gap: 10px;
}
.calc-input-row .form-input { flex: 1; }
.calc-input-row .filter-select { width: 110px; flex-shrink: 0; }
.calc-result-hub { position: sticky; top: calc(var(--header-h) + 16px); }
.calc-result-placeholder {
  padding: 24px 12px;
  opacity: 0.85;
}
.calc-result-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}
.calc-result-placeholder p { font-size: 14px; line-height: 1.6; opacity: 0.9; }
.calc-result-value {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 8px 0 12px;
}
.calc-result-currency { font-size: 36px; }
.calc-result-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 8px;
}
.calc-result-badge.normal { background: rgba(22, 163, 74, 0.35); }
.calc-result-badge.underweight { background: rgba(59, 130, 246, 0.35); }
.calc-result-badge.overweight { background: rgba(247, 148, 29, 0.35); }
.calc-result-badge.obese { background: rgba(239, 68, 68, 0.35); }
.calc-result-list {
  list-style: none;
  margin-top: 20px;
  text-align: left;
}
.calc-result-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
}
.calc-result-list li:last-child { border-bottom: none; }
.calc-result-list span { opacity: 0.85; }
.calc-result-list strong { font-weight: 700; }
.calc-result-tip {
  margin-top: 20px;
  padding: 14px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}
.calc-result-note {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 16px;
}
.calc-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.calc-tool-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.calc-tool-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.calc-tool-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.calc-tool-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.calc-tool-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .calc-hub-layout { grid-template-columns: 1fr; }
  .calc-sidebar { position: static; }
  .calc-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .calc-sidebar-item {
    width: auto;
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
  }
  .calc-layout-hub { grid-template-columns: 1fr; }
  .calc-result-hub { position: static; }
  .calc-tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .calc-sidebar-item { flex: 1 1 100%; }
  .calc-tools-grid { grid-template-columns: 1fr; }
  .calc-result-value { font-size: 36px; }
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  opacity: 0.15;
  border-radius: 50%;
}
.cta-banner h2 { font-size: 24px; font-weight: 700; margin-bottom: 6px; position: relative; }
.cta-banner p { font-size: 15px; opacity: 0.85; position: relative; }
.cta-banner .btn { position: relative; flex-shrink: 0; }

.blog-mini span { font-size: 12px; color: var(--text-muted); }

/* ── B2B Homepage ── */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
  flex-wrap: wrap;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-left a { color: rgba(255,255,255,0.85); }
.top-bar-left a:hover { color: var(--accent); }
.top-bar-cta {
  color: var(--accent) !important;
  font-weight: 600;
}
.top-bar-cta:hover { color: #fff !important; }
.logo-wrap {
  display: inline-flex;
  align-items: center;
  font-size: 0;
  line-height: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.logo-img-footer {
  height: 40px;
  max-width: 160px;
}
.footer-brand .logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 16px;
}
.footer-brand .logo { margin-bottom: 16px; }
.home-b2b .site-header { height: auto; min-height: var(--header-h); }
.home-b2b .header-inner { min-height: var(--header-h); }

/* Major Cities — home above footer */
.major-cities-section {
  padding: 48px 0 56px;
  background: #fff;
}
.major-cities-header {
  margin-bottom: 28px;
}
.major-cities-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 6px;
  /* position: relative;
  display: inline-block; */
}
.major-cities-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 72%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.major-cities-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 14px;
}
.major-countries-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.major-country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform var(--transition);
}
.major-country-card:hover {
  transform: translateY(-4px);
}
.major-country-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(26, 66, 138, 0.12);
  background: var(--bg);
}
.major-country-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.major-country-card:hover .major-country-thumb img {
  transform: scale(1.05);
}
.major-country-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
@media (max-width: 1200px) {
  .major-countries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .major-countries-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .major-country-card {
    flex: 0 0 140px;
    scroll-snap-align: start;
  }
}

.b2b-hero {
  padding: 56px 0 64px;
}
.b2b-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.b2b-hero-content { text-align: left; }
.b2b-search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}
.b2b-search-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}
.b2b-search-tabs button {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  transition: all var(--transition);
}
.b2b-search-tabs button.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.b2b-search-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 20px;
  flex-wrap: wrap;
}
.b2b-search-field {
  flex: 1;
  min-width: 180px;
}
.b2b-search-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.b2b-search-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
}
.b2b-search-field input:focus { border-color: var(--primary); }
.b2b-search-location { max-width: 200px; flex: 0 1 200px; }
.b2b-search-btn {
  padding: 12px 32px !important;
  min-height: 46px;
  align-self: flex-end;
}
.b2b-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.b2b-trust-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.b2b-trust-badges span {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.b2b-hero-visual {
  position: relative;
  min-height: 320px;
}
.b2b-hero-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.b2b-hero-card strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}
.b2b-hero-card span:last-child {
  font-size: 13px;
  opacity: 0.85;
}
.b2b-card-icon { font-size: 28px; margin-bottom: 4px; }
.b2b-hero-card-1 { top: 20px; left: 10%; }
.b2b-hero-card-2 { top: 120px; right: 0; }
.b2b-hero-card-3 { bottom: 20px; left: 25%; }

.home-categories-strip {
  padding: 24px 0 28px;
  border-bottom: none;
}
.home-categories-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.home-categories-header .categories-menu-title { margin-bottom: 0; }

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.how-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.how-step-num {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-step-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.how-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.b2b-dual-cta { padding-top: 48px; padding-bottom: 48px; }

/* ── Profile Steps Flow ── */
.profile-flow-section {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-white) 100%);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.profile-flow-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.profile-flow-header .section-title::after { display: none; }
.profile-flow-tabs {
  display: flex;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.profile-flow-tabs button {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  transition: all var(--transition);
}
.profile-flow-tabs button.active {
  background: var(--primary);
  color: #fff;
}
.profile-flow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 36px;
}
.profile-flow-step {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.profile-flow-step:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.profile-flow-step-highlight {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(247, 148, 29, 0.12);
}
.profile-flow-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.profile-flow-step-highlight .profile-flow-step-badge {
  color: var(--accent-dark);
  background: var(--accent-light);
}
.profile-flow-step-icon {
  font-size: 36px;
  margin-bottom: 14px;
  line-height: 1;
}
.profile-flow-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.profile-flow-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.profile-flow-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.profile-flow-link:hover { color: var(--accent); }
.profile-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  position: relative;
}
.profile-flow-line {
  display: none;
}
.profile-flow-arrow {
  font-size: 22px;
  color: var(--accent);
  font-weight: 700;
  opacity: 0.7;
}
.profile-flow-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.profile-flow-cta-note {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .profile-flow-steps {
    flex-direction: column;
    gap: 12px;
  }
  .profile-flow-connector {
    width: auto;
    height: 32px;
    transform: rotate(90deg);
  }
  .profile-flow-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-flow-tabs { width: 100%; }
  .profile-flow-tabs button { flex: 1; }
}

@media (max-width: 768px) {
  .profile-flow-section { padding: 48px 0; }
  .profile-flow-step { padding: 22px 18px; }
}

.b2b-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.b2b-cta-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.b2b-cta-buyer {
  background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
  border-color: rgba(247, 148, 29, 0.25);
}
.b2b-cta-seller {
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border-color: rgba(26, 66, 138, 0.15);
}
.b2b-cta-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.b2b-cta-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.b2b-cta-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.section-header.text-center { text-align: center; }
.section-header.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Globy-style Category Sectors ── */
.globy-sectors-section {
  background: var(--bg-white);
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--border);
}
.home-sectors {
  padding: 40px 0 48px;
}
.categories-page-sectors {
  padding: 32px 0 64px;
}
.globy-sectors-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.globy-sectors-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.globy-sectors-title.section-title::after { display: none; }
.globy-sectors-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
}
.globy-sectors-search {
  position: relative;
  max-width: 480px;
  margin-bottom: 12px;
}
.globy-sectors-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  pointer-events: none;
}
.globy-sectors-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.globy-sectors-search input:focus { border-color: var(--primary); }
.globy-sectors-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.globy-sectors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}
.globy-sector-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.globy-sector-card:hover {
  border-color: rgba(26, 66, 138, 0.25);
  box-shadow: var(--shadow-sm);
}
.globy-sector-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.globy-sector-title a {
  color: var(--primary-dark);
  transition: color var(--transition);
}
.globy-sector-title a:hover { color: var(--accent); }
.globy-sector-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.globy-sector-icon-img,
.categories-popular-icon img,
.categories-sidebar-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}
.company-logo-image {
  background: #fff !important;
  padding: 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.company-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  display: block;
}
.globy-sector-subs {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
}
.globy-sub-link {
  color: var(--text-muted);
  transition: color var(--transition);
}
.globy-sub-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
.globy-sub-sep { color: var(--text-light); }
.globy-sectors-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.globy-sectors-footer span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.globy-view-all {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}
.globy-view-all:hover { color: var(--accent); }
.globy-sectors-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 900px) {
  .globy-sectors-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .globy-sectors-section { padding: 32px 0 40px; }
  .globy-sector-card { padding: 16px 18px; }
  .globy-sectors-search { max-width: none; }
}

/* ── Categories Page ── */
.categories-page .site-header { height: auto; min-height: var(--header-h); }
.categories-page .header-inner { min-height: var(--header-h); }
.categories-stats { border-top: none; }

.categories-popular-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.categories-popular-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.categories-popular-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
}
.categories-popular-head span {
  font-size: 13px;
  color: var(--text-muted);
}
.categories-popular-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.categories-popular-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 88px;
  padding: 14px 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}
.categories-popular-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.categories-popular-icon {
  font-size: 28px;
  line-height: 1;
}
.categories-popular-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  max-width: 80px;
}

.categories-main-section {
  padding: 40px 0 64px;
  background: var(--bg-white);
}
.categories-main-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.categories-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.categories-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.categories-sidebar-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}
.categories-sidebar-reset {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.categories-sidebar-reset:hover { background: var(--primary-light); }
.categories-sidebar-search {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.categories-sidebar-search input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}
.categories-sidebar-search input:focus { border-color: var(--primary); }
.categories-sidebar-list {
  max-height: 520px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.categories-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  background: transparent;
  transition: all var(--transition);
}
.categories-sidebar-item:hover { background: var(--primary-light); color: var(--primary-dark); }
.categories-sidebar-item.active {
  background: var(--primary);
  color: #fff;
}
.categories-sidebar-item.active .categories-sidebar-count {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.categories-sidebar-icon { font-size: 16px; flex-shrink: 0; line-height: 1; }
.categories-sidebar-name { flex: 1; line-height: 1.3; }
.categories-sidebar-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 2px 7px;
  border-radius: 50px;
  flex-shrink: 0;
}

.categories-main-content { min-width: 0; }
.categories-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.categories-search-wide {
  flex: 1;
  min-width: 220px;
  max-width: none;
  margin-bottom: 0;
}
.categories-sectors-grid { gap: 20px; }
.globy-sector-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.globy-sector-card-top .globy-sector-title { margin-bottom: 0; flex: 1; }
.globy-sector-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.globy-sector-view {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--transition);
}
.globy-sector-view:hover { color: var(--primary-dark); }
.categories-no-results {
  text-align: center;
  padding: 48px 20px;
  font-size: 15px;
}

@media (max-width: 1024px) {
  .categories-main-layout { grid-template-columns: 1fr; }
  .categories-sidebar {
    position: static;
    max-height: none;
  }
  .categories-sidebar-list {
    max-height: 240px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .categories-sidebar-item {
    width: auto;
    flex: 0 1 auto;
  }
  .categories-sidebar-name { display: none; }
  .categories-sidebar-item[data-sector="all"] .categories-sidebar-name { display: inline; }
}

@media (max-width: 640px) {
  .categories-toolbar { flex-direction: column; align-items: stretch; }
  .categories-toolbar .btn { width: 100%; justify-content: center; }
  .categories-popular-item { min-width: 76px; padding: 12px 8px; }
}

/* ── All Profiles Page ── */
.all-profiles-page .site-header { height: auto; min-height: var(--header-h); }
.all-profiles-page .header-inner { min-height: var(--header-h); }
.profiles-stats { border-top: none; }
.profiles-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin-top: 4px;
}

.profiles-main-section {
  padding: 40px 0 64px !important;
  background: var(--bg) !important;
}
.profiles-main-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}
.profiles-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profiles-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.profiles-sidebar-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
}
.profiles-sidebar-reset {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.profiles-sidebar-reset:hover { background: var(--primary-light); }
.profiles-sidebar-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profiles-sidebar-body .filter-group { margin-bottom: 0; }
.profiles-sidebar-body .filter-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.profiles-sidebar-body .filter-chips { gap: 8px; }
.profiles-sidebar-body .filter-select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--bg-white);
}
.profiles-sidebar-body .filter-select:focus { border-color: var(--primary); }
.profiles-time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.profiles-time-chips button {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  transition: all var(--transition);
}
.profiles-time-chips button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.profiles-time-chips button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.profiles-sidebar-actions { margin-top: 4px; }
.profiles-sidebar-links {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.profiles-sidebar-links h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.profiles-sidebar-links a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 0;
  transition: color var(--transition);
}
.profiles-sidebar-links a:hover { color: var(--accent); }

.profiles-main-content { min-width: 0; }
.profiles-main-content .company-toolbar {
  margin-bottom: 16px;
}
.profiles-search-wide {
  flex: 1;
  min-width: 200px;
}
.profiles-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.profiles-results-bar .company-count { margin-bottom: 0; flex: 1; min-width: 180px; }
.profiles-page-info {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.profiles-add-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: color var(--transition);
}
.profiles-add-link:hover { color: var(--primary-dark); }
.profiles-grid { grid-template-columns: repeat(3, 1fr); }
.profiles-grid-3 { grid-template-columns: repeat(3, 1fr); }
.profiles-grid-3 .company-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.profiles-grid-3 .company-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 14px 16px;
}
.profiles-grid-3 .company-name {
  font-size: 14px;
  line-height: 1.35;
}
.profiles-grid-3 .company-category,
.profiles-grid-3 .company-location {
  font-size: 12px;
}
.profiles-grid-3 .company-stats {
  margin-top: auto;
  padding-top: 8px;
}
.profiles-grid-3 .btn-view-profile {
  margin-top: 12px;
  width: 100%;
}
.profiles-time-select { width: 100%; }
.profiles-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 15px;
  background: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.profiles-mobile-filters { display: none; }
.profiles-filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 2050;
}
.profiles-filter-overlay:not([hidden]) { display: block; }

.company-location {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.company-verified-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.company-added-time {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.company-grid.list-view .company-location { text-align: left; margin-bottom: 4px; }
.company-grid.list-view .company-verified-badge { margin-bottom: 0; }
.company-grid.list-view .company-added-time {
  text-align: left;
  margin-bottom: 0;
  grid-column: span 1;
}

.profiles-pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.profiles-pagination .pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-white);
  transition: all var(--transition);
  cursor: pointer;
}
.profiles-pagination .pagination-btn:hover:not(:disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.profiles-pagination .pagination-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.profiles-pagination .pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.profiles-pagination .pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  color: var(--text-light);
  font-size: 14px;
}

@media (max-width: 1200px) {
  .profiles-grid,
  .profiles-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .profiles-main-layout { grid-template-columns: 1fr; }
  .profiles-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 90vw);
    height: 100vh;
    z-index: 2100;
    transform: translateX(-100%);
    transition: transform var(--transition);
    border-radius: 0;
    overflow-y: auto;
  }
  .profiles-sidebar.mobile-open { transform: translateX(0); }
  .profiles-mobile-filters { display: inline-flex; }
  .profiles-sidebar-head { position: sticky; top: 0; z-index: 2; }
}

@media (max-width: 640px) {
  .profiles-grid,
  .profiles-grid-3 { grid-template-columns: 1fr; }
  .profiles-toolbar { flex-direction: column; align-items: stretch; }
  .company-toolbar-actions { justify-content: space-between; }
  .profiles-results-bar { flex-direction: column; align-items: flex-start; }
  .profiles-page-info { order: 3; }
}

@media (max-width: 1024px) {
  .b2b-hero-inner { grid-template-columns: 1fr; }
  .b2b-hero-visual { display: none; }
  .how-it-works-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .b2b-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }
  .top-bar-inner { justify-content: center; }
  .b2b-search-form { flex-direction: column; align-items: stretch; }
  .b2b-search-location { max-width: none; flex: 1; }
  .b2b-search-btn { width: 100%; }
  .b2b-hero-actions { justify-content: center; }
  .b2b-trust-badges { justify-content: center; }
  .b2b-hero-content { text-align: center; }
  .logo-img { height: 40px; max-width: 150px; }
}

/* ── Company Profile Listing ── */
.company-profiles-section {
  background: #eef2f6;
  padding: 48px 0 64px;
}
.company-profiles-section .section-title::after { display: none; }
.company-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.company-search-wrap {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.company-search-wrap input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.company-search-wrap input:focus { border-color: var(--primary); }
.company-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 15px;
  pointer-events: none;
}
.company-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.view-toggle {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.view-toggle button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  background: var(--bg-white);
  transition: all var(--transition);
}
.view-toggle button.active {
  background: var(--primary);
  color: #fff;
}
.time-filter-wrap { position: relative; }
.time-filter-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 18px;
  letter-spacing: 1px;
}
.time-filter-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 50;
  display: none;
}
.time-filter-menu.open { display: block; }
.time-filter-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  border-radius: 6px;
  transition: background var(--transition);
}
.time-filter-menu button:hover,
.time-filter-menu button.active { background: var(--primary-light); color: var(--primary-dark); }
.btn-filters {
  background: #14b8a6;
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-filters:hover { background: #0d9488; }
.company-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.company-profiles-page .section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.company-filters-panel {
  margin-bottom: 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.company-filters-panel[hidden] { display: none; }
.company-filters-panel-inner {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
}
.company-filters-panel .filter-group { margin-bottom: 0; }
.company-filters-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  grid-column: 1 / -1;
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}
.company-filters-actions .filter-reset {
  font-size: 13px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
}
.company-pagination { margin-top: 32px; }
.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.company-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.company-grid.list-view {
  grid-template-columns: 1fr;
}
.company-grid.list-view .company-card {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.company-grid.list-view .company-card-banner { min-height: 140px; }
.company-grid.list-view .company-card-body {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 20px 70px;
}
.company-grid.list-view .company-logo {
  position: static;
  margin: 0;
  width: 72px;
  height: 72px;
  font-size: 22px;
}
.company-grid.list-view .company-name,
.company-grid.list-view .company-category { text-align: left; }
.company-grid.list-view .company-stats { margin: 0; }
.company-grid.list-view .btn-view-profile { width: auto; min-width: 140px; margin: 0; }
.company-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.company-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.company-card-banner {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: var(--border-light);
}
.company-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-star {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  color: var(--text-light);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: color var(--transition);
}
.company-star.is-starred { color: #f59e0b; }
.company-menu-wrap { position: absolute; top: 10px; right: 10px; }
.company-menu-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.company-menu-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 40;
  display: none;
}
.company-menu-dropdown.open { display: block; }
.company-menu-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  border-radius: 6px;
  transition: background var(--transition);
}
.company-menu-dropdown button:hover { background: var(--bg); }
.company-card-body {
  position: relative;
  padding: 0 16px 18px;
  text-align: center;
}
.company-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--bg-white);
  margin: -48px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.company-profiles-section .company-grid:not(.list-view) .company-card-banner {
  height: 155px;
}
.company-profiles-section .company-grid:not(.list-view) .company-logo {
  width: 108px;
  height: 108px;
  margin: -54px auto 14px;
  font-size: 32px;
  border-width: 5px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}
.company-profiles-section .company-grid.list-view .company-card-banner {
  height: auto;
  min-height: 140px;
}
.company-profiles-section .company-grid.list-view .company-logo {
  position: static;
  margin: 0;
  width: 72px;
  height: 72px;
  font-size: 22px;
  border-width: 3px;
  box-shadow: var(--shadow-sm);
}
.company-profiles-section .company-grid.list-view .company-card-body {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px 20px 70px;
  text-align: left;
}
.company-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.company-category {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.company-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  margin-bottom: 14px;
}
.company-stat { flex: 1; text-align: center; }
.company-stat-num {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.company-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: capitalize;
}
.company-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}
.btn-view-profile {
  display: block;
  width: 100%;
  padding: 10px;
  background: #f1f5f9;
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
}
.btn-view-profile:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ── Auth Pages ── */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 48px 0;
  background: var(--bg);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.auth-visual {
  position: relative;
  min-height: 520px;
}
.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.auth-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,51,102,0.85), rgba(26,66,138,0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #fff;
}
.auth-visual-overlay h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.auth-visual-overlay p { font-size: 15px; opacity: 0.9; line-height: 1.6; }
.auth-form-wrap { padding: 48px 40px; }
.auth-form-wrap h1 { font-size: 26px; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.auth-form-wrap > p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.auth-form .form-group { margin-bottom: 0; }
.auth-form .form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.auth-form .form-hint {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.4;
}
.auth-form .form-hint span { color: var(--primary); font-weight: 500; }
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}
.auth-options label { display: flex; align-items: center; gap: 6px; color: var(--text-muted); cursor: pointer; }
.auth-options a { color: var(--primary); font-weight: 500; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-switch a { color: var(--accent); font-weight: 600; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: var(--text-light);
  font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Blogs Page ── */
.blogs-page-layout { padding: 40px 0 64px; }
.blogs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.blogs-filter .chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.blog-card-link { display: flex; flex-direction: column; color: inherit; }
.blog-card-link:hover h3 { color: var(--primary); }
.blogs-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.blog-featured-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-white);
}
.blog-featured-main .blog-thumb { aspect-ratio: 16/10; }
.blog-featured-main .blog-body { padding: 24px; }
.blog-featured-main h2 { font-size: 22px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-featured-side { display: flex; flex-direction: column; gap: 16px; }
.blog-mini {
  display: flex;
  gap: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.blog-mini:hover { box-shadow: var(--shadow); }
.blog-mini img { width: 110px; height: 90px; object-fit: cover; flex-shrink: 0; }
.blog-mini div { padding: 12px 12px 12px 0; }
.blog-mini h4 { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.blog-mini span { font-size: 12px; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .featured-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-page-layout { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-info-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content { text-align: center; }
  .hero-search { max-width: 600px; margin: 0 auto; }
  .auth-layout { grid-template-columns: 1fr; max-width: 480px; }
  .auth-layout.auth-layout-register { max-width: 680px; }
  .auth-visual { min-height: 200px; }
  .blogs-featured { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: repeat(2, 1fr); }
  .company-grid.list-view .company-card { grid-template-columns: 1fr; }
  .company-grid.list-view .company-card-body {
    grid-template-columns: 1fr;
    padding: 0 16px 18px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .main-nav, .header-actions .btn-outline { display: none; }
  .hdr-toggle-name { display: none; }
  .hdr-profile-toggle { padding: 4px; border-radius: 50%; }
  .mobile-toggle { display: flex; }
  .mobile-nav { display: block; }
  .listing-card { grid-template-columns: 1fr; }
  .listing-card-img { min-height: 180px; }
  .hero { padding: 56px 0 72px; }
  .hero-search { flex-direction: column; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .listing-card-top { flex-direction: column; }
  .listing-price { text-align: left; }
  .team-grid { grid-template-columns: 1fr; }
  .calc-form-grid { grid-template-columns: 1fr; }
  .calc-info-grid { grid-template-columns: 1fr 1fr; }
  .logo { font-size: 20px; }
  .company-grid { grid-template-columns: 1fr; }
  .company-toolbar { flex-direction: column; align-items: stretch; }
  .company-toolbar-actions { justify-content: space-between; }
  .company-filters-panel-inner { grid-template-columns: 1fr; }
  .profile-hero-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .profile-hero-stats { text-align: left; }
  .profile-hero-badges { justify-content: flex-start; }
  .profile-hero-nav { flex-direction: column; align-items: stretch; }
  .profile-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .profile-body { grid-template-columns: 1fr; }
  .profile-quick-info { grid-template-columns: 1fr; }
  .profile-team-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Profile Dashboard (Category Details) ── */
.profile-page { background: #f3f6f9; }
.profile-hero {
  position: relative;
  color: #fff;
  margin-bottom: 0;
  min-height: 220px;
  overflow: hidden;
}
.profile-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.profile-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.92), rgba(26, 66, 138, 0.88));
}
.profile-hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 20px 0;
}
.profile-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}
.profile-hero-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}
.profile-hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.profile-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display: block;
}
.profile-section-count {
  font-size: 0.85em;
  font-weight: 600;
  color: var(--text-muted);
}
.profile-items-scroll.is-scrollable {
  max-height: 720px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #c5d0e0 transparent;
}
.profile-items-scroll.is-scrollable::-webkit-scrollbar { width: 6px; }
.profile-items-scroll.is-scrollable::-webkit-scrollbar-thumb {
  background: #c5d0e0;
  border-radius: 50px;
}
.profile-items-scroll--grid.is-scrollable {
  max-height: 780px;
}
.profile-items-scroll--cards.is-scrollable {
  max-height: 860px;
}
.profile-inline-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}
.profile-project-item .profile-inline-link { margin-top: 4px; }

.profile-empty-note {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.profile-share-qr-card .profile-qr-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  min-height: 140px;
}
.profile-share-qr-card #profileQrMount canvas {
  width: 140px !important;
  height: 140px !important;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}
.profile-share-qr-card .profile-qr-img {
  border-radius: 8px;
  border: 1px solid var(--border);
}
.profile-share-qr-card .profile-qr-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.profile-hero-brand h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
}
.profile-category {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  opacity: 0.9;
}
.profile-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.profile-meta-icon {
  flex-shrink: 0;
  opacity: 0.9;
}
.profile-meta a:hover { text-decoration: underline; }
.profile-hero-stats {
  display: flex;
  gap: 32px;
  text-align: right;
}
.profile-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.profile-stat span {
  font-size: 13px;
  opacity: 0.85;
}
.profile-hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.profile-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.profile-hero-badge svg {
  flex-shrink: 0;
}
.profile-hero-badge-trusted {
  color: #166534;
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid rgba(22, 163, 74, 0.35);
}
.profile-hero-badge-trending {
  color: #9a3412;
  background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(234, 88, 12, 0.35);
}
.profile-hero-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 0;
}
.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.profile-tabs button {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 3px solid transparent;
  border-radius: 6px 6px 0 0;
  transition: all var(--transition);
  white-space: nowrap;
}
.profile-tabs button:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.profile-tabs button.active {
  color: #fff;
  border-bottom-color: #fff;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.22);
}
.btn-share-profile {
  background: #22c55e;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border: none;
  width: 100%;
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition);
}
.btn-share-profile .btn-share-icon {
  flex-shrink: 0;
  display: block;
}
.btn-share-profile:hover { background: #16a34a; color: #fff; }
.profile-share-qr-card #downloadProfileQrBtn {
  margin-top: 0;
}
.profile-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 28px 20px 64px;
  align-items: start;
}
.profile-sidebar { display: flex; flex-direction: column; gap: 20px; }
.profile-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.profile-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.profile-progress-card { position: relative; }
.profile-progress-bar {
  height: 8px;
  background: var(--border-light);
  border-radius: 50px;
  overflow: hidden;
  margin-top: 8px;
}
.profile-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  border-radius: 50px;
}
.profile-progress-label {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.profile-info-list { display: flex; flex-direction: column; gap: 12px; }
.profile-info-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.profile-info-list li span { color: var(--text-muted); }
.profile-info-list li strong { color: var(--text); font-weight: 600; }
.profile-portfolio {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.portfolio-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transition: transform var(--transition);
}
.portfolio-icon:hover { transform: scale(1.08); }
.portfolio-icon.github { background: #24292e; }
.portfolio-icon.web { background: var(--primary); font-size: 16px; }
.portfolio-icon.web svg { display: block; }
.portfolio-icon.dribbble { background: #ea4c89; }
.portfolio-icon.behance { background: #1769ff; }
.profile-content { display: flex; flex-direction: column; gap: 24px; }
.profile-tab-pane { display: none; flex-direction: column; gap: 24px; }
.profile-tab-pane.active { display: flex; }
.profile-about-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}
.profile-about-text p + p { margin-top: 12px; }
.profile-quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.quick-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.quick-info-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: var(--primary);
}
.quick-info-icon svg {
  display: block;
}
.quick-info-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.quick-info-item strong { font-size: 13px; font-weight: 600; }
.profile-team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.profile-team-header h3 { margin-bottom: 0; }
.team-time-filter {
  display: flex;
  gap: 4px;
  background: var(--border-light);
  padding: 4px;
  border-radius: var(--radius-sm);
}
.team-time-filter button {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition);
}
.team-time-filter button.active,
.team-time-filter button:hover {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.profile-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.profile-team-grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.profile-team-grid:has(> :nth-child(2):last-child),
.profile-team-grid:has(> :only-child) {
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  justify-content: start;
}
.team-member-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow var(--transition);
}
.team-member-card:hover { box-shadow: var(--shadow); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.profile-team-grid .team-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.profile-team-grid .team-member-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-department {
  font-size: 11px;
  color: var(--text-light);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.team-department-icon {
  flex-shrink: 0;
  opacity: 0.8;
}
.team-member-card .btn { margin-top: auto; }
.profile-activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-activity-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.profile-activity-list li:last-child { border-bottom: none; padding-bottom: 0; }
.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.profile-activity-list time { color: var(--text-light); font-size: 12px; }
.profile-projects-grid,
.profile-services-grid { display: grid; gap: 12px; }
.profile-project-item {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-project-item strong { font-size: 14px; }
.profile-project-item span { font-size: 12px; color: var(--text-muted); }
.profile-services-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.profile-service-tag {
  padding: 10px 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.profile-doc-list { display: flex; flex-direction: column; gap: 12px; }
.profile-doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}
.profile-doc-list a { color: var(--primary); font-weight: 600; font-size: 13px; }
.profile-doc-list li span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-doc-list li small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}
.profile-services-grid.profile-services-cards {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.profile-service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
}
.profile-service-card img,
.profile-service-card-placeholder {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.profile-service-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  font-size: 32px;
  color: var(--primary);
}
.profile-service-card-placeholder svg {
  display: block;
  opacity: 0.85;
}
.profile-service-card-body {
  padding: 14px 16px;
}
.profile-service-card-body h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-dark);
}
.profile-service-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.team-avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: block;
  object-fit: cover;
}
.team-bio {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.profile-section .profile-team-grid {
  margin-top: 4px;
}
.profile-blog-list { display: flex; flex-direction: column; gap: 12px; }
.profile-blog-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
.profile-blog-item:hover { border-color: var(--primary); }
.profile-blog-item strong { font-size: 14px; color: var(--text); }
.profile-blog-item span { font-size: 12px; color: var(--text-muted); }

.profile-offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.profile-offer-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.profile-offer-thumb {
  height: 140px;
  background: #f1f5f9;
  overflow: hidden;
}
.profile-offer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-offer-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1;
}
.profile-offer-body h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
}
.profile-offer-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}
.profile-offer-dates {
  font-size: 12px;
  color: var(--text-muted);
}
.profile-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.profile-location-text {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-location-text .profile-meta-icon {
  color: var(--primary);
}
.profile-map-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 160px;
  background: var(--border-light);
}
.profile-map-placeholder img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.7;
}
.profile-map-placeholder span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 51, 102, 0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.profile-location-card .profile-sidebar-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}
.profile-location-card .profile-sidebar-address .profile-meta-icon {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.profile-map-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border-light);
  margin-bottom: 12px;
}
.profile-map-embed iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}
.profile-map-embed-lg iframe {
  height: 280px;
}
.profile-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.profile-fab:hover { transform: scale(1.05); }

/* Team profile modal + visiting card */
.team-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.team-profile-modal[hidden] { display: none !important; }
.team-profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 51, 102, 0.55);
}
.team-profile-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.team-profile-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.team-profile-modal-close:hover { color: var(--text); }
.team-profile-modal-body {
  padding: 28px 24px 24px;
  text-align: left;
}
.team-profile-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding-right: 24px;
}
.team-profile-modal-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.team-profile-modal-avatar,
.team-profile-modal-initials {
  position: absolute;
  inset: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e8f0fa;
}
.team-profile-modal-initials {
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  background: var(--primary);
}
.team-profile-modal-avatar.is-visible { display: block; }
.team-profile-modal-avatar:not(.is-visible) { display: none; }
.team-profile-modal-initials.is-visible { display: flex; }
.team-profile-modal-identity {
  min-width: 0;
  flex: 1;
}
.team-profile-modal-identity h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 4px;
  line-height: 1.3;
  word-break: break-word;
}
.team-profile-modal-role {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-profile-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #f3f6f9;
  border-radius: 8px;
}
.team-profile-modal-meta li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}
.team-profile-modal-meta li[hidden] { display: none !important; }
.team-profile-modal-meta span { color: var(--text-muted); flex-shrink: 0; }
.team-profile-modal-meta strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}
.team-profile-modal-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.team-profile-modal-info[hidden] { display: none !important; }
.team-profile-modal-desc {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f3f6f9;
  border-radius: 8px;
}
.team-profile-modal-desc[hidden] { display: none !important; }
.team-profile-modal-desc > span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.team-profile-modal-desc > p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.team-profile-modal-company {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafbfd;
}
.team-profile-modal-company-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.team-profile-modal-company-logo,
.team-profile-modal-company-fallback {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border);
}
.team-profile-modal-company-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  padding: 0;
}
.team-profile-modal-company-logo { padding: 4px; }
.team-profile-modal-company-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-profile-modal-company-text strong {
  font-size: 14px;
  color: var(--primary-dark);
  line-height: 1.3;
}
.team-profile-modal-company-text span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  font-weight: 400;
}
body.team-modal-open { overflow: hidden; }

.categories-page {
  padding: 32px 0 48px;
  min-height: 50vh;
}
.categories-page .section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.categories-page .categories-menu-title {
  font-size: 26px;
  margin-bottom: 6px;
}
a.categories-menu-item { color: inherit; }

.categories-menu-section {
  background: var(--bg-white);
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--border);
}
.categories-menu-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 22px;
}
.categories-menu-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 20px 10px;
}
.categories-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.categories-menu-icon-wrap {
  width: 72px;
  height: 72px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.categories-menu-icon {
  font-size: 34px;
  line-height: 1;
}
.categories-menu-icon-img {
  padding: 0;
  overflow: hidden;
}
.categories-menu-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.categories-menu-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  max-width: 90px;
}
.categories-menu-item:hover .categories-menu-icon-wrap,
.categories-menu-item.active .categories-menu-icon-wrap {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(26, 66, 138, 0.12);
  transform: translateY(-2px);
}
.categories-menu-item.active .categories-menu-label {
  color: var(--primary-dark);
  font-weight: 600;
}
.categories-menu-popular-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .profile-team-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-quick-info { grid-template-columns: 1fr 1fr; }
  .categories-menu-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 992px) {
  .profile-body { grid-template-columns: 1fr; }
  .profile-sidebar { order: 2; }
  .profile-content { order: 1; }
}

@media (max-width: 640px) {
  .categories-menu-grid { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
  .categories-menu-icon-wrap { width: 64px; height: 64px; }
  .categories-menu-icon { font-size: 28px; }
  .categories-menu-label { font-size: 11px; max-width: 72px; }
}

/* ── Blogs Page (B2B) ── */
.blogs-page .site-header,
.contact-page .site-header,
.auth-page-body .site-header,
.register-page .site-header { height: auto; min-height: var(--header-h); }
.blogs-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.blogs-search {
  display: flex;
  gap: 10px;
  max-width: 480px;
}
.blogs-search .form-input { flex: 1; }
.blog-newsletter-section { padding-top: 0; }
.blog-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}
.blog-newsletter h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-newsletter p {
  font-size: 14px;
  opacity: 0.9;
  max-width: 420px;
}
.blog-newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.blog-newsletter-form .form-input {
  min-width: 240px;
  border: none;
}

/* ── Contact Page (B2B) ── */
.contact-form-card .about-tag { margin-bottom: 12px; display: inline-block; }
.contact-quick-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-quick-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-faq-section { padding-bottom: 48px; }
.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow var(--transition);
}
.contact-faq-item:hover { box-shadow: var(--shadow); }
.contact-faq-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.contact-faq-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Auth Pages (B2B v2) ── */
.auth-page-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-page-body .auth-page {
  flex: 1;
  min-height: auto;
  padding: 48px 0 32px;
}
.auth-layout-v2 {
  max-width: 1000px;
  grid-template-columns: 1fr 1fr;
}
.auth-layout-register {
  max-width: 1080px;
}
.auth-layout-register .auth-form-wrap {
  padding: 40px 36px;
}
.auth-layout-register .auth-visual {
  min-height: 580px;
}
.auth-layout-register .auth-visual-overlay {
  justify-content: space-between;
}
.auth-visual-logo-wrap {
  display: inline-flex;
  align-self: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  line-height: 0;
}
.auth-visual-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.auth-visual-content {
  display: flex;
  flex-direction: column;
}
.auth-form-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  line-height: 0;
}
.auth-form-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.auth-form-header h1 {
  font-size: clamp(22px, 4vw, 26px);
}
.auth-form-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.auth-visual-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.auth-benefits {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-benefits li {
  font-size: 14px;
  opacity: 0.95;
  padding-left: 4px;
}
.auth-form-header { margin-bottom: 24px; }
.auth-type-toggle {
  display: flex;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 24px;
  gap: 4px;
}
.auth-type-toggle button {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  transition: all var(--transition);
}
.auth-type-toggle button.active {
  background: var(--primary);
  color: #fff;
}
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  cursor: pointer;
}
.auth-terms a { color: var(--primary); font-weight: 500; }
.auth-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-light);
}
.auth-mini-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-white);
  padding: 16px 0;
}
.auth-mini-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-mini-links {
  display: flex;
  gap: 16px;
}
.auth-mini-links a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.auth-mini-links a:hover { color: var(--primary); }
.active-nav-btn {
  pointer-events: none;
}

/* ── Unified Auth Page (Login + Register) ── */
.auth-unified-page {
  background: linear-gradient(160deg, #eef3f8 0%, #f8fafc 45%, #eef2f6 100%);
}
.auth-page-unified {
  padding: 40px 0 32px;
}
.auth-page-unified .container {
  display: flex;
  justify-content: center;
}
.auth-unified-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 36px 40px 32px;
  transition: max-width 0.25s ease;
}
.auth-unified-card.auth-unified-wide {
  max-width: 640px;
}
.auth-unified-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.auth-unified-logo .logo-img {
  height: 48px;
  max-width: 180px;
}
.auth-form-header-center {
  text-align: center;
  margin-bottom: 20px;
}
.auth-form-header-center h1 {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.auth-form-header-center p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
}
.auth-pane {
  display: none;
}
.auth-pane.active {
  display: block;
  animation: authPaneIn 0.2s ease;
}
@keyframes authPaneIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-unified-card .auth-trust {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.auth-unified-card .auth-switch {
  margin-top: 20px;
  margin-bottom: 0;
}

/* ── Register Page (compact single-page layout) ── */
.auth-register-page .auth-page-unified {
  padding: 16px 0 12px;
}
.auth-register-page .auth-unified-card.auth-unified-wide {
  max-width: 720px;
  padding: 20px 22px 18px;
}
.auth-register-page .auth-form-header-center {
  margin-bottom: 12px;
}
.auth-register-page .auth-form-header-center h1 {
  font-size: 20px;
  margin-bottom: 0;
}
.auth-register-page .auth-form-compact .form-group {
  margin-bottom: 0;
}
.auth-register-page .auth-form-compact .auth-form-row {
  gap: 10px;
}
.auth-register-page .auth-form-compact .form-group label {
  margin-bottom: 4px;
  font-size: 12px;
}
.auth-register-page .auth-form-compact .form-input,
.auth-register-page .auth-form-compact select.form-input {
  padding: 7px 10px;
  font-size: 13px;
}
.auth-register-page .phone-prefix {
  padding: 7px 8px;
  font-size: 13px;
}
.auth-register-page .auth-terms {
  margin-bottom: 16px;
  font-size: 12px;
}
.auth-register-page .auth-switch {
  margin-top: 16px;
  font-size: 13px;
}
.auth-register-page .auth-mini-footer {
  padding: 12px 0;
}
.auth-register-page .auth-mini-footer-inner {
  justify-content: center;
}

@media (max-width: 768px) {
  .auth-register-page .auth-page-unified {
    padding: 20px 0 12px;
  }
  .auth-register-page .auth-unified-card.auth-unified-wide {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 640px) {
  .auth-register-page .auth-form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Login Page (compact single-page layout) ── */
.auth-login-page .auth-page-unified {
  padding: 24px 0 16px;
}
.auth-login-page .auth-unified-card,
.auth-login-page .auth-unified-card.auth-unified-wide {
  max-width: 720px;
  width: 100%;
  padding: 32px 56px 28px;
}
.auth-login-page .auth-form-header-center {
  margin-bottom: 18px;
}
.auth-login-page .auth-form-header-center h1 {
  font-size: 22px;
  margin-bottom: 0;
}
.auth-login-page .auth-form-compact .form-group {
  margin-bottom: 0;
}
.auth-login-page .auth-options {
  margin-bottom: 18px;
}
.auth-login-page .auth-switch {
  margin-top: 16px;
  font-size: 13px;
}
.auth-login-page .auth-mini-footer {
  padding: 12px 0;
}
.auth-login-page .auth-mini-footer-inner {
  justify-content: center;
}

@media (max-width: 768px) {
  .auth-login-page .auth-page-unified {
    padding: 20px 0 12px;
  }
  .auth-login-page .auth-unified-card {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 768px) {
  .auth-page-unified { padding: 28px 0 24px; }
  .auth-unified-card,
  .auth-unified-card.auth-unified-wide {
    max-width: 100%;
    padding: 28px 24px 24px;
    border-radius: var(--radius);
  }
}

@media (max-width: 640px) {
  .auth-page-unified .container { padding: 0 16px; }
  .auth-unified-card,
  .auth-unified-card.auth-unified-wide {
    padding: 24px 20px 20px;
  }
  .auth-unified-logo .logo-img {
    height: 40px;
    max-width: 150px;
  }
  .auth-unified-card .auth-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .blog-newsletter {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .blog-newsletter-form {
    width: 100%;
    flex-direction: column;
  }
  .blog-newsletter-form .form-input { min-width: 0; width: 100%; }
  .contact-faq-grid { grid-template-columns: 1fr; }
  .auth-form-row { grid-template-columns: 1fr; }
  .auth-layout-register .auth-visual { min-height: 260px; }
}

@media (max-width: 768px) {
  .register-page .auth-page {
    padding: 28px 0 24px;
  }
  .auth-layout-register {
    max-width: 100%;
    border-radius: var(--radius);
  }
  .auth-layout-register .auth-visual { min-height: 220px; }
  .auth-visual-overlay { padding: 28px 24px; }
  .auth-visual-overlay h2 { font-size: 22px; }
  .auth-benefits { margin-top: 16px; gap: 8px; }
  .auth-layout-register .auth-form-wrap { padding: 32px 24px; }
  .auth-form-logo-img { height: 44px; max-width: 170px; }
}

@media (max-width: 640px) {
  .auth-layout-v2 { max-width: 100%; }
  .auth-layout-register .auth-visual { display: none; }
  .auth-layout-register .auth-form-wrap { padding: 28px 20px; }
  .register-page .auth-page .container { padding: 0 16px; }
  .auth-form-logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
  }
  .auth-form-header { text-align: center; }
  .auth-terms { font-size: 12px; }
  .auth-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .auth-mini-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════
   JustGoom v2 — Banners, Videos, Plans, Health, Profile
   ══════════════════════════════════════════════════════════ */

/* ── Plan Badges ── */
.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.plan-badge-sm { padding: 2px 8px; font-size: 10px; }
.plan-silver { background: #e2e8f0; color: #475569; }
.plan-gold { background: #fef3c7; color: #b45309; }
.plan-platinum { background: linear-gradient(135deg, #dbeafe, #e0e7ff); color: #3730a3; }

/* ── Platinum Banner Carousel ── */
.platinum-banners-section {
  padding: 48px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.banner-carousel { position: relative; }
.banner-track { position: relative; min-height: 280px; }
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.banner-slide.active { opacity: 1; visibility: visible; position: relative; }
.banner-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  min-height: 280px;
}
.banner-slide-content { padding: 40px 48px; }
.banner-advertiser {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.banner-slide-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.banner-slide-content p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.6;
}
.banner-slide-visual { height: 100%; min-height: 280px; }
.banner-slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.banner-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  font-size: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.banner-nav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.banner-dots { display: flex; gap: 8px; }
.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition: all var(--transition);
}
.banner-dot.active { background: var(--accent); transform: scale(1.2); }

/* ── Featured Videos ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.video-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--border-light);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(247, 148, 29, 0.95);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,0.9);
  transition: transform var(--transition);
}
.video-card:hover .video-play-btn { transform: translate(-50%, -50%) scale(1.1); }
.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.video-info { padding: 16px; }
.video-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.video-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
.video-author { font-weight: 600; color: var(--primary); }

/* ── Article Author Bar ── */
.article-author-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.article-author-bar .blog-author-avatar { flex-shrink: 0; }
.article-author-bar div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.article-author-bar strong { font-size: 13px; color: var(--text); }
.article-author-bar-lg { margin-bottom: 16px; }
.article-author-meta { font-size: 12px; color: var(--text-muted); }
.article-visibility { color: var(--success); font-weight: 600; font-size: 12px; }
.article-private-note { font-size: 13px; color: var(--text-muted); font-style: italic; margin-bottom: 8px; }

/* ── Subscription Plans ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.plan-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card-featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(247, 148, 29, 0.15);
}
.plan-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-card-header { text-align: center; margin-bottom: 24px; }
.plan-icon { font-size: 32px; display: block; margin-bottom: 8px; }
.plan-card-header h3 { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}
.plan-price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.plan-discount {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 6px;
}
.plan-discount s { color: var(--text-muted); font-weight: 400; margin-right: 4px; }
.plan-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.plan-features li.plan-muted { color: var(--text-light); }
.plan-check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.plan-x { color: var(--text-light); flex-shrink: 0; }
.plans-comparison { text-align: center; }
.plans-comparison h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--primary-dark); }
.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-white);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.comparison-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}
.comparison-table th:first-child,
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.comparison-table tr:last-child td { border-bottom: none; }

/* ── Company Information ── */
.company-info-section { background: var(--bg-white); }
.company-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.company-info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.company-info-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.company-info-icon { font-size: 32px; margin-bottom: 12px; }
.company-info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.company-info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.company-info-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Health Module ── */
.health-hero { background: linear-gradient(135deg, #065f46, #059669); }
.health-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 48px 20px;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}
.health-form-card { margin: 0; }
.health-result-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.health-result-section { margin-bottom: 24px; }
.health-result-section:last-child { margin-bottom: 0; }
.health-result-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.health-rec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.health-rec-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.health-rec-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.health-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.health-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.health-info-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.health-info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary-dark); }
.health-info-card p { font-size: 14px; color: var(--text-muted); }

/* ── Calculator Sidebar Note ── */
.calc-sidebar-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.calc-sidebar-note p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }

/* ── Articles Page ── */
.articles-access-notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.access-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.access-notice-item p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ── Profile Page ── */
.profile-completion-banner {
  background: linear-gradient(90deg, var(--accent-light), #fff8e1);
  border-bottom: 1px solid #fde68a;
  padding: 12px 0;
}
.profile-completion-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.profile-completion-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 200px;
}
.profile-completion-text strong { font-size: 14px; color: var(--primary-dark); }
.profile-completion-text span { font-size: 13px; color: var(--text-muted); }
.profile-completion-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  border-radius: 50px;
  transition: width 0.4s ease;
}
.profile-completion-progress span { font-size: 13px; font-weight: 600; color: var(--accent-dark); white-space: nowrap; }

/* Legacy banner-style profile (scoped so it does not override dashboard hero) */
.profile-hero-banner {
  height: 200px;
  overflow: hidden;
  background: var(--primary-dark);
}
.profile-hero-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-hero-content {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  align-items: start;
  margin-top: -60px;
  position: relative;
  z-index: 2;
  padding-bottom: 32px;
}
.profile-hero-main {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.profile-avatar-wrap { position: relative; flex-shrink: 0; }
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: var(--bg-white);
  padding: 8px;
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
.profile-verified {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  background: var(--success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid #fff;
}
.profile-hero-info { padding-top: 68px; flex: 1; }
.profile-hero-content .profile-hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  justify-content: flex-start;
  padding-bottom: 0;
}
.profile-hero-content .profile-hero-top h1 { font-size: 28px; font-weight: 800; color: var(--primary-dark); }
.profile-designation { font-size: 15px; color: var(--text-muted); margin-bottom: 12px; }
.profile-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.profile-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.profile-qr-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-top: 68px;
}
.profile-qr-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--primary-dark); }
.profile-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
}
.profile-qr-img { border-radius: 4px; }
.profile-qr-note { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

.profile-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  padding-bottom: 64px;
  align-items: start;
}
.profile-section {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.profile-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.profile-section p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tags span {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
}
.profile-articles-list { display: flex; flex-direction: column; gap: 12px; }
.profile-article-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.profile-article-item:hover { background: var(--primary-light); }
.profile-article-item strong { font-size: 14px; color: var(--text); }
.profile-article-item span { font-size: 12px; color: var(--text-muted); }

.visitor-analytics-card,
.profile-contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.visitor-analytics-card h3,
.profile-contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.visitor-analytics-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 20px 0 12px;
}
.visitor-stat-highlight {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary-light), var(--bg));
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.visitor-stat-num { font-size: 36px; font-weight: 800; color: var(--primary); }
.visitor-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.visitor-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.visitor-stat-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.visitor-stat-item strong { display: block; font-size: 18px; font-weight: 700; color: var(--primary-dark); }
.visitor-stat-item span { font-size: 11px; color: var(--text-muted); }
.visitor-recent-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.visitor-recent-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.visitor-recent-list li:last-child { border-bottom: none; }
.visitor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.visitor-recent-list strong { display: block; font-size: 13px; }
.visitor-recent-list span { font-size: 11px; color: var(--text-muted); }
.visitor-history-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 0 4px;
}
.visitor-bar {
  flex: 1;
  background: var(--primary-light);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: background var(--transition);
}
.visitor-bar.active { background: var(--accent); }
.visitor-history-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-light);
  margin-top: 6px;
  padding: 0 4px;
}
.profile-contact-list { list-style: none; margin-bottom: 16px; }
.profile-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.profile-contact-list li:last-child { border-bottom: none; }

/* ── Business Hours Card ── */
.profile-hours-card { padding: 20px 24px; }
.profile-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.profile-hours-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}
.profile-hours-list li:last-child { border-bottom: none; }
.profile-hours-list .hours-day {
  min-width: 40px;
  font-weight: 600;
  color: var(--text-dark, #1e293b);
}
.profile-hours-list .hours-time {
  color: var(--text-muted);
}
.profile-hours-list .hours-closed {
  color: #ef4444;
  font-weight: 500;
}
.profile-hours-list .hours-today {
  background: var(--primary-light, #eef2ff);
  margin: 0 -12px;
  padding: 9px 12px;
  border-radius: 6px;
  border-bottom-color: transparent;
}
.profile-hours-list .hours-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary, #6366f1);
  background: rgba(99, 102, 241, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── Responsive: New Sections ── */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .banner-slide-inner { grid-template-columns: 1fr; }
  .banner-slide-visual { min-height: 200px; }
  .health-layout { grid-template-columns: 1fr; }
  .health-result-card { position: static; }
  .profile-hero-content { grid-template-columns: 1fr; }
  .profile-qr-card { margin-top: 0; max-width: 220px; }
  .profile-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .company-info-grid { grid-template-columns: 1fr; }
  .health-info-grid { grid-template-columns: 1fr; }
  .articles-access-notice { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero-main { flex-direction: column; align-items: center; text-align: center; }
  .profile-hero-info { padding-top: 0; }
  .profile-hero-top { justify-content: center; }
  .profile-meta-row { justify-content: center; }
  .profile-hero-actions { justify-content: center; }
  .profile-qr-card { margin: 0 auto; }
  .banner-slide-content { padding: 28px 24px; }
  .banner-slide-content h3 { font-size: 20px; }
}

@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .profile-completion-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .profile-completion-progress { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   JustGoom v2 — Public Site Design Refresh
   ══════════════════════════════════════════════════════════ */

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* Refined hero */
.b2b-hero {
  background: linear-gradient(145deg, #001a33 0%, var(--primary-dark) 35%, var(--primary) 70%, #2563eb 100%);
  position: relative;
}
.b2b-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247,148,29,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.b2b-search-box {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.b2b-hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.b2b-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* Modern cards */
.blog-card,
.video-card,
.company-info-card,
.plan-card,
.category-card {
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
}
.blog-card:hover,
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* Banner carousel polish */
.banner-slide-inner {
  box-shadow: 0 12px 40px rgba(26, 66, 138, 0.25);
}
.platinum-banners-section {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

/* Plan cards glow */
.plan-card-featured {
  position: relative;
  overflow: visible;
}
.plan-card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0.3;
}

/* Section headers */
.section-header .section-title,
.globy-sectors-title,
.about-section-head .section-title {
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats bar refresh */
.stats-bar {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(247,148,29,0.08), transparent);
}

/* Site header glass effect on scroll — subtle */
.site-header {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}

/* Button polish */
.btn {
  letter-spacing: 0.01em;
}
.btn-accent {
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.35);
}
.btn-accent:hover {
  box-shadow: 0 6px 20px rgba(247, 148, 29, 0.45);
}
.btn-primary {
  box-shadow: 0 4px 14px rgba(26, 66, 138, 0.3);
}

/* Company info cards */
.company-info-card {
  background: var(--bg-white);
  border-left: 4px solid var(--accent);
}

/* Footer refresh */
.site-footer {
  background: linear-gradient(180deg, #0c1929 0%, var(--primary-dark) 100%);
}

/* Dashboard CTA in auth visual */
.auth-visual-overlay h2 {
  letter-spacing: -0.02em;
}

/* Flash toast notifications */
.jg-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.jg-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  font-size: 14px;
  line-height: 1.45;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}
.jg-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.jg-toast-success { background: #15803d; border: 1px solid #166534; }
.jg-toast-error { background: #b91c1c; border: 1px solid #991b1b; }
.jg-toast-info { background: #1d4ed8; border: 1px solid #1e40af; }
.jg-toast-message { flex: 1; }
.jg-toast-close {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  padding: 0;
}
.jg-toast-close:hover { opacity: 1; }

@media (max-width: 640px) {
  .jg-toast-container {
    top: auto;
    bottom: 20px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

/* Location Selector Section */
.location-selector-section {
  padding: 60px 0 40px;
  background: var(--bg-alt, #f8fafc);
}
.location-selector-header {
  text-align: center;
  margin-bottom: 32px;
}
.location-selector-form {
  max-width: 900px;
  margin: 0 auto;
}
.location-selector-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.location-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-bottom: 6px;
}
.location-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  color: var(--text, #0f172a);
  outline: none;
  transition: border-color 0.2s;
}
.location-select:focus {
  border-color: var(--primary, #1A428A);
}
.location-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.location-field-btn {
  padding-top: 22px;
}
@media (max-width: 768px) {
  .location-selector-fields {
    grid-template-columns: 1fr;
  }
  .location-field-btn {
    padding-top: 0;
  }
}

/* Running Offers Section — full-bleed promo carousel */
.offers-section {
  background: #eef2f6;
  padding: 48px 0 64px;
}
.offers-section .section-title::after { display: none; }

.offers-promo-carousel {
  position: relative;
  margin: 0;
  padding: 0 44px 36px;
}
.offers-promo-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.offers-promo-track::-webkit-scrollbar {
  display: none;
}
.offers-promo-nav {
  position: absolute;
  top: calc(50% - 18px);
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--primary-dark);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.offers-promo-nav:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.offers-promo-nav.prev { left: 0; }
.offers-promo-nav.next { right: 0; }
.offers-promo-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.offers-promo-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 66, 138, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.offers-promo-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.offer-promo-card {
  position: relative;
  flex: 0 0 min(420px, 86vw);
  min-height: 260px;
  height: auto;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}
.offer-promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.22);
}

.offer-promo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.offer-promo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.18) 0%, transparent 42%),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.12) 0%, transparent 28%),
    linear-gradient(105deg, rgba(48, 0, 92, 0.92) 0%, rgba(75, 0, 130, 0.78) 42%, rgba(48, 0, 92, 0.35) 100%);
}
.offer-promo-purple .offer-promo-overlay {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.18) 0%, transparent 42%),
    linear-gradient(105deg, rgba(48, 0, 92, 0.92) 0%, rgba(75, 0, 130, 0.78) 42%, rgba(48, 0, 92, 0.35) 100%);
}
.offer-promo-amber .offer-promo-overlay {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
    linear-gradient(105deg, rgba(146, 64, 14, 0.92) 0%, rgba(194, 65, 12, 0.78) 42%, rgba(120, 53, 15, 0.35) 100%);
}
.offer-promo-teal .offer-promo-overlay {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
    linear-gradient(105deg, rgba(19, 78, 74, 0.92) 0%, rgba(15, 118, 110, 0.78) 42%, rgba(19, 78, 74, 0.35) 100%);
}
.offer-promo-navy .offer-promo-overlay {
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.16) 0%, transparent 42%),
    linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(26, 66, 138, 0.8) 42%, rgba(15, 23, 42, 0.35) 100%);
}

.offer-promo-wave {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 48%;
  z-index: 2;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.92) 0%, rgba(245, 158, 11, 0.88) 100%);
  opacity: 0.95;
  pointer-events: none;
}
.offer-promo-teal .offer-promo-wave {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.9) 0%, rgba(45, 212, 191, 0.85) 100%);
}
.offer-promo-navy .offer-promo-wave {
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.92) 0%, rgba(245, 158, 11, 0.88) 100%);
}

.offer-promo-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 22px 20px;
  box-sizing: border-box;
}
.offer-promo-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.offer-promo-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  padding-right: 8px;
  max-width: none;
}
.offer-promo-discount {
  margin: 0;
  max-width: 100%;
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  white-space: normal;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.offer-promo-title {
  margin: 4px 0 0;
  max-width: 100%;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
  white-space: normal;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.offer-promo-tagline {
  margin: 8px 0 0;
  max-width: 100%;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  white-space: normal;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.offer-promo-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 10px;
}
.offer-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 9px 16px;
  background: #fff;
  color: #111;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.offer-promo-cta:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  color: #111;
}
.offer-promo-cta-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: none;
}
.offer-promo-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.offer-promo-brand {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.offer-promo-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(30, 0, 60, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
  padding: 8px;
  box-sizing: border-box;
}
.offer-promo-amber .offer-promo-logo {
  background: rgba(120, 53, 15, 0.75);
}
.offer-promo-teal .offer-promo-logo {
  background: rgba(19, 78, 74, 0.75);
}
.offer-promo-navy .offer-promo-logo {
  background: rgba(15, 23, 42, 0.78);
}
.offer-promo-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.offer-promo-ad {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(71, 85, 105, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* Advertisement Banners */
.ads-banner-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.ad-banner-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s;
}
.ad-banner-card:hover {
  transform: scale(1.02);
}
.ad-banner-card img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .offers-promo-carousel {
    padding: 0 36px 32px;
  }
  .offers-promo-nav {
    width: 34px;
    height: 34px;
    font-size: 22px;
    top: calc(50% - 24px);
  }
  .offer-promo-card {
    flex-basis: min(340px, 88vw);
    min-height: 240px;
    height: auto;
    border-radius: 20px;
  }
  .offer-promo-content {
    padding: 18px 16px 16px;
  }
  .offer-promo-logo {
    width: 52px;
    height: 52px;
    padding: 6px;
  }
  .offer-promo-tagline {
    font-size: 12px;
  }
  .ads-banner-row {
    grid-template-columns: 1fr;
  }
}
