/* simplidivine.com: static port of the WordPress (the7 microsite) home page, 2026-11-02.
   Colours, type and spacing read from the live page's computed styles. */

:root {
  --accent: #7e1e1b;
  --hot: #e13d3a;
  --hot-light: #ff6f6b; /* the accent red, lightened, for small text over the photos (WCAG AA) */
  --cta: #c8302c;       /* call-to-action red: white text on it is 5.4:1 */
  --cta-hover: #a52622;
  --mobile-bar-h: 64px;
  --heading: #333539;
  --text: #787d85;
  --page: #f8f8f9;
  --footer: #18191b;
  --frame: rgba(255, 255, 255, 0.3);
  --container: 1150px;
  --gutter: 20px;
  --header-h: 136px;
  --header-scrolled-h: 66px;
  --font-body: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
  --font-head: Roboto, Helvetica, Arial, Verdana, sans-serif;
  --font-display: Oswald, "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-scrolled-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 15px/28px var(--font-body);
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--heading); }
p { margin: 0; }
strong { font-weight: 700; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 10px; top: -60px; z-index: 1000;
  padding: 8px 14px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 3px;
}
.skip-link:focus { top: 10px; }
#content:focus { outline: none; }

/* Keyboard focus that can be seen on every link, button and field. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--hot);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.header-inner {
  position: relative;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 36px var(--gutter) 0;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  transition: height .25s ease, padding .25s ease;
}
.brand { display: block; line-height: 0; flex: none; }
.brand .logo { width: 100px; height: 100px; transition: width .25s ease, height .25s ease; }

.menu-panel { display: flex; align-items: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav li { margin-left: 44px; }
.main-nav li:first-child { margin-left: 0; }
.main-nav a {
  position: relative; display: block; padding: 4px 0;
  font: 700 16px/20px var(--font-head);
  color: #fff; text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform .25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.is-active::after { transform: scaleX(1); }
/* The desktop menu stays on one line: no item breaks inside itself, and from 992 to 1199 px (the full-size menu
   needs about 1,000 px beside the logo) the gaps and type are tighter. 1200 px and up are unchanged. */
@media (min-width: 992px) {
  .main-nav a { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .main-nav li { margin-left: 24px; }
  .main-nav a { font-size: 14px; }
}

.social { position: absolute; top: 5px; right: var(--gutter); display: flex; gap: 4px; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.25); color: #fff;
  transition: background-color .2s ease;
}
.social a:hover, .social a:focus-visible { background: var(--accent); }
.social svg { width: 14px; height: 14px; fill: currentColor; }

.menu-toggle, .menu-close { display: none; }

.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); }
.site-header.is-scrolled .header-inner { height: var(--header-scrolled-h); padding-top: 0; }
.site-header.is-scrolled .brand .logo { width: 60px; height: 60px; }
.site-header.is-scrolled .main-nav a { color: var(--heading); }
.site-header.is-scrolled .main-nav a::after { background: var(--accent); }
.site-header.is-scrolled .social { display: none; }

/* ---------- Shared section parts ---------- */

.section-light { background: #fff; position: relative; }
.section-head { max-width: 855px; margin: 0 auto; }
#benefits .section-head, #pricing .section-head { max-width: 757px; }
.section-head.center { text-align: center; }
.section-head h2, .framed h2 { font-size: 34px; line-height: 44px; margin-bottom: 15px; }
.heading-line { width: 200px; max-width: 100%; height: 3px; background: var(--accent); margin: 0 0 35px; }
.center .heading-line { margin-left: auto; margin-right: auto; }
.section-intro { font-size: 20px; line-height: 32px; color: var(--heading); }

.section-photo {
  position: relative;
  padding: 205px 25px 170px;
  background-color: #000;
  color: #fff;
}

/* The section photos: a cover-fit <picture> behind the content (WebP srcset, JPEG fallback). The black overlay
   that keeps the text readable is drawn into the image files by assets/build-images.js. Cover-cropping into a
   tall box shows a photo wider than the screen (a phone row is ~2,000-2,900 px wide), so the `sizes` in
   index.html give the covered width, not 100vw: the hero 1200px below 1280, the rows 1920px. */
.section-bg { position: absolute; inset: 0; z-index: 0; display: block; overflow: hidden; pointer-events: none; }
.section-bg img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center center; }
/* Each crop is anchored on its subject, so faces stay in view from phones (side crop) to wide, short screens
   (top/bottom crop). Subject boxes and checks: e2e/tests/photo-crop.spec.js. */
