/* ============================================================
   SkyClean — Layout Sections
   ============================================================ */

/* ---------- Mobile Contact Bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mobile-bar-h);
  z-index: var(--z-mobile-bar);
  background: var(--white);
  box-shadow: var(--shadow-bar);
  padding: 8px 12px;
  gap: 10px;
}

.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.mobile-bar__btn--call {
  background: var(--gray);
  color: var(--text);
}

.mobile-bar__btn--wa {
  background: #25d366;
  color: var(--white);
}

.mobile-bar__btn:active {
  transform: scale(0.97);
}

.mobile-bar__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .mobile-bar {
    display: flex;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  transition: background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    backdrop-filter var(--duration) var(--ease),
    top var(--duration) var(--ease);
}

@media (max-width: 900px) {
  .site-header {
    top: var(--mobile-bar-h);
  }
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  transition: color var(--duration) var(--ease);
  justify-self: start;
  min-width: 0;
}

.logo__name {
  font-size: clamp(0.92rem, 2.6vw, 1.28rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .logo__name {
    font-size: clamp(1.02rem, 4.2vw, 1.22rem);
  }
}

body[data-page='home'] .site-header:not(.is-scrolled) .logo,
body[data-page='home'] .site-header:not(.is-scrolled) .nav__link,
body[data-page='home'] .site-header:not(.is-scrolled) .nav-toggle {
  color: var(--text);
}

.site-header.is-scrolled .logo,
.site-header.is-solid .logo {
  color: var(--text);
}

.logo__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.logo__mark svg {
  width: 20px;
  height: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  justify-self: center;
}

.nav__link {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-block: 4px;
  transition: color var(--duration) var(--ease);
}

.site-header.is-scrolled .nav__link,
.site-header.is-solid .nav__link {
  color: var(--text-muted);
}

.nav__link:hover,
.site-header.is-scrolled .nav__link:hover {
  color: var(--accent);
}

.nav__link.is-active {
  color: var(--accent) !important;
}

.nav__link.is-active::after {
  width: 100%;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--duration) var(--ease);
}

.nav__link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--white);
  justify-self: end;
}

.site-header.is-scrolled .nav-toggle,
.site-header.is-solid .nav-toggle {
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

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

  .nav {
    display: none;
    position: fixed;
    top: calc(var(--mobile-bar-h) + var(--header-h));
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-5);
    box-shadow: var(--shadow-md);
    z-index: var(--z-nav);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    color: var(--text) !important;
    font-size: var(--fs-lg);
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .logo {
    color: var(--text);
  }

  .site-header:not(.is-scrolled) {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
  }

  .nav-toggle {
    color: var(--text);
  }
}

/* ---------- Hero（flyer 風格） ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: min(92vh, 900px);
  min-height: min(92dvh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.75rem) clamp(1.15rem, 4vw, 2.5rem) 7.5rem;
  overflow: visible;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(114, 212, 247, 0.35), transparent 60%),
    linear-gradient(180deg, #eaf7fd 0%, #f4fbfe 42%, #ffffff 100%);
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--mobile-bar-h) + var(--header-h) + 1.5rem);
    padding-bottom: 6.5rem;
    min-height: calc(88vh - var(--mobile-bar-h));
    min-height: calc(88dvh - var(--mobile-bar-h));
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin-inline: auto;
}

.hero__fly {
  color: #1b4f8a;
  font-size: clamp(1.75rem, 4.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 6px rgba(27, 79, 138, 0.18);
}

.hero__slogan {
  max-width: none;
  margin: 0 auto 0.35rem;
  color: #1b4f8a;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.35;
}

.hero__jump {
  max-width: none;
  margin: 0 auto 0.9rem;
  color: #2a5f96;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-shadow: none;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  margin: 0 auto 1.15rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: #1b4f8a;
  color: #fff;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hero__flyer {
  width: min(560px, 100%);
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(27, 79, 138, 0.14);
  background: transparent;
}

.hero__flyer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.hero__photo {
  width: min(640px, 100%);
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(27, 79, 138, 0.16);
  background: #dff7ff;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 0;
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: center;
  margin-top: 0.5rem;
  width: 100%;
}

.hero__actions .btn--lg {
  flex: 1 1 0;
  padding: 1.2rem 1.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 0;
  min-height: 3.4rem;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .hero__actions {
    gap: 10px;
    max-width: min(560px, 100%);
    margin-inline: auto;
  }

  .hero__actions .btn--lg {
    padding: 1.25rem 0.85rem;
    font-size: 1.12rem;
    min-height: 3.55rem;
  }
}

/* Floating info cards */
.hero-cards {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(920px, calc(100% - 2rem));
  pointer-events: auto;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 0.85rem 0.9rem;
  text-align: left;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--duration) var(--ease);
}

