/* ============================================================
   P49 DEESIGN — Employee Guide · Stylesheet
   Design language: Gallery-First (Option B)
   Brand colours: green / gold / red (from P49 Deesign logo)
   Primary accent: terracotta
============================================================ */

:root {
  /* Neutrals */
  --cream: #FAF7F2;
  --beige: #EDE6DA;
  --beige-dark: #E0D7C4;
  --charcoal: #2C2A28;
  --taupe: #6E665C;
  --soft-taupe: #A69D92;
  --white: #FFFFFF;

  /* Brand (from P49 Deesign logo) */
  --brand-green: #2C6F55;
  --brand-gold:  #D4A73C;
  --brand-red:   #D63B1A;

  /* Terracotta accent family */
  --terracotta:       #BF6B4F;
  --terracotta-soft:  #EDCDB9;
  --terracotta-deep:  #8B4A33;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 2px 8px rgba(44, 42, 40, 0.06);
  --shadow-lg: 0 12px 40px rgba(44, 42, 40, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'IBM Plex Sans Thai', 'Inter', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   TOP BAR
============================================================ */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  color: var(--white);
}

.topbar.solid {
  position: relative;
  background: var(--charcoal);
  border-bottom: 3px solid var(--terracotta);
}

.logo {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1;
}

.logo-main {
  font-size: 28px;
  letter-spacing: -0.5px;
}

.logo-main .p49  { color: var(--brand-green); }
.logo-main .dee  { color: var(--brand-gold);  }
.logo-main .sign { color: var(--brand-red);   }

.logo-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.75);
  margin-top: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.topnav a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.topnav a:hover { color: var(--white); }
.topnav a.active { color: var(--white); border-bottom: 1px solid var(--terracotta); }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-btn, .lang-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 13px;
  border: 2px solid rgba(255,255,255,0.3);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--white);
}

.hero.hero-small {
  height: 56vh;
  min-height: 420px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(44,42,40,0.35) 0%,
      rgba(44,42,40,0.15) 30%,
      rgba(44,42,40,0.55) 70%,
      rgba(44,42,40,0.85) 100%),
    linear-gradient(135deg, #8B4A33 0%, #BF6B4F 35%, #6E665C 70%, #2C2A28 100%);
  background-size: cover;
  background-position: center;
}

.hero-bg.green {
  background:
    linear-gradient(180deg, rgba(44,42,40,0.3), rgba(44,42,40,0.85)),
    linear-gradient(135deg, #1A4838, #2C6F55, #6E665C, #2C2A28);
}

.hero-bg.gold {
  background:
    linear-gradient(180deg, rgba(44,42,40,0.3), rgba(44,42,40,0.85)),
    linear-gradient(135deg, #8B6A1A, #D4A73C, #6E665C, #2C2A28);
}

.hero-bg.dark {
  background:
    linear-gradient(180deg, rgba(44,42,40,0.5), rgba(44,42,40,0.9)),
    linear-gradient(135deg, #2C2A28, #3A3735, #6E665C, #2C2A28);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 60px);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 64px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.hero-content.center {
  bottom: 50%;
  transform: translateY(50%);
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
  justify-items: center;
  padding: 0 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--terracotta-soft);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--terracotta-soft);
}

.hero-content.center .hero-eyebrow::before { display: none; }

.hero-title {
  font-family: 'Trirong', 'Fraunces', serif;
  font-size: 72px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  max-width: 860px;
}

.hero-title em { font-style: italic; font-weight: 300; }

.hero.hero-small .hero-title { font-size: 56px; }

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 30px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.2s;
}

.hero-cta:hover { background: var(--terracotta-deep); }

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.7);
}

.hero-meta-item {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-meta-value {
  font-family: 'Trirong', serif;
  color: var(--white);
  font-size: 24px;
  margin-top: 2px;
  font-weight: 400;
}

.hero-scroll {
  position: absolute;
  top: 50%;
  left: 48px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   GREETING STRIP
============================================================ */
.greeting {
  background: var(--charcoal);
  color: var(--cream);
  padding: 24px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid var(--terracotta);
}

.greeting-title { font-family: 'Trirong', serif; font-size: 22px; font-weight: 400; }
.greeting-title em { color: var(--terracotta); font-style: italic; }
.greeting-date {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--soft-taupe);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   MAIN
============================================================ */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 100px;
}

.section { margin-bottom: 80px; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--beige-dark);
}

.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--terracotta);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.section-title {
  font-family: 'Trirong', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: -0.8px;
}

.section-link {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  padding-bottom: 4px;
}

.section-link:hover { border-bottom: 1px solid var(--terracotta); }

/* ============================================================
   GRIDS & CARDS
============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--beige-dark);
  transition: all 0.3s;
  display: block;
  position: relative;
  overflow: hidden;
}

.card.hover::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--terracotta);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}

.card.hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta-soft);
}

.card.hover:hover::before { transform: scaleY(1); }

.card-number {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: var(--terracotta);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 500;
}

.card-title {
  font-family: 'Trirong', serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--charcoal);
  line-height: 1.3;
}

.card-desc {
  font-size: 13px;
  color: var(--taupe);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-arrow { font-size: 18px; color: var(--terracotta); }

/* ============================================================
   GALLERY
============================================================ */
.gallery-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: block;
}

