:root {
  --bg: #f6f7fb;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #5b6472;
  --primary: #2f6bff;
  --primary-2: #38c7b6;
  --accent: #ffb04a;
  --ring: rgba(47, 107, 255, 0.22);
  --radius: 20px;
  --shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  --page-max: 1080px;
  --hero-bg: url('/assets/pexels-rickyrecap-1720086.jpg');
}

 .site-header {
   position: sticky;
   top: 0;
   z-index: 50;
   backdrop-filter: saturate(180%) blur(22px);
   background: rgba(255, 255, 255, 0.38);
   border-bottom: 1px solid rgba(15, 23, 42, 0.06);
   box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
 }

 .header-inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 16px;
   max-width: var(--page-max);
   margin: 0 auto;
   padding: 12px 24px;
 }

 .logo-link {
   display: inline-flex;
   align-items: center;
   text-decoration: none;
   color: inherit;
 }

 .logo {
   width: 38px;
   height: 38px;
   border-radius: 12px;
   background: linear-gradient(135deg, var(--primary), var(--primary-2));
   display: grid;
   place-items: center;
   color: #fff;
   box-shadow: 0 10px 20px rgba(47, 107, 255, 0.22);
   font-size: 11px;
   font-weight: 700;
   letter-spacing: 0.08em;
 }

 .nav {
   display: flex;
   align-items: center;
   gap: 18px;
   font-size: 13px;
 }

 .nav a {
   text-decoration: none;
   color: var(--ink);
   font-weight: 500;
   letter-spacing: 0.02em;
   padding: 6px 2px;
   transition: color 150ms ease;
 }

 .nav a:hover {
   color: var(--primary);
 }

  @media (max-width: 640px) {
   .header-inner {
     padding: 10px 16px;
   }
 }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', 'Noto Sans SC', sans-serif;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(251, 244, 233, 0.9)),
    radial-gradient(circle at 15% 20%, rgba(47, 107, 255, 0.25), transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(255, 176, 74, 0.22), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(43, 191, 168, 0.18), transparent 50%),
    url('https://upload.wikimedia.org/wikipedia/commons/5/5e/High_angle_view_of_Guanajuato_city.jpg') center/cover fixed;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.6;
  animation: drift 26s ease-in-out infinite;
}

body::before {
  top: -200px;
  right: -140px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 70%);
}

body::after {
  bottom: -220px;
  left: -140px;
  background: radial-gradient(circle, rgba(255, 176, 74, 0.3), transparent 70%);
  animation-delay: -12s;
}

.page {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 48px 24px 80px;
  animation: fadeUp 520ms ease both;
}

.home .page {
  max-width: none;
  padding: 0;
}

.page-section {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  padding: 42px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.12);
}

.home .hero {
  width: 100%;
  margin: 0;
  border-radius: 0;
  padding: clamp(32px, 6vw, 72px);
  min-height: calc(100vh - 72px);
  box-shadow: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-bg) center/cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.02);
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(250, 250, 250, 0.92), rgba(250, 250, 250, 0.75) 45%, rgba(250, 250, 250, 0.55));
  z-index: 1;
}

.home .hero::after {
  background: linear-gradient(120deg, rgba(9, 14, 26, 0.82), rgba(9, 14, 26, 0.68) 45%, rgba(9, 14, 26, 0.55));
}

.home .hero {
  color: #f8fafc;
}

.home .hero h1 {
  color: #f8fafc;
  font-size: clamp(52px, 6.5vw, 86px);
  line-height: 1.05;
  margin-top: 14px;
}

.home .hero .muted {
  color: rgba(248, 250, 252, 0.78);
}

.home .hero .eyebrow {
  color: rgba(226, 232, 240, 0.9);
}

.home .hero .btn.ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

.home .hero .btn.primary {
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.35);
}

.home .hero-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.25);
  color: var(--ink);
}

.home .hero-card h2,
.home .hero-card p,
.home .hero-card .metric strong,
.home .hero-card .metric span {
  color: var(--ink);
}

.home .hero-card .metric span {
  color: rgba(15, 20, 42, 0.7);
}

