/* ============================================================
   數位代理商網站 — 主樣式表
   主色：深藍 #1a2e4a | 強調：Logo 粉紅 #e94f72 / 藍綠 #178c95 | 底：白 #fff
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2e4a;
  --navy-dark: #0f1e33;
  --logo-teal: #178c95;
  --logo-teal-dark: #0f6970;
  --logo-pink: #e94f72;
  --logo-green: #31a85b;
  --orange:    #e94f72; /* legacy alias: logo pink */
  --orange-dk: #0f6970; /* legacy alias: logo teal dark */
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-500:  #64748b;
  --gray-700:  #334155;
  --text:      #1e293b;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);

  --font-main: 'Noto Sans TC', 'Inter', sans-serif;
  --max-w:     1200px;
  --section-y: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---- Utility ---- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(23,140,149,.35); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-top: 12px;
  max-width: 600px;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-inline: auto; }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo,
.nav-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
}

.logo img,
.nav-logo img {
  display: block;
  height: 54px;
  width: auto;
}
.logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: .08em;
}
.logo-text--footer {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 16px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .2s;
}
.main-nav a:hover { color: var(--navy); }
.nav-phone {
  font-weight: 700 !important;
  color: var(--orange) !important;
  font-size: .9rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 680px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
  min-height: 600px;
  width: 100%;
  height: 100%;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: .35;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
}

/* 各幻燈片遮罩方向可不同 */
.hero-slide--left  .hero-slide__overlay { background: linear-gradient(105deg, var(--navy) 45%, transparent 100%); }
.hero-slide--center .hero-slide__overlay { background: linear-gradient(to bottom, rgba(26,46,74,.7) 0%, rgba(26,46,74,.85) 100%); }
.hero-slide--promo .hero-slide__overlay { background: linear-gradient(135deg, #0f1e33 40%, rgba(23,140,149,.25) 100%); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding-block: 80px;
}

/* ---- 舊 .hero 保留相容（LP頁用）---- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/hero/hero-bg.webp');
  background-size: cover;
  background-position: center right;
  opacity: .35;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--navy) 45%, transparent 100%);
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23,140,149,.15);
  border: 1px solid rgba(23,140,149,.4);
  color: var(--orange);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: .05em;
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--orange);
  font-style: normal;
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 32px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
}
.hero__trust-item::before {
  content: '✓';
  color: var(--orange);
  font-weight: 900;
  font-size: 1rem;
}

/* ---- Promo Slide（促銷幻燈片）---- */
.hero-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 10px 24px;
  border-radius: 999px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23,140,149,.5); }
  50%       { box-shadow: 0 0 0 12px rgba(23,140,149,0); }
}
.hero-promo-number {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  text-shadow: 0 4px 20px rgba(23,140,149,.4);
}
.hero-promo-desc {
  font-size: 1.25rem;
  color: rgba(255,255,255,.9);
  margin-block: 12px 28px;
}
.hero-promo-detail {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-top: 16px;
}

/* ---- Expert Endorsement Slide ---- */
.hero-expert {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-block: 72px;
}
.hero-expert__text { position: relative; z-index: 2; }
.hero-expert__badge {
  display: inline-block;
  background: rgba(23,140,149,.15);
  border: 1px solid rgba(23,140,149,.5);
  color: var(--orange);
  font-size: .85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-expert__quote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.55;
  margin-bottom: 24px;
  font-style: italic;
}
.hero-expert__quote::before { content: '"'; font-size: 2em; color: var(--orange); line-height: 0; vertical-align: -.4em; }
.hero-expert__quote::after  { content: '"'; font-size: 2em; color: var(--orange); line-height: 0; vertical-align: -.4em; }
.hero-expert__sig-area {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-expert__sig-img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.hero-expert__sig-name {
  color: var(--white);
  font-size: .95rem;
  line-height: 1.5;
}
.hero-expert__sig-name strong { font-size: 1.05rem; color: var(--orange); }
.hero-expert__photo-wrap {
  position: relative;
  z-index: 2;
  text-align: right;
}
.hero-expert__photo {
  max-height: 420px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  object-fit: cover;
}

/* ---- Slider Controls ---- */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}
.slider-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--orange);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-arrow--prev { left: 20px; }
.slider-arrow--next { right: 20px; }

@media (max-width: 768px) {
  .hero-expert { grid-template-columns: 1fr; }
  .hero-expert__photo-wrap { display: none; }
  .slider-arrow { display: none; }
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 32px;
}
.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding-inline: 24px;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stat-item__label {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* ---- Services ---- */
.services {
  padding-block: var(--section-y);
  background: var(--gray-50);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--gray-200);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(23,140,149,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-card__tag {
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---- Pain Points ---- */
.pain-points {
  padding-block: var(--section-y);
  background: var(--navy);
}
.pain-points .section-title { color: var(--white); }
.pain-points .section-subtitle { color: rgba(255,255,255,.65); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.pain-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: background .2s;
}
.pain-card:hover { background: rgba(255,255,255,.1); }
.pain-card__q {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 12px;
}
.pain-card__a {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
}
.pain-card__a strong { color: var(--white); }

/* ---- Portfolio ---- */
.portfolio {
  padding-block: var(--section-y);
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform .25s, box-shadow .25s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card__img {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--gray-100);
  overflow: hidden;
}
.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.portfolio-card:hover .portfolio-card__img img { transform: scale(1.04); }
.portfolio-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.portfolio-card__body { padding: 24px; }
.portfolio-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.portfolio-card__result {
  font-size: .85rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 10px;
}
.portfolio-card__quote {
  font-size: .875rem;
  color: var(--gray-500);
  font-style: italic;
  line-height: 1.65;
}
.portfolio-card__quote::before { content: '"'; }
.portfolio-card__quote::after  { content: '"'; }

/* ---- Contact Form ---- */
.contact {
  padding-block: var(--section-y);
  background: var(--gray-50);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: 1.75rem; }
.contact-info__desc {
  color: var(--gray-500);
  margin-top: 12px;
  margin-bottom: 32px;
  line-height: 1.75;
}
.contact-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .95rem;
}
.contact-info__icon {
  width: 40px;
  height: 40px;
  background: rgba(23,140,149,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info__phone {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--orange);
  text-decoration: none;
}
.contact-info__phone:hover { text-decoration: underline; }
.contact-trust {
  margin-top: 28px;
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Form */
.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--orange); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(23,140,149,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
/* Honeypot - 隱藏 */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border: none;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.form-submit-btn:hover:not(:disabled) { background: var(--orange-dk); transform: translateY(-2px); }
.form-submit-btn:disabled { opacity: .65; cursor: not-allowed; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success__icon { font-size: 3rem; margin-bottom: 16px; }
.form-success__title { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-success__text  { color: var(--gray-500); line-height: 1.7; }
.form-error-msg { color: #dc2626; font-size: .8rem; margin-top: 4px; }

/* ---- SEO Tag Matrix ---- */
/* SEO 標籤雲（單一列表、薄） */
.seo-tags-cloud {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 22px;
}
.seo-tags-cloud__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seo-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 999px;
  transition: all .15s ease;
}
.seo-tag:hover { border-color: var(--orange); color: var(--orange); background: rgba(23,140,149,.04); }

/* ---- Site Footer（深色 + 大電話） ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 56px;
  padding-block: 64px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: start;
}
.footer-col__title {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 18px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}
.footer-col__title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.footer-col--brand .footer-logo img { width: auto; height: 36px; margin-bottom: 16px; }
.footer-tagline {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.65);
  max-width: 320px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.footer-links li a {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  transition: color .2s ease, padding-left .2s ease;
  display: inline-block;
}
.footer-links li a:hover {
  color: var(--orange);
  padding-left: 4px;
}

/* 大電話卡片 */
.footer-phone-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(23,140,149,.16) 0%, rgba(23,140,149,.06) 100%);
  border: 1px solid rgba(23,140,149,.32);
  border-radius: 14px;
  color: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  margin-bottom: 14px;
  max-width: 360px;
}
.footer-phone-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127,240,192,.65);
  box-shadow: 0 12px 32px rgba(23,140,149,.22);
}
.footer-phone-card svg {
  flex-shrink: 0;
  color: #7ff0c0;
}
.footer-phone-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1;
}
.footer-phone-hours {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}
.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 4px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-cta-link:hover { color: var(--orange); border-color: var(--orange); }

.footer-bottom {
  background: rgba(0,0,0,.2);
  padding-block: 18px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-align: center;
}

/* 響應式 footer */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-block: 48px;
  }
  .footer-tagline { max-width: 100%; }
  .footer-phone-num { font-size: 1.4rem; }
  .seo-tags-cloud { padding-block: 16px; }
}

/* ---- Sticky Call Button (Mobile Only) ---- */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  gap: 10px;
  padding: 8px 14px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .86);
  border-top: 1px solid rgba(16, 36, 63, .08);
  box-shadow: 0 -16px 42px -34px rgba(15, 23, 42, .85);
  backdrop-filter: blur(14px);
}
.sticky-call__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  font-size: .92rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.sticky-call__btn:hover { transform: translateY(-1px); }
.sticky-call__btn--line {
  background: #10243f;
  box-shadow: 0 14px 30px -22px rgba(15, 23, 42, .9);
}
.sticky-call__btn--line:hover { background: #18375f; }
.sticky-call__btn--phone {
  background: linear-gradient(135deg, #e53935 0%, #b71c1c 100%);
  box-shadow: 0 14px 32px -20px rgba(229, 57, 53, .95);
}
.sticky-call__btn--phone:hover { background: linear-gradient(135deg, #f0443f 0%, #9f1717 100%); }

/* ---- SEO Tag Page ---- */
.tag-page-hero {
  background: var(--navy);
  padding-block: 72px;
  text-align: center;
}
.tag-page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); }
.tag-page-hero .breadcrumb {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.tag-page-hero .breadcrumb a { color: rgba(255,255,255,.55); }
.tag-page-hero .breadcrumb a:hover { color: var(--orange); }

.tag-page-content {
  padding-block: 72px;
  max-width: 780px;
  margin-inline: auto;
}
.tag-page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
}
.tag-page-content p { color: var(--gray-700); line-height: 1.85; margin-bottom: 16px; }
.tag-page-content ul { padding-left: 24px; margin-bottom: 16px; }
.tag-page-content ul li { color: var(--gray-700); margin-bottom: 8px; list-style: disc; }

.tag-article {
  background: linear-gradient(180deg, #f7fbff 0%, #fff 340px);
  padding: 28px 0 84px;
}
.tag-article .container {
  max-width: none;
}
.tag-article__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: .86rem;
  margin-bottom: 28px;
}
.tag-article__breadcrumb a {
  color: var(--navy);
  font-weight: 700;
}
.tag-article__layout {
  display: grid;
  grid-template-columns: 14% minmax(0, 1fr) 20%;
  gap: 32px;
  align-items: start;
}
.tag-article__main {
  min-width: 0;
  max-width: 960px;
  width: 100%;
  margin-inline: auto;
}
.tag-article__header {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--gray-200);
}
.tag-article__date {
  text-align: center;
  color: var(--gray-500);
  line-height: 1;
}
.tag-article__date strong {
  display: block;
  color: var(--gray-600);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-weight: 400;
  margin-bottom: 6px;
}
.tag-article__date span {
  font-size: .7rem;
  text-transform: uppercase;
}
.tag-article__category {
  color: var(--pink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.tag-article__header h1 {
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: 0;
}
.tag-article__header p:not(.tag-article__category) {
  color: var(--gray-700);
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 960px;
}
.tag-article__toc {
  background: #eef3f7;
  padding: 26px 32px;
  margin: 28px 0 34px;
}
.tag-article__toc h2 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.tag-article__toc ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}
.tag-article__toc li {
  list-style: disc;
  color: var(--gray-500);
}
.tag-article__toc a {
  color: var(--teal);
  font-weight: 700;
}
.tag-article__body {
  display: grid;
  gap: 34px;
}
.tag-article__body section {
  border-top: 1px solid var(--gray-200);
  padding-top: 30px;
  scroll-margin-top: 96px;
}
.tag-article__body h2 {
  color: var(--teal);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 0;
}
.tag-article__body h3 {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
  margin: 24px 0 10px;
}
.tag-article__body p,
.tag-article__body li {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.95;
}
.tag-article__body p {
  margin-bottom: 18px;
}
.tag-article__body ul,
.tag-article__body ol {
  padding-left: 24px;
  margin: 0 0 20px;
}
.tag-article__body li {
  margin-bottom: 8px;
}
.tag-article__body figure.client-inline-image {
  margin: 28px 0;
}
.tag-article__body figure.client-inline-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.tag-article__end-cta {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--navy-dark);
  border-radius: 14px;
  color: var(--white);
}
.tag-article__end-cta p {
  color: rgba(255,255,255,.82);
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.tag-article__end-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}
.tag-article__end-cta-btn--form {
  background: var(--green);
  color: var(--white);
}
.tag-article__end-cta-btn--call {
  display: none;
  background: var(--green);
  color: var(--white);
}
@media (max-width: 768px) {
  .tag-article__end-cta-btn--form { display: none; }
  .tag-article__end-cta-btn--call { display: inline-block; }
}
.tag-article__side {
  position: sticky;
  top: 96px;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
  background: rgba(255,255,255,.72);
}
.tag-article__side h2 {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
}
.tag-article__side li {
  border-bottom: 1px solid var(--gray-200);
}
.tag-article__side a {
  display: block;
  color: var(--gray-700);
  font-weight: 700;
  line-height: 1.55;
  padding: 16px 20px;
}
.tag-article__side a:hover {
  color: var(--teal);
  background: rgba(23,140,149,.06);
}
.tag-article__side--right a {
  display: grid;
  gap: 6px;
  padding: 20px 20px;
}
.tag-article__side--right span {
  color: var(--gray-500);
  font-family: Georgia, serif;
  font-size: .85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.tag-consult {
  background: var(--navy-dark);
  padding: 76px 0;
  color: var(--white);
}
.tag-consult__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .72fr);
  gap: 52px;
  align-items: start;
}
.tag-consult__kicker {
  color: var(--pink);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.tag-consult h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.16;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 0;
}
.tag-consult p {
  color: rgba(255,255,255,.78);
  line-height: 1.8;
  max-width: 560px;
}

