/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0f2b4a;
  --blue-700: #1c4b82;
  --blue-600: #245d9e;
  --blue-500: #2d6fb8;
  --blue-100: #e8eef4;
  --green-500: #00b67a;
  --green-600: #009e6a;
  --green-100: #e6f9f1;
  --grey-50: #f7f8fa;
  --grey-100: #f0f1f3;
  --grey-200: #e0e2e6;
  --grey-400: #9ba3ae;
  --grey-600: #5f6872;
  --grey-800: #2d3239;
  --white: #ffffff;
  --orange-500: #f59e0b;
  --red-500: #ef4444;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-h: 64px;
}

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

/* Large screens: scale up content for better readability */
@media (min-width: 1400px) {
  :root { --max-width: 1400px; }
  html { font-size: 17px; }
}
@media (min-width: 1600px) {
  :root { --max-width: 1600px; }
  html { font-size: 18px; }
}
@media (min-width: 1920px) {
  :root { --max-width: 1800px; }
  html { font-size: 19px; }
}
body {
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--grey-50);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-500); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1400px) {
  .container { padding: 0 32px; }
}
@media (min-width: 1920px) {
  .container { padding: 0 48px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.site-header__logo img { height: 48px; width: auto; }
.site-header__nav { display: flex; gap: 24px; margin-left: auto; }
.site-header__nav a {
  font-weight: 600;
  font-size: .9rem;
  color: var(--grey-800);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.site-header__nav a:hover,
.site-header__nav a.active {
  color: var(--blue-700);
  border-bottom-color: var(--blue-700);
}

/* Header CTA button - Request a quote */
.site-header__nav .site-header__cta {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.site-header__nav .site-header__cta:hover {
  border-bottom: none;
  color: var(--white);
}
.site-header__nav .site-header__cta.active {
  border-bottom: none;
  background: var(--green-600);
  color: var(--white);
}

/* Nav toggle (hamburger) - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 8px;
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--grey-800);
  border-radius: 1px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: var(--white);
  padding: 80px 0 90px;
  text-align: center;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15rem;
  opacity: .85;
  margin-bottom: 32px;
}
.hero__search {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.hero__search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 24px;
  font-size: 1rem;
  color: var(--grey-800);
  background: transparent;
  min-width: 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.hero__search input::placeholder { color: var(--grey-400); }
.hero__search select {
  border: none;
  border-top: 1px solid var(--grey-200);
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--grey-800);
  background: var(--grey-50);
  min-width: 0;
  width: 100%;
  cursor: pointer;
}
.hero__search button {
  background: var(--green-500);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  transition: background .2s;
  white-space: nowrap;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.hero__search button:hover { background: var(--green-600); }

/* Hero inline search (homepage) – single row, Booking.com-style */
.hero .hero__search--inline {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.hero .hero__search--inline .hero__search-inner {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: visible;
  min-height: 56px;
}
.hero .hero__search--inline .hero__search-cell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.hero .hero__search--inline .hero__search-cell--service {
  border-right: 1px solid var(--grey-200);
}
.hero .hero__search--inline .hero__search-cell--service .searchable-dropdown__input {
  border-radius: var(--radius-md) 0 0 0;
}
.hero .hero__search--inline .hero__search-cell .searchable-dropdown {
  width: 100%;
  min-width: 0;
}
.hero .hero__search--inline .hero__search-cell .searchable-dropdown__input {
  width: 100%;
  height: 100%;
  min-height: 56px;
  border: none;
  padding: 0 20px;
  background: transparent;
  color: var(--grey-800);
  font-size: 1rem;
  border-radius: 0;
  box-shadow: none;
}
.hero .hero__search--inline .hero__search-cell .searchable-dropdown__input::placeholder {
  color: var(--grey-400);
}
.hero .hero__search--inline .hero__search-cell .searchable-dropdown__input:focus {
  outline: none;
  background: var(--grey-50);
  box-shadow: none;
}
.hero .hero__search--inline .hero__search-cell--service .searchable-dropdown__input,
.hero .hero__search--inline .hero__search-cell--service .searchable-dropdown__input:focus {
  border-radius: var(--radius-md) 0 0 0;
}
.hero .hero__search--inline .hero__search-cell .searchable-dropdown__listbox {
  margin-top: 2px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--grey-200);
  max-height: 280px;
}
.hero .hero__search--inline .hero__search-btn {
  flex-shrink: 0;
  min-height: 56px;
  padding: 0 32px;
  margin: 0;
  background: var(--green-500);
  color: var(--white);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: background 0.2s;
}
.hero .hero__search--inline .hero__search-btn:hover {
  background: var(--green-600);
}

.hero__recent-searches {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero__recent-searches-label {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 4px;
}
.recent-search-link {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 0.9rem;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s;
  border: 1px solid rgba(255,255,255,.3);
}
.recent-search-link:hover {
  background: rgba(255,255,255,.25);
  color: var(--white);
}

/* ===== Services Grid ===== */
.services-section { padding: 64px 0; }
.services-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--grey-800);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.service-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.service-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card__body { padding: 16px 20px; text-align: center; }
.service-card__name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.service-card__desc { font-size: .82rem; color: var(--grey-600); }

/* ===== Recommended Jobs ===== */
.recommended-jobs-section { padding: 48px 0; background: var(--white); border-top: 1px solid var(--grey-200); }
.recommended-jobs-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--grey-800);
}
.recommended-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.recommended-job-card {
  background: var(--grey-50);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid var(--grey-200);
  transition: box-shadow .2s, border-color .2s;
}
.recommended-job-card--has-image {
  padding: 0;
  overflow: hidden;
}
.recommended-job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
  color: inherit;
}
.recommended-job-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.recommended-job-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recommended-job-card__body { padding: 24px; }
.recommended-job-card:not(.recommended-job-card--has-image) .recommended-job-card__body { padding: 0; }
.recommended-job-card__tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.recommended-job-card__tag--urgent {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.35);
}
.recommended-job-card__tag--popular {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c9a227 0%, #f4e4a6 25%, #d4af37 50%, #f4e4a6 75%, #c9a227 100%);
  color: #1a1a1a;
  background-size: 200% 200%;
  animation: tag-shimmer 3s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}
