@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

.hero {
  min-height: 100vh;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(40,148,78,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(10,140,176,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 50% 80%, rgba(200,138,16,0.07) 0%, transparent 55%),
    linear-gradient(160deg, #EEF6F1 0%, #F7F4EF 48%, #EDF3F8 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(26,48,96,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-logo-wrap {
  margin-bottom: 40px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7A7672;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: #EBE8E2;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 300;
  color: #1A3060;
  line-height: 1.08;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: center;
}
.hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #28944E, #0A8CB0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 15.5px;
  color: #7A7672;
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.9;
  text-align: center;
}

.hero-branch-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.branch-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  border: 1.5px solid;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: #1A3060;
  color: white;
  padding: 15px 36px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.22s;
  display: inline-block;
}
.btn-primary:hover { background: #1A3E98; }

.btn-ghost {
  background: transparent;
  color: #1A3060;
  padding: 14px 30px;
  border-radius: 8px;
  border: 1.5px solid rgba(26,48,96,0.22);
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: #1A3060;
  background: rgba(26,48,96,0.04);
}

.hero-scroll-hint {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.hero-scroll-hint span {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7A7672;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, #7A7672 0%, transparent 100%);
}

.circle-page {
  min-height: 100vh;
  background: #FAFAF8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 40px;
  position: relative;
}

.circle-page-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.circle-eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7A7672;
  margin-bottom: 14px;
  text-align: center;
}

.circle-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 300;
  color: #1A3060;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 14px;
}
.circle-title em {
  font-style: italic;
  color: #28944E;
}

.circle-sub {
  font-size: 15px;
  color: #7A7672;
  max-width: 500px;
  text-align: center;
  line-height: 1.85;
  margin-bottom: 52px;
}

.circle-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  width: 100%;
}

.wheel-wrap {
  width: 100%;
  max-width: 480px;
  flex-shrink: 0;
  filter: drop-shadow(0 16px 52px rgba(26,48,96,0.13))
          drop-shadow(0 3px 10px rgba(26,48,96,0.07));
}
.wheel-wrap svg { width: 100%; height: auto; display: block; }

.wheel-seg {
  transform-origin: 250px 250px;
  transition: transform 0.36s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}
.wheel-seg:hover { transform: scale(1.032); }

.info-panel {
  flex: 1;
  min-width: 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.panel-default-prompt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  font-style: italic;
  color: #7A7672;
  line-height: 1.4;
  margin-bottom: 10px;
}
.panel-default-hint {
  font-size: 10.5px;
  color: #7A7672;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}

.panel-detail { display: none; }
.panel-detail.visible { display: block; }

.panel-bar { width: 44px; height: 3px; border-radius: 2px; margin-bottom: 18px; }
.panel-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #1A3060;
  line-height: 1;
  margin-bottom: 5px;
}
.panel-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: #7A7672;
  margin-bottom: 16px;
}
.panel-desc { font-size: 14px; color: #7A7672; line-height: 1.9; }
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-top: 18px;
  transition: gap 0.2s;
}
.panel-link:hover { gap: 13px; }
.panel-link svg { flex-shrink: 0; }

.branch-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.b-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}
.b-dot:hover,
.b-dot.active { opacity: 1; transform: scale(1.35); }

.branch-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
  width: 100%;
}
.bc {
  background: white;
  border-radius: 14px;
  padding: 26px 22px;
  border: 1px solid #EBE8E2;
  cursor: pointer;
  transition: box-shadow 0.22s, transform 0.22s;
}
.bc:hover {
  box-shadow: 0 8px 30px rgba(26,48,96,0.08);
  transform: translateY(-3px);
}
.bc-bar { width: 34px; height: 3px; border-radius: 2px; margin-bottom: 13px; }
.bc-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: #1A3060;
  margin-bottom: 7px;
}
.bc-desc { font-size: 13px; color: #7A7672; line-height: 1.8; }

.wj-footer {
  background: linear-gradient(135deg, #EEF6F1 0%, #EDF3F8 100%);
  padding: 36px 40px;
  text-align: center;
  border-top: 1px solid rgba(40,148,78,0.12);
}
.footer-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  color: #1A3060;
  margin-bottom: 6px;
}
.footer-brand span { color: #0A8CB0; font-style: italic; }
.footer-tagline { font-size: 11px; color: #7A7672; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-sindy { font-size: 10px; color: #7A7672; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-sindy a { color: #0A8CB0; text-decoration: none; }

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.34s; }
.d5 { transition-delay: 0.44s; }

.wj-gradient-text {
  background: linear-gradient(90deg, #28944E, #0A8CB0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #28944E;
  display: inline-block;
}

.wj-headline-sub {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 5.2vw, 60px);
  font-weight: 300;
  color: #1A3060;
  line-height: 1.15;
  margin-top: 6px;
  text-align: center;
}

@media (max-width: 820px) {
  .branch-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hero { padding-left: 24px; padding-right: 24px; }
  .hero-headline { font-size: 34px; }
  .circle-page { padding-left: 24px; padding-right: 24px; }
  .wheel-wrap { max-width: 340px; }
  .info-panel { min-width: unset; max-width: 100%; }
}
@media (max-width: 500px) {
  .branch-cards { grid-template-columns: 1fr; }
}