:root {
  --blue: #255792;
  --blue-dark: #12345f;
  --green: #73af5a;
  --green-dark: #5d9948;
  --mint: #f3f6f5;
  --line: #dfe8e2;
  --ink: #193350;
  --muted: #5b6e84;
  --white: #ffffff;
  --footer: #86abd8;
  --shadow: 0 24px 60px rgba(25, 51, 80, 0.15);
  --max: 1184px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.55;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  padding: 22px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 78px;
  box-shadow: 0 12px 32px rgba(18, 52, 95, 0.08);
}

.brand img {
  width: 158px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 500;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--green-dark);
}

.subnav-toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  cursor: pointer;
}

.subnav-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.subnav {
  position: absolute;
  left: -22px;
  top: calc(100% + 18px);
  z-index: 60;
  display: none;
  width: 310px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.subnav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.has-subnav:hover .subnav,
.has-subnav:focus-within .subnav,
.has-subnav.is-open .subnav {
  display: grid;
}

.subnav a {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
}

.subnav a:hover {
  color: var(--blue);
  background: var(--mint);
}

.subnav span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.search-link {
  position: relative;
  width: 20px;
  height: 20px;
}

.search-link::before,
.search-link::after {
  content: "";
  position: absolute;
  display: block;
}

.search-link::before {
  inset: 2px 5px 5px 2px;
  border: 1.8px solid var(--blue-dark);
  border-radius: 50%;
}

.search-link::after {
  width: 8px;
  height: 2px;
  right: 0;
  bottom: 1px;
  background: var(--blue-dark);
  border-radius: 2px;
  transform: rotate(45deg);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  margin: 0 3px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 700ms ease, transform 5000ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(115, 175, 90, 0.78), rgba(37, 87, 146, 0.7)),
    linear-gradient(90deg, rgba(25, 51, 80, 0.15), rgba(25, 51, 80, 0));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(100% - 40px, 1160px);
  margin: auto;
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.hero h1 {
  margin: 24px auto 24px;
  max-width: 1120px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 30px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  padding: 8px 18px;
  color: var(--blue);
  background: var(--mint);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.eyebrow.light {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.88);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: var(--white);
  background: var(--green);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(25, 51, 80, 0.28);
  cursor: pointer;
}

.hero-arrow-left {
  left: 24px;
}

.hero-arrow-right {
  right: 24px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--white);
}

.hero-gallery {
  width: min(100% - 96px, var(--max));
  margin: 56px auto 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-gallery img {
  width: 100%;
  height: min(46vw, 576px);
  object-fit: cover;
  border-radius: 22px;
}

.section {
  width: min(100% - 96px, var(--max));
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 110px;
}

#hero {
  scroll-margin-top: 0;
}

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

.section-head.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section h2 {
  margin: 18px 0 0;
  color: var(--green);
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 500;
}

.about .section-head h2 {
  max-width: 960px;
  color: var(--blue);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
}

.about-copy {
  font-size: 18px;
  color: var(--muted);
}

.about-copy p {
  margin: 0 0 28px;
}

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-images img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 22px;
}

.about-images img:first-child {
  transform: translateY(36px);
}

.services {
  padding-top: 40px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.services-copy {
  position: sticky;
  top: 126px;
  min-height: 430px;
}

.services-copy h2 {
  max-width: 450px;
}

.services-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 500;
}

.service-stack {
  display: grid;
  gap: 54px;
}

.service-card {
  display: grid;
  gap: 24px;
}

.service-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.service-card h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.16;
  font-weight: 400;
}

.service-card p {
  margin: 0;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 600;
}

.benefits {
  padding-top: 64px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.benefit-card {
  min-height: 290px;
  padding: 26px;
  background: var(--mint);
  border-radius: 8px;
  overflow: hidden;
}

.benefit-card h3 {
  margin: 24px 0 12px;
  color: var(--blue);
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 700;
}

.benefit-card.wide {
  grid-column: span 2;
  text-align: center;
  align-content: center;
  background: var(--white);
}

.avatar-row {
  display: inline-flex;
  justify-content: center;
}

.avatar-row img {
  width: 50px;
  height: 50px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  margin-left: -10px;
}

.avatar-row img:first-child {
  margin-left: 0;
}

.benefit-card.image-card {
  padding: 0;
  background: var(--white);
}

.benefit-card.image-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.benefit-card.image-card h3 {
  padding: 0 24px 24px;
}

.proof {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 24px;
}

.proof-card,
.proof-list {
  background: var(--mint);
  border-radius: 8px;
}

.proof-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
}

.proof-card img {
  max-height: 220px;
  object-fit: contain;
}

.proof-card h2 {
  font-size: clamp(32px, 4vw, 52px);
}

