/* ==========================================================================
   遇幸福・電子喜帖工作室 (Wedding Hub) — Main Stylesheet (RWD)
   ========================================================================== */

:root {
  /* Color Palette extracted from design specification */
  --bg-page: #FDFBF9;
  --bg-header: rgba(252, 249, 247, 0.93);
  --bg-works: #FDFCFA;
  --bg-process: #FCF9F5;
  --bg-footer: #FEFEFC;

  --text-heading: #221A17;
  --text-body: #665850;
  --text-muted: #616E7C;
  --text-accent: #825B4A;
  --text-eyebrow: #9C7A69;

  --brown-primary: #865D4C;
  --brown-primary-top: #916754;
  --brown-primary-bottom: #7B5442;
  --brown-hover: #6E4A3A;
  --brown-badge: #B89886;
  --brown-border: #9B7B6B;

  --line-green-top: #1AD66C;
  --line-green-bottom: #05C258;

  --card-radius: 14px;
  --pill-radius: 999px;

  --font-serif: 'Noto Serif TC', 'PMingLiU', serif;
  --font-sans: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-en-serif: 'Cormorant Garamond', 'Noto Serif TC', serif;

  --container-max: 1180px;
  --header-height: 74px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 2.25rem;
}

/* ==========================================================================
   DECORATIVE BOTANICAL OVERLAYS (WEBP)
   ========================================================================== */
.botanical-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  object-fit: contain;
}

.botanical-hero-top-left {
  top: 0;
  left: 0;
  width: clamp(120px, 15.5vw, 225px);
  opacity: 0.95;
}

.botanical-hero-bottom-left {
  bottom: 8px;
  left: -10px;
  width: clamp(105px, 13vw, 185px);
  transform: scaleY(-1);
  opacity: 0.9;
}

.botanical-works-right {
  top: -18px;
  right: 0;
  width: clamp(110px, 13vw, 195px);
  opacity: 0.95;
}

.botanical-works-left {
  top: 40%;
  left: -16px;
  width: clamp(95px, 11vw, 155px);
  transform: scaleY(-1) rotate(-8deg);
  opacity: 0.85;
}

.botanical-process-left {
  top: 0;
  left: -20px;
  width: clamp(90px, 10vw, 145px);
  transform: scaleY(-1) rotate(-6deg);
  opacity: 0.85;
}

.botanical-process-right {
  top: -32px;
  right: 0;
  width: clamp(115px, 14vw, 205px);
  opacity: 0.95;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--pill-radius);
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(180deg, var(--brown-primary-top) 0%, var(--brown-primary-bottom) 100%);
  color: #FFFFFF;
  padding: 0.82rem 1.85rem;
  font-size: 0.98rem;
  box-shadow: 0 8px 20px rgba(125, 86, 68, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(125, 86, 68, 0.34);
  filter: brightness(1.04);
}

.btn-outline {
  background: rgba(255, 253, 251, 0.82);
  color: #543D33;
  border: 1.25px solid var(--brown-border);
  padding: 0.8rem 2.15rem;
  font-size: 0.98rem;
}

.btn-outline:hover {
  background: #F6EDE7;
  border-color: var(--brown-primary);
}

.btn-card {
  background: linear-gradient(180deg, var(--brown-primary-top) 0%, var(--brown-primary-bottom) 100%);
  color: #FFFFFF;
  padding: 0.56rem 2.1rem;
  font-size: 0.94rem;
  box-shadow: 0 5px 14px rgba(124, 85, 67, 0.22);
}

.btn-card:hover {
  box-shadow: 0 8px 18px rgba(124, 85, 67, 0.32);
  filter: brightness(1.04);
}

.btn-arrow {
  font-size: 1.05em;
  transition: transform 0.22s ease;
}

.btn:hover .btn-arrow,
.more-works-link:hover .link-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER / NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 194, 182, 0.32);
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(253, 250, 247, 0.68);
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  border-bottom-color: rgba(212, 194, 182, 0.5);
  box-shadow: 0 8px 28px rgba(98, 72, 56, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.brand-sprig-icon {
  width: 54px;
  height: 34px;
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
}

.brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.48rem;
  color: #1D1614;
  letter-spacing: 0.08em;
}

