/* The marketing pages: a photo hero with a drawing, services in groups, the shared bands, and the quote form. */

/* Hero: the East Texas sunrise under a deep green wash, text on the left and a drawing on the right. */
.mk-hero { position: relative; color: #fff; background: var(--forest-deep) url('/brand/dawn-strip.webp') center 40% / cover no-repeat; overflow: hidden; }
.mk-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 42, 25, .95) 0%, rgba(6, 42, 25, .86) 55%, rgba(6, 42, 25, .6) 100%); }
.mk-hero-row { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding-block: 46px 52px; }
.mk-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.mk-hero .eyebrow { color: var(--amber); }
.mk-hero .crumb, .mk-hero .crumb a { color: #cfd9c8; }
.mk-lede { font-size: 1.16rem; line-height: 1.55; color: #e7ecdf; margin: 0 0 22px; max-width: 60ch; }
.mk-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust .icon { width: 18px; height: 18px; color: var(--amber); stroke-width: 2.6; }
.hero-art { width: 100%; max-width: 460px; justify-self: end; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }

/* A service page's hero: its icon in rings instead of the drawing. */
.svc-badge { justify-self: center; display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 54px rgba(255, 255, 255, .03); }

/* Service icons on rounded tiles, colored by group. */
.svc-icon { display: inline-grid; place-items: center; flex: none; border-radius: 16px; }
.svc-icon-small { width: 54px; height: 54px; }
.svc-icon-small .icon { width: 30px; height: 30px; }
.svc-icon-large { width: 132px; height: 132px; border-radius: 36px; box-shadow: 0 16px 34px rgba(0, 0, 0, .3); }
.svc-icon-large .icon { width: 76px; height: 76px; stroke-width: 1.5; }
.group-found { background: #dbe6d3; color: var(--forest); }
.group-reach { background: #fde7bd; color: #8a4f06; }
.group-keep { background: #f6dcd2; color: var(--brick); }

/* The services, in groups of cards. */
.mk-services { padding-top: 44px; }
.mk-services > h2, .mk-band > h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 6px; }
.mk-sub { color: var(--muted); font-size: 1.08rem; margin: 0 0 26px; }
.svc-group { margin-bottom: 30px; scroll-margin-top: 20px; }
.svc-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 3px solid var(--line); }
.svc-group-head h3 { margin: 0; font-size: 1.5rem; }
.svc-group-head p { margin: 0; color: var(--muted); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.svc-card {
  display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; border-radius: 14px; background: var(--card);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(11, 59, 36, .12); border-color: #c9d6c0; }
.svc-card strong { font: 700 1.45rem/1.1 'Barlow Condensed', sans-serif; color: var(--forest); margin-top: 4px; }
.svc-card > span:not(.svc-icon) { color: #3d4a40; line-height: 1.45; }
.svc-card .svc-more { margin-top: auto; font-weight: 700; color: var(--forest); }

/* Bands shared by the hub and the service pages. */
.mk-band { margin: 44px 0 0; padding: 34px clamp(18px, 4vw, 40px); border-radius: 18px; }
.how { background: var(--forest); color: #e7ecdf; }
.how > h2 { color: #fff; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 22px; }
.steps h3 { color: #fff; font-size: 1.35rem; margin: 12px 0 6px; }
.steps p { margin: 0; line-height: 1.5; }
.step-icon { position: relative; display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--amber); }
.step-icon .icon { width: 30px; height: 30px; }
.step-icon b { position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: var(--forest-deep); font-size: .85rem; display: grid; place-items: center; }
.why { background: #f3ecdb; }
.reasons { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 20px; }
.reasons h3 { font-size: 1.3rem; margin: 10px 0 4px; }
.reasons p { margin: 0; color: #3d4a40; line-height: 1.5; }
.reason-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; color: var(--forest); }

/* The quote form at the foot of the hub, with a short pitch beside it. */
.mk-quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; margin: 44px 0 40px; }
.mk-quote-side { position: sticky; top: 20px; padding-top: 8px; }
.mk-quote-side h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.mk-quote-side p { font-size: 1.08rem; line-height: 1.55; color: #3d4a40; }
.mk-quote-side .trust { flex-direction: column; color: var(--forest); }
.mk-quote-side .trust .icon { color: #2f7a3b; }

/* A service page: the content beside its quote form. */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 34px; align-items: start; margin-bottom: 10px; }
.service-layout article { min-width: 0; }
.service-layout aside { position: sticky; top: 16px; margin-top: 36px; }
.svc-section { margin-top: 36px; }
.svc-section h2 { font-size: 1.9rem; margin-bottom: 14px; }
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 10px; }
.included li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); line-height: 1.4; }
.included .icon { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: #dbe6d3; color: var(--forest); stroke-width: 2.6; }
.good-for { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.good-for li { display: flex; gap: 10px; align-items: center; font-size: 1.05rem; }
.good-for .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fde7bd; color: #8a4f06; }
.service-layout .how { margin-top: 36px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--forest); }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: 0; padding: 0 16px 16px; line-height: 1.55; color: #3d4a40; }

@media (max-width: 860px) {
  .mk-hero-row { grid-template-columns: minmax(0, 1fr); padding-block: 30px 36px; }
  .hero-art { justify-self: center; max-width: 340px; }
  .svc-badge { display: none; }
  .mk-quote, .service-layout { grid-template-columns: minmax(0, 1fr); }
  .mk-quote-side, .service-layout aside { position: static; }
}

/* The quote form. */
.quote-form { scroll-margin-top: 16px; }
.quote-form fieldset { border: 0; padding: 0; margin: 0; }
.quote-form legend { font-weight: 700; margin-bottom: 8px; }
.service-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 7px; }
.service-picks .pick span { height: 100%; display: flex; align-items: center; justify-content: center; }

/* Paid ads platforms: asked on the form only once Paid ads is ticked. Browsers without :has() always show them. */
.quote-form .ad-platforms { padding: 12px; background: #f6f1e4; border-radius: 8px; }
.quote-form .ad-platforms legend { float: left; width: 100%; margin-bottom: 8px; }
.quote-form .ad-platforms legend small { display: inline; font-weight: 500; }
.quote-form .ad-platforms .service-picks { clear: both; }
@supports selector(:has(a)) {
  .quote-form .ad-platforms { display: none; }
  .quote-form:has(input[name="services"][value="paid-ads"]:checked) .ad-platforms { display: block; }
}
.ad-platform-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ad-platform-list li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--sage); color: var(--forest); font-weight: 700; font-size: .92rem; }

/* Phones: each service card becomes a compact row, icon beside the text, so the list stays short. */
@media (max-width: 560px) {
  .svc-grid { gap: 8px; }
  .svc-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px; align-items: start; }
  .svc-card .svc-icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 13px; }
  .svc-card .svc-icon .icon { width: 26px; height: 26px; }
  .svc-card strong { margin: 0; font-size: 1.25rem; }
  .svc-card > span:not(.svc-icon) { font-size: .93rem; }
  .svc-card .svc-more { display: none; }
}
