/* Google Marketing / Business Profile design tokens */
:root {
  --google-blue: #1a73e8;
  --google-blue-hover: #1765cc;
  --google-blue-active: #1557b0;
  --google-blue-light: #e8f0fe;
  --google-blue-icon: #d2e3fc;
  --google-text: #202124;
  --google-text-secondary: #5f6368;
  --google-text-tertiary: #80868b;
  --google-border: #dadce0;
  --google-surface: #f8f9fa;
  --google-surface-alt: #f1f3f4;
  --google-white: #ffffff;
  --max-width: 75rem;
  --nav-height: 4rem;
  --font-display: "Google Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Google Sans Text", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  color: var(--google-text);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.site-nav {
  height: var(--nav-height);
  background: var(--google-white);
  border-bottom: 1px solid var(--google-border);
  transition: box-shadow 0.2s ease;
}

.site-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-height);
}

.site-nav-cta {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 640px) {
  .site-nav-links {
    padding-left: 9rem;
    padding-right: 9rem;
  }

  .site-nav-cta {
    right: 1.5rem;
  }

  .site-footer-nav {
    padding-left: 9rem;
    padding-right: 9rem;
  }

  .site-footer-cta {
    right: 1.5rem;
  }
}

.site-nav.is-scrolled {
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}

.nav-link {
  color: var(--google-text-secondary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--google-text);
}

.nav-link.is-active {
  color: var(--google-blue);
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.site-nav-links::-webkit-scrollbar {
  display: none;
}

@media (max-width: 639px) {
  .site-nav-links .nav-link {
    padding: 0.5rem 0.625rem;
    font-size: 0.8125rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .nav-link-hide-mobile {
    display: none;
  }

  .site-nav-links {
    padding-right: 0;
  }
}

.mobile-apply-fab {
  display: none;
}

@media (max-width: 767px) {
  .mobile-apply-fab {
    display: inline-flex;
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
    z-index: 50;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(60, 64, 67, 0.2), 0 4px 16px rgba(60, 64, 67, 0.12);
  }
}

/* Footer — mirrors sticky nav */
.site-footer {
  background: var(--google-white);
  border-top: 1px solid var(--google-border);
  padding: 0;
}

.site-footer-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--nav-height);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.site-footer-cta {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 1024px) {
  .site-nav-cta {
    right: 2rem;
  }

  .site-footer-cta {
    right: 2rem;
  }
}

.site-footer-divider {
  width: 1px;
  height: 1.25rem;
  background: var(--google-border);
  margin: 0 0.375rem;
  flex-shrink: 0;
}

.site-footer-copy {
  font-size: 0.75rem;
  color: var(--google-text-secondary);
  line-height: 1.5;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid var(--google-border);
}

@media (max-width: 767px) {
  .site-footer {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom));
  }

  .site-footer-bar {
    min-height: auto;
    padding: 1rem 0 0.5rem;
  }

  .site-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0;
  }

  .site-footer-nav .nav-link {
    display: block;
    padding: 0.5rem 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
  }

  .site-footer-divider {
    display: none;
  }

  .site-footer-copy {
    text-align: center;
    font-size: 0.6875rem;
    line-height: 1.5;
    padding: 0.75rem 0.5rem 1rem;
  }
}

/* Legal pages */
.legal-page {
  padding: 2rem 0 3rem;
}

.legal-doc {
  padding: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.legal-doc h1 {
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--google-text);
  margin-bottom: 0.5rem;
}

.legal-doc .legal-updated {
  font-size: 0.875rem;
  color: var(--google-text-secondary);
  margin-bottom: 2rem;
}

.legal-doc h2 {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--google-text);
  margin: 1.75rem 0 0.75rem;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.9375rem;
  color: var(--google-text-secondary);
  line-height: 1.7;
}

.legal-doc p {
  margin-bottom: 1rem;
}

.legal-doc ul {
  margin: 0 0 1rem 1.25rem;
}

.legal-doc li {
  margin-bottom: 0.375rem;
}

.legal-doc a {
  color: var(--google-blue);
  text-decoration: none;
}