.brand-dot {
  color: #7D5849;
  font-weight: 700;
  margin-inline: 0.1rem;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.02rem;
  color: #6E4B3E;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: #523E36;
  letter-spacing: 0.04em;
  position: relative;
  padding-block: 0.25rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background-color: var(--brown-primary);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brown-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.btn-nav-line {
  background: linear-gradient(180deg, #8D6452 0%, #7B5443 100%);
  color: #FFFFFF;
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(123, 84, 67, 0.22);
}

.line-bubble-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.line-bubble-icon svg {
  width: 100%;
  height: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-heading);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #4A352C;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background:
    radial-gradient(ellipse at 72% 45%, #F2DDD0 0%, #F9EFE8 48%, #FDFBF9 85%);
  padding-top: 0.75rem;
  padding-bottom: 1.5rem;
  overflow: hidden;
}

.hero-ambient-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background:
    radial-gradient(circle at 82% 28%, rgba(204, 156, 118, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 58% 52%, rgba(238, 206, 184, 0.45) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  align-items: center;
  gap: 1rem;
}

.hero-copy {
  padding-block: 2.2rem 2.8rem;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 2.15rem);
  line-height: 1.48;
  color: var(--text-heading);
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-right: 0px;
  margin-bottom: -1.2rem;
}

.hero-phones-img {
  width: 108%;
  max-width: 760px;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 100%);
}

.hero-wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 48px;
  z-index: 4;
  pointer-events: none;
}

.hero-wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   OUR WORKS (PORTFOLIO) SECTION
   ========================================================================== */
.works-section {
  position: relative;
  background-color: var(--bg-works);
  padding-top: 3rem;
  padding-bottom: 4.2rem;
  overflow: hidden;
}

.section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-family: var(--font-en-serif);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text-eyebrow);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.works-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.works-title-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.45vw, 2.2rem);
  color: var(--text-heading);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-body);
  letter-spacing: 0.02em;
}

.more-works-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #5E4033;
  border-bottom: 1.5px solid #7D5847;
  padding-bottom: 3px;
}

.more-works-link:hover {
  color: var(--brown-primary);
}

.link-arrow {
  transition: transform 0.22s ease;
}

/* Portfolio 5-Column Smartphone Bezel Grid (Homepage #works) */
.works-section .container {
  max-width: 1280px;
}

.works-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  align-items: start;
}

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