.recommended-job-card__tag--popular::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: tag-sparkle 2.5s ease-in-out infinite;
}
@keyframes tag-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes tag-sparkle {
  0% { left: -100%; }
  60%, 100% { left: 150%; }
}
.recommended-job-card__tag--seasonal {
  background: var(--blue-100);
  color: var(--blue-700);
}
.recommended-job-card__tag--emergency {
  background: #b91c1c;
  color: #fff;
  box-shadow: 0 1px 3px rgba(185, 28, 28, 0.4);
}
.recommended-job-card__tag--best-value {
  background: #059669;
  color: #fff;
  box-shadow: 0 1px 3px rgba(5, 150, 105, 0.35);
}
.recommended-job-card__tag--quick-fix {
  background: #ea580c;
  color: #fff;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.35);
}
.recommended-job-card__tag--save-water {
  background: #0d9488;
  color: #fff;
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.35);
}
.recommended-job-card__tag--expert {
  background: #6d28d9;
  color: #fff;
  box-shadow: 0 1px 3px rgba(109, 40, 217, 0.35);
}
.recommended-job-card__tag--new {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 1px 3px rgba(59, 130, 246, 0.35);
}
.recommended-job-card__tag--limited-offer {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);
}
.recommended-job-card__tag--24-7 {
  background: #1e3a5f;
  color: #fff;
  box-shadow: 0 1px 3px rgba(30, 58, 95, 0.4);
}
.recommended-job-card__tag--eco-friendly {
  background: #047857;
  color: #fff;
  box-shadow: 0 1px 3px rgba(4, 120, 87, 0.35);
}
.recommended-job-card__tag--high-demand {
  background: #b45309;
  color: #fff;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.35);
}
.recommended-job-card__name { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.recommended-job-card__desc { font-size: .9rem; color: var(--grey-600); margin-bottom: 12px; line-height: 1.5; }
.recommended-job-card__link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-700);
}
.recommended-job-card:hover .recommended-job-card__link { text-decoration: underline; }

/* ===== Most Frequent Jobs ===== */
.frequent-jobs-section {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, var(--grey-100) 0%, var(--grey-50) 100%);
}
.frequent-jobs-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--grey-800);
}
.frequent-jobs-section__subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--grey-600);
  margin-bottom: 32px;
}
.frequent-jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .frequent-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 500px) {
  .frequent-jobs-grid {
    grid-template-columns: 1fr;
  }
}
.frequent-job-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  transition: box-shadow .2s, transform .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
}
.frequent-job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-100);
  color: inherit;
}
.frequent-job-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--grey-100);
  overflow: hidden;
  flex-shrink: 0;
}
.frequent-job-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.frequent-job-card__info { min-width: 0; flex: 1; }
.frequent-job-card__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; line-height: 1.3; }
.frequent-job-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.frequent-job-card__rating .review-count { font-size: .85rem; color: var(--grey-600); white-space: nowrap; }
.frequent-job-card__link {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-700);
}
.frequent-job-card:hover .frequent-job-card__link { text-decoration: underline; }

/* ===== Trust Badges ===== */
.trust-section {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item__icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.trust-item__title { font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.trust-item__text { font-size: .9rem; color: var(--grey-600); max-width: 280px; margin: 0 auto; }
.trust-item__text a { color: var(--blue-700); }
.trust-item__text a:hover { text-decoration: underline; }

/* ===== App Promo ===== */
.app-promo-section {
  background: var(--blue-900);
  color: var(--white);
  padding: 56px 0;
}
.app-promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-promo-content {
  text-align: center;
  max-width: 480px;
}
.app-promo-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.app-promo-content p {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 24px;
}
.app-promo-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.app-promo-qr-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  border: 2px dashed rgba(255,255,255,.4);
}
.app-promo-qr-label {
  font-size: .9rem;
  opacity: .85;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--blue-900);
  color: rgba(255,255,255,.7);
  padding: 48px 0 32px;
  text-align: center;
  font-size: .85rem;
  margin-top: auto;
}
.site-footer a { color: rgba(255,255,255,.9); }

.footer-register-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 24px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  text-align: left;
}
.footer-register-cta__image {
  width: 140px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.footer-register-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-register-cta__content h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}
