/* V32 · Market Entry & Assortment Advisory
   An editorial proof surface, not an automated recommendation tool. */

.v32-advisory {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 34px;
  padding: clamp(30px, 4.6vw, 62px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 7% 7%, rgba(233, 144, 125, .17), transparent 33%),
    linear-gradient(140deg, #294c40 0%, #31584a 55%, #29483e 100%);
  box-shadow: 0 24px 65px rgba(45, 55, 45, .12);
  color: #f9f6ef;
}

.v32-advisory::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -170px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, .025), 0 0 0 108px rgba(255, 255, 255, .018);
  pointer-events: none;
}

.v32-advisory-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  direction: ltr;
}

.v32-advisory-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.v32-advisory-copy .eyebrow {
  color: #f2b19f;
}

.v32-advisory-copy h2 {
  max-width: 590px;
  color: #fffaf3;
  font-size: clamp(31px, 3.5vw, 50px);
  line-height: 1.08;
}

.v32-advisory-copy > p {
  max-width: 570px;
  margin-top: 20px;
  color: rgba(250, 247, 239, .75);
  font-size: 13px;
  line-height: 1.82;
}

.v32-advisory-copy .hero-actions,
.v32-advisory-copy .panel-actions {
  margin-top: 25px;
}

.v32-advisory-copy .btn-secondary {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fffaf3;
}

.v32-advisory-copy .btn-secondary:hover {
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .14);
}

.v32-advisory-outcomes {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .17);
  list-style: none;
}

.v32-advisory-outcomes > li,
.v32-advisory-outcomes > div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.v32-advisory-outcomes span {
  color: #f1a891;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}

.v32-advisory-outcomes strong {
  display: block;
  color: #fffaf3;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.55;
}

.v32-advisory-outcomes small {
  display: block;
  margin-top: 4px;
  color: rgba(250, 247, 239, .65);
  font-size: 10px;
  line-height: 1.58;
}

.v32-advisory-stage {
  position: relative;
  min-width: 0;
  padding: clamp(19px, 2.6vw, 30px);
  border: 1px solid rgba(91, 70, 59, .16);
  border-radius: 20px;
  background: #eee8dd;
  box-shadow: 0 24px 70px rgba(20, 34, 28, .24);
  color: var(--ink);
}

.v32-advisory-stage::before {
  content: "";
  position: absolute;
  inset: 14px -12px -12px 14px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
}

.v32-advisory-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding: 2px 2px 7px;
  scrollbar-width: thin;
  scrollbar-color: #bdaea0 transparent;
}

.v32-advisory-tab {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #d2c7ba;
  border-radius: 9px;
  background: rgba(255, 255, 255, .55);
  color: #6f625b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.v32-advisory-tab:hover {
  border-color: #b8705d;
  background: #fff9f3;
  color: #744236;
}

.v32-advisory-tab.is-active,
.v32-advisory-tab[aria-selected="true"] {
  border-color: #a65441;
  background: #a65441;
  color: #fff;
  box-shadow: 0 6px 16px rgba(130, 67, 51, .18);
}

.v32-advisory-report {
  position: relative;
  min-height: 390px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #ded5ca;
  border-radius: 4px 15px 15px 4px;
  background:
    linear-gradient(90deg, rgba(121, 97, 81, .055) 0, rgba(121, 97, 81, .055) 34px, transparent 34px),
    #fffdf9;
  box-shadow: 0 16px 35px rgba(75, 57, 47, .13);
}

.v32-advisory-report::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 33px;
  width: 1px;
  background: rgba(166, 79, 59, .17);
}

.v32-advisory-report > h3 {
  margin: 22px 0 6px 20px;
  color: var(--ink);
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.18;
}

.v32-advisory-report > footer {
  margin: 18px 0 0 20px;
  padding-top: 14px;
  border-top: 1px solid #e5ddd4;
  color: #8b7d75;
  font-size: 9px;
  line-height: 1.65;
}

.v32-report-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-left: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5ddd4;
  color: #8b7d75;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1.5;
  text-transform: uppercase;
}

.v32-report-meta strong {
  color: #31584a;
  font-weight: 760;
}

.v32-report-section {
  display: grid;
  grid-template-columns: minmax(105px, .34fr) minmax(0, 1fr);
  gap: 18px;
  margin-left: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #eee7df;
}

.v32-report-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.v32-report-section > span,
.v32-report-section > strong:first-child {
  color: #a65441;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .085em;
  line-height: 1.5;
  text-transform: uppercase;
}

.v32-report-section h3,
.v32-report-section h4 {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.v32-report-section p,
.v32-report-section li {
  color: #6d625c;
  font-size: 11px;
  line-height: 1.7;
}

.v32-report-section ul {
  margin: 0;
  padding-left: 17px;
}

.v32-method-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 45px);
  border-top: 1px solid rgba(255, 255, 255, .17);
  border-bottom: 1px solid rgba(255, 255, 255, .17);
  direction: ltr;
}