.home .hero-card .muted,
.home .hero-card .note {
  color: rgba(15, 20, 42, 0.7);
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0;
}

.hero-lede {
  color: rgba(15, 20, 42, 0.8);
  font-size: 18px;
  line-height: 1.8;
  max-width: 32ch;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  border-radius: 32px;
  border: 1px solid rgba(36, 20, 15, 0.1);
  box-shadow: 0 24px 60px rgba(36, 20, 15, 0.18);
  padding: 28px;
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  background: radial-gradient(circle at 80% 20%, rgba(56, 153, 255, 0.2), transparent 60%);
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 176, 74, 0.15);
  border-radius: 999px;
  color: #b45d08;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 176, 74, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  width: fit-content;
  box-shadow: 0 12px 30px rgba(36, 20, 15, 0.12);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.metric strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  font-size: 15px;
  color: rgba(15, 20, 42, 0.65);
}

.hero-meta strong {
  display: block;
  font-size: 28px;
  color: var(--ink);
  font-weight: 700;
}

.companies-page {
  display: grid;
  gap: 32px;
  scroll-margin-top: 90px;
}

.companies-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.companies-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

.companies-summary {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.companies-summary strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.companies-summary span {
  color: rgba(15, 20, 42, 0.65);
  font-size: 14px;
  line-height: 1.5;
}

.city-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.pill:hover {
  transform: translateY(-1px);
  color: var(--primary);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.pill em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: rgba(15, 20, 42, 0.7);
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.city-section {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  scroll-margin-top: 110px;
}

.city-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.city-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.city-body {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.industry-block + .industry-block {
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  padding-top: 14px;
}

.industry-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 3px solid rgba(47, 107, 255, 0.35);
}

.industry-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(15, 20, 42, 0.78);
  letter-spacing: 0.01em;
}

.industry-count {
  font-size: 11px;
  font-weight: 700;
  color: rgba(15, 20, 42, 0.72);
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 6px;
}

.company-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 10px rgba(15, 23, 42, 0.08);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.company-cover {
  position: relative;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-color: rgba(15, 23, 42, 0.2);
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.45);
}

.company-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.36) 45%, rgba(15, 23, 42, 0.18));
  border-radius: inherit;
  pointer-events: none;
}

.company-cover > * {
  position: relative;
  z-index: 1;
}

.company-cover h4 {
  color: #f8fafc;
}

.company-cover .company-desc,
.company-cover .company-contact {
  color: rgba(248, 250, 252, 0.9);
}

.company-link {
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.company-link:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 10px 16px rgba(15, 23, 42, 0.12);
}

.company-card h4 {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
}

