
/* ===== Section wrapper ===== */
.iv-bottom-section{
  padding: 36px 16px 46px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;

  /* ✅ Prevent this block from causing horizontal scroll on mobile */
  overflow-x: clip;   /* modern */
  overflow-x: hidden; /* fallback */
}

/* ===== Card ===== */
.iv-bottom-card{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;

  background: linear-gradient(180deg, rgba(139,90,43,.08), rgba(255,255,255,0) 70%), #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 26px 18px 22px;

  /* ✅ Key: box model + width safety */
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* ===== Title ===== */
.iv-bottom-title{
  font-size: clamp(26px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #1a2530;
  margin: 0 0 10px;
}

/* ===== Text ===== */
.iv-bottom-text{
  font-size: 16px;
  line-height: 1.6;
  color: #495057;
  margin: 0 auto;

  /* ✅ No nowrap (nowrap can push layout wider and create horizontal scroll) */
  white-space: normal;

  /* ✅ Prevent long strings/URLs from breaking layout */
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ===== Actions ===== */
.iv-bottom-actions{
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  /* ✅ Flex safety */
  min-width: 0;
}

/* Primary button */
.iv-bottom-btn{
  padding: 12px 24px;
  background: #8B5A2B;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;

  /* ✅ Anchor safety on mobile */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  max-width: 100%;
}

.iv-bottom-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

/* Secondary link */
.iv-bottom-link{
  font-size: 14px;
  font-weight: 600;
  color: #1a2530;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .85;

  max-width: 100%;
  overflow-wrap: anywhere;
}

.iv-bottom-link:hover{ opacity: 1; }

/* ===== Mobile ===== */
@media (max-width:768px){
  .iv-bottom-section{ padding: 28px 12px 36px; }

  .iv-bottom-text{
    font-size: 15px;
    line-height: 1.7;
  }

  .iv-bottom-actions{
    flex-direction: column;
  }

  .iv-bottom-btn{
    width: 100%;
    max-width: 320px;
  }
}
