/* ASTAR 澳之星：品牌色與內容區塊樣式 */
:root {
  --astar-blue: #0b5c8a;
  --astar-blue-dark: #083f5f;
  --astar-sun: #f39c12;
  --astar-sand: #f7f3ea;
  --astar-text: #2b2f33;
  /* Olivero 內文用襯線字，中文改用黑體。 */
  --font-serif: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}
.text-content,
.text-content p {
  color: var(--astar-text);
  line-height: 1.8;
}

/* Hero */
.astar-hero {
  margin: 0 0 2.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--astar-blue) 0%, #1789b8 100%);
  color: #fff;
}
.astar-hero h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.3;
}
.astar-hero p {
  max-width: 40em;
  color: #eaf5fb;
  font-size: 1.1rem;
}

/* Buttons */
.astar-btn,
.text-content a.astar-btn {
  display: inline-block;
  margin: 0.5rem 0.75rem 0 0;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--astar-sun);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}
.astar-btn:hover,
.text-content a.astar-btn:hover {
  background: #d9860a;
  color: #fff;
}
.astar-btn--ghost,
.text-content a.astar-btn--ghost {
  border: 2px solid currentColor;
  background: transparent;
}
.astar-hero .astar-btn--ghost {
  color: #fff;
}

/* Section titles */
.astar-section {
  margin: 0 0 3rem;
}
.astar-section > h2 {
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  border-left: 5px solid var(--astar-sun);
  color: var(--astar-blue-dark);
}

/* Cards */
.astar-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.astar-card {
  overflow: hidden;
  border: 1px solid #e3e8ec;
  border-radius: 10px;
  background: #fff;
}
.astar-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.astar-card__body {
  padding: 1rem 1.25rem 1.25rem;
}
.astar-card h3 {
  margin: 0 0 0.5rem;
  color: var(--astar-blue);
}
.astar-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}
.astar-card a.astar-more {
  color: var(--astar-blue);
  font-weight: 700;
}

/* Feature list (why us / steps) */
.astar-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.astar-features li {
  margin: 0;
  padding: 1.25rem;
  border-radius: 10px;
  background: var(--astar-sand);
}
.astar-features strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--astar-blue-dark);
  font-size: 1.1rem;
}
ol.astar-steps {
  counter-reset: step;
}
ol.astar-steps li {
  counter-increment: step;
}
ol.astar-steps li strong::before {
  content: counter(step) ". ";
  color: var(--astar-sun);
}

/* CTA band */
.astar-cta {
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: var(--astar-sand);
  text-align: center;
}
.astar-cta h2 {
  margin-top: 0;
  color: var(--astar-blue-dark);
}

/* FAQ */
.astar-faq details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid #e3e8ec;
  border-radius: 8px;
}
.astar-faq summary {
  color: var(--astar-blue-dark);
  font-weight: 700;
  cursor: pointer;
}

/* Footer contact block */
.astar-footer-contact p {
  margin: 0.25rem 0;
}

/* Floating consult button on small screens */
.astar-float-cta {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--astar-sun);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.astar-float-cta:hover {
  color: #fff;
}
@media (min-width: 75rem) {
  .astar-float-cta {
    display: none;
  }
}
