/*
Theme Name: Web Design Orillia
Theme URI: http://webdesignorillia.local
Author: Web Design Orillia
Description: Custom local theme for Web Design Orillia.
Version: 1.0.0
Text Domain: webdesignorillia
*/

:root {
  --navy: #061f38;
  --navy-2: #08365f;
  --ink: #071a33;
  --muted: #536070;
  --line: #dbe4ee;
  --soft: #eef6ff;
  --orange: #ff5a14;
  --orange-2: #ff7a1a;
  --blue: #0f74c9;
  --cyan: #34c3ff;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(6, 31, 56, 0.12);
  --radius: 8px;
}

/* SEO content architecture and long-form page components */

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.breadcrumbs__inner {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
}

.breadcrumbs a {
  color: var(--blue);
  font-weight: 800;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-head--left .lead {
  margin-left: 0;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.35;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange);
}

.text-link--light {
  color: #fff;
}

.section-link {
  margin: 22px 0 0;
  text-align: center;
}

.service-link-grid .card,
.related-links .link-panel,
.resource-card {
  display: flex;
  flex-direction: column;
}

.service-link-grid .card .text-link,
.resource-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.split--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(6, 31, 56, 0.07);
}

.content-panel--accent {
  border-color: rgba(255, 90, 20, 0.5);
  box-shadow: 0 18px 38px rgba(255, 90, 20, 0.1);
}

.content-panel > :first-child {
  margin-top: 0;
}

.content-panel > :last-child {
  margin-bottom: 0;
}

.actions--center {
  justify-content: center;
}

.narrow-content {
  width: min(780px, 100%);
}

.center-content {
  margin-inline: auto;
  text-align: center;
}

.center-content .lead {
  margin-inline: auto;
}

.conversion-cta {
  padding: 64px 0;
}

.conversion-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.conversion-cta__inner .eyebrow {
  margin-bottom: 12px;
}

.conversion-cta__inner .lead {
  max-width: 780px;
  margin-top: 16px;
}

.conversion-cta__actions {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.link-panel {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 31, 56, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-panel:hover,
.link-panel:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(15, 116, 201, 0.38);
  box-shadow: 0 18px 38px rgba(6, 31, 56, 0.11);
}

.link-panel > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
}

.link-panel h3 {
  margin-top: 12px;
}

.link-panel p {
  margin: 10px 0 0;
  color: var(--muted);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 31, 56, 0.07);
}

.timeline-grid li {
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.timeline-grid li:last-child {
  border-right: 0;
}

.timeline-grid li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 950;
}

.timeline-grid h3 {
  font-size: 18px;
}

.timeline-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.check-list--neutral li::before {
  content: "•";
  color: var(--blue);
}

.form-optional {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.form-note a {
  color: var(--blue);
  text-decoration: underline;
}

.contact-panel__title {
  margin-bottom: 10px;
  font-size: 27px;
}

.contact-panel__title + p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.contact-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--orange);
  background: var(--soft);
}

.work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.work-card__body .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.work-card__label,
.resource-card__meta {
  margin: 0 0 8px !important;
  color: var(--orange) !important;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.resource-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 31, 56, 0.06);
}

.resource-card h3 {
  font-size: 22px;
}

.resource-card h3 a:hover,
.resource-card h3 a:focus-visible {
  color: var(--blue);
}

.resource-card p:not(.resource-card__meta) {
  color: var(--muted);
}

.empty-state {
  padding: 42px;
  border: 1px solid var(--line);
  text-align: center;
  background: var(--soft);
}

.article-hero {
  padding: 72px 0;
  color: #fff;
  background: var(--navy);
}

.article-hero h1,
.article-hero .lead {
  max-width: 900px;
  color: #fff;
}

.article-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.article-hero .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.article-meta {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  align-items: start;
}

.article-content {
  min-width: 0;
  font-size: 18px;
}

.article-content h2 {
  margin: 48px 0 16px;
  font-size: 34px;
}

.article-content h3 {
  margin: 30px 0 12px;
  font-size: 23px;
}

.article-content p,
.article-content ul,
.article-content ol {
  max-width: 74ch;
}

.article-content li + li {
  margin-top: 9px;
}

.article-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content .article-callout {
  margin: 32px 0;
  padding: 24px;
  border-left: 5px solid var(--orange);
  background: var(--soft);
}

.article-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 20px;
}

.sidebar-panel,
.sidebar-links {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 31, 56, 0.06);
}

.sidebar-panel h2,
.sidebar-links h2 {
  font-size: 22px;
}

.sidebar-panel .button {
  width: 100%;
  margin-top: 12px;
  padding-inline: 14px;
}

.sidebar-links {
  display: grid;
  gap: 0;
}

.sidebar-links h2 {
  margin-bottom: 10px;
}

.sidebar-links a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
}

.sidebar-links a:last-child {
  border-bottom: 0;
}

.case-study-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: start;
}

.project-facts {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(6, 31, 56, 0.07);
}

.project-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.project-facts div:last-child {
  border-bottom: 0;
}

.project-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  font-weight: 800;
}

