/*
===========================================
HOMEPAGE STYLES
Mafar Group Corporate Theme
Consolidated from elementor-html/home
Tokenized with mafar-tokens.css variables
Version 2.0 | February 2026
===========================================
*/

/* ===========================================
   BLOCK 1: HERO SECTION - DARK BACKGROUND
   =========================================== */

.mafar-hero {
  background: var(--mafar-dark);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 52px;
}

/* Grid + glow blob classes are in mafar-base.css (shared across pages) */

.mafar-hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--mafar-gold) 40%, var(--mafar-gold) 60%, transparent 95%);
  opacity: 0.4;
}

.mafar-hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.mafar-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 32px;
}

.mafar-hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mafar-gold);
  animation: mafar-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.mafar-hero-eyebrow-text {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--mafar-gold);
}

.mafar-hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--mafar-white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.mafar-hero-headline .mafar-gold-word {
  color: var(--mafar-gold);
}

.mafar-hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  margin-bottom: 44px;
  max-width: 500px;
}

.mafar-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 52px;
}

.mafar-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mafar-gold);
  color: var(--mafar-dark);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
  letter-spacing: 0.01em;
}

.mafar-btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212,175,55,0.3);
  text-decoration: none;
}

.mafar-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: all 0.22s ease;
}

.mafar-btn-ghost:hover {
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}

.mafar-btn-arrow-svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.mafar-btn-primary:hover .mafar-btn-arrow-svg,
.mafar-btn-ghost:hover .mafar-btn-arrow-svg {
  transform: translateX(4px);
}

.mafar-hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

.mafar-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mafar-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mafar-trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--mafar-gold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mafar-trust-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.mafar-trust-label strong {
  display: block;
  color: rgba(255,255,255,0.86);
  font-size: 0.86rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.mafar-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.mafar-hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
}

.mafar-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 382 / 510;
}

.mafar-hero-image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

.mafar-hero-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1.5px dashed rgba(255,255,255,0.12);
  border-radius: 18px;
}

.mafar-image-ph-icon {
  width: 36px;
  height: 36px;
  opacity: 0.3;
}

.mafar-image-ph-icon svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mafar-image-ph-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  line-height: 1.4;
  text-align: center;
}

.mafar-hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mafar-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4CAF50;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(76,175,80,0.2);
}

.mafar-badge-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

.mafar-badge-text span {
  color: rgba(255,255,255,0.48);
  font-weight: 400;
}

.mafar-hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mafar-hero-mini-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.mafar-hero-mini-card:hover {
  border-color: rgba(212,175,55,0.22);
}

.mafar-mini-card-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mafar-mini-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mafar-mini-card-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
  font-style: normal;
}

.mafar-desktop-only {
  display: flex;
}

.mafar-mobile-only {
  display: none;
}

.mafar-hero-mobile-bottom .mafar-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mafar-hero-mobile-bottom .mafar-btn-primary,
.mafar-hero-mobile-bottom .mafar-btn-ghost {
  width: 100%;
  justify-content: center;
}

.mafar-hero-mobile-bottom .mafar-hero-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.09);
}

/* ===========================================
   BLOCK 2: WHAT WE DO
   =========================================== */

.mafar-whatwedo {
  background: var(--mafar-white);
  padding: 100px 0;
}

.mafar-whatwedo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.mafar-wwd-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}

.mafar-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mafar-gold);
  margin-bottom: 16px;
}

.mafar-section-tag-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--mafar-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.mafar-section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 400;
  color: var(--mafar-black);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.mafar-section-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  align-self: end;
}

.mafar-whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 56px;
}

.mafar-service-card {
  background: var(--background-light);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  padding: 30px 26px;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}

.mafar-service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--mafar-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 0 0 20px 20px;
}

.mafar-service-card:hover::after {
  transform: scaleX(1);
}

.mafar-service-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 56px rgba(0,0,0,0.07);
  transform: translateY(-4px);
  background: var(--mafar-white);
}

.mafar-service-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--icon-bg, rgba(212,175,55,0.08));
  border: 1px solid var(--icon-border, rgba(212,175,55,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.mafar-service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--icon-color, var(--mafar-gold));
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mafar-service-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--mafar-black);
  margin-bottom: 10px;
  line-height: 1.35;
}

.mafar-service-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.mafar-ecosystem-banner {
  background: linear-gradient(135deg, var(--mafar-black) 0%, #1a2540 100%);
  border-radius: 24px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mafar-ecosystem-banner::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, transparent 65%);
}

.mafar-ecosystem-text {
  position: relative;
  z-index: 2;
}

.mafar-ecosystem-text h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--mafar-white);
  margin-bottom: 10px;
}

.mafar-ecosystem-text p {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 440px;
}

.mafar-ecosystem-text p strong {
  color: var(--mafar-gold);
  font-weight: 600;
}