.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.gallery-img {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
  position: relative;
  overflow: hidden;
}

.gallery-img.green  { background: linear-gradient(135deg, var(--brand-green), #1A4838); }
.gallery-img.gold   { background: linear-gradient(135deg, var(--brand-gold), #8B6A1A); }
.gallery-img.dark   { background: linear-gradient(135deg, var(--taupe), var(--charcoal)); }
.gallery-img.red    { background: linear-gradient(135deg, var(--brand-red), #8B2B13); }

.gallery-img::after {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.gallery-meta {
  padding: 20px 24px;
  border: 1px solid var(--beige-dark);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.gallery-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.gallery-name {
  font-family: 'Trirong', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.gallery-sub { font-size: 12px; color: var(--soft-taupe); font-family: 'Inter', sans-serif; }

/* ============================================================
   QUOTE FEATURE
============================================================ */
.quote-feature {
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
  padding: 80px 64px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--terracotta);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.quote-feature::before {
  content: '"';
  position: absolute;
  top: -40px; right: 40px;
  font-family: 'Trirong', serif;
  font-size: 280px;
  color: var(--terracotta-soft);
  opacity: 0.5;
  line-height: 1;
}

.quote-text {
  font-family: 'Trirong', serif;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--charcoal);
  max-width: 740px;
  position: relative;
  font-style: italic;
}

.quote-author {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* ============================================================
   ACCORDION
============================================================ */
.accordion details {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0;
  transition: border-color 0.2s;
}

.accordion details[open] { border-color: var(--terracotta); }

.accordion summary {
  padding: 22px 28px;
  cursor: pointer;
  font-family: 'Trirong', serif;
  font-size: 18px;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--charcoal);
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: '+';
  color: var(--terracotta);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s;
}

.accordion details[open] summary::after { content: '−'; }

.accordion .acc-body {
  padding: 0 28px 24px;
  color: var(--taupe);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid var(--beige);
  padding-top: 20px;
}

.acc-body ul { padding-left: 20px; }
.acc-body li { margin-bottom: 8px; }

.acc-tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.acc-tag.must { background: var(--terracotta-soft); color: var(--terracotta-deep); }
.acc-tag.good { background: #D1DDC5; color: #4E6143; }

/* ============================================================
   SCENARIO CARDS (Handbook)
============================================================ */
.scenario {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.scenario:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terracotta);
}

.scenario-icon {
  font-family: 'Trirong', serif;
  font-size: 44px;
  color: var(--terracotta-soft);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.scenario-question {
  font-family: 'Trirong', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.scenario-question em { color: var(--terracotta); font-style: italic; }

.scenario-steps {
  font-size: 13px;
  color: var(--taupe);
  list-style: none;
}

.scenario-steps li {
  padding: 6px 0;
  border-top: 1px solid var(--beige);
  display: flex;
  gap: 10px;
}

.scenario-steps li:first-child { border-top: none; }

.scenario-steps .step-num {
  color: var(--terracotta);
  font-weight: 600;
  font-family: 'Jost', sans-serif;
  letter-spacing: 1px;
}

/* ============================================================
   PERSON / LEADERSHIP
============================================================ */
.person {
  text-align: center;
}

.person-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-deep));
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Trirong', serif;
  font-size: 40px;
  font-weight: 400;
  position: relative;
}

.person-avatar.green { background: linear-gradient(135deg, var(--brand-green), #1A4838); }
.person-avatar.gold  { background: linear-gradient(135deg, var(--brand-gold), #8B6A1A); }
.person-avatar.dark  { background: linear-gradient(135deg, var(--taupe), var(--charcoal)); }

.person-avatar::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
}

.person-name {
  font-family: 'Trirong', serif;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 4px;
}

.person-role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.person-quote {
  font-size: 13px;
  color: var(--taupe);
  line-height: 1.6;
  font-style: italic;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================================
   TIMELINE
============================================================ */
.timeline { position: relative; padding-left: 40px; }

.timeline::before {
  content: '';
  position: absolute;
  top: 12px; bottom: 12px; left: 12px;
  width: 1px;
  background: var(--beige-dark);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--terracotta);
}

.timeline-year {
  font-family: 'Trirong', serif;
  font-size: 30px;
  color: var(--terracotta);
  font-weight: 400;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: 'Trirong', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.timeline-desc {
  color: var(--taupe);
  font-size: 14px;
  line-height: 1.7;
  max-width: 620px;
}

/* ============================================================
   ORG CHART
============================================================ */
.org-level {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.org-node {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 12px;
  padding: 18px 24px;
  min-width: 180px;
  text-align: center;
  position: relative;
}

.org-node.ceo {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

.org-node.ceo .org-role { color: var(--terracotta); }
.org-node.ceo .org-name { color: var(--white); }

.org-role {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.org-name {
  font-family: 'Trirong', serif;
  font-size: 16px;
  font-weight: 500;
}

.org-count {
  font-size: 11px;
  color: var(--soft-taupe);
  margin-top: 4px;
  font-family: 'Inter', sans-serif;
}

.org-connector {
  width: 1px;
  height: 30px;
  background: var(--beige-dark);
  margin: 0 auto 24px;
}

/* ============================================================
   FORM CARDS
============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.2s;
}

.form-card:hover {
  border-color: var(--terracotta);
  box-shadow: var(--shadow);
}

.form-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Trirong', serif;
  font-size: 22px;
  flex-shrink: 0;
}

.form-info { flex: 1; }

.form-name {
  font-family: 'Trirong', serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 4px;
}

.form-meta {
  font-size: 12px;
  color: var(--soft-taupe);
  font-family: 'Inter', sans-serif;
}

.form-download {
  padding: 10px 18px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 24px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.form-download:hover { background: var(--terracotta); }

/* ============================================================
   NEWS / FAQ SHARED
============================================================ */
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--beige-dark);
  transition: all 0.2s;
  display: block;
}

.news-card:hover { box-shadow: var(--shadow); border-color: var(--terracotta-soft); }

.news-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--terracotta-soft), var(--terracotta));
}

.news-img.green { background: linear-gradient(135deg, var(--brand-green), #1A4838); }
.news-img.gold  { background: linear-gradient(135deg, var(--brand-gold), #8B6A1A); }
.news-img.dark  { background: linear-gradient(135deg, var(--taupe), var(--charcoal)); }

.news-content { padding: 24px; }

.news-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.news-title {
  font-family: 'Trirong', serif;
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--charcoal);
}

.news-date {
  font-size: 11px;
  color: var(--soft-taupe);
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
}

.news-pin {
  background: var(--charcoal);
  color: var(--cream);
  padding: 32px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  border-left: 4px solid var(--terracotta);
}

.news-pin-tag {
  background: var(--terracotta);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.news-pin-title {
  font-family: 'Trirong', serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}

.news-pin-desc {
  font-size: 13px;
  color: rgba(250, 247, 242, 0.7);
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   FAQ
============================================================ */
.faq-search {
  max-width: 640px;
  margin: 0 auto 48px;
  position: relative;
}

.faq-search input {
  width: 100%;
  padding: 20px 24px 20px 56px;
  border: 1px solid var(--beige-dark);
  border-radius: 36px;
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--charcoal);
  outline: none;
}

.faq-search input:focus { border-color: var(--terracotta); box-shadow: 0 0 0 4px var(--terracotta-soft); }

.faq-search::before {
  content: '⌕';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--terracotta);
}

.faq-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
}

.faq-pill {
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 24px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.faq-pill:hover, .faq-pill.active { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }

.faq-contact {
  background: var(--charcoal);
  color: var(--cream);
  padding: 48px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.faq-contact h3 {
  font-family: 'Trirong', serif;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 14px;
}

.faq-contact p {
  color: rgba(250, 247, 242, 0.7);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.faq-contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.faq-contact-links a {
  padding: 12px 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  font-size: 13px;
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
}

.faq-contact-links a:hover { background: var(--terracotta); border-color: var(--terracotta); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 56px 64px 40px;
  border-top: 3px solid var(--terracotta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto 40px;
}

.footer h4 {
  font-family: 'Trirong', serif;
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer a {
  display: block;
  color: rgba(250, 247, 242, 0.7);
  font-size: 13px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

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

.footer-logo-block p {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.5);
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(250, 247, 242, 0.4);
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   PREVIEW BANNER
============================================================ */
.preview-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  background: var(--charcoal);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 12px;
  letter-spacing: 1px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
}

/* Hide when site.js sets P49_CONFIG.showMockupBanner = false */
html.hide-mockup .preview-banner { display: none; }

.preview-banner::before {
  content: '●';
  color: var(--terracotta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .topbar { padding: 20px 24px; }
  .topnav { display: none; }
  .hero { height: 75vh; min-height: 520px; }
  .hero.hero-small { height: 55vh; min-height: 360px; }
  .hero-content { padding: 32px 24px; grid-template-columns: 1fr; gap: 20px; }
  .hero-title { font-size: 40px; letter-spacing: -1px; }
  .hero.hero-small .hero-title { font-size: 34px; }
  .hero-meta { text-align: left; flex-direction: row; gap: 24px; }
  .greeting { padding: 20px 24px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .main { padding: 48px 24px 60px; }
  .section-title { font-size: 26px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .quote-feature { padding: 40px 28px; }
  .quote-text { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { padding: 40px 24px 24px; }
  .news-pin { grid-template-columns: 1fr; gap: 12px; }
  .form-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .faq-contact { padding: 32px 24px; }
}
