/* ═══════════════════════════════════════════════
   夏悅窗飾 首頁 CSS — xy- 前綴獨立命名空間
   ═══════════════════════════════════════════════ */
:root {
  --xy-brand:        #AA7566;
  --xy-brand-light:  #FCCABC;
  --xy-brand-pale:   #FFF4F0;
  --xy-brand-soft:   #F9E4DC;
  --xy-brand-mid:    #D4957F;
  --xy-brand-dark:   #7A4F42;
  --xy-brand-deep:   #4E2E24;
  --xy-cream:        #FFFAF8;
  --xy-white:        #FFFFFF;
  --xy-text:         #2C1A14;
  --xy-text-2:       #6B4840;
  --xy-text-3:       #9E7265;
  --xy-border:       #EBCFC6;
  --xy-shadow:       rgba(170,117,102,0.14);
  --xy-nav-h:        68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', sans-serif;
  background: var(--xy-cream);
  color: var(--xy-text);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--xy-brand-pale); }
::-webkit-scrollbar-thumb { background: var(--xy-brand-light); border-radius: 3px; }

/* ═══════════════════
   TOP BAR
   ═══════════════════ */
.xy-topbar {
  background: var(--xy-brand-deep);
  color: var(--xy-brand-light);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.xy-topbar a { color: var(--xy-brand-light); }
.xy-topbar a:hover { color: #fff; }
.xy-topbar-left { display: flex; gap: 16px; flex-wrap: wrap; }
.xy-topbar-right { display: flex; gap: 14px; align-items: center; }
.xy-topbar-phone {
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.xy-topbar-phone svg { flex-shrink: 0; }

/* ═══════════════════
   NAV
   ═══════════════════ */
.xy-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,250,248,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--xy-border);
  height: var(--xy-nav-h);
  display: flex; align-items: center;
  padding: 0 32px;
}
.xy-nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.xy-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.xy-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--xy-brand), var(--xy-brand-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Noto Serif TC', serif;
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.xy-logo-text { line-height: 1.2; }
.xy-logo-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 17px; font-weight: 600;
  color: var(--xy-brand-deep);
  display: block;
}
.xy-logo-tag {
  font-size: 10px; color: var(--xy-brand);
  letter-spacing: 0.08em;
  display: block;
}
.xy-nav-links {
  display: flex; gap: 2px; list-style: none;
  align-items: center;
}
.xy-nav-links li a {
  padding: 7px 13px;
  font-size: 14px; font-weight: 500;
  color: var(--xy-text-2);
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  display: block;
}
.xy-nav-links li a:hover,
.xy-nav-links li a.xy-active { 
  background: var(--xy-brand-pale); 
  color: var(--xy-brand-dark); 
}
.xy-nav-cta {
  background: var(--xy-brand) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 24px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px var(--xy-shadow);
  transition: background 0.18s, transform 0.14s !important;
}
.xy-nav-cta:hover {
  background: var(--xy-brand-dark) !important;
  transform: translateY(-1px);
}
.xy-nav-hamburger {
  display: none; cursor: pointer;
  background: none; border: none;
  padding: 6px; border-radius: 8px;
}
.xy-nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--xy-brand-dark); border-radius: 2px;
  margin: 5px 0;
  transition: all 0.2s;
}

/* ═══════════════════
   HERO
   ═══════════════════ */