@media (max-width: 1180px) {
  .tag-article__layout {
    grid-template-columns: minmax(0, 1fr) 22%;
  }
  .tag-article__side--left {
    display: none;
  }
}

@media (max-width: 900px) {
  .tag-article {
    padding: 22px 0 56px;
  }
  .tag-article__layout {
    display: block;
  }
  .tag-article__header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tag-article__date {
    text-align: left;
  }
  .tag-article__date strong {
    display: inline;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 900;
    margin-right: 6px;
  }
  .tag-article__toc {
    padding: 22px;
  }
  .tag-article__side--right {
    position: static;
    margin-top: 36px;
  }
  .tag-consult__inner {
    grid-template-columns: 1fr;
  }
}

/* ---- Admin Panel ---- */
.admin-layout {
  min-height: 100vh;
  background: var(--gray-50);
  font-family: var(--font-main);
}
.admin-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-nav { display: flex; gap: 24px; }
.admin-nav a { color: rgba(255,255,255,.7); font-size: .9rem; }
.admin-nav a:hover, .admin-nav a.active { color: var(--white); }
.admin-main { max-width: 1100px; margin: 32px auto; padding-inline: 24px; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-bottom: 24px;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.admin-table th {
  background: var(--gray-50);
  color: var(--gray-700);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
}
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
.admin-table tr:hover td { background: var(--gray-50); }
.badge-new {
  background: #fef3c7;
  color: #92400e;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.badge-read { background: var(--gray-100); color: var(--gray-500); font-size: .7rem; padding: 2px 8px; border-radius: 999px; }

/* ---- Sticky Header CTA（捲動後出現） ---- */
.site-header.scrolled .nav-cta-btn {
  display: inline-flex !important;
}
.nav-cta-btn {
  display: none;
  background: linear-gradient(135deg, var(--logo-teal) 0%, var(--logo-green) 100%);
  color: var(--white) !important;
  font-weight: 700 !important;
  font-size: .875rem !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background .2s !important;
}
.nav-cta-btn:hover { background: linear-gradient(135deg, var(--logo-teal-dark) 0%, #258f4d 100%) !important; color: var(--white) !important; }

/* ---- Service Chat Button (Sticky desktop) ---- */
.line-sticky {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.line-sticky__btn {
  width: 56px;
  height: 56px;
  background: #06C755;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(6,199,85,.4);
  transition: transform .2s, box-shadow .2s;
}
.line-sticky__btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(6,199,85,.55); }
.line-sticky__btn svg { width: 32px; height: 32px; fill: none; stroke: var(--white); }
.line-sticky__label { font-size: .7rem; color: var(--gray-500); font-weight: 600; }

.line-sticky-btn {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 180;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: #10243f;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.line-sticky-btn:hover {
  transform: translateY(-2px);
  background: var(--logo-pink);
  box-shadow: 0 18px 42px rgba(23, 140, 149, .3);
}

.line-sticky-btn svg {
  width: 28px;
  height: 28px;
}

/* ---- Social Proof Toast ---- */
.sp-toast {
  position: fixed;
  bottom: 90px;
  left: 20px;
  z-index: 180;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-320px);
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease;
}
.sp-toast.show { transform: translateX(0); opacity: 1; }
.sp-toast__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.sp-toast__text { font-size: .8rem; line-height: 1.5; color: var(--gray-700); }
.sp-toast__name { font-weight: 700; color: var(--navy); }
.sp-toast__time { color: var(--gray-500); font-size: .75rem; }

/* ---- Exit Intent Popup ---- */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.6);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup.open { display: flex; }
.exit-popup__box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.exit-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  line-height: 1;
}
.exit-popup__badge {
  background: linear-gradient(135deg, #178c95 0%, #0f6970 100%);
  border: 1px solid rgba(23,140,149,.35);
  color: var(--white);
  font-weight: 800;
  font-size: .85rem;
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(23,140,149,.22);
}
.exit-popup__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.exit-popup__sub {
  color: var(--gray-500);
  font-size: .9rem;
  margin-bottom: 24px;
  line-height: 1.65;
}
.exit-popup__form { display: flex; flex-direction: column; gap: 12px; }
.exit-popup__input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color .2s;
}
.exit-popup__input:focus {
  border-color: #178c95;
  box-shadow: 0 0 0 3px rgba(23,140,149,.12);
}
.exit-popup__btn {
  background: linear-gradient(135deg, #178c95 0%, #4ba35d 100%);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(23,140,149,.24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.exit-popup__btn:hover {
  transform: translateY(-1px);
  filter: brightness(.94);
  box-shadow: 0 16px 34px rgba(23,140,149,.28);
}
.exit-popup__skip {
  display: block;
  margin: 14px auto 0;
  padding: 8px 16px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: .85rem;
  color: var(--gray-500);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .02em;
  transition: color .15s ease;
}
.exit-popup__skip:hover {
  color: var(--gray-700);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- Countdown Timer ---- */
.promo-countdown {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.countdown-unit {
  text-align: center;
}
.countdown-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  width: 56px;
  height: 56px;
  line-height: 56px;
}
.countdown-label { font-size: .7rem; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ---- Blade Compatibility Layer ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__slider {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  /* 讓 hero + trust badges 在桌機剛好滿版（vh - 80nav - 130trust = 100vh-210） */
  min-height: clamp(560px, calc(100vh - 195px), 920px);
  width: 100%;
  flex: 1 1 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: clamp(560px, calc(100vh - 195px), 920px);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}

.hero__slide.active,
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slider > .hero__slide.hero-slide {
  width: 100%;
  left: 0;
  right: 0;
}

.hero__slide-content {
  width: 100%;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

/* 左側文字區：鎖在左半邊負空間 */
.hero__slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
.hero__slide-content.container {
  padding-left: clamp(44px, 7vw, 120px);
  padding-right: clamp(20px, 3vw, 40px);
}
.hero__text {
  max-width: 560px;
  width: min(44vw, 560px);
  padding-block: 72px;
  margin-right: auto;
}
.hero__text .hero__h1 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 900;
  margin-bottom: 22px;
}
.hero__text .hero__sub {
  font-size: clamp(.95rem, 1.1vw, 1.05rem);
  max-width: 32rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.hero__reason-list {
  display: grid;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.92);
  font-size: .96rem;
  line-height: 1.55;
}
.hero__reason-list li {
  position: relative;
  padding-left: 24px;
}
.hero__reason-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 900;
}
.hero__text .hero__cta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  margin-bottom: 0;
}
.hero__text .hero__cta .btn-primary,
.hero__text .hero__cta .btn-ghost {
  min-height: 58px;
  padding: 16px 34px;
  font-size: 1.06rem;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 196px;
}
/* 桌機版：隱藏電話按鈕（電腦不需要 click-to-call） */
@media (min-width: 901px) {
  .hero__text .hero__cta .btn-ghost { display: none; }
}
@media (max-width: 900px) {
  .hero__slide-content.container { padding-left: 24px; padding-right: 24px; }
  .hero__text { width: 100%; max-width: 100%; padding-block: 56px; }
  .hero__text .hero__h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hero__text .hero__cta { justify-content: flex-start; }
  .hero__bg-image { object-position: 70% center; }
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.02rem;
  border: 2px solid transparent;
  transition: all .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--logo-teal) 0%, var(--logo-green) 100%);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--logo-teal-dark) 0%, #258f4d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23,140,149,.35);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.12);
}

.btn-lg {
  font-size: 1.08rem;
  min-width: 188px;
}

.hero__content {
  max-width: 1060px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero__slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.82) 48%, rgba(10,22,40,.4) 75%, rgba(10,22,40,0) 95%);
}

.hero__slide--promo-light .hero__slide-overlay {
  background:
    linear-gradient(90deg, rgba(10,22,40,.94) 0%, rgba(10,22,40,.84) 48%, rgba(10,22,40,.42) 75%, rgba(10,22,40,0) 95%);
}

.hero__slide--promo-light .hero__text {
  color: var(--white);
}

.hero__slide--promo-light .hero__kicker {
  color: #c2410c;
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
}

.hero__slide--promo-light .hero__h1,
.hero__slide--promo-light .hero__sub {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(2, 8, 23, 0.38);
}

.hero__slide--promo-light .hero__sub {
  max-width: 34rem;
}

.hero__slide--promo-light .hero__reason-list {
  color: rgba(255, 255, 255, .9);
}

.hero__slide--promo-light .hero__reason-list li::before {
  color: #dc2626;
}

.hero__slide--promo-light .btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero__slide--promo-light .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 900px) {
  .hero__slide-overlay {
    background: linear-gradient(180deg, rgba(10,22,40,.85) 0%, rgba(10,22,40,.6) 100%);
  }

  .hero__slide--promo-light .hero__slide-overlay {
    background: linear-gradient(180deg, rgba(10,22,40,.9) 0%, rgba(10,22,40,.68) 100%);
  }
}

.hero__h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.hero__sub {
  max-width: 520px;
}

.trust-section {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.trust-badge {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--gray-200);
}

.trust-badge:last-child {
  border-right: none;
}

.trust-badge__num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.trust-badge__label {
  display: block;
  margin-top: 6px;
  font-size: .85rem;
  color: var(--gray-500);
}

.section {
  padding: var(--section-y) 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: var(--navy-dark);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--orange);
  text-transform: uppercase;
}

.section-kicker--light,
.section-title--light {
  color: var(--white);
}

.section-desc {
  max-width: 760px;
  color: var(--gray-500);
  line-height: 1.8;
}

.services-section {
  background: var(--gray-50);
}

.why-grid,
.process-steps,
.testimonials-grid {
  display: grid;
  gap: 24px;
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-card,
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.why-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: rgba(23,140,149,.1);
  font-size: 1.5rem;
}

.why-card h3,
.process-step__title {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--navy);
}

.why-card p,
.process-step__desc,
.testimonial-card__text,
.portfolio-card__desc,
.portfolio-card__client,
.contact-info__desc,
.contact-info__list li {
  color: var(--gray-500);
  line-height: 1.75;
}

.portfolio-section {
  background: var(--white);
}

.portfolio-card__desc {
  margin-top: 8px;
}

.portfolio-card__client {
  margin-top: 10px;
  font-size: .88rem;
}

.portfolio-card__link,
.service-card__link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 700;
  color: var(--navy);
}

.process-steps {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.process-step__num {
  font-size: .8rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 10px;
}

.process-step__arrow {
  text-align: center;
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 900;
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card__stars {
  margin-bottom: 14px;
  color: var(--orange);
  letter-spacing: .12em;
}

.testimonial-card__author {
  margin-top: 18px;
}

.testimonial-card__name {
  display: block;
  font-weight: 800;
  color: var(--navy);
}

.testimonial-card__company {
  display: block;
  margin-top: 4px;
  font-size: .88rem;
  color: var(--gray-500);
}

.contact-section {
  background: var(--navy-dark);
}

.contact-info__list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-info__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.8);
}

.contact-info__list a {
  color: var(--white);
  font-weight: 700;
}

.contact-form-wrap .lead-form {
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

@media (min-width: 1600px) {
  .hero__bg-image {
    object-position: 66% center;
  }
}

/* ============================================================
   RWD — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-y: 64px; }

  .main-nav { display: none; }
  .hamburger { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .nav-actions {
    display: none;
  }

  .hero__content {
    max-width: 100%;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero__bg-image {
    object-position: 74% center;
  }

  .trust-badges,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step__arrow {
    display: none;
  }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RWD — Mobile (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  .hero__bg-image {
    object-position: 78% center;
  }

  .hero__h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__trust { grid-template-columns: 1fr; }
  .trust-badges,
  .why-grid,
  .testimonials-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .trust-badge {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 18px 0;
  }

  .trust-badge:last-child {
    border-bottom: none;
  }

  .stats-bar__inner { gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-200); padding-block: 20px; }
  .stat-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .lead-form { padding: 24px 20px; }

  /* 手機版顯示 sticky 按鈕，並給頁面底部留空間 */
  .sticky-call { display: flex; }
  body { padding-bottom: 74px; }
}

/* ============================================================
   首頁 16 區塊（hp- prefix）
   ============================================================ */

.hp-section {
  padding-block: clamp(64px, 8vw, 112px);
  background: var(--white);
  position: relative;
}
.hp-section--alt { background: var(--gray-50); }

/* Section 標頭 */
.hp-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border-radius: 0;
}
.hp-num::before {
  content: '';
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: .45;
}
.hp-num--light { color: #7ff0c0; }
.hp-section-head--center .hp-num { justify-content: center; }

.hp-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 20px;
}
.hp-title--light { color: var(--white); }

.hp-lede {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 24px;
  max-width: 640px;
}
.hp-lede--light { color: rgba(255,255,255,.85); }

.hp-section-head { margin-bottom: 48px; max-width: 800px; }
.hp-section-head--center {
  margin-inline: auto;
  text-align: center;
}
.hp-section-head--center .hp-lede { margin-inline: auto; }

/* 強調收斂句 */
.hp-callout {
  display: inline-block;
  padding: 14px 22px;
  background: linear-gradient(135deg, rgba(23,140,149,.08), rgba(23,140,149,.02));
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 8px;
}
.hp-callout--center {
  display: block;
  text-align: center;
  margin: 48px auto 0;
  max-width: 720px;
}