.footer-register-cta__content p {
  font-size: .9rem;
  margin-bottom: 12px;
  opacity: .9;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.footer-links a {
  font-weight: 600;
  font-size: .9rem;
}
.footer-links a:hover { text-decoration: underline; }
.footer-copyright { margin: 0; }

/* ===== Search Page ===== */
.search-bar-section {
  background: var(--blue-700);
  padding: 28px 0;
}
.search-bar-section .hero__search--inline {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.search-bar-section .hero__search--inline .hero__search-inner {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: visible;
  min-height: 56px;
}
.search-bar-section .hero__search--inline .hero__search-cell {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
}
.search-bar-section .hero__search--inline .hero__search-cell--service {
  border-right: 1px solid var(--grey-200);
}
.search-bar-section .hero__search--inline .hero__search-cell--service .searchable-dropdown__input {
  border-radius: var(--radius-md) 0 0 0;
}
.search-bar-section .hero__search--inline .hero__search-cell .searchable-dropdown {
  width: 100%;
  min-width: 0;
}
.search-bar-section .hero__search--inline .hero__search-cell .searchable-dropdown__input {
  width: 100%;
  height: 100%;
  min-height: 56px;
  border: none;
  padding: 0 20px;
  background: transparent;
  color: var(--grey-800);
  font-size: 1rem;
  border-radius: 0;
  box-shadow: none;
}
.search-bar-section .hero__search--inline .hero__search-cell .searchable-dropdown__input::placeholder {
  color: var(--grey-400);
}
.search-bar-section .hero__search--inline .hero__search-cell .searchable-dropdown__input:focus {
  outline: none;
  background: var(--grey-50);
  box-shadow: none;
}
.search-bar-section .hero__search--inline .hero__search-cell--service .searchable-dropdown__input,
.search-bar-section .hero__search--inline .hero__search-cell--service .searchable-dropdown__input:focus {
  border-radius: var(--radius-md) 0 0 0;
}
.search-bar-section .hero__search--inline .hero__search-cell .searchable-dropdown__listbox {
  margin-top: 2px;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--grey-200);
  max-height: 280px;
}
.search-bar-section .hero__search--inline .hero__search-btn {
  flex-shrink: 0;
  min-height: 56px;
  padding: 0 32px;
  margin: 0;
  background: var(--green-500);
  color: var(--white);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  cursor: pointer;
  transition: background 0.2s;
}
.search-bar-section .hero__search--inline .hero__search-btn:hover {
  background: var(--green-600);
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.search-header h1 { font-size: 1.5rem; font-weight: 700; }
.search-header__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-header__input {
  width: 220px;
  padding: 10px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--grey-800);
  background: var(--white);
}
.search-header__input::placeholder { color: var(--grey-400); }
.search-header__input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 2px rgba(45, 111, 184, 0.2);
}
.search-header__sort {
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--grey-800);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%235f6872' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.search-header__sort:focus {
  outline: none;
  border-color: var(--blue-500);
}

.results-list { padding-bottom: 24px; display: flex; flex-direction: column; gap: 16px; }

.pagination-wrap { padding-bottom: 48px; }
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pagination__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-700);
  background: var(--grey-100);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.pagination__link:hover {
  background: var(--blue-100);
  color: var(--blue-700);
}
.pagination__link--current {
  background: var(--blue-500);
  color: var(--white);
  pointer-events: none;
}
.pagination__link--current:hover { background: var(--blue-500); color: var(--white); }
.pagination__ellipsis {
  padding: 0 6px;
  color: var(--grey-500);
  font-weight: 600;
}

/* ===== Plumber Card ===== */
.plumber-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: start;
  transition: box-shadow .2s;
  scroll-margin-top: 100px;
}
.plumber-card:hover { box-shadow: var(--shadow-md); }

.plumber-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--grey-100);
  overflow: hidden;
  flex-shrink: 0;
}
.plumber-card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.plumber-card__info { min-width: 0; }
.plumber-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.plumber-card__name a { color: var(--blue-700); }
.plumber-card__name a:hover { text-decoration: underline; }

.plumber-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.rating-badge {
  background: var(--green-500);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  padding: 3px 10px;
  border-radius: 4px;
}
.rating-badge--low { background: var(--orange-500); }
.review-count { font-size: .85rem; color: var(--grey-600); }

.plumber-card__location {
  font-size: .85rem;
  color: var(--grey-600);
  margin-bottom: 10px;
}
.plumber-card__location::before { content: "📍 "; }

.plumber-card__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.plumber-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--green-500);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-600); color: var(--white); }
.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-700);
}
.btn--outline:hover { background: var(--blue-100); color: var(--blue-700); }
.btn--shortlist.saved,
.btn--shortlist-profile.saved { background: var(--green-100); color: var(--green-600); border-color: var(--green-500); }
#shortlistBadge { font-weight: 700; }

/* ===== No Results ===== */
.no-results {
  text-align: center;
  padding: 64px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.no-results h2 { font-size: 1.4rem; margin-bottom: 8px; }
.no-results p { color: var(--grey-600); margin-bottom: 20px; }

/* ===== Profile Page ===== */
.profile-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  padding: 48px 0;
}
.profile-hero .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.profile-hero__avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.15);
  overflow: hidden;
  flex-shrink: 0;
}
.profile-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero__info h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.profile-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .95rem;
  opacity: .9;
}
.profile-hero__meta .rating-badge { font-size: 1rem; padding: 4px 14px; }

.profile-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  padding: 32px 0 64px;
}
.profile-main { min-width: 0; }
.profile-sidebar { min-width: 0; }

.profile-section {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 24px;
}
.profile-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-200);
}

/* Services list */
.service-list { display: flex; flex-direction: column; gap: 12px; }
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
}
.service-item__name { font-weight: 600; }
.service-item__price { color: var(--green-600); font-weight: 700; font-size: .9rem; }

/* Jobs showcase: one slide at a time (profile) */
.jobs-showcase-carousel__head {
  margin-bottom: 14px;
}
.jobs-showcase-carousel__head h2 {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
}
.jobs-showcase-carousel__frame {
  position: relative;
  min-width: 0;
  container-type: inline-size;
  container-name: jobsShowcase;
}
.jobs-showcase-carousel__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  outline: none;
  border-radius: var(--radius-sm);
}
.jobs-showcase-carousel__viewport::-webkit-scrollbar {
  display: none;
}
.jobs-showcase-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--blue-700);
}
.jobs-showcase-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
}
.jobs-showcase-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}
@supports (width: 1cqw) {
  .jobs-showcase-carousel__slide {
    flex: 0 0 100cqw;
    width: 100cqw;
    max-width: 100cqw;
    min-width: 0;
  }
}
.jobs-showcase-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--grey-300);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue-800);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.jobs-showcase-carousel__btn--prev {
  left: 10px;
}
.jobs-showcase-carousel__btn--next {
  right: 10px;
}
.jobs-showcase-carousel__btn:hover:not(:disabled) {
  background: var(--white);
  border-color: var(--blue-700);
  color: var(--blue-900);
}
.jobs-showcase-carousel__btn:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 2px;
}
.jobs-showcase-carousel__btn:disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}
.jobs-showcase-carousel--solo .jobs-showcase-carousel__btn {
  display: none;
}
.jobs-showcase-carousel__chev {
  display: block;
}
.jobs-showcase-carousel__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.jobs-showcase-carousel--solo .jobs-showcase-carousel__nav {
  display: none;
}
.jobs-showcase-carousel__counter {
  font-size: 0.875rem;
  color: var(--grey-600);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.jobs-showcase-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.jobs-showcase-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--grey-300);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.jobs-showcase-carousel__dot:hover {
  background: var(--grey-400);
}
.jobs-showcase-carousel__dot:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 3px;
}
.jobs-showcase-carousel__dot.is-active {
  background: var(--blue-700);
  transform: scale(1.2);
}
.jobs-showcase-card {
  width: 100%;
  max-width: none;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--grey-50);
}
.jobs-showcase-card__media {
  aspect-ratio: 4 / 3;
  background: var(--grey-200);
}
.jobs-showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jobs-showcase-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.jobs-showcase-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.jobs-showcase-card__text {
  font-size: .9rem;
  color: var(--grey-600);
  margin: 0 0 8px;
  flex: 1;
}
.jobs-showcase-card__date {
  font-size: .8rem;
  color: var(--grey-400);
  margin-top: auto;
}