.work-card {
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover {
  transform: translateY(-6px);
}

/* Upright Smartphone Bezel Frame */
.work-phone-bezel {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: #1A1A1C;
  border-radius: 38px;
  padding: 10px;
  border: 2.5px solid #3A3735;
  box-shadow:
    0 18px 36px rgba(48, 34, 26, 0.14),
    0 4px 10px rgba(48, 34, 26, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.32s ease, border-color 0.32s ease;
}

.work-card:hover .work-phone-bezel {
  box-shadow:
    0 24px 46px rgba(48, 34, 26, 0.2),
    0 6px 14px rgba(48, 34, 26, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.work-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.work-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-card:hover .work-phone-screen img {
  transform: scale(1.04);
}

/* --- Screen 1: 韓系簡約・毛玻璃微光 (website01) --- */
.screen-korean {
  background: #222621;
  padding: 0;
}

/* --- Screen 2: 經典典雅・莫蘭迪奶茶 (website02) --- */
.screen-classic {
  background: #3D312A;
  padding: 0;
}

/* --- Screen 3: 新中式喜慶・緋紅金映 (website03) --- */
.screen-chinese {
  background: #5E0E0E;
  padding: 0;
}

/* --- Screen 4: 歐式極簡・微風花語 (website04) --- */
.screen-minimal {
  background: #8B6463;
  padding: 0;
}

/* --- Screen 5: 法式畫報・象牙暮黑 (website05) --- */
.screen-editorial {
  background: #F4F1E6;
  padding: 0;
}

/* Custom uploaded cover inside phone screen */
.screen-custom {
  background: #FAF6F2;
  padding: 0;
}

/* Left-aligned 2-line Caption Below Smartphone Frame */
.work-card-body {
  padding: 0.95rem 0.25rem 0;
  text-align: left;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.work-card-caption-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.08rem;
  color: #1E1916;
  letter-spacing: 0.02em;
  line-height: 1.35;
  margin-bottom: 0.18rem;
}

.work-card-sub {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  color: #7A6F67;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0;
}

/* Mobile Carousel Wrapper & Left/Right Arrow Buttons */
.works-carousel-wrap {
  position: relative;
}

.works-nav-btn {
  display: none;
  position: absolute;
  top: calc(50% - 1.5rem);
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(253, 251, 249, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 152, 134, 0.5);
  box-shadow: 0 4px 14px rgba(48, 34, 26, 0.16);
  color: #5E4033;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    opacity 0.25s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.works-nav-prev {
  left: -0.35rem;
}

.works-nav-next {
  right: -0.35rem;
}

.works-nav-btn:hover {
  background: #FFFFFF;
}

.works-nav-btn:active {
  transform: translateY(-50%) scale(0.94);
}

.works-nav-btn.is-disabled,
.works-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Mobile Carousel Pagination Dots */
.works-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.works-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #DFD2C8;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.28s ease,
    transform 0.2s ease;
}

.works-dot:hover {
  background-color: #C5B0A1;
}

.works-dot.is-active {
  width: 22px;
  background-color: var(--brown-primary);
}

.works-more-bottom-wrap {
  display: none;
  justify-content: center;
  margin-top: 2.15rem;
}

/* ==========================================================================
   PROCESS SECTION (4 STEPS)
   ========================================================================== */
.process-section {
  position: relative;
  background: linear-gradient(180deg, #FDFCFA 0%, var(--bg-process) 28%, #FAF5EF 100%);
  padding-top: 2.6rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid rgba(224, 212, 202, 0.65);
  overflow: hidden;
}

.process-header {
  margin-bottom: 2.3rem;
}

.process-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.process-step {
  display: flex;
  flex-direction: column;
}

/* Numbered Circle + Horizontal Timeline Line */
.step-timeline-bar {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.45rem;
}

.step-timeline-bar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 36px;
  right: -1.15rem;
  height: 1px;
  background-color: #DFD2C8;
  z-index: 1;
}

.process-step:last-child .step-timeline-bar::after {
  right: 8%;
}

.step-badge {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--brown-badge);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(184, 152, 134, 0.3);
}

.step-content {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-left: 0.25rem;
}

.step-icon-wrap {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background-color: #F4EAE3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-icon {
  width: 88px;
  height: 88px;
  max-width: none;
  object-fit: contain;
}

.step-icon-wrap-photo .step-icon {
  width: 96px;
  height: 96px;
}

.step-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  margin-bottom: 0.28rem;
}

.step-desc {
  font-size: 0.84rem;
  color: var(--text-body);
  line-height: 1.62;
  white-space: nowrap;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  position: relative;
  background: linear-gradient(180deg, #FDFBF9 0%, #FAF6F0 100%);
  padding-top: 3rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(224, 212, 202, 0.65);
  overflow: hidden;
}

.pricing-header {
  margin-bottom: 2.2rem;
}

.pricing-subtitle {
  margin-top: 0.45rem;
  font-size: 0.96rem;
}

.pricing-panel {
  position: relative;
  isolation: isolate;
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 2.2rem;
  border: 1.5px solid #9E7D6B;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(252, 249, 245, 0.94) 0%, rgba(248, 242, 235, 0.96) 100%);
  padding: clamp(2.6rem, 4.5vw, 3.6rem) clamp(1.5rem, 5vw, 4.5rem) clamp(2.2rem, 4vw, 3.1rem);
  text-align: center;
  box-shadow: 0 12px 36px rgba(110, 82, 66, 0.05);
}

.pricing-panel > :not(.pricing-art):not(.promo-label) {
  position: relative;
  z-index: 2;
}

.pricing-art {
  position: absolute;
  z-index: 1;
  width: clamp(190px, 27vw, 340px);
  height: auto;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

.flower-top {
  top: -64px;
  right: -68px;
}

.flower-bottom {
  bottom: -46px;
  left: -62px;
}

.promo-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: inline-block;
  padding: 0.48rem 2rem;
  border-radius: var(--pill-radius);
  background: linear-gradient(180deg, #936B58 0%, #7F5846 100%);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(125, 86, 68, 0.2);
}

.pricing-plan-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.25vw, 1.88rem);
  color: var(--text-heading);
  letter-spacing: 0.05em;
  margin-bottom: 0.55rem;
}

.pricing-original {
  font-size: 1.05rem;
  color: #7D7068;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.pricing-original del {
  text-decoration-thickness: 1.5px;
  text-decoration-color: #8A7B73;
}

.pricing-price {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #87503A;
  line-height: 1.15;
  margin-bottom: 1.9rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.price-currency {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  letter-spacing: 0.02em;
}

.price-amount {
  font-size: clamp(2.85rem, 4.6vw, 3.85rem);
  letter-spacing: 0.02em;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 2.2rem;
  text-align: left;
}

.pricing-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.pricing-feature-list:first-child {
  padding-right: 2.25rem;
  border-right: 1px solid #E4D8CE;
}

.pricing-feature-list:last-child {
  padding-left: 2.5rem;
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3D312C;
  line-height: 1.45;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  color: #C2A390;
}

.check-icon svg {
  width: 100%;
  height: 100%;
}

.pricing-cta-wrap {
  display: flex;
  justify-content: center;
}

.order-btn {
  min-width: clamp(240px, 32vw, 320px);
  padding: 0.88rem 2.6rem;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.order-btn .line-bubble-icon {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   FAQ SECTION (COLLAPSIBLE ACCORDION)
   ========================================================================== */
.faq-section {
  position: relative;
  background: linear-gradient(180deg, #FAF6F0 0%, #FDFBF9 100%);
  padding-top: 3.2rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid rgba(224, 212, 202, 0.65);
  overflow: hidden;
}

.botanical-faq-left {
  bottom: 10%;
  left: -22px;
  width: clamp(95px, 11vw, 160px);
  transform: scaleY(-1) rotate(-8deg);
  opacity: 0.82;
}

.botanical-faq-right {
  top: -20px;
  right: 0;
  width: clamp(110px, 13vw, 195px);
  opacity: 0.9;
}

.faq-header {
  margin-bottom: 2.2rem;
}

.faq-subtitle {
  margin-top: 0.45rem;
  font-size: 0.96rem;
}

.faq-list {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 253, 251, 0.96);
  border: 1px solid rgba(212, 194, 182, 0.78);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(98, 72, 56, 0.05);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item:hover {
  border-color: rgba(158, 125, 107, 0.75);
  box-shadow: 0 10px 28px rgba(98, 72, 56, 0.08);
}

.faq-item.is-open {
  background: #FFFFFF;
  border-color: #9E7D6B;
  box-shadow: 0 12px 32px rgba(98, 72, 56, 0.1);
}

.faq-heading {
  margin: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.3rem 1.65rem;
  text-align: left;
  color: var(--text-heading);
  transition: color 0.22s ease;
}

.faq-question:hover {
  color: var(--brown-primary);
}

.faq-q-prefix {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brown-primary);
  background: #F4EAE3;
  padding: 0.24rem 0.68rem;
  border-radius: var(--pill-radius);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.faq-item.is-open .faq-q-prefix {
  background: var(--brown-primary);
  color: #FFFFFF;
}

.faq-q-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.45;
  letter-spacing: 0.03em;
  flex: 1;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F5EDE7;
  color: var(--brown-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-toggle-icon svg {
  width: 18px;
  height: 18px;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--brown-primary);
  color: #FFFFFF;
}

/* Collapsible Answer Container (Collapsed by default) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-text {
  margin-inline: 1.65rem;
  padding: 1rem 0 1.4rem 3.55rem;
  border-top: 1px solid #EFE6DF;
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.78;
  letter-spacing: 0.02em;
}

.faq-a-prefix {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--brown-primary);
  margin-right: 0.15rem;
}

.faq-page-section {
  min-height: calc(100vh - var(--header-height) - 140px);
  padding-top: 3.8rem;
  padding-bottom: 5.2rem;
}

.faq-bottom-cta {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 3rem;
  padding: 2.2rem 1.5rem;
  text-align: center;
  background: rgba(252, 248, 243, 0.88);
  border: 1px dashed rgba(158, 125, 107, 0.55);
  border-radius: 20px;
}

.faq-bottom-prompt {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.faq-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ==========================================================================
   FOOTER & FLOATING LINE CTA
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--bg-footer);
  padding-top: 2.5rem;
  padding-bottom: 5.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-sprig-icon {
  width: 34px;
  height: 46px;
  flex-shrink: 0;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.14rem;
  color: #432419;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.footer-brand-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.85rem;
  color: var(--brown-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  position: relative;
  z-index: 5;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-email-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-email:hover {
  color: var(--brown-hover);
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #354354;
}

.social-link:hover {
  color: var(--brown-primary);
  transform: translateY(-1px);
}

.social-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

/* Floating Action Buttons (Back to Top + Circular Green LINE Button) */
.floating-cta-wrap {
  position: fixed;
  right: 1.75rem;
  bottom: 1.5rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.btn-back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 253, 251, 0.96);
  color: var(--brown-primary);
  border: 1.5px solid rgba(155, 123, 107, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(98, 72, 56, 0.16);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-back-to-top svg {
  width: 22px;
  height: 22px;
}

.btn-back-to-top:hover {
  background-color: var(--brown-primary);
  color: #FFFFFF;
  border-color: var(--brown-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(98, 72, 56, 0.28);
}

.btn-back-to-top:active {
  transform: translateY(0);
}

.btn-floating-line {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--line-green-top) 0%, var(--line-green-bottom) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.36);
}

.btn-floating-line:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 199, 85, 0.46);
  filter: brightness(1.03);
}

.floating-line-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
}

.floating-line-icon svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   SCROLL FADE-IN REVEAL ANIMATION (STARTING FROM OUR WORKS)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card.reveal-on-scroll.is-visible:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   INTERACTIVE DEMO PREVIEW MODAL
   ========================================================================== */
.demo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(34, 26, 23, 0.62);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.demo-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.demo-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #FDFBF9;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(26, 18, 15, 0.28);
  border: 1px solid rgba(212, 194, 182, 0.5);
  max-height: 92vh;
  overflow-y: auto;
}

.demo-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F3EAE3;
  color: #4E3930;
  font-size: 1.45rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.demo-modal-close:hover {
  background: #E6D7CC;
}

.demo-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.demo-modal-eyebrow {
  font-family: var(--font-en-serif);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: var(--text-eyebrow);
  margin-bottom: 0.25rem;
}

.demo-modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.demo-style-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  background: #F4ECE6;
  padding: 0.35rem;
  border-radius: var(--pill-radius);
}