.full-layout-figure {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.full-layout-figure--dark {
  background: #141414;
}

.full-layout-figure img {
  width: 100%;
}

.full-layout-figure figcaption {
  padding: 14px 4px 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.full-layout-figure--dark figcaption {
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  width: min(860px, calc(100% - 40px));
}

.legal-content h2 {
  margin: 44px 0 14px;
  font-size: 32px;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 21px;
}

.legal-content p,
.legal-content li {
  color: #334155;
  font-size: 17px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.legal-updated {
  padding: 14px 18px;
  border-left: 4px solid var(--orange);
  background: var(--soft);
}

.image-panel--brand {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 40px;
  background: var(--navy);
}

.image-panel--brand img {
  width: min(560px, 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.7fr 1fr;
  gap: 42px;
  padding-bottom: 34px;
}

.footer-brand p,
.footer-action p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-email {
  display: inline-block;
  margin-top: 6px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav h2,
.footer-action h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-action .button {
  margin-top: 8px;
  padding-inline: 16px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer-bottom > span:nth-child(2) {
  text-align: center;
}

.footer-bottom nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.footer-bottom a {
  font-size: 12px;
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 0.8fr);
  }

  .footer-action {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-action p {
    margin: 0;
  }
}

@media (max-width: 980px) {
  .conversion-cta__inner,
  .article-layout,
  .case-study-intro {
    grid-template-columns: 1fr;
  }

  .conversion-cta__actions {
    justify-items: start;
  }

  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-grid li:nth-child(2) {
    border-right: 0;
  }

  .timeline-grid li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-facts div {
    grid-template-columns: 1fr;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .project-facts div:last-child {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom > span:nth-child(2) {
    text-align: right;
  }

  .footer-bottom nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .breadcrumbs__inner {
    overflow: hidden;
    white-space: nowrap;
  }

  .breadcrumbs__inner span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .split--balanced,
  .resource-grid,
  .article-sidebar,
  .timeline-grid,
  .footer-grid,
  .project-facts {
    grid-template-columns: 1fr;
  }

  .timeline-grid li,
  .timeline-grid li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-grid li:last-child {
    border-bottom: 0;
  }

  .conversion-cta {
    padding: 52px 0;
  }

  .conversion-cta__actions,
  .conversion-cta__actions .button {
    width: 100%;
  }

  .article-hero {
    padding: 52px 0;
  }

  .article-content {
    font-size: 17px;
  }

  .article-content h2,
  .legal-content h2 {
    font-size: 28px;
  }

  .project-facts div {
    grid-template-columns: 105px 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .full-layout-figure {
    padding: 8px;
  }

  .footer-action {
    grid-column: auto;
    display: block;
    padding-top: 0;
    border-top: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom > span:nth-child(2) {
    text-align: left;
  }

  .footer-bottom nav {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

.topbar__inner {
  min-height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.topbar__tagline {
  text-align: center;
  font-weight: 700;
}

.topbar__email {
  justify-self: end;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand__image {
  width: 220px;
  max-width: 100%;
}

.brand__mark,
.mini-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 72% 18%, var(--orange) 0 8px, transparent 9px),
    linear-gradient(145deg, #08223d 0%, #00538f 100%);
  border: 1px solid rgba(4, 26, 48, 0.45);
  box-shadow: 0 10px 24px rgba(6, 31, 56, 0.18);
}

.brand__mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 24px;
}

.mini-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 13px;
}

.brand__text {
  display: grid;
  line-height: 1.05;
}

.brand__small {
  font-size: 15px;
  font-weight: 700;
}

.brand__large {
  font-size: 27px;
  font-weight: 900;
}

.site-footer .brand {
  width: fit-content;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: #fff;
}

.site-footer .brand__image {
  width: 190px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.nav-menu a {
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a,
.single-post .nav-menu a[href$="/resources/"] {
  color: var(--orange);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.header-cta,
.button--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 26px rgba(255, 90, 20, 0.28);
}

.button--secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button--dark {
  color: #fff;
  background: var(--navy);
}

.hero {
  overflow: hidden;
  padding: 26px 0 0;
  background:
    linear-gradient(90deg, rgba(238, 246, 255, 0.75) 0%, rgba(255,255,255,0) 38%),
    #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(500px, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 34px;
}

.hero__grid > *,
.split > *,
.contact-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 18px;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f3ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow--orange {
  color: var(--orange);
  background: transparent;
  padding: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 950;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 950;
}

h3 {
  font-size: 21px;
  font-weight: 900;
}

.accent {
  color: var(--orange);
}

.lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.feature-mini {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.icon-bubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: visible;
  color: #0868ad;
  border: 1px solid rgba(8, 104, 173, 0.13);
  border-radius: 15px;
  background: linear-gradient(145deg, #fff 0%, #e9f5ff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 9px 20px rgba(9, 75, 123, 0.11);
  transform: rotate(-2deg);
  transition: transform 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.icon-bubble::after {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  content: "";
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 3px 8px rgba(255, 91, 19, 0.28);
}

.icon-bubble svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bubble .icon-accent {
  color: var(--orange);
  stroke: currentColor;
}

.feature-mini:hover .icon-bubble {
  color: var(--navy);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 13px 26px rgba(9, 75, 123, 0.18);
  transform: translateY(-4px) rotate(1deg);
}

.feature-mini strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.feature-mini div > span,
.fine-print {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mockup-offer__actions {
  margin-top: 28px;
}

.hero__visual {
  position: relative;
  min-height: 470px;
}

.mockup-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px 16px 8px 8px;
  border: 1px solid rgba(6, 31, 56, 0.14);
  box-shadow: 0 26px 65px rgba(6, 31, 56, 0.16);
  background: #fff;
  transform: rotate(1deg);
  transition: transform 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.hero__visual:hover .mockup-card,
.hero__visual:focus-within .mockup-card {
  transform: rotate(0deg) translateY(-10px);
  box-shadow: 0 30px 70px rgba(6, 31, 56, 0.2);
}

.mockup-card img {
  width: 100%;
}

.mockup-site {
  min-height: 450px;
  padding: 0;
  background: #fff;
}

.mockup-site::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, transparent 42%, rgba(255,255,255,0.38) 50%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
}

.hero__visual:hover .mockup-site::after,
.hero__visual:focus-within .mockup-site::after {
  animation: mockup-shimmer 950ms ease;
}

.mockup-site__sparkle {
  position: absolute;
  z-index: 4;
  width: 12px;
  height: 12px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.4) rotate(45deg);
}

.mockup-site__sparkle::before,
.mockup-site__sparkle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(255, 122, 26, 0.9);
}

.mockup-site__sparkle::before {
  width: 12px;
  height: 3px;
}

.mockup-site__sparkle::after {
  width: 3px;
  height: 12px;
}

.mockup-site__sparkle--one {
  top: 72px;
  right: 115px;
}

.mockup-site__sparkle--two {
  top: 210px;
  left: 54%;
}

.mockup-site__sparkle--three {
  right: 38px;
  bottom: 86px;
}

.hero__visual:hover .mockup-site__sparkle,
.hero__visual:focus-within .mockup-site__sparkle {
  animation: sparkle-pop 900ms ease both;
}

.hero__visual:hover .mockup-site__sparkle--two,
.hero__visual:focus-within .mockup-site__sparkle--two {
  animation-delay: 120ms;
}

.hero__visual:hover .mockup-site__sparkle--three,
.hero__visual:focus-within .mockup-site__sparkle--three {
  animation-delay: 240ms;
}

.mockup-site__chrome {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 82px;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  color: #728094;
  border-bottom: 1px solid #e7edf3;
  background: #f5f7fa;
  font-size: 9px;
  font-weight: 800;
}

.mockup-site__chrome-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mockup-site__chrome-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6dde5;
}

.mockup-site__chrome-dots i:first-child {
  background: #ff795f;
}

.mockup-site__chrome-dots i:nth-child(2) {
  background: #ffc34d;
}

.mockup-site__chrome-dots i:last-child {
  background: #50c878;
}

.mockup-site__url {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
  width: min(210px, 100%);
  padding: 4px 10px;
  border: 1px solid #e3e9ef;
  border-radius: 5px;
  background: #fff;
  text-align: center;
}

.mockup-site__url i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #48a868;
  box-shadow: 0 0 0 2px rgba(72,168,104,0.14);
}

.mockup-site__preview-label {
  justify-self: end;
  color: #8b97a7;
  text-transform: uppercase;
}

.mockup-site__bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 58px;
  padding: 12px 22px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.mockup-site__bar .mini-mark {
  margin-right: auto;
}

.roof-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  color: var(--ink);
  font-weight: 950;
}

.roof-brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #fff;
  background:
    linear-gradient(135deg, transparent 43%, rgba(255,255,255,0.2) 43% 55%, transparent 55%),
    linear-gradient(145deg, #08223d, #0f74c9);
  box-shadow: 0 8px 18px rgba(6,31,56,0.2);
  font-size: 15px;
  font-weight: 950;
}

.mockup-site__hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 0;
  min-height: 268px;
  padding: 0;
  color: #fff;
  background: var(--navy);
}

.mockup-site__copy {
  position: relative;
  z-index: 2;
  padding: 30px 26px;
  background:
    radial-gradient(circle at 0 100%, rgba(15,116,201,0.2), transparent 42%),
    linear-gradient(140deg, #061f38, #082b4c);
}

.mockup-site__copy em {
  display: block;
  margin-bottom: 10px;
  color: #86d7ff;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mockup-site__hero strong {
  display: block;
  max-width: 330px;
  font-size: 28px;
  line-height: 1.12;
}

.mockup-site__hero p {
  margin: 14px 0 18px;
  color: rgba(255,255,255,0.82);
}

.mockup-site__copy > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.mockup-site__screen {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 268px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(6,31,56,0.26), transparent 34%),
    linear-gradient(180deg, transparent 58%, rgba(6,31,56,0.34) 100%),
    url("assets/images/mobile-roofing-hero.webp") center 50% / cover no-repeat;
}

.mockup-site__photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 6px;
  color: var(--navy);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 8px 20px rgba(6,31,56,0.2);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.mockup-site__photo-badge::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,90,20,0.14);
}

.mockup-site__rating {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 6px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 6px;
  color: var(--navy);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 22px rgba(6,31,56,0.18);
  line-height: 1;
}

.mockup-site__rating strong {
  font-size: 14px;
}

.mockup-site__rating span {
  color: var(--orange);
  font-size: 9px;
  letter-spacing: 1px;
}

.mockup-site__rating small {
  grid-column: 1 / -1;
  margin-top: 5px;
  color: #637083;
  font-size: 8px;
  font-weight: 800;
}

.mockup-site__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 72px;
  border-top: 1px solid var(--line);
}

.mockup-site__features span {
  display: grid;
  place-items: center;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 7px;
  padding: 12px 10px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.mockup-site__features span::before {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  content: "\2713";
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 10px;
  font-weight: 950;
}

.mockup-site__features span:last-child {
  border-right: 0;
}

.phone-card {
  position: absolute;
  right: -2px;
  bottom: 10px;
  width: min(198px, 33%);
  padding: 8px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  background: #06152a;
  box-shadow: 0 26px 58px rgba(6, 31, 56, 0.34);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.phone-card__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 4;
  width: 54px;
  height: 13px;
  border-radius: 0 0 9px 9px;
  background: #06152a;
  transform: translateX(-50%);
}

.hero__visual:hover .phone-card,
.hero__visual:focus-within .phone-card {
  transform: translateY(-8px) rotate(1deg);
  box-shadow: 0 32px 64px rgba(6, 31, 56, 0.32);
}

.phone-screen {
  min-height: 370px;
  overflow: hidden;
  padding: 0;
  border-radius: 22px;
  color: var(--ink);
  background: #fff;
}

.phone-screen__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 13px 12px 8px;
  background: #fff;
}

.phone-screen__nav .roof-brand__mark {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.phone-screen__menu {
  display: grid;
  gap: 3px;
}

.phone-screen__menu i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
}

.phone-screen__photo {
  position: relative;
  min-height: 112px;
  background:
    linear-gradient(180deg, transparent 50%, rgba(6,31,56,0.58)),
    url("assets/images/mobile-roofing-hero.webp") center 48% / cover no-repeat;
}

.phone-screen__photo > span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 7px;
  border-radius: 4px;
  color: var(--navy);
  background: rgba(255,255,255,0.94);
  font-size: 8px;
  font-weight: 900;
}

.phone-screen__body {
  padding: 15px 13px 14px;
}

.phone-screen__body em {
  color: var(--blue);
  font-style: normal;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.phone-screen__title {
  display: block;
  margin: 5px 0 7px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.08;
}

.phone-screen__body p {
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.phone-screen__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 5px;
  color: #fff;
  background: var(--orange);
  font-size: 10px;
  font-weight: 950;
}

.phone-screen__proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 11px;
}

.phone-screen__proof span {
  position: relative;
  padding-left: 10px;
  color: var(--navy);
  font-size: 7px;
  font-weight: 850;
}

.phone-screen__proof span::before {
  position: absolute;
  left: 0;
  content: "\2713";
  color: var(--orange);
}

@keyframes mockup-shimmer {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes sparkle-pop {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(45deg);
  }

  35% {
    opacity: 1;
    transform: scale(1) rotate(45deg);
  }

  100% {
    opacity: 0;
    transform: scale(1.4) rotate(45deg);
  }
}

.stats-band {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 0;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.28);
  box-shadow: var(--shadow);
}

.stat {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 24px 26px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  transition: background 220ms ease;
}

.stat__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.2), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.07));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 10px 20px rgba(2, 20, 39, 0.2);
  transform: rotate(-3deg);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.stat__icon::after {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid var(--navy-2);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 2px 8px rgba(255, 91, 19, 0.45);
}

