@charset "UTF-8";
/*------------------------------------------------------------------
[Main Stylesheet]

Project:        Perfect Evolvers
Version:        1.0
Primary use:    Psychology Counseling HTML Template
Framework:      Bootstrap 5.3
Architecture:   SCSS (Dart Sass)

Compile:
    npm run scss

Output:
    assets/css/style.css

IMPORTANT:
    @use order matches the original CSS cascade.
    Explicit namespaces avoid module name collisions.
    Do not reorder without verifying visual parity.

-------------------------------------------------------------------*/
/*----------------------------------------
    1. Abstracts
----------------------------------------*/
/*----------------------------------------
    Variables
----------------------------------------*/
:root {
  --mx-teal: #111111;
  --mx-teal-dark: #222222;
  --mx-ink: #111111;
  --mx-ink-soft: #222222;
  --mx-red: #c8102e;
  --mx-cream: #ffffff;
  --mx-page: #ffffff;
  --mx-muted: #5e5d5b;
  --mx-white: #ffffff;
  --mx-glass: rgba(255, 255, 255, 0.06);
  --mx-glass-border: rgba(255, 255, 255, 0.1);
  --mx-dash: rgba(17, 17, 17, 0.25);
  --mx-dash-light: rgba(255, 255, 255, 0.18);
  --mx-font-serif: "Castoro", Georgia, "Times New Roman", serif;
  --mx-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mx-font-logo: "Outfit", "Inter", system-ui, sans-serif;
  --mx-radius-xl: 30px;
  --mx-radius-lg: 15px;
  --mx-radius-md: 10px;
  --mx-radius-pill: 90px;
  --mx-content: 1320px;
  --mx-gutter: 30px;
  /* Spacing scale — Figma rhythm (~60 secondary / ~120 major sections) */
  --mx-space-xs: 20px;
  --mx-space-sm: 30px;
  --mx-space-md: 40px;
  --mx-space-lg: 60px;
  --mx-space-xl: 80px;
  --mx-space-2xl: 100px;
  --mx-space-section: 50px;
  --mx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mx-duration: 0.45s;
  --mx-shadow: 0 18px 40px rgba(17, 17, 17, 0.1);
  --mx-header: 112px;
  --offer-height: 660px;
  --offer-overlap: 200px;
  --offer-gap: 270px;
  --offer-footer-gap: 48px;
  --offer-stage-y: 50%;
  --offer-avatar-size: 60px;
}

/*----------------------------------------
    Functions
----------------------------------------*/
/*----------------------------------------
    Mixins
----------------------------------------*/
/*----------------------------------------
    2. Base
----------------------------------------*/
/*----------------------------------------
    Reset / Base
----------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--mx-page);
}

html.is-locked,
body.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--mx-font-sans);
  color: var(--mx-ink);
  background: var(--mx-page);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

button,
input,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--mx-red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 10000;
  background: var(--mx-ink);
  color: var(--mx-white);
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

/*----------------------------------------
    Typography
----------------------------------------*/
/*----------------------------------------
    Global
----------------------------------------*/
/*----------------------------------------
    3. Layout helpers
----------------------------------------*/
/*----------------------------------------
    Layout Helpers
----------------------------------------*/
/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.page-wrap {
  position: relative;
  overflow: clip;
}

.page-wrap::before,
.page-wrap::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-wrap::before {
  left: -180px;
  top: 42%;
}

.page-wrap::after {
  right: -200px;
  top: 55%;
}

section,
header,
footer {
  position: relative;
  z-index: 1;
}

.container-perfect-evolvers {
  width: min(var(--mx-content), 100% - 48px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1.6;
}

.section-title {
  font-family: var(--mx-font-serif);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  color: var(--mx-ink);
  overflow-wrap: break-word;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-bottom: var(--mx-space-lg);
}

.section-head > :first-child {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 24px;
}

.section-head .btn-cta {
  flex-shrink: 0;
  align-self: center;
}

.section-head .section-title {
  text-align: left;
}

@media (min-width: 992px) {
  .section-head .section-title__line {
    white-space: nowrap;
  }
}
.section-head.justify-content-center {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

/*----------------------------------------
    4. Buttons
----------------------------------------*/
/*----------------------------------------
    Buttons
----------------------------------------*/
/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

.btn-cta .btn-cta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mx-red);
  color: var(--mx-white);
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  padding: 13px 28px;
  border-radius: var(--mx-radius-pill);
  min-height: 52px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s var(--mx-ease);
}

.btn-cta img,
.btn-cta .btn-cta-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  transition: transform 0.3s var(--mx-ease), filter 0.25s ease;
}

.btn-cta:hover .btn-cta-label,
.btn-cta:focus-visible .btn-cta-label {
  background: #a90d27;
}

.btn-cta:hover img,
.btn-cta:hover .btn-cta-icon,
.btn-cta:focus-visible img,
.btn-cta:focus-visible .btn-cta-icon {
  transform: translateX(3px);
  filter: brightness(0.97);
}

.btn-cta:active .btn-cta-label {
  transform: translateY(1px);
}

.btn-learn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--mx-red);
  color: var(--mx-white);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  border: 0;
  border-radius: var(--mx-radius-pill);
  padding: 10px 10px 10px 24px;
  min-height: 52px;
  min-width: 170px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s var(--mx-ease), box-shadow 0.25s ease;
}

.btn-learn__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  max-width: 32px;
  max-height: 32px;
  flex: 0 0 32px;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 50%;
  background: #fff;
  transition: background 0.25s ease, transform 0.3s var(--mx-ease);
}

.btn-learn__icon::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid var(--mx-ink);
  border-bottom: 1.6px solid var(--mx-ink);
  transform: rotate(-45deg) translate(-1px, -0.5px);
  transition: border-color 0.25s ease;
}

.btn-learn__icon img {
  display: none;
}

.btn-learn:hover,
.btn-learn:focus-visible {
  background: var(--mx-teal);
  color: var(--mx-white);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.btn-learn:hover .btn-learn__icon,
.btn-learn:focus-visible .btn-learn__icon {
  background: var(--mx-teal);
  transform: translateX(4px);
}

.btn-learn:hover .btn-learn__icon::after,
.btn-learn:focus-visible .btn-learn__icon::after {
  border-color: #fff;
}

/*----------------------------------------
    5. Sticky header
----------------------------------------*/
/*----------------------------------------
    Sticky Header
----------------------------------------*/
/* --------------------------------------------------------------------------
   5. Sticky header (appears after hero)
   -------------------------------------------------------------------------- */
.site-header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(-120%);
  transition: transform 0.35s var(--mx-ease), box-shadow 0.35s ease;
  background: transparent;
  padding: var(--mx-gutter) var(--mx-gutter) 0;
  pointer-events: none;
  visibility: hidden;
}

.site-header-sticky.is-stuck {
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.site-header-sticky .site-nav {
  min-height: 112px;
  border-bottom: 1px solid var(--mx-dash-light);
  background: var(--mx-teal);
  border-radius: var(--mx-radius-xl);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.18);
  pointer-events: auto;
  overflow: visible;
}

.home-page .site-header-sticky .site-nav {
  background: #000;
}

.home-page .site-header-sticky .brand img {
  content: url("../images/perfect-evolvers-logo-light.png");
}

.home-page .site-header-sticky .site-nav {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.home-page .site-header-sticky .brand,
.home-page .site-header-sticky .nav-end {
  border-color: rgba(255, 255, 255, 0.18);
}

.home-page .site-header-sticky .nav-links a,
.home-page .site-header-sticky .nav-links .nav-link-btn,
.home-page .site-header-sticky .menu-btn {
  color: var(--mx-white) !important;
}

.home-page .site-header-sticky .nav-links a:link,
.home-page .site-header-sticky .nav-links a:visited,
.home-page .site-header-sticky .nav-links a:hover,
.home-page .site-header-sticky .nav-links a:focus,
.home-page .site-header-sticky .nav-links a.is-active,
.home-page .site-header-sticky .nav-links .nav-link-btn:hover,
.home-page .site-header-sticky .nav-links .nav-link-btn:focus,
.home-page .site-header-sticky .nav-links .nav-link-btn.is-active {
  color: var(--mx-white) !important;
}

.home-page .site-header-sticky .nav-links .caret {
  border-top-color: var(--mx-white);
}

.home-page .site-header-sticky .menu-btn {
  background: #000;
  border-color: rgba(255, 255, 255, 0.18);
}

.home-page .site-header-sticky .menu-btn__bars span {
  background: var(--mx-white);
}

.site-header-sticky .brand,
.site-header-sticky .nav-end {
  min-height: 112px;
}


.site-nav-placeholder {
  display: none;
  flex-shrink: 0;
}

.site-nav-placeholder.is-active {
  display: block;
}

/*----------------------------------------
    6. Header / Hero (+ primary nav)
----------------------------------------*/
/*----------------------------------------
    Header / Hero
----------------------------------------*/
/* --------------------------------------------------------------------------
   6. Header / Hero
   -------------------------------------------------------------------------- */
.hero-shell {
  padding: var(--mx-gutter) var(--mx-gutter) 0;
}

.hero {
  position: relative;
  background: var(--mx-teal);
  border-radius: var(--mx-radius-xl);
  min-height: 1165px;
  overflow: visible;
  color: var(--mx-white);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.04);
  border-radius: var(--mx-radius-xl);
  pointer-events: none;
  z-index: 0;
}

.home-page .hero--banner {
  isolation: isolate;
}

.home-page .hero--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--mx-radius-xl);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.16) 72%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.22), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.home-page .hero--banner.is-video-playing::before {
  opacity: 1;
}

.site-nav {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 112px;
  padding: 0 30px;
  border-bottom: 1px solid var(--mx-dash-light);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  align-self: stretch;
  padding-left: 28px;
  padding-right: 32px;
  min-height: 112px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.brand img {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-links .nav-link-btn {
  color: var(--mx-white);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  cursor: pointer;
}

.nav-links a:focus,
.nav-links a:focus-visible,
.nav-links .nav-link-btn:focus,
.nav-links .nav-link-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.nav-links a::after,
.nav-links .nav-link-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--mx-red);
  transition: width 0.25s var(--mx-ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links .nav-link-btn:hover::after,
.has-dropdown.is-open > .nav-link-btn::after,
.has-dropdown.show > .nav-link-btn::after,
.has-dropdown.is-current > .nav-link-btn::after {
  width: calc(100% - 16px);
}

.nav-link-btn.dropdown-toggle::after {
  display: none;
}

.nav-links .caret {
  display: block;
  width: 10px;
  height: 5px;
  flex-shrink: 0;
  margin-top: 1px;
  transform: rotate(180deg);
  transition: transform 0.25s var(--mx-ease);
}

.has-dropdown {
  position: relative;
  z-index: 1;
}

.has-dropdown.is-open,
.has-dropdown.show,
.site-nav .has-dropdown:hover {
  z-index: 40;
}

.has-dropdown::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 24px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--mx-white);
  color: var(--mx-ink);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.16);
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.22s ease, transform 0.22s var(--mx-ease), visibility 0.22s ease;
  z-index: 50;
  border: 0;
}

.has-dropdown.is-open > .dropdown-menu,
.has-dropdown.show > .dropdown-menu,
.dropdown-menu.show,
.site-nav .has-dropdown:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav .has-dropdown:hover > .nav-link-btn .caret,
.has-dropdown.is-open > .nav-link-btn .caret,
.has-dropdown.show > .nav-link-btn .caret,
.nav-link-btn.show .caret {
  transform: rotate(0deg);
}

.site-nav .has-dropdown:hover > .nav-link-btn::after {
  width: calc(100% - 16px);
}

.site-nav .dropdown-menu a {
  color: var(--mx-ink);
  display: block;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav .dropdown-menu a::after {
  display: none !important;
}

.nav-links .dropdown-menu a:hover::after,
.nav-links .dropdown-menu a.is-active::after {
  width: 0;
}

.site-nav .dropdown-menu a:hover,
.site-nav .dropdown-menu a:focus-visible,
.site-nav .dropdown-menu a.is-active {
  background: rgba(200, 16, 46, 0.14);
  color: var(--mx-ink);
}

.site-nav .dropdown-menu li:first-child a {
  border-radius: 6px 6px 0 0;
}

.site-nav .dropdown-menu li:last-child a {
  border-radius: 0 0 6px 6px;
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  align-self: stretch;
  min-height: 112px;
  padding-left: 32px;
  padding-right: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--mx-glass);
  border: 1px solid var(--mx-glass-border);
  backdrop-filter: blur(15px);
  color: var(--mx-white);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--mx-radius-pill);
  padding: 8px 22px 8px 18px;
  min-height: 52px;
}

.menu-btn__bars {
  width: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-btn__bars span {
  display: block;
  height: 2px;
  background: var(--mx-white);
  border-radius: 2px;
  transition: transform 0.3s ease, width 0.3s ease;
}

.menu-btn__bars span:nth-child(1) {
  width: 100%;
}

.menu-btn__bars span:nth-child(2) {
  width: 100%;
}

.menu-btn[aria-expanded=true] .menu-btn__bars span:nth-child(1) {
  transform: translateY(2px) rotate(45deg);
}

.menu-btn[aria-expanded=true] .menu-btn__bars span:nth-child(2) {
  width: 100%;
  transform: translateY(-2px) rotate(-45deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 120px 30px 30px;
  min-height: 1053px;
}

.hero-copy h1 {
  font-family: var(--mx-font-serif);
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.14;
  font-weight: 400;
  max-width: 667px;
  margin: 0 0 80px;
  opacity: 0;
  transform: translateY(18px);
}

.hero.is-ready .hero-copy h1 {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--mx-ease) 0.1s, transform 0.7s var(--mx-ease) 0.1s;
}

.hero-copy h1 .accent {
  color: var(--mx-red);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 500px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--mx-glass-border);
  border-radius: var(--mx-radius-pill);
  padding: 13px 30px;
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  background: transparent;
  color: var(--mx-white);
  opacity: 0;
  transform: translateY(12px);
  cursor: default;
}

.hero.is-ready .pill-tag {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s var(--mx-ease), border-color 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.hero.is-ready .pill-tag:nth-child(1) {
  transition-delay: 0.18s;
}

.hero.is-ready .pill-tag:nth-child(2) {
  transition-delay: 0.24s;
}

.hero.is-ready .pill-tag:nth-child(3) {
  transition-delay: 0.3s;
}

.hero.is-ready .pill-tag:nth-child(4) {
  transition-delay: 0.36s;
}

.hero.is-ready .pill-tag:nth-child(5) {
  transition-delay: 0.42s;
}

.hero.is-ready .pill-tag:nth-child(6) {
  transition-delay: 0.48s;
}

.hero.is-ready .pill-tag:nth-child(7) {
  transition-delay: 0.54s;
}

.hero.is-ready .pill-tag:hover,
.hero.is-ready .pill-tag:focus-visible {
  transition-delay: 0s;
  background: var(--mx-red);
  border-color: var(--mx-red);
  color: var(--mx-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.18);
  cursor: pointer;
}

.pill-tag img {
  width: 12px;
  height: 12px;
  transition: filter 0.25s ease;
}

.hero.is-ready .pill-tag:hover img,
.hero.is-ready .pill-tag:focus-visible img {
  filter: brightness(0) saturate(100%);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: 398px;
  opacity: 0;
  transform: translateY(16px);
}

.hero.is-ready .hero-aside {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--mx-ease) 0.2s, transform 0.7s var(--mx-ease) 0.2s;
}