/* 兩欄式版型 */
.hp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hp-row--reverse .hp-row__text { order: 2; }
.hp-row--reverse .hp-row__media { order: 1; }
.hp-row__text { min-width: 0; }
.hp-row__media { display: flex; flex-direction: column; gap: 16px; }

/* 圖片佔位 */
.hp-placeholder {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  color: rgba(255,255,255,.7);
  text-align: center;
  border: 2px dashed rgba(255,255,255,.18);
  overflow: hidden;
}
.hp-placeholder::before {
  content: '🖼';
  font-size: 3rem;
  opacity: .4;
  margin-bottom: 8px;
}
.hp-placeholder__label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
}
.hp-placeholder__file {
  font-family: 'Inter', monospace;
  font-size: .8rem;
  color: var(--orange);
  letter-spacing: .04em;
}
.hp-placeholder--wide {
  aspect-ratio: 16 / 7;
  margin-block: 32px;
}
.hp-placeholder--small { aspect-ratio: 9 / 16; max-width: 220px; align-self: flex-end; }
.hp-placeholder--bg {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  aspect-ratio: auto;
  padding: 0;
}
.hp-placeholder--bg::before { display: none; }
.hp-placeholder--bg .hp-placeholder__label,
.hp-placeholder--bg .hp-placeholder__file { display: none; }

/* 痛點清單 */
.hp-pain-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-pain-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
}
.hp-pain-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px; height: 22px;
  background: rgba(239,68,68,.12);
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
}

/* 服務重點清單（• 橘點） */
.hp-feature-title {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--navy);
  margin: 12px 0 14px;
  text-transform: uppercase;
}
.hp-feature-list {
  list-style: none;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.hp-feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--gray-700);
}
.hp-feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

/* Section 03 — 6 大服務 grid */
.hp-svc-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.hp-svc-grid__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.hp-svc-grid__item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.hp-svc-grid__num {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.hp-svc-grid__icon {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 10px;
}
.hp-svc-grid__item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.hp-svc-grid__desc {
  font-size: .85rem;
  color: var(--gray-500);
  line-height: 1.55;
  display: block;
}

/* Section 10 — 4 個數字 */
.hp-stat-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-block: 48px;
  padding: 36px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius-lg);
}
.hp-stat-row li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: var(--white);
}
.hp-stat-row strong {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -.02em;
}
.hp-stat-row span {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  font-weight: 500;
}
.hp-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Section 11 — Why us 6 卡 */
.hp-why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.hp-why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: all .25s ease;
}
.hp-why-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}
.hp-why-card__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 14px;
}
.hp-why-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.hp-why-card p {
  font-size: .92rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* Section 12 — 7 步流程 */
.hp-process {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 32px;
  justify-content: center;
}
.hp-process__step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: .95rem;
  color: var(--navy);
  font-weight: 600;
  transition: all .2s ease;
}
.hp-process__step:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.hp-process__num {
  font-family: 'Inter', monospace;
  font-size: .8rem;
  font-weight: 800;
  color: var(--orange);
  background: rgba(23,140,149,.12);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.hp-process__step:hover .hp-process__num { background: rgba(23,140,149,.22); }
.hp-process__name { font-weight: 700; }

/* Section 13 — 適合對象 */
.hp-audience-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  max-width: 880px;
  margin: 0 auto 48px;
}
.hp-audience-grid li {
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  transition: all .2s ease;
}
.hp-audience-grid li:hover {
  border-color: var(--orange);
  background: rgba(23,140,149,.04);
}

/* Section 15 — FAQ */
.hp-faq__container { max-width: 820px; }
.hp-faq { display: flex; flex-direction: column; gap: 12px; }
.hp-faq__item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease;
}
.hp-faq__item[open] { border-color: var(--orange); }
.hp-faq__item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 56px;
}
.hp-faq__item summary::-webkit-details-marker { display: none; }
.hp-faq__item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(23,140,149,.1);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 600;
  transition: transform .2s ease;
}
.hp-faq__item[open] summary::after { content: '−'; transform: translateY(-50%) rotate(0); }
.hp-faq__item p {
  padding: 0 24px 22px;
  color: var(--gray-700);
  line-height: 1.8;
  font-size: .96rem;
}

/* Section 16 — 最終 CTA */
.hp-section--final {
  position: relative;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}
.hp-final-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hp-final-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,30,51,.85) 0%, rgba(15,30,51,.95) 100%);
}
.hp-final__inner {
  padding-block: clamp(80px, 10vw, 140px);
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hp-final__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-block: 32px;
}
.hp-final__tagline {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  font-style: italic;
  letter-spacing: .02em;
}

.hp-final__inner .hp-num,
.hp-final__inner .hp-title,
.hp-final__inner .hp-lede {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.hp-final__inner .hp-lede {
  max-width: 720px;
}

/* ━━━ 響應式（手機 / 平板） ━━━ */
@media (max-width: 1024px) {
  .hp-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-row { gap: 40px; }
}

@media (max-width: 768px) {
  .hp-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hp-row--reverse .hp-row__text,
  .hp-row--reverse .hp-row__media { order: initial; }

  .hp-feature-list { grid-template-columns: 1fr; }
  .hp-svc-grid { grid-template-columns: 1fr; }
  .hp-why-grid { grid-template-columns: 1fr; }
  .hp-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-trust-grid { grid-template-columns: 1fr; }
  .hp-audience-grid { grid-template-columns: 1fr; }
  .hp-process { flex-direction: column; align-items: stretch; }
  .hp-process__step { justify-content: flex-start; }

  .hp-placeholder--small { max-width: 100%; align-self: stretch; aspect-ratio: 16 / 10; }
  .hp-placeholder--wide { aspect-ratio: 16 / 10; }

  .hp-callout { font-size: .98rem; padding: 12px 16px; }
}

/* ============================================================
   聯絡表單區塊（cta-form）
   ============================================================ */

.cta-form {
  position: relative;
  padding-block: clamp(72px, 9vw, 120px);
  background:
    radial-gradient(circle at 0% 0%, rgba(23,140,149,.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(26,46,74,.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.cta-form__layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* 左：訴求區 */
.cta-form__kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(23,140,149,.12);
  color: var(--orange);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.cta-form__title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.cta-form__desc {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 480px;
}

.cta-form__perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.cta-form__perks li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cta-form__perk-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(23,140,149,.14), rgba(23,140,149,.04));
  border: 1px solid rgba(23,140,149,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.cta-form__perks li > div { display: flex; flex-direction: column; gap: 2px; }
.cta-form__perks strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}
.cta-form__perks span {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.cta-form__phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: var(--radius);
  color: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-form__phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,46,74,.28);
}
.cta-form__phone-label {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}
.cta-form__phone-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  letter-spacing: -.01em;
}
.cta-form__phone-num svg {
  color: #7ff0c0;
}

/* 右：表單卡片 */
.cta-form__card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 60px -20px rgba(15,30,51,.18),
    0 8px 24px -8px rgba(15,30,51,.1);
  border: 1px solid var(--gray-100);
}
.cta-form__card-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px dashed var(--gray-200); }
.cta-form__card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.cta-form__card-sub {
  font-size: .9rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ============================================================
   Lead Form（BEM）— 完整表單樣式
   ============================================================ */

.cta-form__card .lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lead-form__label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.lead-form__label .required {
  color: var(--orange);
  margin-left: 2px;
  font-weight: 700;
}

.lead-form__input,
.lead-form__select,
.lead-form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: .95rem;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--gray-50);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.lead-form__input::placeholder,
.lead-form__textarea::placeholder { color: #94a3b8; }
.lead-form__input:hover,
.lead-form__select:hover,
.lead-form__textarea:hover { border-color: #cbd5e1; }
.lead-form__input:focus,
.lead-form__select:focus,
.lead-form__textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(23,140,149,.12);
}

.lead-form__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%2364748b'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.lead-form__textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

.lead-form__error {
  display: block;
  min-height: 1.2em;
  font-size: .82rem;
  color: #ef4444;
  margin-top: 2px;
  font-weight: 500;
}
.lead-form__error:empty { display: none; }

.lead-form__field:has(.lead-form__error:not(:empty)) .lead-form__input,
.lead-form__field:has(.lead-form__error:not(:empty)) .lead-form__select,
.lead-form__field:has(.lead-form__error:not(:empty)) .lead-form__textarea {
  border-color: #ef4444;
  background: #fef2f2;
}

.lead-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--logo-teal) 0%, var(--logo-green) 100%);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-main);
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  box-shadow: 0 8px 20px -6px rgba(23,140,149,.45);
}
.lead-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(23,140,149,.55);
}
.lead-form__submit:active:not(:disabled) { transform: translateY(0); }
.lead-form__submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.lead-form__submit-loading::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 6px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  animation: leadSpin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes leadSpin { to { transform: rotate(360deg); } }

.lead-form__privacy {
  margin-top: 4px;
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.55;
  text-align: center;
}

.lead-form__success {
  text-align: center;
  padding: 32px 16px;
}
.lead-form__success p {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

/* ============================================================
   響應式（≤ 900px）
   ============================================================ */

@media (max-width: 900px) {
  .cta-form__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta-form__desc { max-width: 100%; }
  .cta-form__card { padding: 28px 22px; border-radius: 16px; }
  .lead-form__row { grid-template-columns: 1fr; }
  .cta-form__phone-num { font-size: 1.3rem; }
  .cta-form__perks { gap: 14px; }
  .cta-form__perk-icon { width: 40px; height: 40px; font-size: 1.2rem; }
}

/* ============================================================
   Homepage Visual Layer (non-invasive override)
   - keep copy layout untouched
   - keep text zones clean and readable
   ============================================================ */

:root {
  --brand-ink: #10243f;
  --brand-ocean: #12345a;
  --brand-sky: #1c4b7d;
  --brand-amber: #e94f72;
}

/* Keep text columns clean and above decorative layers */
.hp-section .container,
.hp-row__text,
.hp-section-head,
.hp-final__inner,
.cta-form__pitch,
.cta-form__card {
  position: relative;
  z-index: 2;
}

/* Section-level subtle color rhythm (decoration on edges, not behind copy blocks) */
.hp-section {
  overflow: hidden;
}

#sec-pain,
#sec-app,
#sec-trust,
#sec-result {
  background:
    radial-gradient(1000px 420px at -12% -10%, rgba(20, 73, 123, 0.1) 0%, transparent 68%),
    radial-gradient(900px 380px at 112% 110%, rgba(23, 140, 149, 0.1) 0%, transparent 72%),
    #f8fafc;
}

#sec-solution,
#sec-seo,
#sec-gads,
#sec-why,
#sec-faq {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
}

#sec-web,
#sec-fbads,
#sec-process {
  background:
    linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
}

#sec-social,
#sec-audience {
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

/* Placeholder cards become visual media frames */
.hp-placeholder {
  --ph-image: none;
  --ph-deep: #15355b;
  --ph-mid: #1f5d92;
  --ph-glow: rgba(255, 255, 255, 0.2);
  --ph-photo-shade: rgba(7, 18, 32, 0.34);
  border: 1px solid rgba(16, 36, 63, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 44px -28px rgba(16, 36, 63, 0.44);
  background:
    linear-gradient(155deg, var(--ph-photo-shade) 0%, rgba(7, 18, 32, 0.14) 56%, rgba(7, 18, 32, 0.48) 100%),
    var(--ph-image),
    radial-gradient(120% 110% at 88% 2%, var(--ph-glow) 0%, rgba(255, 255, 255, 0) 48%),
    linear-gradient(145deg, var(--ph-mid) 0%, var(--ph-deep) 68%);
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  isolation: isolate;
  overflow: hidden;
}

.hp-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 32, 0.04) 0%, rgba(7, 18, 32, 0.3) 100%);
  z-index: 0;
}

.hp-placeholder::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 2;
}

/* Hide placeholder label/file text to make visuals cleaner */
.hp-placeholder__label,
.hp-placeholder__file {
  display: none;
}

/* Wide/system diagrams get a clearer center focal area */
.hp-placeholder--wide {
  background-position: center, center, center, center;
}