/* Recent work: desktop — centered column, readable width (mobile unchanged) */
@media (min-width: 769px) {
  .jobs-showcase-carousel__slide {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .jobs-showcase-card {
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-sm);
  }
  .jobs-showcase-card__media {
    aspect-ratio: 16 / 10;
    max-height: 260px;
  }
  .jobs-showcase-card__body {
    padding: 18px 20px;
  }
  .jobs-showcase-card__title {
    font-size: 1.1rem;
  }
  .jobs-showcase-carousel__btn--prev {
    left: 6px;
  }
  .jobs-showcase-carousel__btn--next {
    right: 6px;
  }
}

@media (min-width: 1024px) {
  .jobs-showcase-card {
    max-width: 520px;
  }
  .jobs-showcase-card__media {
    max-height: 300px;
  }
}

/* Rating breakdown */
.rating-breakdown { margin-bottom: 28px; }
.rating-overall {
  text-align: center;
  margin-bottom: 24px;
}
.rating-overall__score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-500);
  line-height: 1;
}
.rating-overall__label { font-size: .9rem; color: var(--grey-600); margin-top: 4px; }

.rating-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.rating-bar__label { font-size: .85rem; width: 120px; flex-shrink: 0; color: var(--grey-600); }
.rating-bar__track {
  flex: 1;
  height: 8px;
  background: var(--grey-200);
  border-radius: 4px;
  overflow: hidden;
}
.rating-bar__fill {
  height: 100%;
  background: var(--green-500);
  border-radius: 4px;
  transition: width .6s ease;
}
.rating-bar__value { font-size: .85rem; font-weight: 700; width: 36px; text-align: right; }

/* Reviews */
#profileReviewsBlock { scroll-margin-top: 100px; }
.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-card {
  padding: 20px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
}
.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--blue-700);
  flex-shrink: 0;
}
.review-card__reviewer { font-weight: 600; font-size: .9rem; }
.review-card__score {
  margin-left: auto;
  font-weight: 700;
  font-size: .9rem;
}
.review-card__title { font-weight: 700; margin-bottom: 6px; }
.review-card__text { font-size: .9rem; color: var(--grey-600); margin-bottom: 6px; }
.review-card__date { font-size: .8rem; color: var(--grey-400); }
.review-card__avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.review-card__response {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--grey-50);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  border-left: 3px solid var(--blue-700);
}
.review-card__response strong { display: block; margin-bottom: 4px; font-size: .8rem; color: var(--blue-700); }

/* Sidebar cards */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--grey-200);
}
.sidebar-card p { font-size: .9rem; color: var(--grey-600); line-height: 1.7; }

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: .9rem;
}
.info-row:last-child { border-bottom: none; }
.info-row__label { color: var(--grey-600); }
.info-row__value { font-weight: 600; text-align: right; }

.features-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.feature-tag {
  background: var(--green-100);
  color: var(--green-600);
  font-size: .8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.accreditations-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.accreditation-badge {
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}
.accreditation-badge::before { content: "✓"; font-weight: 800; }

/* Vetting checks */
.checks-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--grey-600);
}
.check-item::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  color: var(--green-500);
  font-weight: 800;
  font-size: .7rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Post Job Form ===== */
.post-job-main { padding: 48px 20px; max-width: 640px; margin: 0 auto; }
.post-job-intro { margin-top: 12px; color: var(--grey-600); margin-bottom: 32px; }
.post-job-intro__plumber-name {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin: 0 2px;
  border: 1px solid var(--blue-500);
}
.post-job-form { background: var(--white); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.post-job-step { margin-bottom: 24px; }
.post-job-step h2 { font-size: 1.2rem; margin-bottom: 20px; }
.post-job-confirm { margin-bottom: 20px; color: var(--grey-600); }
.post-job-summary { background: var(--grey-50); padding: 20px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.post-job-summary p { margin-bottom: 8px; font-size: .95rem; }
.post-job-summary p:last-child { margin-bottom: 0; }
.post-job-success { text-align: center; padding: 48px 20px; }
.post-job-success h2 { margin-bottom: 12px; }
.post-job-success p { color: var(--grey-600); margin-bottom: 24px; }
.post-job-actions { display: flex; gap: 12px; margin-top: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 2px rgba(45, 111, 184, 0.2);
}
.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: var(--red-500);
  background-color: #fef2f2;
}
.form-group--error input:focus,
.form-group--error select:focus,
.form-group--error textarea:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.form-hint { font-size: .8rem; color: var(--grey-600); margin-top: 4px; display: block; }
.form-hint--error { color: var(--red-500); }
.form-error {
  font-size: .85rem;
  color: var(--red-500);
  margin-top: 6px;
  display: block;
  font-weight: 500;
}
.form-group--radio label { display: flex; align-items: center; gap: 10px; font-weight: 500; margin-bottom: 10px; }
.form-group--radio input[type="radio"] { width: auto; }
.form-group--radio.form-group--error .form-error { margin-top: 8px; }

/* Rating stars (leave review): 5 stars = 10, half star for odd ratings */
.rating-stars {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  cursor: pointer;
  outline: none;
}
.rating-stars:focus-visible .rating-stars__track { box-shadow: 0 0 0 2px var(--blue-500); }
.rating-stars__track {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-sm);
}
.rating-star {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.rating-star__empty {
  position: absolute;
  inset: 0;
  background: var(--grey-200);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  pointer-events: none;
}
.rating-star__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  transition: width 0.15s ease;
}
.rating-star__fill::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: var(--green-500);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.rating-stars__value {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-600);
  min-width: 3rem;
}
.form-group--error .rating-stars__value { color: var(--red-500); }
.form-group--error .rating-star__fill::before { background: var(--red-500); }
.form-group--error .rating-star__empty { background: var(--grey-300); }

