/* ==========================================================================
   INTERIOR PAGE SYSTEM
   Hero banners, long-form prose, breadcrumbs, FAQ accordion, service detail,
   blog cards, forms, split panels. Split from site.css so the base design
   system and the page layouts can change independently.
   ========================================================================== */

.page-hero{background:var(--brand);color:#fff;padding:88px 0 76px;position:relative;overflow:hidden}
.page-hero::before{content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 82% 20%,rgba(251,176,59,.13),transparent 58%),
             radial-gradient(circle at 8% 90%,rgba(107,31,78,.4),transparent 62%)}
.page-hero .wrap{position:relative;z-index:2;max-width:820px}
.page-hero h1{color:#fff;margin:14px 0 18px}
.page-hero p{color:rgba(255,255,255,.72);font-size:1.04rem;max-width:58ch}

.crumbs{font-size:10.5px;letter-spacing:1.6px;text-transform:uppercase;
  color:rgba(255,255,255,.5);font-weight:500;margin-bottom:6px}
.crumbs a{color:rgba(255,255,255,.72)}
.crumbs a:hover{color:var(--amber)}
.crumbs span{margin:0 8px;opacity:.5}

.crumbs-light{color:var(--muted);margin-bottom:16px}
.crumbs-light a{color:var(--muted)}
.crumbs-light a:hover{color:var(--brand)}

/* ---- long-form prose ---- */
.prose{max-width:760px;margin:0 auto}
.prose h2{font-family:var(--serif);font-weight:400;font-size:clamp(1.7rem,3vw,2.3rem);
  line-height:1.2;margin:52px 0 18px;color:var(--brand)}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:var(--serif);font-weight:400;font-size:1.35rem;margin:34px 0 12px;color:var(--brand)}
.prose p{margin:0 0 18px;font-size:1.02rem;line-height:1.78;color:#3d2a36}
.prose ul,.prose ol{margin:0 0 22px;padding-left:22px}
.prose li{margin-bottom:10px;font-size:1rem;line-height:1.7;color:#3d2a36}
.prose strong{color:var(--brand);font-weight:600}
.prose em{font-style:italic}
.prose a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--burgundy-3)}
.prose blockquote{margin:30px 0;padding:22px 26px;border-left:3px solid var(--amber);
  background:var(--cream-2);font-family:var(--serif);font-size:1.2rem;line-height:1.5;color:var(--brand)}

.callout{background:var(--cream-2);border:1px solid var(--line);border-left:3px solid var(--amber);
  padding:26px 30px;margin:32px 0}
.callout h4{font-family:var(--serif);font-size:1.25rem;margin-bottom:8px;color:var(--brand)}
.callout p{margin:0;font-size:.96rem;color:var(--muted)}

/* ---- FAQ accordion ---- */
.faq{border-top:1px solid var(--line);margin-top:14px}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;background:none;border:0;font:inherit;text-align:left;padding:22px 46px 22px 0;
  position:relative;cursor:pointer;color:var(--brand);font-family:var(--serif);
  font-size:1.18rem;line-height:1.4}
.faq-q::after{content:'';position:absolute;right:8px;top:50%;width:11px;height:11px;
  border-right:1.5px solid var(--amber);border-bottom:1.5px solid var(--amber);
  transform:translateY(-70%) rotate(45deg);transition:transform .3s var(--ease)}
.faq-item.open .faq-q::after{transform:translateY(-30%) rotate(-135deg)}
.faq-q:hover{color:var(--burgundy-3)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .38s var(--ease)}
.faq-item.open .faq-a{max-height:640px}
.faq-a p{padding:0 46px 22px 0;margin:0;font-size:.97rem;color:var(--muted);line-height:1.75}

/* ---- service detail ---- */
.svc-detail{display:grid;grid-template-columns:1fr 1.15fr;gap:56px;align-items:start}
.svc-detail-img{position:sticky;top:110px;aspect-ratio:4/5;overflow:hidden}
.svc-detail-img img{width:100%;height:100%;object-fit:cover}
.svc-facts{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 0;padding-top:22px;
  border-top:1px solid var(--line)}
.svc-fact{background:var(--cream-2);padding:11px 16px;font-size:11px;letter-spacing:1.2px;
  text-transform:uppercase;color:var(--brand);font-weight:600}
