:root {
  --green: #7C9473;
  --brown: #A86F4D;
  --sand: #B5A273;
  --apricot: #E3C9A7;
  --sage: #6E8E82;
  --text: #4A4A43;
  --text-light: #7A7A70;
  --bg: #F5F2E9;
  --white: #FFFDF8;
  --shadow-sm: 0 2px 8px rgba(74, 74, 67, 0.06);
  --shadow-md: 0 4px 16px rgba(74, 74, 67, 0.08);
  --radius: 16px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(124, 148, 115, 0.08) 0%, transparent 60%), var(--bg);
}

.hero-back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--sage);
  margin-bottom: 2rem;
  transition: color var(--transition);
}

.hero-back:hover {
  color: var(--green);
}

.hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin: 0.25rem 0 1rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.branches {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 1.5rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.branch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(74, 74, 67, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

a.branch-card {
  cursor: pointer;
}

a.branch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(124, 148, 115, 0.25);
}

.branch-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.branch-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.branch-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.branch-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  margin-top: 0.75rem;
  align-self: flex-start;
}

.badge-online {
  background: rgba(124, 148, 115, 0.12);
  color: var(--green);
}

.badge-planning {
  background: rgba(181, 162, 115, 0.12);
  color: var(--sand);
}

.badge-exploring {
  background: rgba(110, 142, 130, 0.12);
  color: var(--sage);
}

.branch-online {
  border-left: 3px solid var(--green);
}

.branch-planning {
  border-left: 3px solid var(--sand);
  opacity: 0.85;
}

.branch-exploring {
  border-left: 3px solid var(--sage);
  opacity: 0.75;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(74, 74, 67, 0.08);
}

.site-footer a {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 2rem 1rem 1.5rem;
  }
}