/* Searchable dropdown */
.searchable-dropdown { position: relative; width: 100%; }
.searchable-dropdown select[style*="display: none"] { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.searchable-dropdown__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--grey-800);
}
.searchable-dropdown__input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 2px rgba(45, 111, 184, 0.2);
}
.form-group--error .searchable-dropdown__input {
  border-color: var(--red-500);
  background-color: #fef2f2;
}
.searchable-dropdown__listbox {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 4px;
  max-height: 260px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
}
.searchable-dropdown__option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--grey-800);
  border-bottom: 1px solid var(--grey-100);
}
.searchable-dropdown__option:last-child { border-bottom: none; }
.searchable-dropdown__option:hover,
.searchable-dropdown__option.searchable-dropdown__option--highlighted {
  background: var(--blue-100);
  color: var(--blue-900);
}
.searchable-dropdown__option[aria-selected="true"] { font-weight: 600; }
.searchable-dropdown__separator {
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-500);
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
  cursor: default;
  pointer-events: none;
}

.leave-review-main { padding: 48px 20px; max-width: 640px; margin: 0 auto; }
.leave-review-intro { margin-top: 12px; color: var(--grey-600); margin-bottom: 32px; }
.leave-review-form { background: var(--white); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }
.leave-review-success { text-align: center; padding: 48px 20px; }
.leave-review-success h2 { margin-bottom: 12px; }
.leave-review-success p { color: var(--grey-600); margin-bottom: 24px; }

/* ===== Contact Page ===== */
.contact-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: var(--white);
  padding: 56px 0 64px;
  text-align: center;
}
.contact-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.contact-hero p {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact-main {
  padding: 48px 0 64px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  border: 1px solid var(--grey-200);
  transition: box-shadow .2s, border-color .2s;
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.contact-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--grey-800);
}
.contact-card__text {
  font-size: .95rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 20px;
}
.contact-card__btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  min-height: 48px;
  align-items: center;
}
.contact-note {
  text-align: center;
  font-size: .9rem;
  color: var(--grey-600);
  margin: 0;
}

@media (max-width: 768px) {
  .contact-hero { padding: 40px 0 48px; }
  .contact-hero h1 { font-size: 1.75rem; }
  .contact-hero p { font-size: 1rem; }
  .contact-main { padding: 32px 0 48px; }
  .contact-card { padding: 24px; }
  .contact-card__btn { min-height: 44px; }
}

/* ===== Terms Page ===== */
.terms-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-600) 100%);
  color: var(--white);
  padding: 56px 0 64px;
  text-align: center;
}
.terms-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.terms-hero p {
  font-size: 1.1rem;
  opacity: .9;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.terms-main {
  padding: 48px 0 64px;
}
.terms-content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-200);
  padding: 40px 40px 48px;
}
.terms-intro {
  font-size: 1rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-200);
}
.terms-section {
  margin-bottom: 28px;
}
.terms-section:last-child {
  margin-bottom: 0;
}
.terms-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--grey-800);
  margin-bottom: 10px;
  padding-top: 4px;
}
.terms-section h2::before {
  content: "";
  display: block;
  height: 2px;
  width: 32px;
  background: var(--blue-500);
  margin-bottom: 12px;
  border-radius: 1px;
}
.terms-section p {
  font-size: .95rem;
  color: var(--grey-600);
  line-height: 1.7;
  margin: 0;
}
.terms-section p + p {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .terms-hero { padding: 40px 0 48px; }
  .terms-hero h1 { font-size: 1.75rem; }
  .terms-hero p { font-size: 1rem; }
  .terms-main { padding: 32px 0 48px; }
  .terms-content { padding: 28px 24px 36px; }
  .terms-section h2 { font-size: 1.15rem; }
}

.terms-hero--protection .terms-hero__title {
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.terms-hero--protection .terms-hero__accent {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  color: var(--green-500);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.terms-hero--protection .terms-hero__lead {
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.92;
  line-height: 1.65;
}

/* Highlight protection limit in hero */
.terms-hero--protection .terms-hero__amount {
  font-weight: 800;
  color: #fff;
  background: rgba(0, 182, 122, 0.28);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.08em 0.2em;
  border-radius: 4px;
  text-decoration: underline;
  text-decoration-color: var(--green-500);
  text-decoration-thickness: max(2px, 0.1em);
  text-underline-offset: 0.2em;
}

@media (max-width: 768px) {
  .terms-hero--protection {
    padding: 32px 0 40px;
  }

  /* Mobile: reduce perceived clutter by tightening typography */
  .terms-hero--protection .terms-hero__title {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .terms-hero--protection .terms-hero__accent {
    margin-top: 4px;
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  }

  .terms-hero--protection .terms-hero__lead {
    font-size: 0.98rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 520px;
  }

  /* Reduce empty space so the “below hero” content feels less pushed down */
  .terms-hero--protection + .terms-main {
    padding-top: 20px;
  }
}

.terms-covers-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.terms-covers-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--grey-600);
  line-height: 1.55;
}

.terms-covers-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green-600);
}

