:root {
  --primary: #ff0000;
  --accent: #ffff00;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --surface: #ffffff;
  --bg: #fafafa;
  --line: #e9e9e9;
  --radius: 14px;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  --max: 1120px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section .container {
  text-align: center;
}

.section p,
.section .lead {
  max-width: 760px;
  margin-inline: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: 76px;
  max-width: 300px;
  transform: scale(2);
  transform-origin: left center;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
}

.main-nav a {
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
  font-size: 0.95rem;
  white-space: nowrap;
}

.main-nav a:hover {
  border-color: var(--primary);
}

.desktop-nav-link {
  display: inline-flex;
}

.desktop-cta {
  display: none;
}

.hamburger-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

.hamburger-btn span {
  width: 18px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.menu-open .hamburger-btn span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.site-header.menu-open .hamburger-btn span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
}

.mobile-nav {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 0 1rem;
}

.mobile-nav a {
  text-align: center;
  font-weight: 700;
  padding: 0.45rem 0.6rem;
  border: 1px solid #ececec;
  border-radius: 10px;
}

.mobile-nav .btn {
  width: 100%;
  border-radius: 999px;
  border: 0;
}

.site-header.menu-open .mobile-drawer {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.btn-cta {
  background: var(--primary);
  color: #fff;
}

.nav-wrap .btn {
  min-height: 38px;
  padding: 0.53rem 0.62rem;
  font-size: 0.74rem;
  white-space: nowrap;
}

.hero-link {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hero-section {
  border-top: 0;
  padding-top: 3rem;
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.hero-copy {
  max-width: 820px;
  margin-inline: auto;
}

.kicker {
  display: inline-block;
  background: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0.2rem 0 0.75rem;
  font-family: Poppins, sans-serif;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.hero-emphasis {
  display: inline-block;
  color: var(--primary);
  border: 0;
  border-radius: 0;
  padding: 0.08em 0.34em;
  margin-right: 0.12em;
  line-height: 1.08;
  background: #fff;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.12);
  animation: heroPunchIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroPunchIn {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.88);
  }
  65% {
    opacity: 1;
    transform: translateY(0) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

h2 {
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.07rem;
  color: #222;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0;
  justify-content: center;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 1rem auto 0;
  list-style: none;
  color: var(--muted);
  justify-content: center;
}

.hero-visual {
  margin: 1rem auto 0;
}

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-inline: auto;
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
}

.hero-visual figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.45rem;
}

.problem-list,
.usp-grid,
.services-grid,
.testimonial-grid,
.metric-grid {
  display: grid;
  gap: 1rem;
}

.problem-list .card,
.problem-list .card h3,
.problem-list .card p {
  text-align: center;
}

.usp-grid .card,
.usp-grid .card h3,
.usp-grid .card p {
  text-align: center;
}

.services-grid .card,
.services-grid .card h3,
.services-grid .card p {
  text-align: center;
}

.testimonial-intro {
  margin-bottom: 1rem;
}

.testimonial-marquee {
  display: grid;
  gap: 0.9rem;
}

.testimonial-row {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  width: max-content;
  will-change: transform;
}

.row-right .testimonial-track {
  animation: quoteRight 42s linear infinite;
}

.row-left .testimonial-track {
  animation: quoteLeft 42s linear infinite;
}

.quote-card {
  width: min(86vw, 300px);
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 1rem 0.95rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  text-align: left;
  flex: 0 0 auto;
}

.quote-stars {
  color: #d4af37;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.quote-card p {
  margin: 0 0 0.65rem;
  max-width: none;
  color: #2a2a2a;
  font-size: 0.92rem;
  line-height: 1.45;
}

.quote-card h3 {
  margin: 0;
  font-size: 0.9rem;
  color: #5c5c5c;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
}

@keyframes quoteRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes quoteLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.card,
.testimonial-card,
.metric {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  text-align: left;
}

.card p,
.testimonial-card p {
  margin: 0;
  color: #2b2b2b;
  max-width: none;
}

.split-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.split-panel > div {
  text-align: center;
}

.split-panel img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-inline: auto;
}

#solution .split-panel {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 840px;
  margin-inline: auto;
}

#solution .split-panel > div {
  max-width: 760px;
  text-align: center;
}

#solution .split-panel img {
  width: min(100%, 540px);
  height: auto;
  object-fit: contain;
  margin: 0.9rem auto 0;
}

#solution .split-panel .btn {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  #solution .split-panel img {
    margin-top: 0.75rem;
  }

  #solution .split-panel .btn {
    margin-top: 0.85rem;
  }
}

.coverage {
  margin: 1rem auto 1.2rem;
}

.metric {
  text-align: center;
}

.metric strong {
  display: block;
  color: var(--primary);
  font-size: 1.25rem;
}

.metric span {
  color: var(--muted);
}

.about-owner {
  margin: 1rem auto 1.2rem;
  width: min(100%, 340px);
}

.about-owner img {
  width: 100%;
  height: clamp(220px, 38vw, 300px);
  object-fit: cover;
  object-position: center 88%;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  padding: 0;
  margin: 1.1rem auto 0;
  list-style: none;
  max-width: 980px;
}

.process-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 0.9rem 1rem;
  position: relative;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.process-no {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.02rem;
}