.mafar-ecosystem-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.mafar-eco-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 100px;
  padding: 8px 18px 8px 8px;
}

.mafar-eco-logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.mafar-eco-logo-circle img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.mafar-eco-badge span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
}

/* ===========================================
   BLOCK 3: TRUST FOUNDATION
   =========================================== */

.mafar-trust {
  background: var(--background-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.mafar-trust::before {
  content: '';
  position: absolute;
  left: -240px;
  bottom: -240px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.mafar-trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.mafar-trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.mafar-trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mafar-gold);
  margin-bottom: 16px;
}

.mafar-trust-tag-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--mafar-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.mafar-trust-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 400;
  color: var(--mafar-black);
  line-height: 1.18;
  margin-bottom: 28px;
}

.mafar-trust-quote {
  background: var(--mafar-dark);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  position: relative;
}

.mafar-trust-quote::before {
  content: '\201C';
  position: absolute;
  top: -4px;
  left: 28px;
  font-size: 5.5rem;
  font-weight: 900;
  color: var(--mafar-gold);
  line-height: 1;
  opacity: 0.35;
  font-family: Georgia, serif;
  pointer-events: none;
}

.mafar-trust-quote-text {
  font-size: 1.03rem;
  font-style: italic;
  color: rgba(255,255,255,0.9);
  line-height: 1.78;
  position: relative;
  z-index: 1;
}

.mafar-trust-quote-label {
  margin-top: 14px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mafar-gold);
  position: relative;
  z-index: 1;
}

.mafar-trust-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.mafar-trust-image-wrap {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-default);
}

.mafar-trust-image-ph {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--background-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.mafar-trust-image-ph::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 14px;
}

.mafar-trust-image-ph svg {
  width: 30px;
  height: 30px;
  stroke: var(--text-tertiary);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
}

.mafar-trust-ph-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  text-align: center;
  line-height: 1.5;
}

.mafar-trust-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mafar-pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--mafar-white);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 24px 26px;
  transition: all 0.25s ease;
}

.mafar-pillar:hover {
  border-color: rgba(212,175,55,0.28);
  box-shadow: 0 8px 28px rgba(0,0,0,0.05);
}

.mafar-pillar-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid rgba(212,175,55,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--mafar-gold);
  flex-shrink: 0;
}

.mafar-pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mafar-black);
  margin-bottom: 6px;
}

.mafar-pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mafar-partner-strip {
  margin-top: 32px;
  background: var(--mafar-white);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  padding: 24px 26px;
}

.mafar-partner-strip-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.mafar-partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mafar-logo-ph {
  height: 44px;
  background: var(--background-light);
  border: 1px dashed var(--border-default);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mafar-logo-ph span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
  text-align: center;
  line-height: 1.3;
}

/* ===========================================
   BLOCK 3.5: PARTNER CLINICS BANNER
   =========================================== */

.mafar-partner-banner {
  background: #ffffff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.mafar-partner-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--mafar-gold) 40%, var(--mafar-gold) 60%, transparent 95%);
  opacity: 0.35;
}

.mafar-partner-banner-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}

.mafar-partner-banner-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 5%;
}

.mafar-partner-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: #0f172a; /* Black text */
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Marquee Container */
.mafar-partner-banner-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Gradient fade edges - white version */
.mafar-partner-banner-track-wrapper::before,
.mafar-partner-banner-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

/* Left edge fade - white to transparent */
.mafar-partner-banner-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

/* Right edge fade - transparent to white */
.mafar-partner-banner-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.mafar-partner-banner-track {
  display: flex;
  gap: 80px;
  animation: mafar-marquee-scroll 35s linear infinite; /* 35s for 11 logos */
  will-change: transform;
}

@keyframes mafar-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.mafar-partner-banner-track-wrapper:hover .mafar-partner-banner-track {
  animation-play-state: paused;
}

/* Logo Items - No container, just the logo */
.mafar-partner-logo-item {
  flex-shrink: 0;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mafar-partner-logo-item:hover {
  transform: scale(1.08);
}

.mafar-partner-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .mafar-partner-banner-track {
    animation: none;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .mafar-partner-banner {
    padding: 40px 0;
  }
  
  .mafar-partner-banner-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
  }
  
  .mafar-partner-logo-item {
    width: 140px;
    height: 80px;
  }
  
  .mafar-partner-banner-track {
    gap: 50px;
    animation-duration: 25s; /* Faster on mobile */
  }
  
  /* Narrower gradient fades on mobile */
  .mafar-partner-banner-track-wrapper::before,
  .mafar-partner-banner-track-wrapper::after {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .mafar-partner-banner {
    padding: 32px 0;
  }
  
  .mafar-partner-banner-header {
    margin-bottom: 28px;
  }
  
  .mafar-partner-banner-title {
    font-size: 1.1rem;
  }
  
  .mafar-partner-logo-item {
    width: 110px;
    height: 60px;
  }
  
  .mafar-partner-banner-track {
    gap: 40px;
  }
}

/* ===========================================
   BLOCK 4: CTA BANNER
   =========================================== */

.mafar-cta {
  background: var(--mafar-white);
  padding: 100px 0;
}

.mafar-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.mafar-cta-card {
  background: linear-gradient(135deg, var(--mafar-black) 0%, #1a2540 55%, var(--mafar-black) 100%);
  border-radius: 28px;
  padding: 68px 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.mafar-cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.1);
  pointer-events: none;
}

.mafar-cta-ring-1 {
  right: -90px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
}

.mafar-cta-ring-2 {
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  border-color: rgba(212,175,55,0.06);
}

.mafar-cta-gold-line {
  position: absolute;
  top: 0;
  left: 72px;
  right: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mafar-gold) 35%, var(--mafar-gold) 65%, transparent);
  opacity: 0.45;
}