.terms-covers-list--plain li::before {
  content: "•";
  color: var(--blue-600);
  font-weight: 800;
}

.terms-options-list,
.terms-steps-list {
  margin: 12px 0 16px;
  padding-left: 1.25rem;
  color: var(--grey-600);
  line-height: 1.65;
  font-size: 0.95rem;
}

.terms-options-list li,
.terms-steps-list li {
  margin-bottom: 10px;
}

.terms-section--claim .terms-claim-intro {
  margin-bottom: 20px;
}

.terms-req {
  color: var(--red-500);
  font-weight: 700;
}

.terms-claim-form {
  margin-top: 8px;
  padding: 24px;
  background: var(--grey-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
}

.terms-claim-form .form-group {
  margin-bottom: 18px;
}

.terms-claim-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--grey-800);
}

.terms-claim-form input[type="text"],
.terms-claim-form input[type="date"],
.terms-claim-form input[type="tel"],
.terms-claim-form input[type="file"],
.terms-claim-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
}

.terms-claim-form textarea {
  resize: vertical;
  min-height: 100px;
}

.terms-file-hint {
  margin-top: 8px;
}

.terms-claim-submit {
  margin-top: 8px;
  min-height: 52px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
}

.terms-claim-success {
  margin-top: 8px;
  padding: 28px 24px;
  text-align: center;
  background: var(--green-100);
  border: 1px solid var(--green-500);
  border-radius: var(--radius-md);
}

.terms-claim-success__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.terms-claim-success__text {
  color: var(--grey-600);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.terms-faq__item {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0 14px;
}

.terms-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  color: var(--blue-900);
}

.terms-faq__item summary::-webkit-details-marker {
  display: none;
}

.terms-faq__item summary::after {
  content: "";
  float: right;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg);
  margin-top: 0.35em;
}

.terms-faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.5em;
}

.terms-faq__item p {
  padding: 0 0 14px;
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== Back link ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 0 0;
  font-size: .9rem;
  font-weight: 600;
}
.back-link::before { content: "←"; }

/* ===== Responsive ===== */