.xy-hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--xy-brand-pale);
}
.xy-hero-bg {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(252,202,188,0.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(234,175,155,0.3) 0%, transparent 60%),
    linear-gradient(160deg, #FFF4F0 0%, #FFFAF8 60%, #FFF0E8 100%);
}
.xy-hero-pattern {
  position: absolute; inset: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 48px, rgba(170,117,102,0.04) 48px, rgba(170,117,102,0.04) 49px),
    repeating-linear-gradient(-45deg, transparent, transparent 48px, rgba(170,117,102,0.04) 48px, rgba(170,117,102,0.04) 49px);
}
.xy-hero-deco {
  position: absolute;
  right: -80px; top: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(170,117,102,0.12);
  pointer-events: none;
}
.xy-hero-deco::before {
  content: '';
  position: absolute; inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(252,202,188,0.25);
}
.xy-hero-deco::after {
  content: '';
  position: absolute; inset: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252,202,188,0.18) 0%, transparent 70%);
}
.xy-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.xy-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--xy-border);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 500;
  color: var(--xy-brand-dark);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
  animation: xy-fadeUp 0.6s ease both;
}
.xy-hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--xy-brand);
  animation: xy-pulse 2s ease infinite;
}
@keyframes xy-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(170,117,102,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(170,117,102,0); }
}
.xy-hero h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--xy-brand-deep);
  margin-bottom: 8px;
  animation: xy-fadeUp 0.7s 0.1s ease both;
}
.xy-hero h2 em {
  font-style: normal;
  color: var(--xy-brand);
  position: relative;
}
.xy-hero h2 em::after {
  content: '';
  position: absolute; bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xy-brand-light), var(--xy-brand));
  border-radius: 2px;
}
.xy-hero-h2 {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--xy-text-2);
  font-weight: 400;
  margin-bottom: 20px;
  animation: xy-fadeUp 0.7s 0.2s ease both;
}
.xy-hero-desc {
  font-size: 15px;
  color: var(--xy-text-3);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 520px;
  animation: xy-fadeUp 0.7s 0.3s ease both;
}
.xy-hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: xy-fadeUp 0.7s 0.4s ease both;
}
.xy-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--xy-brand);
  color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 32px;
  box-shadow: 0 4px 20px var(--xy-shadow);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.xy-btn-primary:hover {
  background: var(--xy-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(170,117,102,0.26);
}
.xy-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--xy-brand-dark);
  font-size: 15px; font-weight: 500;
  padding: 14px 24px;
  border-radius: 32px;
  border: 1.5px solid var(--xy-brand-light);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.xy-btn-outline:hover {
  background: var(--xy-brand-pale);
  border-color: var(--xy-brand);
}
.xy-hero-trust {
  display: flex; gap: 20px; margin-top: 36px; flex-wrap: wrap;
  animation: xy-fadeUp 0.7s 0.5s ease both;
}
.xy-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--xy-text-2);
}
.xy-trust-num {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px; font-weight: 700;
  color: var(--xy-brand);
  line-height: 1;
}
.xy-trust-label { font-size: 11px; color: var(--xy-text-3); }

/* Hero visual panel */
.xy-hero-visual {
  position: relative;
  animation: xy-fadeRight 0.8s 0.2s ease both;
}
@keyframes xy-fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
.xy-hero-card-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(170,117,102,0.2);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--xy-brand-light) 0%, var(--xy-brand-soft) 50%, #EAC0AC 100%);
  display: flex; align-items: center; justify-content: center;
}
.xy-hero-card-inner {
  text-align: center;
  padding: 32px;
}
.xy-hero-illus {
  margin: 0 auto 16px;
}
.xy-hero-illus svg { width: 160px; height: auto; }
.xy-hero-card-title {
  font-family: 'Noto Serif TC', serif;
  font-size: 22px; font-weight: 700;
  color: var(--xy-brand-deep);
  margin-bottom: 6px;
}
.xy-hero-card-sub {
  font-size: 13px; color: var(--xy-brand-dark);
}
.xy-hero-float {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 6px 24px rgba(170,117,102,0.18);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--xy-brand-dark);
  font-weight: 500;
}
.xy-hero-float-1 { left: -20px; top: 24px; }
.xy-hero-float-2 { right: -16px; bottom: 40px; }
.xy-hero-float svg { flex-shrink: 0; }

@keyframes xy-fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════
   SECTION COMMON
   ═══════════════════ */
.xy-section { padding: 80px 32px; }
.xy-section-inner { max-width: 1200px; margin: 0 auto; }
.xy-section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--xy-brand);
  margin-bottom: 12px;
}
.xy-section-label::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--xy-brand-light);
  border-radius: 1px;
}
.xy-section-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; color: var(--xy-brand-deep);
  line-height: 1.4; margin-bottom: 14px;
}
.xy-section-desc {
  font-size: 15px; color: var(--xy-text-2);
  line-height: 1.85; max-width: 600px;
}

/* ═══════════════════
   FEATURES / WHY US
   ═══════════════════ */