.hero-aside > p {
  font-size: 20px;
  line-height: 30px;
  margin: 0;
}

.stat-cards {
  display: flex;
  gap: 10px;
}

.stat-card {
  width: 270px;
  min-height: 298px;
  border-radius: var(--mx-radius-lg);
  padding: 25px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-card__value {
  font-family: var(--mx-font-serif);
  font-size: 50px;
  line-height: 1;
  margin: 0 0 14px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.stat-card__value span {
  font: inherit;
}

.stat-card > p:not(.stat-card__value) {
  font-family: var(--mx-font-sans);
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

.stat-card.glass {
  background: var(--mx-glass);
  border: 1px solid var(--mx-glass-border);
  backdrop-filter: blur(15px);
  color: var(--mx-white);
}

.stat-card.lime {
  background: var(--mx-red);
  color: var(--mx-ink-soft);
}

.stat-card .btn-white {
  margin-top: auto;
  background: var(--mx-white);
  color: var(--mx-ink-soft);
  font-weight: 700;
  border-radius: var(--mx-radius-pill);
  padding: 13px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.12);
}

.stat-card.lime img {
  margin-top: auto;
  width: 100%;
  height: 119px;
  object-fit: cover;
  border-radius: var(--mx-radius-lg);
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-social a {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 48px;
  transition: transform 0.25s var(--mx-ease);
}

.hero-social a:hover {
  transform: translateY(-2px) scale(1.05);
}

.hero-social a.hero-social__text-link {
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: var(--mx-white);
  font-size: 10px;
  font-weight: 700;
}

.hero-social__icon {
  width: 48px;
  height: 48px;
  transition: opacity 0.25s var(--mx-ease);
}

.hero-social__icon.is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero-social a:hover .hero-social__icon.is-default,
.hero-social a:focus-visible .hero-social__icon.is-default {
  opacity: 0;
}

.hero-social a:hover .hero-social__icon.is-hover,
.hero-social a:focus-visible .hero-social__icon.is-hover {
  opacity: 1;
}

/*----------------------------------------
    Navigation
----------------------------------------*/
/*----------------------------------------
    7–15. Shared sections
----------------------------------------*/
/*----------------------------------------
    About Section
----------------------------------------*/
/* --------------------------------------------------------------------------
   7. About
   -------------------------------------------------------------------------- */
.about {
  padding: var(--mx-space-section) 0;
}

.about-label {
  position: relative;
  margin-bottom: var(--mx-space-lg);
  padding-bottom: 14px;
}

.about-label .eyebrow {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.about-label::before,
.about-label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px dashed var(--mx-dash);
}

.about-label::before {
  bottom: 5px;
}

.about-label::after {
  bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.about-collage {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-copy h2 {
  font-family: var(--mx-font-serif);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.45;
  font-weight: 400;
  margin: 0;
}

.about-copy .btn-cta {
  margin-top: 28px;
}

#schedule-visit {
  scroll-margin-top: var(--mx-header);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-stat {
  border-left: 1px dashed var(--mx-dash);
  padding-left: 20px;
}

.about-stat > div:first-child {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}

.about-stat .num {
  font-size: clamp(56px, 6vw, 100px);
  font-weight: 500;
  line-height: 0.9;
}

.about-stat .unit {
  color: var(--mx-muted);
  font-size: 16px;
  line-height: 1.4;
  margin-left: 0;
  padding-top: 0.45em;
  white-space: nowrap;
}

.about-stat p {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 30px;
}

/*----------------------------------------
    Services Section
----------------------------------------*/
/* --------------------------------------------------------------------------
   8. Services
   -------------------------------------------------------------------------- */
.services {
  background: var(--mx-cream);
  margin: 0 30px;
  border-radius: var(--mx-radius-xl) var(--mx-radius-xl) 0 0;
  padding: var(--mx-space-section) 0 var(--mx-space-section);
}

.service-card {
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 30px 24px 40px;
  height: 100%;
  transition: transform 0.35s var(--mx-ease), box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--mx-shadow);
}

.service-card img.illu {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 30px;
  transition: transform 0.45s var(--mx-ease);
}

.service-card img.illu.service-photo {
  object-fit: cover;
  border-radius: 12px;
}

.service-card:hover img.illu {
  transform: scale(1.04);
}

.service-card img.illu.is-flipped {
  transform: scaleX(-1);
}

.service-card:hover img.illu.is-flipped {
  transform: scaleX(-1) scale(1.04);
}

.service-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 42px;
  line-height: 1.24;
  font-weight: 400;
  margin: 0 0 20px;
}

.service-card p {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 15px;
}

.feature-list img {
  width: 12px;
  height: 12px;
}

/*----------------------------------------
    How It Works
----------------------------------------*/
/* --------------------------------------------------------------------------
   9. How it works
   -------------------------------------------------------------------------- */
.how {
  margin: 0 30px;
  padding: 0 0 var(--mx-space-lg);
}

/* Image breaks left of the content grid (cream edge); steps stay container-aligned on the right */
.how-shell {
  --how-inline: max(24px, calc((100% - min(var(--mx-content), calc(100% - 48px))) / 2));
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.28fr);
  gap: clamp(28px, 3.2vw, 56px);
  align-items: stretch;
  /* Near cream edge on wide screens (break out of content grid); match container inset when narrow */
  padding-left: min(0px, var(--how-inline));
  padding-right: var(--how-inline);
}

.how-copy {
  min-width: 0;
  margin-top: 120px;
  margin-left: 120px;
}

.how-visual {
  position: relative;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: var(--mx-radius-xl);
  border-bottom-right-radius: var(--mx-radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 680px;
}

.how-visual > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 12%;
  min-height: 0;
}

.danger-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(340px, 100% - 48px);
  background: rgba(17, 17, 17, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 24px;
  padding: 28px;
  color: var(--mx-white);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
}

.danger-card h4 {
  font-family: var(--mx-font-serif);
  font-size: 26px;
  line-height: 1.25;
  margin: 0 0 10px;
  font-weight: 400;
  color: var(--mx-white);
}

.danger-card p {
  font-size: 15px;
  line-height: 24px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
}

.danger-card .btn-cta .btn-cta-label {
  padding: 13px 24px;
  font-size: 15px;
}

.danger-card .btn-cta img {
  margin-left: 0;
}

.step-card {
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--mx-ease), box-shadow 0.3s ease;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mx-shadow);
}

.step-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 36px;
  line-height: 46px;
  font-weight: 400;
  margin: 0 0 12px;
}

.step-card p {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.step-card__icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.step-card__icon img {
  width: 52px;
  height: 52px;
  transition: opacity 0.25s ease, transform 0.3s var(--mx-ease);
}

.step-card__icon .is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.step-card:hover .step-card__icon .is-default {
  opacity: 0;
}

.step-card:hover .step-card__icon .is-hover {
  opacity: 1;
  filter: invert(1);
}

.step-card:hover .step-card__icon img {
  transform: translateX(6px);
}

/*----------------------------------------
    Why Choose Us
----------------------------------------*/
/* --------------------------------------------------------------------------
   10. Why choose us
   -------------------------------------------------------------------------- */
.why {
  position: relative;
  margin: var(--mx-space-lg) 30px 0;
  background: var(--mx-teal);
  border-radius: var(--mx-radius-xl);
  padding: var(--mx-space-section) 0;
  color: var(--mx-white);
  overflow: hidden;
  isolation: isolate;
}

.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/why-bg.jpg") center/cover no-repeat;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.why > .container-perfect-evolvers {
  position: relative;
  z-index: 1;
}

.why .section-title {
  color: var(--mx-white);
  text-align: center;
  max-width: 980px;
  margin: 0 auto 0;
}

.why-intro {
  max-width: 820px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.why .eyebrow {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.why-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 48px 0 20px;
}

.why-tabs.tabs-3 {
  grid-template-columns: repeat(3, minmax(140px, 180px));
  justify-content: start;
}

.why-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--mx-white);
  color: var(--mx-ink);
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--mx-radius-lg);
  min-height: 70px;
  padding: 12px 18px;
  font-family: var(--mx-font-serif);
  font-size: 22px;
  line-height: 1.35;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.why-tab.is-active,
.why-tab.active {
  background: var(--mx-red);
  color: var(--mx-ink);
  border-color: var(--mx-red);
}

.why-tab:hover:not(.is-active):not(.active) {
  background: rgba(255, 255, 255, 0.92);
}

.why-panel {
  background: var(--mx-white);
  color: var(--mx-ink);
  border-radius: var(--mx-radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.why-panel .row {
  align-items: stretch;
  height: 688px;
  max-height: 688px;
}

.why-panel .col-lg-6 {
  display: flex;
  height: 688px;
}

.why-panel .col-lg-6:last-child {
  background: var(--mx-white);
}

.why-copy {
  flex: 1;
  height: 688px;
  box-sizing: border-box;
  padding: 60px 56px;
  overflow: hidden;
}

.why-copy .icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
}

.why-tab-panel h3 {
  font-family: var(--mx-font-serif);
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 400;
  color: var(--mx-ink);
}

.why-tab-panel > p {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 28px;
  max-width: 520px;
}

.why-tab-panel {
  display: none;
}

.why-tab-panel.is-active,
.why-tab-panel.active {
  display: block;
  animation: fadeSwap 0.45s var(--mx-ease);
}

.why-tab-panel.fade {
  transition: none;
  opacity: 1;
}

.why .check-list li {
  color: var(--mx-ink);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.why .check-list li:last-child {
  margin-bottom: 0;
}

@keyframes fadeSwap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 15px;
}

.check-list img {
  width: 19px;
  height: 18px;
  flex-shrink: 0;
}

.founder {
  width: 100%;
  height: 688px;
  box-sizing: border-box;
  padding: 30px 30px 30px 20px;
  display: flex;
  align-items: stretch;
}

.founder-card {
  position: relative;
  width: 100%;
  height: 628px;
  max-height: 628px;
  flex: 0 0 628px;
  border-radius: var(--mx-radius-lg);
  overflow: hidden;
}

.founder-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--mx-ease), visibility 0.45s var(--mx-ease);
}

.founder-media.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.founder img.photo {
  width: 100%;
  height: 100%;
  max-height: 628px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 32px 36px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 52%, rgba(17, 17, 17, 0.58) 72%, rgba(17, 17, 17, 0.94) 100%);
  color: var(--mx-white);
  text-align: center;
}

.founder-overlay .quote {
  width: 42px;
  height: 32px;
  margin: 0 auto 16px;
  transform: scaleY(-1);
}

.founder-overlay h4 {
  font-family: var(--mx-font-serif);
  font-size: 24px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 0 0 16px;
  font-weight: 400;
}

.founder-overlay p {
  font-size: 18px;
  line-height: 28px;
  margin: 0 auto;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.92);
}

/*----------------------------------------
    Case Studies
----------------------------------------*/
/* --------------------------------------------------------------------------
   11. Case studies
   -------------------------------------------------------------------------- */
.cases {
  padding: var(--mx-space-section) 0;
}

.case-card {
  margin-bottom: 24px;
}

.case-media {
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 16px;
}

.case-media__inner {
  position: relative;
  border-radius: var(--mx-radius-md);
  overflow: hidden;
}

.case-media img {
  width: 100%;
  height: 412px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--mx-ease);
}

.case-card:hover .case-media img,
.case-card:focus-within .case-media img {
  transform: scale(1.04);
}

.case-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
  color: var(--mx-white);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.case-card:hover .case-hover,
.case-card:focus-within .case-hover {
  opacity: 1;
  visibility: visible;
}

.case-hover p {
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 24px;
  max-width: 360px;
}

.case-hover .btn-learn {
  flex-shrink: 0;
}

.case-hover .btn-learn:hover,
.case-hover .btn-learn:focus-visible {
  background: var(--mx-red);
  color: var(--mx-ink);
}

.case-hover .btn-learn .btn-learn__icon,
.case-hover .btn-learn:hover .btn-learn__icon,
.case-hover .btn-learn:focus-visible .btn-learn__icon {
  background: #fff;
  transform: none;
}

.case-hover .btn-learn .btn-learn__icon::after,
.case-hover .btn-learn:hover .btn-learn__icon::after,
.case-hover .btn-learn:focus-visible .btn-learn__icon::after {
  border-color: var(--mx-ink);
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 22px 24px;
  margin-top: 16px;
  gap: 16px;
}

.case-meta h3 {
  font-family: var(--mx-font-serif);
  font-size: 30px;
  margin: 0;
  font-weight: 400;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: var(--mx-radius-pill);
  padding: 8px 20px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.tag img {
  width: 12px;
  height: 12px;
}

/*----------------------------------------
    Testimonials
----------------------------------------*/
/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
  position: relative;
  margin: 0 30px;
  background-color: #c8102e;
  border-radius: var(--mx-radius-xl);
  padding: var(--mx-space-section) 0;
  overflow: hidden;
  isolation: isolate;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/testimonials-bg.jpg") center/cover no-repeat;
  mix-blend-mode: darken;
  opacity: 0.48;
  pointer-events: none;
  z-index: 0;
}

.testimonials > .container-perfect-evolvers {
  position: relative;
  z-index: 1;
}

.testimonials--plain {
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.testimonials--plain::before {
  display: none;
}

.testimonials--page {
  padding: var(--mx-space-section) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.testimonials-grid .testimonial-card {
  min-height: 100%;
  height: 100%;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
}

.testimonials-grid .video-card {
  padding: 24px;
}

.testimonials-grid .video-card .cover {
  height: 260px;
}

.testimonials-head {
  position: relative;
  margin-bottom: var(--mx-space-lg);
  min-height: 150px;
}

.testimonials-head__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.testimonials .eyebrow {
  color: var(--mx-ink);
  margin-bottom: 12px;
}

.testimonials .section-title {
  max-width: 700px;
  margin: 0 auto;
}

.badge-float-wrap {
  position: absolute;
  right: -185px;
  top: -10px;
  z-index: 2;
}

.badge-float {
  width: 245px;
  background: var(--mx-white);
  border-radius: 12px;
  padding: 20px 20px 16px;
  transform: rotate(40deg);
  transform-origin: center center;
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.12);
  text-align: left;
}

.badge-float strong {
  display: block;
  font-family: var(--mx-font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--mx-ink);
}

.badge-float span {
  display: block;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  color: var(--mx-ink);
  margin-top: 5px;
}

.badge-float__foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}

.badge-float__foot img {
  display: block;
  width: 72px;
  height: 12px;
  max-width: none;
  flex-shrink: 0;
}

.badge-float small {
  display: block;
  color: var(--mx-muted);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 46px 30px 30px;
  min-height: 441px;
  transition: transform 0.3s var(--mx-ease), box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--mx-shadow);
}

.testimonial-card .stars {
  display: block;
  width: 88px;
  height: 15px;
  margin-bottom: 24px;
}