/* Final CTA visual background: strong but text-safe */
.hp-placeholder--bg {
  --ph-image: url('/build/home-images/section-16-final.png');
  background:
    linear-gradient(180deg, rgba(8, 18, 31, 0.5) 0%, rgba(8, 18, 31, 0.78) 100%),
    var(--ph-image),
    radial-gradient(110% 90% at 4% 96%, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 54%),
    radial-gradient(130% 100% at 82% 8%, rgba(23, 140, 149, 0.22) 0%, rgba(23, 140, 149, 0) 48%),
    linear-gradient(140deg, #112848 0%, #0b1e35 100%);
  background-size: cover, cover, cover, cover, cover;
  background-position: center, center, center, center, center;
}

/* Re-designed per-section visual cards (all new, no original photo reuse). */
.hp-placeholder[data-name="section-02-pain"] { --ph-image: url('/build/home-images/section-02-pain.png'); --ph-deep: #3b1f2a; --ph-mid: #6a2d3e; --ph-glow: rgba(251, 146, 60, 0.2); }
.hp-placeholder[data-name="section-03-solution"] { --ph-image: url('/build/home-images/section-03-solution.png'); --ph-deep: #0f3a54; --ph-mid: #176181; --ph-glow: rgba(34, 211, 238, 0.24); }
.hp-placeholder[data-name="section-04-web"] { --ph-image: url('/build/home-images/section-04-web.png'); --ph-deep: #1f3657; --ph-mid: #2d5b8b; --ph-glow: rgba(147, 197, 253, 0.24); }
.hp-placeholder[data-name="section-04-web-mobile"] { --ph-image: url('/build/home-images/section-04-web-mobile.png'); --ph-deep: #22324a; --ph-mid: #315a7d; --ph-glow: rgba(56, 189, 248, 0.22); }
.hp-placeholder[data-name="section-05-seo"] { --ph-image: url('/build/home-images/section-05-seo.png'); --ph-deep: #19384e; --ph-mid: #236085; --ph-glow: rgba(245, 158, 11, 0.2); }
.hp-placeholder[data-name="section-06-app"] { --ph-image: url('/build/home-images/section-06-app.png'); --ph-deep: #102f4a; --ph-mid: #1a4f77; --ph-glow: rgba(34, 197, 94, 0.2); }
.hp-placeholder[data-name="section-07-social"] { --ph-image: url('/build/home-images/section-07-social.png'); --ph-deep: #3a2352; --ph-mid: #6a3f93; --ph-glow: rgba(251, 113, 133, 0.22); }
.hp-placeholder[data-name="section-08-fbads"] { --ph-image: url('/build/home-images/section-08-fbads.png'); --ph-deep: #1a2f58; --ph-mid: #2c4f8e; --ph-glow: rgba(96, 165, 250, 0.22); }
.hp-placeholder[data-name="section-09-gads"] { --ph-image: url('/build/home-images/section-09-gads.png'); --ph-deep: #3e2f1b; --ph-mid: #705024; --ph-glow: rgba(251, 146, 60, 0.24); }
.hp-placeholder[data-name="section-10-trust-1"] { --ph-image: url('/build/home-images/section-10-trust-1.png'); --ph-deep: #1d3446; --ph-mid: #2e5f7d; --ph-glow: rgba(20, 184, 166, 0.2); }
.hp-placeholder[data-name="section-10-trust-2"] { --ph-image: url('/build/home-images/section-10-trust-2.png'); --ph-deep: #223047; --ph-mid: #315675; --ph-glow: rgba(167, 139, 250, 0.2); }
.hp-placeholder[data-name="section-11-why"] { --ph-image: url('/build/home-images/section-11-why.png'); --ph-deep: #142f47; --ph-mid: #225a80; --ph-glow: rgba(45, 212, 191, 0.2); }
.hp-placeholder[data-name="section-12-process"] { --ph-image: url('/build/home-images/section-12-process.png'); --ph-deep: #253444; --ph-mid: #3b5f7a; --ph-glow: rgba(23, 140, 149, 0.2); }
.hp-placeholder[data-name="section-13-audience"] { --ph-image: url('/build/home-images/section-13-audience.png'); --ph-deep: #202f4f; --ph-mid: #3a4f84; --ph-glow: rgba(244, 114, 182, 0.2); }
.hp-placeholder[data-name="section-14-result"] { --ph-image: url('/build/home-images/section-14-result.png'); --ph-deep: #153d3a; --ph-mid: #1f6961; --ph-glow: rgba(34, 197, 94, 0.2); }
.hp-placeholder[data-name="section-16-final"] { --ph-image: url('/build/home-images/section-16-final.png'); --ph-deep: #0f2944; --ph-mid: #224f7a; --ph-glow: rgba(23, 140, 149, 0.24); }

/* Contact area: keep readable, add mild atmosphere only around edges */
.cta-form {
  background:
    radial-gradient(800px 360px at -8% 6%, rgba(28, 75, 125, 0.11) 0%, transparent 70%),
    radial-gradient(760px 360px at 108% 102%, rgba(23, 140, 149, 0.1) 0%, transparent 72%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

/* Mobile: reduce decorative intensity further for clean readability */
@media (max-width: 768px) {
  #sec-pain,
  #sec-app,
  #sec-trust,
  #sec-result,
  #sec-solution,
  #sec-seo,
  #sec-gads,
  #sec-why,
  #sec-faq,
  #sec-web,
  #sec-fbads,
  #sec-process,
  #sec-social,
  #sec-audience {
    background-image: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  }

  .hp-placeholder {
    box-shadow: 0 14px 34px -26px rgba(16, 36, 63, 0.48);
  }
}

/* ============================================================
   Dark Section Trial (3 blocks)
   - sec-solution
   - sec-why
   - sec-faq
   ============================================================ */
#sec-solution,
#sec-why,
#sec-faq {
  background: linear-gradient(180deg, #10253f 0%, #0c1d33 100%);
}

#sec-solution .hp-title,
#sec-why .hp-title,
#sec-faq .hp-title {
  color: #f6f9ff;
}

#sec-solution .hp-lede,
#sec-why .hp-lede,
#sec-faq .hp-lede {
  color: rgba(226, 235, 252, 0.9);
}

#sec-solution .hp-num,
#sec-why .hp-num,
#sec-faq .hp-num {
  color: #7ff0c0;
}

#sec-why .hp-callout,
#sec-faq .hp-callout,
#sec-solution .hp-callout {
  color: #f4f8ff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #f59e0b;
}

#sec-solution .hp-svc-grid__item,
#sec-why .hp-why-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.34);
  box-shadow: none;
}

#sec-solution .hp-svc-grid__item:hover,
#sec-why .hp-why-card:hover {
  border-color: rgba(245, 158, 11, 0.72);
  box-shadow: 0 14px 30px -20px rgba(2, 8, 23, 0.9);
}

#sec-solution .hp-svc-grid__item strong,
#sec-why .hp-why-card__title {
  color: #f8fbff;
}

#sec-solution .hp-svc-grid__desc,
#sec-why .hp-why-card p {
  color: rgba(223, 234, 250, 0.86);
}

#sec-faq .hp-faq__item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.34);
}

#sec-faq .hp-faq__item summary {
  color: #f8fbff;
}

#sec-faq .hp-faq__item p {
  color: rgba(223, 234, 250, 0.9);
}

#sec-faq .hp-faq__item summary::after {
  background: rgba(23, 140, 149, 0.24);
  color: #7ff0c0;
}

@media (max-width: 768px) {
  #sec-solution,
  #sec-why,
  #sec-faq {
    background: linear-gradient(180deg, #0f223a 0%, #0a182b 100%);
  }
}

/* ============================================================
   Full-Bleed Section Background Trial
   - turn side visuals into edge-to-edge section backgrounds
   - keep text readability with directional overlays
   ============================================================ */
#sec-pain,
#sec-web,
#sec-seo,
#sec-app,
#sec-social,
#sec-fbads,
#sec-gads,
#sec-result {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
}

#sec-pain::before,
#sec-web::before,
#sec-seo::before,
#sec-app::before,
#sec-social::before,
#sec-fbads::before,
#sec-gads::before,
#sec-result::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: var(--section-bg-position, center 14%);
  background-repeat: no-repeat;
  z-index: -2;
}

/* Directional readability overlays */
#sec-pain::after,
#sec-web::after,
#sec-app::after,
#sec-fbads::after,
#sec-result::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(247, 251, 255, 0.95) 0%, rgba(247, 251, 255, 0.9) 40%, rgba(247, 251, 255, 0.26) 78%, rgba(247, 251, 255, 0.12) 100%),
    radial-gradient(110% 100% at 86% 8%, rgba(56, 189, 248, 0.14) 0%, rgba(56, 189, 248, 0) 48%);
  z-index: -1;
}

#sec-seo::after,
#sec-social::after,
#sec-gads::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(260deg, rgba(247, 251, 255, 0.95) 0%, rgba(247, 251, 255, 0.9) 40%, rgba(247, 251, 255, 0.26) 78%, rgba(247, 251, 255, 0.12) 100%),
    repeating-linear-gradient(248deg, rgba(16, 36, 63, 0.1) 0 1px, rgba(16, 36, 63, 0) 1px 22px),
    radial-gradient(120% 100% at 14% 10%, rgba(23, 140, 149, 0.14) 0%, rgba(23, 140, 149, 0) 48%);
  z-index: -1;
}

#sec-pain > .container,
#sec-web > .container,
#sec-seo > .container,
#sec-app > .container,
#sec-social > .container,
#sec-fbads > .container,
#sec-gads > .container,
#sec-result > .container {
  position: relative;
  z-index: 2;
}

/* Hide side image column in full-bleed mode */
#sec-pain .hp-row__media,
#sec-web .hp-row__media,
#sec-seo .hp-row__media,
#sec-app .hp-row__media,
#sec-social .hp-row__media,
#sec-fbads .hp-row__media,
#sec-gads .hp-row__media,
#sec-result .hp-row__media {
  display: none;
}

/* Constrain text width and keep left/right composition rhythm */
#sec-pain .hp-row,
#sec-web .hp-row,
#sec-app .hp-row,
#sec-fbads .hp-row,
#sec-result .hp-row {
  grid-template-columns: 1fr;
  max-width: 760px;
}

#sec-seo .hp-row,
#sec-social .hp-row,
#sec-gads .hp-row {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-left: auto;
}

#sec-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  --section-bg-image: url('/build/home-images/section-11-why.png');
  --section-bg-position: center 68%;
}

#sec-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--section-bg-image);
  background-size: cover;
  background-position: var(--section-bg-position);
  background-repeat: no-repeat;
  z-index: -2;
}

#sec-why::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 22, 41, 0.74) 0%, rgba(10, 21, 38, 0.56) 24%, rgba(11, 20, 35, 0.74) 100%),
    linear-gradient(90deg, rgba(8, 18, 33, 0.72) 0%, rgba(8, 18, 33, 0.48) 38%, rgba(8, 18, 33, 0.28) 100%);
  z-index: -1;
}

#sec-why > .container {
  position: relative;
  z-index: 2;
}

#sec-why .hp-section-head {
  max-width: 980px;
  margin-inline: auto;
}

#sec-why .hp-placeholder--wide {
  display: none;
}

#sec-why .hp-why-grid {
  margin-bottom: 0;
}

#sec-why .hp-why-card {
  background: linear-gradient(180deg, rgba(22, 35, 59, 0.72) 0%, rgba(14, 24, 42, 0.62) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px -34px rgba(2, 8, 23, 0.9);
  backdrop-filter: blur(10px);
}

#sec-why .hp-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 213, 141, 0.54);
  box-shadow: 0 28px 56px -36px rgba(2, 8, 23, 0.95);
}

#sec-why .hp-why-card__icon {
  color: rgba(255, 213, 141, 0.32);
}

/* Map only selected sections to full-bleed photo backgrounds */
#sec-pain   { --section-bg-image: url('/build/home-images/section-02-pain.png'); }
#sec-web    { --section-bg-image: url('/build/home-images/section-04-web.png'); --section-bg-position: center 12%; }
#sec-app    { --section-bg-image: url('/build/home-images/section-06-app.png'); --section-bg-position: center 12%; }
#sec-result { --section-bg-image: url('/build/home-images/section-14-result.png'); --section-bg-position: center 12%; }
#sec-pain   { --section-bg-position: center 14%; }

/* CSS-only atmosphere sections (no model photos) */
#sec-seo,
#sec-social,
#sec-fbads,
#sec-gads {
  --section-bg-image: none;
}

#sec-seo::before {
  background-image:
    radial-gradient(120% 100% at 88% 10%, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 54%),
    radial-gradient(90% 80% at 16% 96%, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0) 56%),
    repeating-linear-gradient(132deg, rgba(30, 64, 175, 0.1) 0 1px, rgba(30, 64, 175, 0) 1px 18px),
    linear-gradient(145deg, #eaf5ff 0%, #dff2ff 42%, #eef7ff 100%);
}

#sec-social::before {
  background-image:
    radial-gradient(118% 100% at 90% 12%, rgba(167, 139, 250, 0.26) 0%, rgba(167, 139, 250, 0) 52%),
    radial-gradient(92% 80% at 12% 90%, rgba(244, 114, 182, 0.22) 0%, rgba(244, 114, 182, 0) 56%),
    repeating-linear-gradient(122deg, rgba(147, 197, 253, 0.18) 0 1px, rgba(147, 197, 253, 0) 1px 20px),
    linear-gradient(150deg, #191d3d 0%, #231a44 46%, #142339 100%);
}

#sec-fbads::before {
  background-image:
    radial-gradient(120% 100% at 86% 14%, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 54%),
    radial-gradient(100% 90% at 14% 92%, rgba(14, 165, 233, 0.16) 0%, rgba(14, 165, 233, 0) 56%),
    repeating-linear-gradient(116deg, rgba(30, 64, 175, 0.1) 0 1px, rgba(30, 64, 175, 0) 1px 19px),
    linear-gradient(150deg, #eaf4ff 0%, #ecf6ff 48%, #f5fbff 100%);
}

#sec-gads::before {
  background-image:
    radial-gradient(120% 100% at 88% 12%, rgba(251, 146, 60, 0.28) 0%, rgba(251, 146, 60, 0) 52%),
    radial-gradient(100% 84% at 14% 88%, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 58%),
    repeating-linear-gradient(124deg, rgba(251, 191, 36, 0.18) 0 1px, rgba(251, 191, 36, 0) 1px 20px),
    linear-gradient(150deg, #1f2937 0%, #1e293b 46%, #0f2338 100%);
}

/* Dark overlay mode for selected CSS-only atmosphere sections */
#sec-social::after,
#sec-gads::after {
  background:
    linear-gradient(260deg, rgba(8, 14, 30, 0.88) 0%, rgba(8, 14, 30, 0.74) 42%, rgba(8, 14, 30, 0.46) 78%, rgba(8, 14, 30, 0.34) 100%),
    repeating-linear-gradient(248deg, rgba(255, 255, 255, 0.12) 0 1px, rgba(255, 255, 255, 0) 1px 22px),
    radial-gradient(120% 100% at 14% 10%, rgba(23, 140, 149, 0.2) 0%, rgba(23, 140, 149, 0) 48%);
}

#sec-social .hp-title,
#sec-gads .hp-title {
  color: #f7f9ff;
}

#sec-social .hp-lede,
#sec-gads .hp-lede {
  color: rgba(224, 234, 250, 0.92);
}

#sec-social .hp-num,
#sec-gads .hp-num {
  color: #7ff0c0;
}

#sec-social .hp-feature-title,
#sec-gads .hp-feature-title {
  color: #dbeafe;
}