.hero-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.hero-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: var(--secondary);
  color: var(--accent);
}

.hero-card__icon svg {
  width: 14px;
  height: 14px;
}

.hero-card__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}

.hero-card__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-spacer {
  position: relative;
  z-index: 2;
  height: 72px;
}

.hero-spacer + .section {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .hero__flyer {
    border-radius: 14px;
  }

  .hero__photo {
    border-width: 3px;
    border-radius: 14px;
  }

  .hero-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-card {
    padding: 0.85rem 0.7rem;
  }

  .hero-card__value {
    font-size: 1.15rem;
  }

  .hero-spacer {
    height: 118px;
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow-md);
}

.about__media::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 12px;
  bottom: -10px;
  width: 3px;
  background: var(--accent);
  z-index: -1;
  opacity: 0.85;
}

.about__text .section__eyebrow {
  text-align: left;
  padding-left: 0;
  border: none;
  margin-bottom: 0.35rem;
}

.about__text h2 {
  margin-bottom: var(--space-4);
  font-size: var(--fs-3xl);
  max-width: 12em;
}

.about__text p {
  margin-bottom: var(--space-3);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.75;
  max-width: 36em;
  color: var(--text);
}

.about__text p:last-of-type {
  margin-bottom: var(--space-5);
}

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

  .about__media {
    order: -1;
  }

  .about__media::after {
    display: none;
  }
}

/* ---------- Services zigzag ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.service-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-row--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-row--reverse .service-row__media {
  order: 2;
}

.service-row__media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  box-shadow: none;
  transition: opacity var(--duration) var(--ease);
  background: var(--secondary);
}

.service-row:hover .service-row__media img {
  transform: none;
  opacity: 0.94;
}

.service-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--secondary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-3);
  color: var(--accent);
}

.service-row__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.service-row__en {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.service-row__title {
  margin-bottom: var(--space-3);
  font-size: var(--fs-xl);
}

.service-row__desc {
  margin-bottom: var(--space-4);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.75;
  max-width: 36em;
  color: var(--text);
}

@media (max-width: 800px) {
  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
  }

  .service-row--reverse .service-row__media {
    order: 0;
  }
}

/* ---------- Why Us cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--border);
  transition: border-color var(--duration) var(--ease);
}

.why-card:hover {
  transform: none;
  box-shadow: none;
  border-color: #c5d5e0;
}

.why-card__img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
}

.why-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  transition: none;
}

.why-card:hover .why-card__img img {
  transform: none;
}

.why-card__body {
  padding: 1.15rem 1.15rem 1.25rem;
}

.why-card__body h3 {
  margin-bottom: 0.4rem;
  font-size: var(--fs-md);
}

.why-card__body p {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.7;
  max-width: none;
  color: var(--text);
}

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

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

/* ---------- Stats / Counters ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.5rem;
  text-align: left;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1.75rem;
}

.stat-item__value {
  font-family: var(--font-display);
  font-size: var(--fs-stat);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.45rem;
}

.stat-item__label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: none;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
}

/* ---------- Cases Masonry ---------- */
.masonry {
  columns: 3;
  column-gap: 16px;
}

.masonry__item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.masonry__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center;
  transition: transform var(--duration-slow) var(--ease);
  background: var(--secondary);
}

/* 成功案例顯示完整原圖，不做裁切 */
.masonry__item--tall img,
.masonry__item--large img,
.masonry__item--wide img,
.masonry__item--normal img {
  aspect-ratio: auto;
  object-fit: contain;
}

