/* ============================================
   EcoJob – Custom Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  --eco-darkest:  #0D2B1E;
  --eco-dark:     #1B4332;
  --eco-primary:  #2D6A4F;
  --eco-secondary:#40916C;
  --eco-medium:   #52B788;
  --eco-light:    #74C69D;
  --eco-lighter:  #B7E4C7;
  --eco-lightest: #D8F3DC;
  --eco-bg:       #F0FFF4;
  --accent-gold:  #F4A261;
  --accent-orange:#E76F51;
  --text-dark:    #1a1a2e;
  --text-muted:   #6c757d;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.16);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   all .25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--eco-bg);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 15px;
}

a { color: var(--eco-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--eco-dark); }

img { max-width: 100%; height: auto; }

/* ============================================
   NAVBAR
   ============================================ */
.eco-navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: .75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.eco-navbar .m2m-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.eco-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--eco-dark) !important;
}

.eco-navbar .brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-medium));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.eco-navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: .45rem .9rem !important;
  border-radius: 8px;
  transition: var(--transition);
}
.eco-navbar .nav-link:hover,
.eco-navbar .nav-link.active {
  background: var(--eco-lightest);
  color: var(--eco-dark) !important;
}

.eco-navbar .btn-post-job {
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white !important;
  border-radius: 50px;
  padding: .45rem 1.2rem !important;
  font-weight: 600;
  transition: var(--transition);
}
.eco-navbar .btn-post-job:hover {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(45,106,79,.35);
}

.navbar-toggler { border: none; padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, var(--eco-dark) 0%, var(--eco-primary) 50%, var(--eco-secondary) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-section::after {
  content: '🌿';
  position: absolute;
  bottom: -20px;
  right: 5%;
  font-size: 12rem;
  opacity: .06;
  transform: rotate(-20deg);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-title span {
  background: linear-gradient(90deg, var(--eco-lighter), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  max-width: 540px;
}

.hero-badge {
  display: inline-block;
  color: white;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}

/* Hero search */
.hero-search-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: .5rem .5rem .5rem .5rem;
  display: flex;
  align-items: center;
  gap: 0;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.search-field {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
  min-width: 0;
}
.search-field--type { flex: 0 0 175px; }

.search-icon {
  position: absolute;
  left: 13px;
  color: var(--eco-secondary);
  font-size: .85rem;
  z-index: 1;
  pointer-events: none;
}

.search-input {
  border: none;
  outline: none;
  width: 100%;
  padding: .8rem 1rem .8rem 2.3rem;
  font-size: .95rem;
  background: transparent;
  color: var(--eco-dark);
  border-radius: 0;
}
.search-input:focus { background: var(--eco-bg); }
.search-input::placeholder { color: #9ca3af; }
.search-select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1rem;
}

.search-divider {
  width: 1px;
  height: 32px;
  background: var(--eco-lighter);
  flex-shrink: 0;
  margin: 0 .25rem;
}

.btn-search {
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white;
  border: none;
  border-radius: 10px;
  padding: .75rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-size: .92rem;
  transition: var(--transition);
  flex-shrink: 0;
  margin: .25rem;
}
.btn-search:hover {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  box-shadow: 0 4px 15px rgba(45,106,79,.4);
}

/* Hero popular tags */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  justify-content: center;
}
.hero-tag-label { color: rgba(255,255,255,.6); font-size: .82rem; }
.hero-tag {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .25rem .75rem;
  font-size: .8rem;
  text-decoration: none;
  transition: var(--transition);
}
.hero-tag:hover {
  background: rgba(255,255,255,.3);
  color: white;
  transform: translateY(-1px);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  justify-content: center;
}

.hero-stat {
  color: rgba(255,255,255,.9);
}

.hero-stat .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  display: block;
}

.hero-stat .stat-label {
  font-size: .82rem;
  opacity: .8;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--eco-dark);
  margin-bottom: .5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: .95rem;
}

.section-label {
  display: inline-block;
  background: var(--eco-lightest);
  color: var(--eco-primary);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: .8rem;
}