.process-step p {
  margin: 0;
  max-width: none;
  color: #2f2f2f;
  font-size: 0.94rem;
  line-height: 1.45;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.85rem;
  transform: translateX(-50%);
  width: 2px;
  height: 0.85rem;
  background: #ffd6d6;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1rem;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffd6d6;
  border-bottom: 2px solid #ffd6d6;
  background: #fff;
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #ffd0d0;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.faq-q {
  width: 100%;
  text-align: center;
  padding: 1rem 2.7rem 1rem 1.1rem;
  border: 0;
  background: #fff;
  font: 600 1rem/1.35 "Source Sans 3", sans-serif;
  cursor: pointer;
  display: block;
  position: relative;
}

.faq-q::after {
  content: "+";
  font: 700 1.2rem/1 Poppins, sans-serif;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem;
  text-align: center;
  color: #444;
}

.faq-item.is-open .faq-q::after {
  content: "−";
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a p {
  padding: 0 1rem 1rem;
  margin: 0;
  color: #333;
  max-width: none;
  text-align: center;
}

.cta-highlight {
  background: #fff;
  border: 2px solid #ffd3d3;
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.site-footer {
  background: #101010;
  color: #f3f3f3;
  padding: 2rem 0 6rem;
}

.footer-grid {
  display: grid;
  gap: 1.1rem;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.footer-logo {
  display: block;
  width: auto;
  height: 42px;
  max-width: 250px;
  margin: 0 auto 0.55rem;
  object-fit: contain;
  transform: scale(4);
  transform-origin: center;
}

.footer-link {
  color: var(--accent);
  font-weight: 700;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.sticky-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 54;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
}

.sticky-cta-bar p {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.scroll-popup {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(6.4rem + env(safe-area-inset-bottom));
  z-index: 56;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.85rem 0.9rem;
  display: none;
  text-align: left;
}

.scroll-popup h3 {
  font-size: 1rem;
  margin-top: 0;
}

.scroll-popup p {
  font-size: 0.92rem;
  margin: 0 0 0.7rem;
  max-width: none;
}

.scroll-popup .btn {
  min-height: 40px;
  width: 100%;
  font-size: 0.82rem;
}

.scroll-popup.show {
  display: block;
  animation: popupIn 0.28s ease;
}

.popup-close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  border: 0;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .desktop-cta {
    display: none !important;
  }

  .section {
    padding: 2.75rem 0;
  }

  h1 {
    font-size: clamp(1.55rem, 7.1vw, 1.95rem);
  }

  h2 {
    font-size: clamp(1.3rem, 5.6vw, 1.55rem);
  }

  h3 {
    font-size: 1.03rem;
  }

  .lead,
  .section p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-actions .btn,
  #closing-cta .btn,
  #services > .container > .btn,
  #solution .btn {
    width: 100%;
  }

  .card,
  .testimonial-card,
  .metric,
  .faq-q,
  .faq-a p,
  .cta-highlight {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .problem-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .quote-card {
    width: min(90vw, 265px);
    padding: 0.85rem 0.8rem;
  }

  .quote-card p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .quote-card h3 {
    font-size: 0.8rem;
  }

  .problem-list .card {
    padding-top: 0.78rem;
    padding-bottom: 0.78rem;
    border-radius: 12px;
  }

  .problem-list .card h3 {
    font-size: 0.92rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
  }

  .problem-list .card p {
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .about-owner {
    width: min(100%, 280px);
    margin-top: 0.8rem;
    margin-bottom: 1rem;
  }

  .about-owner img {
    height: 220px;
    object-position: center 92%;
  }

  .process-list {
    gap: 0.9rem;
  }

  .process-step {
    padding: 0.95rem 0.75rem 0.85rem;
  }

  .process-step h3 {
    font-size: 0.92rem;
  }

  .process-step p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .sticky-cta-bar {
    gap: 0.55rem;
  }

  .sticky-cta-bar .btn {
    min-height: 40px;
    padding: 0.55rem 0.8rem;
    font-size: 0.8rem;
  }

  .sticky-cta-bar p {
    font-size: 0.82rem;
  }

  .floating-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 8.5rem;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .nav-wrap {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }

  .brand {
    line-height: 1;
  }

  .brand-logo {
    height: 84px;
    max-width: 340px;
    transform: scale(2);
  }

  .main-nav {
    display: flex;
  }

  .desktop-cta {
    display: inline-flex;
  }

  .hamburger-btn {
    display: none;
  }

  .mobile-drawer {
    display: none !important;
  }

  .nav-wrap .btn {
    min-height: 46px;
    padding: 0.72rem 1.1rem;
    font-size: 0.9rem;
  }

  .hero-grid {
    text-align: center;
  }

  .problem-list,
  .usp-grid,
  .services-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-card {
    width: 290px;
  }

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

  .split-panel {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .process-step::before,
  .process-step::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .sticky-cta-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.4rem;
  }

  .scroll-popup {
    left: auto;
    right: 1rem;
    max-width: 320px;
    bottom: 1rem;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .problem-list,
  .usp-grid,
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-card {
    width: 300px;
  }

  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .process-step:not(:last-child)::after {
    display: block;
    left: auto;
    right: -0.48rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 0.95rem;
    height: 2px;
  }

  .process-step:not(:last-child)::before {
    display: block;
    left: auto;
    right: -0.78rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-45deg);
  }
}

@media (hover: none) {
  .btn:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible,
  .btn {
    transition: none;
    transform: none;
  }

  .row-right .testimonial-track,
  .row-left .testimonial-track {
    animation: none;
  }

  .hero-emphasis {
    animation: none;
  }
}