.xy-why { background: var(--xy-white); }
.xy-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.xy-why-card {
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--xy-brand-pale);
  border: 1px solid var(--xy-border);
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
  overflow: hidden;
}
.xy-why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--xy-brand-light), var(--xy-brand));
  opacity: 0;
  transition: opacity 0.22s;
}
.xy-why-card:hover {
  box-shadow: 0 8px 32px var(--xy-shadow);
  transform: translateY(-4px);
}
.xy-why-card:hover::before { opacity: 1; }
.xy-why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--xy-brand-light), var(--xy-brand-soft));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--xy-brand-dark);
}
.xy-why-card h3 {
  font-size: 16px; font-weight: 600;
  color: var(--xy-brand-deep);
  margin-bottom: 8px;
}
.xy-why-card p {
  font-size: 13.5px; color: var(--xy-text-3);
  line-height: 1.75;
}

/* ═══════════════════
   PRODUCTS
   ═══════════════════ */
.xy-products { background: var(--xy-cream); }
.xy-products-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 42px; gap: 20px; flex-wrap: wrap;
}
.xy-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.xy-prod-card {
  border-radius: 16px;
  background: var(--xy-white);
  border: 1px solid var(--xy-border);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: pointer;
}
.xy-prod-card:hover {
  box-shadow: 0 8px 30px var(--xy-shadow);
  transform: translateY(-3px);
}
.xy-prod-thumb {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.xy-prod-body { padding: 16px 16px 18px; }
.xy-prod-body h3 {
  font-size: 15px; font-weight: 600;
  color: var(--xy-brand-deep); margin-bottom: 5px;
}
.xy-prod-body p {
  font-size: 12.5px; color: var(--xy-text-3); line-height: 1.65;
}
.xy-prod-tag {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  background: var(--xy-brand-pale);
  color: var(--xy-brand-dark);
  border-radius: 10px;
  padding: 2px 9px;
  margin-top: 9px;
}

/* ═══════════════════
   ENGINEERING / 工程
   ═══════════════════ */
.xy-engineering { background: var(--xy-brand-deep); color: #fff; }
.xy-engineering .xy-section-label { color: var(--xy-brand-light); }
.xy-engineering .xy-section-label::before { background: rgba(252,202,188,0.4); }
.xy-engineering .xy-section-title { color: #fff; }
.xy-engineering .xy-section-desc { color: rgba(255,255,255,0.7); }
.xy-eng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.xy-eng-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(252,202,188,0.18);
  border-radius: 16px;
  padding: 26px 22px;
  transition: background 0.22s, border-color 0.22s;
  display: flex; align-items: flex-start; gap: 14px;
}
.xy-eng-card:hover {
  background: rgba(252,202,188,0.1);
  border-color: rgba(252,202,188,0.4);
}
.xy-eng-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(252,202,188,0.3), rgba(170,117,102,0.3));
  display: flex; align-items: center; justify-content: center;
  color: var(--xy-brand-light); flex-shrink: 0;
  font-size: 20px;
}
.xy-eng-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.xy-eng-body p  { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.65; }

/* ═══════════════════
   GEO / 服務區域
   ═══════════════════ */
.xy-geo { background: var(--xy-white); }
.xy-geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.xy-geo-card {
  border-radius: 18px;
  border: 1.5px solid var(--xy-border);
  padding: 28px 24px;
  background: var(--xy-cream);
  position: relative; overflow: hidden;
  transition: box-shadow 0.22s;
}
.xy-geo-card:hover { box-shadow: 0 8px 28px var(--xy-shadow); }
.xy-geo-num {
  position: absolute; top: 16px; right: 18px;
  font-family: 'Noto Serif TC', serif;
  font-size: 48px; font-weight: 700;
  color: var(--xy-border); line-height: 1;
  pointer-events: none;
}
.xy-geo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--xy-brand);
  margin-bottom: 14px;
  box-shadow: 0 0 0 4px var(--xy-brand-light);
}
.xy-geo-card h3 {
  font-size: 18px; font-weight: 700;
  color: var(--xy-brand-deep); margin-bottom: 8px;
}
.xy-geo-card p {
  font-size: 13.5px; color: var(--xy-text-2); line-height: 1.7;
  margin-bottom: 14px;
}
.xy-geo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.xy-geo-tag {
  font-size: 12px; padding: 3px 11px;
  border-radius: 14px;
  background: var(--xy-brand-pale);
  color: var(--xy-brand-dark);
  border: 1px solid var(--xy-border);
}