.company-desc {
  margin: 0;
  color: rgba(15, 20, 42, 0.76);
  font-size: 9px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-contact {
  font-size: 8.5px;
  color: rgba(15, 20, 42, 0.68);
  margin-top: auto;
}

.company-contact span {
  display: block;
}

@media (min-width: 560px) {
  .company-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .company-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .company-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.company-card.card-yunhai {
  background:
    linear-gradient(140deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.4)),
    url('/assets/pexels-rickyrecap-1720086.jpg') center/cover no-repeat;
  border-color: rgba(15, 23, 42, 0.2);
  color: #f8fafc;
}

.company-card.card-yunhai h4,
.company-card.card-yunhai .company-desc,
.company-card.card-yunhai .company-contact {
  color: #f8fafc;
}

@media (max-width: 640px) {
  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card {
    min-height: 0;
  }
}

.feature-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card {
  background: rgba(15, 20, 42, 0.9);
  color: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 40px rgba(15, 20, 42, 0.2);
  min-height: 180px;
}

.feature-card h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.impact-section {
  margin-top: 64px;
  padding: 48px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(36, 20, 15, 0.08);
  box-shadow: 0 32px 64px rgba(36, 20, 15, 0.1);
}

.impact-heading h3 {
  margin: 8px 0 24px;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.stats-grid article {
  background: #fff;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.stat-value {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.stat-label {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(15, 20, 42, 0.65);
}

.hero-title, .hero-lede, .eyebrow {
  margin: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 18px 36px rgba(47, 107, 255, 0.28);
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.btn:hover {
  transform: translateY(-1px);
}

.contact-card {
  margin: 60px auto 0;
  max-width: 900px;
  background: var(--card);
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 40px 60px rgba(15, 23, 42, 0.12);
  padding: 30px;
}

.contact-card textarea {
  min-height: 96px;
}

.contact-head {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.contact-head h1,
.contact-head h2,
.contact-head p {
  margin: 0;
}

.company-detail {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
  padding: 36px;
  display: grid;
  gap: 28px;
}

.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  --hero-height: 180px;
}

.company-hero-grid--single {
  grid-template-columns: 1fr;
}

.company-hero {
  height: var(--hero-height);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: #0f172a;
  background-image:
    linear-gradient(140deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.65)),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.company-hero-thumbs {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: var(--hero-height);
  position: relative;
}

.company-hero-thumbs::before {
  content: '菜品实拍';
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: rgba(248, 250, 252, 0.95);
  font-size: 11px;
  font-weight: 600;
}

.company-hero-thumb {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: rgba(15, 23, 42, 0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.company-hero-more {
  position: relative;
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  color: #fff;
}

.company-hero-more::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.7));
}

.company-hero-more span,
.company-hero-more em {
  position: relative;
  z-index: 1;
}

.company-hero-more span {
  font-size: 18px;
  font-weight: 700;
}

.company-hero-more em {
  font-style: normal;
  font-size: 12px;
  color: rgba(248, 250, 252, 0.9);
}

.company-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 24px;
  align-items: stretch;
}

.company-detail-title {
  display: flex;
  flex-direction: column;
}

.company-detail-top h1 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.company-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 14px;
  color: rgba(15, 20, 42, 0.7);
}

.company-value-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 4px 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(15, 20, 42, 0.85);
}

.company-value-line span,
.company-value-subline span {
  display: inline-flex;
  align-items: center;
}

.company-value-line span + span::before,
.company-value-subline span + span::before {
  content: '·';
  margin: 0 8px 0 2px;
  color: rgba(15, 20, 42, 0.35);
}

.company-value-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(15, 20, 42, 0.62);
}

.company-value-subline .status {
  font-weight: 600;
}

.company-value-subline .status-open {
  color: #1f8a54;
}

.company-value-subline .status-closed {
  color: #c2410c;
}

.company-value-subline .subtle {
  color: rgba(15, 20, 42, 0.5);
}

.company-source-line {
  margin-bottom: 8px;
}

.company-source-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 20, 42, 0.7);
  font-size: 12px;
  font-weight: 600;
}

.company-detail-contact {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.company-detail-contact h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.action-btn {
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 20, 42, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.22);
}

.action-btn.primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 26px rgba(47, 107, 255, 0.24);
}

.action-btn.disabled {
  color: rgba(15, 20, 42, 0.45);
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.08);
  cursor: not-allowed;
}

.action-meta {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: rgba(15, 20, 42, 0.7);
  margin-top: auto;
}

.action-meta div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.action-meta span {
  color: rgba(15, 20, 42, 0.55);
  font-size: 12px;
}

.action-meta a {
  color: var(--primary);
  text-decoration: none;
  word-break: break-all;
}

.company-detail-body h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.company-detail-body {
  background: rgba(15, 23, 42, 0.02);
  border-radius: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.company-detail-body--inline {
  margin-top: 16px;
}

.company-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.company-summary-list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 20, 42, 0.78);
}

.company-summary-list span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-weight: 600;
  color: rgba(15, 20, 42, 0.7);
  font-size: 12px;
}

.company-summary-list strong {
  font-weight: 600;
  color: rgba(15, 20, 42, 0.9);
}

.company-detail-extra {
  background: rgba(15, 23, 42, 0.03);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.company-detail-extra h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.company-detail-extra p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(15, 20, 42, 0.78);
}

.company-detail-extra.locked {
  background: rgba(15, 23, 42, 0.04);
  border-style: dashed;
}

.company-map {
  background: rgba(15, 23, 42, 0.03);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
}

.company-map h2 {
  margin: 0;
  font-size: 18px;
}

