/* ============================================================
 * F-House · Office Design Landing Page
 * Page: /thiet-ke-van-phong-tai-quy-nhon/
 * Palette: navy #1a1a2e, gold #d4a017, cream #f5f3ef
 * Loaded conditionally via functions.php (is_page slug match)
 * ============================================================ */

:root {
  --fh-navy:        #1a1a2e;
  --fh-navy-2:      #2d2d50;
  --fh-gold:        #d4a017;
  --fh-gold-soft:   #f5c842;
  --fh-gold-50:     #fdf6e3;
  --fh-cream:       #f5f3ef;
  --fh-ink:         #1f2235;
  --fh-muted:       #6b6b7d;
  --fh-line:        #e7e3d8;
  --fh-shadow-sm:   0 1px 3px rgba(26,26,46,0.08);
  --fh-shadow-md:   0 8px 24px -8px rgba(26,26,46,0.18);
  --fh-shadow-lg:   0 24px 48px -16px rgba(26,26,46,0.22);
}

/* Page wrapper — strip Astra container chrome on any F-House service landing page.
   Body class .fh-service-page is set in functions.php for slugs matched. */
.fh-service-page .ast-container {
  max-width: none !important;
  padding: 0 !important;
}
.fh-service-page .entry-content {
  margin: 0;
}
.fh-service-page .entry-header,
.fh-service-page .post-thumb-img-content,
.fh-service-page article.post .entry-content > .entry-title {
  display: none;
}
.fh-service-page article > .entry-content {
  padding: 0 !important;
}

/* ── Section base ───────────────────────────────────────── */
.fh-office {
  font-family: 'Be Vietnam Pro', Arial, sans-serif;
  color: var(--fh-ink);
  line-height: 1.65;
  font-size: 16px;
}
.fh-office__container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.fh-office section { padding: 72px 0; }
.fh-office__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fh-gold);
  background: var(--fh-gold-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.fh-office h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--fh-navy);
  margin: 0 0 14px;
  line-height: 1.25;
}
.fh-office h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--fh-navy);
  margin: 0 0 8px;
}
.fh-office__lead {
  font-size: 17px;
  color: var(--fh-muted);
  max-width: 720px;
  margin: 0 0 36px;
}

/* ── HERO ───────────────────────────────────────────────── */
.fh-office-hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212,160,23,0.18), transparent 60%),
    linear-gradient(135deg, #1a1a2e 0%, #2d2d50 60%, #3a3a6a 100%);
  color: #fff;
  padding: 96px 0 120px;
  position: relative;
  overflow: hidden;
}
.fh-office-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  opacity: 0.6;
}
.fh-office-hero__container {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 56px;
  align-items: center;
}
.fh-office-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,160,23,0.18);
  color: var(--fh-gold-soft);
  font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(212,160,23,0.35);
  margin-bottom: 20px;
}
.fh-office-hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 18px;
  color: #fff;
  letter-spacing: -0.5px;
}
.fh-office-hero h1 .gold { color: var(--fh-gold-soft); }
.fh-office-hero__sub {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin: 0 0 28px;
  max-width: 580px;
}
.fh-office-hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
}
.fh-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-size: 15px; font-weight: 600;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fh-btn--primary {
  background: var(--fh-gold);
  color: var(--fh-navy) !important;
  box-shadow: 0 4px 14px rgba(212,160,23,0.4);
}
.fh-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212,160,23,0.55); }
.fh-btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.fh-btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }
.fh-office-hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 36px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.fh-office-hero__stat-num {
  font-size: 32px; font-weight: 800; color: var(--fh-gold-soft);
  line-height: 1; margin-bottom: 6px;
}
.fh-office-hero__stat-label {
  font-size: 12px; color: rgba(255,255,255,0.7); letter-spacing: 0.5px;
}
.fh-office-hero__visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.fh-office-hero__visual-card {
  background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}
.fh-office-hero__visual-card .icon { font-size: 28px; display: block; margin-bottom: 8px; }
.fh-office-hero__visual-card .label { font-size: 13px; color: rgba(255,255,255,0.88); font-weight: 600; }

