/* Trading-B BV corporate pages, enquiry forms and FAQ */

.tbbv-page-content {
  background:
    radial-gradient(circle at 92% 8%, rgba(185,119,50,.08), transparent 24%),
    #fbf8f1;
}

.tbbv-prose {
  max-width: 100%;
}

.tbbv-prose > *:first-child { margin-top: 0; }
.tbbv-prose > *:last-child { margin-bottom: 0; }

.tbbv-page-lead {
  max-width: 900px;
  margin-bottom: 46px;
}

.tbbv-page-lead .tbbv-kicker {
  margin-bottom: 16px;
}

.tbbv-page-lead h2 {
  margin: 0;
  max-width: 840px;
  color: #173a33;
  font-family: "DM Serif Display", serif;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 400;
}

.tbbv-page-lead > p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: #5d6864;
  font-size: 17px;
  line-height: 1.8;
}

.tbbv-info-grid,
.tbbv-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 52px;
}

.tbbv-info-grid article,
.tbbv-process-grid article {
  position: relative;
  min-height: 230px;
  padding: 30px;
  border: 1px solid rgba(23,58,51,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 42px rgba(28,51,44,.06);
  overflow: hidden;
}

.tbbv-info-grid article::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 54px;
  height: 3px;
  background: #b97732;
}

.tbbv-info-grid h3,
.tbbv-process-grid h3 {
  margin: 18px 0 14px;
  color: #173a33;
  font-family: "DM Serif Display", serif;
  font-size: 29px;
  line-height: 1.1;
  font-weight: 400;
}

.tbbv-info-grid p,
.tbbv-process-grid p {
  margin: 0;
  color: #65706c;
  font-size: 14px;
  line-height: 1.8;
}

.tbbv-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tbbv-process-grid article {
  min-height: 280px;
  background: linear-gradient(155deg, #173a33, #102e28);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}

.tbbv-process-grid article > span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #e5c79e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}

.tbbv-process-grid h3 {
  margin-top: 58px;
  color: #fff;
}

.tbbv-process-grid p {
  color: rgba(255,255,255,.66);
}

.tbbv-page-cta {
  margin-top: 54px;
  padding: 38px 40px;
  border-radius: 22px;
  background: linear-gradient(135deg, #173a33, #0d2621);
  color: #fff;
}

.tbbv-page-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 46px);
}

.tbbv-page-cta p {
  max-width: 690px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.68);
}

.tbbv-page-cta a,
.tbbv-inline-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 999px;
  background: #f7edda;
  color: #173a33 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 800;
}

.tbbv-contact-layout {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: start;
}

.tbbv-contact-details {
  position: sticky;
  top: 126px;
  padding: 32px;
  border-radius: 22px;
  background: #173a33;
  color: #fff;
}

.tbbv-contact-details h3 {
  margin: 0 0 26px;
  color: #fff;
  font-size: 34px;
}

.tbbv-contact-details p {
  margin: 0 0 24px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.tbbv-contact-details strong {
  display: inline-block;
  margin-bottom: 5px;
  color: #e5c79e;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .16em;
}

.tbbv-contact-details a:not(.tbbv-inline-cta) {
  color: #fff;
  text-decoration-color: rgba(255,255,255,.35);
}

.tbbv-form {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(23,58,51,.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(28,51,44,.07);
}

.tbbv-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tbbv-form label {
  display: grid;
  gap: 8px;
  color: #263b34;
  font-size: 12px;
  font-weight: 800;
}

.tbbv-form label > span { color: #b97732; }

.tbbv-form input,
.tbbv-form textarea,
.tbbv-form select {
  width: 100%;
  border: 1px solid rgba(23,58,51,.16);
  border-radius: 12px;
  background: #fbfaf6;
  color: #1b2421;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.tbbv-form input { min-height: 50px; padding: 0 14px; }
.tbbv-form textarea { min-height: 150px; padding: 14px; resize: vertical; }

.tbbv-form input:focus,
.tbbv-form textarea:focus,
.tbbv-form select:focus {
  border-color: #b97732;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(185,119,50,.11);
}

.tbbv-form-full { grid-column: 1 / -1; }

.tbbv-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 24px;
  border: 1px solid #173a33;
  border-radius: 999px;
  background: #173a33;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}

.tbbv-form-submit:hover {
  transform: translateY(-2px);
  background: #0d2621;
}

.tbbv-form-note {
  margin: 18px 0 0;
  color: #7b8581;
  font-size: 11px;
  line-height: 1.65;
}

.tbbv-form-notice {
  margin-bottom: 20px;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.tbbv-form-notice--success {
  border: 1px solid #b9d6c7;
  background: #edf7f1;
  color: #205b42;
}

.tbbv-form-notice--error {
  border: 1px solid #e5c2b6;
  background: #fff2ed;
  color: #8b3b25;
}

.tbbv-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px) !important;
  white-space: nowrap !important;
}

.tbbv-faq {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.tbbv-faq details {
  border: 1px solid rgba(23,58,51,.13);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  overflow: hidden;
}

.tbbv-faq summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  color: #173a33;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
}

.tbbv-faq summary::-webkit-details-marker { display: none; }

.tbbv-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4eddf;
  color: #935b24;
  font-size: 18px;
}

.tbbv-faq details[open] summary::after { content: "−"; }

.tbbv-faq details p {
  margin: 0;
  padding: 0 22px 22px;
  max-width: 760px;
  color: #67726d;
  font-size: 14px;
}

.tbbv-prose > h2:not(.tbbv-page-lead h2) {
  margin-top: 54px;
}

.tbbv-prose ul,
.tbbv-prose ol {
  padding-left: 22px;
}

.tbbv-prose li + li { margin-top: 8px; }

.tbbv-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.tbbv-prose th,
.tbbv-prose td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(23,58,51,.1);
  text-align: left;
  vertical-align: top;
}

.tbbv-prose th {
  background: #173a33;
  color: #fff;
  font-size: 12px;
}

.tbbv-company-nav {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(23,58,51,.1);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
}

.tbbv-company-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tbbv-company-nav__inner::-webkit-scrollbar { display: none; }

.tbbv-company-nav a {
  flex: 0 0 auto;
  padding: 16px 15px 14px;
  border-bottom: 2px solid transparent;
  color: #5f6b66;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.tbbv-company-nav a:hover,
.tbbv-company-nav a.is-current {
  border-bottom-color: #b97732;
  color: #173a33;
}

@media (max-width: 980px) {
  .tbbv-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tbbv-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tbbv-contact-layout { grid-template-columns: 1fr; }
  .tbbv-contact-details { position: static; }
}

@media (max-width: 680px) {
  .tbbv-page-lead { margin-bottom: 34px; }
  .tbbv-page-lead h2 { font-size: 38px; }
  .tbbv-info-grid,
  .tbbv-process-grid,
  .tbbv-form-grid { grid-template-columns: 1fr; }
  .tbbv-info-grid article,
  .tbbv-process-grid article,
  .tbbv-form,
  .tbbv-contact-details { padding: 24px; }
  .tbbv-process-grid article { min-height: 230px; }
  .tbbv-process-grid h3 { margin-top: 40px; }
  .tbbv-page-cta { padding: 28px 24px; }
  .tbbv-form-full { grid-column: auto; }
}
