/* Implants — Variant B: Editorial Retreat */

.variant-b { background: var(--bg-b); }

.ib-hero { background: var(--bg-b); padding: 80px 24px; }
.ib-hero__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.ib-hero__eyebrow { font-size: 0.6875rem; color: var(--terracotta); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.ib-hero__eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: var(--terracotta); flex-shrink: 0; }
.ib-hero__h1 { font-family: var(--font-serif); font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 500; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.01em; }
.ib-hero__h1 em { font-style: italic; color: var(--terracotta); }
.ib-hero__sub { font-size: 1.0625rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 28px; max-width: 480px; }
.ib-price-strip { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.ib-price-label { font-size: 0.75rem; font-weight: 500; color: var(--muted); display: block; }
.ib-price-val--strike { font-size: 1.25rem; font-weight: 600; color: var(--muted); text-decoration: line-through; }
.ib-price-val--main { font-size: 1.75rem; font-weight: 700; color: var(--terracotta); font-family: var(--font-serif); }
.ib-price-arrow { color: var(--muted); }
.ib-price-save { font-size: 0.8125rem; color: var(--muted); }
.ib-price-save strong { font-size: 1rem; color: var(--ink); }
.ib-hero__ctas { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.ib-hero__trust { font-size: 0.8125rem; color: var(--muted); }
.ib-hero__photo-wrap { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.ib-hero__photo-wrap img { width: 100%; height: 210px; object-fit: cover; object-position: center; }
.ib-cred-card { background: rgba(255,255,255,0.7); border: 1px solid var(--line-b); border-radius: var(--radius); padding: 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; backdrop-filter: blur(4px); }
.ib-cred-card img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: center top; flex-shrink: 0; }
.ib-cred-card strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.ib-cred-card span { font-size: 0.8125rem; color: var(--muted); }
.ib-rating { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--ink-2); }
.ib-rating__num { font-family: var(--font-serif); font-size: 1.5rem; }
.ib-rating__stars { color: var(--star); }
.ib-included { background: rgba(156,74,44,0.07); border: 1px solid rgba(156,74,44,0.2); border-radius: var(--radius); padding: 16px 20px; margin-top: 12px; }
.ib-included__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.ib-included ul { display: flex; flex-direction: column; gap: 5px; }
.ib-included li { font-size: 0.8125rem; color: var(--ink-2); }

.ib-trust { background: var(--bg-dark-b); padding: 36px 24px; }
.ib-trust__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ib-trust__item { text-align: center; }
.ib-trust__icon { width: 40px; height: 40px; background: rgba(156,74,44,0.25); border: 1px solid rgba(156,74,44,0.35); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--terracotta); margin: 0 auto 10px; }
.ib-trust__item strong { display: block; font-size: 1.125rem; font-weight: 700; color: #fff; }
.ib-trust__item span { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

.ib-manifesto { padding: 80px 24px; background: var(--bg-b); border-top: 1px solid var(--line-b); border-bottom: 1px solid var(--line-b); }
.ib-manifesto__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.ib-manifesto__label { font-size: 0.6875rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 28px; }
.ib-manifesto__quote { font-family: var(--font-serif); font-size: clamp(1.375rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 400; color: var(--ink); margin: 0 0 32px; font-style: normal; }
.ib-manifesto__quote em { color: var(--terracotta); font-style: italic; }
.ib-manifesto__attr { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 0.8125rem; color: var(--muted); font-style: italic; font-family: var(--font-serif); }
.ib-manifesto__line { width: 48px; height: 1px; background: var(--line-b); }

.ib-why { padding: 96px 24px; background: var(--bg-b); }
.ib-why__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-why h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.ib-why__sub { font-size: 1rem; color: var(--ink-2); line-height: 1.7; max-width: 600px; margin-bottom: 32px; }
.ib-why__photo { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; }
.ib-why__photo img { width: 100%; height: 360px; object-fit: cover; object-position: center; }
.ib-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ib-why__card { border-top: 2px solid var(--terracotta); padding-top: 20px; }
.ib-why__icon { width: 40px; height: 40px; background: rgba(156,74,44,0.08); border: 1px solid rgba(156,74,44,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--terracotta); margin-bottom: 14px; }
.ib-why__card h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.ib-why__card p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.6; }

.ib-compare { padding: 96px 24px; background: var(--bg-b); }
.ib-compare__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-compare h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.ib-compare__sub { color: var(--ink-2); margin-bottom: 36px; font-size: 0.9375rem; }
.ib-table-wrap { overflow-x: auto; border: 1px solid var(--line-b); border-radius: var(--radius); }
.ib-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ib-table th { text-align: left; padding: 14px 18px; font-size: 0.8125rem; font-weight: 500; border-bottom: 1px solid var(--line-b); color: var(--muted); }
.ib-table th.ib-table__highlight { border-top: 3px solid var(--terracotta); background: rgba(156,74,44,0.06); color: var(--terracotta) !important; font-weight: 700; letter-spacing: 0.04em; font-size: 0.9rem; }
.ib-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-b); color: var(--ink-2); }
.ib-table td.ib-table__highlight { background: rgba(156,74,44,0.04); color: var(--ink) !important; font-weight: 500; }
.ib-table td.ib-table__highlight strong { color: var(--terracotta); font-size: 1rem; }
.ib-table tbody tr:last-child td { border-bottom: none; }