.testimonial-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 24px;
  line-height: 34px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 400;
  margin: 0 0 24px;
  color: var(--mx-ink);
}

.testimonial-card p {
  color: var(--mx-muted);
  font-size: 20px;
  line-height: 28px;
  margin: 0;
}

.related-work-card {
  min-height: 0;
  padding: 24px;
}

.related-work-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.related-work-card h3 {
  font-size: 22px;
  line-height: 1.3;
  text-decoration: none;
  margin-bottom: 14px;
}

.related-work-card p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.related-work-card .btn-learn {
  width: 100%;
  min-width: 0;
  margin-top: auto;
  padding-left: 16px;
  font-size: 14px;
}

.testimonial-card .person {
  margin-top: auto;
  padding-top: 40px;
}

.person {
  display: flex;
  align-items: center;
  gap: 15px;
}

.person img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.person strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mx-ink);
}

.person span {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--mx-muted);
}

.video-card {
  padding: 30px;
}

.video-card__media {
  position: relative;
  margin-bottom: 0;
}

.video-card .cover {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--mx-radius-md);
  display: block;
}

.video-card .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 0;
  background: none;
  padding: 0;
}

.video-card .play-btn img {
  width: 60px;
  height: 60px;
  transition: transform 0.25s ease;
}

.video-card .play-btn:hover img {
  transform: scale(1.08);
}

.video-card .person {
  padding-top: 24px;
}

/*----------------------------------------
    Mosaic
----------------------------------------*/
/* --------------------------------------------------------------------------
   13. Mosaic
   -------------------------------------------------------------------------- */
.mosaic {
  padding: var(--mx-space-section) 30px var(--mx-space-lg);
}

.mosaic .section-title {
  text-align: center;
  max-width: 980px;
  margin: 0 auto var(--mx-space-lg);
}

.mosaic-frame {
  width: calc(100% - 60px);
  margin: 0 auto;
}

.mosaic-frame img {
  width: 100%;
  border-radius: 0;
}

/*----------------------------------------
    Team
----------------------------------------*/
/* --------------------------------------------------------------------------
   14. Team
   -------------------------------------------------------------------------- */
.team {
  margin: var(--mx-space-lg) 30px 0;
  background: var(--mx-cream);
  border-radius: var(--mx-radius-xl);
  padding: var(--mx-space-section) 0 var(--mx-space-md);
}

.team--plain {
  margin: var(--mx-space-lg) 0 0;
  background: transparent;
  border-radius: 0;
}

.carousel {
  overflow: hidden;
  position: relative;
}

.carousel .swiper-wrapper {
  align-items: stretch;
}

.carousel .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.member-card {
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 10px;
  display: grid;
  grid-template-columns: 262px 1fr;
  gap: 30px;
  min-height: 377px;
}

.member-card .photo {
  width: 100%;
  height: 357px;
  object-fit: cover;
  border-radius: var(--mx-radius-md);
  transition: transform 0.45s var(--mx-ease);
}

.member-card:hover .photo {
  transform: scale(1.03);
}

.member-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 30px;
  margin: 20px 0 8px;
  font-weight: 400;
}

.member-card .role {
  color: var(--mx-muted);
  font-size: 16px;
  margin: 0 0 16px;
}

.member-card .rule {
  width: 40px;
  height: 4px;
  background: var(--mx-ink);
  border: 0;
  margin: 0 0 20px;
}

.member-card p {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 28px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  transition: transform 0.25s ease;
}

.social-row a:hover,
.social-row a:focus-visible {
  transform: translateY(-3px);
}

.social-row a.social-row__text-link {
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: 50%;
  color: var(--mx-ink);
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

.social-row__icon {
  width: 42px;
  height: 42px;
  transition: opacity 0.25s var(--mx-ease);
}

.social-row__icon.is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.social-row a:hover .social-row__icon.is-default,
.social-row a:focus-visible .social-row__icon.is-default {
  opacity: 0;
}

.social-row a:hover .social-row__icon.is-hover,
.social-row a:focus-visible .social-row__icon.is-hover {
  opacity: 1;
}

.team-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 48px 0 64px;
}

.team-nav__line {
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
}

.team-nav__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-ink);
  color: var(--mx-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--mx-teal);
  transform: scale(1.05);
}

.carousel-btn:disabled,
.carousel-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-btn img {
  width: 18px;
  height: 18px;
}

.team-nav .carousel-btn--prev,
.team-nav .carousel-btn--next {
  background: var(--mx-red);
}

.team-nav .carousel-btn--prev:hover:not(:disabled),
.team-nav .carousel-btn--next:hover:not(:disabled) {
  background: var(--mx-teal);
}

.team-nav .carousel-btn:hover:not(:disabled) img {
  filter: brightness(0) invert(1);
}

.team-nav .carousel-btn img {
  width: 11px;
  height: 20px;
}

.partners {
  padding-top: 8px;
}

.partners h3 {
  font-family: var(--mx-font-serif);
  text-align: center;
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 36px;
}

.partners-carousel .swiper-slide {
  height: auto;
}

.partner-card {
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  height: 100%;
}

.partner-card img {
  max-width: 240px;
  width: 100%;
  height: 52px;
  object-fit: contain;
}

.clients-marquee {
  overflow: hidden;
  padding: 96px 0;
  background: var(--mx-white);
}

.clients-marquee__viewport {
  overflow: hidden;
  width: 100%;
}

.clients-marquee__track {
  display: flex;
  width: max-content;
  animation: clients-marquee-scroll 28s linear infinite;
}

.clients-marquee__track:hover {
  animation-play-state: paused;
}

.clients-marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
}

.client-logo {
  width: 200px;
  height: 140px;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid rgba(29, 29, 27, 0.08);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.client-logo img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.client-logo .client-name {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--mx-text-color);
}

@keyframes clients-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-marquee__track {
    animation-duration: 120s;
  }
}

/*----------------------------------------
    Carousel / Slider
----------------------------------------*/
/*----------------------------------------
    Blog
----------------------------------------*/
/* --------------------------------------------------------------------------
   15. Blog
   -------------------------------------------------------------------------- */
.blog {
  padding: var(--mx-space-section) 0 calc(var(--offer-overlap) + var(--offer-gap));
  position: relative;
  z-index: 1;
}

.home-page .blog {
  padding-bottom: var(--mx-space-section);
}

main > section:last-child:not(.blog):not(.page-cta) {
  padding-bottom: calc(var(--offer-overlap) + var(--offer-gap));
}

main > .page-cta:last-child {
  /* Reserve room for the overlapping footer offer, with a cream gap like the design */
  margin-bottom: calc(var(--offer-overlap) + 165px);
}

.gallery-videos {
  background: linear-gradient(180deg, rgba(244, 240, 233, 0.55), rgba(255, 255, 255, 0.9));
}

.gallery-video-slider {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 18px;
}

.gallery-video-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 10px 6px 18px;
  scrollbar-width: none;
}

.gallery-video-track::-webkit-scrollbar {
  display: none;
}

.gallery-video-card {
  flex: 0 0 320px;
  background: var(--mx-white);
  border: 1px solid rgba(18, 18, 18, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
  scroll-snap-align: start;
}

.gallery-video-media {
  position: relative;
  overflow: hidden;
  background: #d9d1ca;
}

.gallery-video-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-video-media video,
.gallery-video-media iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  background: #d9d1ca;
}

.gallery-video-media video {
  object-fit: contain;
}

.gallery-video-media--instagram,
.gallery-video-media--instagram iframe {
  height: 400px;
}

.gallery-video-card:hover .gallery-video-media img {
  transform: scale(1.04);
}

.gallery-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 30px rgba(15, 15, 15, 0.14);
}

.gallery-video-play img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  transform: rotate(-45deg);
}

.gallery-video-copy {
  padding: 20px 18px 22px;
}

.gallery-video-copy span {
  display: block;
  color: var(--mx-red);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.gallery-video-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-family: var(--mx-font-serif);
}

.gallery-video-nav {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 50%;
  background: var(--mx-white);
  color: var(--mx-text-color);
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(18, 18, 18, 0.08);
  transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-video-nav:hover {
  background: var(--mx-red);
  color: var(--mx-white);
  transform: translateY(-2px);
}

.photo-gallery-section {
  padding-top: 24px;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.photo-gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 24px;
  background: #d9d1ca;
  box-shadow: 0 12px 28px rgba(18, 18, 18, 0.08);
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.4s ease;
}

.photo-gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 16, 0.76));
  color: var(--mx-white);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.photo-gallery-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 6px;
}

.photo-gallery-item strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  font-family: var(--mx-font-serif);
}

.photo-gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.86);
}

.photo-gallery-item:hover figcaption {
  transform: translateY(0);
}

.photo-large {
  grid-column: span 2;
  min-height: 520px;
}

.photo-wide {
  grid-column: span 2;
}

.photo-tall {
  min-height: 500px;
}

@media (max-width: 991.98px) {
  .photo-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .photo-gallery-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-item,
  .photo-large,
  .photo-tall {
    min-height: 300px;
  }

  .photo-large,
  .photo-wide {
    grid-column: span 1;
  }
}

.blog-card {
  height: 100%;
  transition: transform 0.3s var(--mx-ease);
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card .thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--mx-radius-md);
  margin-bottom: 16px;
  transition: transform 0.45s var(--mx-ease);
}

.blog-card:hover .thumb {
  transform: scale(1.03);
}

.blog-body {
  background: var(--mx-white);
  border-radius: var(--mx-radius-md);
  padding: 30px;
  min-height: 330px;
  position: relative;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
  transition: background 0.3s var(--mx-ease);
}

.blog-body.featured {
  background: var(--mx-white);
}

.blog-card:hover .blog-body {
  background: var(--mx-red);
}

.blog-card:hover .blog-body p {
  color: var(--mx-white);
}

.blog-body .date {
  font-size: 14px;
  margin-bottom: 16px;
}

.blog-body h3 {
  font-family: var(--mx-font-serif);
  font-size: 26px;
  line-height: 36px;
  font-weight: 400;
  margin: 0 0 16px;
}

.blog-body p {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  margin: 0 0 40px;
}

.blog-body.featured p {
  color: var(--mx-muted);
}

.blog-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.blog-foot small {
  display: block;
  font-size: 14px;
}

.blog-foot a {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.blog-foot__icon {
  width: 42px;
  height: 42px;
  transition: opacity 0.25s var(--mx-ease), transform 0.3s var(--mx-ease);
}

.blog-foot__icon.is-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.blog-card:hover .blog-foot__icon.is-default {
  opacity: 0;
}

.blog-card:hover .blog-foot__icon.is-hover {
  opacity: 1;
  transform: translateX(5px);
}

.review-cta {
  padding: var(--mx-space-section) 0;
  background: linear-gradient(120deg, #fff 0%, #fff 56%, #f8e1e5 100%);
  color: var(--mx-ink);
}

.home-page main > section.review-cta:last-child:not(.blog):not(.page-cta) {
  padding-bottom: 0;
  margin-bottom: calc(var(--offer-overlap) + 165px);
}

.review-cta__content {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(200, 16, 46, 0.18);
  border-radius: var(--mx-radius-xl);
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
}

.review-cta__content .eyebrow {
  color: var(--mx-red);
  font-weight: 700;
  margin-bottom: 12px;
}

.review-cta__content .section-title {
  margin: 0 0 16px;
}

.review-cta__content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 1.6;
}

.review-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--mx-red);
  color: var(--mx-white);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s var(--mx-ease), transform 0.25s var(--mx-ease);
}

.review-cta__button:hover,
.review-cta__button:focus-visible {
  background: var(--mx-ink);
  color: var(--mx-white);
  transform: translateY(-2px);
}

.review-cta__button span {
  font-size: 22px;
  line-height: 1;
}

/*----------------------------------------
    16. Footer + CTA offer
----------------------------------------*/
/*----------------------------------------
    Footer + CTA Offer
----------------------------------------*/
/* --------------------------------------------------------------------------
   16. Footer + CTA
   -------------------------------------------------------------------------- */
.site-footer {
  margin: 0 30px 30px;
  background: var(--mx-teal);
  border-radius: var(--mx-radius-xl);
  color: var(--mx-white);
  padding: 0 0 40px;
  overflow: visible;
  position: relative;
  z-index: 2;
  container-type: inline-size;
  background-image: url("../images/download.jpg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

.site-footer > .offer {
  position: absolute;
  top: -125px;
  left: 50%;
  z-index: 10;
  transform: translate(-50%, calc(var(--offer-overlap) * -1));
  margin: 0;
  width: min(1320px, 100% - 60px);
}

.site-footer > .container-perfect-evolvers {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--offer-height) - var(--offer-overlap) + var(--offer-footer-gap) - 50px);
}