/* ── INTRO ──────────────────────────────────────────────── */
.fh-office-intro { background: #fff; }
.fh-office-intro__grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px;
  align-items: start;
}
.fh-office-intro__big {
  font-size: 22px; font-weight: 500; line-height: 1.55;
  color: var(--fh-navy);
}
.fh-office-intro__big strong { color: var(--fh-gold); font-weight: 700; }
.fh-office-intro__body p { margin: 0 0 14px; }

/* ── HẠNG MỤC (the hierarchical scope section) ─────────── */
.fh-office-scope { background: var(--fh-cream); }
.fh-office-scope__header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.fh-office-scope__header .fh-office__lead { margin: 14px auto 0; }
.fh-office-scope__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;
}
.fh-scope-card {
  background: #fff; border-radius: 14px;
  border: 1px solid var(--fh-line);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--fh-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fh-scope-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--fh-shadow-md);
  border-color: rgba(212,160,23,0.5);
}
.fh-scope-card__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--fh-line);
}
.fh-scope-card__icon {
  flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--fh-gold-50);
  color: var(--fh-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.fh-scope-card__title {
  font-size: 16px; font-weight: 700; color: var(--fh-navy);
  line-height: 1.3; margin: 0;
}
.fh-scope-card__title small {
  display: block; font-size: 11px; font-weight: 500;
  color: var(--fh-muted); margin-top: 2px; letter-spacing: 0.3px;
}
.fh-scope-card__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.fh-scope-card__list li {
  font-size: 14px; line-height: 1.5;
  padding-left: 22px;
  position: relative;
  color: #2a2a3a;
}
.fh-scope-card__list li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px;
  background: var(--fh-gold);
  border-radius: 50%;
}
.fh-scope-card__list li strong {
  color: var(--fh-navy); font-weight: 600;
}
.fh-scope-card__note {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--fh-line);
  font-size: 12px; color: var(--fh-muted); font-style: italic;
}

/* ── WHY F-HOUSE ────────────────────────────────────────── */
.fh-office-why { background: #fff; }
.fh-office-why__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px;
  margin-top: 40px;
}
.fh-why-card {
  background: linear-gradient(180deg, #fff, var(--fh-cream));
  border-radius: 12px; padding: 28px 24px;
  border: 1px solid var(--fh-line);
}
.fh-why-card__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--fh-navy); color: var(--fh-gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.fh-why-card h3 { margin: 0 0 8px; }
.fh-why-card p { margin: 0; font-size: 14.5px; color: var(--fh-muted); line-height: 1.6; }

/* ── PROCESS ────────────────────────────────────────────── */
.fh-office-process {
  background:
    linear-gradient(135deg, var(--fh-navy) 0%, var(--fh-navy-2) 100%);
  color: #fff;
}
.fh-office-process h2 { color: #fff; }
.fh-office-process .fh-office__lead { color: rgba(255,255,255,0.7); }
.fh-office-process .fh-office__eyebrow {
  background: rgba(212,160,23,0.18); color: var(--fh-gold-soft);
}
.fh-office-process__list {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
  counter-reset: process;
}
.fh-process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 28px 24px 24px;
  position: relative;
  counter-increment: process;
}
.fh-process-step::before {
  content: counter(process, decimal-leading-zero);
  position: absolute; top: -18px; left: 24px;
  background: var(--fh-gold); color: var(--fh-navy);
  font-size: 14px; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(212,160,23,0.4);
}
.fh-process-step h3 { color: #fff; margin: 8px 0 8px; }
.fh-process-step p { margin: 0; color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.6; }
.fh-process-step__time {
  display: inline-block; margin-top: 12px; padding: 3px 10px;
  background: rgba(212,160,23,0.15); color: var(--fh-gold-soft);
  font-size: 11px; font-weight: 600; border-radius: 4px; letter-spacing: 0.3px;
}

/* ── STYLES (chips) ─────────────────────────────────────── */
.fh-office-styles { background: var(--fh-cream); }
.fh-office-styles__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px;
  margin-top: 40px;
}
.fh-style-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 22px;
  border: 1px solid var(--fh-line);
  text-align: left;
}
.fh-style-card__emoji { font-size: 28px; display: block; margin-bottom: 10px; }
.fh-style-card__name { font-size: 16px; font-weight: 700; color: var(--fh-navy); margin: 0 0 4px; }
.fh-style-card__desc { font-size: 13px; color: var(--fh-muted); line-height: 1.5; margin: 0; }