.stat__icon svg {
  display: block;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat__icon .icon-accent {
  color: #ff8a4c;
  stroke: currentColor;
}

.stat__icon .icon-soft {
  color: #7dc8ff;
  stroke: currentColor;
}

.stat:hover {
  background: linear-gradient(145deg, #07375f, #0a4c7e);
}

.stat:hover .stat__icon {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.24), transparent 35%),
    linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.08));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 14px 26px rgba(2, 20, 39, 0.28);
  transform: translateY(-4px) rotate(1deg);
}

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.stat > div > span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.2;
}

.section {
  padding: 78px 0;
}

.process-section {
  padding-top: 42px;
}

.section--soft {
  background: #f7fbff;
}

.section--dark {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(6,31,56,0.96), rgba(8,54,95,0.96)),
    var(--navy);
}

.section--dark h2,
.section--dark h3,
.section--dark .lead {
  color: #fff;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head .lead {
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card,
.step-card,
.price-card,
.work-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 31, 56, 0.06);
}

.card,
.step-card,
.work-card {
  padding: 28px;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue);
  background: #e8f3ff;
  font-size: 27px;
}

.card p,
.step-card p,
.work-card p,
.price-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.steps {
  counter-reset: steps;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px 16px;
  align-items: start;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.step-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 16%, rgba(0, 115, 204, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(232, 244, 255, 0.36), transparent 48%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.step-card > * {
  position: relative;
  z-index: 1;
}

.step-card > div {
  grid-column: 1 / -1;
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--navy);
  background: #e3f1ff;
  font-weight: 950;
  font-size: 20px;
}

.step-icon {
  display: grid;
  justify-self: center;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(0, 115, 204, 0.16);
  border-radius: 24px;
  color: var(--blue);
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,0.95), transparent 36%),
    linear-gradient(145deg, #f4fbff, #e6f4ff);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 18px 36px rgba(9, 75, 123, 0.12);
}