.demo-tab {
  padding: 0.45rem 1.05rem;
  border-radius: var(--pill-radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: #665248;
  transition: background 0.2s ease, color 0.2s ease;
}

.demo-tab.is-active {
  background: var(--brown-primary);
  color: #FFFFFF;
}

.demo-modal-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.demo-visual-preview {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #F4E4DA 0%, #E5CBB9 52%, #D7B49E 100%);
}

.demo-visual-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.demo-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-body);
}

.demo-feature-list li {
  position: relative;
  padding-left: 1.1rem;
}

.demo-feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brown-primary);
  font-weight: 700;
}

.demo-feature-list strong {
  color: var(--text-heading);
}

/* ==========================================================================
   RESPONSIVE WEB DESIGN (RWD BREAKPOINTS)
   ========================================================================== */

/* Laptop / Medium Desktop (<= 1100px) */
@media (max-width: 1100px) {
  .container {
    padding-inline: 1.75rem;
  }

  .main-nav {
    gap: 1.35rem;
  }

  .nav-list {
    gap: 1.25rem;
  }

  .hero-container {
    grid-template-columns: 1fr 1.1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.75rem;
  }

  .process-step:nth-child(2) .step-timeline-bar::after {
    right: 10%;
  }

  .step-desc {
    white-space: normal;
  }
}