.company-map .map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.company-map .map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-map .map-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.company-map .map-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.company-map .map-meta-block {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: rgba(15, 20, 42, 0.78);
}

.company-map .map-meta-block span {
  color: rgba(15, 20, 42, 0.55);
  font-size: 12px;
}

.company-map .map-meta-block strong {
  font-weight: 600;
  color: rgba(15, 20, 42, 0.9);
}

.company-map .map-meta-address strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.company-map .map-meta-block em {
  font-style: normal;
  color: rgba(15, 20, 42, 0.6);
  font-size: 12px;
}

.company-map .map-review-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

.company-map .map-open {
  font-weight: 600;
}

.company-map .map-open--yes {
  color: #1f8a54;
}

.company-map .map-open--no {
  color: #c2410c;
}

.company-map .map-embed {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.company-map .map-embed iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.company-map .map-toggle {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 6px 12px;
  background: #fff;
  color: rgba(15, 20, 42, 0.8);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.company-map .map-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 6px 12px;
  background: #fff;
  color: rgba(15, 20, 42, 0.8);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: none;
}

.company-map .map-embed.map-embed--expanded {
  position: fixed;
  inset: 24px;
  z-index: 200;
  background: #fff;
  padding: 12px;
  border-radius: 24px;
  box-shadow: 0 40px 70px rgba(15, 23, 42, 0.3);
}

.company-map .map-embed.map-embed--expanded .map-close {
  display: inline-flex;
  z-index: 2;
}

.company-map .map-embed.map-embed--expanded iframe {
  height: 100%;
  border-radius: 16px;
}

body.map-expanded {
  overflow: hidden;
}

.company-action-bar {
  position: sticky;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(6px);
}

.action-pill {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  padding: 10px 16px;
  background: #fff;
  color: rgba(15, 20, 42, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.action-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 42, 0.3);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.action-pill.primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 26px rgba(47, 107, 255, 0.24);
}

.action-pill.disabled {
  color: rgba(15, 20, 42, 0.45);
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.08);
  cursor: not-allowed;
}

.action-pill.is-active {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, #ff6a3d, #ffb400);
}

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

.form-grid--compact {
  gap: 12px;
  margin-top: 0;
}

.field--span-2 {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 6px;
}

label {
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 14px;
  background: #fff;
  outline: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--ring), 0 14px 28px rgba(47, 107, 255, 0.15);
  transform: translateY(-1px);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.note {
  font-size: 13px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.form-actions .note {
  margin: 0;
}

.owner-contact {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  color: rgba(15, 20, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.owner-contact--compact {
  padding: 8px 10px;
}

.owner-contact strong {
  color: rgba(15, 20, 42, 0.9);
}

.owner-copy {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.status {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 600;
}

.status.ok {
  color: var(--primary);
}

.status.error {
  color: #c0392b;
}

.wa-box {
  margin-top: 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(47, 107, 255, 0.06);
  border: 1px solid rgba(47, 107, 255, 0.2);
  display: grid;
  gap: 8px;
}

.wa-box--compact {
  margin-top: 8px;
  padding: 12px;
  gap: 6px;
}

.wa-text {
  font-size: 13px;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.site-footer {
  margin-top: 48px;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  border: 1px solid rgba(36, 20, 15, 0.08);
  box-shadow: 0 24px 60px rgba(36, 20, 15, 0.16);
  backdrop-filter: blur(10px);
  max-width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footer-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--primary);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

.footer-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .companies-hero {
    grid-template-columns: 1fr;
  }

  .home .hero {
    min-height: auto;
  }

  .contact-card {
    padding: 28px;
  }

  .company-detail-top {
    grid-template-columns: 1fr;
  }

  .company-hero-grid {
    grid-template-columns: 1fr;
  }

  .company-hero-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
    height: auto;
  }

  .company-hero-thumb {
    min-height: 90px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 10px 16px;
  }

  .hero-card {
    padding: 22px;
  }

  .contact-card {
    margin-top: 60px;
  }

  .company-detail {
    padding-bottom: 110px;
  }

  .company-action-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 180;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