.step-icon svg {
  display: block;
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon .icon-accent {
  color: var(--orange);
  stroke: currentColor;
}

.step-icon .icon-soft {
  color: #7dc8ff;
  stroke: currentColor;
}

.step-card:hover,
.step-card:focus-within {
  border-color: rgba(0, 115, 204, 0.24);
  box-shadow: 0 18px 42px rgba(6, 31, 56, 0.12);
  transform: translateY(-3px);
}

.step-card:hover::before,
.step-card:focus-within::before {
  opacity: 1;
}

.step-card:hover .step-icon,
.step-card:focus-within .step-icon {
  color: #075c9d;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 20px 40px rgba(9, 75, 123, 0.18);
}

.pricing {
  align-items: stretch;
}

.pricing--three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pricing--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 940px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  padding: 36px;
}

.pricing--three .price-card,
.pricing--two .price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 28px;
}

.price-card--featured {
  border-color: rgba(255, 90, 20, 0.45);
  box-shadow: 0 18px 42px rgba(255, 90, 20, 0.12);
}

.pricing--three .price-card--featured,
.pricing--two .price-card--featured {
  transform: translateY(-10px);
  border-width: 2px;
  box-shadow: 0 24px 58px rgba(255, 90, 20, 0.16);
}

.badge {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 18px 0 20px;
  color: var(--ink);
  font-weight: 950;
}

.price__currency {
  align-self: flex-start;
  margin-top: 10px;
  font-size: 24px;
}

.price__amount {
  font-size: clamp(48px, 6vw, 70px);
  line-height: 0.9;
}

.price__term {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
}

.pricing--three .price__term,
.pricing--two .price__term {
  max-width: 96px;
  font-size: 16px;
  line-height: 1.15;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
}

.check-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 950;
}

.pricing--three .check-list,
.pricing--two .check-list {
  align-content: start;
  flex: 1;
  margin-bottom: 0;
}

.pricing-footer {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: center;
}

.faq-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.faq-accordion {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(191, 211, 230, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 32px rgba(6, 31, 56, 0.07);
}

.faq-item__heading {
  margin: 0;
}

.faq-item__button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 22px 24px;
  border: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}

.faq-item__button:hover,
.faq-item__button:focus-visible {
  color: var(--navy);
  background: #f8fbff;
  outline: none;
}

.faq-item__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f3ff;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item__button[aria-expanded="true"] .faq-item__icon {
  background: var(--orange);
}

.faq-item__button[aria-expanded="true"] .faq-item__icon::before,
.faq-item__button[aria-expanded="true"] .faq-item__icon::after {
  background: #fff;
}

.faq-item__button[aria-expanded="true"] .faq-item__icon::after {
  transform: rotate(0deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}

.faq-item__answer {
  padding: 0 24px 24px;
}

.faq-item__answer p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.deliverables-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.deliverable-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(6, 31, 56, 0.06);
}

.deliverable-item--wide {
  grid-column: 1 / -1;
}

.deliverable-item__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,0.24), transparent 34%),
    linear-gradient(145deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 24px rgba(255, 90, 20, 0.22);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.deliverable-item h3 {
  font-size: 19px;
}

.deliverable-item p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.work-card--interactive {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.work-card--interactive:hover,
.work-card--interactive:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 94, 184, 0.3);
  box-shadow: 0 18px 42px rgba(6, 31, 56, 0.14);
}

.work-card__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.work-card__trigger:focus-visible {
  outline: 3px solid rgba(255, 90, 20, 0.5);
  outline-offset: -3px;
}

.work-card__image {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(6,31,56,0.9), rgba(5,83,143,0.9)),
    linear-gradient(90deg, #e8f3ff, #fff);
}