.offer {
  --offer-ring-far: 108cqi;
  --offer-ring-outer: 94cqi;
  --offer-ring-mid: 80cqi;
  --offer-ring-inner: 66cqi;
  --offer-orbit-outer: calc(var(--offer-ring-outer) / 2);
  --offer-orbit-mid: calc(var(--offer-ring-mid) / 2);
  --offer-orbit-inner: calc(var(--offer-ring-inner) / 2);
  position: relative;
  container-type: inline-size;
  container-name: offer;
  background: radial-gradient(ellipse at center, #ffffff 0%, #ffffff 18%, #f8e1e5 52%, var(--mx-red) 100%);
  color: var(--mx-ink);
  border-radius: var(--mx-radius-xl);
  min-height: var(--offer-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.1);
  isolation: isolate;
}

.offer-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.offer-rings,
.offer-avatars {
  position: absolute;
  inset: 0;
}

.offer-rings {
  z-index: 1;
}

.offer-avatars {
  z-index: 2;
  -webkit-mask-image: radial-gradient(circle at 50% var(--offer-stage-y), transparent 0, transparent 27%, #000 36%);
  mask-image: radial-gradient(circle at 50% var(--offer-stage-y), transparent 0, transparent 27%, #000 36%);
}

.offer-ring,
.offer-rings img {
  position: absolute;
  left: 50%;
  top: var(--offer-stage-y);
  width: var(--ring-size);
  height: var(--ring-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  max-width: none;
  pointer-events: none;
  will-change: transform, opacity;
  animation: offer-ring-pulse var(--ring-duration, 12s) ease-in-out infinite;
  animation-delay: var(--ring-delay, 0s);
}

.offer-ring {
  border: 1px dashed rgba(17, 17, 17, 0.2);
  opacity: var(--ring-opacity, 1);
  background: transparent;
}

.offer-rings img {
  border: 0;
  opacity: var(--ring-opacity, 1);
}

.offer-ring--far {
  --ring-size: var(--offer-ring-far);
  --ring-opacity: 0.7;
  --ring-duration: 16s;
  --ring-delay: 0s;
}

.offer-ring--outer,
.offer-rings .r3 {
  --ring-size: var(--offer-ring-outer);
  --ring-opacity: 0.82;
  --ring-duration: 14s;
  --ring-delay: -2s;
}

.offer-ring--mid,
.offer-rings .r2 {
  --ring-size: var(--offer-ring-mid);
  --ring-opacity: 0.9;
  --ring-duration: 11s;
  --ring-delay: -4s;
}

.offer-ring--inner,
.offer-rings .r1 {
  --ring-size: var(--offer-ring-inner);
  --ring-opacity: 1;
  --ring-duration: 9s;
  --ring-delay: -1s;
}

.offer-avatars img,
.offer-avatar {
  position: absolute;
  left: 50%;
  top: var(--offer-stage-y);
  width: var(--offer-avatar-size);
  height: var(--offer-avatar-size);
  margin: calc(var(--offer-avatar-size) / -2) 0 0 calc(var(--offer-avatar-size) / -2);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--mx-white);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
  z-index: 2;
  transform: rotate(var(--orbit-angle)) translateX(var(--orbit-r)) rotate(calc(var(--orbit-angle) * -1));
  will-change: transform;
  animation: offer-orbit var(--orbit-duration, 48s) linear infinite;
  animation-delay: var(--orbit-delay, 0s);
}

.offer-avatar--outer,
.offer-avatars .a1.offer-avatar--outer,
.offer-avatars .a2.offer-avatar--outer,
.offer-avatars .a4.offer-avatar--outer,
.offer-avatars .a5.offer-avatar--outer {
  --orbit-r: var(--offer-orbit-outer);
}

.offer-avatar--mid,
.offer-avatars .a1.offer-avatar--mid,
.offer-avatars .a2.offer-avatar--mid,
.offer-avatars .a5.offer-avatar--mid,
.offer-avatars .a6.offer-avatar--mid {
  --orbit-r: var(--offer-orbit-mid);
}

.offer-avatar--inner,
.offer-avatars .a3.offer-avatar--inner,
.offer-avatars .a6.offer-avatar--inner {
  --orbit-r: var(--offer-orbit-inner);
}

/* Keep legacy class-only orbit radii for other pages */
.offer-avatars .a1:not([class*=offer-avatar--]) {
  --orbit-r: var(--offer-orbit-outer);
}

.offer-avatars .a2:not([class*=offer-avatar--]),
.offer-avatars .a5:not([class*=offer-avatar--]) {
  --orbit-r: var(--offer-orbit-mid);
}

.offer-avatars .a3:not([class*=offer-avatar--]),
.offer-avatars .a6:not([class*=offer-avatar--]) {
  --orbit-r: var(--offer-orbit-inner);
}

.offer-avatars .a4:not([class*=offer-avatar--]) {
  --orbit-r: var(--offer-orbit-outer);
}

/* Top-left — mid */
.offer-avatars .a1 {
  --orbit-angle: -135deg;
  --orbit-duration: 56s;
  --orbit-delay: -8s;
}

/* Left — outer */
.offer-avatars .a2 {
  --orbit-angle: 175deg;
  --orbit-duration: 44s;
  --orbit-delay: -14s;
  animation-direction: reverse;
}

/* Bottom-left — inner */
.offer-avatars .a3 {
  --orbit-angle: 125deg;
  --orbit-duration: 36s;
  --orbit-delay: -6s;
}

/* Bottom-right — outer */
.offer-avatars .a4 {
  --orbit-angle: 48deg;
  --orbit-duration: 50s;
  --orbit-delay: -18s;
}

/* Right — outer */
.offer-avatars .a5 {
  --orbit-angle: 8deg;
  --orbit-duration: 40s;
  --orbit-delay: -10s;
  animation-direction: reverse;
}

/* Top-right — mid */
.offer-avatars .a6 {
  --orbit-angle: -42deg;
  --orbit-duration: 46s;
  --orbit-delay: -22s;
}

.offer-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding: var(--mx-space-section) 32px var(--mx-space-xl);
}

.offer-content .eyebrow {
  margin-bottom: 24px;
  color: rgba(17, 17, 17, 0.72);
}

.offer-content .section-title {
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.15;
}

.offer-form {
  position: relative;
  max-width: 534px;
  margin: 32px auto 0;
}

.offer-form input {
  width: 100%;
  height: 70px;
  border: 0;
  border-radius: var(--mx-radius-pill);
  padding: 0 76px 0 30px;
  font-size: 16px;
  background: var(--mx-white);
  color: var(--mx-ink);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
}

.offer-form button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 50px;
  height: 50px;
  border: 0;
  background: transparent;
  padding: 0;
}

.offer-form button img {
  width: 50px;
  height: 50px;
}

.offer-form button .plane {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 24px;
  height: 24px;
  transition: transform 0.25s var(--mx-ease);
}

.offer-form button:hover .plane {
  transform: translate(3px, -3px);
}

.offer-form.is-error input {
  box-shadow: 0 0 0 2px #c8102e;
}

.offer-form .form-status,
.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 20px;
}