.v32-method-strip > div,
.v32-method-strip > li {
  position: relative;
  min-width: 0;
  padding: 17px 20px 17px 0;
  list-style: none;
}

.v32-method-strip > :not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 17px;
  right: 18px;
  color: rgba(255, 255, 255, .35);
}

.v32-method-strip span {
  display: block;
  margin-bottom: 6px;
  color: #f1a891;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}

.v32-method-strip strong {
  display: block;
  max-width: 175px;
  padding-right: 22px;
  color: #fffaf3;
  font-size: 11px;
  font-weight: 620;
  line-height: 1.5;
}

.v32-market-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.v32-signal-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fffdf9;
}

.v32-signal-card:nth-child(2),
.v32-signal-card:nth-child(3) {
  background: #f0f5ef;
  border-color: #d3dfd3;
}

.v32-signal-card > span,
.v32-signal-card .small-label {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .095em;
  line-height: 1.5;
  text-transform: uppercase;
}

.v32-signal-card h3 {
  margin-top: 18px;
  font-size: clamp(18px, 2vw, 23px);
}

.v32-signal-card p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.75;
}

.v32-signal-card small {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(95, 78, 68, .12);
  color: #8b7d75;
  font-size: 9px;
  line-height: 1.6;
}

.v32-deliverables {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(390px, 1.15fr);
  gap: clamp(28px, 5vw, 65px);
  align-items: start;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid #d6e1d7;
  border-radius: 20px;
  background: linear-gradient(135deg, #eef4ed, #fafbf6);
}

.v32-deliverables .section-heading {
  margin-bottom: 0;
}

.v32-deliverables .section-heading p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
}

.v32-deliverable-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cedbce;
  list-style: none;
}

.v32-deliverable-list li {
  position: relative;
  min-height: 70px;
  padding: 18px 8px 16px 36px;
  border-bottom: 1px solid #cedbce;
  color: #506055;
  font-size: 11px;
  line-height: 1.65;
}

.v32-deliverable-list li > span {
  position: absolute;
  top: 18px;
  left: 3px;
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .08em;
}

.v32-deliverable-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12px;
}

.v32-advisory-examples > .section-heading {
  max-width: 830px;
}

.v32-example-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.v32-example-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  min-height: 320px;
  padding: clamp(23px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdf9;
  box-shadow: 0 10px 28px rgba(65, 49, 40, .055);
}

.v32-example-card:nth-child(even) {
  background: #f0f5ef;
  border-color: #d3dfd3;
}

.v32-example-card > span,
.v32-example-card .small-label {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.v32-example-card h3 {
  max-width: 470px;
  margin-top: 18px;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.18;
}

.v32-example-card p {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.75;
}

.v32-example-card dl {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
}

.v32-example-card dl > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(95, 78, 68, .13);
}

.v32-example-card dt {
  color: #9d7465;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.v32-example-card dd {
  margin: 0;
  color: #655a54;
  font-size: 11px;
  line-height: 1.6;
}

.v32-example-card .btn,
.v32-example-card .btn-text {
  justify-self: start;
  margin-top: 24px;
}

.v32-boundary-note {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding: 14px 17px;
  border-left: 3px solid #d08a76;
  border-radius: 0 9px 9px 0;
  background: #fbf2ed;
  color: #766861;
  font-size: 10px;
  line-height: 1.7;
}

.v32-product-roles .mini-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
}

.v32-product-roles .mini-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.v32-advisory-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #e2c9bc;
  border-radius: 20px;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .45), transparent),
    #f3e2d7;
}

.v32-advisory-request h2,
.v32-advisory-request h3 {
  max-width: 740px;
}

.v32-advisory-request p {
  max-width: 720px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
}

.v32-advisory-request > aside {
  width: min(430px, 38vw);
  padding: 24px;
  border: 1px solid rgba(139, 82, 62, .16);
  border-radius: 15px;
  background: rgba(255, 253, 249, .72);
}

.v32-advisory-request > aside > span {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .09em;
}

.v32-advisory-request > aside ul {
  margin: 15px 0 0;
  padding-left: 18px;
}

.v32-advisory-request > aside li {
  margin-top: 7px;
  color: #655a54;
  font-size: 11px;
  line-height: 1.55;
}

.v32-advisory-request > aside small {
  display: block;
  margin-top: 17px;
  padding-top: 13px;
  border-top: 1px solid rgba(139, 82, 62, .13);
  color: #7e7069;
  font-size: 9px;
  line-height: 1.65;
}

.v32-advisory-request .hero-actions,
.v32-advisory-request .panel-actions {
  margin: 0;
  flex-wrap: nowrap;
}

.v32-advisory-tab:focus-visible,
.v32-example-card .btn:focus-visible,
.v32-advisory-request .btn:focus-visible {
  outline: 3px solid #f1aa93;
  outline-offset: 3px;
}

/* Keep the composition stable in Arabic. Reading direction changes inside
   text blocks only; columns, cards, report furniture and step order stay LTR. */