.mafar-cta-content {
  position: relative;
  z-index: 2;
}

.mafar-cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mafar-gold);
  margin-bottom: 20px;
}

.mafar-cta-tag-line {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--mafar-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.mafar-cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 400;
  color: var(--mafar-white);
  line-height: 1.18;
  margin-bottom: 20px;
}

.mafar-cta-heading span {
  color: var(--mafar-gold);
  font-style: normal;
}

.mafar-cta-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.mafar-cta-pathways {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
}

.mafar-pathway-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 12px 18px;
  flex: 1;
}

.mafar-pathway-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mafar-pathway-pill-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mafar-white);
  margin-bottom: 2px;
}

.mafar-pathway-pill-sub {
  display: block;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.42);
}

.mafar-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mafar-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mafar-gold);
  color: var(--mafar-dark);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
}

.mafar-cta-btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.mafar-cta-btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212,175,55,0.35);
  text-decoration: none;
}

.mafar-cta-btn-primary:hover svg {
  transform: translateX(4px);
}

.mafar-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: all 0.22s ease;
}

.mafar-cta-btn-outline svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.mafar-cta-btn-outline:hover {
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
}

.mafar-cta-btn-outline:hover svg {
  transform: translateX(4px);
}

.mafar-cta-promise {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 32px 26px;
  min-width: 240px;
  text-align: center;
}

.mafar-cta-promise-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(212,175,55,0.10);
  border: 1px solid rgba(212,175,55,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.mafar-cta-promise-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--mafar-gold);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mafar-cta-promise-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--mafar-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.mafar-cta-promise-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mafar-cta-promise-list li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.58);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.mafar-promise-check {
  width: 15px;
  height: 15px;
  stroke: #4CAF50;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===========================================
   KEYFRAMES
   =========================================== */

@keyframes mafar-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

/* ===========================================
   RESPONSIVE - TABLET/DESKTOP (≤1024px)
   =========================================== */

@media (max-width: 1024px) {
  .mafar-whatwedo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mafar-wwd-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===========================================
   RESPONSIVE - TABLET (≤960px)
   =========================================== */

@media (max-width: 960px) {
  .mafar-hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
  }

  .mafar-hero {
    min-height: auto;
    padding: 52px 0 44px;
  }

  .mafar-hero-image-placeholder {
    aspect-ratio: 16/8;
  }

  .mafar-hero-left {
    order: 1;
  }

  .mafar-hero-visual {
    order: 2;
    margin-top: 24px;
  }

  .mafar-hero-mobile-bottom {
    order: 3;
    margin-top: 28px;
  }

  .mafar-hero-sub {
    display: none;
  }

  .mafar-hero-mobile-bottom .mafar-hero-sub {
    display: block;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .mafar-hero-actions {
    margin-bottom: 0;
  }

  .mafar-desktop-only {
    display: none !important;
  }

  .mafar-mobile-only {
    display: block !important;
  }

  .mafar-trust-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mafar-cta-card {
    grid-template-columns: 1fr;
    padding: 48px 36px;
  }
}

/* ===========================================
   RESPONSIVE - TABLET (≤768px)
   =========================================== */

@media (max-width: 768px) {
  .mafar-ecosystem-banner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .mafar-ecosystem-badges {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ===========================================
   RESPONSIVE - MOBILE (≤560px)
   =========================================== */

@media (max-width: 560px) {
  .mafar-whatwedo-grid {
    grid-template-columns: 1fr;
  }

  .mafar-cta-pathways {
    flex-direction: column;
  }

  .mafar-cta-actions {
    flex-direction: column;
  }

  .mafar-cta-btn-primary,
  .mafar-cta-btn-outline {
    justify-content: center;
  }

  .mafar-cta-card {
    padding: 40px 24px;
  }
}

/* ===========================================
   RESPONSIVE - MOBILE (≤540px)
   =========================================== */

@media (max-width: 540px) {
  .mafar-hero-trust {
    gap: 16px;
  }

  .mafar-hero-cards-row {
    grid-template-columns: 1fr;
  }
}