@keyframes offer-orbit {
  from {
    transform: rotate(var(--orbit-angle)) translateX(var(--orbit-r)) rotate(calc(var(--orbit-angle) * -1));
  }
  50% {
    transform: rotate(calc(var(--orbit-angle) + 180deg)) translateX(calc(var(--orbit-r) + 3px)) rotate(calc((var(--orbit-angle) + 180deg) * -1));
  }
  to {
    transform: rotate(calc(var(--orbit-angle) + 360deg)) translateX(var(--orbit-r)) rotate(calc((var(--orbit-angle) + 360deg) * -1));
  }
}
@keyframes offer-ring-pulse {
  0%, 100% {
    opacity: var(--ring-opacity, 1);
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: calc(var(--ring-opacity, 1) * 0.85);
    transform: translate(-50%, -50%) scale(1.008);
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer-ring,
  .offer-rings img,
  .offer-avatars img,
  .offer-avatar {
    animation: none !important;
  }
}
@media (max-width: 1199.98px) {
  :root {
    --offer-height: 560px;
    --offer-avatar-size: 54px;
  }
  .offer {
    --offer-ring-far: 110cqi;
    --offer-ring-outer: 96cqi;
    --offer-ring-mid: 82cqi;
    --offer-ring-inner: 68cqi;
    --offer-orbit-outer: calc(var(--offer-ring-outer) / 2);
    --offer-orbit-mid: calc(var(--offer-ring-mid) / 2);
    --offer-orbit-inner: calc(var(--offer-ring-inner) / 2);
  }
  .offer-content {
    padding: var(--mx-space-xl) 28px var(--mx-space-lg);
  }
  .offer-avatars {
    -webkit-mask-image: radial-gradient(circle at 50% var(--offer-stage-y), transparent 0, transparent 30%, #000 40%);
    mask-image: radial-gradient(circle at 50% var(--offer-stage-y), transparent 0, transparent 30%, #000 40%);
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.85fr 0.7fr 0.9fr 1fr;
  gap: 48px;
  padding: 0 0 40px;
}

.footer-grid h3 {
  font-family: var(--mx-font-serif);
  font-size: 24px;
  line-height: 34px;
  font-weight: 400;
  margin: 0 0 24px;
}

.footer-grid h2 {
  font-family: var(--mx-font-serif);
  font-size: 42px;
  line-height: 52px;
  font-weight: 400;
  margin: 0 0 24px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li,
.footer-grid p {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: var(--mx-red);
}

.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 420px;
}

.social-pills a {
  border: 1px solid var(--mx-glass-border);
  border-radius: var(--mx-radius-pill);
  padding: 6px 20px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-pills a:hover {
  background: var(--mx-red);
  color: var(--mx-ink);
  transform: translateY(-2px);
}

.copyright {
  position: relative;
  border-top: 0;
  margin-top: 12px;
  padding-top: 32px;
  text-align: center;
  font-size: 18px;
}

.copyright::before,
.copyright::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 100cqw;
  height: 0;
  transform: translateX(-50%);
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.copyright::before {
  top: 0;
}

.copyright::after {
  top: 5px;
}

/*----------------------------------------
    17. Mobile menu
----------------------------------------*/
/*----------------------------------------
    Mobile Menu
----------------------------------------*/
/* --------------------------------------------------------------------------
   17. Mobile menu
   -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 60;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--mx-ink);
  color: var(--mx-white);
  z-index: 70;
  transform: translateX(100%);
  transition: transform 0.4s var(--mx-ease);
  overflow-y: auto;
  padding: 28px 28px 48px;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-menu__head .brand {
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
  min-height: 0;
  align-self: center;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--mx-glass-border);
  background: transparent;
  color: var(--mx-white);
  border-radius: 50%;
  font-size: 22px;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav a,
.mobile-nav .nav-link-btn {
  color: var(--mx-white);
  font-size: 22px;
  padding: 12px 0;
  display: flex;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-nav .caret {
  display: block;
  width: 12px;
  height: 6px;
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform 0.25s var(--mx-ease);
}

.mobile-menu .has-dropdown.is-open > .nav-link-btn .caret,
.mobile-menu .has-dropdown.show > .nav-link-btn .caret,
.mobile-menu .nav-link-btn.show .caret {
  transform: rotate(0deg);
}

.mobile-menu .has-dropdown::before {
  display: none;
}

.mobile-menu .dropdown-menu {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  min-width: 0 !important;
  width: 100%;
  margin: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--mx-white);
  display: none;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  padding: 4px 0 12px 12px;
  z-index: auto;
}

.mobile-menu .has-dropdown.is-open > .dropdown-menu,
.mobile-menu .has-dropdown.show > .dropdown-menu,
.mobile-menu .dropdown-menu.show {
  display: block !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  left: auto !important;
  top: auto !important;
}

.mobile-menu .dropdown-menu li {
  margin: 0;
  padding: 0;
}

.mobile-menu .dropdown-menu a,
.mobile-menu .dropdown-menu a:hover,
.mobile-menu .dropdown-menu a:focus-visible,
.mobile-menu .dropdown-menu a.is-active {
  color: rgba(255, 255, 255, 0.82) !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 8px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  width: 100%;
}

.mobile-menu .dropdown-menu a:hover,
.mobile-menu .dropdown-menu a:focus-visible,
.mobile-menu .dropdown-menu a.is-active {
  color: var(--mx-red) !important;
}

/*----------------------------------------
    18. Video modal
----------------------------------------*/
/*----------------------------------------
    Video Modal
----------------------------------------*/
/* --------------------------------------------------------------------------
   18. Video modal (Bootstrap Modal skin)
   -------------------------------------------------------------------------- */
.video-modal.modal {
  --bs-modal-bg: transparent;
  --bs-modal-border-width: 0;
  --bs-modal-border-color: transparent;
}

.video-modal .modal-dialog {
  width: min(920px, 100%);
  max-width: min(920px, 100%);
  margin: 1.75rem auto;
}

.video-modal .modal-content,
.video-modal__content {
  background: var(--mx-ink);
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.video-modal__dialog {
  width: min(920px, 100%);
}

.video-modal__frame {
  aspect-ratio: 16/9;
  background: #000;
}

.video-modal__frame iframe,
.video-modal__placeholder {
  width: 100%;
  height: 100%;
  border: 0;
  color: var(--mx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-white);
  color: var(--mx-ink);
  z-index: 2;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--mx-ink);
  color: var(--mx-white);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/*----------------------------------------
    19. Reveal animations
----------------------------------------*/
/*----------------------------------------
    Reveal Animations
----------------------------------------*/
/* --------------------------------------------------------------------------
   19. Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--mx-duration) var(--mx-ease), transform var(--mx-duration) var(--mx-ease);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.delay-4 {
  transition-delay: 0.32s;
}

/*----------------------------------------
    20. Responsive (shared) — before inner pages
----------------------------------------*/
/*----------------------------------------
    Responsive
----------------------------------------*/
/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1399.98px) {
  .hero {
    min-height: auto;
  }
  .hero-grid {
    min-height: auto;
    padding-bottom: 240px;
  }
}
@media (max-width: 1199.98px) {
  :root {
    --mx-space-lg: 48px;
    --mx-space-section: 60px;
  }
  .nav-links {
    display: none;
  }
  .site-nav,
  .site-header-sticky .site-nav {
    grid-template-columns: 1fr auto;
  }
  .hero--about .about-hero-stats {
    display: none;
  }
  .hero--about .page-hero-copy--about {
    padding: 48px 24px 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-aside {
    align-items: flex-start;
    text-align: left;
  }
  .about-grid,
  .member-card,
  .footer-grid,
  .why-tabs {
    grid-template-columns: 1fr;
  }
  .testimonials .badge-float-wrap {
    position: static;
    width: fit-content;
    margin: 32px auto 0;
  }
  .testimonials .badge-float {
    transform: none;
  }
  .testimonials-head {
    min-height: 0;
  }
  .how-visual {
    min-height: 560px;
    border-radius: var(--mx-radius-xl);
  }
  .how-visual > img {
    min-height: 0;
  }
  .danger-card {
    left: 20px;
    bottom: 20px;
    width: min(320px, 100% - 32px);
    padding: 24px;
  }
  .member-card .photo {
    height: 280px;
  }
  .why-copy {
    padding: 36px 24px;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .why-panel .row,
  .why-panel .col-lg-6 {
    height: auto;
    max-height: none;
  }
  .founder {
    height: auto;
    padding: 20px;
  }
  .founder-card,
  .founder img.photo {
    height: auto;
    max-height: none;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
  }
  .nav-end {
    border-left: 0;
    padding-left: 0;
  }
  .brand {
    border-right: 0;
    padding-right: 0;
  }
  .about-split .why-tabs.tabs-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .about-split .why-tab {
    min-width: 0;
    padding: 12px 14px;
    font-size: 14px;
    text-align: center;
  }
}
@media (max-width: 991.98px) {
  .how-shell {
    grid-template-columns: 1fr;
    padding-left: var(--how-inline);
    align-items: start;
  }
  .how-copy {
    margin-left: 0;
    margin-top: 36px;
  }
  .how-visual {
    min-height: 0;
    height: auto;
    aspect-ratio: 4/5;
    max-height: 640px;
    border-radius: var(--mx-radius-xl);
  }
  .service-card h3,
  .step-card h3 {
    font-size: clamp(26px, 4vw, 32px);
    line-height: 1.25;
  }
  .stat-cards {
    flex-wrap: wrap;
  }
  .stat-card {
    width: calc(50% - 5px);
  }
  .schedule-section__form {
    margin-top: -96px;
  }
  .danger-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }
  .danger-card .btn-cta {
    flex-wrap: wrap;
  }
  .inner-section {
    padding: var(--mx-space-section) 0;
  }
}
@media (max-width: 767.98px) {
  :root {
    --mx-space-lg: 40px;
    --mx-space-section: 48px;
    --mx-header: 72px;
  }
  .home-page .hero-aside > p,
  .home-page .hero-social {
    display: none;
  }
  .hero-shell,
  .services,
  .how,
  .why,
  .testimonials,
  .team,
  .site-footer,
  .mosaic {
    margin-left: 12px;
    margin-right: 12px;
  }
  .team--plain,
  .testimonials--plain {
    margin-left: 0;
    margin-right: 0;
  }
  .hero-shell {
    padding: 12px 12px 0;
  }
  /* Align transparent header with hero inset (shell margin + padding) */
  .page-wrap > .site-header,
  .page-wrap > .site-nav-placeholder.is-active {
    margin: 12px 24px 0;
  }
  .site-header-sticky {
    padding: 12px 12px 0;
  }
  .site-nav,
  .brand,
  .nav-end,
  .site-header-sticky .site-nav {
    min-height: 72px;
  }
  .brand {
    padding-left: 8px;
    padding-right: 12px;
  }
  .brand img {
    width: 90px;
  }
  .menu-btn {
    min-height: 44px;
    padding-inline: 12px;
  }
  .mosaic-frame {
    width: 100%;
  }
  .stat-cards,
  .about-stats {
    display: grid;
    grid-template-columns: 1fr;
  }
  .stat-card {
    width: 100%;
    min-height: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-collage {
    width: 100%;
    height: auto;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head > :first-child {
    padding-right: 0;
  }
  .services {
    padding: var(--mx-space-section) 0 var(--mx-space-md);
  }
  .how {
    padding-bottom: var(--mx-space-lg);
  }
  .how-copy {
    margin-top: 24px;
  }
  .how-visual {
    max-height: 520px;
  }
  .step-card {
    padding: 22px;
    gap: 12px;
  }
  .step-card p {
    font-size: 16px;
    line-height: 26px;
  }
  .service-card {
    padding: 24px 20px 32px;
  }
  .service-card h3 {
    font-size: 28px;
  }
  .why {
    margin-top: var(--mx-space-lg);
    padding: var(--mx-space-section) 0;
  }
  :root {
    --offer-height: 480px;
    --offer-overlap: 160px;
    --offer-gap: 48px;
    --offer-footer-gap: 36px;
    --offer-avatar-size: 40px;
  }
  .offer {
    --offer-ring-far: 114cqi;
    --offer-ring-outer: 98cqi;
    --offer-ring-mid: 84cqi;
    --offer-ring-inner: 70cqi;
    --offer-orbit-outer: calc(var(--offer-ring-outer) / 2);
    --offer-orbit-mid: calc(var(--offer-ring-mid) / 2);
    --offer-orbit-inner: calc(var(--offer-ring-inner) / 2);
  }
  .blog {
    padding-bottom: calc(var(--offer-overlap) + var(--offer-gap));
  }
  .site-footer > .offer {
    width: min(1320px, 100% - 24px);
  }
  .offer-avatars img,
  .offer-avatar {
    border-width: 2px;
    box-shadow: 0 6px 16px rgba(17, 17, 17, 0.12);
  }
  .offer-avatars .a1 {
    --orbit-angle: -155deg;
  }
  .offer-avatars .a2 {
    --orbit-angle: 180deg;
  }
  .offer-avatars .a3 {
    --orbit-angle: 145deg;
  }
  .offer-avatars .a4 {
    --orbit-angle: 35deg;
  }
  .offer-avatars .a5 {
    --orbit-angle: 0deg;
  }
  .offer-avatars .a6 {
    --orbit-angle: -25deg;
  }
  .offer-content {
    padding: var(--mx-space-lg) 20px;
    max-width: 520px;
  }
  .site-nav {
    padding: 0 16px;
  }
  .hero-grid {
    padding: 36px 16px 160px;
  }
  .hero-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(32px, 9vw, 52px);
  }
  .hero-copy p {
    font-size: 16px;
    line-height: 26px;
  }
  .case-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid h2 {
    font-size: 28px;
    line-height: 1.25;
  }
  .about-split .why-tabs.tabs-3 {
    grid-template-columns: 1fr;
  }
  .about-split > * {
    min-width: 0;
  }
}
@media (max-width: 575.98px) {
  .pill-tag {
    padding: 10px 16px;
    font-size: 14px;
  }
  .btn-cta .btn-cta-label {
    padding: 13px 18px;
    font-size: 15px;
  }
  .btn-cta img,
  .btn-cta .btn-cta-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .danger-card h4 {
    font-size: 22px;
  }
  .danger-card p {
    font-size: 14px;
    line-height: 22px;
  }
  .stat-card {
    width: 100%;
    max-width: 100%;
  }
  .page-wrap::before,
  .page-wrap::after {
    width: 420px;
    height: 420px;
  }
}
@media (max-width: 429.98px) {
  .container-perfect-evolvers {
    width: calc(100% - 28px);
  }
  :root {
    --offer-avatar-size: 36px;
  }
  .offer-content {
    padding: 48px 16px;
  }
  .offer-form input {
    height: 60px;
    padding-right: 68px;
  }
  .offer-form button,
  .offer-form button img {
    width: 44px;
    height: 44px;
  }
  .offer-form button {
    top: 8px;
    right: 8px;
  }
  .offer-form button .plane {
    left: 10px;
    top: 10px;
    width: 22px;
    height: 22px;
  }
}
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.error-page .brand {
  justify-content: center;
  border: 0;
  min-height: auto;
  margin-bottom: 32px;
}

.error-page .section-title {
  color: var(--mx-white);
  max-width: 640px;
  margin: 0 auto 24px;
}

.error-page p {
  max-width: 480px;
  margin: 0 auto 32px;
}

/*----------------------------------------
    21. Inner pages (cascade-sensitive order)
----------------------------------------*/
/*----------------------------------------
    Home
----------------------------------------*/
/*----------------------------------------
    Inner — Page Hero / Breadcrumb
----------------------------------------*/
/* --------------------------------------------------------------------------
   21. Inner pages
   -------------------------------------------------------------------------- */
.hero--page {
  min-height: 588px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header outside <main>, visually overlaid on the banner hero (one teal block) */
.page-wrap > .site-header {
  position: relative;
  z-index: 30;
  margin: var(--mx-gutter) var(--mx-gutter) 0;
  background: transparent;
  color: var(--mx-white);
  overflow: visible;
}

.page-wrap > .site-header .site-nav,
.page-wrap > .site-nav-placeholder.is-active {
  flex-shrink: 0;
  position: relative;
  z-index: 30;
}

.page-wrap > .site-nav-placeholder.is-active {
  margin: var(--mx-gutter) var(--mx-gutter) 0;
}

.hero-shell--banner {
  padding-top: 0;
  margin-top: calc(-1 * var(--mx-header));
}

.hero--banner {
  padding-top: var(--mx-header);
}

.home-page .page-wrap > .site-header {
  color: var(--mx-ink);
}
@media (min-width: 1200px) {
  .home-page .page-wrap > .site-header {
    width: calc(100% - 120px);
    margin-left: auto;
    margin-right: auto;
  }
}
.home-page .site-header .site-nav {
  border-bottom-color: rgba(17, 17, 17, 0.12);
}
.home-page .site-header .brand,
.home-page .site-header .nav-end {
  border-color: rgba(17, 17, 17, 0.12);
}
.home-page .site-header .nav-links a,
.home-page .site-header .nav-links .nav-link-btn {
  color: var(--mx-white);
}
.home-page .site-header .menu-btn {
  background: rgba(17, 17, 17, 0.04);
  border-color: rgba(17, 17, 17, 0.14);
  color: var(--mx-white);
}
.home-page .site-header .menu-btn__bars span {
  background: var(--mx-white);
}
.home-page .hero--banner {
  background: #f8f6f4;
  color: var(--mx-ink);
}
.home-page .hero--banner .hero-copy h1 {
  color: var(--mx-ink);
}
.home-page .hero--banner .pill-tag {
  border-color: rgba(17, 17, 17, 0.18);
  color: var(--mx-ink);
}
.home-page .hero--banner .pill-tag img {
  filter: brightness(0);
}
.home-page .hero--banner .pill-tag:hover img,
.home-page .hero--banner .pill-tag:focus-visible img {
  filter: brightness(0);
}
.home-page .hero--banner .pill-tag:hover,
.home-page .hero--banner .pill-tag:focus-visible {
  color: var(--mx-ink);
}
.home-page .hero--banner .hero-aside {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mx-ink);
  backdrop-filter: none;
}
.home-page .hero--banner .hero-grid {
  padding-bottom: 48px;
}
.home-page .hero--banner .stat-card.glass {
  border-color: rgba(17, 17, 17, 0.1);
  color: var(--mx-ink);
}
.home-page .hero--banner .hero-social a:not(.hero-social__text-link) {
  border-radius: 50%;
  background: var(--mx-ink);
}
.home-page .hero--banner .hero-social a.hero-social__text-link {
  border-color: rgba(17, 17, 17, 0.32);
  color: var(--mx-ink);
}
.home-page .hero--banner.is-video-playing {
  background: transparent;
  color: var(--mx-white);
}
.home-page .hero--banner.is-video-playing .hero-copy h1,
.home-page .hero--banner.is-video-playing .hero-aside {
  color: var(--mx-white);
}
.home-page .hero--banner.is-video-playing .pill-tag {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--mx-white);
}
.home-page .hero--banner.is-video-playing .pill-tag img {
  filter: brightness(0) invert(1);
}
.home-page .hero--banner.is-video-playing .pill-tag:hover img,
.home-page .hero--banner.is-video-playing .pill-tag:focus-visible img {
  filter: brightness(0) invert(1);
}
.home-page .hero--banner.is-video-playing .pill-tag:hover,
.home-page .hero--banner.is-video-playing .pill-tag:focus-visible {
  color: var(--mx-white);
}
.home-page .hero--banner.is-video-playing .hero-social a:not(.hero-social__text-link) {
  background: transparent;
}
.home-page .hero--banner.is-video-playing .hero-social a.hero-social__text-link {
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--mx-white);
}

.page-banner {
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero--page.hero--banner:not(.hero--about)::before,
.hero--page.hero--banner:not(.hero--about)::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: min(560px, 42%);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero--page.hero--banner:not(.hero--about)::before {
  left: 0;
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%);
  background-position: left center;
  -webkit-mask: url("../images/breadcrum-bg-1-brand.png") left center / contain no-repeat;
  mask: url("../images/breadcrum-bg-1-brand.png") left center / contain no-repeat;
}

.hero--page.hero--banner:not(.hero--about)::after {
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%);
  background-position: right center;
  -webkit-mask: url("../images/breadcrum-bg-2-brand.png") right center / contain no-repeat;
  mask: url("../images/breadcrum-bg-2-brand.png") right center / contain no-repeat;
}

.page-hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 72px;
  position: relative;
  z-index: 2;
}

.page-hero-copy h1 {
  font-family: var(--mx-font-serif);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1;
  font-weight: 400;
  margin: 0 0 20px;
}

.page-hero-copy p {
  max-width: 690px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-copy .scroll-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 80px;
}

.page-hero-copy .scroll-hint img {
  width: 30px;
  height: auto;
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

.page-hero-copy .btn-cta {
  margin-top: 8px;
}

.hero--blog-details {
  min-height: 640px;
}

.page-hero-copy--blog {
  gap: 0;
  padding: 56px 24px 72px;
}

.page-hero-copy--blog .blog-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.page-hero-copy--blog .blog-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.28);
  color: var(--mx-white);
  font-family: var(--mx-font-sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.page-hero-copy--blog .blog-hero-meta li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mx-white);
  flex-shrink: 0;
}

.page-hero-copy--blog h1 {
  max-width: 920px;
  margin: 0 0 32px;
  font-size: clamp(36px, 4.8vw, 72px);
  line-height: 1.08;
}

.page-hero-copy--blog .blog-hero-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 22px 8px 8px;
  background: var(--mx-white);
  border-radius: 999px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.12);
}

.page-hero-copy--blog .blog-hero-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.page-hero-copy--blog .blog-hero-author span {
  display: block;
  font-family: var(--mx-font-sans);
  font-size: 13px;
  line-height: 1.2;
  color: var(--mx-muted);
  margin-bottom: 2px;
}

.page-hero-copy--blog .blog-hero-author strong {
  display: block;
  font-family: var(--mx-font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--mx-ink);
}

.hero--about {
  min-height: 860px;
  overflow: hidden;
}

.hero--about.hero--banner::before,
.hero--about.hero--banner::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: min(560px, 42%);
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero--about.hero--banner::before {
  left: 0;
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%);
  background-position: left center;
  -webkit-mask: url("../images/breadcrum-bg-1-brand.png") left center / contain no-repeat;
  mask: url("../images/breadcrum-bg-1-brand.png") left center / contain no-repeat;
}

.hero--about.hero--banner::after {
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%);
  background-position: right center;
  transform: none;
  -webkit-mask: url("../images/breadcrum-bg-2-brand.png") right center / contain no-repeat;
  mask: url("../images/breadcrum-bg-2-brand.png") right center / contain no-repeat;
}

.hero--about .page-hero-copy--about {
  gap: 0;
  padding: 56px clamp(24px, 10vw, 160px) 80px;
}

.hero--about .page-hero-copy h1 {
  max-width: 1100px;
  width: 100%;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.12;
  margin: 28px auto 22px;
}

.hero--about .page-hero-copy p {
  max-width: 700px;
  margin: 0 0 36px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.about-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  border-radius: var(--mx-radius-pill);
  background: rgba(17, 17, 17, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: var(--mx-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.about-rating-chip .avatars {
  display: flex;
  flex-shrink: 0;
}

.about-rating-chip .avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  margin-left: -10px;
  object-fit: cover;
}

.about-rating-chip .avatars img:first-child {
  margin-left: 0;
}

.about-rating-chip__stars {
  width: 78px;
  height: auto;
  flex-shrink: 0;
}

.hero--about .about-hero-stats {
  position: absolute;
  z-index: 3;
  isolation: isolate;
}

.hero--about .about-hero-stats.is-left {
  left: 40px;
  top: 46%;
  transform: translateY(-50%);
}

.hero--about .about-hero-stats.is-right {
  left: auto;
  right: 40px;
  top: auto;
  bottom: 16%;
  transform: none;
}

.hero--about .about-hero-stats.glass-chip,
.glass-chip {
  width: 221px;
  height: 143px;
  min-height: 143px;
  box-sizing: border-box;
  border-radius: 15px;
  border: 0;
  padding: 24px 22px;
  color: var(--mx-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: none;
}

.hero--about .about-hero-stats.glass-chip::before,
.glass-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(200, 16, 46, 0.06) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.glass-chip strong,
.glass-chip span {
  position: relative;
  z-index: 2;
}

.glass-chip strong {
  display: block;
  font-family: var(--mx-font-sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 8px;
  color: var(--mx-white);
}

.glass-chip span {
  display: block;
  max-width: 11em;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--mx-white);
}

/*----------------------------------------
    Inner — 404
----------------------------------------*/
.page-404 {
  background: var(--mx-page);
}

.page-404 .page-wrap::before,
.page-404 .page-wrap::after {
  display: none;
}

.page-404 .hero-shell--banner {
  min-height: calc(100svh - var(--mx-gutter));
  box-sizing: border-box;
}

.hero--error {
  min-height: calc(100svh - var(--mx-gutter));
  display: flex;
  flex-direction: column;
}

.hero--error.hero--banner {
  min-height: 100%;
}

/* Override .hero--page wave styles so the 404 bg matches the mockup */
.hero--page.hero--error.hero--banner::before,
.hero--page.hero--error.hero--banner::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: min(640px, 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  transform: none;
}

.hero--page.hero--error.hero--banner::before {
  left: 0;
  right: auto;
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%);
  background-position: left top;
  -webkit-mask: url("../images/breadcrum-bg-1-brand.png") left top / contain no-repeat;
  mask: url("../images/breadcrum-bg-1-brand.png") left top / contain no-repeat;
}

.hero--page.hero--error.hero--banner::after {
  right: 0;
  left: auto;
  background: linear-gradient(135deg, #ffffff 0%, #c8102e 100%);
  background-position: right top;
  -webkit-mask: url("../images/breadcrum-bg-2-brand.png") right top / contain no-repeat;
  mask: url("../images/breadcrum-bg-2-brand.png") right top / contain no-repeat;
}

.page-hero-copy--error {
  padding: 48px 24px 40px;
  gap: 0;
}

.page-hero-copy--error h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.14;
  margin: 40px 0 30px;
}

.page-hero-copy--error p {
  max-width: 665px;
  margin: 0 0 40px;
  font-size: 20px;
  line-height: 30px;
  color: var(--mx-white);
}

.page-hero-copy--error .btn-cta {
  margin-top: 0;
}

.error-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 18px);
  width: min(624px, 100%);
  min-height: clamp(140px, 18vw, 240px);
  margin: 0 auto;
  user-select: none;
}