.legal-doc a:hover {
  text-decoration: underline;
}

/* Buttons — Google pill style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--google-blue);
  color: var(--google-white);
}

.btn-primary:hover {
  background: var(--google-blue-hover);
  box-shadow: 0 1px 2px rgba(26, 115, 232, 0.4);
}

.btn-primary:active {
  background: var(--google-blue-active);
}

.btn-secondary {
  background: var(--google-white);
  color: var(--google-blue);
  border: 1px solid var(--google-border);
}

.btn-secondary:hover {
  background: var(--google-surface);
  border-color: #bdc1c6;
}

.btn-text {
  background: transparent;
  color: var(--google-blue);
  padding: 0.625rem 1rem;
}

.btn-text:hover {
  background: var(--google-blue-light);
}

.btn-outline {
  background: var(--google-white);
  color: var(--google-blue);
  border: 1px solid var(--google-border);
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  border-radius: 100px;
}

.btn-outline:hover {
  background: var(--google-blue-light);
  border-color: var(--google-blue);
}

/* Cards */
.doc-card {
  background: var(--google-white);
  border: 1px solid var(--google-border);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.doc-card:hover {
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.12);
}

/* Feature icon — Google circular style */
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--google-blue-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.375rem;
  height: 1.375rem;
  color: var(--google-blue);
}

/* Expert rank */
.rank-num {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--google-surface-alt);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--google-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-num--top {
  background: var(--google-blue-light);
  color: var(--google-blue);
}

.geo-score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--google-blue);
  line-height: 1;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--google-blue);
  letter-spacing: normal;
  text-transform: none;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 400;
  color: var(--google-text);
  line-height: 1.2;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 400;
  color: var(--google-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Methodology steps — Google numbered style */
.step-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  text-align: center;
}

.step-card .feature-card-visual {
  border-radius: 0.5rem;
  border: 1px solid var(--google-border);
  object-fit: cover;
}

.step-card .step-number {
  margin-top: 0;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--google-blue);
  color: var(--google-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--google-text-secondary);
  line-height: 1.6;
}

/* Methodology list steps */
.step-item {
  position: relative;
  padding-left: 3rem;
}

.step-item::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--google-blue);
  color: var(--google-white);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-connector {
  position: absolute;
  left: 0.9375rem;
  top: 2.5rem;
  bottom: -2rem;
  width: 1px;
  background: var(--google-border);
}

.step-item:last-child .step-connector {
  display: none;
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--google-border);
  border-radius: 0.25rem;
  background: var(--google-white);
  color: var(--google-text);
  transition: border-color 0.15s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--google-blue);
  box-shadow: 0 0 0 1px var(--google-blue);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--google-text);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--google-text);
  margin-bottom: 0.5rem;
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--google-text);
  margin-bottom: 0.25rem;
}

.form-error {
  font-size: 0.875rem;
  color: #d93025;
  line-height: 1.5;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* FAQ — Google accordion style */
.faq-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-heading .faq-trigger {
  background: none;
  border: none;
  cursor: pointer;
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
}

.faq-panel > div {
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--google-border);
  border-radius: 0 !important;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none !important;
}

.faq-item:first-child {
  border-top: 1px solid var(--google-border);
}

.faq-trigger {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
}

.faq-trigger .faq-chevron {
  transition: transform 0.25s ease;
  color: var(--google-text-secondary);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* Testimonial */
.quote-card {
  background: var(--google-white);
  border: 1px solid var(--google-border);
  border-radius: 0.5rem;
  padding: 2rem;
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--google-text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Icon box for doc cards */
.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--google-blue-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--google-blue);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--google-surface);
  color: var(--google-text-secondary);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA band */
.cta-band {
  background: var(--google-surface);
  border-top: 1px solid var(--google-border);
  border-bottom: 1px solid var(--google-border);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Visual enhancements ── */

.hero-section {
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    text-align: left;
  }
  .hero-grid .hero-content {
    text-align: left;
  }
  .hero-grid .hero-actions {
    justify-content: flex-start;
  }
}