/* Tablet and below */
@media (max-width: 1024px) {
  .profile-content { grid-template-columns: 1fr; }
  .profile-sidebar { order: -1; }
  .recommended-jobs-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

/* Mobile: hamburger menu, stacked layouts */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--grey-200);
    z-index: 99;
  }
  body.nav-open .site-header__nav {
    display: flex;
  }
  .site-header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--grey-100);
    font-size: 1rem;
    min-height: 48px;
    align-items: center;
    display: flex;
  }
  .site-header__nav a:last-child { border-bottom: none; }
  .site-header__nav .site-header__cta {
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
  }
  .site-header { position: relative; }

  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.25; }
  .hero p { font-size: 1rem; margin-bottom: 24px; }
  .hero__search { max-width: 100%; }
  .hero .hero__search--inline .hero__search-inner {
    flex-direction: column;
    min-height: 0;
  }
  .hero .hero__search--inline .hero__search-cell {
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
    min-height: 52px;
  }
  .hero .hero__search--inline .hero__search-cell--service .searchable-dropdown__input {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .hero .hero__search--inline .hero__search-cell:last-of-type {
    border-bottom: none;
  }
  .hero .hero__search--inline .hero__search-cell .searchable-dropdown__input {
    min-height: 52px;
    padding: 0 16px;
  }
  .hero .hero__search--inline .hero__search-btn {
    min-height: 52px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0 24px;
  }
  .hero .hero__search input,
  .hero .hero__search select,
  .hero .hero__search .searchable-dropdown__input,
  .hero .hero__search button {
    padding: 14px 16px;
    min-height: 48px;
    font-size: 16px;
  }

  .services-section { padding: 40px 0; }
  .services-section h2 { font-size: 1.5rem; margin-bottom: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card__body { padding: 12px 14px; }

  .recommended-jobs-section { padding: 32px 0; }
  .recommended-jobs-section h2 { font-size: 1.5rem; margin-bottom: 24px; }
  .recommended-jobs-grid { grid-template-columns: 1fr; gap: 12px; }

  .frequent-jobs-section { padding: 32px 0 48px; }
  .frequent-jobs-section h2 { font-size: 1.5rem; margin-bottom: 24px; }
  .frequent-jobs-grid { grid-template-columns: 1fr; gap: 12px; }

  .trust-section { padding: 40px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-item__text { max-width: 100%; }

  .app-promo-section { padding: 40px 0; }
  .app-promo-content h2 { font-size: 1.35rem; }

  .search-bar-section { padding: 20px 0; }
  .search-bar-section .hero__search--inline .hero__search-inner {
    flex-direction: column;
    min-height: 0;
  }
  .search-bar-section .hero__search--inline .hero__search-cell {
    border-right: none;
    border-bottom: 1px solid var(--grey-200);
    min-height: 52px;
  }
  .search-bar-section .hero__search--inline .hero__search-cell--service .searchable-dropdown__input {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .search-bar-section .hero__search--inline .hero__search-cell:last-of-type {
    border-bottom: none;
  }
  .search-bar-section .hero__search--inline .hero__search-cell .searchable-dropdown__input {
    min-height: 52px;
    padding: 0 16px;
  }
  .search-bar-section .hero__search--inline .hero__search-btn {
    min-height: 52px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0 24px;
  }
  .search-bar-section .hero__search input,
  .search-bar-section .hero__search select,
  .search-bar-section .hero__search .searchable-dropdown__input,
  .search-bar-section .hero__search button { min-height: 48px; }

  .plumber-card {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 18px;
  }
  .plumber-card__avatar {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
  .plumber-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .plumber-card__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .plumber-card__actions .btn { min-height: 44px; padding: 12px 18px; }

  .search-header { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-header h1 { font-size: 1.35rem; }
  .search-header__row { flex-direction: column; width: 100%; gap: 10px; }
  .search-header__input { width: 100%; min-height: 44px; }
  .search-header__sort { width: 100%; min-height: 44px; }

  .profile-hero { padding: 32px 0; }
  .profile-hero .container { flex-direction: column; text-align: center; }
  .profile-hero__avatar { width: 80px; height: 80px; }
  .profile-hero__info h1 { font-size: 1.5rem; }
  .profile-hero__meta { justify-content: center; gap: 16px; font-size: .9rem; }

  .profile-section { padding: 20px; }
  .jobs-showcase-carousel__btn {
    width: 40px;
    height: 40px;
  }
  .jobs-showcase-carousel__btn--prev {
    left: 6px;
  }
  .jobs-showcase-carousel__btn--next {
    right: 6px;
  }
  .sidebar-card { padding: 20px; }
  .sidebar-card .btn { min-height: 44px; }

  .footer-register-cta {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
  }
  .footer-register-cta__image { width: 100%; height: 120px; }
  .footer-register-cta .btn { min-height: 48px; }
  .footer-links {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  .footer-links a { min-height: 44px; display: flex; align-items: center; justify-content: center; }

  .post-job-form,
  .leave-review-form { padding: 24px; }
  .form-group input,
  .form-group select,
  .form-group textarea { min-height: 48px; padding: 14px 16px; }
  .post-job-actions .btn,
  .leave-review-form .btn { min-height: 48px; padding: 14px 24px; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero { padding: 32px 0 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card__body { padding: 14px 16px; }
  .plumber-card__avatar { width: 48px; height: 48px; border-radius: 10px; }
  .plumber-card__actions { flex-direction: column; }
  .plumber-card__actions .btn { width: 100%; justify-content: center; }
  .no-results { padding: 40px 16px; }
  .post-job-main,
  .leave-review-main { padding: 24px 16px; }
  .post-job-form,
  .leave-review-form { padding: 20px; }
  main.container[style*="padding: 64px"] { padding: 40px 16px !important; }
}

/* ===== Company registration (multi-step, HomeShield parity) ===== */
.company-register {
  flex: 1;
  padding: 48px 0 64px;
  background: var(--grey-50);
}

.company-register__inner {
  max-width: 720px;
  margin: 0 auto;
}

.company-register__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 12px;
  text-align: center;
}

.company-register__intro {
  text-align: center;
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.company-register .form-progress {
  max-width: 680px;
  margin: 0 auto 40px;
}

.company-register .form-progress__bar {
  height: 4px;
  background: var(--grey-200);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.company-register .form-progress__fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--blue-900), var(--green-500));
  border-radius: 4px;
  transition: width 0.4s ease;
}

.company-register .form-progress__steps {
  display: flex;
  justify-content: space-between;
}

.company-register .form-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.company-register .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--grey-100);
  color: var(--grey-600);
  border: 2px solid var(--grey-200);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.company-register .step-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: color 0.2s, font-weight 0.2s;
}

.company-register .form-progress__step.active .step-circle {
  background: var(--green-500);
  color: var(--white);
  border-color: var(--green-500);
  box-shadow: 0 2px 12px rgba(0, 182, 122, 0.25);
}

.company-register .form-progress__step.active .step-label {
  color: var(--green-600);
  font-weight: 600;
}

.company-register .form-progress__step.completed .step-circle {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}

.company-register .form-progress__step.completed .step-label {
  color: var(--blue-700);
}

.company-register .app-form {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.company-register .form-step {
  display: none;
  animation: company-register-fade 0.35s ease;
}

.company-register .form-step.active {
  display: block;
}

@keyframes company-register-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.company-register .form-step__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--grey-800);
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-register .form-step__title i {
  color: var(--green-500);
}

.company-register .form-group {
  margin-bottom: 22px;
}

.company-register .form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--grey-800);
}

.company-register .req {
  color: var(--green-600);
}

.company-register .form-hint {
  font-size: 0.82rem;
  color: var(--grey-600);
  margin-bottom: 10px;
  line-height: 1.5;
}

.company-register .form-group input[type="text"],
.company-register .form-group input[type="email"],
.company-register .form-group input[type="tel"],
.company-register .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--grey-800);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  min-height: 0;
}

.company-register .form-group textarea {
  resize: vertical;
  min-height: 88px;
}

.company-register .form-group input:focus,
.company-register .form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(45, 111, 184, 0.12);
}

.company-register .form-group input.error,
.company-register .form-group textarea.error {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.company-register .form-group .form-error {
  display: block;
  font-size: 0.8rem;
  color: var(--red-500);
  margin-top: 6px;
  min-height: 0;
}

.company-register .upload-note {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid #e8d48a;
  border-radius: var(--radius-sm);
  background: #fffbeb;
  color: #7a5600;
  font-size: 0.9rem;
  line-height: 1.6;
}

.company-register .upload-status {
  display: none;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-800);
}

.company-register .upload-status.error {
  display: block;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid var(--red-500);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.company-register .size-alert {
  background: #fef2f2;
  border: 1px solid var(--red-500);
  color: #b91c1c;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

.company-register .file-upload__compressing {
  padding: 12px 0;
  font-size: 0.88rem;
  color: var(--grey-800);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.company-register .file-upload__area {
  border: 2px dashed var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--grey-50);
}

.company-register .file-upload__area:hover {
  border-color: var(--grey-400);
  background: var(--grey-100);
}

.company-register .file-upload__area.dragover {
  border-color: var(--green-500);
  background: var(--green-100);
}

.company-register .file-upload__area.has-files {
  border-color: var(--blue-700);
  border-style: solid;
  background: var(--blue-100);
}

.company-register .file-upload__area i {
  font-size: 1.75rem;
  color: var(--grey-600);
  margin-bottom: 8px;
  display: block;
}

.company-register .file-upload__area p {
  font-size: 0.9rem;
  color: var(--grey-600);
}

.company-register .file-upload__browse {
  color: var(--blue-700);
  font-weight: 600;
  cursor: pointer;
}

.company-register .file-upload__area small {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--grey-400);
}

.company-register .file-upload__preview {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.company-register .file-upload__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
}

.company-register .file-upload__file-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.company-register .file-upload__file-info i {
  color: var(--green-500);
  flex-shrink: 0;
}

.company-register .file-upload__file-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-register .file-upload__file-size {
  color: var(--grey-600);
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-left: 8px;
}

.company-register .file-upload__remove {
  background: none;
  border: none;
  color: var(--blue-700);
  cursor: pointer;
  padding: 4px;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.company-register .file-upload__remove:hover {
  transform: scale(1.15);
}

.company-register .file-upload.has-error .file-upload__area {
  border-color: var(--red-500);
}

.company-register .form-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-200);
  gap: 12px;
}