.error-graphic__digit {
  display: block;
  font-family: var(--mx-font-sans);
  font-weight: 900;
  font-size: clamp(120px, 16vw, 228px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  color: var(--mx-white);
  text-shadow: 5px 7px 0 rgba(17, 17, 17, 0.35), 1px 1px 0 rgba(17, 17, 17, 0.2);
}

.error-graphic__zero {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(120px, 14vw, 207px);
  height: clamp(120px, 14vw, 207px);
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mx-red);
  box-shadow: 6px 8px 0 rgba(17, 17, 17, 0.18);
}

.error-graphic__zero-label {
  font-family: var(--mx-font-sans);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--mx-ink);
  text-transform: lowercase;
}

.error-marquee {
  overflow: hidden;
  margin-top: auto;
  padding: 35px 0;
  background: var(--mx-red);
  color: var(--mx-ink);
  position: relative;
  z-index: 2;
}

.error-marquee__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: mx-marquee 22s linear infinite;
  font-family: var(--mx-font-serif);
  font-size: clamp(28px, 4vw, 62px);
  line-height: 1;
  white-space: nowrap;
  color: var(--mx-ink);
}

.error-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.error-marquee__track span::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--mx-ink);
  flex: 0 0 auto;
}

@keyframes mx-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/*----------------------------------------
    Inner — About Page
----------------------------------------*/
.inner-section {
  padding: var(--mx-space-section) 0;
}

.blog.inner-section {
  padding-bottom: calc(var(--offer-overlap) + var(--offer-gap));
}

.about-split .why-tabs.tabs-3 {
  gap: 12px;
  margin: 28px 0 0;
  grid-template-columns: repeat(3, max-content);
}

.about-split .why-tab {
  min-height: 52px;
  padding: 12px 22px;
  background: var(--mx-white);
  color: var(--mx-ink);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
  font-family: var(--mx-font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.04);
}

.about-split .why-tab.is-active,
.about-split .why-tab.active {
  background: var(--mx-red);
  border-color: var(--mx-red);
  color: var(--mx-ink);
  box-shadow: none;
}

.about-split .why-tab:hover:not(.is-active):not(.active) {
  background: var(--mx-white);
}

.about-split .why-tab-panel > p {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  max-width: 602px;
  margin: 24px 0 0;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.about-photos {
  position: relative;
  min-height: 605px;
}

.about-photos img {
  width: 350px;
  height: 410px;
  object-fit: cover;
  border-radius: 20px;
  position: absolute;
  box-sizing: border-box;
  border: 1px solid var(--mx-white);
  background: var(--mx-white);
}

.about-photos img:first-child {
  left: 0;
  bottom: 0;
  z-index: 1;
}

.about-photos img:last-child {
  right: 0;
  top: 0;
  z-index: 2;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: var(--mx-space-lg);
}

.what-we-do {
  background: var(--mx-red);
  border-radius: var(--mx-radius-xl);
  margin: 0 var(--mx-gutter);
  padding: var(--mx-space-section) 0;
  color: var(--mx-ink);
}

.what-we-do .eyebrow {
  color: var(--mx-ink);
  margin-bottom: 14px;
}

.what-we-do .section-head {
  margin-bottom: 0;
}

.what-we-do .section-head .section-title {
  text-align: center;
  max-width: none;
  margin-inline: auto;
  color: var(--mx-ink);
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1.2;
}

.what-we-do__rule {
  position: relative;
  width: min(1100px, 100%);
  height: 5px;
  margin: 28px auto 56px;
  border: 0;
}

.what-we-do__rule::before,
.what-we-do__rule::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px solid var(--mx-ink);
}

.what-we-do__rule::before {
  top: 0;
}

.what-we-do__rule::after {
  bottom: 0;
}

.do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  text-align: center;
}

.do-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.do-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
  margin: 0 auto 28px;
}

.do-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--mx-ink);
}

.do-card p {
  color: var(--mx-ink);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 260px;
}

.do-card::before,
.do-card::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--mx-ink);
  margin-left: auto;
  margin-right: auto;
  flex-shrink: 0;
}

.do-card::before {
  order: 1;
  width: 52px;
  margin-top: 22px;
}

.do-card::after {
  order: 2;
  width: 52px;
  margin-top: 5px;
}

/*----------------------------------------
    Services Page
----------------------------------------*/
/*----------------------------------------
    Projects Page
----------------------------------------*/
/*----------------------------------------
    Inner — Team Page
----------------------------------------*/
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/*----------------------------------------
    Testimonials Page
----------------------------------------*/
/*----------------------------------------
    Inner — Pricing Page
----------------------------------------*/
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--mx-cream);
  border-radius: var(--mx-radius-md);
  padding: 60px 45px 50px;
  min-height: 664px;
  display: flex;
  flex-direction: column;
}

.pricing-card.is-featured {
  background: var(--mx-teal);
  color: var(--mx-white);
}

.pricing-card .plan {
  font-size: 20px;
  margin: 0 0 8px;
}

.pricing-card .price {
  font-family: var(--mx-font-serif);
  font-size: 80px;
  line-height: 1;
  margin: 0;
  font-weight: 400;
}

.pricing-card .price small {
  font-family: var(--mx-font-sans);
  font-size: 16px;
  margin-left: 8px;
}

.pricing-card .rule-double {
  height: 4px;
  border: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  opacity: 0.25;
  margin: 24px 0 28px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 18px;
}

.pricing-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--mx-red);
  flex-shrink: 0;
}

.pricing-cta {
  display: block;
  text-align: center;
  background: var(--mx-red);
  color: var(--mx-ink);
  border-radius: var(--mx-radius-md);
  padding: 21px 20px;
  font-weight: 600;
  margin-top: 28px;
}

button.pricing-cta {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
}

.pricing-card.is-featured .pricing-cta {
  background: var(--mx-white);
}

.pricing-section {
  padding: var(--mx-space-section) 0;
}

.pricing-section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--mx-space-lg);
}

.pricing-section__head .eyebrow {
  margin-bottom: 12px;
}

.pricing-section__head .section-title {
  margin: 0 auto;
  max-width: 720px;
}

.pricing-grid--plans {
  gap: 28px;
  align-items: stretch;
}

.pricing-card--plan {
  position: relative;
  background: var(--mx-white);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 40px 36px 36px;
  min-height: 0;
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.05);
  color: var(--mx-ink);
}

.pricing-card--plan .plan {
  font-family: var(--mx-font-sans);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--mx-ink);
}

.pricing-card--plan .price {
  font-family: var(--mx-font-sans);
  font-size: clamp(48px, 4vw, 64px);
  font-weight: 700;
  line-height: 1;
  margin: 0;
  color: var(--mx-ink);
}

.pricing-card--plan .price small {
  font-family: var(--mx-font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--mx-muted);
  margin-left: 6px;
}

.pricing-card--plan .pricing-card__rule {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-top: 1px dashed rgba(17, 17, 17, 0.28);
  border-bottom: 1px dashed rgba(17, 17, 17, 0.28);
  margin: 26px 0 30px;
  opacity: 1;
  background: none;
  color: transparent;
}

.pricing-card--plan ul {
  margin: 0 0 36px;
}

.pricing-card--plan li {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mx-muted);
}

.pricing-card--plan .dot {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--mx-ink);
}

.pricing-card--plan .pricing-cta {
  margin-top: auto;
  border-radius: var(--mx-radius-pill);
  background: var(--mx-red);
  color: var(--mx-ink);
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--mx-ease);
}

.pricing-card--plan .pricing-cta:hover,
.pricing-card--plan .pricing-cta:focus-visible {
  background: #a90d27;
  transform: translateY(-2px);
}

.pricing-card--plan.is-recommended {
  border-color: var(--mx-teal);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

.pricing-card--plan.is-recommended .pricing-cta {
  background: var(--mx-teal);
  color: var(--mx-white);
}

.pricing-card--plan.is-recommended .pricing-cta:hover,
.pricing-card--plan.is-recommended .pricing-cta:focus-visible {
  background: var(--mx-teal-dark);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--mx-teal);
  color: var(--mx-white);
  font-family: var(--mx-font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  z-index: 1;
}

/*----------------------------------------
    Inner — Appointment Cards
----------------------------------------*/
.appointments-section {
  padding: var(--mx-space-section) 0;
}

.appointments-section__head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto var(--mx-space-lg);
}

.appointments-section__head .eyebrow {
  margin-bottom: 14px;
}

.appointments-section__head .section-title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.2;
}

.appointments-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.appointment-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  background: var(--mx-white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 32px rgba(17, 17, 17, 0.04);
}

.appointment-card__copy h3 {
  font-family: var(--mx-font-serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--mx-ink);
  margin: 0 0 16px;
}

.appointment-card__copy > p {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 30px;
  color: var(--mx-muted);
  max-width: 520px;
}

.appointment-card__copy .check-list {
  margin: 0;
}

.appointment-card__copy .check-list li {
  font-size: 16px;
  font-weight: 500;
  color: var(--mx-ink);
  margin-bottom: 14px;
}

.appointment-card__copy .check-list li:last-child {
  margin-bottom: 0;
}

.appointment-card__media {
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
}

.appointment-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/*----------------------------------------
    Inner — Filters
----------------------------------------*/
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-pills button {
  border: 0;
  background: var(--mx-cream);
  border-radius: var(--mx-radius-pill);
  min-height: 52px;
  padding: 0 22px;
  font-weight: 500;
}

.filter-pills button.is-active,
.filter-pills button:hover {
  background: var(--mx-red);
}

.faq-filters,
.blog-filters {
  width: 100%;
  margin: 0 0 var(--mx-space-lg);
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-filters__rule,
.blog-filters__rule {
  position: relative;
  width: 100%;
  height: 5px;
  margin: 0;
  border: 0;
}

.faq-filters__rule::before,
.faq-filters__rule::after,
.blog-filters__rule::before,
.blog-filters__rule::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px dashed var(--mx-dash);
}

.faq-filters__rule::before,
.blog-filters__rule::before {
  top: 0;
}

.faq-filters__rule::after,
.blog-filters__rule::after {
  bottom: 0;
}

.faq-filters .filter-pills--faq,
.blog-filters .filter-pills--blog {
  margin-bottom: 0;
  gap: 14px;
}

.filter-pills--faq button,
.filter-pills--blog button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  background: var(--mx-white);
  color: var(--mx-ink);
  font-family: var(--mx-font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.04);
}

.filter-pills--faq button img,
.filter-pills--blog button img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  filter: brightness(0);
}

.filter-pills--faq button.is-active,
.filter-pills--faq button:hover,
.filter-pills--blog button.is-active,
.filter-pills--blog button:hover {
  background: var(--mx-red);
  box-shadow: none;
}

/*----------------------------------------
    Inner — FAQ
----------------------------------------*/
.faq-about {
  padding: var(--mx-space-section) 0;
}

.faq-about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.15fr;
  gap: var(--mx-space-lg);
  align-items: stretch;
}

.faq-about__intro {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.faq-about__intro .eyebrow {
  margin-bottom: 12px;
}

.faq-about__intro .section-title {
  margin: 0;
  max-width: 420px;
}

.faq-about__media {
  position: relative;
  display: grid;
  border-radius: 18px;
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  margin-top: auto;
  padding-top: 48px;
}

.faq-about__media > img {
  grid-area: 1/1;
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
}

.faq-about__media .btn-cta {
  grid-area: 1/1;
  place-self: center;
  z-index: 1;
  gap: 0;
}

.faq-about__media .btn-cta img {
  margin-left: -8px;
}

.faq-about .faq-item {
  background: var(--mx-white);
  border-radius: 15px;
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-about .faq-item:last-child {
  margin-bottom: 0;
}

.faq-about .faq-item__btn {
  position: relative;
  padding: 22px 22px 22px 28px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 400;
}

.faq-about .faq-item.is-open .faq-item__btn {
  border-bottom: 0;
  padding-bottom: 18px;
}

.faq-about .faq-item.is-open .faq-item__btn::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
  pointer-events: none;
}

.faq-about .faq-item__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 2px;
  background: var(--mx-red);
  color: var(--mx-ink);
  display: grid;
  place-items: center;
  transform: none;
}

.faq-about .faq-item.is-open .faq-item__icon {
  transform: none;
  background: var(--mx-red);
  color: var(--mx-ink);
}

.faq-about .faq-item__icon img {
  width: 12px;
  height: 7px;
  display: block;
  filter: brightness(0);
  transform: rotate(180deg);
  transition: transform 0.25s var(--mx-ease);
}

.faq-about .faq-item.is-open .faq-item__icon img {
  transform: rotate(0deg);
}

.faq-about .faq-item__panel p {
  padding: 18px 28px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mx-muted);
  margin: 0;
}

.faq-contact {
  background: var(--mx-cream);
  border-radius: var(--mx-radius-xl);
  margin: 0 var(--mx-gutter) 0;
  padding: var(--mx-space-section) 0;
}

.faq-contact__title {
  font-family: var(--mx-font-serif);
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  color: var(--mx-ink);
  max-width: 780px;
  margin: 0 auto var(--mx-space-lg);
}

.faq-contact__list {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.faq-contact .faq-item {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  min-height: 80px;
}

.faq-contact .faq-item.is-open {
  min-height: 200px;
}

.faq-contact .faq-item:last-child {
  margin-bottom: 0;
}

.faq-contact .faq-item__btn {
  min-height: 80px;
  padding: 24px 20px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--mx-ink);
  gap: 24px;
  border: 0;
  border-bottom: 0 !important;
  position: relative;
  box-shadow: none;
}

.faq-contact .faq-item.is-open .faq-item__btn {
  min-height: 0;
  padding-bottom: 20px;
  border-bottom: 0 !important;
}

.faq-contact .faq-item.is-open .faq-item__btn::after {
  content: none;
  display: none;
}

.faq-contact .faq-item__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 2px;
  background: var(--mx-red);
  color: var(--mx-ink);
  display: grid;
  place-items: center;
  transform: none;
}