.proof-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.proof-list div {
  display: grid;
  align-content: center;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.68);
}

.proof-list strong {
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.proof-list span {
  color: var(--blue-dark);
  font-weight: 600;
}

.testimonials {
  width: min(100% - 48px, 1240px);
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 1fr);
  gap: 24px;
  overflow-x: auto;
  padding: 4px 0 18px;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  min-height: 360px;
  padding: 34px 32px;
  background: var(--mint);
  border-radius: 8px;
  scroll-snap-align: start;
}

.stars::before {
  content: "\2605\2605\2605\2605\2605";
  color: var(--green);
  font-size: 22px;
  letter-spacing: 3px;
}

.testimonial-card p {
  margin: 30px 0 48px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
}

.client {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.client strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  font-weight: 500;
}

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

.insights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.insights-head h2 {
  max-width: 620px;
}

.insights-head a {
  color: var(--green);
  font-weight: 700;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.blog-card {
  display: grid;
  background: var(--white);
}

.blog-card img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.blog-card.featured {
  grid-column: span 3;
  gap: 22px;
}

.blog-card.featured img {
  height: 330px;
}

.blog-card.compact {
  grid-column: span 2;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
}

.blog-card.compact img {
  height: 112px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.blog-meta span {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--white);
  background: rgba(115, 175, 90, 0.72);
  border-radius: 999px;
}

.blog-card h3 {
  margin: 0 0 10px;
  color: var(--green);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.2;
  font-weight: 400;
}

.blog-card p:last-child {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 500;
}

.faq-list {
  width: min(100%, 820px);
  margin: 0 auto;
}

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

.faq-list summary {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 56px 24px 0;
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--green);
  background: var(--mint);
  font-size: 28px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 72px 24px 0;
  color: var(--blue-dark);
  font-weight: 500;
}

.cta {
  padding-top: 64px;
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  min-height: 440px;
  padding: clamp(32px, 5vw, 58px);
  gap: 36px;
  align-items: center;
  background: var(--mint);
  border-radius: 8px;
  overflow: hidden;
}

.cta-copy h2 {
  margin-top: 0;
}

.cta-copy p {
  max-width: 690px;
  margin: 24px 0 34px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 500;
}

.cta-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 16px;
  transform: rotate(0.001deg);
}

.cta-collage img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(25, 51, 80, 0.12);
}

.cta-collage img:nth-child(2),
.cta-collage img:nth-child(4) {
  transform: translateY(42px);
}

.site-footer {
  width: min(100% - 0px, 1280px);
  margin: 56px auto 0;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 48px) 36px;
  color: var(--white);
  background: var(--footer);
  border-radius: 22px 22px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr 0.6fr;
  gap: clamp(36px, 8vw, 120px);
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.footer-logo {
  width: 230px;
  margin-bottom: 28px;
}

.site-footer p {
  margin: 0 0 14px;
  font-weight: 500;
}

.site-footer h3 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 500;
}

.site-footer a {
  display: block;
  margin: 0 0 16px;
  color: rgba(25, 51, 80, 0.78);
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.socials a {
  color: var(--white);
  margin: 0;
}

.copyright {
  padding-top: 48px;
}

.floating-chat {
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  justify-items: end;
  gap: 14px;
  pointer-events: none;
}

.chat-card {
  position: relative;
  width: min(352px, calc(100vw - 48px));
  padding: 18px 22px 18px 84px;
  color: #111827;
  background: var(--white);
  border: 1px solid rgba(25, 51, 80, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(25, 51, 80, 0.16);
  pointer-events: auto;
}

.chat-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.chat-card button {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #55606d;
  cursor: pointer;
}

.chat-card strong,
.chat-card span {
  display: block;
}

.chat-card strong {
  font-size: 14px;
}

.chat-card span {
  color: #475569;
  font-size: 12px;
}

.chat-card p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.35;
}

.whatsapp {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: var(--white);
  background: #41c65c;
  border: 8px solid rgba(65, 198, 92, 0.18);
  box-shadow: 0 16px 40px rgba(65, 198, 92, 0.36);
  font-size: 15px;
  font-weight: 700;
  pointer-events: auto;
}

.page-main {
  padding-bottom: 32px;
}

.inner-hero {
  width: min(100% - 96px, var(--max));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.inner-hero h1,
.article-hero h1 {
  margin: 18px 0;
  color: var(--green);
  font-size: clamp(44px, 6.3vw, 86px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0;
}

.inner-hero p:not(.eyebrow),
.article-hero p:not(.eyebrow) {
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 500;
}

.inner-hero img,
.article-hero img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
}

.page-section {
  width: min(100% - 96px, var(--max));
  margin: 0 auto;
  padding: 72px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 64px;
  align-items: start;
}

.side-label {
  position: sticky;
  top: 118px;
}

.side-label h2,
.page-section h2 {
  margin: 12px 0 0;
  color: var(--green);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 400;
}

.rich-content {
  display: grid;
  gap: 28px;
}

.rich-block {
  padding: 30px;
  background: var(--mint);
  border-radius: 8px;
}

.rich-block h3 {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}

.rich-block p {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-weight: 500;
}

.rich-block p:last-child {
  margin-bottom: 0;
}

.check-list,
.article-body ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.article-body li {
  position: relative;
  padding-left: 30px;
  color: var(--blue-dark);
  font-weight: 500;
}

.check-list li::before,
.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  color: var(--blue);
  background: var(--mint);
  border-radius: 999px;
  font-weight: 700;
}

.mini-cta {
  display: grid;
  gap: 24px;
  padding: clamp(30px, 5vw, 56px);
  background: var(--mint);
  border-radius: 8px;
}

.mini-cta h2 {
  max-width: 760px;
}

.mini-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 500;
}