/* Tablet (<= 900px) */
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(253, 250, 248, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.75rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(212, 194, 182, 0.45);
    box-shadow: 0 16px 32px rgba(50, 35, 28, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .nav-link {
    font-size: 1.02rem;
    display: block;
    width: 100%;
    padding-block: 0.35rem;
  }

  .btn-nav-line {
    width: 100%;
    padding-block: 0.75rem;
    font-size: 0.98rem;
  }

  /* Hero stacks cleanly on tablet/mobile */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }

  .hero-copy {
    padding-block: 1.5rem 0.5rem;
    max-width: 600px;
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-right: 0;
    margin-bottom: -0.8rem;
    justify-content: center;
  }

  .hero-phones-img {
    width: 100%;
    max-width: 600px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* Works Grid: 2 columns on tablet */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-features-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 0.78rem;
  }

  .pricing-feature-list:first-child {
    padding-right: 0;
    border-right: none;
  }

  .pricing-feature-list:last-child {
    padding-left: 0;
  }

  .pricing-art {
    width: clamp(145px, 24vw, 230px);
  }

  .flower-top {
    top: -46px;
    right: -48px;
  }

  .flower-bottom {
    bottom: -36px;
    left: -44px;
  }

  .demo-modal-content {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-brand {
    flex-direction: column;
    gap: 0.45rem;
  }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-inline: 1.15rem;
  }

  .brand-sprig-icon {
    width: 44px;
    height: 28px;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }

  .botanical-hero-top-left {
    width: 95px;
    opacity: 0.72;
  }

  .botanical-hero-bottom-left,
  .botanical-works-left,
  .botanical-process-left,
  .botanical-faq-left {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.15rem, 4.8vw, 1.55rem);
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 360px;
    gap: 0.65rem;
    margin-inline: auto;
  }

  .hero-actions .btn {
    flex: 1 1 50%;
    width: 50%;
    padding-inline: 0.75rem;
    font-size: 0.92rem;
  }

  .hero-actions .btn-arrow {
    display: none;
  }

  .works-section {
    padding-block: 2.5rem 3.25rem;
  }

  .works-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .works-heading-row .more-works-link {
    display: none;
  }

  .works-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.9rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 0.4rem;
    padding-bottom: 0.65rem;
  }

  .works-grid::-webkit-scrollbar {
    display: none;
  }

  .work-card {
    flex: 0 0 calc(50% - 0.45rem);
    width: 50%;
    max-width: calc(50% - 0.45rem);
    scroll-snap-align: center;
  }

  .work-phone-bezel {
    border-radius: 26px;
    padding: 6px;
    border-width: 2px;
  }

  .work-phone-screen {
    border-radius: 20px;
  }

  .work-card-body {
    padding: 0.7rem 0.15rem 0;
  }

  .work-card-title {
    font-size: 0.98rem;
  }

  .work-card-sub {
    font-size: 0.84rem;
  }

  .works-nav-btn {
    display: inline-flex;
  }

  .works-dots {
    display: flex;
  }

  .works-more-bottom-wrap {
    display: flex;
  }

  .process-section {
    padding-block: 2.25rem 3.5rem;
  }

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

  .step-timeline-bar::after {
    right: 0;
  }

  .pricing-section {
    padding-block: 2.25rem 3.5rem;
  }

  .pricing-subtitle {
    display: none;
  }

  .pricing-panel {
    padding: 2.35rem 1.2rem 2rem;
    border-radius: 20px;
  }

  .pricing-art {
    width: 140px;
    opacity: 0.75;
  }

  .flower-top {
    top: -42px;
    right: -46px;
  }

  .flower-bottom {
    bottom: -34px;
    left: -42px;
  }

  .promo-label {
    font-size: 0.9rem;
    padding: 0.42rem 1.45rem;
  }

  .order-btn {
    width: 100%;
    max-width: 280px;
    min-width: 0;
    padding: 0.82rem 1.5rem;
    font-size: 1rem;
  }

  .faq-section {
    padding-block: 2.25rem 3.5rem;
  }

  .faq-question {
    padding: 1.05rem 1.15rem;
    gap: 0.65rem;
  }

  .faq-q-prefix {
    font-size: 0.92rem;
    padding: 0.2rem 0.55rem;
  }

  .faq-toggle-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer-text {
    margin-inline: 1.15rem;
    padding: 0.9rem 0 1.2rem 0;
    font-size: 0.92rem;
  }

  .footer-socials {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.25rem;
  }

  .floating-cta-wrap {
    right: 1rem;
    bottom: 1rem;
    gap: 0.6rem;
  }

  .btn-back-to-top,
  .btn-floating-line {
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .btn-back-to-top svg {
    width: 20px;
    height: 20px;
  }

  .floating-line-icon {
    width: 23px;
    height: 23px;
  }

  .demo-modal-dialog {
    padding: 1.35rem;
  }
}