.faq-contact .faq-item.is-open .faq-item__icon {
  transform: none;
  background: var(--mx-red);
  color: var(--mx-ink);
}

.faq-contact .faq-item__icon img {
  width: 14px;
  height: 8px;
  display: block;
  filter: brightness(0);
  transform: rotate(180deg);
  transition: transform 0.25s var(--mx-ease);
}

.faq-contact .faq-item.is-open .faq-item__icon img {
  transform: rotate(0deg);
}

.faq-contact .faq-item__panel {
  width: 100%;
}

.faq-contact .faq-item__panel-inner {
  width: auto;
  margin: 0 20px;
  border-top: 0 solid transparent;
}

.faq-contact .faq-item.is-open .faq-item__panel-inner {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.faq-contact .faq-item__panel p {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 20px 0 28px;
  margin: 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--mx-muted);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: start;
}

.faq-layout h2 {
  font-family: var(--mx-font-serif);
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--mx-ink);
  padding-top: 8px;
}

.faq-layout [data-accordion] {
  min-width: 0;
}

.faq-item {
  background: var(--mx-cream);
  border-radius: var(--mx-radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-layout .faq-item {
  background: var(--mx-white);
  border-radius: 10px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.faq-layout .faq-item:last-child {
  margin-bottom: 0;
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 28px 30px;
  font-family: var(--mx-font-serif);
  font-size: 22px;
  line-height: 34px;
  color: var(--mx-ink);
  cursor: pointer;
}

.faq-layout .faq-item__btn {
  min-height: 80px;
  padding: 24px 24px 24px 28px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 400;
}

.faq-layout .faq-item.is-open .faq-item__btn {
  padding-bottom: 20px;
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mx-teal);
  color: var(--mx-white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--mx-ease);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--mx-red);
  color: var(--mx-ink);
}

.faq-layout .faq-item__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 2px;
  background: var(--mx-red);
  color: var(--mx-ink);
  transform: none;
}

.faq-layout .faq-item.is-open .faq-item__icon {
  transform: none;
  background: var(--mx-red);
}

.faq-layout .faq-item__icon img {
  width: 12px;
  height: 7px;
  display: block;
  filter: brightness(0);
  transform: rotate(180deg);
  transition: transform 0.25s var(--mx-ease);
}

.faq-layout .faq-item.is-open .faq-item__icon img {
  transform: rotate(0deg);
}

.faq-item__panel {
  border: 0;
}

.faq-item__panel-inner {
  overflow: hidden;
}

.faq-layout .faq-item__panel-inner {
  margin: 0 20px;
  border-top: 0 solid transparent;
}

.faq-layout .faq-item.is-open .faq-item__panel-inner {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.faq-item__panel p {
  margin: 0;
  padding: 0 30px 28px;
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 28px;
  padding-top: 20px;
  margin-top: -8px;
}

.faq-layout .faq-item__panel p {
  border-top: 0;
  margin-top: 0;
  padding: 20px 8px 28px;
  font-size: 16px;
  line-height: 28px;
  color: var(--mx-muted);
}

.faq-page {
  padding-top: var(--mx-space-lg);
}

.faq-page [data-cat] {
  margin-bottom: var(--mx-space-section);
}

.faq-page [data-cat]:last-child {
  margin-bottom: 0;
}

/*----------------------------------------
    Blog Page
----------------------------------------*/
/*----------------------------------------
    Blog Details Page
----------------------------------------*/
/*----------------------------------------
    Forms
----------------------------------------*/
.mx-form {
  background: var(--mx-cream);
  border-radius: var(--mx-radius-xl);
  padding: 60px 48px;
}

.schedule-section {
  position: relative;
  margin: var(--mx-space-section) var(--mx-gutter) var(--mx-space-md);
}

.schedule-section__media {
  border-radius: var(--mx-radius-xl);
  overflow: hidden;
  height: clamp(460px, 52vw, 680px);
}

.schedule-section__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.schedule-section__form {
  position: relative;
  z-index: 2;
  margin-top: clamp(-275px, -18vw, -160px);
  padding-bottom: 30px;
}

.schedule-section .book-form {
  margin: 0 auto;
}

.book-form {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--mx-teal);
  border-radius: var(--mx-radius-xl);
  padding: var(--mx-space-xl) 64px var(--mx-space-lg);
  color: var(--mx-white);
  text-align: center;
}

.book-form .eyebrow {
  color: var(--mx-white);
  margin: 0 0 14px;
}

.book-form .section-title {
  color: var(--mx-white);
  margin: 0 auto 40px;
  max-width: 640px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

.book-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.book-form .mx-field {
  margin-bottom: 20px;
  text-align: left;
}

.book-form .mx-field input,
.book-form .mx-field select {
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: var(--mx-radius-pill);
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--mx-white);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.book-form .mx-field input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.book-form .mx-field input[type="date"],
.book-form .mx-field input[type="time"] {
  color-scheme: dark;
}

.book-form .mx-field input[type="date"]::-webkit-calendar-picker-indicator,
.book-form .mx-field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 1;
  cursor: pointer;
}

.book-form .mx-field input:focus,
.book-form .mx-field select:focus {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.book-form .mx-field select {
  appearance: none;
  cursor: pointer;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-color: rgba(255, 255, 255, 0.08);
  background-size: 12px 7px;
}

.book-form .mx-field select:invalid,
.book-form .mx-field select option[value=""] {
  color: rgba(255, 255, 255, 0.72);
}

.book-form .mx-field select option {
  color: var(--mx-ink);
  background: var(--mx-white);
}

.book-form__time-note {
  margin: -4px 0 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-align: left;
}

.book-form .mx-field.is-error input,
.book-form .mx-field.is-error select {
  box-shadow: 0 0 0 2px #c8102e;
}

.book-form__cta {
  display: block;
  width: 100%;
  min-height: 70px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--mx-radius-pill);
  background: var(--mx-red);
  color: var(--mx-ink);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s var(--mx-ease);
}

.book-form__cta:hover,
.book-form__cta:focus-visible {
  background: #a90d27;
}

.book-form__cta:active {
  transform: translateY(1px);
}

.book-form .form-status {
  margin: 16px 0 0;
  color: var(--mx-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mx-field {
  margin-bottom: 20px;
}

.mx-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.mx-field input,
.mx-field select,
.mx-field textarea {
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: var(--mx-radius-md);
  padding: 0 24px;
  background: var(--mx-white);
  color: var(--mx-ink);
}

.mx-field select {
  appearance: none;
  background-image: url("../images/chevron.svg");
  background-repeat: no-repeat;
  background-position: right 24px center;
}

.mx-field textarea {
  min-height: 170px;
  padding: 20px 24px;
  resize: vertical;
}

.mx-field.is-error input,
.mx-field.is-error select,
.mx-field.is-error textarea {
  outline: 2px solid #c8102e;
}

/*----------------------------------------
    Inner — Contact
----------------------------------------*/
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--mx-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(17, 17, 17, 0.06);
}

.contact-split .mx-form--contact,
.mx-form--contact {
  background: transparent;
  border-radius: 0;
  padding: 48px 48px 44px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mx-form--contact .form-row {
  gap: 20px;
  margin-bottom: 0;
}

.mx-form--contact .mx-field {
  margin-bottom: 22px;
}

.mx-form--contact .form-row .mx-field {
  margin-bottom: 22px;
}

.mx-form--contact .mx-field label {
  margin-bottom: 10px;
  font-family: var(--mx-font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mx-ink);
}

.mx-form--contact .mx-field input,
.mx-form--contact .mx-field select,
.mx-form--contact .mx-field textarea {
  min-height: 58px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0 20px;
  background: var(--mx-white);
  color: var(--mx-ink);
  font-family: var(--mx-font-sans);
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mx-form--contact .mx-field input::placeholder,
.mx-form--contact .mx-field textarea::placeholder {
  color: #666666;
  opacity: 1;
}

.mx-form--contact .mx-field input:focus,
.mx-form--contact .mx-field select:focus,
.mx-form--contact .mx-field textarea:focus {
  border-color: rgba(200, 16, 46, 0.45);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.mx-form--contact .mx-field select {
  color: var(--mx-ink);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230B1E1F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 7px;
  padding-right: 48px;
  cursor: pointer;
}

.mx-form--contact .mx-field select:invalid {
  color: #666666;
}

.mx-form--contact .mx-field select option {
  color: var(--mx-ink);
}

.mx-form--contact .mx-field textarea {
  min-height: 148px;
  padding: 16px 20px;
  resize: vertical;
}

.mx-form--contact .btn-cta {
  align-self: flex-start;
  gap: 8px;
  margin-top: 4px;
}

.mx-form--contact .btn-cta .btn-cta-label {
  min-height: 52px;
  padding: 13px 30px;
}

.contact-photo {
  position: relative;
  background: transparent;
}

.contact-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: var(--mx-radius-lg);
  object-fit: cover;
  object-position: center top;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.contact-card {
  background: var(--mx-white);
  border-radius: 12px;
  padding: 36px 40px;
  min-height: 168px;
  box-shadow: 0 8px 28px rgba(17, 17, 17, 0.05);
}

.contact-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 24px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--mx-ink);
  margin: 0 0 16px;
}

.contact-card p {
  margin: 0;
  font-family: var(--mx-font-sans);
  font-size: 16px;
  line-height: 28px;
  color: var(--mx-ink-soft);
}

.contact-card a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--mx-teal);
}

.contact-card .social-row--contact {
  gap: 10px;
  flex-wrap: wrap;
}

.contact-card .social-row--contact a {
  width: 42px;
  height: 42px;
}

.contact-card .social-row--contact .social-row__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/*----------------------------------------
    Inner — Project Details
----------------------------------------*/
.meta-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: var(--mx-cream);
  border-radius: var(--mx-radius-md);
  padding: 30px;
  margin-bottom: 40px;
}

.meta-bar span {
  display: block;
  color: var(--mx-muted);
  font-size: 16px;
}

.meta-bar strong {
  display: block;
  font-family: var(--mx-font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-top: 6px;
}

.meta-bar--project {
  background: var(--mx-white);
  border-radius: 16px;
  padding: 28px 36px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04);
  gap: 24px;
}

.meta-bar--project span {
  font-family: var(--mx-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--mx-muted);
}

.meta-bar--project strong {
  font-size: 20px;
  margin-top: 8px;
  color: var(--mx-ink);
}

.project-gallery {
  position: relative;
  margin-bottom: var(--mx-space-lg);
  border-radius: 20px;
  overflow: hidden;
}

.project-gallery > img {
  display: block;
  width: 100%;
  height: clamp(320px, 48vw, 620px);
  object-fit: cover;
}

.prose--project h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin: 48px 0 18px;
  color: var(--mx-ink);
}

.prose--project h2:first-child {
  margin-top: 0;
}

.prose--project h3 {
  font-family: var(--mx-font-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 36px 0 16px;
  color: var(--mx-ink);
}

.prose--project p {
  font-size: 18px;
  line-height: 30px;
  color: var(--mx-muted);
}

.prose--project .check-list {
  margin: 8px 0 0;
}

.prose--project .check-list li {
  font-size: 17px;
  color: var(--mx-ink);
}

.detail-hero-img {
  border-radius: var(--mx-radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 650px;
}

.detail-hero-img img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.prose h2 {
  font-family: var(--mx-font-serif);
  font-size: 36px;
  font-weight: 400;
  margin: 36px 0 16px;
}

.prose p {
  font-size: 18px;
  line-height: 28px;
  color: var(--mx-muted);
}

/*----------------------------------------
    Inner — Service Details
----------------------------------------*/
.service-details {
  padding-top: var(--mx-space-section);
}

.service-details__media {
  max-width: 760px;
  margin: 0 auto var(--mx-space-lg);
  text-align: center;
}

.service-details__media img {
  display: block;
  width: 100%;
  height: auto;
}

.service-details__intro {
  margin: 0 0 var(--mx-space-lg);
  text-align: left;
}

.service-details__intro p,
.service-details__block p {
  margin: 0;
  font-family: var(--mx-font-sans);
  font-size: 18px;
  line-height: 30px;
  color: var(--mx-muted);
}

.service-details__block {
  margin: 0 0 var(--mx-space-lg);
  text-align: left;
}

.service-details__block--process {
  margin-bottom: var(--mx-space-lg);
}

.service-details__block h2 {
  font-family: var(--mx-font-serif);
  font-size: clamp(34px, 3.8vw, 36px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--mx-ink);
  margin: 0 0 var(--mx-space-xs);
}

.service-process-wrap {
  width: 100%;
  margin: 0 0 var(--mx-space-lg);
}

.service-process__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 14px;
  margin: 0 0 30px;
}

.service-process__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px dashed rgba(17, 17, 17, 0.35);
  transform: translateY(-50%);
}

.service-process__dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mx-red);
  flex: 0 0 14px;
  box-shadow: 0 0 0 7px var(--mx-page);
}

.service-process__dot.is-active {
  background: var(--mx-teal);
}

.service-process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

.service-process__item {
  min-width: 0;
  padding-top: 0;
}

.service-process__item h3 {
  font-family: var(--mx-font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--mx-ink);
  margin: 0 0 14px;
}

.service-process__item p {
  margin: 0;
  font-family: var(--mx-font-sans);
  font-size: 16px;
  line-height: 26px;
  color: var(--mx-muted);
  max-width: none;
}

.service-details__photo {
  border-radius: 20px;
  overflow: hidden;
  margin: 0 0 var(--mx-space-lg);
  width: 100%;
}

.service-details__photo img {
  display: block;
  width: 100%;
  height: clamp(340px, 40vw, 520px);
  object-fit: cover;
  object-position: center;
}

.service-details__faq-title {
  font-family: var(--mx-font-serif);
  font-size: clamp(32px, 3.6vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--mx-ink);
  margin: 0 0 var(--mx-space-md);
}

.service-details__faq .faq-contact__list {
  max-width: none;
}

.service-details__faq .faq-item {
  background: var(--mx-white);
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.service-details__faq .faq-item:last-child {
  margin-bottom: 0;
}

.service-details__faq .faq-item__btn {
  min-height: 80px;
  padding: 24px 20px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--mx-ink);
  gap: 24px;
  border: 0;
  border-bottom: 0 !important;
  position: relative;
}

.service-details__faq .faq-item.is-open .faq-item__btn {
  min-height: 0;
  padding-bottom: 20px;
}

.service-details__faq .faq-item.is-open .faq-item__panel-inner {
  margin: 0 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.service-details__faq .faq-item__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 2px;
  background: var(--mx-red);
  color: var(--mx-ink);
  display: grid;
  place-items: center;
  transform: none;
}

.service-details__faq .faq-item.is-open .faq-item__icon {
  transform: none;
  background: var(--mx-red);
}

.service-details__faq .faq-item__icon img {
  width: 14px;
  height: 8px;
  display: block;
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
  transition: transform 0.25s var(--mx-ease);
}

.service-details__faq .faq-item.is-open .faq-item__icon img {
  transform: rotate(0deg);
}

.service-details__faq .faq-item__panel p {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 20px 0 28px;
  margin: 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--mx-muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 18px;
}