.svc-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}
.svc-link{font-size:10.5px;letter-spacing:1.7px;text-transform:uppercase;font-weight:600;
  color:var(--gold);display:inline-flex;align-items:center;gap:8px}
.svc-link .ic{width:14px;height:14px;transition:transform .3s var(--ease)}

/* ---- blog ---- */
.blog-list{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.blog-card{display:flex;flex-direction:column;background:var(--white);border:1px solid var(--line);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease)}
.blog-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(54,19,37,.1);
  border-color:rgba(251,176,59,.5)}
.blog-card-img{aspect-ratio:3/2;overflow:hidden}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.blog-card:hover .blog-card-img img{transform:scale(1.05)}
.blog-card-body{padding:24px;display:flex;flex-direction:column;flex:1}
.blog-card-body h3{font-family:var(--serif);font-size:1.35rem;line-height:1.28;margin:9px 0 10px}
.blog-card-body p{font-size:.92rem;color:var(--muted);flex:1}
.blog-card-foot{display:flex;gap:14px;font-size:11px;color:var(--muted);margin-top:16px;
  padding-top:14px;border-top:1px solid var(--line);align-items:center}

/* ---- post header ---- */
.post-hero{background:var(--brand);color:#fff;padding:76px 0 64px;position:relative;overflow:hidden}
.post-hero::before{content:'';position:absolute;inset:0;
  background:radial-gradient(circle at 78% 24%,rgba(251,176,59,.12),transparent 58%)}
.post-hero .wrap{position:relative;z-index:2;max-width:820px}
.post-hero h1{color:#fff;margin:14px 0 20px}
.post-meta{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:11px;
  letter-spacing:1.4px;text-transform:uppercase;color:rgba(255,255,255,.58)}
.post-meta .ic{width:13px;height:13px}
.post-figure{max-width:960px;margin:-40px auto 0;position:relative;z-index:3;aspect-ratio:16/8;overflow:hidden}
.post-figure img{width:100%;height:100%;object-fit:cover}
.post-body{padding:70px 0}

/* ---- forms ---- */
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{margin-bottom:20px}
.field label{display:block;font-size:10.5px;letter-spacing:1.6px;text-transform:uppercase;
  color:var(--muted);font-weight:600;margin-bottom:9px}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:.96rem;
  padding:13px 15px;border:1px solid var(--line);background:var(--cream);color:var(--ink)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;
  border-color:var(--amber);background:#fff}
.field textarea{min-height:130px;resize:vertical}
.field .req{color:var(--red)}
.check{display:flex;gap:11px;align-items:flex-start;margin-bottom:20px}
.check input{width:17px;height:17px;margin-top:2px;flex:0 0 auto}
.check label{font-size:.88rem;color:var(--muted);line-height:1.6;text-transform:none;
  letter-spacing:0;margin:0;font-weight:400}

/* ---- info cards ---- */
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.info-card{background:var(--white);border:1px solid var(--line);padding:30px}
.info-card .ic-wrap{width:42px;height:42px;background:rgba(251,176,59,.16);
  display:grid;place-items:center;margin-bottom:18px;color:var(--brand)}
.info-card h3{font-family:var(--serif);font-size:1.3rem;margin-bottom:9px;color:var(--brand)}
.info-card p{font-size:.92rem;color:var(--muted)}

/* ---- split panel ---- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:0;align-items:stretch}
.split-img{min-height:460px;overflow:hidden;position:relative}
.split-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.split-copy{padding:64px 56px;display:flex;flex-direction:column;justify-content:center;
  background:var(--white)}
.split-copy h2{margin:14px 0 18px}
.split-copy p{color:var(--muted);margin-bottom:15px}

/* ---- footer join strip (top-right) ----
   GRID, not flex. With flex-wrap the three items fell onto three separate
   lines once the strip got narrow, and space-between does nothing on a
   single-item line - so the buttons silently rendered on the LEFT at
   ~780px instead of the top-right. Two columns pins the actions to the
   right edge at every width; the note spans both columns on row 2. */
.foot-join{display:grid;grid-template-columns:1fr auto;align-items:center;
  column-gap:28px;padding:26px 0 30px;border-bottom:1px solid rgba(255,255,255,.1)}
.foot-join h4{font-family:var(--serif);font-size:1.45rem;color:#fff;margin:0 0 4px;font-weight:400}
.foot-join p{margin:0;font-size:12.5px;letter-spacing:1.2px;text-transform:uppercase;
  color:rgba(255,255,255,.5);font-weight:600}
.foot-join-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-self:end}
.foot-join-actions .btn{white-space:nowrap;padding:12px 22px;letter-spacing:1.4px}
.foot-join-note{grid-column:1 / -1;font-size:11px;letter-spacing:1px;
  color:rgba(255,255,255,.42);margin:18px 0 0;max-width:64ch}

@media(max-width:860px){
  .foot-join{grid-template-columns:1fr;row-gap:18px}
  .foot-join-actions{justify-self:stretch;width:100%}
  .foot-join-actions .btn{flex:1;justify-content:center}
  .foot-join-note{margin-top:0}
}

/* ---- footer grid ----
   NOTE: the base rule must live here, not only in the media queries below.
   An earlier build shipped the overrides without it, so .foot-grid-3
   computed display:block and the four footer columns stacked into one. */
.foot-grid-3{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:44px;
  padding-bottom:44px;border-bottom:1px solid rgba(255,255,255,.1)}

.sec{padding:96px 0}
.sec-sm{padding:64px 0}
.sec-tint{background:var(--cream-2)}
.menu a.on{color:var(--brand)}
.menu a.on::after{width:100%}

/* ---- polls (community page, inline) ---- */
.poll-opt{font-size:.9rem;margin-bottom:5px}
.poll-bar{height:5px;background:rgba(42,5,31,.09);margin:9px 0;position:relative}
.poll-bar i{position:absolute;left:0;top:0;bottom:0;background:var(--gold);display:block}

@media(max-width:1000px){
  .svc-detail,.split{grid-template-columns:1fr}
  .svc-detail-img{position:static;aspect-ratio:16/10}
  .split-img{min-height:340px}
  .split-copy{padding:40px 28px}
  .blog-list{grid-template-columns:repeat(2,1fr)}
  .info-grid{grid-template-columns:1fr}
  .post-figure{margin:-24px 20px 0}
  .foot-grid-3{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .form-row{grid-template-columns:1fr}
  .blog-list{grid-template-columns:1fr}
  .sec{padding:64px 0}
  .page-hero{padding:60px 0 52px}
  .foot-grid-3{grid-template-columns:1fr;gap:30px}
}

/* ---- Social Share Widget (Blogs & Services) ---- */
.gbf-social-share-widget {
  background: var(--bg-subtle, #fbf7f5);
  border: 1px solid var(--border-light, #ebe3de);
  border-radius: var(--radius-md, 8px);
  padding: 24px 28px;
  margin: 36px 0;
  box-shadow: 0 4px 16px rgba(42, 5, 31, 0.03);
}
.gbf-share-header {
  margin-bottom: 16px;
}
.gbf-share-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold, #d4af37);
  margin-bottom: 4px;
}
.gbf-share-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 1.4rem;
  color: var(--brand, #5b2333);
  margin: 0;
  font-weight: 500;
}
.gbf-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.gbf-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(42, 5, 31, 0.12);
  background: #ffffff;
  color: #332d2f;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.gbf-share-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.gbf-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.gbf-share-btn:hover svg {
  transform: scale(1.1);
}
.gbf-share-wa:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.gbf-share-fb:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}
.gbf-share-x:hover {
  background: #000000;
  color: #fff;
  border-color: #000;
}
.gbf-share-pin:hover {
  background: #e60023;
  color: #fff;
  border-color: #e60023;
}
.gbf-share-li:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}
.gbf-share-email:hover {
  background: var(--brand, #5b2333);
  color: #fff;
  border-color: var(--brand, #5b2333);
}
.gbf-share-copy {
  border: 1px solid var(--gold, #d4af37);
  color: var(--brand, #5b2333);
  background: #fff;
}
.gbf-share-copy:hover {
  background: var(--gold, #d4af37);
  color: #fff;
  border-color: var(--gold, #d4af37);
}
.gbf-share-copy.is-copied {
  background: #2e7d32 !important;
  color: #fff !important;
  border-color: #2e7d32 !important;
}
@media (max-width: 600px) {
  .gbf-social-share-widget {
    padding: 20px 18px;
  }
  .gbf-share-btn span {
    font-size: 0.75rem;
  }
}