/* ═══════════════════
   PROCESS / 流程
   ═══════════════════ */
.xy-process { background: var(--xy-brand-pale); }
.xy-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 50px;
  position: relative;
}
.xy-process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--xy-brand-light), var(--xy-brand), var(--xy-brand-light));
  z-index: 0;
}
.xy-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 1;
  padding: 0 8px;
}
.xy-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--xy-white);
  border: 2.5px solid var(--xy-brand-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif TC', serif;
  font-size: 22px; font-weight: 700;
  color: var(--xy-brand);
  margin-bottom: 16px;
  box-shadow: 0 4px 14px var(--xy-shadow);
  transition: background 0.2s, border-color 0.2s;
}
.xy-step:hover .xy-step-num {
  background: var(--xy-brand);
  border-color: var(--xy-brand);
  color: #fff;
}
.xy-step h4 {
  font-size: 14px; font-weight: 600;
  color: var(--xy-brand-deep); margin-bottom: 6px;
}
.xy-step p { font-size: 12px; color: var(--xy-text-3); line-height: 1.65; }

/* ═══════════════════
   TESTIMONIALS
   ═══════════════════ */
.xy-reviews { background: var(--xy-white); }
.xy-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.xy-review-card {
  border-radius: 16px;
  background: var(--xy-cream);
  border: 1px solid var(--xy-border);
  padding: 24px 22px;
  transition: box-shadow 0.22s;
}
.xy-review-card:hover { box-shadow: 0 6px 24px var(--xy-shadow); }
.xy-review-stars {
  display: flex; gap: 3px; margin-bottom: 12px;
  color: #E8A87C;
}
.xy-review-text {
  font-size: 14px; color: var(--xy-text-2);
  line-height: 1.8; margin-bottom: 16px;
}
.xy-review-author {
  display: flex; align-items: center; gap: 10px;
}
.xy-review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--xy-brand-light), var(--xy-brand-soft));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--xy-brand-dark); font-weight: 600;
}
.xy-review-name { font-size: 13px; font-weight: 500; color: var(--xy-brand-dark); }
.xy-review-loc  { font-size: 11px; color: var(--xy-text-3); }

/* ═══════════════════
   CTA BANNER
   ═══════════════════ */
.xy-cta {
  background: linear-gradient(135deg, var(--xy-brand) 0%, var(--xy-brand-dark) 100%);
  color: #fff;
  padding: 72px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.xy-cta::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.xy-cta::after {
  content: '';
  position: absolute; bottom: -80px; left: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.xy-cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.xy-cta h2 {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700; margin-bottom: 14px;
}
.xy-cta p { font-size: 16px; opacity: 0.88; margin-bottom: 32px; line-height: 1.75; }
.xy-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.xy-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  color: var(--xy-brand-dark);
  font-size: 15px; font-weight: 600;
  padding: 14px 28px;
  border-radius: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  transition: transform 0.15s, box-shadow 0.2s;
}
.xy-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }
.xy-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 15px; font-weight: 500;
  padding: 14px 24px;
  border-radius: 32px;
  border: 1.5px solid rgba(255,255,255,0.45);
  transition: background 0.18s, border-color 0.18s;
}
.xy-btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* ═══════════════════
   FOOTER
   ═══════════════════ */
.xy-footer {
  background: var(--xy-brand-deep);
  color: rgba(255,255,255,0.82);
  padding: 60px 32px 0;
}
.xy-footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.xy-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(252,202,188,0.15);
}
.xy-footer-brand .xy-logo-name { color: var(--xy-brand-light); font-size: 20px; }
.xy-footer-brand .xy-logo-tag  { color: rgba(252,202,188,0.6); }
.xy-footer-brand .xy-logo-icon {
  background: linear-gradient(135deg, var(--xy-brand), var(--xy-brand-light));
}
.xy-footer-brand-desc {
  font-size: 13px; line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-top: 14px; margin-bottom: 20px;
}
.xy-footer-contact-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 8px; line-height: 1.6;
}
.xy-footer-contact-item a { color: var(--xy-brand-light); }
.xy-footer-contact-item a:hover { color: #fff; }
.xy-footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--xy-brand-light); }
.xy-footer-col-title {
  font-size: 13px; font-weight: 600;
  color: var(--xy-brand-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(252,202,188,0.2);
}
.xy-footer-links { list-style: none; }
.xy-footer-links li { margin-bottom: 9px; }
.xy-footer-links li a {
  font-size: 13.5px; color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.xy-footer-links li a:hover { color: var(--xy-brand-light); }
.xy-footer-locations li {
  font-size: 12.5px; color: rgba(255,255,255,0.55);
  margin-bottom: 9px; line-height: 1.55;
  padding-left: 12px; position: relative;
}
.xy-footer-locations li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--xy-brand-light);
}