.work-card__image--photo {
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  background: #eef6ff;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__image--photo img {
  transition: transform 220ms ease;
}

.work-card--interactive:hover .work-card__image--photo img,
.work-card--interactive:focus-within .work-card__image--photo img {
  transform: scale(1.035);
}

.work-card__view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 24px rgba(255, 90, 20, 0.26);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}

.work-card__body {
  padding: 24px;
}

.work-modal[hidden] {
  display: none;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.work-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 31, 56, 0.76);
  backdrop-filter: blur(7px);
}

.work-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(220, 231, 242, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 14, 28, 0.32);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.work-modal.is-open .work-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.work-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.work-modal__header .eyebrow {
  margin: 0 0 6px;
  color: var(--orange);
  background: transparent;
  padding: 0;
}

.work-modal__header h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.work-modal__close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: #f7fbff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.work-modal__close:hover,
.work-modal__close:focus-visible {
  color: #fff;
  background: var(--orange);
  outline: none;
}

.work-modal__body {
  overflow: auto;
  padding: 18px;
  background: #f3f8fd;
}

.work-modal__body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(6, 31, 56, 0.14);
}

body.has-open-modal {
  overflow: hidden;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f3ff;
  font-size: 12px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 50px;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.faq {
  max-width: 850px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 70px 0;
  background:
    linear-gradient(115deg, rgba(6,31,56,0.99) 0%, rgba(6,31,56,0.96) 48%, rgba(8,54,95,0.9) 100%),
    var(--navy);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 48px;
  right: 70px;
  z-index: -2;
  width: min(42vw, 620px);
  height: 280px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0 46px, transparent 46px),
    linear-gradient(90deg, rgba(52,195,255,0.18) 1px, transparent 1px) 0 46px / 72px 72px,
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px) 0 46px / 72px 72px,
    linear-gradient(145deg, rgba(52,195,255,0.14), rgba(255,255,255,0.03));
  box-shadow: 0 28px 70px rgba(0,0,0,0.16);
  opacity: 0.64;
  transform: rotate(-3deg);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 92px;
  right: 20px;
  z-index: -1;
  width: min(32vw, 430px);
  height: 220px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.13) 0 38px, transparent 38px),
    radial-gradient(circle at 32px 19px, rgba(255,255,255,0.45) 0 3px, transparent 4px),
    radial-gradient(circle at 48px 19px, rgba(255,255,255,0.32) 0 3px, transparent 4px),
    radial-gradient(circle at 64px 19px, rgba(255,255,255,0.24) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 0 34%, transparent 34% 39%, rgba(52,195,255,0.16) 39% 100%),
    linear-gradient(145deg, rgba(255,255,255,0.07), rgba(52,195,255,0.08));
  box-shadow: 0 24px 56px rgba(0,0,0,0.16);
  opacity: 0.54;
  transform: rotate(4deg);
  pointer-events: none;
}

.page-hero h1,
.page-hero .lead {
  color: #fff;
}

.page-hero .eyebrow {
  background: rgba(255,255,255,0.14);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.page-hero .container {
  position: relative;
}

.page-hero .container::after {
  content: "";
  position: absolute;
  top: 78px;
  right: 90px;
  z-index: -1;
  width: 210px;
  height: 92px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.26) 0 34%, transparent 34% 40%, rgba(255,255,255,0.16) 40% 100%),
    linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  opacity: 0.38;
  transform: rotate(-8deg);
}

.page-hero .container::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 10px;
  width: 5px;
  height: calc(100% - 20px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
}

.page-hero .lead {
  color: rgba(255,255,255,0.88);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: 34px;
  align-items: start;
}

.contact-panel {
  padding: 30px;
}

.contact-panel label {
  color: var(--ink);
}