/* ============================================
   JOB CARDS
   ============================================ */
.job-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1.5px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--eco-lighter);
  transform: translateY(-2px);
}

.job-card .company-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--eco-lightest);
}

.job-card .company-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}

.job-card .job-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--eco-dark);
  margin-bottom: .2rem;
  transition: var(--transition);
}

.job-card:hover .job-title { color: var(--eco-primary); }

.job-card .job-company {
  font-size: .85rem;
  color: var(--eco-secondary);
  font-weight: 600;
  margin-bottom: .4rem;
}

.job-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .6rem 0;
}

.job-meta-tag {
  background: var(--eco-bg);
  color: var(--eco-primary);
  border-radius: 6px;
  padding: .15rem .55rem;
  font-size: .75rem;
  font-weight: 500;
}

.job-meta-tag.remote { background: #e8f5e9; color: #2D6A4F; }
.job-meta-tag.type   { background: #e3f2fd; color: #1565c0; }
.job-meta-tag.salary { background: #fff3e0; color: #bf360c; }

.job-card .eco-badge-wrap { margin-top: auto; padding-top: .75rem; }

/* Green job ribbon */
.green-job-ribbon {
  position: absolute;
  top: 12px;
  right: -4px;
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 3px 0 0 3px;
}
.green-job-ribbon::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -4px;
  border-top: 4px solid var(--eco-dark);
  border-right: 4px solid transparent;
}

/* ============================================
   COMPANY CARDS
   ============================================ */
.company-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1.5px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.company-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--eco-lighter);
  transform: translateY(-3px);
}

.company-card .logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 2px solid var(--eco-lightest);
}

.company-card .logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card .c-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--eco-dark);
  margin-bottom: .2rem;
}

.company-card .c-industry {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
}

.company-card .c-country {
  font-size: .78rem;
  color: var(--eco-secondary);
  font-weight: 500;
}

.company-card .eco-score-wrap {
  margin: .8rem 0;
}

.company-card .jobs-tag {
  background: var(--eco-lightest);
  color: var(--eco-primary);
  border-radius: 50px;
  padding: .2rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: .5rem;
}

/* ============================================
   FILTERS SIDEBAR
   ============================================ */
.filters-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}

.filter-group { margin-bottom: 1.5rem; }

.filter-group label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--eco-dark);
  margin-bottom: .6rem;
  display: block;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: .5rem .75rem;
  border: 1.5px solid var(--eco-lighter);
  border-radius: 8px;
  font-size: .88rem;
  outline: none;
  transition: var(--transition);
  background: white;
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--eco-medium);
  box-shadow: 0 0 0 3px rgba(82,183,136,.15);
}

.filter-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white;
  border: none;
  border-radius: 8px;
  padding: .65rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(45,106,79,.3);
}

/* ============================================
   ECO SCORE DISPLAY
   ============================================ */
.eco-score-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  margin: 0 auto;
}

.eco-score-bars .score-row {
  margin-bottom: .65rem;
}

.eco-score-bars .score-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--eco-dark);
  margin-bottom: .2rem;
  display: flex;
  justify-content: space-between;
}

.eco-score-bars .progress {
  height: 8px;
  border-radius: 50px;
  background: var(--eco-lightest);
}

.eco-score-bars .progress-bar {
  background: linear-gradient(90deg, var(--eco-primary), var(--eco-medium));
  border-radius: 50px;
  transition: width 1s ease;
}

/* ============================================
   RATING FORM
   ============================================ */
.rating-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.leaf-rating-input {
  display: flex;
  gap: .4rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.leaf-rating-input input { display: none; }

.leaf-rating-input label {
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
  opacity: .35;
  filter: grayscale(1);
}

.leaf-rating-input label:hover,
.leaf-rating-input label:hover ~ label,
.leaf-rating-input input:checked ~ label {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.1);
}

/* ============================================
   PROFILE / COMPANY PAGE
   ============================================ */
.company-cover {
  height: 220px;
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  overflow: hidden;
}