#sec-social .hp-feature-list li,
#sec-gads .hp-feature-list li {
  color: rgba(232, 240, 255, 0.9);
}

#sec-social .hp-callout,
#sec-gads .hp-callout {
  color: #f5f9ff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #fbbf24;
}

@media (max-width: 768px) {
  #sec-pain::after,
  #sec-web::after,
  #sec-app::after,
  #sec-result::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.92) 0%, rgba(247, 251, 255, 0.84) 46%, rgba(247, 251, 255, 0.74) 100%);
  }

  #sec-seo::after,
  #sec-social::after,
  #sec-fbads::after,
  #sec-gads::after {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.92) 0%, rgba(247, 251, 255, 0.84) 46%, rgba(247, 251, 255, 0.74) 100%),
      repeating-linear-gradient(180deg, rgba(16, 36, 63, 0.08) 0 1px, rgba(16, 36, 63, 0) 1px 20px);
  }

  #sec-social::after,
  #sec-gads::after {
    background:
      linear-gradient(180deg, rgba(8, 14, 30, 0.82) 0%, rgba(8, 14, 30, 0.72) 46%, rgba(8, 14, 30, 0.62) 100%),
      repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0 1px, rgba(255, 255, 255, 0) 1px 20px);
  }

  #sec-pain .hp-row,
  #sec-web .hp-row,
  #sec-seo .hp-row,
  #sec-app .hp-row,
  #sec-social .hp-row,
  #sec-fbads .hp-row,
  #sec-gads .hp-row,
  #sec-result .hp-row {
    max-width: 100%;
    margin-left: 0;
  }
}

/* ============================================================
   Contrast Rhythm Fix
   - avoid sec-faq (15) + sec-final (16) two dark blocks in a row
   ============================================================ */
#sec-faq {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

#sec-faq .hp-title {
  color: var(--navy);
}

#sec-faq .hp-lede {
  color: var(--gray-700);
}

#sec-faq .hp-num {
  color: var(--orange);
}

#sec-faq .hp-faq__item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.28);
}

#sec-faq .hp-faq__item summary {
  color: var(--navy);
}

#sec-faq .hp-faq__item p {
  color: var(--gray-700);
}

#sec-faq .hp-faq__item summary::after {
  background: rgba(23, 140, 149, 0.12);
  color: var(--orange);
}

/* ── Section images (replaced hp-placeholder) ───────────────── */
.hp-section-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  box-shadow: 0 18px 44px -28px rgba(16, 36, 63, 0.44);
}
.hp-section-img--wide {
  aspect-ratio: 16 / 7;
  margin-block: 32px;
}
.hp-section-img--small {
  aspect-ratio: 9 / 16;
  width: 220px;
  align-self: flex-end;
}
.hp-trust-grid .hp-section-img {
  aspect-ratio: 16 / 10;
  width: 100%;
}
.hp-final-bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hp-section-img--small {
    width: 100%;
    aspect-ratio: 16 / 10;
    align-self: stretch;
  }
  .hp-section-img--wide {
    aspect-ratio: 16 / 10;
  }
}

/* ================================================================
   Thank You Page
   ================================================================ */
.thankyou-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: var(--gray-50);
}
.thankyou-wrap {
  max-width: 600px;
  text-align: center;
}
.thankyou-icon { font-size: 4rem; margin-bottom: 20px; }
.thankyou-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}
.thankyou-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 28px;
}
.thankyou-fast {
  max-width: 520px;
  margin: 0 auto 28px;
}
.thankyou-fast__label {
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 800;
}
.thankyou-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #06c755 0%, #03a844 100%);
  text-decoration: none;
  text-align: left;
  box-shadow: 0 22px 42px -28px rgba(6, 199, 85, .9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.thankyou-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 50px -30px rgba(6, 199, 85, .9);
}
.thankyou-line__icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .18);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.thankyou-line strong,
.thankyou-line small {
  display: block;
}
.thankyou-line strong {
  font-size: 1.05rem;
}
.thankyou-line small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
}
.thankyou-next {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: left;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}
.thankyou-next__label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  font-size: .95rem;
}
.thankyou-next__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.thankyou-next__list li { font-size: .95rem; color: var(--gray-500); line-height: 1.6; }
.thankyou-next__list a { color: var(--orange); font-weight: 700; text-decoration: none; }
.thankyou-next__list a:hover { text-decoration: underline; }
.thankyou-back {
  display: inline-block;
  color: var(--gray-400);
  font-size: .875rem;
  text-decoration: none;
}
.thankyou-back:hover { color: var(--navy); }

/* ================================================================
   Cases Page
   ================================================================ */

.cases-hero {
  padding: 80px 0 56px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  text-align: center;
  color: var(--white);
}
.cases-hero__kicker {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.cases-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cases-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Filter Bar */
.cases-filter {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 0;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.cases-filter__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cases-filter__btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.cases-filter__btn:hover,
.cases-filter__btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* Cases Grid */
.cases-section {
  padding: 56px 0 80px;
  background: var(--white);
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  background: var(--white);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.case-card__img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}
.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.case-card:hover .case-card__img img { transform: scale(1.04); }
.case-card__img--no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf5 0%, #c8d4e8 100%);
}
.case-card__initial {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  opacity: .4;
}
.case-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--logo-pink);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.case-card__body {
  padding: 18px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.case-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  flex: 1;
}
.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
  transition: opacity .2s;
  text-decoration: none;
}
.case-card__link:hover { opacity: .75; }

/* CTA Block */
.cases-cta {
  margin-top: 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cases-cta__text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}
.cases-cta .btn-primary,
.cases-cta .btn-ghost {
  width: auto;
}
@media (min-width: 480px) {
  .cases-cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Make case-card work as <a> tag */
a.case-card { display: block; text-decoration: none; color: inherit; }

/* Responsive */
@media (max-width: 768px) {
  .cases-hero { padding: 60px 0 40px; }
  .cases-filter { top: 56px; }
  .cases-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
  .case-card__body { padding: 14px 16px 16px; }
}

/* ================================================================
   Case Detail Page
   ================================================================ */

.case-breadcrumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  font-size: .875rem;
}
.case-breadcrumb a { color: var(--navy); font-weight: 600; text-decoration: none; }
.case-breadcrumb a:hover { color: var(--orange); }
.case-breadcrumb__sep { margin: 0 8px; color: var(--gray-400); }

/* Hero Layout */
.case-detail-hero {
  padding: 56px 0;
  background: var(--white);
}
.case-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.case-detail-img-wrap { position: sticky; top: 88px; }
.case-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  aspect-ratio: 16/11;
  background: var(--gray-100);
}
.case-detail-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Info Panel */
.case-detail__badge {
  display: inline-block;
  background: var(--logo-teal);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.case-detail__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.case-detail__desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 32px;
}
.case-detail__cta-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.case-detail__cta-label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.case-detail__cta-btn { text-align: center; }
.case-detail__visit-hint { margin-top: 8px; }
.case-detail__visit-link {
  font-size: .8rem;
  color: var(--gray-400);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.case-detail__visit-link:hover { color: var(--gray-600); }

/* What We Did */
.case-what-we-did {
  padding: 64px 0;
  background: var(--gray-50);
}
.case-wwd__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
}
.case-wwd__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.case-wwd__item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.case-wwd__icon { font-size: 2rem; margin-bottom: 12px; }
.case-wwd__item h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.case-wwd__item p { font-size: .875rem; color: var(--gray-500); line-height: 1.65; }

/* Mid CTA Banner */
.case-mid-cta {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
}
.case-mid-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.case-mid-cta__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.case-mid-cta__sub {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.case-mid-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Related Cases */
.case-related {
  padding: 64px 0;
  background: var(--white);
}
.case-related__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 900px) {
  .case-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .case-detail-img-wrap { position: static; }
  .case-wwd__grid { grid-template-columns: repeat(2, 1fr); }
  .case-mid-cta__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .case-wwd__grid { grid-template-columns: 1fr; }
  .case-detail-hero { padding: 32px 0; }
}

/* ================================================================
   Homepage Editorial UX Pass
   - restore clear image/text pairings
   - remove presentation-button feel from service/process blocks
   - keep every major story section visually grounded
   ================================================================ */

#sec-pain,
#sec-web,
#sec-seo,
#sec-app,
#sec-social,
#sec-fbads,
#sec-gads,
#sec-result {
  background:
    radial-gradient(900px 380px at 108% 12%, rgba(28, 75, 125, 0.08) 0%, rgba(28, 75, 125, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  isolation: auto;
}

#sec-pain.hp-section--alt,
#sec-web.hp-section--alt,
#sec-app.hp-section--alt,
#sec-fbads.hp-section--alt,
#sec-result.hp-section--alt {
  background:
    radial-gradient(920px 380px at -8% 10%, rgba(23, 140, 149, 0.08) 0%, rgba(23, 140, 149, 0) 68%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

#sec-pain::before,
#sec-pain::after,
#sec-web::before,
#sec-web::after,
#sec-seo::before,
#sec-seo::after,
#sec-app::before,
#sec-app::after,
#sec-social::before,
#sec-social::after,
#sec-fbads::before,
#sec-fbads::after,
#sec-gads::before,
#sec-gads::after,
#sec-result::before,
#sec-result::after {
  content: none;
}

#sec-pain .hp-row,
#sec-web .hp-row,
#sec-seo .hp-row,
#sec-app .hp-row,
#sec-social .hp-row,
#sec-fbads .hp-row,
#sec-gads .hp-row,
#sec-result .hp-row {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(36px, 5vw, 72px);
  max-width: none;
  margin-left: 0;
}

#sec-seo .hp-row,
#sec-social .hp-row,
#sec-gads .hp-row,
#sec-result .hp-row {
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

#sec-pain .hp-row__media,
#sec-web .hp-row__media,
#sec-seo .hp-row__media,
#sec-app .hp-row__media,
#sec-social .hp-row__media,
#sec-fbads .hp-row__media,
#sec-gads .hp-row__media,
#sec-result .hp-row__media {
  display: grid;
  gap: 16px;
  align-items: center;
}

.hp-row__media {
  position: relative;
}

.hp-row__media::before {
  content: '';
  position: absolute;
  inset: 8% -5% -8% 12%;
  border-radius: 28px;
  background:
    radial-gradient(60% 60% at 76% 16%, rgba(23, 140, 149, 0.18) 0%, rgba(23, 140, 149, 0) 70%),
    linear-gradient(135deg, rgba(16, 36, 63, 0.08) 0%, rgba(16, 36, 63, 0.02) 100%);
  z-index: -1;
}

.hp-row--reverse .hp-row__media::before {
  inset: 8% 12% -8% -5%;
}

.hp-section-img {
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 63, 0.1);
  box-shadow: 0 26px 64px -42px rgba(16, 36, 63, 0.58);
}

.hp-section-img--small {
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: min(34%, 210px);
  border: 8px solid #ffffff;
  box-shadow: 0 24px 48px -30px rgba(16, 36, 63, 0.72);
}

#sec-web .hp-row__media {
  padding: 0 26px 26px 0;
}

#sec-solution {
  background:
    radial-gradient(900px 420px at 82% 18%, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0) 68%),
    linear-gradient(180deg, #10253f 0%, #0c1d33 100%);
}

#sec-solution .hp-section-img--wide {
  max-width: 960px;
  margin: 34px auto 30px;
  aspect-ratio: 16 / 7.4;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 70px -44px rgba(2, 8, 23, 0.95);
}

.hp-svc-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  max-width: 1060px;
  margin: 28px auto 0;
}

.hp-svc-grid__item {
  min-height: 150px;
  padding: 20px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.055) 100%);
  border: 1px solid rgba(223, 234, 250, 0.18);
  box-shadow: none;
}

.hp-svc-grid__item:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 140, 149, 0.74);
  box-shadow: 0 18px 42px -32px rgba(2, 8, 23, 0.88);
}

.hp-svc-grid__num {
  display: block;
  margin-bottom: 12px;
  color: #7ff0c0;
  font-size: .74rem;
}

.hp-svc-grid__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 1.25rem;
}

.hp-svc-grid__item strong {
  color: #f8fbff;
  font-size: .98rem;
}

.hp-svc-grid__desc {
  color: rgba(223, 234, 250, 0.78);
  font-size: .8rem;
}

#sec-process {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.hp-process {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  max-width: 1120px;
  margin: 30px auto 36px;
  position: relative;
}

.hp-process::before {
  content: '';
  position: absolute;
  left: 7%;
  right: 7%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(23, 140, 149, 0.12), rgba(23, 140, 149, 0.7), rgba(23, 140, 149, 0.12));
}

.hp-process__step {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--navy);
  text-align: center;
  transition: transform .2s ease;
}

.hp-process__step:hover {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  transform: translateY(-3px);
}

.hp-process__num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(23, 140, 149, 0.32);
  box-shadow: 0 12px 30px -24px rgba(16, 36, 63, 0.6);
  color: var(--orange);
  padding: 0;
}

.hp-process__step:hover .hp-process__num {
  background: var(--orange);
  color: #ffffff;
}

.hp-process__name {
  max-width: 130px;
  font-size: .88rem;
  line-height: 1.55;
}

#sec-process .hp-section-img--wide,
#sec-audience .hp-section-img--wide {
  max-width: 980px;
  margin-inline: auto;
  border-radius: 16px;
}

#sec-social .hp-title,
#sec-gads .hp-title {
  color: var(--navy);
}

#sec-social .hp-lede,
#sec-gads .hp-lede,
#sec-social .hp-feature-list li,
#sec-gads .hp-feature-list li {
  color: var(--gray-700);
}

#sec-social .hp-num,
#sec-gads .hp-num {
  color: var(--orange);
}

#sec-social .hp-feature-title,
#sec-gads .hp-feature-title {
  color: var(--navy);
}