/* Previous stays left when visible; Next / Submit stay on the right */
.company-register .form-nav #prevBtn {
  margin-right: auto;
}

.company-register .form-nav .btn {
  gap: 8px;
}

.company-register .btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.company-register .btn--loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.company-register .btn--loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: company-register-spin 0.6s linear infinite;
}

.company-register .form-nav .btn--outline.btn--loading::after {
  border: 2.5px solid rgba(28, 75, 130, 0.25);
  border-top-color: var(--blue-700);
}

@keyframes company-register-spin {
  to { transform: rotate(360deg); }
}

.company-register .form-submit-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.company-register .form-submit-overlay.is-active {
  display: flex;
}

.company-register .form-submit-overlay__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--grey-200);
  border-top-color: var(--green-500);
  border-radius: 50%;
  animation: company-register-spin 0.7s linear infinite;
}

.company-register .form-submit-overlay__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--grey-800);
}

.company-register .form-success__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 36px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.company-register .form-success__inner i {
  font-size: 3.5rem;
  color: var(--green-500);
  margin-bottom: 16px;
}

.company-register .form-success__inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue-900);
}

.company-register .form-success__inner p {
  color: var(--grey-600);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .company-register { padding: 32px 0 48px; }
  .company-register__title { font-size: 1.45rem; }
  .company-register .app-form { padding: 28px 20px; }
  .company-register .step-label { display: none; }
  .company-register .form-progress__steps {
    justify-content: center;
    gap: 16px;
  }
  .company-register .form-nav {
    flex-wrap: wrap;
  }
  .company-register .form-nav .btn {
    min-height: 48px;
  }
  .company-register .form-group input,
  .company-register .form-group textarea {
    min-height: 48px;
    padding: 14px 16px;
  }
  .company-register .form-group textarea { min-height: 100px; }
}

/* ===== Trust promo / guarantee banner / claim CTAs ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trust-banner-slot {
  margin-bottom: 24px;
}

.search-main-with-banner .trust-banner-slot {
  margin-top: 8px;
}

/* Home: slim strip directly under site header */
.site-top-cover-notice {
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-200);
  padding: 10px 0;
}

.site-top-cover-notice .trust-banner-slot {
  margin: 0;
}

.site-top-cover-notice .trust-notice-banner--soft {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
}

.trust-notice-banner--soft {
  margin: 0;
  padding: 14px 18px;
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  text-align: center;
}

.trust-notice-banner--soft .trust-notice-banner__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--grey-600);
  margin: 0;
}

.trust-notice-banner--soft a {
  font-weight: 600;
  color: var(--blue-700);
  white-space: nowrap;
}

.trust-notice-banner--soft a:hover {
  color: var(--blue-500);
}

@media (max-width: 480px) {
  .trust-notice-banner--soft a {
    white-space: normal;
  }
}

.profile-cta-card {
  background: var(--grey-100);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--grey-200);
}

.profile-cta-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  margin-bottom: 12px;
}

.profile-cta-card .btn:last-of-type {
  margin-bottom: 0;
}

.profile-cta-card .trust-guarantee-banner {
  margin-top: 16px;
  margin-bottom: 0;
}

.trust-guarantee-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

/* Override .sidebar-card p { color: grey } when banner sits in profile sidebar */
.trust-guarantee-banner p {
  color: var(--white);
}

.trust-guarantee-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
}

.trust-guarantee-banner a:hover {
  color: var(--blue-100);
}

.trust-guarantee-banner__seal {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
}

.trust-guarantee-banner__icon {
  display: block;
}

.trust-guarantee-banner__body {
  min-width: 0;
}

.trust-guarantee-banner__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.trust-guarantee-banner__text {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 10px;
}

.trust-guarantee-banner__links {
  font-size: 0.8rem;
  margin: 0;
}

.trust-guarantee-banner__sep {
  margin: 0 6px;
  opacity: 0.7;
}

@media (max-width: 480px) {
  .trust-guarantee-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trust-guarantee-banner__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
  }

  .trust-guarantee-banner__sep {
    display: none;
  }
}

.trust-customer-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
}

.trust-why h2,
.trust-faq h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--blue-900);
}

.trust-why__list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0;
  color: var(--grey-800);
  line-height: 1.65;
}

.trust-why__list li {
  margin-bottom: 8px;
}

.trust-faq {
  margin-top: 32px;
}

.trust-faq__item {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  padding: 0 14px;
}

.trust-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  color: var(--blue-900);
}

.trust-faq__item summary::-webkit-details-marker {
  display: none;
}

.trust-faq__item summary::after {
  content: "";
  float: right;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg);
  margin-top: 0.35em;
}

.trust-faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.5em;
}

.trust-faq__item p {
  padding: 0 0 14px;
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.trust-final-cta {
  margin-top: 36px;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--grey-100) 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  text-align: center;
}

.trust-final-cta__lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 12px;
}

.trust-final-cta__text {
  color: var(--grey-600);
  max-width: 36rem;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.trust-final-cta__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.leave-review-main .trust-banner-slot,
.contact-main .trust-banner-slot {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