html.locale-ar :where(
  .v32-advisory-grid,
  .v32-advisory-stage,
  .v32-advisory-tabs,
  .v32-advisory-report,
  .v32-report-meta,
  .v32-report-section,
  .v32-advisory-outcomes > div,
  .v32-method-strip,
  .v32-market-signals,
  .v32-deliverables,
  .v32-deliverable-list,
  .v32-product-roles,
  .v32-advisory-request
) {
  direction: ltr;
}

html.locale-ar :where(
  .v32-advisory-copy > .eyebrow,
  .v32-advisory-copy > h2,
  .v32-advisory-copy > p,
  .v32-advisory-outcomes strong,
  .v32-advisory-outcomes small,
  .v32-advisory-tab,
  .v32-advisory-report > h3,
  .v32-advisory-report > footer,
  .v32-report-meta > span,
  .v32-report-section > strong,
  .v32-report-section > p,
  .v32-method-strip strong,
  .v32-signal-card,
  .v32-deliverables .section-heading,
  .v32-deliverable-list strong,
  .v32-boundary-note,
  .v32-product-roles .mini-card,
  .v32-advisory-request > div,
  .v32-advisory-request > aside
) {
  direction: rtl;
  text-align: right;
}

html.locale-ar .v32-advisory-copy .hero-actions {
  direction: ltr;
  justify-content: flex-start;
}

html.locale-ar .v32-advisory-copy .hero-actions .btn {
  direction: rtl;
}

html.locale-ar .v32-advisory-report::before {
  left: 33px;
  right: auto;
}

html.locale-ar .v32-deliverable-list li {
  direction: ltr;
}

html.locale-ar .v32-deliverable-list li > strong {
  direction: rtl;
  text-align: right;
}

@media (max-width: 1040px) {
  .v32-advisory-grid {
    grid-template-columns: minmax(0, .76fr) minmax(420px, 1.24fr);
    gap: 30px;
  }

  .v32-report-section {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .v32-market-signals,
  .v32-deliverables {
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .v32-advisory-grid,
  .v32-deliverables {
    grid-template-columns: 1fr;
  }

  .v32-advisory-copy > p {
    max-width: 680px;
  }

  .v32-advisory-stage {
    margin-top: 4px;
  }

  .v32-market-signals > .section-heading {
    position: static;
    max-width: 700px;
  }

  .v32-method-strip {
    grid-template-columns: 1fr 1fr;
  }

  .v32-method-strip > :nth-child(2)::after {
    display: none;
  }

  .v32-advisory-request {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .v32-advisory-request > aside {
    width: 100%;
  }

  .v32-advisory-request .hero-actions,
  .v32-advisory-request .panel-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .v32-advisory {
    margin-inline: -2px;
    padding: 27px 19px;
    border-radius: 19px;
  }

  .v32-advisory::after {
    display: none;
  }

  .v32-advisory-copy h2 {
    font-size: 32px;
  }

  .v32-advisory-copy > p {
    font-size: 12px;
  }

  .v32-advisory-copy .hero-actions,
  .v32-advisory-copy .panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .v32-advisory-copy .btn {
    width: 100%;
  }

  .v32-advisory-stage {
    margin-inline: -4px;
    padding: 15px;
    border-radius: 16px;
  }

  .v32-advisory-stage::before {
    display: none;
  }

  .v32-advisory-tabs {
    margin-right: -15px;
    padding-right: 15px;
  }

  .v32-advisory-tabs::after {
    content: "";
    flex: 0 0 10px;
  }

  .v32-advisory-report {
    min-height: 0;
    padding: 21px 17px 21px 25px;
    border-radius: 3px 12px 12px 3px;
  }

  .v32-advisory-report::before {
    left: 19px;
  }

  .v32-report-meta,
  .v32-report-section {
    margin-left: 8px;
  }

  .v32-report-meta {
    flex-direction: column;
    gap: 4px;
  }

  .v32-report-section {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-block: 14px;
  }

  .v32-method-strip {
    grid-template-columns: 1fr;
  }

  .v32-method-strip > div,
  .v32-method-strip > li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .v32-method-strip > :not(:last-child)::after {
    display: none;
  }

  .v32-method-strip strong {
    max-width: none;
    padding-right: 0;
  }

  .v32-signal-card {
    min-height: 0;
    padding: 22px 19px;
  }

  .v32-market-signals {
    grid-template-columns: 1fr;
  }

  .v32-deliverables {
    padding: 24px 19px;
    border-radius: 16px;
  }

  .v32-deliverable-list,
  .v32-example-grid {
    grid-template-columns: 1fr;
  }

  .v32-deliverable-list li {
    min-height: 0;
  }

  .v32-example-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .v32-example-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .v32-advisory-request {
    padding: 25px 20px;
    border-radius: 16px;
  }

  .v32-advisory-request .hero-actions,
  .v32-advisory-request .panel-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .v32-advisory-request .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v32-advisory *,
  .v32-advisory-examples *,
  .v32-advisory-request * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