.contact-panel .button {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.honeypot {
  display: none;
}

.notice {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-weight: 800;
}

.notice--success {
  color: #0f5132;
  background: #d1e7dd;
}

.notice--error {
  color: #842029;
  background: #f8d7da;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255,255,255,0.82);
  background: var(--navy);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 54px minmax(0, 430px);
  align-items: stretch;
  width: min(484px, calc(100vw - 18px));
  transform: translate(calc(100% - 54px), -50%);
  transition: transform 260ms ease;
  filter: drop-shadow(0 24px 42px rgba(6, 31, 56, 0.22));
}

.floating-contact.is-open {
  transform: translate(0, -50%);
}

.floating-contact__tab {
  display: grid;
  place-items: center;
  min-height: 174px;
  border: 0;
  border-radius: 8px 0 0 8px;
  color: #fff;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  box-shadow: -12px 0 26px rgba(255, 90, 20, 0.18);
}

.floating-contact__tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.floating-contact__panel {
  max-height: min(780px, calc(100vh - 32px));
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
}

.floating-contact__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.floating-contact__head .eyebrow {
  margin-bottom: 8px;
}

.floating-contact__head h2 {
  font-size: 24px;
}

.floating-contact__intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.floating-contact__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.floating-contact .form-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.floating-contact textarea {
  min-height: 110px;
}

.floating-contact input,
.floating-contact textarea {
  min-height: 44px;
}

.floating-contact .button {
  width: 100%;
}

@media (max-width: 980px) {
  .topbar__inner,
  .hero__grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    display: flex;
    justify-content: space-between;
    min-height: 36px;
    padding: 5px 0;
    text-align: left;
  }

  .topbar__email {
    justify-self: auto;
  }

  .topbar__tagline {
    display: none;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 12px;
    min-height: 72px;
    padding: 10px 0;
  }

  .brand__image {
    width: 190px;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.is-menu-open .main-nav {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding-top: 8px;
    overflow: visible;
    border-top: 1px solid var(--line);
  }

  .nav-menu li + li {
    border-top: 1px solid #edf2f7;
  }

  .nav-menu a {
    display: block;
    padding: 10px 4px;
  }

  .header-cta {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header.is-menu-open .header-cta {
    display: inline-flex;
  }

  .hero__visual {
    min-height: auto;
  }

  .mockup-card {
    transform: none;
  }

  .stats-band,
  .pricing--three,
  .pricing--two,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .pricing--three .price-card--featured,
  .pricing--two .price-card--featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand__image {
    width: 166px;
  }

  .brand__large {
    font-size: 22px;
  }

  .topbar__inner {
    justify-content: center;
    min-height: 32px;
    padding: 3px 0;
  }

  .topbar__inner > span {
    display: none;
  }

  .topbar__email {
    font-size: 12px;
  }

  .site-header__inner {
    min-height: 68px;
    padding: 8px 0;
  }

  .site-header.is-menu-open .site-header__inner {
    padding-bottom: 12px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero__grid {
    gap: 30px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  h1 {
    max-width: 12ch;
    font-size: 36px;
    line-height: 1.12;
  }

  .lead {
    max-width: 32ch;
    font-size: 18px;
  }

  .hero__features {
    gap: 16px;
    margin: 24px 0;
  }

  .actions {
    align-items: stretch;
    width: 100%;
  }

  .actions .button {
    width: 100%;
  }

  .feature-mini {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .feature-mini div {
    max-width: 28ch;
  }

  .feature-mini div > span {
    overflow-wrap: anywhere;
  }

  .mockup-site {
    min-height: 0;
    border-radius: var(--radius);
  }

  .mockup-site__chrome {
    display: none;
  }

  .mockup-site__bar {
    min-height: 48px;
    padding: 8px 14px;
  }

  .mockup-site__bar > span:not(.roof-brand) {
    display: none;
  }

  .roof-brand {
    font-size: 12px;
  }

  .roof-brand__mark {
    width: 30px;
    height: 30px;
  }

  .hero__features,
  .deliverables-grid,
  .work-grid,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .deliverable-item--wide {
    grid-column: auto;
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
    margin-bottom: 0;
  }

  .hero__visual {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 4px 0 12px;
  }

  .hero__visual .mockup-card {
    display: none;
  }

  .phone-card {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(260px, 75vw);
    margin: 0 auto;
    padding: 10px;
    border-radius: 36px;
    transform: none;
  }

  .hero__visual:hover .phone-card,
  .hero__visual:focus-within .phone-card {
    transform: none;
  }

  .phone-card__notch {
    top: 10px;
    width: 62px;
    height: 15px;
  }

  .phone-screen {
    min-height: 0;
    border-radius: 26px;
  }

  .phone-screen__nav {
    min-height: 58px;
    padding: 16px 15px 9px;
  }

  .phone-screen__nav .roof-brand__mark {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .phone-screen__photo {
    min-height: 160px;
  }

  .phone-screen__photo > span {
    left: 12px;
    bottom: 12px;
    padding: 6px 8px;
    font-size: 9px;
  }

  .phone-screen__body {
    padding: 18px 16px 17px;
  }

  .phone-screen__body em {
    font-size: 9px;
  }

  .phone-screen__title {
    margin-top: 6px;
    font-size: 22px;
  }

  .phone-screen__body p {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .phone-screen__cta {
    min-height: 42px;
    font-size: 11px;
  }

  .phone-screen__proof {
    margin-top: 14px;
  }

  .phone-screen__proof span {
    font-size: 9px;
  }

  .mockup-site__hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .mockup-site__copy {
    order: 2;
    padding: 24px 20px 26px;
  }

  .mockup-site__hero strong {
    font-size: 25px;
  }

  .mockup-site__hero p {
    margin: 12px 0 16px;
  }

  .mockup-site__screen {
    order: 1;
    min-height: 195px;
    border: 0;
    border-radius: 0;
    background:
      linear-gradient(180deg, transparent 52%, rgba(6,31,56,0.56) 100%),
      url("assets/images/mobile-roofing-hero.webp") center 48% / cover no-repeat;
  }

  .mockup-site__photo-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 6px;
    color: var(--navy);
    background: rgba(255,255,255,0.94);
    box-shadow: 0 8px 20px rgba(6,31,56,0.2);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  .mockup-site__photo-badge::before {
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(255,90,20,0.14);
  }

  .mockup-site__rating {
    display: none;
  }

  .mockup-site__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .mockup-site__features span {
    grid-template-columns: 16px minmax(0, 1fr);
    min-height: 58px;
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .mockup-site__features span::before {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .mockup-site__features span:nth-child(2n) {
    border-right: 0;
  }

  .mockup-site__features span:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .stat {
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: center;
    justify-items: center;
    min-height: 146px;
    padding: 16px 10px;
    text-align: center;
  }

  .stat__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .stat__icon svg {
    width: 34px;
    height: 34px;
  }

  .stat strong {
    font-size: 21px;
  }

  .stat > div > span {
    font-size: 12px;
  }

  .section {
    padding: 58px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .section-head .lead {
    font-size: 17px;
  }

  .card,
  .step-card,
  .contact-panel {
    padding: 22px;
  }

  .process-section {
    padding-top: 58px;
  }

  .page-hero {
    padding: 46px 0;
  }

  .page-hero::before {
    top: 26px;
    right: -82px;
    width: 250px;
    height: 210px;
    opacity: 0.3;
  }

  .page-hero::after,
  .page-hero .container::after {
    display: none;
  }

  .page-hero .container {
    padding-left: 18px;
  }

  .page-hero .container::before {
    left: 0;
    top: 4px;
    height: calc(100% - 8px);
  }

  .price-card {
    padding: 30px 22px;
  }

  .pricing--three,
  .pricing--two {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pricing--three .price-card,
  .pricing--two .price-card {
    padding: 30px 22px;
  }

  .pricing--three .price__term,
  .pricing--two .price__term {
    max-width: none;
  }

  .faq-accordion {
    gap: 12px;
  }

  .faq-item__button {
    grid-template-columns: minmax(0, 1fr) 38px;
    min-height: 68px;
    padding: 18px;
    font-size: 17px;
  }

  .faq-item__icon {
    width: 38px;
    height: 38px;
  }

  .faq-item__answer {
    padding: 0 18px 20px;
  }

  .faq-item__answer p {
    font-size: 16px;
  }

  .work-card__image--photo {
    aspect-ratio: 4 / 3;
  }

  .work-card__view {
    right: 12px;
    bottom: 12px;
  }

  .work-modal {
    align-items: stretch;
    padding: 10px;
  }

  .work-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 8px;
  }

  .work-modal__header {
    padding: 14px;
  }

  .work-modal__header h2 {
    font-size: 20px;
  }

  .work-modal__close {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .work-modal__body {
    padding: 10px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-contact {
    top: auto;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    width: min(calc(100vw - 36px), 430px);
    transform: translateY(calc(100% - 52px));
  }

  .floating-contact.is-open {
    transform: translateY(0);
  }

  .floating-contact__tab {
    justify-self: end;
    width: 156px;
    min-height: 52px;
    border-radius: 8px 8px 0 0;
  }

  .floating-contact__tab span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .floating-contact__panel {
    max-height: calc(100dvh - 82px);
    padding: 20px;
    border-right: 1px solid var(--line);
    border-radius: 8px 0 8px 8px;
  }
}

/* Keep modifier rules after the legacy component declarations. */
.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-head--left .lead {
  margin-left: 0;
}

.split.split--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.container.narrow-content {
  width: min(780px, calc(100% - 40px));
}

.container.legal-content {
  width: min(860px, calc(100% - 40px));
}

.resource-card h2,
.resource-card h3 {
  font-size: 22px;
}

.image-panel.image-panel--brand {
  border-color: #cad9e8;
  background: #fff;
}

.check-list.check-list--neutral li::before {
  content: "•";
  color: var(--blue);
}

@media (max-width: 980px) {
  .split.split--balanced {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container.narrow-content,
  .container.legal-content {
    width: min(100% - 34px, 780px);
  }
}

/* Page-specific inner hero visuals. */
.page-hero--visual {
  min-height: 568px;
  padding: 0;
  background: var(--navy);
}

.page-hero--visual::before,
.page-hero--visual::after,
.page-hero--visual .container::before,
.page-hero--visual .container::after {
  display: none;
}

.page-hero--visual .page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: 70px;
  padding: 64px 0;
}

.page-hero--visual .page-hero__copy {
  position: relative;
  max-width: 650px;
  padding-left: 28px;
}

.page-hero--visual .page-hero__copy::before {
  content: "";
  position: absolute;
  inset: 4px auto 4px 0;
  width: 5px;
  border-radius: 999px;
  background: var(--orange);
}

.page-hero--visual h1 {
  max-width: 650px;
  font-size: clamp(43px, 3.75vw, 62px);
  line-height: 1.08;
}

.page-hero--visual .lead {
  max-width: 650px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.62;
}

.page-hero__visual {
  position: relative;
  min-width: 0;
  height: 420px;
}

.hero-showcase__label {
  position: absolute;
  top: 8px;
  right: 14px;
  z-index: 5;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-concept {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.36);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(0,0,0,0.32);
  transition: transform 240ms ease, filter 240ms ease;
}

.hero-concept img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-concept--back-left {
  top: 0;
  left: 0;
  width: 54%;
  height: 226px;
  filter: saturate(0.86) brightness(0.82);
  transform: rotate(-4deg) translateY(20px);
}

.hero-concept--back-right {
  right: 0;
  bottom: 0;
  width: 51%;
  height: 214px;
  filter: saturate(0.82) brightness(0.78);
  transform: rotate(4deg) translateY(-14px);
}

.hero-concept--primary {
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 78%;
  height: 330px;
  transform: translate(-50%, -50%) rotate(1.4deg);
}

.hero-showcase:hover .hero-concept--primary,
.hero-showcase:focus-within .hero-concept--primary {
  transform: translate(-50%, -53%);
}

.hero-showcase:hover .hero-concept--back-left,
.hero-showcase:focus-within .hero-concept--back-left {
  transform: rotate(-6deg) translate(-8px, 12px);
}

.hero-showcase:hover .hero-concept--back-right,
.hero-showcase:focus-within .hero-concept--back-right {
  transform: rotate(6deg) translate(8px, -8px);
}

.hero-concept:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.hero-concept__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-size: 12px;
  font-weight: 900;
}

.hero-concept__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange);
}

.hero-browser {
  position: absolute;
  top: 36px;
  right: 2px;
  overflow: hidden;
  width: 82%;
  height: 342px;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,0.34);
  transform: rotate(1deg);
}

.hero-browser::before {
  content: "";
  display: block;
  height: 28px;
  border-bottom: 1px solid var(--line);
  background: #f5f8fb;
}

.hero-browser::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b5f;
  box-shadow: 14px 0 #ffc94d, 28px 0 #55c96a;
}

.hero-browser img {
  display: block;
  width: 100%;
  height: calc(100% - 28px);
  object-fit: cover;
}

.hero-services__list {
  position: absolute;
  left: 0;
  bottom: 12px;
  z-index: 3;
  width: 260px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 22px 45px rgba(0,0,0,0.25);
}

.hero-services__list strong {
  display: block;
  margin-bottom: 11px;
  font-size: 15px;
}

.hero-services__list span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 800;
}

.hero-services__list span::before {
  content: "\2713";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
}

.hero-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  padding: 26px 0 18px;
}

.hero-pricing--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-plan {
  min-height: 300px;
  padding: 24px 18px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255,255,255,0.97);
  box-shadow: 0 24px 50px rgba(0,0,0,0.23);
}

.hero-plan--featured {
  min-height: 346px;
  border: 2px solid var(--orange);
}

.hero-plan__badge {
  display: inline-block;
  margin: -38px 0 17px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-plan h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 17px;
}

.hero-plan__price {
  margin: 16px 0;
  color: var(--ink);
  font-size: 29px;
  font-weight: 900;
}

.hero-plan__price small {
  color: var(--muted);
  font-size: 11px;
}

.hero-plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-plan li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.hero-plan li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.hero-about__board {
  position: absolute;
  inset: 32px 0 24px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 65px rgba(0,0,0,0.3);
}

.hero-about__board::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 55px solid #e8f4fd;
  border-radius: 50%;
}

.hero-about__board img {
  position: relative;
  z-index: 1;
  width: 250px;
  height: auto;
}

.hero-about__local {
  position: relative;
  z-index: 1;
  display: table;
  margin: 18px 0 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--navy);
  background: #e8f4fd;
  font-size: 12px;
  font-weight: 900;
}

.hero-about__values {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}

.hero-about__values > div {
  min-height: 116px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.hero-about__values b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
}

.hero-about__values strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.hero-resources {
  padding: 36px 4px 20px 30px;
}

.hero-guide {
  position: absolute;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  width: 82%;
  min-height: 124px;
  padding: 18px 24px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 50px rgba(0,0,0,0.28);
  transition: transform 180ms ease;
}

.hero-guide:nth-child(1) {
  top: 36px;
  left: 30px;
  z-index: 3;
}

.hero-guide:nth-child(2) {
  top: 142px;
  left: 76px;
  z-index: 2;
}

.hero-guide:nth-child(3) {
  top: 248px;
  left: 122px;
  z-index: 1;
}

.hero-guide:hover,
.hero-guide:focus-visible {
  transform: translateX(-8px);
}

.hero-guide:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.hero-guide__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy-2);
  font-size: 26px;
  font-weight: 900;
}

