/* =============================================================
    Enterprise Page Styles
/* ─── HERO ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'Familjen Grotesk';
  src: url("../fonts/FamiljenGrotesk-VariableFont_wght.ttf");
}

@font-face {
  font-family: 'Roboto';
  src: url("../fonts/Roboto-VariableFont_wdth\,wght.ttf");
}

@font-face {
  font-family: 'Playfair Display';
  src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf");
}

.dn-hero {
  padding: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px) 0 clamp(32px, 5vw, 64px);
  background: #fff;
}

.dn-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  padding: 4px 10px 4px 9px;
  border-radius: 9999px;
  border: 1px solid #F3F1F7;
  background: #FFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  color: #45404B;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: clamp(10px, 1.5vw, 16px);
}

.dn-eyebrow p {
  margin: 0;
}

.dn-hero-title {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700;
  color: #1C1A20;
  line-height: 1.15;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.dn-hero-title em {
  font-style: italic;
  font-family: "Playfair Display", serif;
  background: linear-gradient(90deg, #FF51FF 0.34%, #F616B9 63.37%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dn-hero-desc {
  font-family: Roboto, sans-serif;
  font-size: clamp(13px, 1.3vw, 16px);
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.7;
  margin-bottom: clamp(16px, 2.8vw, 36px);
  max-width: clamp(280px, 50vw, 480px);
}

.dn-hero-btn {
  gap: 10px;
  border-radius: 9999px;
  border: 1px solid #D1CDD8;
  background: #55004F;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.18) inset, 0 -2px 0 0 rgba(16, 24, 40, 0.05) inset, 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  padding: clamp(12px, 1.25vw, 16px) clamp(16px, 1.72vw, 22px);
}


/* ─── HERO CARD ─────────────────────────────────────────────── */
.dn-hero-card {
  position: relative;
  border-radius: clamp(14px, 2vw, 24px);
  background: linear-gradient(135deg, #F9D8F8 0%, #F2A7EF 60%, #EF87ED 100%);
  overflow: hidden;
  padding: clamp(16px, 3vw, 32px);
  min-height: clamp(200px, 30vw, 360px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
}



.dn-hero-card-person img {
  margin-top: max(0px, 24px - 1.875vw);
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

/* ─── PRODUCTS SECTION ──────────────────────────────────────── */
.affina-products-container {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 64px);
}

.dn-products {
  padding-top: clamp(48px, 8vw, 100px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.dn-section-title {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 700;
  color: #1C1A20;
  margin: 0;
}

.dn-section-desc {
  font-family: Roboto, sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

.dn-product-card {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.25vw, 16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: clamp(10px, 1.5vw, 18px);
  padding: clamp(12px, 1.875vw, 24px);
  background: #fff;
  height: 100%;
}

.dn-product-card-title {
  color: #1C1A20;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(16px, 2.1vw, 27px);
  font-style: normal;
  font-weight: 700;
  margin: 0;
}

.dn-product-card-desc {
  color: rgba(0, 0, 0, 0.50);
  font-family: Roboto, sans-serif;
  font-size: clamp(13px, 1.25vw, 16px);
  font-style: normal;
  font-weight: 400;
  margin: 0;
}

.dn-product-link {
  font-family: Roboto, sans-serif;
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 600;
  color: #FF51FF;
  text-decoration: none;
}


.dn-view-all-btn {
  border-radius: 9999px;
  border: 1px solid #FCF;
  background: #FFF;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.18) inset, 0 -2px 0 0 rgba(16, 24, 40, 0.05) inset, 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  padding: clamp(12px, 1.25vw, 16px) clamp(16px, 1.72vw, 22px);
  color: #FF51FF;
  font-family: Roboto, sans-serif;
  font-size: clamp(14px, 1.406vw, 18px);
  font-style: normal;
  font-weight: 600;
}


/* ─── WHY AFFINA ────────────────────────────────────────────── */
.dn-why {
  padding-top: clamp(64px, 10vw, 128px);
}

.dn-why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(20px, 2.5vw, 32px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: clamp(12px, 1.5vw, 16px);
  background: #fff;
  height: 100%;
}

.dn-why-icon {
  color: #f356cf;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
}

.dn-why-title {
  color: #000;
  font-family: "Familjen Grotesk";
  font-size: clamp(14px, 1.6vw, 22px);
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  margin: 0;
}

.dn-why-desc {
  color: rgba(0, 0, 0, 0.50);
  font-family: Roboto;
  font-size: clamp(12px, 1.25vw, 16px);
  font-style: normal;
  font-weight: 400;
  /* 150% */
}


/* ─── CTA BANNER ────────────────────────────────────────────── */
.dn-cta {
  padding: clamp(64px, 10vw, 128px) 0 clamp(64px, 8vw, 128px) 0;
}

.affina-cta-container {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(180deg, #D9C8FF 0%, #FFF2FF 67.31%);
  border-radius: clamp(14px, 2.5vw, 32px);
  padding: clamp(24px, 3.75vw, 48px);
}

.dn-cta-title {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 700;
  color: #1C1A20;
}

.dn-cta-desc {
  font-family: Roboto, sans-serif;
  font-size: clamp(13px, 1.2vw, 16px);
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: clamp(20px, 3.2vw, 40px);
}

.dn-cta-btn-primary {
  border-radius: 9999px;
  border: 1px solid #D1CDD8;
  background: #55004F;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.18) inset, 0 -2px 0 0 rgba(16, 24, 40, 0.05) inset, 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  padding: clamp(12px, 1.25vw, 16px) clamp(16px, 1.72vw, 22px);
  font-family: Roboto, sans-serif;
  font-size: clamp(14px, 1.406vw, 18px);
  font-style: normal;
  font-weight: 600;
  color: #FFFAFE;
}



.dn-cta-btn-secondary {
  border-radius: 9999px;
  border: 1px solid #FCF;
  background: #FFF;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.18) inset, 0 -2px 0 0 rgba(16, 24, 40, 0.05) inset, 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  padding: clamp(12px, 1.25vw, 16px) clamp(16px, 1.72vw, 22px);
  color: #FF51FF;
  font-family: Roboto, sans-serif;
  font-size: clamp(14px, 1.406vw, 18px);
  font-style: normal;
  font-weight: 600;
}

/* ─── Modal ────────────────────────────────────────────── */
.quiz-modal {
  font-family: Arial, sans-serif;
}

.quiz-dialog {
  max-width: 1360px;
}

.quiz-dialog-plan {
  max-width: 1280px;
}

.quiz-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 860px;
  background: #fff;
}

.quiz-header {
  height: 100px;
  background: #fffaff;
  border-bottom: 1px solid #e8e1ea;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 36px 56px 0;
}

.quiz-header-inner {
  width: 100%;
}

.quiz-progress {
  height: 8px;
  background: #dedee8;
  border-radius: 50px;
  overflow: hidden;
  max-width: 1160px;
  margin: 0 auto 16px;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff48f4, #f517a8);
  border-radius: 50px;
}

.quiz-progress-50 {
  width: 40%;
}

.quiz-progress-75 {
  width: 68%;
}

.quiz-progress-100 {
  width: 100%;
}

.quiz-step-text {
  max-width: 1160px;
  margin: 0 auto;
  color: #7d7d82;
  font-size: 22px;
  font-weight: 700;
}

.quiz-close,
.quiz-back {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 34px;
  line-height: 1;
  position: absolute;
  cursor: pointer;
}

.quiz-close {
  top: 44px;
  right: 56px;
}

.quiz-back {
  top: 42px;
  left: 56px;
  font-size: 34px;
}

.quiz-body {
  padding: 70px 40px;
}

.quiz-body-step1,
.quiz-body-step2 {
  min-height: 670px;
}

.quiz-body-step3 {
  padding-top: 70px;
  padding-bottom: 90px;
}

.quiz-title-wrap {
  text-align: center;
  margin-bottom: 65px;
}

.quiz-title-wrap h2 {
  color: #1C1A20;
  text-align: center;

  font-family: "Familjen Grotesk";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
}

.quiz-title-wrap p {
  color: rgba(0, 0, 0, 0.50);
  text-align: center;
  font-family: "Familjen Grotesk";
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
}

.quiz-option-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.quiz-option {
  min-height: 96px;
  border: 1.5px solid #d7d2df;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 34px;
  cursor: pointer;
  background: #fff;
}

.quiz-option span {
  color: #716C7A;

  font-family: Roboto;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}

.quiz-option input,
.quiz-program-option input {
  width: 22px;
  height: 22px;
  accent-color: #ff3df2;
}

.quiz-option:has(input:checked),
.quiz-program-option:has(input:checked) {
  border-color: #ff42f3;
  box-shadow: 0 0 0 1px #ff42f3;
}

.quiz-next-btn {
  font-family: Roboto;
  margin: 70px auto 0;
  min-width: 300px;
  height: 64px;
  border-radius: 50px;
  border: 1px solid #e2dee8;
  background: #fff;
  color: #A09BA9;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.quiz-next-btn span {
  font-size: 34px;
  line-height: 1;
}

.quiz-program-grid {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.quiz-program-option {
  min-height: 156px;
  border: 1.5px solid #d7d2df;
  border-radius: 16px;
  padding: 38px 24px 32px 40px;
  display: grid;
  grid-template-columns: 42px 1fr 26px;
  gap: 18px;
  align-items: center;
  cursor: pointer;
}

.quiz-program-icon {
  font-size: 30px;
  color: #111;
}

.quiz-program-option h3 {
  font-family: Roboto;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #716C7A;
}

.quiz-program-option p {
  font-family: Roboto;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  color: #8a8a8d;
}

.quiz-plan-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.quiz-plan-card {
  border: 2px solid #eeeeef;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}

.quiz-plan-card-active {
  border-color: #ff41f2;
}

.quiz-plan-head {
  height: 72px;
  padding: 18px 24px;
  border-bottom: 1px solid #ededed;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-insurer {
  font-size: 28px;
  letter-spacing: 6px;
  font-weight: 800;
  color: #111;
}

.quiz-plan-head span {
  background: #ffe39d;
  border: 1px solid #f0b950;
  border-radius: 18px;
  color: #5b4600;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
}

.quiz-plan-content {
  padding: 26px;
}

.quiz-plan-content h3 {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 22px;
}

.quiz-plan-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  min-height: 235px;
}

.quiz-plan-content li {
  font-family: Roboto;
  position: relative;
  padding-left: 28px;
  margin-bottom: 18px;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.50);
}

.quiz-plan-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #985cff;
  font-weight: 800;
}

.quiz-plan-price {
  border-top: 1px solid #e9e9e9;
  padding-top: 28px;
  margin-bottom: 22px;
}

.quiz-plan-price strong {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #050508;
}

.quiz-plan-price span {
  font-family: Roboto;
  font-size: 16px;
  color: #777;
}

.quiz-select-plan {
  font-family: Roboto;
  height: 60px;
  border: 1.5px solid #ff9cf6;
  border-radius: 50px;
  color: #ff36ef;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.quiz-detail-plan {
  font-family: Roboto;
  color: #555461;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  display: block;
  text-align: center;
}

.quiz-footer {
  min-height: 96px;
  background: #faf7ff;
  display: flex;
  align-items: center;
  padding: 0 56px;
  gap: 30px;
}

.quiz-logo {
  color: #ff49f4;
  font-size: 30px;
  font-weight: 900;
  margin-right: auto;
}

.quiz-footer-note {
  font-size: 16px;
  color: #333;
}

.quiz-footer-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.quiz-call-btn,
.quiz-contact-btn {
  text-decoration: none;
  color: #ff42f3;
  font-weight: 800;
  font-size: 16px;
}

.quiz-call-btn {
  border: 1.5px solid #ffc0fa;
  border-radius: 50px;
  padding: 12px 22px;
  background: #fff;
}

@media (max-width: 991px) {

  .quiz-dialog,
  .quiz-dialog-plan {
    max-width: calc(100% - 20px);
  }

  .quiz-content {
    min-height: 100vh;
    border-radius: 14px;
  }

  .quiz-header {
    height: 90px;
    padding: 28px 24px 0;
  }

  .quiz-back {
    left: 20px;
    top: 44px;
  }

  .quiz-close {
    right: 20px;
    top: 38px;
  }

  .quiz-header-inner {
    padding: 0 40px;
  }

  .quiz-step-text {
    font-size: 18px;
  }

  .quiz-body {
    padding: 50px 18px;
  }

  .quiz-title-wrap {
    margin-bottom: 40px;
  }

  .quiz-title-wrap h2 {
    font-size: 28px;
  }

  .quiz-title-wrap p {
    font-size: 18px;
  }

  .quiz-option-grid,
  .quiz-program-grid,
  .quiz-plan-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quiz-option {
    min-height: 82px;
    padding: 0 22px;
  }

  .quiz-option span {
    font-size: 18px;
  }

  .quiz-program-option {
    min-height: auto;
    padding: 26px 20px;
    grid-template-columns: 32px 1fr 24px;
  }

  .quiz-program-option h3 {
    font-family: Roboto;
    font-weight: 700;
    font-size: 19px;
  }

  .quiz-program-option p {
    font-family: Roboto;
    font-weight: 400;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.50);
    font-family: Roboto;

  }

  .quiz-next-btn {
    margin-top: 42px;
    min-width: 240px;
  }

  .quiz-plan-content ul {
    min-height: auto;
  }

  .quiz-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
  }

  .quiz-logo {
    margin-right: 0;
  }

  .quiz-footer-actions {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .quiz-title-wrap h2 {
    font-size: 24px;
  }

  .quiz-title-wrap p {
    font-size: 16px;
  }

  .quiz-insurer {
    font-size: 22px;
  }

  .quiz-plan-price strong {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {

  .enterprise-wrapper p,
  .enterprise-wrapper li,
  .dn-hero-desc,
  .dn-product-card-desc,
  .dn-section-desc,
  .dn-why-desc,
  .dn-cta-desc,
  .dn-product-link {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* SME refresh */
.enterprise-wrapper {
  --enterprise-ink: #072d41;
  --enterprise-muted: #686670;
  --enterprise-pink: #ff51ff;
  --enterprise-blue: #4f94f1;
  --enterprise-soft-blue: #eaf6ff;
  overflow: hidden;
  background: #fff;
  color: var(--enterprise-ink);
}

.enterprise-wrapper .affina-products-container {
  display: block;
  width: min(100% - 32px, 1180px);
  max-width: 1180px;
  margin: 0 auto;
}

.enterprise-hero {
  padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 7vw, 96px);
}

.enterprise-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.enterprise-eyebrow,
.enterprise-section-kicker {
  margin: 0 0 18px;
  color: var(--enterprise-pink);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enterprise-hero-title,
.enterprise-section-heading h2,
.enterprise-cta-panel h2 {
  margin: 0;
  color: var(--enterprise-ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.enterprise-hero-title {
  max-width: 640px;
  font-size: 40px;
}

.enterprise-hero-desc {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--enterprise-muted);
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  line-height: 1.65;
}

.enterprise-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.enterprise-primary-btn,
.enterprise-secondary-btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.enterprise-primary-btn {
  border: 1px solid #2f80ed;
  background: linear-gradient(180deg, #77b9ff 0%, #4f94f1 100%);
  color: #fff;
  box-shadow: 0 9px 18px rgba(79, 148, 241, 0.22);
}

.enterprise-secondary-btn {
  border: 1px solid var(--enterprise-pink);
  background: rgba(255, 255, 255, 0.82);
  color: var(--enterprise-pink);
}

.enterprise-hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 560px);
}

.enterprise-hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.enterprise-products,
.enterprise-process,
.enterprise-proof,
.enterprise-partners,
.enterprise-cta {
  padding: 80px 0;
}

.enterprise-products {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 76%, rgba(255, 81, 255, 0.16), transparent 42%),
    radial-gradient(circle at 14% 8%, rgba(79, 148, 241, 0.08), transparent 32%);
}

.enterprise-section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.enterprise-section-heading h2,
.enterprise-cta-panel h2 {
  font-size: 40px;
}

.enterprise-section-heading h2 span {
  color: var(--enterprise-pink);
}

.enterprise-section-heading-left {
  max-width: none;
  margin: 0;
  text-align: left;
}

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

.enterprise-product-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(5, 24, 70, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(1, 9, 83, 0.035);
}

.enterprise-product-icon {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--enterprise-soft-blue);
}

.enterprise-product-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.enterprise-product-card h3,
.enterprise-step h3 {
  margin: 18px 0 0;
  color: var(--enterprise-ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
}

.enterprise-product-card p,
.enterprise-step p,
.enterprise-cta-panel p {
  margin: 14px 0 0;
  color: var(--enterprise-muted);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.enterprise-process-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, #f1f8ff 0%, #fff6ff 100%);
}

.enterprise-step-list {
  display: grid;
  gap: 16px;
}

.enterprise-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.enterprise-step > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #fff;
  color: var(--enterprise-pink);
  font-family: "Roboto", sans-serif;
  font-weight: 900;
}

.enterprise-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(5, 24, 70, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5, 24, 70, 0.08);
}

.enterprise-metric {
  padding: 30px 22px;
  border-right: 1px solid rgba(5, 24, 70, 0.08);
  text-align: center;
}

.enterprise-metric:last-child {
  border-right: 0;
}

.enterprise-metric strong {
  display: block;
  color: var(--enterprise-pink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1;
}

.enterprise-metric span {
  display: block;
  margin-top: 10px;
  color: var(--enterprise-muted);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

.enterprise-testimonial {
  max-width: 860px;
  margin: 34px auto 0;
  text-align: center;
}

.enterprise-testimonial p {
  margin: 0;
  color: var(--enterprise-ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
}

.enterprise-testimonial span {
  display: block;
  margin-top: 18px;
  color: var(--enterprise-muted);
  font-family: "Roboto", sans-serif;
  font-size: 15px;
}

.enterprise-customer-stories {
  padding: 0 0 80px;
  overflow: hidden;
}

.enterprise-customer-stories .enterprise-section-heading {
  margin-bottom: 24px;
}

.enterprise-customer-strip {
  display: flex;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 6px max(28px, calc((100vw - 1180px) / 2)) 18px;
  gap: 24px;
  overflow-x: auto;
  scroll-padding-inline: max(28px, calc((100vw - 1180px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.enterprise-customer-strip::-webkit-scrollbar {
  display: none;
}

.enterprise-customer-card {
  display: grid;
  flex: 0 0 min(620px, 82vw);
  grid-template-columns: 136px minmax(0, 1fr);
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(79, 148, 241, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #e4f5ff 100%);
  box-shadow: 0 7px 18px rgba(1, 9, 83, 0.035);
  scroll-snap-align: center;
}

.enterprise-customer-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.enterprise-customer-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.enterprise-customer-logo {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(1, 9, 83, 0.1);
}

.enterprise-customer-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.enterprise-customer-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 30px 34px;
}

.enterprise-customer-stars {
  color: #ffba2f;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}

.enterprise-customer-content h3 {
  margin: 0 0 12px;
  color: var(--enterprise-ink);
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.enterprise-customer-content p {
  margin: 0;
  color: var(--enterprise-ink);
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  line-height: 1.62;
}

.enterprise-customer-meta strong,
.enterprise-customer-meta span {
  display: block;
  font-family: "Roboto", sans-serif;
}

.enterprise-customer-meta strong {
  color: var(--enterprise-ink);
  font-size: 15px;
  font-weight: 700;
}

.enterprise-customer-meta span {
  margin-top: 3px;
  color: var(--enterprise-ink);
  font-size: 13px;
}

.enterprise-customer-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 22px;
}

.enterprise-customer-pagination .home-testimonial-arrow,
.enterprise-customer-pagination .home-testimonial-dot {
  border: 0;
  background: transparent;
  font: inherit;
}

.enterprise-customer-pagination .home-testimonial-arrow {
  color: var(--enterprise-blue);
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.enterprise-customer-pagination .home-testimonial-dots {
  display: flex;
  align-items: center;
  gap: 14px;
}

.enterprise-customer-pagination .home-testimonial-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: #c8c8c8;
}

.enterprise-customer-pagination .home-testimonial-dot.is-active {
  width: 76px;
  background: var(--enterprise-pink);
}

.enterprise-partner-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.enterprise-partner-logo {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 24, 70, 0.08);
  border-radius: 22px;
  background: #fff;
}

.enterprise-partner-logo img {
  max-width: 96px;
  max-height: 42px;
  object-fit: contain;
}

.enterprise-cta-panel {
  padding: clamp(30px, 5vw, 64px);
  border-radius: 32px;
  background: linear-gradient(135deg, #e7f5ff 0%, #fff0ff 100%);
  text-align: center;
}

.enterprise-cta-panel p {
  max-width: 680px;
  margin: 18px auto 28px;
  font-size: 17px;
}

@media (max-width: 991px) {
  .enterprise-hero-grid,
  .enterprise-process-panel {
    grid-template-columns: 1fr;
  }

  .enterprise-product-grid,
  .enterprise-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .enterprise-customer-card {
    flex-basis: min(560px, 86vw);
  }
}

@media (max-width: 575px) {
  .enterprise-wrapper .affina-products-container {
    width: min(100% - 24px, 1180px);
  }

  .enterprise-hero {
    padding-top: 42px;
  }

  .enterprise-hero-title {
    font-size: 40px;
  }

  .enterprise-section-heading h2,
  .enterprise-cta-panel h2 {
    font-size: 24px;
  }

  .enterprise-hero-actions {
    flex-direction: column;
  }

  .enterprise-primary-btn,
  .enterprise-secondary-btn {
    width: 100%;
  }

  .enterprise-product-grid,
  .enterprise-metrics,
  .enterprise-partner-row {
    grid-template-columns: 1fr;
  }

  .enterprise-customer-strip {
    gap: 16px;
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }

  .enterprise-customer-card {
    flex-basis: calc(100vw - 44px);
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .enterprise-customer-media {
    height: 240px;
  }

  .enterprise-customer-content {
    padding: 22px;
  }

  .enterprise-customer-content h3 {
    font-size: 20px;
  }

  .enterprise-customer-content p {
    font-size: 13px;
  }

  .enterprise-product-card {
    min-height: auto;
  }

  .enterprise-metric {
    border-right: 0;
    border-bottom: 1px solid rgba(5, 24, 70, 0.08);
  }

  .enterprise-metric:last-child {
    border-bottom: 0;
  }

  .enterprise-step {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px;
  }

  .enterprise-step > span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