/*----------------------------------------
    Page CTA
----------------------------------------*/
.page-cta {
  position: relative;
  margin: 0 var(--mx-gutter) 0;
  border-radius: var(--mx-radius-xl);
  overflow: hidden;
  min-height: 540px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--mx-white);
}

.page-cta > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.48);
}

.page-cta--light {
  min-height: 800px;
}

.page-cta--light::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.9) 100%);
}

.page-cta .inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 780px;
  padding: var(--mx-space-section) 24px;
  margin: 0 auto;
}

.page-cta .eyebrow {
  color: var(--mx-white);
  margin: 0 0 16px;
}

.page-cta h2 {
  font-family: var(--mx-font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.22;
  max-width: 700px;
  margin: 0 0 36px;
  color: var(--mx-white);
}

.btn-cta--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}

.btn-cta--light .btn-cta-label {
  background: var(--mx-white);
  color: var(--mx-ink);
  padding: 13px 30px;
}

.btn-cta--light:hover .btn-cta-label,
.btn-cta--light:focus-visible .btn-cta-label {
  background: #f3f3f3;
}

.btn-cta--light img {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

/*----------------------------------------
    Inner — Responsive
----------------------------------------*/
@media (max-width: 1199.98px) {
  .about-grid {
    gap: 32px;
  }
  .about-split,
  .faq-layout,
  .faq-about__grid,
  .contact-split {
    grid-template-columns: 1fr;
  }
  .schedule-section {
    margin-top: 60px;
  }
  .schedule-section__media {
    height: clamp(360px, 48vw, 520px);
  }
  .schedule-section__form {
    margin-top: -140px;
  }
  .faq-about__media {
    padding-top: 28px;
    max-width: none;
  }
  .faq-layout {
    gap: 28px;
  }
  .faq-layout h2 {
    padding-top: 0;
  }
  .faq-layout .faq-item__btn {
    font-size: 20px;
    min-height: 72px;
    padding: 20px 18px 20px 20px;
  }
  .service-process {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .service-process__item {
    padding-left: 0;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .appointment-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }
  .appointment-card__media {
    min-height: 280px;
    order: -1;
  }
  .appointment-card__media img {
    min-height: 280px;
  }
  .meta-bar--project {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px;
  }
  .pricing-grid,
  .do-grid,
  .about-stats-row,
  .contact-cards,
  .meta-bar {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .about-photos {
    min-height: 380px;
    width: 100%;
    max-width: 100%;
  }
  .about-photos img {
    width: min(280px, 46%);
    height: 300px;
    max-width: 46%;
  }
  .contact-photo {
    min-height: 420px;
  }
  .mx-form--contact {
    padding: 36px 28px 32px;
  }
  .faq-contact {
    padding: var(--mx-space-section) 0;
  }
  .faq-contact__title {
    margin-bottom: var(--mx-space-md);
  }
  .faq-contact .faq-item__btn {
    font-size: 18px;
    padding: 20px 16px;
  }
  .faq-contact .faq-item__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 7px;
  }
  .faq-contact .faq-item__panel-inner {
    margin: 0 16px;
  }
  .faq-contact .faq-item__panel p {
    padding: 16px 0 20px;
  }
}
@media (max-width: 767.98px) {
  .hero--page {
    min-height: 460px;
  }
  .service-process-wrap {
    margin-bottom: 48px;
  }
  .service-process {
    grid-template-columns: 1fr;
  }
  .appointments-section__head {
    margin-bottom: 36px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .appointment-card {
    padding: 22px;
    border-radius: 16px;
  }
  .appointment-card__copy h3 {
    font-size: 28px;
  }
  .appointment-card__copy > p {
    font-size: 16px;
    line-height: 26px;
  }
  .service-details__photo {
    margin-bottom: 48px;
    border-radius: 14px;
  }
  .service-details__faq-title {
    margin-bottom: 24px;
  }
  .service-details__faq .faq-item__btn {
    font-size: 18px;
    padding: 18px 16px;
  }
  .faq-filters,
  .blog-filters {
    gap: 22px;
    margin-bottom: 32px;
  }
  .faq-filters .filter-pills--faq,
  .blog-filters .filter-pills--blog {
    gap: 10px;
  }
  .filter-pills--faq button,
  .filter-pills--blog button {
    min-height: 46px;
    padding: 10px 18px;
    font-size: 14px;
  }
  .hero--blog-details {
    min-height: 520px;
  }
  .page-hero-copy--blog {
    padding: 40px 20px 56px;
  }
  .page-hero-copy--blog .blog-hero-meta {
    gap: 8px;
    margin-bottom: 20px;
  }
  .page-hero-copy--blog .blog-hero-meta li {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 13px;
  }
  .page-hero-copy--blog h1 {
    margin-bottom: 24px;
  }
  .hero--error.hero--banner {
    min-height: 100%;
  }
  .page-404 .page-wrap > .site-header,
  .page-404 .page-wrap > .site-nav-placeholder.is-active {
    margin: 12px 24px 0;
  }
  .page-404 .hero-shell--banner {
    min-height: calc(100svh - 12px);
    padding-top: 0;
    padding-inline: 12px;
  }
  .page-hero-copy--error {
    padding: 32px 20px 28px;
  }
  .page-hero-copy--error h1 {
    margin: 28px 0 20px;
  }
  .page-hero-copy--error p {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 26px;
  }
  .error-marquee {
    padding: 22px 0;
  }
  .error-marquee__track {
    gap: 36px;
  }
  .error-marquee__track span {
    gap: 18px;
  }
  .pricing-grid,
  .do-grid,
  .about-stats-row,
  .contact-cards,
  .meta-bar,
  .form-row {
    grid-template-columns: 1fr;
  }
  .pricing-grid--plans {
    max-width: 420px;
    margin-inline: auto;
  }
  .meta-bar--project {
    grid-template-columns: 1fr;
  }
  .project-gallery {
    border-radius: 14px;
  }
  .prose--project h2 {
    margin-top: 36px;
  }
  .what-we-do,
  .page-cta,
  .faq-contact,
  .schedule-section {
    margin-inline: 14px;
  }
  .schedule-section {
    margin-top: 48px;
    margin-bottom: 24px;
  }
  .schedule-section__media {
    height: 280px;
    border-radius: 20px;
  }
  .schedule-section__form {
    margin-top: 0;
    padding-bottom: 16px;
  }
  .mx-form {
    padding: 40px 22px;
  }
  .book-form {
    padding: 48px 20px 40px;
  }
  .book-form .section-title {
    margin-bottom: 32px;
  }
  .mx-form--contact {
    padding: 28px 20px 24px;
  }
  .about-photos {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-photos img,
  .about-photos img:first-child,
  .about-photos img:last-child {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }
  .hero--about .about-hero-stats {
    display: none;
  }
  .hero--about {
    min-height: 0;
  }
  .hero--about .page-hero-copy--about {
    padding: 36px 20px 56px;
  }
  .hero--about .page-hero-copy h1 {
    margin: 20px 0 16px;
    font-size: clamp(28px, 8vw, 44px);
  }
  .about-rating-chip {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
    padding: 10px 14px;
  }
  .about-rating-chip span {
    width: 100%;
    text-align: center;
  }
  .page-hero-copy h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
  .faq-item__btn {
    gap: 12px;
    text-align: left;
  }
  .prose img,
  .blog-details img,
  .service-details__photo img,
  .project-gallery img {
    max-width: 100%;
    height: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .hero-copy h1,
  .hero-tags .pill-tag,
  .hero-aside {
    opacity: 1;
    transform: none;
  }
}
/*----------------------------------------
    Utilities
----------------------------------------*/
/*----------------------------------------
    Helpers
----------------------------------------*/

.why-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-proof-card {
  min-height: 100%;
  padding: 32px;
  border-radius: var(--mx-radius-lg);
  background: rgba(255, 255, 255, 0.96);
  color: var(--mx-ink);
}

.why-proof-card h3 {
  font-family: var(--mx-font-serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 16px;
}

.why-proof-card p {
  color: var(--mx-muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.team--portfolio {
  padding-bottom: var(--mx-space-section);
}

.team-leader {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  align-items: center;
  gap: 36px;
  padding: 18px;
  background: var(--mx-white);
  border-radius: var(--mx-radius-lg);
}

.team-leader > img {
  width: 100%;
  height: 360px;
  border-radius: var(--mx-radius-md);
  object-fit: cover;
  object-position: center top;
}

.team-leader__role {
  color: var(--mx-muted);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
}

.team-leader h3 {
  font-family: var(--mx-font-serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  margin: 0 0 16px;
}

.team-leader div > p:last-child {
  color: var(--mx-muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.team-roster li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 20px;
  border-radius: var(--mx-radius-md);
  background: var(--mx-cream);
  text-align: center;
}

.team-roster li img {
  width: 110px;
  height: 110px;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
}

.team-roster li span:nth-child(2) {
  color: var(--mx-red);
  font-weight: 700;
}

.team-roster li span:nth-child(3) {
  color: var(--mx-muted);
  font-size: 15px;
}

.team-roster__note {
  color: var(--mx-muted);
  font-size: 14px;
  margin: 14px 0 0;
}

.case-placeholder {
  display: grid;
  min-height: 412px;
  place-items: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--mx-teal), #285b58);
  color: var(--mx-white);
  text-align: center;
}

.case-placeholder > span {
  font-family: var(--mx-font-serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.case-summary {
  color: var(--mx-muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 16px 6px 0;
}

.milestones {
  margin-top: var(--mx-space-section);
}

.journey-heading {
  margin-bottom: 32px;
}

.journey-heading .eyebrow {
  margin-bottom: 12px;
}

.journey-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.journey-history,
.journey-milestones {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--mx-radius-lg);
}

.journey-history {
  grid-column: 2;
  grid-row: 1;
  background: var(--mx-cream);
}

.journey-milestones {
  grid-column: 1;
  grid-row: 1;
  background: #f7f5f0;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.journey-history h3,
.journey-milestones h3 {
  font-family: var(--mx-font-serif);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 20px;
}

.journey-history > p {
  color: var(--mx-muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 16px;
}

.journey-history > p:last-child {
  margin-bottom: 0;
}

.journey-history__image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: var(--mx-radius-md);
}

.journey-milestones > .eyebrow {
  margin-bottom: 10px;
}

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
}

.milestone {
  position: relative;
  padding: 0 0 22px 24px;
  border-left: 1px solid rgba(17, 17, 17, 0.18);
}

.milestone:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.milestone::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -6px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--mx-red);
  border-radius: 50%;
  background: var(--mx-white);
}

.milestone__year {
  color: var(--mx-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.milestone h4 {
  font-family: var(--mx-font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

@media (max-width: 991.98px) {
  .why-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-columns {
    grid-template-columns: 1fr;
  }

  .journey-history,
  .journey-milestones {
    grid-column: 1;
  }

  .journey-milestones {
    grid-row: 1;
  }

  .journey-history {
    grid-row: 2;
  }

  .team-leader {
    grid-template-columns: minmax(200px, 300px) 1fr;
    gap: 24px;
  }

  .team-leader > img {
    height: 300px;
  }

  .team-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .why-proof-grid,
  .team-roster {
    grid-template-columns: 1fr;
  }

  .team-leader {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .team-leader > img {
    height: 320px;
  }
}

/* Homepage team presentation */
.team--portfolio {
  position: relative;
  overflow: hidden;
  margin-top: var(--mx-space-lg);
  border-radius: var(--mx-radius-xl);
  background:
    radial-gradient(circle at 92% 12%, rgba(200, 16, 46, 0.16), transparent 25rem),
    linear-gradient(135deg, #161616 0%, #282828 100%);
}

.team--portfolio::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: -150px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.025),
    0 0 0 76px rgba(255, 255, 255, 0.018);
  pointer-events: none;
}

.team--portfolio .container-perfect-evolvers {
  position: relative;
}

.team--portfolio .section-head {
  align-items: end;
  margin-bottom: 42px;
}

.team--portfolio .eyebrow,
.team--portfolio .section-title {
  color: var(--mx-white);
}

.team--portfolio .section-head .btn-cta {
  border-color: rgba(255, 255, 255, 0.18);
}

.team-leader {
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 48px;
  padding: 12px 12px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mx-radius-lg);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.team-leader > img {
  height: 390px;
  border-radius: calc(var(--mx-radius-lg) - 3px);
}

.team-leader > div {
  padding-right: clamp(18px, 3vw, 48px);
}

.team-leader__role {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--mx-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-roster {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.team-roster li {
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  gap: 8px;
  min-height: 142px;
  padding: 18px 18px 18px 154px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--mx-radius-md);
  background: rgba(255, 255, 255, 0.07);
  text-align: left;
  backdrop-filter: blur(8px);
}

.team-roster li img {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 118px;
  height: 118px;
  margin: 0;
  border-radius: var(--mx-radius-md);
}

.team-roster li span:nth-child(2) {
  padding-top: 12px;
  color: var(--mx-white);
  font-size: 18px;
  line-height: 1.25;
}

.team-roster li span:nth-child(3) {
  color: rgba(255, 255, 255, 0.72);
}

.inner-section .team-roster li span:nth-child(2),
.inner-section .team-roster li span:nth-child(3) {
  color: #111;
}

@media (max-width: 991.98px) {
  .team-leader {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 28px;
  }

  .team-leader > img {
    height: 320px;
  }

  .team-roster li {
    min-height: 132px;
    padding-left: 140px;
  }

  .team-roster li img {
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 767.98px) {
  .team--portfolio .section-head {
    align-items: start;
    margin-bottom: 30px;
  }

  .team-leader {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 10px;
  }

  .team-leader > img {
    height: min(430px, 110vw);
  }

  .team-leader > div {
    padding: 0 14px 18px;
  }

  .team-roster {
    grid-template-columns: 1fr;
  }

  .team-roster li {
    min-height: 134px;
  }
}

.about-videos {
  margin-top: var(--mx-space-lg);
}

.about-videos__heading {
  margin-bottom: 24px;
}

.about-videos__heading .eyebrow {
  margin-bottom: 8px;
}

.about-videos__heading h3 {
  font-family: var(--mx-font-serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.about-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-video-card {
  min-width: 0;
  padding: 14px;
  border-radius: var(--mx-radius-md);
  background: var(--mx-cream);
}

.about-video-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--mx-radius-md) - 6px);
  background: var(--mx-ink);
}

.about-video-card__media video,
.about-video-card__media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-video-card__media video {
  object-fit: cover;
}

.about-video-card h4 {
  font-family: var(--mx-font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  margin: 18px 4px 8px;
}

.about-video-card > p {
  color: var(--mx-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 4px 6px;
}

@media (max-width: 991.98px) {
  .about-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .about-videos__grid {
    grid-template-columns: 1fr;
  }
}
.dropdown .submenu { display: none; position: absolute; }
.dropdown:hover .submenu { display: block; }

@media (max-width: 767.98px) {
  .gallery-video-slider {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .gallery-video-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .gallery-video-card {
    flex-basis: min(280px, 78vw);
  }

  .gallery-video-media--instagram,
  .gallery-video-media--instagram iframe {
    height: 360px;
  }
}
