@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.4%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/m-files.cdn1.cc/web/user/fonts/inter/inter_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/m-files.cdn1.cc/web/user/fonts/inter/inter_bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #17151c;
  --color-ink-soft: #3f3c47;
  --color-muted: #676372;
  --color-line: #e8e5ed;
  --color-surface: #ffffff;
  --color-surface-soft: #f7f6fa;
  --color-brand: #6d50e8;
  --color-brand-deep: #4b23bf;
  --color-magenta: #dd53dd;
  --color-blue: #159be8;
  --color-cyan: #36b8e9;
  --color-whatsapp: #118c59;
  --gradient-brand: linear-gradient(105deg, #5f53e7 0%, #9653e8 48%, #e24bd6 100%);
  --gradient-brand-wide: linear-gradient(120deg, #5b50e7 0%, #a44fe5 52%, #df49d4 100%);
  --shadow-sm: 0 10px 30px rgba(31, 23, 47, 0.08);
  --shadow-md: 0 24px 70px rgba(31, 23, 47, 0.13);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1400px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body.rk-clean.case-study {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--color-ink);
  background: var(--color-surface);
  font-family: "Inter", "Inter Fallback", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(21, 155, 232, 0.72);
  outline-offset: 4px;
}

::selection {
  color: #ffffff;
  background: var(--color-brand);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-ink);
  font-family: "Montserrat", "Montserrat Fallback", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

body.case-study h1 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 56px);
  line-height: 1.15;
}

body.case-study h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
}

body.case-study h3 {
  margin-bottom: 10px;
  font-size: clamp(17px, 1.4vw, 22px);
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(48px, 5vw, 72px);
}

.section--soft {
  background:
    radial-gradient(circle at 10% 15%, rgba(109, 80, 232, 0.07), transparent 32%),
    var(--color-surface-soft);
}

.section--dark {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 0%, rgba(152, 87, 242, 0.42), transparent 34%),
    radial-gradient(circle at 90% 82%, rgba(226, 75, 214, 0.24), transparent 28%),
    #181420;
}

.section--dark::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  pointer-events: none;
}

.section--dark > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading--wide {
  max-width: 900px;
}

.section-heading > p:not(.section-label) {
  color: var(--color-muted);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.6;
}

.section-heading--light h2,
.section-heading--light > p:not(.section-label) {
  color: #ffffff;
}

.section-heading--light > p:not(.section-label) {
  color: rgba(255, 255, 255, 0.73);
}