.value-grid,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card,
.stat-card {
  padding: 26px;
  background: var(--mint);
  border-radius: 8px;
}

.value-card h3,
.stat-card strong {
  display: block;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
}

.value-card p,
.stat-card span {
  color: var(--blue-dark);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.form-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--mint);
  border-radius: 8px;
}

.form-card label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--white);
}

.form-card textarea {
  min-height: 150px;
  resize: vertical;
}

.blog-list-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.listing-card {
  display: grid;
  gap: 18px;
}

.listing-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.listing-card h3 {
  margin: 0;
  color: var(--green);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 400;
}

.listing-card p {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 500;
}

.article-hero {
  width: min(100% - 96px, 980px);
  margin: 0 auto;
  padding: 72px 0 32px;
}

.article-hero img {
  margin-top: 34px;
}

.article-body {
  width: min(100% - 96px, 820px);
  margin: 0 auto;
  padding: 40px 0 72px;
}

.article-body p {
  margin: 0 0 22px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 500;
}

.article-body h2,
.article-body h3 {
  margin: 42px 0 18px;
  color: var(--green);
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
}

.article-body ul {
  margin: 0 0 24px;
}

.not-found {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found > div {
  width: min(100%, 720px);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 82px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-item {
    display: grid;
    gap: 8px;
  }

  .subnav-toggle {
    display: none;
  }

  .subnav {
    position: static;
    display: grid;
    width: auto;
    padding: 6px;
    box-shadow: none;
  }

  .subnav::before {
    display: none;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .hero {
    min-height: 690px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-gallery,
  .section {
    width: min(100% - 40px, var(--max));
  }

  .hero-gallery,
  .about-grid,
  .services-layout,
  .proof,
  .cta-panel,
  .footer-main,
  .inner-hero-grid,
  .content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .side-label {
    position: static;
  }

  .hero-gallery {
    margin-bottom: 48px;
  }

  .hero-gallery img {
    height: 360px;
  }

  .services-copy {
    position: static;
    min-height: auto;
  }

  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-grid,
  .stats-grid,
  .blog-list-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card.featured,
  .blog-card.compact {
    grid-column: span 6;
  }

  .cta-collage img:nth-child(2),
  .cta-collage img:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 18px;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .button {
    min-height: 52px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .hero-gallery img {
    height: 320px;
  }

  .section {
    padding: 72px 0;
  }

  .inner-hero,
  .page-section,
  .article-hero,
  .article-body {
    width: min(100% - 40px, var(--max));
  }

  .inner-hero,
  .article-hero {
    padding-top: 54px;
  }

  .section h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .inner-hero h1,
  .article-hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .inner-hero img,
  .article-hero img {
    height: 320px;
  }

  .about-images,
  .benefit-grid,
  .cta-collage,
  .value-grid,
  .stats-grid,
  .blog-list-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .rich-block,
  .form-card {
    padding: 22px;
  }

  .pager {
    display: grid;
  }

  .about-images img {
    height: 300px;
  }

  .about-images img:first-child {
    transform: none;
  }

  .service-card img {
    height: 300px;
  }

  .benefit-card.wide {
    grid-column: span 1;
  }

  .proof-card {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    grid-auto-columns: minmax(280px, 88vw);
  }

  .insights-head {
    display: grid;
  }

  .blog-card.compact {
    grid-template-columns: 1fr;
  }

  .blog-card.compact img,
  .blog-card.featured img {
    height: 240px;
  }

  .faq-list summary {
    font-size: 16px;
  }

  .cta-panel {
    padding: 28px;
  }

  .chat-card {
    display: none;
  }

  .floating-chat {
    right: 18px;
    bottom: 18px;
  }

  .footer-logo {
    width: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