#sec-social .hp-callout,
#sec-gads .hp-callout {
  color: var(--navy);
  background: linear-gradient(135deg, rgba(23,140,149,.08), rgba(23,140,149,.02));
  border-left-color: var(--orange);
}

#sec-app .hp-section-img,
#sec-fbads .hp-section-img,
#sec-result .hp-section-img {
  object-position: 72% center;
}

#sec-social .hp-section-img,
#sec-gads .hp-section-img {
  object-position: 28% center;
}

#sec-process .hp-section-img--wide {
  object-position: center 58%;
}

#sec-audience .hp-section-img--wide {
  object-position: center 42%;
}

.hp-audience-grid {
  max-width: 980px;
  margin-bottom: 34px;
  gap: 12px;
}

.hp-audience-grid li {
  border-radius: 10px;
  padding: 15px 18px 15px 44px;
  position: relative;
  box-shadow: 0 18px 42px -38px rgba(16, 36, 63, 0.5);
}

.hp-audience-grid li::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

@media (max-width: 1100px) {
  .hp-svc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 0;
  }

  .hp-process::before {
    content: none;
  }
}

@media (max-width: 900px) {
  #sec-pain .hp-row,
  #sec-web .hp-row,
  #sec-seo .hp-row,
  #sec-app .hp-row,
  #sec-social .hp-row,
  #sec-fbads .hp-row,
  #sec-gads .hp-row,
  #sec-result .hp-row {
    grid-template-columns: 1fr;
  }

  #sec-seo .hp-row,
  #sec-social .hp-row,
  #sec-gads .hp-row,
  #sec-result .hp-row {
    grid-template-columns: 1fr;
  }

  .hp-row--reverse .hp-row__text,
  .hp-row--reverse .hp-row__media {
    order: initial;
  }

  .hp-row__media::before {
    inset: 10% 4% -6% 4%;
  }
}

@media (max-width: 768px) {
  .hp-svc-grid {
    grid-template-columns: 1fr;
  }

  .hp-svc-grid__item {
    min-height: 0;
  }

  .hp-process {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hp-process__step {
    grid-template-columns: 56px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    padding: 0;
  }

  .hp-process__name {
    max-width: none;
  }

  .hp-section-img--small {
    position: static;
    width: 100%;
    border: 1px solid rgba(16, 36, 63, 0.1);
  }

  #sec-web .hp-row__media {
    padding: 0;
  }

  .hp-feature-list,
  .hp-audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   Playful Homepage Rebuild
   Inspired by lively agency landing pages: bold type, strong scenes,
   layered mockups, and fewer text-heavy explanation blocks.
   ================================================================ */

#sec-pain,
#sec-solution,
#sec-web,
#sec-seo,
#sec-app,
#sec-social,
#sec-fbads,
#sec-gads,
#sec-trust,
#sec-why,
#sec-process,
#sec-audience,
#sec-result {
  display: none;
}

.hero-slider,
.hero,
.hero-slide {
  min-height: clamp(680px, 86vh, 900px);
}

.hero__text {
  max-width: 720px;
  width: min(50vw, 720px);
}

.hero__text .hero__h1 {
  font-size: clamp(3rem, 5.7vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__text .hero__sub {
  max-width: 620px;
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  font-weight: 700;
}

.hero__offer {
  max-width: 620px;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 24px 60px -44px rgba(2, 8, 23, .82);
  backdrop-filter: blur(10px);
}

.hero__offer-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #176236;
  background: #eafff2;
  border: 1px solid rgba(49, 168, 91, .26);
  font-size: .78rem;
  font-weight: 900;
}

.hero__offer strong {
  display: block;
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  line-height: 1.35;
}

.hero__offer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .82);
  font-weight: 700;
  line-height: 1.62;
}

.hero__reason-list {
  max-width: 620px;
  font-size: 1.05rem;
}

.hero__slide-overlay,
.hero__slide--promo-light .hero__slide-overlay {
  background:
    linear-gradient(90deg, rgba(9, 20, 38, .98) 0%, rgba(9, 20, 38, .9) 44%, rgba(9, 20, 38, .44) 72%, rgba(9, 20, 38, .08) 100%),
    radial-gradient(720px 420px at 18% 30%, rgba(23, 140, 149, .28), transparent 72%);
}

.trust-section {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  padding: 24px 0;
  border: 0;
  box-shadow: 0 18px 50px -42px rgba(15, 23, 42, .7);
}

.trust-badge__num {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.trust-badge__label {
  font-weight: 800;
}

.play-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(86px, 9vw, 150px);
}

.play-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #e94f72;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.play-kicker::before {
  content: '';
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.play-title {
  margin: 0;
  color: #10243f;
  font-size: clamp(2.35rem, 5vw, 5.25rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.play-lede {
  max-width: 640px;
  margin-top: 24px;
  color: #334155;
  font-size: clamp(1rem, 1.28vw, 1.22rem);
  line-height: 1.85;
  font-weight: 600;
}

.play-head {
  max-width: 940px;
  margin-bottom: 46px;
}

.play-head--center {
  margin-inline: auto;
  text-align: center;
}

.play-head--center .play-kicker {
  justify-content: center;
}

.play-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.play-btn:hover {
  transform: translateY(-2px);
}

.play-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--logo-teal) 0%, var(--logo-green) 100%);
  box-shadow: 0 18px 36px -22px rgba(23, 140, 149, .9);
}

.play-btn--light {
  color: #10243f;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(16, 36, 63, .12);
}

.play-intro {
  background:
    radial-gradient(620px 420px at 86% 12%, rgba(56, 189, 248, .22), transparent 72%),
    linear-gradient(135deg, #f5fbff 0%, #ffffff 48%, #eaf7f5 100%);
}

.play-intro__grid {
  display: grid;
  grid-template-columns: minmax(520px, .98fr) minmax(440px, 1.02fr);
  gap: clamp(38px, 5vw, 76px);
  align-items: center;
}

.play-intro .play-title {
  max-width: 660px;
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
  line-height: .98;
}

.play-intro .play-lede {
  max-width: 600px;
  font-size: clamp(1.05rem, 1.18vw, 1.18rem);
  line-height: 1.78;
}

.play-stack {
  position: relative;
  min-height: 520px;
}

.play-stack::before {
  content: '';
  position: absolute;
  inset: 18% 5% 4% 12%;
  border-radius: 34px;
  background: #178c95;
  transform: rotate(-4deg);
  box-shadow: 0 34px 80px -48px rgba(23, 140, 149, .9);
}

.play-stack__img {
  position: absolute;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 32px 80px -44px rgba(2, 8, 23, .82);
}

.play-stack__img--main {
  inset: 12% 3% auto 0;
  width: 88%;
  aspect-ratio: 16 / 10;
  border: 10px solid #fff;
  transform: rotate(-2deg);
}

.play-stack__img--phone {
  right: 0;
  bottom: 0;
  width: 28%;
  aspect-ratio: 9 / 16;
  border: 8px solid #fff;
  transform: rotate(6deg);
}

.play-stack__note {
  position: absolute;
  z-index: 3;
  padding: 12px 18px;
  border-radius: 999px;
  color: #10243f;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 18px 40px -28px rgba(2, 8, 23, .7);
}

.play-stack__note--one {
  top: 4%;
  left: 8%;
}

.play-stack__note--two {
  right: 4%;
  top: 22%;
  background: #7ff0c0;
}

.play-pop {
  color: #fff;
  background:
    radial-gradient(720px 420px at 22% 12%, rgba(34, 211, 238, .2), transparent 74%),
    linear-gradient(180deg, #178c95 0%, #0f6970 100%);
}

.play-pop .play-title,
.play-pop .play-lede {
  color: #fff;
}

.play-pop .play-kicker {
  color: #7ff0c0;
}

.play-system {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 28px;
  align-items: stretch;
}

.play-system__img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 34px 90px -50px rgba(2, 8, 23, .9);
}

.play-system__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.play-system__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  min-height: 92px;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 1.05rem;
  font-weight: 900;
}

.play-system__list span {
  color: #7ff0c0;
  font-family: 'Inter', sans-serif;
}

.play-cases {
  background: #fff;
}

.play-cases__grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, .86fr);
  gap: clamp(46px, 7vw, 104px);
  align-items: center;
}

.play-cases__media {
  position: relative;
  min-height: 560px;
}

.play-cases__media::before {
  content: '';
  position: absolute;
  inset: 6% 18% 8% 0;
  border-radius: 38px;
  background: #ff6b35;
  transform: rotate(5deg);
}

.play-cases__media img {
  position: absolute;
  width: 72%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  border: 8px solid #fff;
  box-shadow: 0 30px 80px -48px rgba(2, 8, 23, .86);
}

.play-cases__media img:nth-child(1) {
  top: 0;
  left: 4%;
  transform: rotate(-5deg);
}

.play-cases__media img:nth-child(2) {
  top: 34%;
  right: 0;
  transform: rotate(4deg);
}

.play-cases__media img:nth-child(3) {
  bottom: 0;
  left: 10%;
  transform: rotate(-2deg);
}

