/*
Theme Name: DineInGrowth V3.9
Theme URI: https://dineingrowth.com/
Author: Dine-In Growth Media LLC
Author URI: https://dineingrowth.com/
Description: A premium, editorial WordPress theme for DineInGrowth. Built for restaurant growth consulting: local search, reviews, content, offers and conversion with a refined mobile-first layout. Adds an online chat with customer accounts and an admin console.
Version: 3.9.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dineingrowth-v3
Tags: restaurant, consulting, marketing, blog, one-column, custom-menu, featured-images, threaded-comments
*/

/* V3.3: deep-navy palette (blue family), larger type, video hero, brand marquee. */
:root {
  --ink: #0c1f33;
  --ink-2: #1c3a55;
  --forest: #071a30;
  --forest-2: #0d2c4e;
  --forest-3: #14497e;
  --ivory: #f2f6fb;
  --paper: #ffffff;
  --sand: #e4edf7;
  --bronze: #2f7df4;
  --bronze-2: #5da0ff;
  --terra: #f2704a;
  --sage: #7d9cc0;
  --muted: #465f78;
  --line: rgba(12, 31, 51, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow: 0 26px 70px rgba(7, 26, 48, 0.16);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 8px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 18px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
::selection { background: rgba(47, 125, 244, 0.26); }
.site-shell { overflow: clip; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(860px, 100%); }
.section { padding: 110px 0; }
.section-dark { color: #fff; background: var(--forest); }
.section-sand { background: var(--sand); }
.center { text-align: center; margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; top: -80px; left: 20px; padding: 10px 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.skip-link:focus { top: 15px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--bronze); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-dark .eyebrow { color: var(--bronze-2); }
h1, h2, h3, h4 { margin: 0; color: inherit; line-height: 1.08; font-weight: 600; }
h1, h2 { font-family: var(--serif); }
h1 { max-width: 960px; font-size: 4.15rem; }
h2 { font-size: 3.1rem; }
h3 { font-size: 1.36rem; line-height: 1.3; }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1.25em; }
small { font-size: 0.82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.section-heading { margin-bottom: 54px; }
.section-heading.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); align-items: end; gap: 56px; }
.section-heading.split > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading.split > p { color: rgba(255, 255, 255, 0.7); }
.section-heading h2 { max-width: 780px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 0.88rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #101a14; background: var(--bronze-2); }
.btn-primary:hover { background: #e0b877; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.42); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-dark { color: #fff; background: var(--forest-3); }
.btn-dark:hover { background: var(--forest-2); }
.btn-header {
	min-height: 46px;
	padding: 12px 22px;
	font-family: var(--serif);
	font-size: 1.06rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: linear-gradient(135deg, #6ea8ff 0%, #2f7df4 100%);
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(47, 125, 244, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	text-shadow: 0 1px 1px rgba(7, 26, 48, 0.25);
}
.btn-header::after {
	content: "\2192";
	margin-left: 9px;
	font-size: 0.92em;
	line-height: 1;
	transition: transform 0.2s ease;
}
.btn-header:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(47, 125, 244, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-header:hover::after {
	transform: translateX(4px);
}
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.microcopy { margin: 18px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 0.8rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest-3); font-weight: 800; text-underline-offset: 4px; }
.text-link:hover { color: var(--terra); }
.section-dark .text-link { color: var(--bronze-2); }

.site-header { position: absolute; z-index: 60; inset: 0 0 auto; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #fff; background: linear-gradient(180deg, rgba(5, 18, 34, 0.55) 0%, rgba(5, 18, 34, 0) 100%); }
.header-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; min-height: 92px; gap: 32px; }
.brand { display: inline-flex; }
.brand img { width: auto; height: 58px; max-height: none; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: 40px; }
.desktop-nav a { position: relative; padding: 4px 0; font-family: var(--serif); font-size: 1.34rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none; color: rgba(255, 255, 255, 0.92); opacity: 1; transition: color 0.2s ease; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; border-radius: 2px; background: var(--bronze-2); transition: right 0.25s ease; }
.desktop-nav a:hover, .desktop-nav a.is-current { color: #fff; }
.desktop-nav a:hover::after, .desktop-nav a.is-current::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius); color: #fff; background: transparent; }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: currentColor; }
.mobile-nav { display: none; padding: 14px 24px 26px; background: var(--forest); }
.mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-decoration: none; }
.mobile-nav.is-open { display: block; }

.hero { position: relative; padding: 186px 0 116px; color: #fff; background: var(--forest); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 18, 34, 0.94) 0%, rgba(7, 26, 48, 0.78) 46%, rgba(10, 38, 70, 0.46) 100%); z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 80% 20%, rgba(47, 125, 244, 0.16) 0%, transparent 55%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-bg video.hero-video-mobile { display: none; }
.hero-bg img.hero-fallback { display: none; }
@keyframes dig-kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.09) translate(-1.4%, 1.2%); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; align-items: center; }
.hero-copy { max-width: 780px; }
.hero h1 { max-width: 860px; font-size: 4.55rem; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--bronze-2); }
.hero-lede { max-width: 720px; margin: 28px 0; color: rgba(255, 255, 255, 0.85); font-size: 1.18rem; }
.hero-visual { position: relative; }
.hero-visual .frame { position: relative; border-radius: 180px 180px 8px 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38); }
.hero-visual .frame img { width: 100%; aspect-ratio: 0.86; object-fit: cover; }
.hero-note { position: absolute; left: -34px; bottom: 30px; width: min(320px, 82%); padding: 20px 22px; border-left: 3px solid var(--bronze-2); border-radius: var(--radius); color: var(--ink); background: rgba(255, 253, 248, 0.96); box-shadow: var(--shadow); }
.hero-note span { display: block; margin-bottom: 6px; color: var(--terra); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-note strong { display: block; font-family: var(--serif); font-size: 1.16rem; font-weight: 600; line-height: 1.3; }
.hero-metrics { position: relative; z-index: 2; margin-top: 62px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.18); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.hero-metrics span { color: rgba(255, 255, 255, 0.6); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-metrics strong { display: block; margin-bottom: 5px; color: #fff; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--ivory); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; padding-block: 24px; color: var(--muted); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }
.trust-strip span:first-child { color: var(--forest-3); }

.brand-marquee { padding: 42px 0 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand-marquee-label { margin: 0 0 22px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-align: center; text-transform: uppercase; }
.marquee-viewport { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: dig-marquee 34s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 54px; padding-right: 54px; }
.marquee-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: #9db2c8; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.02em; opacity: 0.9; transition: color 0.2s ease, opacity 0.2s ease; }
.marquee-logo:hover { color: var(--bronze); opacity: 1; }
.marquee-logo svg { width: 30px; height: 30px; fill: currentColor; opacity: 0.85; }
.marquee-logo .mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; background: linear-gradient(135deg, var(--bronze), #8f5bff); font-family: var(--sans); font-size: 0.9rem; font-weight: 850; }
@keyframes dig-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.results-band { border-top: 1px solid var(--line); background: linear-gradient(120deg, var(--forest) 0%, var(--forest-2) 100%); color: #fff; }
.results-band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-block: 58px; }
.results-band strong { display: block; margin-bottom: 8px; color: var(--bronze-2); font-family: var(--serif); font-size: 3.1rem; font-weight: 700; line-height: 1; }
.results-band span { color: rgba(255, 255, 255, 0.68); font-size: 0.84rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar-card { position: relative; min-height: 290px; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 40px rgba(14, 36, 27, 0.05); }
.pillar-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--bronze); border-radius: var(--radius) var(--radius) 0 0; }
.pillar-card > span { display: block; margin-bottom: 22px; color: var(--bronze); font-family: var(--serif); font-size: 1.9rem; font-weight: 600; }
.pillar-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 1.5rem; }
.pillar-card p { margin: 0 0 16px; color: var(--muted); font-size: 0.92rem; }
.pillar-card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.pillar-card ul li { position: relative; padding: 6px 0 6px 22px; color: var(--muted); font-size: 0.86rem; font-weight: 650; }
.pillar-card ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--bronze-2); }
.pillar-card .text-link { font-size: 0.85rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; }
.two-col > div > p:not(.eyebrow) { color: var(--muted); }
.deliverable-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.deliverable-card ol { padding: 0; margin: 0; list-style: none; }
.deliverable-card li { display: grid; grid-template-columns: 44px 1fr; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; }
.deliverable-card li span { color: var(--bronze); font-family: var(--serif); font-size: 1.05rem; }
.card-label { margin-bottom: 18px !important; color: var(--terra) !important; font-size: 0.7rem !important; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }

.audit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audit-card { display: flex; flex-direction: column; min-height: 470px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 14px 44px rgba(7, 26, 48, 0.07); }
.audit-card-media { position: relative; aspect-ratio: 1.65; overflow: hidden; }
.audit-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.audit-card:hover .audit-card-media img { transform: scale(1.04); }
.audit-card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 26px; }
.audit-card .case-metric { display: inline-flex; align-items: baseline; gap: 6px; margin: 0 0 14px; color: var(--bronze); font-family: var(--serif); font-weight: 700; }
.audit-card .case-metric strong { font-size: 2rem; line-height: 1; }
.audit-card .case-metric span { font-size: 0.92rem; }
.audit-card h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 1.7rem; }
.audit-card > p:not(.card-label) { color: var(--muted); font-size: 0.92rem; }
.audit-card a { margin-top: auto; }
.audit-card small { display: block; padding-top: 18px; color: #7a877e; font-size: 0.66rem; line-height: 1.5; }
.audit-card .card-label { margin-bottom: 14px !important; }

.process-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-row::before { content: ""; position: absolute; top: 54px; left: 0; right: 0; height: 1px; background: rgba(255, 255, 255, 0.18); }
.process-row article { position: relative; padding: 30px 22px 22px; }
.process-row article::before { content: ""; position: relative; z-index: 1; display: block; width: 18px; height: 18px; margin-bottom: 46px; border: 3px solid var(--bronze-2); border-radius: 50%; background: var(--forest); }
.process-row span { display: block; margin-bottom: 14px; color: var(--bronze-2); font-family: var(--serif); font-size: 1.25rem; }
.process-row h3 { min-height: 50px; margin-bottom: 12px; }
.process-row p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.86rem; }
.process-row article.process-mini { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); }
.process-row article.process-mini::before { margin-bottom: 22px; }
.process-row article.process-mini small { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--bronze-2); font-size: 0.78rem; font-weight: 700; line-height: 1.5; }