.section-label,
.eyebrow {
  margin-bottom: 12px;
  color: var(--color-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-label--light,
.section--dark .section-label {
  color: #d4b8ff;
}

.gradient-text {
  color: var(--color-brand);
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gtm-frame {
  display: none;
  visibility: hidden;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #ffffff;
  background: var(--color-ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.breadcrumbs {
  padding-top: 18px;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  color: #b7b2bf;
  content: "/";
}

.breadcrumbs a {
  color: #56515d;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

.hero {
  position: relative;
  padding-top: clamp(28px, 3.5vw, 48px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 81, 224, 0.13) 0%, rgba(109, 80, 232, 0.06) 46%, transparent 72%);
  content: "";
  pointer-events: none;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.hero__content {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(109, 80, 232, 0.14);
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  background: rgba(109, 80, 232, 0.07);
  letter-spacing: 0.08em;
}

.eyebrow span {
  color: #9b2f9b;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--color-ink-soft);
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.55;
}

.hero__actions,
.contact-card__actions {
  display: flex;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button--primary {
  color: #ffffff;
  background: var(--gradient-brand-wide);
  box-shadow: 0 13px 30px rgba(108, 79, 231, 0.24);
}

.button--primary:hover {
  box-shadow: 0 16px 34px rgba(108, 79, 231, 0.34);
}

.button--secondary {
  border-color: #d9d5df;
  color: var(--color-brand-deep);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(31, 23, 47, 0.06);
}

.button--secondary:hover {
  border-color: rgba(109, 80, 232, 0.42);
  background: #faf9ff;
}

.button--white {
  color: #4f26b6;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(37, 20, 61, 0.19);
}

.button--whatsapp {
  border-color: rgba(17, 140, 89, 0.2);
  color: #087346;
  background: #eaf9f1;
}

.case-facts {
  display: grid;
  margin: 0;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-facts > div {
  min-width: 0;
  padding: 14px 12px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(36, 28, 48, 0.05);
}

.case-facts dt {
  margin-bottom: 4px;
  color: var(--color-brand);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  line-height: 1.2;
}

.case-facts dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.35;
}

.hero-profile {
  position: relative;
  max-width: 360px;
  margin: 0;
  justify-self: end;
}

.hero-profile::before {
  position: absolute;
  z-index: -1;
  right: -22px;
  bottom: 82px;
  width: 72%;
  height: 72%;
  border-radius: 28px;
  background: var(--gradient-brand);
  content: "";
  opacity: 0.16;
  transform: rotate(4deg);
}

.hero-profile__image {
  position: relative;
  padding: 5px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-md);
}

.hero-profile__image picture {
  border-radius: 25px;
  overflow: hidden;
}

.hero-profile__image img {
  width: 100%;
  aspect-ratio: 2 / 2.9;
  object-fit: cover;
  object-position: 50% 26%;
}

.hero-profile figcaption {
  position: relative;
  z-index: 2;
  width: calc(100% - 34px);
  margin: -62px 17px 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.hero-profile figcaption strong,
.hero-profile figcaption span {
  display: block;
}

.hero-profile figcaption strong {
  margin-bottom: 3px;
  font-size: 1.02rem;
}

.hero-profile figcaption span {
  color: var(--color-muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.hero-profile figcaption .profile-location {
  margin-top: 8px;
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 700;
}

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

.comparison-card {
  position: relative;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comparison-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #c8c2ce;
  content: "";
}

.comparison-card--after::before {
  background: var(--gradient-brand);
}

.comparison-card--after {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--gradient-brand) border-box;
  border-color: transparent;
}

.comparison-card__marker {
  margin-bottom: 12px;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-card--after .comparison-card__marker {
  color: var(--color-brand);
}

.check-list,
.franchise-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.franchise-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid var(--color-line);
  color: var(--color-ink-soft);
}

.check-list li::before,
.franchise-list li::before {
  position: absolute;
  top: 15px;
  left: 2px;
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--gradient-brand);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  place-items: center;
}

.check-list--muted li::before {
  color: #6f6a76;
  background: #edeaf0;
  content: "–";
}

.split-layout {
  display: grid;
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
}

.split-layout__intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  margin-bottom: 0;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 42px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 22px;
  left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-brand), var(--color-magenta));
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  padding-bottom: 36px;
  gap: 24px;
  grid-template-columns: 145px minmax(0, 1fr);
}

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

.timeline li::before {
  position: absolute;
  top: 5px;
  left: -41px;
  width: 18px;
  height: 18px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 2px rgba(109, 80, 232, 0.22);
  content: "";
}

.timeline__date {
  padding-top: 2px;
  color: var(--color-brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.timeline p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.system-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.system-card {
  min-height: 250px;
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(10px);
}

.system-card__number {
  display: inline-block;
  margin-bottom: 52px;
  color: #cdb8f6;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.system-card h3 {
  color: #ffffff;
  font-size: 1.18rem;
}

.system-card p {
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.92rem;
  line-height: 1.65;
}

.responsibility-grid {
  display: grid;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.responsibility-grid > div {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.05);
}

.responsibility-grid > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.responsibility-grid__eyebrow {
  margin-bottom: 10px;
  color: #cdb8f6;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.responsibility-grid h3 {
  color: #ffffff;
}

.responsibility-grid > div > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.result-summary {
  max-width: 850px;
}

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

.project-card {
  position: relative;
  display: flex;
  min-height: 285px;
  padding: clamp(28px, 3.2vw, 42px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  flex-direction: column;
  color: var(--color-ink);
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(31, 23, 47, 0.07);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.project-card:hover {
  border-color: rgba(109, 80, 232, 0.35);
  box-shadow: 0 22px 56px rgba(31, 23, 47, 0.12);
  transform: translateY(-4px);
}

.project-card--featured {
  color: #ffffff;
  background:
    radial-gradient(circle at 94% 0%, rgba(255, 255, 255, 0.2), transparent 32%),
    var(--gradient-brand-wide);
}

.project-card--featured h3,
.project-card--featured p,
.project-card--featured .project-card__status,
.project-card--featured .project-card__link {
  color: #ffffff;
}

.project-card--featured .project-card__status {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.13);
}
.project-card--progress {
  background: #f6f4fa;
}

.project-card__status {
  align-self: flex-start;
  margin-bottom: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(109, 80, 232, 0.16);
  border-radius: 999px;
  color: #4520b0;
  background: rgba(109, 80, 232, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}
.project-card--progress .project-card__status { color: #3a1a96; background: rgba(69,32,176,0.08); border-color: rgba(69,32,176,0.22); }

.project-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
}

.project-card p {
  margin-bottom: 28px;
  color: var(--color-muted);
}

.project-card__link {
  margin-top: auto;
  color: var(--color-brand);
  font-size: 0.9rem;
  font-weight: 700;
}

.project-card__link--muted {
  color: var(--color-muted);
}

.franchise-section {
  padding-top: 0;
}

.franchise-card {
  position: relative;
  display: grid;
  padding: clamp(34px, 6vw, 70px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 8%, rgba(81, 193, 237, 0.44), transparent 30%),
    radial-gradient(circle at 10% 110%, rgba(255, 255, 255, 0.16), transparent 34%),
    var(--gradient-brand-wide);
  box-shadow: 0 28px 90px rgba(99, 61, 190, 0.25);
  gap: clamp(44px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.franchise-card::after {
  position: absolute;
  top: -180px;
  right: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.franchise-card__content,
.franchise-list {
  position: relative;
  z-index: 1;
}

.franchise-card h2 {
  color: #ffffff;
}

.franchise-card__content > p:not(.section-label) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.franchise-card__promise {
  margin: 24px 0 30px;
  padding-left: 18px;
  border-left: 3px solid rgba(255, 255, 255, 0.66);
  color: #ffffff !important;
  font-weight: 700;
}

.franchise-list {
  margin-top: 0;
  align-self: center;
}

.franchise-list li {
  border-color: rgba(255, 255, 255, 0.17);
  color: #ffffff;
}

.franchise-list li::before {
  color: var(--color-brand-deep);
  background: #ffffff;
}

.leader-grid {
  display: grid;
  align-items: stretch;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.leader-card,
.contact-card {
  padding: clamp(30px, 4.5vw, 54px);
  border-radius: var(--radius-md);
}

.leader-card {
  border: 1px solid var(--color-line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.leader-card blockquote {
  margin: 28px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--color-line);
}

.leader-card blockquote p {
  color: var(--color-ink-soft);
  font-size: clamp(1.04rem, 1.6vw, 1.22rem);
  line-height: 1.75;
}

.leader-card blockquote footer {
  color: var(--color-brand);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-card {
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 77, 215, 0.25), transparent 38%),
    #1b1722;
}

.contact-card h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
}

.contact-card > p:not(.contact-card__eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card__eyebrow {
  margin-bottom: 14px;
  color: #d9c4ff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card__actions {
  margin: 28px 0 24px;
}

.contact-card .button--whatsapp {
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  background: rgba(17, 140, 89, 0.24);
}

.contact-card__phone {
  display: inline-block;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-card__phone:hover {
  color: #d9c4ff;
}

.faq__grid {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
}

.faq__grid .section-heading {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  margin-bottom: 0;
}

.faq__items {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 23, 47, 0.045);
}

.faq summary {
  position: relative;
  padding: 22px 58px 22px 24px;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 24px;
  height: 24px;
  color: var(--color-brand);
  content: "+";
  font-family: "Inter", "Inter Fallback", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

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

.faq details > div {
  padding: 0 24px 24px;
}

.faq details > div p {
  margin: 0;
  color: var(--color-muted);
}

.case-navigation {
  border-top: 1px solid var(--color-line);
  background: #ffffff;
}

.case-navigation__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.case-navigation a {
  color: var(--color-brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.case-navigation a:hover {
  color: var(--color-magenta);
}

@media (max-width: 1180px) {
  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-card {
    min-height: 220px;
  }

  .system-card__number {
    margin-bottom: 36px;
  }
}

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

  .hero__content {
    max-width: 820px;
  }

  .hero-profile {
    width: min(100%, 420px);
    max-width: none;
    justify-self: center;
  }

  .hero-profile__image img {
    max-height: 560px;
    aspect-ratio: 4 / 4.8;
  }

  .case-facts {
    max-width: 760px;
  }

  .split-layout,
  .faq__grid {
    gap: 36px;
    grid-template-columns: 1fr;
  }

  .split-layout__intro,
  .faq__grid .section-heading {
    position: static;
  }

  .split-layout__intro {
    max-width: 780px;
  }

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

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

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

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding-block: 48px;
  }

  body.case-study h1 {
    font-size: clamp(26px, 7.5vw, 36px);
  }

  body.case-study h2 {
    font-size: clamp(22px, 6vw, 30px);
  }

  .hero {
    padding-top: 28px;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero__lead {
    font-size: 14px;
  }

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

  .comparison-grid,
  .projects-grid,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .responsibility-grid > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .timeline li {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .timeline__date {
    margin-bottom: 2px;
  }

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

  .system-card {
    min-height: 0;
  }

  .system-card__number {
    margin-bottom: 26px;
  }

  .franchise-list {
    grid-template-columns: 1fr;
  }

  .case-navigation__inner {
    padding-block: 24px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .breadcrumbs {
    padding-top: 14px;
    font-size: 0.77rem;
  }

  .eyebrow {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  .hero__actions,
  .contact-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .case-facts > div {
    padding: 12px 10px;
  }

  .hero-profile figcaption {
    width: calc(100% - 22px);
    margin-right: 11px;
    margin-left: 11px;
    padding: 14px 16px;
  }

  .comparison-card,
  .project-card,
  .leader-card,
  .contact-card {
    padding: 20px;
  }

  .timeline {
    padding-left: 34px;
  }

  .timeline li::before {
    left: -33px;
  }

  .timeline::before {
    left: 8px;
  }

  .franchise-card {
    padding: 26px 18px;
    border-radius: 20px;
  }

  .faq summary {
    padding: 16px 44px 16px 16px;
    font-size: 0.94rem;
  }

  .faq summary::after {
    right: 16px;
  }

  .faq details > div {
    padding: 0 16px 18px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .rk-header,
  .rk-sticky-cta,
  .rk-scroll-top,
  .rk-soc-widget,
  .hero__actions,
  .case-navigation {
    display: none !important;
  }

  .section {
    padding-block: 32px;
  }

  a {
    text-decoration: none;
  }
}