#up > .section-bg img { object-position: 41% 25%; }           /* the man's head */
#company > .section-bg img { object-position: 82% 30%; }      /* the smiling woman on the right */
#consultation > .section-bg img { object-position: 60% 15%; } /* the man in the centre */
#contact > .section-bg img { object-position: 60% 30%; }      /* the standing woman */
.section-photo .container { position: relative; z-index: 1; max-width: calc(1130px + 2 * var(--gutter)); }
.section-photo h2 { color: #fff; }
.section-lead { font-size: 20px; line-height: 32px; color: #fff; margin-bottom: 25px; }
.section-text { color: #fff; margin-bottom: 35px; }

/* Diagonal white edges ("tilt left" separators on the live rows). */
.sep { position: absolute; left: 0; right: 0; height: 100px; background: #fff; pointer-events: none; z-index: 0; }
.sep-top { top: -1px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.sep-bottom { bottom: -1px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }

.framed {
  display: grid;
  border: 9px double var(--frame);
  padding: 60px 25px 10px;
}
.framed-2-1 { grid-template-columns: 2fr 1fr; }
.framed-1-1 { grid-template-columns: 1fr 1fr; }
.framed-1-1-1 { grid-template-columns: 1fr 1fr 1fr; }
.framed-col { padding: 0 25px 50px; min-width: 0; }

.icon-circle {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
}
.icon-circle svg { width: 24px; height: 24px; fill: currentColor; }
.icon-circle.small { width: 36px; height: 36px; }
.icon-circle.small svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 165px 0 130px;
  background: #000;
  color: #fff;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; min-height: 500px; }
.hero-title { margin: 0; color: #fff; font-family: var(--font-display); font-size: 154px; line-height: 160px; white-space: nowrap; }
.hero-title .simpli { font-weight: 700; color: #fff; }
.hero-title .divine { font-weight: 300; color: var(--hot); margin-left: -8px; }
.hero-tagline { font: 300 40px/48px var(--font-display); color: #fff; margin-left: 6px; }
.hero-words { list-style: none; margin: 16px 0 0 8px; padding: 0; font: 400 35px/45px var(--font-head); color: #fff; }
.hero-actions {
  position: absolute; right: 14px; top: 290px;
  width: 320px;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-call {
  position: relative;
  width: 100%; height: 155px;
  border: 3px solid #fff;
  background: rgba(0, 0, 0, 0.5); /* a darker plate under the small text, for contrast */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.hero-phone {
  display: inline-flex; align-items: center; gap: 11px;
  font: 400 28px/38px var(--font-display); color: #fff; text-decoration: none;
}
.hero-phone img { width: 32px; height: 32px; }
.hero-phone:hover span, .hero-phone:focus-visible span { text-decoration: underline; }
.hero-call-text { margin-top: 12px; width: 280px; font: 500 17px/26px var(--font-head); color: #fff; }
.hot { color: var(--hot); }
.hero-call .hot { color: var(--hot-light); }
.hero-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 18px;
  font: 700 20px/1.2 var(--font-head); color: #fff; text-align: center; text-decoration: none;
  background: var(--cta); border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: background-color .2s ease;
}
.hero-cta:hover, .hero-cta:focus-visible { background: var(--cta-hover); }

/* Entrance animation, after the live Slider Revolution timeline (slide in from the right, then fade down). */
.reveal { display: inline-block; overflow: hidden; vertical-align: top; }
.reveal > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .reveal:first-child > span { animation: sd-slide-in 1.7s cubic-bezier(.215, .61, .355, 1) .9s both; }
  .hero-tagline .reveal > span { animation: sd-slide-in 1.95s cubic-bezier(.215, .61, .355, 1) 1.4s both; }
  .hero-title .reveal:last-child > span { animation: sd-slide-in 1s cubic-bezier(.215, .61, .355, 1) 2.5s both; }
  .hero-words, .hero-actions { animation: sd-drop-in 1s ease-in-out 2.6s both; }
}
@keyframes sd-slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes sd-drop-in { from { opacity: 0; transform: translateY(-32px); } to { opacity: 1; transform: none; } }

/* ---------- Services ---------- */

#services { padding: 100px 0 15px; }
#services .section-head { padding-bottom: 115px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
.service { display: grid; grid-template-columns: 167fr 363fr; column-gap: 30px; align-items: start; padding-bottom: 50px; }
.service:nth-last-child(-n+2) { padding-bottom: 0; }
.service picture { display: block; }
.service img { display: block; width: 100%; max-width: 300px; border-radius: 50%; margin-bottom: 95px; }
.service h2 { font-size: 20px; line-height: 30px; margin-bottom: 10px; }
.service p { font-size: 15px; line-height: 26px; margin-bottom: 20px; }
.video { position: relative; margin-bottom: 35px; }
.video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
/* Click-to-play poster: YouTube's player is added by site.js only when the visitor clicks. */
.video-play { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-play picture, .video-play img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.video-play-icon { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); }
.video-play-icon svg { display: block; width: 100%; height: 100%; }
.video-play-bg { fill: var(--accent); fill-opacity: .9; transition: fill .2s ease, fill-opacity .2s ease; }
.video-play:hover .video-play-bg, .video-play:focus-visible .video-play-bg { fill: var(--hot); fill-opacity: 1; }

/* ---------- Why choose us ---------- */

#company .section-text { font-size: 15px; line-height: 28px; }
.counters { padding-top: 3px; }
.counter { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 45px; }
.counter:last-child { padding-bottom: 0; }
.counter-desc { color: #fff; }
.counter-value { white-space: nowrap; }
.counter-number { font: 700 40px/50px var(--font-body); color: #fff; }
.counter-suffix { font: 700 30px/40px var(--font-body); color: #fff; }
.counter-title { font-size: 20px; line-height: 30px; color: #fff; }

/* ---------- Why we are different ---------- */

#benefits { padding: 100px 0 5px; }
#benefits .section-head { padding-bottom: 105px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 30px; }
.benefit { padding-bottom: 70px; }
.benefit-num { font: 700 100px/110px var(--font-head); color: rgba(173, 176, 182, 0.18); margin-bottom: 15px; }
.benefit h3 { font-size: 20px; line-height: 30px; margin-bottom: 15px; }
.benefit p { font-size: 15px; line-height: 26px; }

/* ---------- Free consultation ---------- */

.form-col { padding-top: 15px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%;
  margin: 0 0 10px; padding: 5px 15px;
  font: 400 14px/26px var(--font-body); color: #333;
  background: #fdfdfd;
  border: 1px solid rgba(51, 51, 51, 0.11); border-radius: 2px;
}
.contact-form input { height: 40px; }
.contact-form textarea { height: 116px; resize: vertical; }
.contact-form ::placeholder { color: #8b8d94; opacity: 1; }
.contact-form .field-label { display: block; margin: 0 0 4px; font: 600 13px/18px var(--font-body); color: #fff; letter-spacing: .2px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--hot); outline-offset: 0; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .hp-field input { width: 1px; height: 1px; padding: 0; margin: 0; border: 0; }
.form-actions { margin: 0; }
.btn {
  display: inline-flex; align-items: center;
  padding: 12px 18px 11px;
  font: 700 14px/16px var(--font-head); color: #fff;
  background: var(--accent); border: 0; border-radius: 3px; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: #64110f; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 15px; padding: 10px 15px; border-radius: 3px; font-size: 14px; line-height: 22px; color: #fff; }
.form-status.ok { background: rgba(37, 120, 60, 0.92); }
.form-status.err { background: rgba(126, 30, 27, 0.95); }
/* A field's own error, under it (tied with aria-describedby). */
.field-error { margin: -4px 0 12px; padding: 4px 10px; border-radius: 2px; font: 600 13px/19px var(--font-body); color: #fff; background: rgba(126, 30, 27, 0.95); }
.contact-form [aria-invalid="true"] { border-color: var(--hot); box-shadow: 0 0 0 1px var(--hot); }
/* After a successful send the form gives way to this note. */
.form-thanks { padding: 22px 24px; border-radius: 3px; background: rgba(37, 120, 60, 0.92); color: #fff; font-size: 17px; line-height: 28px; }
.form-thanks:focus { outline: none; }
.form-thanks a { color: #fff; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- Pricing ---------- */

#pricing { padding: 100px 0 90px; }
#pricing .section-head { padding-bottom: 60px; }

/* Two cards: the Business Booster program leads, the Payroll Plus add-on beside it. Equal heights. */
.pricing-cards { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border-radius: 6px; overflow: hidden; text-align: left; }
.price-card-main { border-top: 3px solid var(--accent); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.price-card-addon { border: 1px solid #e2e2e2; }

.price-card-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 16px; padding: 28px 30px 24px; }
.price-card-heading { flex: 1 1 0; min-width: 0; }
.price-card h3 { font-size: 24px; line-height: 30px; color: var(--heading); }
.price-line { display: flex; align-items: baseline; margin-top: 12px; color: var(--heading); white-space: nowrap; }
.price-currency { align-self: flex-start; margin: 6px 2px 0 0; font: 700 22px/1 var(--font-head); }
.price-amount { font: 700 56px/1 var(--font-head); letter-spacing: -1px; }
.price-period { margin-left: 8px; font: 400 16px/1 var(--font-body); color: #555; }
.price-badge {
  flex: none; display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font: 700 12px/16px var(--font-body); letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
}

.price-card-head-addon { flex-wrap: nowrap; align-items: center; justify-content: flex-start; }
.price-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
}
.price-icon svg { width: 30px; height: 26px; fill: currentColor; }
.price-subheading { margin-top: 6px; font: 700 13px/18px var(--font-body); letter-spacing: 1.2px; text-transform: uppercase; color: #666; }

.price-card-body { flex: 1; padding: 24px 30px; }
.price-card-main .price-card-body { background: #f7f7f7; }
.price-caption { margin: 0 0 12px; font: 700 12px/16px var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; color: #666; }
.price-features { list-style: none; margin: 0; padding: 0; font: 400 15px/1.5 var(--font-body); color: #222; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.price-check { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: var(--accent); }
.price-extra { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #e2e2e2; font: 400 14px/1.5 var(--font-body); color: #444; }
.price-plus { flex: none; width: 16px; height: 16px; margin: 3px 2px 0; color: var(--accent); }

.price-tiers { margin: 0; }
.price-tier { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e6e6e6; }
.price-tier:last-child { border-bottom: 0; }
.price-tier dt { min-width: 0; font: 400 15px/1.4 var(--font-body); color: #222; }
.price-tier dd { margin: 0; text-align: right; white-space: nowrap; font: 700 15px/1.4 var(--font-body); color: #222; font-variant-numeric: tabular-nums; }

.price-foot { padding: 24px 30px 28px; }
.price-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font: 700 16px/1.2 var(--font-body); color: #fff; text-decoration: none; text-align: center;
  background: var(--accent); border: 2px solid var(--accent); border-radius: 4px;
  transition: background-color .2s ease, color .2s ease;
}
.price-btn:hover, .price-btn:focus-visible { background: #64110f; border-color: #64110f; }
.price-btn-outline { background: #fff; color: var(--accent); }
.price-btn-outline:hover, .price-btn-outline:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }

/* The card surcharge notice, under both cards and centred on them (2026-11-05). */
.pricing-note { max-width: 757px; margin: 40px auto 0; text-align: center; font: 400 16px/1.6 var(--font-body); color: var(--heading); }

/* ---------- Get in touch ---------- */

#contact { padding: 205px 25px 90px; }
#contact h2 { font-size: 36px; line-height: 46px; }
.framed-col.contact-col { padding-top: 35px; padding-bottom: 36px; }
.contact-box { text-align: center; min-height: 190px; }
.contact-box:last-child { min-height: 0; }
.contact-box h3 { margin: 25px 0 15px; font: 700 14px/14px var(--font-head); color: #fff; }
.contact-box .icon-circle { margin-top: 0; }
.contact-text { color: #fff; }
/* White link text with the accent red as a heavy underline: the red alone is too faint over the photo. */
.contact-text a { color: #fff; text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-text a:hover, .contact-text a:focus-visible { text-decoration-color: #fff; }
.contact-phone { font-size: 20px; line-height: 34px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--footer); color: #fff; font-size: 13px; line-height: 25px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; padding-top: 17px; padding-bottom: 18px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; }

/* Four columns: brand, quick links, contact, follow; the copyright row below. */
.footer-grid {
  display: grid; grid-template-columns: 1.25fr 1fr 1.2fr 1fr; gap: 30px 40px;
  padding-top: 60px; padding-bottom: 45px;
  font-size: 14px; line-height: 24px; color: rgba(255, 255, 255, 0.82);
}
.footer-col { min-width: 0; }
.footer-logo { display: inline-block; line-height: 0; padding: 10px; border-radius: 50%; background: #fff; }
.footer-logo img { width: 64px; height: 64px; }
.footer-tagline { margin-top: 14px; max-width: 250px; }
.footer-heading { margin: 0 0 14px; font: 700 14px/20px var(--font-head); color: #fff; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: 4px; }
.footer-grid a { color: #fff; text-decoration: none; }
.footer-grid a:hover, .footer-grid a:focus-visible { text-decoration: underline; }
.footer-contact address { font-style: normal; }
.footer-contact p { margin-top: 8px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  transition: background-color .2s ease;
}
.footer-social a:hover, .footer-social a:focus-visible { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }

/* ---------- Phone bar (under 768 px): Call and Start free, always at hand ---------- */

.mobile-bar { display: none; }

/* ---------- 404 ---------- */

.page-404 { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.page-404 main { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px var(--gutter); }
.page-404 h1 { font-size: 34px; line-height: 44px; margin-bottom: 15px; }
.page-404 .logo { width: 100px; height: 100px; margin: 0 auto 20px; display: block; }
.page-404 p { margin-bottom: 25px; color: var(--heading); font-size: 17px; }
.page-404 .btn { text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1239px) {
  .hero-title { font-size: min(154px, 12vw); line-height: 1.04; }
  .hero-title .divine { margin-left: -0.05em; }
}

@media (max-width: 1023px) {
  .hero { padding: 120px 0 140px; }
  .hero-inner { min-height: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-main { display: flex; flex-direction: column; align-items: center; }
  .hero-title { font-size: clamp(56px, 13vw, 100px); line-height: 1.09; }
  .hero-tagline { margin: 4px 0 0; font-size: clamp(18px, 4.3vw, 33px); line-height: 1.6; }
  .hero-words { display: none; }
  .hero-actions { position: static; margin-top: 18px; width: clamp(215px, 58vw, 387px); }
  .hero-call { height: auto; padding: 12px 10px 10px; }
  .hero-cta { font-size: clamp(16px, 3.6vw, 22px); }
  .hero-phone { font-size: clamp(22px, 5.2vw, 40px); line-height: 1.3; gap: 8px; }
  .hero-phone img { width: clamp(24px, 5vw, 38px); height: auto; }
  .hero-call-text { width: auto; margin-top: 6px; font-size: clamp(12px, 2.9vw, 22px); line-height: 1.4; }
}

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  :root { --header-h: 100px; --header-scrolled-h: 100px; }
  html { scroll-padding-top: 100px; }
  .header-inner { padding-top: 0; }
  .site-header.is-scrolled .header-inner { height: 100px; }
  .site-header.is-scrolled .brand .logo { width: 100px; height: 100px; }

  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; margin-right: 0;
    background: none; border: 0; color: #fff; cursor: pointer;
  }
  .site-header.is-scrolled .menu-toggle { color: var(--heading); }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 24px; height: 3px; background: currentColor; border-radius: 1px; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -8px; }
  .menu-bars::after { top: 8px; }

  .menu-panel {
    display: none;
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(280px, 85vw);
    padding: 45px 28px 30px 30px;
    overflow-y: auto;
    background: #fff;
    flex-direction: column; align-items: stretch;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }
  .site-header.menu-open .menu-panel { display: flex; }
  .menu-close {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 15px; right: 13px;
    width: 30px; height: 30px; padding: 0;
    background: var(--accent); color: #fff; border: 0; cursor: pointer;
  }
  .menu-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.4; fill: none; }
  .main-nav ul { display: block; }
  .main-nav li { margin: 0; border-bottom: 1px solid rgba(51, 53, 57, 0.12); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a, .site-header.is-scrolled .main-nav a { padding: 15px 0; color: var(--heading); }
  .main-nav a::after { display: none; }
  .main-nav a:hover, .main-nav a.is-active,
  .site-header.is-scrolled .main-nav a:hover, .site-header.is-scrolled .main-nav a.is-active { color: var(--accent); }
  .social, .site-header.is-scrolled .social { position: static; display: flex; margin-top: 30px; }
  .social a { background: rgba(51, 53, 57, 0.08); color: #9a9da3; }
  .social a:hover, .social a:focus-visible { background: var(--accent); color: #fff; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(0, 0, 0, 0.5); }
  .menu-backdrop[hidden] { display: none; }
  body.menu-is-open { overflow: hidden; }
}

@media (max-width: 777px) {
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-last-child(-n+2) { grid-template-columns: 1fr; padding-bottom: 60px; }
  .service:last-child { padding-bottom: 35px; }
  .service img { width: calc(50% - 15px); margin-bottom: 50px; }
  .framed-col.contact-col { padding-top: 0; padding-bottom: 0; }
  .contact-box { min-height: 0; padding-bottom: 35px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { padding-bottom: 50px; }
  #benefits .section-head { padding-bottom: 70px; }
  .section-photo, #contact { padding: 150px 0 140px; }
  #contact { padding-bottom: 60px; }
  #services, #benefits, #pricing { padding-top: 65px; }
  .framed, .framed-2-1, .framed-1-1, .framed-1-1-1 { grid-template-columns: 1fr; padding: 40px 15px 10px; }
  .framed-col { padding: 0 5px 35px; }
  .counters { padding-bottom: 40px; }
  .form-col { padding-top: 0; }
  .section-text br, .benefit p br { display: none; }
  #pricing .section-head { padding-bottom: 60px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 45px; padding-bottom: 35px; text-align: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
}

@media (max-width: 767px) {
  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px)); }
  .page-404 { padding-bottom: 0; }
  .mobile-bar {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    height: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(24, 25, 27, 0.97);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  }
  .mobile-bar a {
    flex: 1 1 0; min-width: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; padding: 0 8px;
    font: 700 16px/1.2 var(--font-head); color: #fff; text-decoration: none; white-space: nowrap;
  }
  .mobile-bar-call { border: 2px solid #fff; }
  .mobile-bar-start { background: var(--cta); }
  .mobile-bar-start:hover, .mobile-bar-start:focus-visible { background: var(--cta-hover); }

  /* Pricing: the cards stack, main first; buttons fill the card. */
  #pricing .section-head { padding-bottom: 40px; }
  .pricing-cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .price-card-head, .price-card-body { padding-left: 22px; padding-right: 22px; }
  .price-foot { padding: 22px 22px 24px; }
  .price-btn { display: flex; width: 100%; }
}

@media (max-width: 479px) {
  /* The FIRST MONTH FREE badge flows under the price line. */
  .price-card-heading { flex-basis: 100%; }
  .price-card h3 { font-size: 22px; line-height: 28px; }
  .price-amount { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