.faq-layout { align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 30px; }
.faq-layout img { margin-top: 34px; border-radius: var(--radius); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--bronze); font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0; padding: 0 4px 24px; color: var(--muted); max-width: 680px; }

.cta-card { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; align-items: center; gap: 44px; padding: 56px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); background: var(--forest-2); color: #fff; box-shadow: var(--shadow); }
.cta-card h2 { max-width: 680px; }
.cta-card > div > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.7); }
.cta-card small { display: block; margin-top: 14px; color: rgba(255, 255, 255, 0.5); }

.page-hero { padding: 168px 0 96px; color: #fff; background: var(--forest); }
.page-hero.with-bg { position: relative; background: var(--forest); }
.page-hero.with-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 18, 34, 0.92) 0%, rgba(7, 26, 48, 0.72) 55%, rgba(10, 38, 70, 0.45) 100%); z-index: 0; }
.page-hero.with-bg .container { position: relative; z-index: 1; }
.page-hero.with-bg > .container { position: relative; z-index: 1; }
.page-hero-bgimg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bgimg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { max-width: 900px; }
.page-hero .page-lede { max-width: 720px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.74); font-size: 1.08rem; }
.page-hero .button-row { margin-top: 30px; }

.module-stack { display: grid; gap: 22px; }
.module-row { display: grid; grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 44px rgba(14, 36, 27, 0.05); }
.module-row:nth-child(even) { direction: rtl; }
.module-row > * { direction: ltr; }
.module-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.module-media img { width: 100%; aspect-ratio: 1.15; object-fit: cover; }
.module-media::after { content: attr(data-index); position: absolute; top: 16px; left: 16px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #101a14; background: var(--bronze-2); font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.module-row h2 { font-size: 2.2rem; }
.module-row p { color: var(--muted); }
.module-row ul { padding-left: 20px; color: var(--muted); }
.module-row li { margin-bottom: 8px; }

.audit-detail { padding: 66px 0; border-bottom: 1px solid var(--line); }
.audit-detail:last-of-type { border-bottom: 0; }
.audit-detail { position: relative; overflow: hidden; }
.audit-detail-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  background-attachment: fixed; }
.audit-detail .container { position: relative; z-index: 1; }
.audit-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
.audit-detail h2 { font-size: 2.3rem; }
.audit-detail .meta-line { margin: 12px 0 24px; color: var(--muted); font-size: 0.86rem; }
.audit-detail h3 { margin: 26px 0 10px; font-family: var(--serif); font-size: 1.55rem; }
.audit-detail ul { padding-left: 20px; color: var(--muted); }
.audit-detail li { margin-bottom: 8px; }