.play-checks {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.play-checks li {
  padding: 15px 18px;
  border-radius: 12px;
  color: #10243f;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 900;
}

.play-services {
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.play-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.play-service-card {
  min-height: 250px;
  padding: 28px;
  border-radius: 20px;
  background: #10243f;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px -46px rgba(2, 8, 23, .8);
}

.play-service-card--wide {
  grid-column: span 2;
  background:
    radial-gradient(420px 260px at 88% 12%, rgba(127, 240, 192, .26), transparent 72%),
    linear-gradient(135deg, #10243f 0%, #255f92 100%);
}

.play-service-card span {
  color: #7ff0c0;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .82rem;
}

.play-service-card h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.08;
}

.play-service-card p {
  max-width: 360px;
  color: rgba(255, 255, 255, .78);
  font-weight: 700;
  line-height: 1.7;
}

.play-service-card--image {
  padding: 0;
  grid-column: span 2;
}

.play-service-card--image img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.play-service-grid .play-service-card--image {
  grid-column: span 1;
}

.play-flow {
  background: #fff;
}

.play-flow__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.play-flow__steps--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.play-flow__steps li {
  padding: 24px 18px;
  border-radius: 18px;
  text-align: center;
  background: #f6fffb;
  border: 1px solid #d9f7e6;
}

.play-flow__steps span,
.play-flow__steps strong,
.play-flow__steps small {
  display: block;
}

.play-flow__steps span {
  color: #e94f72;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
}

.play-flow__steps strong {
  margin-top: 12px;
  color: #10243f;
  font-size: 1.25rem;
}

.play-flow__steps small {
  margin-top: 8px;
  color: #64748b;
  font-weight: 800;
  line-height: 1.45;
}

.play-flow__img {
  display: block;
  width: min(980px, 100%);
  margin-inline: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 22px;
  box-shadow: 0 30px 80px -54px rgba(2, 8, 23, .86);
}

@media (max-width: 1100px) {
  .play-intro__grid,
  .play-system,
  .play-cases__grid {
    grid-template-columns: 1fr;
  }

  .play-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-flow__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .play-flow__steps--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-slider,
  .hero,
  .hero-slide {
    min-height: 780px;
  }

  .hero__slide-content {
    align-items: flex-start;
  }

  .hero__text {
    width: 100%;
    padding-top: 36px;
  }

  .hero__text .hero__h1 {
    font-size: clamp(2.35rem, 11vw, 4rem);
  }

  .hero__text .hero__cta .btn-ghost {
    display: none;
  }

  .play-section {
    padding-block: 72px;
  }

  .play-title {
    font-size: clamp(2.1rem, 10vw, 3.45rem);
  }

  .hero__offer {
    padding: 15px 16px;
  }

  .play-stack,
  .play-cases__media {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .trust-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-actions,
  .hero__text .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .play-btn,
  .hero__text .hero__cta .btn-primary,
  .hero__text .hero__cta .btn-ghost {
    width: 100%;
  }

  .play-stack {
    min-height: 360px;
  }

  .play-stack::before {
    inset: 22% 2% 8% 5%;
  }

  .play-stack__img--main {
    width: 92%;
  }

  .play-stack__img--phone {
    width: 34%;
  }

  .play-stack__note {
    display: none;
  }

  .play-system__img {
    min-height: 260px;
  }

  .play-cases__media {
    min-height: 390px;
  }

  .play-cases__media img {
    width: 84%;
  }

  .play-service-grid,
  .play-flow__steps {
    grid-template-columns: 1fr;
  }

  .play-service-card,
  .play-service-card--wide,
  .play-service-card--image {
    grid-column: auto;
  }
}

/* ================================================================
   Case Conversion Pass
   Give portfolio pages a problem / method / result narrative.
   ================================================================ */

.cases-hero {
  text-align: left;
  background:
    radial-gradient(760px 380px at 86% 18%, rgba(23, 140, 149, .26), transparent 70%),
    radial-gradient(620px 360px at 12% 86%, rgba(56, 189, 248, .12), transparent 72%),
    linear-gradient(135deg, #10243f 0%, #183b5e 100%);
}

.cases-hero__title {
  max-width: 780px;
  font-size: clamp(2.6rem, 5.3vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.cases-hero__sub {
  max-width: 660px;
  margin: 0;
  font-weight: 700;
}

.cases-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.cases-hero__proof li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-weight: 900;
}

.cases-hero__proof strong {
  color: #7ff0c0;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
}

.case-card {
  border-radius: 18px;
}

.case-card__body {
  display: block;
  min-height: 208px;
}

.case-card__img--no-photo {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(220px 160px at 76% 18%, rgba(23, 140, 149, .28), transparent 70%),
    linear-gradient(135deg, #10243f 0%, #245278 100%);
}

.case-card__img--no-photo::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
}

.case-card__img--no-photo .case-card__initial {
  color: rgba(255, 255, 255, .28);
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .1em;
  opacity: 1;
}

.case-card__img--no-photo strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
}

.case-card__meta {
  margin-bottom: 10px;
  color: #e94f72;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.case-card__title {
  margin-bottom: 12px;
  font-size: 1.12rem;
  line-height: 1.35;
}

/* ================================================================
   New Website Planning Copy Pass
   Shift the homepage from "site audit" to "new website planning".
   ================================================================ */

.hero__slide--planner .hero__text {
  color: #fff;
}

.hero__slide--anniversary .hero__text {
  color: #fff;
}

.hero__slide--booking .hero__text {
  color: #fff;
}

.hero__slide--planner .hero__kicker {
  color: #7ff0c0;
  background: rgba(23, 140, 149, .16);
  border-color: rgba(23, 140, 149, .34);
}

.hero__slide--anniversary .hero__kicker,
.hero__slide--booking .hero__kicker {
  color: #7ff0c0;
  background: rgba(23, 140, 149, .16);
  border-color: rgba(23, 140, 149, .34);
}

.hero__slide--planner .hero__h1,
.hero__slide--planner .hero__sub,
.hero__slide--anniversary .hero__h1,
.hero__slide--anniversary .hero__sub,
.hero__slide--booking .hero__h1,
.hero__slide--booking .hero__sub {
  color: #fff;
  text-shadow: 0 2px 18px rgba(2, 8, 23, .42);
}

.hero__text--simple .hero__sub {
  margin-bottom: 30px;
}

.hero__slide--anniversary .hero__h1 {
  max-width: 760px;
}

.hero__slide--clean .hero__slide-overlay {
  background:
    linear-gradient(90deg, rgba(8, 19, 35, .94) 0%, rgba(8, 19, 35, .84) 43%, rgba(8, 19, 35, .42) 70%, rgba(8, 19, 35, .08) 100%);
}

.hero__slide--planner .hero__bg-image {
  object-position: right center;
}

.hero__slide--anniversary .hero__bg-image,
.hero__slide--booking .hero__bg-image {
  object-position: right center;
}

.hero__line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 999px;
  color: #10243f;
  background: #7ff0c0;
  font-size: 1.02rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 18px 42px -28px rgba(127, 240, 192, .9);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero__line-link:hover {
  transform: translateY(-2px);
  background: #a8f5d6;
  box-shadow: 0 22px 46px -30px rgba(127, 240, 192, .95);
}

.hero__mobile-visual {
  display: none;
}

.mobile-break {
  display: none;
}

.play-checks--compact {
  margin-top: 24px;
}

.play-checks--compact li {
  background: rgba(255, 255, 255, .82);
}

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

  .play-intro .play-title {
    max-width: 100%;
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .hero__slide--planner .hero__bg-image,
  .hero__slide--anniversary .hero__bg-image,
  .hero__slide--booking .hero__bg-image {
    object-position: 72% center;
  }

  .hero__text .hero__sub,
  .hero__offer strong,
  .hero__offer p,
  .hero__reason-list li,
  .trust-badge__label {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 640px) {
  .mobile-break {
    display: block;
  }

  .sticky-call {
    padding-inline: 10px;
    gap: 8px;
  }

  .sticky-call__btn {
    min-height: 46px;
    padding: 10px 8px;
    font-size: .86rem;
  }

  .sticky-call__btn svg {
    width: 16px;
    height: 16px;
  }

  .hero-slider,
  .hero,
  .hero-slide {
    min-height: 620px;
  }

  .hero__slider {
    background: #10243f;
    min-height: 620px;
  }

  .hero__slide {
    position: absolute;
    display: flex;
    min-height: 620px;
    padding: 0;
  }

  .hero__slide:not(.active):not(.is-active) {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
  }

  .hero__slide--planner .hero__bg-image,
  .hero__slide--anniversary .hero__bg-image,
  .hero__slide--booking .hero__bg-image {
    display: block;
    object-position: 70% center;
  }

  .hero__slide-overlay,
  .hero__slide--promo-light .hero__slide-overlay,
  .hero__slide--planner .hero__slide-overlay,
  .hero__slide--anniversary .hero__slide-overlay,
  .hero__slide--booking .hero__slide-overlay {
    background: linear-gradient(180deg, rgba(8, 19, 35, .92) 0%, rgba(8, 19, 35, .74) 54%, rgba(8, 19, 35, .38) 100%);
  }

  .hero__slide-content {
    position: relative;
    min-height: 620px;
    height: 100%;
    display: flex;
    align-items: center;
  }

  .hero__slide-content.container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: 0 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .hero__text {
    width: min(300px, calc(100vw - 112px)) !important;
    max-width: min(300px, calc(100vw - 112px)) !important;
    min-width: 0;
    padding-top: 42px;
    padding-bottom: 0;
  }

  .hero__text .hero__h1 {
    font-size: clamp(2.05rem, 9.4vw, 3rem);
  }

  .hero__text .hero__sub {
    max-width: min(300px, calc(100vw - 112px)) !important;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero__offer {
    width: 100%;
    max-width: min(300px, calc(100vw - 112px)) !important;
    margin-top: 18px;
  }

  .hero__offer strong {
    font-size: 1rem;
  }

  .hero__reason-list {
    max-width: 100%;
    font-size: .94rem;
  }

  .hero__line-link {
    width: 100%;
  }

  .hero__cta {
    max-width: min(300px, calc(100vw - 112px));
  }

  .hero__mobile-visual {
    display: none !important;
  }

  .trust-badge {
    padding-inline: 12px;
  }

  .trust-badge__label {
    font-size: .78rem;
  }
}

.case-card__focus {
  margin-bottom: 18px;
  color: #526178;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.72;
}

.case-card__link {
  width: max-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: #f6fffb;
}

/* ================================================================
   TNN Homepage Blueprint Implementation
   More lively sales-page rhythm inspired by the reference structure.
   ================================================================ */

.play-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.play-pain-grid article,
.play-why-grid article {
  position: relative;
  min-height: 154px;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(16, 36, 63, .1);
  box-shadow: 0 22px 54px -44px rgba(2, 8, 23, .55);
}

.play-pain-grid span,
.play-why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  border-radius: 999px;
  color: #e94f72;
  background: #f6fffb;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 900;
}

.play-pain-grid h3,
.play-why-grid h3 {
  margin: 16px 0 8px;
  color: #10243f;
  font-size: 1.03rem;
  line-height: 1.45;
}

.play-pain-grid p,
.play-why-grid p {
  color: #526178;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.72;
}

.play-head--split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: 44px;
  align-items: end;
  max-width: none;
}

.play-system__panel {
  display: grid;
  gap: 18px;
}

.play-system__cta,
.home-case-cta .play-btn {
  justify-self: start;
}

.play-system__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  color: #10243f;
  background: #7ff0c0;
  font-weight: 900;
  box-shadow: 0 18px 40px -28px rgba(127, 240, 192, .95);
}

.home-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 24px 62px -48px rgba(2, 8, 23, .72);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 82px -52px rgba(2, 8, 23, .85);
}

.home-case-card__num {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-width: 42px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--logo-pink);
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 900;
}

.home-case-card__img {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: #10243f;
  overflow: hidden;
}

.home-case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .28s ease;
}

.home-case-card:hover .home-case-card__img img {
  transform: scale(1.04);
}

.home-case-card__tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #176236;
  background: #eafff2;
  border: 1px solid rgba(49, 168, 91, .26);
  font-size: .78rem;
  font-weight: 900;
}

.home-case-card__mock {
  display: grid;
  align-content: center;
  min-height: 230px;
  padding: 32px;
  color: #fff;
  background:
    radial-gradient(280px 180px at 78% 18%, rgba(23, 140, 149, .32), transparent 72%),
    linear-gradient(135deg, #10243f 0%, #245278 100%);
}

.home-case-card__mock strong {
  display: block;
  max-width: 260px;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.15;
}

.home-case-card__mock small {
  margin-top: 14px;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
}

.home-case-card__body {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.home-case-card__body h3 {
  color: #10243f;
  font-size: 1.22rem;
  line-height: 1.35;
}

.home-case-card__body p {
  color: #526178;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.72;
}

.home-case-card__body span {
  justify-self: start;
  padding: 8px 13px;
  border-radius: 999px;
  color: #e94f72;
  background: #f6fffb;
  font-size: .86rem;
  font-weight: 900;
}

.home-case-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.play-why {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(23, 140, 149, .18) 0 18%, transparent 18% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(180deg, #10243f 0%, #071426 100%);
  background-size: auto, 56px 56px, 56px 56px, auto;
}

.play-why::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 54%, rgba(20, 184, 166, .16) 54% 64%, transparent 64% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 38%);
}

.play-why::after {
  content: 'TNN';
  position: absolute;
  z-index: -1;
  right: clamp(18px, 7vw, 96px);
  top: clamp(70px, 8vw, 132px);
  color: rgba(255, 255, 255, .045);
  font-family: 'Inter', sans-serif;
  font-size: clamp(7rem, 18vw, 18rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: 0;
}

.play-why .play-title,
.play-why .play-lede {
  color: #fff;
}

.play-why .play-head {
  max-width: 940px;
  margin-inline: auto;
}

.play-why .play-title {
  max-width: 940px;
  margin-inline: auto;
  font-size: clamp(3.2rem, 4.8vw, 5.4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.play-why .play-lede {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.play-why-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 28px 80px -56px rgba(2, 8, 23, .95);
  backdrop-filter: blur(12px);
}

.play-why-proof div {
  min-height: 142px;
  padding: 24px 26px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.play-why-proof div:last-child {
  border-right: 0;
}

.play-why-proof strong {
  display: block;
  margin-bottom: 16px;
  color: #7ff0c0;
  font-family: 'Inter', sans-serif;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.play-why-proof span {
  display: block;
  color: #fff;
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  font-weight: 900;
  line-height: 1.25;
}

.play-why-proof small {
  display: block;
  margin-top: 10px;
  color: rgba(226, 235, 252, .76);
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.55;
}

.play-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.play-why-grid article {
  position: relative;
  min-height: 238px;
  padding-top: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .065));
  border-color: rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.play-why-grid article::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e94f72, #7ff0c0);
}

.play-why-grid article:nth-child(even) {
  transform: translateY(22px);
}

.play-why-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 240, 192, .45);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08));
}

.play-why-grid article:nth-child(even):hover {
  transform: translateY(14px);
}

.play-why-grid h3 {
  color: #fff;
}

.play-why-grid p {
  color: rgba(226, 235, 252, .84);
}

.play-why-grid span {
  color: #7ff0c0;
  background: rgba(127, 240, 192, .12);
}

