/*
Theme Name: Bodylineroom
Theme URI: https://bodylineroom.com
Author: bodylineroom
Description: 腿型矯正師專業網站主題，整合 Elementor 頁面編輯器
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Private
Text Domain: bodylineroom
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --white:        #FFFFFF;
  --lav-light:    #E8E9F3;
  --lav-mid:      #D4D6EA;
  --lav-dark:     #B8BBD8;
  --navy-deep:    #4A5490;
  --navy-btn:     #4A5490;
  --navy-btn-hover:#3A4478;
  --navy-txt:     #2D3A6E;
  --body-txt:     #4A4A5A;
  --light-txt:    #7A7A8A;
  --border:       #E0E1EE;
  --f-serif:      'Playfair Display', serif;
  --f-sans:       'Inter', sans-serif;
  --f-tc:         'Noto Sans TC', sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(74,84,144,.10);
  --shadow-lg:    0 8px 40px rgba(74,84,144,.16);
  --trans:        .3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--f-tc), var(--f-sans), sans-serif;
  color: var(--body-txt);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.top-bar {
  background: var(--lav-light);
  text-align: center;
  padding: 10px 20px;
  font-size: .82rem;
  letter-spacing: .08em;
  color: var(--navy-deep);
  font-family: var(--f-tc);
}
.top-bar a { color: var(--navy-deep); font-weight: 600; text-decoration: underline; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-branding .site-title {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-txt);
  letter-spacing: .04em;
  font-style: italic;
  text-decoration: none;
}

.main-navigation ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-navigation a {
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--body-txt);
  transition: color var(--trans);
  font-family: var(--f-tc);
}
.main-navigation a:hover { color: var(--navy-deep); }

.btn-nav {
  background: var(--navy-btn);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-size: .84rem;
  font-weight: 500;
  transition: background var(--trans), transform var(--trans);
}
.btn-nav:hover { background: var(--navy-btn-hover); transform: translateY(-1px); }

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

/* Mobile nav */
@media(max-width: 768px) {
  .hamburger { display: flex; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .main-navigation.open { display: block; }
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .main-navigation li a {
    display: block;
    padding: 12px 32px;
    border-bottom: 1px solid var(--lav-light);
  }
  .btn-nav {
    margin: 12px 32px;
    display: inline-block;
    text-align: center;
  }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.sec {
  padding: 96px 32px;
}
.sec--lav  { background: var(--lav-light); }
.sec--navy {
  background: var(--navy-deep);
  color: var(--white);
}
.sec-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sec-tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--navy-deep);
  padding-bottom: 4px;
  margin-bottom: 20px;
  font-family: var(--f-sans);
}
.sec--navy .sec-tag {
  color: var(--lav-mid);
  border-bottom-color: var(--lav-mid);
}

.sec-title {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy-txt);
  line-height: 1.3;
  margin-bottom: 16px;
  font-style: italic;
}
.sec--navy .sec-title { color: var(--white); }

.sec-sub {
  font-size: .95rem;
  color: var(--light-txt);
  max-width: 560px;
  line-height: 1.8;
}
.sec--navy .sec-sub { color: rgba(255,255,255,.78); }

.sec-header { margin-bottom: 56px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .06em;
  transition: all var(--trans);
  cursor: pointer;
  border: none;
  font-family: var(--f-tc);
}
.btn-primary {
  background: var(--navy-btn);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,84,144,.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy-btn);
  border: 1.5px solid var(--navy-btn);
}
.btn-outline:hover {
  background: var(--navy-btn);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy-txt);
}
.btn-white:hover {
  background: var(--lav-light);
  transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lav-light) 0%, var(--lav-mid) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #6B75B0 50%, var(--lav-mid) 100%);
  opacity: .08;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-text { }
.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--navy-deep);
  padding-bottom: 4px;
  margin-bottom: 24px;
  font-family: var(--f-sans);
}
.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--navy-txt);
  line-height: 1.22;
  margin-bottom: 8px;
  font-style: italic;
}
.hero-title-tc {
  font-family: var(--f-tc);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--navy-deep);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.4;
}
.hero-subtitle {
  font-size: .95rem;
  color: var(--body-txt);
  margin-bottom: 40px;
  line-height: 1.9;
  letter-spacing: .04em;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: .78rem;
  color: var(--navy-txt);
  font-family: var(--f-tc);
  letter-spacing: .04em;
}

@media(max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-img-wrap { aspect-ratio: 4/3; max-width: 500px; margin: 0 auto; }
  .hero { min-height: auto; }
}

/* ============================================================
   BA / BEFORE-AFTER GALLERY
   ============================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--trans), box-shadow var(--trans);
}
.ba-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.ba-card-slider {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  user-select: none;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-img--after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path .05s linear;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-handle::after {
  content:'◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  color: var(--navy-deep);
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  letter-spacing: -1px;
}
.ba-labels {
  position: absolute;
  top: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
}
.ba-label {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--navy-txt);
  letter-spacing: .04em;
}
.ba-card-info {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ba-card-title { font-size: .88rem; color: var(--navy-txt); font-weight: 600; font-family: var(--f-tc); }
.ba-card-tag {
  font-size: .72rem;
  color: var(--navy-deep);
  background: var(--lav-light);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--f-tc);
}

/* ============================================================
   OFFICE BODY RECOVERY
   ============================================================ */