/* ── PRICING ────────────────────────────────────────────── */
.fh-office-pricing { background: #fff; }
.fh-office-pricing__table {
  margin-top: 36px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--fh-line);
  box-shadow: var(--fh-shadow-md);
}
.fh-office-pricing__row {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr);
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--fh-line);
  font-size: 14.5px;
}
.fh-office-pricing__row:last-child { border-bottom: 0; }
.fh-office-pricing__row--head {
  background: var(--fh-navy); color: #fff;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.fh-office-pricing__row--head + .fh-office-pricing__row { border-top: 0; }
.fh-office-pricing__row strong { color: var(--fh-navy); }
.fh-office-pricing__price { color: var(--fh-gold); font-weight: 700; }
.fh-office-pricing__note {
  margin-top: 14px; font-size: 13px; color: var(--fh-muted); font-style: italic; text-align: center;
}

/* ── FAQ ────────────────────────────────────────────────── */
.fh-office-faq { background: var(--fh-cream); }
.fh-office-faq__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
  margin-top: 36px;
}
.fh-faq-item {
  background: #fff; border-radius: 10px; padding: 22px 22px;
  border-left: 4px solid var(--fh-gold);
  box-shadow: var(--fh-shadow-sm);
}
.fh-faq-item h3 { font-size: 15.5px; margin: 0 0 8px; }
.fh-faq-item p { margin: 0; font-size: 14px; color: #3a3a4a; line-height: 1.6; }

/* ── CTA FINAL ──────────────────────────────────────────── */
.fh-office-cta {
  background:
    radial-gradient(800px 400px at 20% 90%, rgba(212,160,23,0.2), transparent 60%),
    linear-gradient(135deg, var(--fh-navy) 0%, var(--fh-navy-2) 100%);
  color: #fff; text-align: center;
}
.fh-office-cta h2 { color: #fff; }
.fh-office-cta__sub { color: rgba(255,255,255,0.78); font-size: 17px; max-width: 580px; margin: 0 auto 28px; }
.fh-office-cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.fh-office-cta__phone {
  display: inline-block; margin-top: 28px;
  font-size: 28px; font-weight: 800;
  color: var(--fh-gold-soft); text-decoration: none !important;
  letter-spacing: 1px;
}
.fh-office-cta__phone:hover { color: #fff; }

/* ── PROMO BANNER (sticky-feel, gold festive) ───────────── */
.fh-office-promo {
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(245,200,66,0.25), transparent 60%),
    linear-gradient(135deg, var(--fh-gold) 0%, #e8b32d 50%, #c8951a 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.fh-office-promo::before, .fh-office-promo::after {
  content: ""; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  pointer-events: none;
}
.fh-office-promo::before { top: -100px; right: -80px; }
.fh-office-promo::after  { bottom: -150px; left: -50px; width: 400px; height: 400px; }
.fh-office-promo__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 36px;
  align-items: center;
}
.fh-office-promo__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--fh-navy); color: var(--fh-gold-soft);
  font-size: 12px; font-weight: 800; letter-spacing: 2px;
  padding: 6px 14px; border-radius: 4px; text-transform: uppercase;
  margin-bottom: 12px;
}
.fh-office-promo h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  color: var(--fh-navy);
  margin: 0 0 12px;
  line-height: 1.2;
}
.fh-office-promo h2 .strike {
  text-decoration: line-through;
  text-decoration-color: rgba(26,26,46,0.45);
  text-decoration-thickness: 3px;
  opacity: 0.6;
  font-weight: 600;
}
.fh-office-promo h2 .free {
  color: #fff;
  background: var(--fh-navy);
  padding: 2px 14px; border-radius: 6px;
  display: inline-block;
  transform: rotate(-1deg);
}
.fh-office-promo__desc {
  font-size: 16px; color: var(--fh-navy); line-height: 1.7;
  margin: 0 0 14px; font-weight: 500;
}
.fh-office-promo__desc strong { font-weight: 800; }
.fh-office-promo__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fh-office-promo__list li {
  font-size: 14px; color: var(--fh-navy); padding-left: 26px; position: relative; line-height: 1.5;
}
.fh-office-promo__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--fh-navy); color: var(--fh-gold-soft);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.fh-office-promo__card {
  background: var(--fh-navy);
  color: #fff; border-radius: 16px; padding: 28px;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 24px 48px -16px rgba(26,26,46,0.45);
}
.fh-office-promo__card-title { font-size: 13px; color: var(--fh-gold-soft); letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; }
.fh-office-promo__card-big {
  font-size: 56px; font-weight: 800; color: #fff; line-height: 1; margin: 6px 0 4px;
  background: linear-gradient(135deg, #fff 30%, var(--fh-gold-soft));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fh-office-promo__card-unit { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.fh-office-promo__card .fh-btn { width: 100%; justify-content: center; }

/* ── SOFTWARE STACK ─────────────────────────────────────── */
.fh-office-stack { background: #fff; }
.fh-office-stack__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px;
  margin-top: 36px;
}
.fh-stack-card {
  background: linear-gradient(180deg, #fff, var(--fh-cream));
  border: 1px solid var(--fh-line); border-radius: 12px;
  padding: 22px 16px; text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fh-stack-card:hover { transform: translateY(-4px); box-shadow: var(--fh-shadow-md); }
.fh-stack-card__icon { font-size: 36px; display: block; margin-bottom: 10px; }
.fh-stack-card__name { font-size: 14px; font-weight: 700; color: var(--fh-navy); margin: 0 0 4px; }
.fh-stack-card__role { font-size: 11px; color: var(--fh-muted); letter-spacing: 0.3px; }

/* ── QUALITY TIERS ──────────────────────────────────────── */
.fh-office-tiers { background: var(--fh-cream); }
.fh-office-tiers__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
  margin-top: 36px;
}
.fh-tier-card {
  background: #fff; border-radius: 14px; padding: 28px 24px;
  border: 1px solid var(--fh-line);
  position: relative;
  display: flex; flex-direction: column;
}
.fh-tier-card--featured {
  border: 2px solid var(--fh-gold);
  box-shadow: var(--fh-shadow-lg);
  transform: translateY(-6px);
}
.fh-tier-card--featured::before {
  content: "⭐ ĐƯỢC CHỌN NHIỀU NHẤT";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--fh-gold); color: var(--fh-navy);
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 4px;
  white-space: nowrap;
}
.fh-tier-card__name { font-size: 18px; font-weight: 700; color: var(--fh-navy); margin: 0 0 6px; }
.fh-tier-card__desc { font-size: 13px; color: var(--fh-muted); margin: 0 0 14px; min-height: 36px; }
.fh-tier-card__price { font-size: 28px; font-weight: 800; color: var(--fh-gold); line-height: 1; margin: 0 0 4px; }
.fh-tier-card__unit { font-size: 12px; color: var(--fh-muted); margin-bottom: 18px; }
.fh-tier-card__features { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.fh-tier-card__features li {
  font-size: 13px; padding: 6px 0 6px 22px; position: relative;
  border-bottom: 1px dashed var(--fh-line); color: #2a2a3a;
}
.fh-tier-card__features li:last-child { border-bottom: 0; }
.fh-tier-card__features li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; color: var(--fh-gold); font-weight: 800;
}
.fh-tier-card__features li.no::before { content: "✕"; color: #c0392b; }
.fh-tier-card__features li.no { color: var(--fh-muted); text-decoration: line-through; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .fh-office-hero { padding: 64px 0 80px; }
  .fh-office-hero__container { grid-template-columns: 1fr; gap: 36px; }
  .fh-office-hero__visual { order: -1; }
  .fh-office-intro__grid { grid-template-columns: 1fr; gap: 24px; }
  .fh-office section { padding: 56px 0; }
  .fh-office-pricing__row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
  }
  .fh-office-pricing__row--head { display: none; }
  .fh-office-pricing__row > div::before {
    content: attr(data-label);
    display: block; font-size: 11px; font-weight: 700;
    color: var(--fh-muted); text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 2px;
  }
}
@media (max-width: 560px) {
  .fh-office-hero__stats { grid-template-columns: 1fr 1fr; }
  .fh-office-hero__stats > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .fh-office-promo__inner { grid-template-columns: 1fr; gap: 24px; }
  .fh-office-promo__card { order: -1; max-width: 360px; margin: 0 auto; }
  .fh-tier-card--featured { transform: none; }
}