/* ============================================================
   SureForms contact form polish (matches DineInGrowth design)
   ============================================================ */
#srfm-form-941.srfm-form {
	font-family: var(--sans, 'Manrope', -apple-system, 'Segoe UI', sans-serif);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 4px 0 0;
}
#srfm-form-941 .srfm-block-single {
	margin: 0;
	grid-column: span 1;
}
#srfm-form-941 .srfm-block-width-100 {
	grid-column: 1 / -1;
}
#srfm-form-941 .srfm-block-wrap {
	width: 100%;
}
#srfm-form-941 .srfm-input-common {
	width: 100%;
	min-height: 50px;
	padding: 12px 15px;
	border: 1px solid #d4dde8;
	border-radius: 9px;
	color: var(--ink, #12263a);
	background: #f8fafc;
	font-family: inherit;
	font-size: 0.95rem;
	line-height: 1.4;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
#srfm-form-941 .srfm-input-common::placeholder {
	color: #9db0c3;
	opacity: 1;
}
#srfm-form-941 .srfm-input-common:focus {
	outline: none;
	border-color: #2f7df4;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(47, 125, 244, 0.16);
}
#srfm-form-941 .srfm-input-textarea {
	min-height: 112px;
	resize: vertical;
}
#srfm-form-941 .srfm-submit-container {
	grid-column: 1 / -1;
	margin: 6px 0 0;
	text-align: left;
}
#srfm-form-941 .srfm-submit-container .wp-block-button {
	margin: 0;
}
#srfm-form-941 .srfm-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 30px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--bronze-2, #e4b96e);
	color: #101a14;
	font-family: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