.ib-plans { padding: 96px 24px; background: #fff; }
.ib-plans__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-plans h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 8px; }
.ib-plans__sub { color: var(--ink-2); margin-bottom: 40px; max-width: 600px; }
.ib-plans__grid { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 24px; }
.ib-plans__img-panel { border-radius: var(--radius-lg); overflow: hidden; }
.ib-plans__img-panel img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.ib-plan { border: 1px solid var(--line-b); border-radius: var(--radius-lg); padding: 32px; position: relative; background: var(--bg-b); }
.ib-plan--featured { background: var(--bg-dark-b); color: #fff; }
.ib-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--terracotta); color: #fff; font-size: 0.75rem; font-weight: 500; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.ib-plan h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 4px; }
.ib-plan--featured h3 { color: #fff; }
.ib-plan__detail { font-size: 0.875rem; color: var(--muted); margin-bottom: 16px; }
.ib-plan--featured .ib-plan__detail { color: rgba(255,255,255,0.6); }
.ib-plan__price { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; color: var(--terracotta); margin-bottom: 16px; }
.ib-plan--featured .ib-plan__price { color: #fff; }
.ib-plan ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.ib-plan li { font-size: 0.875rem; color: var(--ink-2); padding-left: 16px; position: relative; }
.ib-plan--featured li { color: rgba(255,255,255,0.75); }
.ib-plan li::before { content: '–'; position: absolute; left: 0; color: var(--terracotta); }

.ib-surgeon { padding: 96px 24px; background: var(--bg-b); }
.ib-surgeon__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.ib-surgeon__photo-placeholder { background: rgba(0,0,0,0.06); border-radius: var(--radius-lg); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.875rem; }
.ib-surgeon h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 16px; }
.ib-surgeon p { color: var(--ink-2); line-height: 1.7; margin-bottom: 24px; }
.ib-surgeon__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.ib-surgeon__stats div strong { display: block; font-size: 1.125rem; font-weight: 700; }
.ib-surgeon__stats div span { font-size: 0.8125rem; color: var(--muted); }
.ib-surgeon__gdc { font-size: 0.875rem; color: var(--ink-2); font-style: italic; margin-bottom: 20px; }
.ib-surgeon__gdc a { color: var(--terracotta); }
.ib-surgeon__team-link { display: inline-block; font-size: 0.9375rem; font-weight: 600; color: var(--terracotta); text-decoration: none; }
.ib-surgeon__team-link:hover { text-decoration: underline; }

.ib-journey { padding: 96px 24px; background: var(--bg-dark-b); color: #fff; }
.ib-journey__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-journey h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 48px; }
.ib-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ib-step { display: flex; flex-direction: column; }
.ib-step__icon { width: 44px; height: 44px; background: rgba(156,74,44,0.2); border: 1px solid rgba(156,74,44,0.4); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--terracotta); margin-bottom: 16px; flex-shrink: 0; }
.ib-step__day { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
.ib-step h3 { font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 500; margin-bottom: 8px; color: #fff; }
.ib-step p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.6; }

.ib-beyond { padding: 96px 24px; background: var(--bg-b); }
.ib-beyond__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-beyond h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.ib-beyond p { color: var(--ink-2); line-height: 1.7; margin-bottom: 36px; }
.ib-beyond__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ib-beyond__dest { border: 1px solid var(--line-b); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.ib-beyond__dest-img { height: 110px; background-size: cover; background-position: center; flex-shrink: 0; }
.ib-beyond__dest-img--bansko { background-color: #567a4e; background-image: url('/images/bansko-mountain.jpg'); }
.ib-beyond__dest-img--kavala { background-color: #3d6b8a; background-image: url('/images/kavala.jpg'); }
.ib-beyond__dest-img--ognyanovo { background-color: #6b8a57; background-image: url('/images/ognyanovo.jpg'); }
.ib-beyond__dest-img--alistrati { background-color: #5a4a3a; background-image: url('/images/alistrati.jpg'); }
.ib-beyond__dest-body { padding: 14px; border-left: 2px solid var(--terracotta); margin: 12px; }
.ib-beyond__dest h4 { font-family: var(--font-serif); font-size: 1rem; font-weight: 500; margin-bottom: 4px; color: var(--terracotta); }
.ib-beyond__dest p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 4px; }
.ib-beyond__dest-body > span { font-size: 0.75rem; color: var(--ink-2); font-weight: 500; }

.ib-reviews { padding: 96px 24px; background: #fff; }
.ib-reviews__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-reviews h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 8px; }
.ib-reviews__rating { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 0.875rem; margin-bottom: 36px; }
.ib-reviews__rating span:first-child { color: var(--star); }
.ib-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ib-review { background: var(--bg-b); border-radius: var(--radius); padding: 24px; }
.ib-review p { font-size: 0.9375rem; font-style: italic; color: var(--ink-2); line-height: 1.65; margin-bottom: 12px; }
.ib-review div { font-size: 0.8125rem; color: var(--muted); }

.ib-warranty { padding: 96px 24px; background: var(--bg-dark-b); color: #fff; }
.ib-warranty__inner { max-width: var(--max-w); margin: 0 auto; }
.ib-warranty h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.ib-warranty__sub { color: rgba(255,255,255,0.65); margin-bottom: 40px; font-size: 0.9375rem; max-width: 560px; }
.ib-warranty__list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,0.12); }
.ib-warranty__row { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 24px; border-bottom: 1px solid rgba(255,255,255,0.12); align-items: start; }
.ib-warranty__row:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
.ib-warranty__num { font-family: var(--font-serif); font-style: italic; font-size: 1.625rem; color: var(--terracotta); line-height: 1; padding-top: 2px; }
.ib-warranty__row-body { display: flex; flex-direction: column; gap: 8px; }
.ib-warranty__icon { width: 38px; height: 38px; background: rgba(156,74,44,0.25); border: 1px solid rgba(156,74,44,0.4); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--terracotta); flex-shrink: 0; }
.ib-warranty__row-body strong { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.ib-warranty__row-body p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.5; margin: 0; }

.ib-faq { padding: 96px 24px; background: var(--bg-b); }
.ib-faq__inner { max-width: var(--max-w-content); margin: 0 auto; }
.ib-faq h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.ib-faq__note { font-size: 0.875rem; color: var(--muted); margin-bottom: 36px; }
.ib-faq__note a { color: var(--terracotta); }
.ib-faq__item { border-bottom: 1px solid var(--line-b); }
.ib-faq__item summary { padding: 18px 0; font-size: 0.9375rem; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.ib-faq__item summary::after { content: '+'; color: var(--terracotta); margin-left: 16px; }
.ib-faq__item[open] summary::after { content: '−'; }
.ib-faq__item p { padding-bottom: 20px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.7; }
.ib-faq__item a { color: var(--terracotta); }

.ib-form { padding: 96px 24px; background: #fff; }
.ib-form__inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
.ib-form__text h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 12px; }
.ib-form__text p { color: var(--ink-2); line-height: 1.7; margin-bottom: 24px; }
.ib-form__steps { display: flex; flex-direction: column; gap: 16px; }
.ib-form__steps li { display: flex; flex-direction: column; gap: 2px; }
.ib-form__steps strong { font-size: 0.9375rem; font-weight: 600; }
.ib-form__steps span { font-size: 0.875rem; color: var(--muted); }
.ib-form__form { display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line-b); border-radius: var(--radius-lg); padding: 32px; background: var(--bg-b); }
.ib-form__form .form-group input:focus,
.ib-form__form .form-group textarea:focus { border-color: var(--terracotta); }

@media (max-width: 900px) {
  .ib-hero__inner, .ib-surgeon__inner, .ib-form__inner { grid-template-columns: 1fr; }
  .ib-why__grid { grid-template-columns: 1fr 1fr; }
  .ib-beyond__grid { grid-template-columns: 1fr 1fr; }
  .ib-plans__grid { grid-template-columns: 1fr 1fr; }
  .ib-plans__img-panel { display: none; }
  .ib-reviews__grid { grid-template-columns: 1fr; }
  .ib-steps { grid-template-columns: 1fr 1fr; }
  .ib-trust__inner { grid-template-columns: repeat(3, 1fr); }
  .ib-warranty__list { grid-template-columns: 1fr; }
  .ib-warranty__row:nth-child(odd) { border-right: none; }
}
@media (max-width: 600px) {
  .ib-why__grid, .ib-beyond__grid { grid-template-columns: 1fr; }
  .ib-trust__inner { grid-template-columns: repeat(2, 1fr); }
  .ib-steps { grid-template-columns: 1fr; }
  .ib-plans__grid { grid-template-columns: 1fr; }
  /* Comparison table: stacked cards — no horizontal scroll */
  .ib-table-wrap { overflow: visible; }
  .ib-table, .ib-table tbody, .ib-table tr { display: block; }
  .ib-table thead { display: none; }
  .ib-table tr { padding: 14px 0; border-bottom: 1px solid var(--line-b); }
  .ib-table tr:last-child { border-bottom: none; }
  .ib-table td { border: none; padding: 2px 0; }
  .ib-table td:first-child { display: block; font-weight: 600; font-size: 0.875rem; color: var(--ink); margin-bottom: 8px; }
  .ib-table td:not(:first-child) { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8125rem; }
  .ib-table td:nth-child(2)::before { content: 'UK'; display: inline-block; min-width: 54px; flex-shrink: 0; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-top: 1px; }
  .ib-table td:nth-child(3)::before { content: 'Turkey'; display: inline-block; min-width: 54px; flex-shrink: 0; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-top: 1px; }
  .ib-table td:nth-child(4)::before { content: 'A·Dent'; display: inline-block; min-width: 54px; flex-shrink: 0; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--terracotta); padding-top: 1px; }
  .ib-table__highlight { background: none !important; }
}