.hero-guide:nth-child(2) .hero-guide__icon {
  background: var(--orange);
}

.hero-guide:nth-child(3) .hero-guide__icon {
  background: #1378bd;
}

.hero-guide small {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-guide strong {
  display: block;
  margin-top: 7px;
  font-size: 17px;
  line-height: 1.3;
}

.hero-contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  height: 390px;
  margin-top: 15px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0,0,0,0.3);
}

.hero-contact__form {
  padding: 22px 24px;
}

.hero-contact-form h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 18px;
}

.hero-contact-form > label,
.hero-contact-form__row label {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
}

.hero-contact-form label span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hero-contact-form label small {
  color: var(--muted);
  font-weight: 600;
}

.hero-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-contact-form input,
.hero-contact-form textarea {
  min-height: 39px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.hero-contact-form textarea {
  min-height: 62px;
  resize: none;
}

.hero-contact-form .button {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
}

.hero-contact-form .notice {
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 11px;
}

.hero-contact__steps {
  padding: 25px 22px;
  color: #fff;
  background: var(--navy-2);
}

.hero-contact__steps > small {
  color: #8bd8ff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-contact__steps h2 {
  margin: 8px 0 20px;
  color: #fff;
  font-size: 19px;
}

.hero-contact__steps > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.4;
}