#srfm-form-941 .srfm-submit-button:hover {
	transform: translateY(-2px);
	background: #e0b877;
}
#srfm-form-941 .srfm-submit-button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(47, 125, 244, 0.25);
}
#srfm-form-941 .srfm-error-message {
	font-size: 0.82rem;
	font-weight: 600;
}
@media (max-width: 760px) {
	#srfm-form-941.srfm-form {
		grid-template-columns: 1fr;
	}
}
.audit-source { padding-top: 20px; color: #7a877e; font-size: 0.8rem; }
.audit-source a { color: var(--forest-3); }

.case-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 44px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, 0.1); }
.case-stats div { padding: 26px 22px; background: var(--forest-2); }
.case-stats strong { display: block; margin-bottom: 8px; color: var(--bronze-2); font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.case-stats span { display: block; color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; font-weight: 700; line-height: 1.45; }

.process-stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step { min-height: 260px; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.process-step span { display: block; margin-bottom: 42px; color: var(--bronze); font-family: var(--serif); font-size: 1.9rem; }
.process-step h2 { font-size: 1.45rem; margin-bottom: 12px; }
.process-step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr); gap: 70px; align-items: center; }
.about-grid img { border-radius: var(--radius); }
.check-list { padding: 0; margin: 0 0 26px; list-style: none; }
.check-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 8px; border-left: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(-45deg); }