.hero-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(60, 64, 67, 0.12);
  border: 1px solid var(--google-border);
  background: var(--google-white);
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-visual-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--google-border);
  border-radius: 0.75rem;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.1);
}

.hero-visual-badge .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34a853;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--google-border);
}

@media (min-width: 640px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--google-blue);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--google-text-secondary);
  margin-top: 0.25rem;
}

/* Expert cards with avatars */
.expert-card {
  overflow: hidden;
}

.expert-card-header {
  position: relative;
  height: 5rem;
  background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
  margin: -1.5rem -1.5rem 1rem;
}

.expert-card-header img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.expert-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 3px solid var(--google-white);
  object-fit: cover;
  margin-top: -2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.15);
}

/* GEO card with image */
.geo-card-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

/* Scrollable detailed text card */
.geo-detail-card {
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .geo-detail-card {
    padding: 2rem;
  }
}

.geo-detail-card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--google-border);
}

.geo-detail-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--google-text);
  margin: 0;
}

.geo-detail-card-hint {
  font-size: 0.75rem;
  color: var(--google-text-tertiary);
  margin: 0;
}

.geo-detail-card-body {
  max-height: 16rem;
  overflow-y: auto;
  padding-right: 0.75rem;
  font-size: 0.9375rem;
  color: var(--google-text-secondary);
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: var(--google-border) transparent;
}

@media (min-width: 640px) {
  .geo-detail-card-body {
    max-height: 20rem;
  }
}

.geo-detail-card-body:focus {
  outline: none;
}

.geo-detail-card-body:focus-visible {
  outline: 2px solid var(--google-blue);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.geo-detail-card-body::-webkit-scrollbar {
  width: 6px;
}

.geo-detail-card-body::-webkit-scrollbar-thumb {
  background: var(--google-border);
  border-radius: 999px;
}

.geo-detail-card-body::-webkit-scrollbar-thumb:hover {
  background: #bdc1c6;
}

.geo-detail-card-body p {
  margin-bottom: 1rem;
}

.geo-detail-card-body p:last-child {
  margin-bottom: 0;
}

.geo-detail-card-body h4 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--google-text);
  margin: 1.25rem 0 0.5rem;
}

.geo-detail-card-body h4:first-child {
  margin-top: 0;
}

.geo-detail-card-body ul,
.geo-detail-card-body ol {
  margin: 0 0 1rem 1.25rem;
}

.geo-detail-card-body li {
  margin-bottom: 0.375rem;
}

.geo-detail-card-body code {
  font-size: 0.8125rem;
  background: var(--google-surface);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  color: var(--google-text);
}

/* Split section */
.split-section {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.section-visual {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--google-border);
  box-shadow: 0 4px 16px rgba(60, 64, 67, 0.08);
}

.section-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Platform strip */
.platform-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 2rem 0;
  opacity: 0.85;
}

.platform-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--google-text-secondary);
}

.platform-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Testimonial avatars */
.quote-card {
  position: relative;
}

.quote-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 2px solid var(--google-border);
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Feature cards with mini images */
.feature-card-visual {
  width: 100%;
  height: 6rem;
  border-radius: 0.5rem;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Apply section */
.apply-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 40rem;
  margin: 0 auto;
}

.apply-intro {
  text-align: center;
}

/* ── Directory listing cards (Clutch-style) ── */

.listing-header {
  margin-bottom: 1.5rem;
}

.listing-header .section-heading {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  text-align: left;
  margin-bottom: 0.75rem;
}

.listing-header-desc {
  font-size: 0.9375rem;
  color: var(--google-text-secondary);
  line-height: 1.65;
  max-width: 48rem;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--google-border);
  border-bottom: 1px solid var(--google-border);
  margin-bottom: 1.5rem;
}

.listing-count {
  font-size: 0.875rem;
  color: var(--google-text-secondary);
}

.listing-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.listing-sort-label {
  font-size: 0.875rem;
  color: var(--google-text-secondary);
}

