/* =================== VISION SECTION =================== */
.vision-section {
  --box-width: 320px;
  --box-height: 340px;
  background-color: #F4F3EE;
  padding: 80px 20px;
}

/* Header */
.vision-section .vision-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-bottom: 80px;
}

.vision-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 1.8vw + 1rem, 2.2rem);
  letter-spacing: 0.15em;
  font-weight: 500;
  margin: 0;
  text-align: center;
  color: #3c3b31;
}

.vision-section .vision-underline {
  width: 100px;
  height: 3px;
  background: #a6764b;
}

/* Grid layout */
.vision-section .vision-grid {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
}

/* Each box */
.vision-section .vision-box {
  position: relative;
  width: var(--box-width);
  height: var(--box-height);
  flex: 0 0 auto;
  border: 1.5px solid #3c3b31;
  border-top: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Allow step number to appear above the box */
  overflow: visible;
}

/* Top border with centered gap */
.vision-section .vision-box::before,
.vision-section .vision-box::after {
  content: "";
  position: absolute;
  top: 0;
  height: 0;
  border-top: 1.5px solid #3c3b31;
  width: 35%;
  z-index: 1;
}
.vision-section .vision-box::before { left: 0; }
.vision-section .vision-box::after  { right: 0; }

/* Step number above everything */
.vision-section .vision-step {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 1;
  color: #a6764b;
  letter-spacing: 0.02em;
  background: #F4F3EE;
  padding: 0 12px;
  pointer-events: none;
  z-index: 3;
}

/* Background icon */
.vision-section .vision-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

  opacity: 0.07 !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;

  pointer-events: none;
  z-index: 0;
}

/* iOS-specific fallback to avoid rendering bugs */
@supports (-webkit-touch-callout: none) {
  .vision-section .vision-icon {
    opacity: 0.07 !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
  }
}

/* Individual icon sizing */
.vision-section .icon-1 {
  max-width: 110%;
  max-height: 110%;
}
.vision-section .icon-2 {
  max-width: 90%;
  max-height: 90%;
  margin-top: 15px;
}
.vision-section .icon-3 {
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 20px;
}
.vision-section .icon-4 {
  max-width: 100%;
  max-height: 100%;
  margin-top: 10px;
}

/* Text content */
.vision-section .vision-card {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: 90%;
  padding: 18px 20px;
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
}

.vision-section .vision-title {
  margin: 0 0 20px;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: #3c3b31;
}

.vision-section .vision-desc {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.5;
  color: #3c3b31;
}

.vision-section .vision-bullet {
  display: block;
  text-align: center;
  color: #a6764b;
  font-size: 2rem;
  line-height: 1;
  margin: 8px 0;
}