.booking-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.legal-note { margin-top: 26px; color: var(--muted); font-size: 0.82rem; }
.form-shell { padding: 44px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.form-shell h2 { margin-bottom: 8px; font-size: 2rem; }
.form-shell > p { color: var(--muted); }
.lead-form { display: grid; gap: 18px; margin-top: 26px; }
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form .field { display: grid; gap: 7px; }
.lead-form label { font-size: 0.82rem; font-weight: 750; letter-spacing: 0.02em; }
.lead-form label span { color: var(--bronze); }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #d4dde8; border-radius: 9px; color: var(--ink); background: #f8fafc; font-size: 0.95rem; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9db0c3; }
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--bronze); background: #fff; box-shadow: 0 0 0 3px rgba(47, 125, 244, 0.16); }
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form .form-note { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 620px) {
  .lead-form .form-row { grid-template-columns: 1fr; }
  .form-shell { padding: 26px; }
}
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 700; }
.form-status.is-visible { display: block; }
.form-status.ok { color: #174a2d; background: #e5f2e7; border: 1px solid #b9d8c1; }
.form-status.err { color: #7c2d1c; background: #fae9e2; border: 1px solid #e3b7a6; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.blog-hero { padding: 170px 0 70px; color: #fff; background: var(--forest); }
.blog-hero .eyebrow { color: var(--bronze-2); }
.blog-hero-sub { max-width: 700px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.74); font-size: 1.08rem; }
.blog-posts { padding: 74px 0 90px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-grid.featured-first { grid-template-columns: repeat(2, 1fr); }
.blog-card { display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 14px 44px rgba(14, 36, 27, 0.06); }
.blog-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: 430px; }
.blog-card-media img { width: 100%; aspect-ratio: 1.5; object-fit: cover; transition: transform 0.35s ease; }
.blog-card.featured .blog-card-media img { aspect-ratio: auto; height: 100%; min-height: 430px; }
.blog-card:hover .blog-card-media img { transform: scale(1.025); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.blog-card.featured .blog-card-body { padding: 42px; justify-content: center; }
.blog-card-cat { align-self: flex-start; margin-bottom: 14px; padding: 5px 10px; border-radius: 999px; color: var(--terra); background: var(--sand); font-size: 0.66rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.blog-card h2 { font-size: 1.65rem; }
.blog-card h2 { overflow-wrap: break-word; }
.blog-card.featured h2 { font-size: 2.55rem; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { color: var(--forest-3); }
.blog-card-meta { margin: 12px 0 10px; color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.blog-card-excerpt { color: var(--muted); font-size: 0.92rem; }
.blog-card .text-link { margin-top: auto; padding-top: 22px; }
.blog-cta { padding: 90px 0; background: var(--sand); }

.post-single { padding: 0 0 90px; }
.post-header { padding: 168px 0 44px; color: #fff; background: var(--forest); }
.post-header .container { position: relative; z-index: 1; }
.post-header h1 { max-width: 900px; margin-top: 18px; }
.post-meta { margin: 18px 0 0; color: rgba(255, 255, 255, 0.68); font-size: 0.86rem; }
.post-feature { margin: 0; }
.post-feature img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { padding-top: 56px; }
.prose h2 { margin: 52px 0 18px; font-size: 2rem; }
.prose h3 { margin: 36px 0 12px; font-size: 1.4rem; }
.prose p { color: #33433b; }
.prose ul, .prose ol { color: #33433b; }
.prose li { margin-bottom: 10px; }
.prose blockquote { margin: 36px 0; padding: 22px 26px; border-left: 3px solid var(--bronze); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); background: var(--ivory); font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; }
.prose blockquote p { margin: 0; }
.post-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-tags { color: var(--muted); font-size: 0.85rem; }
.post-related { padding: 80px 0 90px; background: var(--sand); }

.site-footer { padding: 84px 0 28px; color: rgba(255, 255, 255, 0.78); background: var(--forest); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(150px, 0.6fr)); gap: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-brand img { width: auto; height: 64px; max-height: none; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }
.footer-brand > span { color: rgba(255, 255, 255, 0.42); font-size: 0.78rem; }
.site-footer h2 { margin-bottom: 18px; color: #fff; font-family: var(--sans); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer nav a { display: block; margin-bottom: 11px; color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.footer-social { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-social > span { color: rgba(255, 255, 255, 0.7); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; color: rgba(255, 255, 255, 0.84); font-size: 0.8rem; font-weight: 750; text-decoration: none; }
.social-link:hover { border-color: var(--bronze-2); color: #fff; background: rgba(255, 255, 255, 0.07); }
.social-link svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; color: rgba(255, 255, 255, 0.42); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.58); text-decoration: none; margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }

.calendly-modal[hidden] { display: none; }
.calendly-modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 24px; }
.calendly-backdrop { position: absolute; inset: 0; background: rgba(8, 22, 16, 0.78); }
.calendly-panel { position: relative; z-index: 1; width: min(920px, 100%); height: min(760px, 90vh); overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-family: var(--serif); font-size: 1.3rem; }
.modal-head button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: transparent; cursor: pointer; }
.calendly-mount, .calendly-mount iframe { width: 100%; height: calc(100% - 69px); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .hero-grid, .two-col, .booking-grid, .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-visual { max-width: 620px; }
  .hero-note { left: 16px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-grid { grid-template-columns: repeat(2, 1fr); }
  .results-band .container { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process-row::before { display: none; }
  .module-row { grid-template-columns: 1fr; }
  .module-row:nth-child(even) { direction: ltr; }
  .module-media img { aspect-ratio: 1.6; }
  .process-stack { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 42px; }
  .blog-grid.featured-first, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .blog-card.featured .blog-card-media img { min-height: 300px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-stats { grid-template-columns: repeat(2, 1fr); }
  .audit-detail-bg { background-attachment: scroll; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, var(--max)); }
  .section { padding: 56px 0; }
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.35rem; }
  .hero { padding: 146px 0 72px; }
  .hero-bg video.hero-video-desktop { display: none; }
  .hero-bg video.hero-video-mobile { display: block; }
  .hero-bg picture, .hero-bg picture img { width: 100%; height: 100%; }
  .hero-bg picture img { object-fit: cover; object-position: center top; }
  .hero h1 { font-size: 3rem; }
  .hero-lede { font-size: 1.06rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .hero-visual .frame { border-radius: 120px 120px 8px 8px; }
  .hero-note { position: static; width: 100%; margin-top: -26px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 74px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .brand img { width: 172px; max-height: 36px; }
  .desktop-nav { display: none; }
  .results-band .container { grid-template-columns: 1fr 1fr; gap: 34px; padding-block: 44px; }
  .results-band strong { font-size: 2.4rem; }
  .marquee-group { gap: 36px; padding-right: 36px; }
  .marquee-logo { font-size: 1.3rem; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
  .pillar-card > span { margin-bottom: 14px; }
  .audit-grid { grid-template-columns: 1fr; }
  .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .process-row { grid-template-columns: 1fr; }
  .process-row article.process-mini { padding: 22px 20px; }
  .process-row article.process-mini::before { margin-bottom: 16px; }
  .process-stack { grid-template-columns: 1fr; }
  .module-row { padding: 24px; }
  .module-media img { aspect-ratio: 1.2; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid.featured-first { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .blog-card.featured .blog-card-body { padding: 26px; }
  .blog-card.featured h2 { font-size: 1.9rem; }
  .blog-card.featured .blog-card-media img { min-height: 0; aspect-ratio: 1.4; }
  .post-header { padding: 138px 0 38px; }
  .prose { padding-top: 38px; }
  .booking-grid { gap: 40px; }
  .form-shell { padding: 26px; }
  .cta-card { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-social { flex-direction: column; align-items: flex-start; }
  .two-col, .about-grid { gap: 38px; }
  .audit-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =====================================================================
   DineInGrowth V3.9 — "Chat" nav button + left-half chat drawer.
   ===================================================================== */
[data-dig-chat-open] { cursor: pointer; }

.nav-chat {
  color: var(--bronze-2);
}
.nav-chat:hover { color: #fff; }

.dig-chat {
  position: fixed;
  inset: 0;
  z-index: 999999;
  pointer-events: none;
  font-family: var(--sans);
}
.dig-chat.is-open { pointer-events: auto; }
.dig-chat [hidden] { display: none !important; }

.dig-chat-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 26, 48, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.dig-chat.is-open .dig-chat-backdrop { opacity: 1; }

.dig-chat-drawer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50vw;
  min-width: 360px;
  background: #ffffff;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.3s ease;
}
.dig-chat.is-open .dig-chat-drawer { transform: none; }

.dig-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--forest);
  color: #fff;
  padding: 16px 18px;
  flex: none;
}
.dig-chat-headicon {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bronze);
  color: #fff;
  flex: none;
}
.dig-chat-headicon svg { width: 20px; height: 20px; }
.dig-chat-head h2 { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.3; }
.dig-chat-statusline {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: #b9cbe0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dig-chat-statusline .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc97; }
.dig-chat-close {
  margin-left: auto;
  background: none; border: 0;
  color: #cfe0f2;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.dig-chat-close:hover { color: #fff; }

.dig-chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
}
.dig-chat-message {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.dig-chat-message p { margin: 0; }
.dig-chat-message.agent {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--ink);
}
.dig-chat-message.user {
  background: var(--bronze);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  margin-left: auto;
}

.dig-chat-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  flex: none;
}
.dig-chat-account strong { color: var(--ink); font-weight: 700; }
.dig-chat-account a { color: var(--bronze); font-weight: 700; }

.dig-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dig-chat-empty {
  padding: 26px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.dig-chat-note {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--sand);
  border-radius: 10px;
  padding: 10px 12px;
}
.dig-chat-note a { color: var(--bronze); }

.dig-chat-auth { display: flex; flex-direction: column; gap: 14px; }
.dig-chat-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dig-chat-tabs button {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.dig-chat-tabs button.is-active {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}

.dig-chat-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dig-chat-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}
.dig-chat-auth-form input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: 0.9rem;
  background: #f8fafc;
}
.dig-chat-auth-form input:focus {
  outline: none;
  border-color: var(--bronze);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 125, 244, 0.16);
}
.dig-chat-auth-form .btn { cursor: pointer; }
.dig-chat-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(242, 112, 74, 0.12);
  color: var(--terra);
  font-size: 0.82rem;
  font-weight: 600;
}
.dig-chat-auth-note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.dig-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  flex: none;
}
.dig-chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 0.9rem;
  min-width: 0;
}
.dig-chat-form input:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(47, 125, 244, 0.15);
}
.dig-chat-form button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 0;
  background: var(--bronze);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  flex: none;
  transition: background 0.15s ease;
}
.dig-chat-form button:hover { background: var(--bronze-2); }
.dig-chat-form button svg { width: 18px; height: 18px; }

.dig-chat-foot {
  padding: 8px 16px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  flex: none;
}
.dig-chat-foot a { color: var(--muted); text-decoration: underline; }

@media (max-width: 760px) {
  .dig-chat-drawer { width: 100%; min-width: 0; }
}