.obr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media(max-width: 768px) { .obr-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px) { .obr-grid { grid-template-columns: 1fr; } }

.obr-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.obr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--lav-mid);
  transition: background var(--trans);
}
.obr-card:hover {
  border-color: var(--lav-mid);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.obr-card:hover::before { background: var(--navy-deep); }

.obr-icon {
  width: 48px; height: 48px;
  background: var(--lav-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: background var(--trans);
}
.obr-card:hover .obr-icon { background: var(--lav-mid); }
.obr-card h3 {
  font-family: var(--f-tc);
  font-size: 1rem;
  color: var(--navy-txt);
  font-weight: 600;
  margin-bottom: 10px;
}
.obr-card p { font-size: .87rem; color: var(--light-txt); line-height: 1.8; }

/* ============================================================
   SERVICES ALTERNATING
   ============================================================ */
.svc-list { display: flex; flex-direction: column; gap: 96px; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.svc-row--reverse { direction: rtl; }
.svc-row--reverse > * { direction: ltr; }

.svc-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.svc-text .sec-tag { margin-bottom: 16px; }
.svc-text h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--navy-txt);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.3;
}
.svc-text p {
  font-size: .92rem;
  color: var(--body-txt);
  line-height: 1.9;
  margin-bottom: 24px;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-tag {
  background: var(--lav-light);
  color: var(--navy-deep);
  font-size: .78rem;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--f-tc);
}

@media(max-width: 900px) {
  .svc-row { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .svc-row--reverse { direction: ltr; }
  .svc-list { gap: 64px; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media(max-width: 900px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px) { .t-grid { grid-template-columns: 1fr; } }

.t-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.t-stars { color: #F4C542; font-size: 1rem; letter-spacing: 2px; }
.t-text { font-size: .9rem; color: var(--body-txt); line-height: 1.85; flex: 1; font-style: italic; }
.t-text::before { content: '"'; color: var(--lav-dark); font-size: 1.4rem; line-height: 0; }
.t-member { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lav-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 600; color: var(--navy-deep);
  flex-shrink: 0;
}
.t-name { font-size: .85rem; font-weight: 600; color: var(--navy-txt); font-family: var(--f-tc); }
.t-desc { font-size: .75rem; color: var(--light-txt); }

/* ============================================================
   NAVY FEATURE / QUOTE BLOCK
   ============================================================ */
.feature-quote {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.feature-quote blockquote {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 24px;
}
.feature-quote cite {
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--lav-mid);
  text-transform: uppercase;
  font-style: normal;
  font-family: var(--f-sans);
}

/* ============================================================
   DIAGNOSIS QUIZ
   ============================================================ */
.quiz-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-q {
  font-family: var(--f-tc);
  font-size: 1.1rem;
  color: var(--navy-txt);
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.6;
}
.quiz-opts { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  padding: 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
  color: var(--body-txt);
  transition: all var(--trans);
  font-family: var(--f-tc);
  background: var(--white);
  text-align: left;
}
.quiz-opt:hover, .quiz-opt.sel {
  border-color: var(--navy-deep);
  background: var(--lav-light);
  color: var(--navy-deep);
}
.quiz-result { text-align: center; }
.quiz-result h3 {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  color: var(--navy-txt);
  margin-bottom: 12px;
  font-style: italic;
}
.quiz-result p { color: var(--body-txt); margin-bottom: 24px; font-size: .95rem; }
.quiz-progress {
  display: flex; gap: 6px; justify-content: center; margin-bottom: 32px;
}
.quiz-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lav-mid);
  transition: background var(--trans);
}
.quiz-dot.done { background: var(--navy-deep); }

/* ============================================================
   PRICING
   ============================================================ */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
@media(max-width: 900px) { .pr-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 480px) { .pr-grid { grid-template-columns: 1fr; } }

.pr-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: all var(--trans);
  position: relative;
}
.pr-card:hover {
  border-color: var(--navy-deep);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pr--pop {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--white);
}
.pr--pop:hover { background: var(--navy-btn-hover); border-color: var(--navy-btn-hover); }
.pr-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--lav-mid);
  color: var(--navy-txt);
  font-size: .7rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: .06em;
  white-space: nowrap;
  font-family: var(--f-sans);
}
.pr--pop .pr-badge { background: #fff; }
.pr-name {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: var(--f-sans);
  margin-bottom: 20px;
  color: var(--light-txt);
}
.pr--pop .pr-name { color: rgba(255,255,255,.7); }
.pr-price {
  font-family: var(--f-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy-txt);
  line-height: 1;
  margin-bottom: 4px;
}
.pr--pop .pr-price { color: var(--white); }
.pr-unit { font-size: .78rem; color: var(--light-txt); margin-bottom: 24px; font-family: var(--f-tc); }
.pr--pop .pr-unit { color: rgba(255,255,255,.65); }
.pr-list { text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pr-list li {
  font-size: .85rem;
  color: var(--body-txt);
  display: flex;
  gap: 8px;
  line-height: 1.5;
  font-family: var(--f-tc);
}
.pr--pop .pr-list li { color: rgba(255,255,255,.85); }
.pr-list li::before { content: '✓'; color: var(--navy-deep); font-weight: 700; flex-shrink: 0; }
.pr--pop .pr-list li::before { color: var(--lav-mid); }
.pr-installment { font-size: .75rem; color: var(--light-txt); margin-bottom: 16px; font-family: var(--f-tc); }
.pr--pop .pr-installment { color: rgba(255,255,255,.6); }

/* ============================================================
   BOOKING FORM
   ============================================================ */
.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media(max-width: 900px) { .booking-wrap { grid-template-columns: 1fr; } }

.booking-info h3 {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  color: var(--navy-txt);
  margin-bottom: 16px;
  font-style: italic;
}
.booking-info p { font-size: .92rem; color: var(--body-txt); margin-bottom: 24px; line-height: 1.85; }
.booking-note {
  background: var(--lav-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: .83rem;
  color: var(--body-txt);
  line-height: 1.8;
  font-family: var(--f-tc);
}

.bk-form { display: flex; flex-direction: column; gap: 18px; }
.bk-field { display: flex; flex-direction: column; gap: 6px; }
.bk-field label {
  font-size: .82rem;
  color: var(--navy-txt);
  font-weight: 500;
  font-family: var(--f-tc);
  letter-spacing: .04em;
}
.bk-field input,
.bk-field textarea,
.bk-field select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--body-txt);
  font-family: var(--f-tc);
  background: var(--white);
  transition: border-color var(--trans);
  outline: none;
  width: 100%;
}
.bk-field input:focus,
.bk-field textarea:focus,
.bk-field select:focus { border-color: var(--navy-deep); }
.bk-field textarea { height: 120px; resize: vertical; }

/* ============================================================
   BLOG / ARTICLES
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media(max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--trans);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-cat {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  font-family: var(--f-sans);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-family: var(--f-tc);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-txt);
  margin-bottom: 8px;
  line-height: 1.5;
}
.blog-card p {
  font-size: .85rem;
  color: var(--light-txt);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--lav-light);
  font-size: .78rem;
  color: var(--light-txt);
  font-family: var(--f-sans);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-header {
  background: var(--lav-light);
  padding: 80px 32px;
  text-align: center;
}
.post-header .post-cat {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 16px;
  font-family: var(--f-sans);
}
.post-header h1 {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--navy-txt);
  font-style: italic;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.3;
}
.post-header .post-meta {
  font-size: .82rem;
  color: var(--light-txt);
  font-family: var(--f-sans);
}
.post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px;
  font-size: .97rem;
  line-height: 1.9;
  color: var(--body-txt);
}
.post-content h2, .post-content h3 {
  font-family: var(--f-tc);
  color: var(--navy-txt);
  margin: 40px 0 16px;
}
.post-content p { margin-bottom: 20px; }
.post-content img {
  border-radius: var(--radius);
  margin: 32px 0;
}
.post-content ul, .post-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
}
.post-content ol { list-style: decimal; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--lav-light);
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--lav-mid);
}
@media(max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand .brand-name {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--navy-txt);
  margin-bottom: 12px;
  display: block;
}
.footer-brand p {
  font-size: .85rem;
  color: var(--light-txt);
  line-height: 1.8;
  max-width: 320px;
}
.footer-nav h4, .footer-contact h4 {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-txt);
  font-family: var(--f-sans);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: .88rem;
  color: var(--light-txt);
  transition: color var(--trans);
  font-family: var(--f-tc);
}
.footer-nav a:hover { color: var(--navy-deep); }
.footer-contact p {
  font-size: .85rem;
  color: var(--light-txt);
  line-height: 1.8;
  font-family: var(--f-tc);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: var(--light-txt);
  font-family: var(--f-sans);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.fu {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fu.vis {
  opacity: 1;
  transform: translateY(0);
}
.fu--delay-1 { transition-delay: .1s; }
.fu--delay-2 { transition-delay: .2s; }
.fu--delay-3 { transition-delay: .3s; }
.fu--delay-4 { transition-delay: .4s; }

/* ============================================================
   ELEMENTOR COMPATIBILITY
   ============================================================ */
.elementor-section { width: 100%; }
.elementor-widget-wrap .sec { padding: 0; }

/* WooCommerce / Payment compatibility */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border-left-color: var(--navy-deep);
  font-family: var(--f-tc);
}

/* CF7 Form Styles */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--f-tc);
  width: 100%;
  transition: border-color var(--trans);
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { border-color: var(--navy-deep); outline: none; }
.wpcf7-submit {
  background: var(--navy-btn) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 13px 36px !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  font-family: var(--f-tc) !important;
  transition: all var(--trans) !important;
}
.wpcf7-submit:hover { background: var(--navy-btn-hover) !important; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media(max-width: 480px) {
  .sec { padding: 64px 20px; }
  .quiz-card { padding: 28px 20px; }
  .pr-price { font-size: 1.8rem; }
}