.company-cover::after {
  content: '🌿🌳🍃';
  position: absolute;
  right: 2rem;
  bottom: -10px;
  font-size: 5rem;
  opacity: .15;
}

.company-profile-logo {
  width: 100px;
  height: 100px;
  border-radius: 18px;
  border: 4px solid white;
  overflow: hidden;
  margin-top: -50px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.company-profile-logo img,
.company-profile-logo .company-initials {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

/* ============================================
   AI INSIGHT BOX
   ============================================ */
.ai-insight {
  background: linear-gradient(135deg, var(--eco-lightest), var(--eco-bg));
  border: 1.5px solid var(--eco-lighter);
  border-left: 4px solid var(--eco-primary);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
}

.ai-insight .ai-tag {
  font-size: .73rem;
  font-weight: 700;
  color: var(--eco-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}

/* ============================================
   FORMS
   ============================================ */
.eco-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-label {
  font-weight: 600;
  font-size: .88rem;
  color: var(--eco-dark);
  margin-bottom: .35rem;
}

.form-control, .form-select {
  border: 1.5px solid var(--eco-lighter);
  border-radius: 8px;
  padding: .55rem .85rem;
  font-size: .9rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--eco-medium);
  box-shadow: 0 0 0 3px rgba(82,183,136,.15);
  outline: none;
}

.btn-eco {
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white;
  border: none;
  border-radius: 8px;
  padding: .65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-eco:hover {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(45,106,79,.35);
  color: white;
}

.btn-eco-outline {
  background: transparent;
  color: var(--eco-primary);
  border: 2px solid var(--eco-primary);
  border-radius: 8px;
  padding: .6rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-eco-outline:hover {
  background: var(--eco-primary);
  color: white;
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--eco-medium);
}

.review-card .reviewer-name {
  font-weight: 700;
  color: var(--eco-dark);
}

.review-card .reviewer-role {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  padding: 3rem 0 2.5rem;
  color: white;
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: .5rem;
}

.page-header .breadcrumb .breadcrumb-item,
.page-header .breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.8); }
.page-header .breadcrumb .breadcrumb-item.active { color: white; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-step {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.how-step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.how-step .step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--eco-lightest), var(--eco-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.2rem;
}

.how-step .step-num {
  width: 28px;
  height: 28px;
  background: var(--eco-primary);
  color: white;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .8rem;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  padding: 3rem 0;
}

.stat-box {
  text-align: center;
  color: white;
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.stat-box .stat-name {
  font-size: .88rem;
  opacity: .85;
  margin-top: .3rem;
}

/* ============================================
   FOOTER
   ============================================ */
.eco-footer {
  background: var(--eco-dark);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 0;
}

.eco-footer h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.eco-footer a {
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  font-size: .88rem;
  display: inline-block;
  margin-bottom: .4rem;
}

.eco-footer a:hover { color: var(--eco-lighter); padding-left: 4px; }

.footer-bottom {
  background: var(--eco-darkest);
  padding: 1.2rem 0;
  margin-top: 2.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .7; }

/* ============================================
   SCROLL TO TOP
   ============================================ */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

#scrollTopBtn.visible {
  opacity: 1;
  pointer-events: auto;
}

#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(45,106,79,.45);
}

/* ============================================
   ADSENSE
   ============================================ */
.adsense-block {
  padding: .5rem;
  background: var(--eco-bg);
  border-radius: var(--radius);
  min-height: 100px;
}

/* ============================================
   ALERTS & BADGES
   ============================================ */
.alert-eco {
  background: var(--eco-lightest);
  border: 1px solid var(--eco-lighter);
  color: var(--eco-dark);
  border-radius: var(--radius);
}

.badge-eco { background: var(--eco-primary); color: white; }
.badge-remote { background: #1565c0; color: white; }
.badge-hybrid { background: #6a1b9a; color: white; }

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-header {
  background: var(--eco-bg);
  border-bottom: 1px solid var(--eco-lighter);
  padding: 1.5rem 0;
}

.search-result-meta {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ============================================
   LOADER
   ============================================ */
.spinner-eco {
  width: 40px;
  height: 40px;
  border: 4px solid var(--eco-lighter);
  border-top-color: var(--eco-primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp .5s ease both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .hero-section { padding: 3rem 0 2.5rem; }
  .hero-search-form { flex-direction: column; }
  .hero-search-form input { width: 100%; }
  .filters-sidebar { position: static; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 1.8rem; }
  .hero-stats { gap: 1.2rem; }
  .eco-form-card { padding: 1.2rem; }
  .rating-form-card { padding: 1.2rem; }
  .company-cover { height: 140px; }
  .company-profile-logo { width: 74px; height: 74px; margin-top: -37px; }
  #scrollTopBtn { bottom: 1rem; right: 1rem; width: 42px; height: 42px; }
  .section-title { font-size: 1.4rem; }
}

@media (max-width: 576px) {
  .hero-search-form { padding: .4rem; }
  .hero-stat .stat-num { font-size: 1.4rem; }
  .job-card, .company-card { padding: 1rem; }
}

/* ============================================
   LEAF RATING (display)
   ============================================ */
.leaf-rating span { font-size: 1rem; }
.leaf-rating .empty { opacity: .3; }

/* ============================================
   MISC
   ============================================ */
.section-divider {
  height: 3px;
  width: 50px;
  background: linear-gradient(90deg, var(--eco-primary), var(--eco-medium));
  border-radius: 2px;
  margin: .5rem 0 1.5rem;
}

.tag-chip {
  display: inline-block;
  background: var(--eco-bg);
  border: 1px solid var(--eco-lighter);
  color: var(--eco-primary);
  border-radius: 50px;
  padding: .18rem .65rem;
  font-size: .78rem;
  font-weight: 500;
  margin: .15rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #e3f2fd;
  color: #1565c0;
  border-radius: 50px;
  font-size: .73rem;
  font-weight: 700;
  padding: .15rem .55rem;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #fff3e0;
  color: #e65100;
  border-radius: 50px;
  font-size: .73rem;
  font-weight: 700;
  padding: .15rem .55rem;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
}
@keyframes skeleton-loading { to { background-position: -200% 0; } }

/* ============================================
   NEW PAGE COMPONENTS (company / job / rate)
   ============================================ */

/* Utility */
.text-eco { color: var(--eco-primary); }

/* ── Card header eco ── */
.card-header-eco {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  color: white;
  padding: .75rem 1.25rem;
  border-radius: 0;
}

/* ── btn-eco-sm ── */
.btn-eco-sm {
  background: linear-gradient(135deg, var(--eco-primary), var(--eco-secondary));
  color: white !important;
  border: none;
  border-radius: 6px;
  padding: .3rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-eco-sm:hover {
  background: linear-gradient(135deg, var(--eco-dark), var(--eco-primary));
  transform: translateY(-1px);
}

/* ── Company cover (profile page) ── */
.company-cover { padding-top: 2rem; }
.company-cover-inner { padding: 0 0 1rem; align-items: flex-end; }
.company-cover-logo {
  width: 88px; height: 88px; min-width: 88px;
  border-radius: 14px; overflow: hidden;
  border: 3px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.company-cover-logo img { width:100%; height:100%; object-fit:cover; }
.company-cover-info .company-cover-meta {
  display: flex; flex-wrap: wrap; gap: 1rem;
  font-size: .88rem; opacity: .9; margin-top: .3rem;
}
.company-cover-meta span { display: flex; align-items: center; gap: .3rem; }
.company-cover-score { text-align: center; min-width: 100px; }
.eco-score-big { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.eco-score-label { font-size: .88rem; font-weight: 600; opacity: .9; margin-top: .2rem; }
.eco-score-count { font-size: .75rem; opacity: .7; }

/* ── Eco score ring sm ── */
.eco-score-ring-sm {
  width: 50px; height: 50px; border-radius: 50%;
  background: conic-gradient(var(--score-color, var(--eco-primary)) calc(var(--score-pct, 80%) * 1%), var(--eco-lightest) 0%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.eco-score-ring-sm::before {
  content: ''; position: absolute; inset: 6px;
  background: white; border-radius: 50%;
}
.eco-score-val-sm {
  font-size: .72rem; font-weight: 800;
  color: var(--eco-dark); position: relative; z-index: 1;
}
.eco-tier-label-sm { font-size: .78rem; font-weight: 600; color: var(--eco-primary); }
.ratings-count-sm { font-size: .72rem; color: var(--text-muted); }

/* ── Score bars ── */
.score-bar-row { }
.score-bar-label { font-size: .85rem; font-weight: 600; color: var(--eco-dark); }
.score-bar-value { font-size: .85rem; font-weight: 700; }

/* ── Company card (new class names) ── */
.company-card-logo {
  width: 68px; height: 68px; border-radius: 12px; overflow: hidden;
  margin: 0 auto .75rem; border: 2px solid var(--eco-lightest);
  display: flex; align-items: center; justify-content: center;
  background: var(--eco-lightest);
}
.company-card-logo img { width:100%; height:100%; object-fit:cover; }
.company-card-body { flex: 1; padding: 0 .25rem; }
.company-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .75rem; margin-top: .75rem;
  border-top: 1px solid var(--eco-lightest); font-size: .8rem;
}
.company-name { font-size: .95rem; font-weight: 700; color: var(--eco-dark); margin-bottom: .15rem; }
.company-name a { color: inherit; text-decoration: none; }
.company-name a:hover { color: var(--eco-primary); }
.company-industry { font-size: .78rem; color: var(--text-muted); margin-bottom: .25rem; }
.company-location { font-size: .78rem; color: var(--eco-secondary); }
.company-tagline { font-size: .78rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.company-mini-logo {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--eco-lightest); border: 1.5px solid var(--eco-lighter);
}
.company-mini-logo img { width:100%; height:100%; object-fit:cover; }
.verified-icon { color: #1565c0; font-size: .8rem; }
.verified-badge-lg {
  display: inline-block; background: rgba(255,255,255,.2);
  color: white; border-radius: 50px; font-size: .78rem;
  font-weight: 700; padding: .15rem .6rem;
}

/* ── Cert badges ── */
.cert-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.cert-badge {
  background: var(--eco-lightest); color: var(--eco-primary);
  border: 1px solid var(--eco-lighter); border-radius: 50px;
  font-size: .68rem; font-weight: 600; padding: .15rem .55rem;
  white-space: nowrap;
}
.cert-badge-lg {
  background: var(--eco-lightest); color: var(--eco-primary);
  border: 1.5px solid var(--eco-light); border-radius: 8px;
  font-size: .8rem; font-weight: 600; padding: .3rem .75rem;
}

/* ── AI insight box ── */
.ai-insight-box {
  background: linear-gradient(135deg, var(--eco-lightest), #f0fff8);
  border: 1.5px solid var(--eco-lighter);
  border-left: 4px solid var(--eco-primary);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  font-size: .92rem; line-height: 1.65;
}

/* ── Review cards ── */
.review-card {
  padding: .85rem 0;
  border-bottom: 1px solid var(--eco-lightest);
}
.review-card:last-child { border-bottom: none; }
.review-header { font-size: .88rem; }
.review-overall { font-size: .85rem; font-weight: 700; color: var(--eco-primary); }
.review-title { font-size: .9rem; color: var(--eco-dark); }
.review-text { font-size: .82rem; line-height: 1.5; margin: 0; }

/* ── Filter sidebar ── */
.filter-sidebar {
  background: white; border-radius: var(--radius);
  padding: 1.2rem; box-shadow: var(--shadow-sm);
  position: sticky; top: 80px;
}
.filter-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--eco-lightest);
}
.filter-header h5 { margin: 0; font-size: .95rem; color: var(--eco-dark); }
.filter-label {
  font-size: .82rem; font-weight: 600; color: var(--eco-dark);
  margin-bottom: .3rem; display: block;
}
.filter-group { margin-bottom: 1rem; }
.clear-filters { font-size: .78rem; color: var(--eco-secondary); text-decoration: none; }
.clear-filters:hover { color: var(--accent-orange); }
.results-bar { padding: .5rem 0; }
.results-count { font-size: .88rem; color: var(--text-muted); }
.empty-state { color: var(--text-muted); }

/* ── Job header section ── */
.job-header-section { }
.job-header-logo {
  width: 72px; height: 72px; min-width: 72px; border-radius: 12px;
  overflow: hidden; background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.job-header-logo img { width:100%; height:100%; object-fit:cover; }
.job-header-meta { font-size: .9rem; }
.badge-remote-lg, .badge-hybrid-lg, .badge-green-lg {
  background: rgba(255,255,255,.2); color: white;
  border-radius: 50px; padding: .2rem .65rem;
  font-size: .78rem; font-weight: 600;
}
.salary-display { font-size: 1rem; font-weight: 700; }
.job-description { font-size: .93rem; line-height: 1.75; }
.req-list, .benefits-list {
  padding-left: 1.2rem; margin: 0;
}
.req-list li, .benefits-list li {
  margin-bottom: .4rem; font-size: .9rem; line-height: 1.5;
}
.skill-tag {
  display: inline-block; background: var(--eco-lightest);
  border: 1px solid var(--eco-lighter); color: var(--eco-primary);
  border-radius: 50px; padding: .25rem .7rem; font-size: .8rem; font-weight: 500;
}
.job-list-item { border-bottom: 1px solid var(--eco-lightest) !important; }
.job-list-item:last-child { border-bottom: none !important; }
.job-title-link { color: var(--eco-dark); text-decoration: none; }
.job-title-link:hover { color: var(--eco-primary); }

/* ── Rating form stars ── */
.rating-dimensions { }
.rating-dim-row { border-bottom: 1px solid var(--eco-lightest); padding-bottom: .75rem; }
.rating-dim-row:last-child { border-bottom: none; }
.rating-dim-icon { margin-right: .3rem; }
.star-rating-input { display: flex; gap: .4rem; }
.star-rating-input .star {
  font-size: 1.6rem; cursor: pointer; color: #dee2e6; transition: color .15s, transform .15s;
}
.star-rating-input .star.active, .star-rating-input .star.hover { color: #f4a261; transform: scale(1.1); }
.star-value-display { font-size: 1rem; color: var(--eco-primary); min-width: 30px; text-align: right; }
.company-selected-card { border-radius: var(--radius); }

/* ── Stat box sm (about page) ── */
.stat-box-sm .stat-num { font-size: 1.6rem; font-weight: 800; color: var(--eco-primary); }
.stat-box-sm .stat-lbl { font-size: .78rem; color: var(--text-muted); }

/* ── jobs-count in company card ── */
.jobs-count { font-size: .8rem; color: var(--eco-secondary); font-weight: 500; }

@media (max-width: 767px) {
  .company-cover-inner { flex-wrap: wrap; }
  .company-cover-score { min-width: auto; }
  .filter-sidebar { position: static; top: auto; }
}

/* ── Our Mission: eco tier cards ── */
.tier-card {
  background: white;
  border-radius: var(--radius);
  padding: .75rem .75rem .75rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.tier-card .tier-icon { font-size: 1.3rem; }
.tier-card .tier-label { font-weight: 700; font-size: .88rem; color: var(--eco-dark); margin-top: .15rem; }
.tier-card .tier-score { font-size: .78rem; color: var(--eco-secondary); }

/* ── Top Green Industries grid ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
}
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem .75rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--eco-lighter);
  text-decoration: none;
  color: var(--eco-dark);
  transition: var(--transition);
}
.industry-card:hover {
  border-color: var(--eco-secondary);
  box-shadow: 0 4px 16px rgba(45,106,79,.12);
  transform: translateY(-2px);
  color: var(--eco-primary);
}
.industry-card .industry-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.industry-card .industry-name { font-size: .88rem; font-weight: 600; }
.industry-card .industry-count { font-size: .75rem; color: var(--eco-secondary); margin-top: .2rem; }