.masonry__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(36, 55, 70, 0.75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  border-radius: var(--radius);
  color: var(--white);
}

.masonry__item:hover .masonry__overlay {
  opacity: 1;
}

.masonry__item:hover img {
  transform: scale(1.04);
}

.masonry__cat {
  font-size: var(--fs-xs);
  opacity: 0.8;
  margin-bottom: 4px;
}

.masonry__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--white);
}

@media (max-width: 900px) {
  .masonry {
    columns: 2;
  }
}

@media (max-width: 500px) {
  .masonry {
    columns: 1;
  }
}

/* ---------- Testimonials Carousel ---------- */
.carousel {
  position: relative;
  max-width: 800px;
  margin-inline: auto;
}

.carousel__track-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.carousel__slide {
  min-width: 100%;
  padding: 0 4px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: none;
  border: 1px solid var(--border);
  text-align: left;
}

.testimonial-card__stars {
  color: #d4a017;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: var(--space-3);
}

.testimonial-card__text {
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: var(--space-4);
  font-style: normal;
  max-width: none;
}

.testimonial-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text);
}

.testimonial-card__company {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: var(--space-6);
}

.carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.carousel__btn:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__dots {
  display: flex;
  gap: 8px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--duration) var(--ease), width var(--duration) var(--ease);
}

.carousel__dot.is-active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ---------- Process horizontal cards ---------- */
.process-scroll {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.process-card {
  background: transparent;
  border-radius: 0;
  padding: 0 0.5rem 0 0;
  border: none;
  border-top: 3px solid var(--accent);
  box-shadow: none;
  text-align: left;
  transition: none;
  position: relative;
  padding-top: 1rem;
}

.process-card:hover {
  transform: none;
  box-shadow: none;
}

.process-card__step {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.process-card__illust {
  width: 44px;
  height: 44px;
  margin-inline: 0;
  margin-bottom: var(--space-3);
  border-radius: 8px;
  background: var(--secondary);
  display: grid;
  place-items: center;
  color: var(--accent);
}

.process-card__illust svg {
  width: 28px;
  height: 28px;
}

.process-card__title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}

.process-card__desc {
  font-size: var(--fs-sm);
}

@media (max-width: 1100px) {
  .process-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    gap: 14px;
  }

  .process-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
  }
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  overflow: hidden;
  transition: none;
}

.faq-item.is-open {
  box-shadow: none;
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 1rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: var(--fs-sm);
  color: var(--text);
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform var(--duration) var(--ease);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item__panel-inner {
  padding: 0 0 1rem;
  color: var(--text);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.75;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding-block: clamp(2.75rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(114, 212, 247, 0.35), transparent 60%),
    linear-gradient(180deg, #eaf7fd 0%, #f4fbfe 55%, #ffffff 100%);
  text-align: left;
}

.cta-banner .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cta-banner__title {
  margin-bottom: 0.4rem;
  font-size: var(--fs-3xl);
  color: var(--brand-blue);
}

.cta-banner__desc {
  font-size: var(--fs-sm);
  margin-bottom: 0;
  color: #2a5f96;
  max-width: 28em;
  font-weight: 600;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* ---------- Footer（與首屏同款淺藍漸變 + 深藍字） ---------- */
.site-footer {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(114, 212, 247, 0.32), transparent 60%),
    linear-gradient(180deg, #eaf7fd 0%, #f4fbfe 42%, #ffffff 100%);
  color: #2a5f96;
  padding-top: var(--space-9);
  padding-bottom: var(--space-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: var(--space-8);
}

.footer-brand .logo {
  color: var(--brand-blue);
  margin-bottom: var(--space-4);
}

.footer-brand .logo__name {
  white-space: normal;
  color: var(--brand-blue);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: #2a5f96;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: var(--fs-sm);
  color: #2a5f96;
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-contact li {
  font-size: var(--fs-sm);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #2a5f96;
}

.footer-contact a {
  color: #2a5f96;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(27, 79, 138, 0.14);
  padding-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--fs-xs);
  color: #2a5f96;
}

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

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(36, 55, 70, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: min(1000px, 100%);
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  transition: background var(--duration) var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  text-align: center;
}