.listing-sort-select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--google-text);
  background: var(--google-white);
  border: 1px solid var(--google-border);
  border-radius: 0.25rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.listing-sort-select:focus {
  outline: none;
  border-color: var(--google-blue);
}

.listings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.listing-card {
  background: var(--google-white);
  border: 1px solid var(--google-border);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.06);
  transition: box-shadow 0.2s ease;
  position: relative;
}

.listing-card:hover {
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.1);
}

.listing-card.is-hidden {
  display: none;
}

.listing-inner {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0 1.25rem;
  padding: 1.25rem;
  position: relative;
}

@media (min-width: 640px) {
  .listing-inner {
    grid-template-columns: 5.5rem 1fr;
    padding: 1.5rem;
    gap: 0 1.5rem;
  }
}

.listing-logo {
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--google-border);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--google-text);
  background: var(--google-white);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.1;
  padding: 0.25rem;
}

@media (min-width: 640px) {
  .listing-logo {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 1rem;
  }
}

.listing-logo:has(img) {
  border: none;
  background: transparent;
  border-radius: 50%;
  padding: 0;
}

.listing-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.listing-content {
  min-width: 0;
  padding-right: 2.5rem;
}

.listing-head {
  position: relative;
  margin-bottom: 0.75rem;
}

.listing-score-ring {
  position: absolute;
  top: 0;
  right: -2.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid #7c3aed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--google-text);
  background: var(--google-white);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .listing-score-ring {
    right: -3rem;
    width: 3rem;
    height: 3rem;
    font-size: 1.0625rem;
  }
}

.listing-name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .listing-name {
    font-size: 1.125rem;
  }
}

.listing-name a {
  color: var(--google-blue);
  text-decoration: none;
}

.listing-name a:hover {
  text-decoration: underline;
}

.listing-sep {
  color: var(--google-text-secondary);
  font-weight: 400;
  margin: 0 0.25rem;
}

.listing-company {
  color: var(--google-text);
  font-weight: 500;
}

.listing-tagline {
  font-size: 0.875rem;
  color: var(--google-text-secondary);
  margin-bottom: 0.375rem;
}

.listing-stars {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.625rem;
}

.listing-stars .stars {
  color: #fbbc04;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.listing-reviews {
  font-size: 0.8125rem;
  color: var(--google-text-secondary);
}

.listing-desc {
  font-size: 0.875rem;
  color: var(--google-text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.listing-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .listing-meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
  }
}

.listing-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--google-text-secondary);
  line-height: 1.45;
}

.listing-meta-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--google-text-tertiary);
}

.listing-meta-more {
  color: var(--google-blue);
  font-weight: 500;
}

.listing-website {
  color: var(--google-blue);
  text-decoration: none;
  font-weight: 500;
}

.listing-website:hover {
  text-decoration: underline;
}

.listing-card {
  position: relative;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.listing-card:hover {
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.12);
  border-color: #bdc1c6;
}

.listing-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.listing-card .listing-website,
.listing-card .listing-meta-item a,
.listing-card .listing-name a,
.listing-card .listing-social-card {
  position: relative;
  z-index: 2;
}

.listing-view {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--google-blue);
  margin-top: 0.75rem;
}

.listing-view svg {
  width: 0.875rem;
  height: 0.875rem;
}

.listing-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.listing-social-card {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--google-border);
  border-radius: 0.375rem;
  background: var(--google-white);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--google-text-secondary);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.listing-social-card:hover {
  border-color: #bdc1c6;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.1);
  color: var(--google-text);
}

.listing-social-card svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.listing-social-card--linkedin:hover {
  color: #0a66c2;
  border-color: #0a66c2;
}

.listing-social-card--linkedin svg {
  color: #0a66c2;
}

.listing-social-card--instagram:hover {
  color: #e1306c;
  border-color: #e1306c;
}

.listing-social-card--instagram svg {
  color: #e1306c;
}

/* Mobile: hide nav/footer CTA — FAB used instead (.btn overrides lower-specificity rules) */
@media (max-width: 767px) {
  .site-header .site-nav-cta,
  .site-footer .site-footer-cta {
    display: none !important;
  }
}