/* Footer social / QR panel */
.xy-footer-social-panel {
  display: flex; flex-direction: column; gap: 18px;
}
.xy-footer-social-title {
  font-size: 13px; font-weight: 600;
  color: var(--xy-brand-light);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(252,202,188,0.2);
}
.xy-qr-box {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(252,202,188,0.15);
  border-radius: 14px;
  padding: 12px 14px;
}
.xy-qr-img {
  width: 72px; height: 72px; flex-shrink: 0;
  border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.xy-qr-img svg { width: 64px; height: 64px; }
.xy-qr-info { flex: 1; }
.xy-qr-info strong {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--xy-brand-light); margin-bottom: 3px;
}
.xy-qr-info span { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.55; display: block; }

.xy-social-icons {
  display: flex; gap: 10px; margin-top: 6px;
}
.xy-social-btn {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(252,202,188,0.2);
  border-radius: 10px;
  padding: 9px 14px;
  color: rgba(255,255,255,0.7);
  font-size: 12px; font-weight: 500;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
}
.xy-social-btn:hover {
  background: rgba(252,202,188,0.15);
  color: #fff;
  border-color: rgba(252,202,188,0.45);
}
.xy-social-note { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* Footer bottom */
.xy-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding: 20px 0;
  font-size: 12px; color: rgba(255,255,255,0.35);
}
.xy-footer-bottom a { color: rgba(252,202,188,0.6); }
.xy-footer-bottom a:hover { color: var(--xy-brand-light); }

/* ═══════════════════
   FLOATING CTA
   ═══════════════════ */
.xy-float-cta {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-end;
}
.xy-float-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 32px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer; white-space: nowrap;
}
.xy-float-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.26); }
.xy-float-phone {
  background: var(--xy-brand);
  color: #fff;
}
.xy-float-line {
  background: #06C755;
  color: #fff;
}

/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */
@media (max-width: 1024px) {
  .xy-why-grid      { grid-template-columns: repeat(2, 1fr); }
  .xy-products-grid { grid-template-columns: repeat(2, 1fr); }
  .xy-process-steps { grid-template-columns: repeat(3, 1fr); }
  .xy-process-steps::before { display: none; }
  .xy-footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .xy-hero-inner    { grid-template-columns: 1fr; gap: 40px; }
  .xy-hero-visual   { display: none; }
  .xy-eng-grid      { grid-template-columns: repeat(2, 1fr); }
  .xy-geo-grid      { grid-template-columns: 1fr; }
  .xy-reviews-grid  { grid-template-columns: 1fr; }
  .xy-nav-links     { display: none; }
  .xy-nav-hamburger { display: flex; flex-direction: column; }
  .xy-process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .xy-section      { padding: 52px 16px; }
  .xy-why-grid     { grid-template-columns: 1fr; }
  .xy-products-grid{ grid-template-columns: 1fr; }
  .xy-eng-grid     { grid-template-columns: 1fr; }
  .xy-process-steps{ grid-template-columns: 1fr; }
  .xy-footer-grid  { grid-template-columns: 1fr; }
  .xy-topbar       { justify-content: center; font-size: 11px; }
  .xy-float-cta    { bottom: 14px; right: 14px; }
  .xy-hero-actions { flex-direction: column; }
  .xy-hero-trust   { gap: 12px; }
}

.xy-footer-locations {
  list-style: none;  /* 去掉預設的項目符號 */
  padding-left: 0;   /* 可選：移除左側內縮 */
  margin: 0;         /* 可選：移除外距 */
}