.hero-contact__steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
}

@media (max-width: 1120px) {
  .page-hero--visual .page-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
    gap: 44px;
  }

  .page-hero--visual h1 {
    font-size: 48px;
  }
}

@media (max-width: 980px) {
  .page-hero--visual {
    min-height: 0;
    padding: 0;
  }

  .page-hero--visual .page-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0 42px;
  }

  .page-hero--visual .page-hero__copy {
    max-width: 720px;
    padding-left: 20px;
  }

  .page-hero--visual h1 {
    max-width: 720px;
    font-size: 44px;
  }

  .page-hero--visual .lead {
    max-width: 720px;
    font-size: 18px;
  }

  .page-hero__visual {
    height: 300px;
  }

  .page-hero--work .page-hero__visual {
    height: 270px;
  }

  .hero-concept--back-left,
  .hero-concept--back-right {
    display: none;
  }

  .hero-concept--primary {
    top: 0;
    left: 0;
    width: 100%;
    height: 245px;
    transform: none;
  }

  .hero-showcase:hover .hero-concept--primary,
  .hero-showcase:focus-within .hero-concept--primary {
    transform: none;
  }

  .hero-showcase__label {
    top: auto;
    right: auto;
    bottom: 0;
    left: 12px;
  }

  .hero-browser {
    top: 8px;
    right: 0;
    width: 94%;
    height: 250px;
  }

  .hero-services__list {
    bottom: 0;
    width: 220px;
    padding: 12px;
  }

  .hero-services__list strong {
    margin-bottom: 6px;
  }

  .hero-services__list span {
    padding: 4px 0;
    font-size: 11px;
  }

  .page-hero--pricing .page-hero__visual {
    height: 370px;
    overflow-y: hidden;
  }

  .hero-pricing {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 8px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .hero-plan {
    min-width: 230px;
    min-height: 280px;
    scroll-snap-align: center;
  }

  .hero-plan--featured {
    min-height: 315px;
  }

  .hero-about__board {
    inset: 0;
    padding: 24px;
  }

  .hero-about__board img {
    width: 220px;
  }

  .hero-about__values {
    gap: 7px;
  }

  .hero-about__values > div {
    min-height: 105px;
    padding: 12px 9px;
  }

  .hero-guide {
    width: 88%;
    min-height: 96px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    padding: 14px 16px;
  }

  .hero-guide:nth-child(1) {
    top: 0;
    left: 0;
  }

  .hero-guide:nth-child(2) {
    top: 88px;
    left: 24px;
  }

  .hero-guide:nth-child(3) {
    top: 176px;
    left: 48px;
  }

  .hero-guide__icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .hero-guide strong {
    font-size: 15px;
  }

  .page-hero--contact .page-hero__visual {
    height: 385px;
  }

  .hero-contact {
    grid-template-columns: 1fr;
    height: 370px;
    margin-top: 0;
  }

  .hero-contact__steps {
    display: none;
  }
}

@media (max-width: 680px) {
  .page-hero--visual .page-hero__grid {
    padding: 38px 0 40px;
  }

  .page-hero--visual .page-hero__copy {
    padding-left: 18px;
  }

  .page-hero--visual h1 {
    font-size: 37px;
  }

  .page-hero--visual .lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.55;
  }

  .page-hero--work .page-hero__visual {
    height: 240px;
  }

  .hero-concept--primary {
    height: 215px;
  }

  .hero-concept__badge {
    left: 12px;
    bottom: 12px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .hero-about__board {
    padding: 20px;
  }

  .hero-about__values strong {
    font-size: 11px;
  }

  .page-hero--contact .page-hero__visual {
    height: 445px;
  }

  .hero-contact {
    height: 430px;
  }

  .hero-contact__form {
    padding: 20px;
  }

  .hero-contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-contact-form input,
  .hero-contact-form textarea {
    min-height: 38px;
  }

  .hero-contact-form textarea {
    min-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-concept,
  .hero-guide {
    transition: none;
  }
}