@media (max-width: 1100px) {
  .play-head--split,
  .home-case-grid {
    grid-template-columns: 1fr;
  }

  .play-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-why-proof {
    grid-template-columns: 1fr;
  }

  .play-why-proof div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

  .play-why-proof div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .play-pain-grid,
  .play-why-grid {
    grid-template-columns: 1fr;
  }

  .play-pain-grid article,
  .play-why-grid article {
    min-height: 0;
    padding: 20px;
  }

  .play-why-grid article:nth-child(even),
  .play-why-grid article:nth-child(even):hover {
    transform: none;
  }

  .home-case-grid {
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .hero__text,
  .hero__text .hero__sub,
  .hero__offer,
  .hero__cta,
  .hero__mobile-visual {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .hero__text .hero__sub,
  .hero__offer strong,
  .hero__offer p,
  .hero__reason-list li {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .hero__slide-content.container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero__text .hero__h1 {
    font-size: clamp(1.95rem, 10vw, 2.45rem);
    line-height: 1.12;
  }

  .hero__line-link {
    min-height: 52px;
  }

  .home-case-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .home-case-cta .play-btn {
    width: 100%;
  }
}

.cases-empty {
  grid-column: 1 / -1;
  padding: 42px;
  border-radius: 20px;
  background: #f8fbff;
  border: 1px solid #dbe7f3;
  text-align: center;
}

.cases-empty h2 {
  margin-bottom: 10px;
  color: #10243f;
  font-size: 1.5rem;
}

.cases-empty p {
  max-width: 620px;
  margin: 0 auto 20px;
  color: #526178;
  line-height: 1.75;
  font-weight: 650;
}

.case-detail__eyebrow {
  margin: -8px 0 14px;
  color: #e94f72;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.case-detail-img--no-photo {
  display: grid;
  align-content: center;
  gap: 12px;
  min-height: 420px;
  padding: 42px;
  color: #fff;
  background:
    radial-gradient(360px 240px at 78% 18%, rgba(23, 140, 149, .28), transparent 72%),
    linear-gradient(135deg, #10243f 0%, #245278 100%);
}

.case-detail-img--no-photo span {
  color: #7ff0c0;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.case-detail-img--no-photo strong {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.case-detail-img--no-photo small {
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  font-weight: 800;
}

.case-story {
  padding: 72px 0;
  background:
    radial-gradient(680px 280px at 12% 10%, rgba(56, 189, 248, .14), transparent 72%),
    #f8fbff;
}

.case-story__head {
  max-width: 860px;
  margin: 0 auto 36px;
}

.case-story__kicker {
  margin-bottom: 12px;
  color: var(--logo-pink);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.case-story__head h2 {
  color: #10243f;
  font-size: clamp(2.1rem, 4.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.case-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.case-story__card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  overflow: visible;
  min-height: 0;
  padding: 32px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #dbe7f3;
  box-shadow: none;
}

.case-story__card:last-child {
  border-bottom: 1px solid #dbe7f3;
}

.case-story__media,
.case-wwd__media {
  position: relative;
  min-height: 0;
  margin: 26px 0 46px;
  overflow: hidden;
  border: 1px solid #dbe7f3;
  border-radius: 18px;
  background: #e8f4f6;
  box-shadow: 0 22px 52px -42px rgba(2, 8, 23, .65);
}

.case-story__media::after,
.case-wwd__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,36,63,0) 48%, rgba(16,36,63,.22) 100%);
  pointer-events: none;
}

.case-story__media img,
.case-wwd__media img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.case-story__body {
  padding: 0;
}

.case-story__card span,
.case-wwd__icon {
  color: var(--logo-pink);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: .12em;
}

.case-story__card span {
  position: sticky;
  top: 96px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #e94f72 0%, #178c95 100%);
  box-shadow: 0 16px 30px -22px rgba(16,36,63,.8);
}

.case-story__card h3 {
  margin: 0 0 14px;
  color: #10243f;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.case-story__card p {
  color: #526178;
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.9;
}

.case-what-we-did {
  background:
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.case-wwd__title {
  text-align: left;
  max-width: 860px;
  margin: 0 auto 30px;
}

.case-wwd__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.case-wwd__item {
  display: block;
  overflow: visible;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe7f3;
  box-shadow: 0 22px 52px -44px rgba(2, 8, 23, .65);
}

.case-wwd__item > .case-wwd__icon,
.case-wwd__item > h3,
.case-wwd__item > p {
  margin-left: 0;
  margin-right: 0;
}

.case-wwd__icon {
  font-size: .86rem;
  margin-bottom: 14px;
}

.case-wwd__item h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin-bottom: 10px;
  color: #10243f;
}

.case-wwd__item p {
  color: #526178;
  font-size: .98rem;
  font-weight: 650;
  line-height: 1.85;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .cases-hero {
    background: linear-gradient(160deg, #10243f 0%, #183b5e 100%);
  }

  .case-story__card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .case-story__card span {
    position: static;
  }

  .case-wwd__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cases-hero {
    padding: 72px 0 48px;
  }

  .cases-hero__title {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .cases-hero__proof li {
    width: 100%;
  }

  .case-card__body {
    min-height: auto;
  }
}

/* ================================================================
   Chat Widget
   ================================================================ */

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 140;
  font-family: var(--font-main);
}

.chat-widget__launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 8px 20px 8px 12px;
  border: 1px solid rgba(23, 140, 149, .28);
  border-radius: 999px;
  color: #10243f;
  background: #f6fffb;
  box-shadow: 0 18px 44px -28px rgba(23, 140, 149, .55);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  animation: chat-launcher-float 5.5s ease-in-out infinite;
  overflow: visible;
}

.chat-widget__launcher::after {
  content: '👋';
  position: absolute;
  left: 48px;
  top: 8px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px -12px rgba(15, 23, 42, .7);
  font-size: 15px;
  line-height: 1;
  transform-origin: 20% 80%;
  animation: chat-wave 2.8s ease-in-out infinite;
}

.chat-widget__launcher:hover {
  transform: translateY(-2px);
  background: #eafff2;
  box-shadow: 0 22px 52px -30px rgba(23, 140, 149, .68);
}

.chat-widget__avatar {
  width: 66px;
  height: 66px;
  margin: -18px 0 -8px -6px;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #d9f7e6 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .78), 0 10px 22px -16px rgba(15, 23, 42, .8);
  transform-origin: 50% 88%;
  animation: chat-avatar-greet 4.4s ease-in-out infinite;
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: none;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe7f3;
  box-shadow: 0 28px 82px -38px rgba(2, 8, 23, .72);
}

@keyframes chat-launcher-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes chat-avatar-greet {
  0%, 58%, 100% { transform: rotate(0deg) translateY(0); }
  64% { transform: rotate(-4deg) translateY(-2px); }
  70% { transform: rotate(4deg) translateY(-2px); }
  76% { transform: rotate(-2deg) translateY(0); }
}

@keyframes chat-wave {
  0%, 52%, 100% { transform: rotate(0deg) scale(1); }
  58% { transform: rotate(18deg) scale(1.08); }
  64% { transform: rotate(-14deg) scale(1.08); }
  70% { transform: rotate(16deg) scale(1.08); }
  76% { transform: rotate(0deg) scale(1); }
}

.chat-widget.is-open .chat-widget__panel {
  display: block;
}

.chat-widget__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px;
  color: #fff;
  background: #10243f;
}

.chat-widget__header strong {
  display: block;
  font-size: 1rem;
  line-height: 1.3;
}

.chat-widget__header span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  font-weight: 700;
}

.chat-widget__close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.chat-widget__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 330px;
  padding: 16px;
  overflow-y: auto;
  background: #f8fbff;
}

.chat-widget__msg {
  display: flex;
}

.chat-widget__msg--user {
  justify-content: flex-end;
}

.chat-widget__bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px;
  color: #10243f;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.62;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.chat-widget__msg--user .chat-widget__bubble {
  color: #fff;
  background: var(--logo-teal);
  border-color: var(--logo-teal);
}

.chat-widget__phone-link {
  color: var(--logo-pink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.chat-widget__msg--user .chat-widget__phone-link {
  color: #fff;
}

.chat-widget__status {
  display: none;
  padding: 0 16px 9px;
  color: #64748b;
  background: #f8fbff;
  font-size: .82rem;
  font-weight: 800;
}

.chat-widget__status.is-visible {
  display: block;
}

.chat-widget__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.chat-widget__input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  padding: 0 14px;
  color: #10243f;
  font: inherit;
  font-size: .9rem;
  outline: none;
}

.chat-widget__input:focus {
  border-color: var(--logo-teal);
  box-shadow: 0 0 0 3px rgba(23, 140, 149, .13);
}

.chat-widget__send {
  flex: 0 0 auto;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #10243f;
  font-weight: 900;
  cursor: pointer;
}

.chat-widget__send:disabled,
.chat-widget__input:disabled {
  opacity: .62;
  cursor: wait;
}

.chat-widget__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 12px 12px;
  background: #fff;
}

.chat-widget__quick button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  color: #10243f;
  background: #fff;
  font-size: .78rem;
  font-weight: 650;
  cursor: pointer;
}

.chat-widget__quick button:hover {
  border-color: var(--logo-teal);
  color: var(--logo-teal);
}

.chat-widget__line {
  display: block;
  margin: 0 12px 12px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--logo-pink) 0%, var(--logo-teal) 100%);
  text-align: center;
  font-size: .88rem;
  font-weight: 900;
}

.chat-widget.is-open .chat-widget__launcher,
.chat-widget.is-open .chat-widget__avatar,
.chat-widget.is-open .chat-widget__launcher::after {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .chat-widget__launcher,
  .chat-widget__avatar,
  .chat-widget__launcher::after {
    animation: none;
  }
}

@media (max-width: 640px) {
  .chat-widget {
    right: 10px;
    bottom: 76px;
  }

  .chat-widget__launcher {
    display: none;
  }

  .chat-widget__panel {
    right: 0;
    bottom: 58px;
    width: calc(100vw - 20px);
    border-radius: 16px;
  }

  .chat-widget__messages {
    height: min(360px, 48vh);
  }
}

#contact,
.cta-form {
  scroll-margin-top: 92px;
}

@media (max-width: 640px) {
  .hero,
  .hero-slider,
  .hero__slider,
  .hero-slide,
  .hero__slide {
    min-height: 620px !important;
  }

  .hero__bg-image {
    display: block !important;
  }

  .hero__mobile-visual {
    display: none !important;
  }
}

/* ================================================================
   Form Spotlight
   ================================================================ */

.form-spotlight {
  position: fixed;
  inset: 0;
  z-index: 220;
  border: 0;
  padding: 0;
  background: rgba(2, 8, 23, .68);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.form-spotlight[hidden] {
  display: none;
}

.has-form-spotlight {
  overflow-x: clip;
}

.has-form-spotlight .chat-widget,
.has-form-spotlight .sticky-call {
  display: none !important;
}

.cta-form.is-form-spotlit .cta-form__card,
.contact-section.is-form-spotlit .contact-form-wrap {
  position: relative;
  z-index: 240;
  animation: formSpotlightPulse 1.4s ease-in-out infinite alternate;
  box-shadow:
    0 0 0 6px rgba(127, 240, 192, .2),
    0 0 0 12px rgba(23, 140, 149, .14),
    0 34px 100px -42px rgba(2, 8, 23, .9);
}

.cta-form.is-form-spotlit .cta-form__card::after {
  content: '從這裡留下需求';
  position: absolute;
  top: -14px;
  right: 18px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  color: #10243f;
  background: #7ff0c0;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: 0 16px 34px -24px rgba(2, 8, 23, .75);
}

@keyframes formSpotlightPulse {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

@media (max-width: 640px) {
  body.has-form-spotlight {
    overflow: hidden;
    padding-bottom: 0;
  }

  .cta-form.is-form-spotlit {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: block;
    padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: transparent;
  }

  .cta-form.is-form-spotlit .container {
    width: 100%;
    padding: 0;
  }

  .cta-form.is-form-spotlit .cta-form__layout {
    display: block;
  }

  .cta-form.is-form-spotlit .cta-form__pitch {
    display: none;
  }

  .cta-form.is-form-spotlit .cta-form__card {
    width: min(100%, 430px);
    max-height: calc(100dvh - 36px - env(safe-area-inset-bottom));
    margin: 0 auto;
    padding: 30px 20px 22px;
    overflow-y: auto;
    border-radius: 18px;
  }

  .cta-form.is-form-spotlit .cta-form__card::after {
    top: 8px;
    right: 12px;
  }

  .cta-form.is-form-spotlit .lead-form__row {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   DJI-style Hero Composition
   Text first, image second. Keep the art visible and avoid text overlap.
   ================================================================ */

.hero .hero__slide--clean {
  align-items: flex-start;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 50% 70%, rgba(23, 140, 149, .12), transparent 68%),
    linear-gradient(180deg, #f6fffb 0%, #f8fbff 48%, #edf4fb 100%);
}

.hero .hero__slide--booking {
  background:
    radial-gradient(760px 380px at 52% 70%, rgba(16, 36, 63, .12), transparent 68%),
    linear-gradient(180deg, #f8fcff 0%, #f3f8fc 48%, #e8f1f8 100%);
}

.hero .hero__slide--planner {
  background:
    radial-gradient(760px 380px at 50% 70%, rgba(23, 140, 149, .1), transparent 68%),
    linear-gradient(180deg, #fbfdff 0%, #f2f7fc 48%, #e5eef8 100%);
}

.hero .hero__slide--clean .hero__bg-image {
  inset: auto auto 0 50%;
  width: min(980px, 86vw);
  height: 50%;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 34px 42px rgba(15, 23, 42, .16)) saturate(.98) contrast(1.03);
}

.hero .hero__slide--clean .hero__slide-overlay {
  background:
    linear-gradient(180deg, rgba(248, 251, 255, .98) 0%, rgba(248, 251, 255, .86) 29%, rgba(248, 251, 255, .18) 51%, rgba(8, 19, 35, .2) 100%);
}

.hero .hero__slide--clean .hero__slide-content {
  align-items: flex-start;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding-top: clamp(54px, 8vh, 86px);
}

.hero .hero__slide--clean .hero__slide-content.container {
  padding-left: 24px;
  padding-right: 24px;
}

.hero .hero__slide--clean .hero__text {
  width: min(760px, 92vw);
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  color: #10243f;
}

.hero .hero__slide--clean .hero__kicker {
  color: #e94f72;
  background: rgba(23, 140, 149, .09);
  border-color: rgba(23, 140, 149, .22);
}

.hero .hero__slide--clean .hero__h1,
.hero .hero__slide--clean .hero__sub {
  color: #10243f;
  text-shadow: none;
}

.hero .hero__slide--clean .hero__h1 {
  margin: 12px auto 14px;
  font-size: clamp(2.7rem, 5.2vw, 5.6rem);
  line-height: 1.03;
}

.hero__highlight {
  color: #e94f72;
  text-shadow: 0 10px 30px rgba(23, 140, 149, .18);
}

.hero .hero__slide--clean .hero__sub {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: #40536a;
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
}

.hero .hero__slide--clean .hero__cta {
  justify-content: center;
  margin-bottom: clamp(22px, 3vh, 42px);
}

.hero .hero__slide--clean .hero__line-link {
  background: #10243f;
  color: #fff;
  box-shadow: 0 18px 42px -30px rgba(15, 23, 42, .9);
}

.hero .hero__slide--clean .hero__line-link:hover {
  background: #18375f;
}

@media (max-width: 900px) {
  .hero .hero__slide--clean .hero__bg-image {
    width: min(980px, 108vw);
    height: 52%;
    object-position: center bottom;
  }

  .hero .hero__slide--clean .hero__slide-content {
    padding-top: 48px;
  }

  .hero .hero__slide--clean .hero__text {
    width: min(680px, calc(100vw - 40px)) !important;
    max-width: min(680px, calc(100vw - 40px)) !important;
  }
}

@media (max-width: 640px) {
  .hero .hero__slide--clean .hero__bg-image {
    width: 118vw;
    height: 44%;
    bottom: 8px;
    object-position: center bottom;
  }

  .hero .hero__slide--clean .hero__slide-overlay {
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 1) 0%, rgba(248, 251, 255, .9) 45%, rgba(248, 251, 255, .15) 68%, rgba(8, 19, 35, .18) 100%);
  }

  .hero .hero__slide--clean .hero__slide-content {
    align-items: flex-start;
    min-height: 620px;
    padding-top: 34px;
  }

  .hero .hero__slide--clean .hero__text {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
  }

  .hero .hero__slide--clean .hero__h1 {
    font-size: clamp(2.15rem, 10.5vw, 3.1rem);
  }

  .hero .hero__slide--clean .hero__sub {
    max-width: 20rem !important;
    margin-bottom: 18px;
    font-size: .98rem;
  }

  .hero .hero__slide--clean .hero__cta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero .hero__slide--clean .hero__cta .btn-primary,
  .hero .hero__slide--clean .hero__line-link {
    width: min(300px, 100%);
    margin-inline: auto;
  }
}
