/* ============================================================
   BLOCKS.CSS — Premium Block Rendering Styles
   Scoped under .blk-page so it never leaks into admin.
   ============================================================ */

/* ── BASE ─────────────────────────────────────────────── */
.blk-page {
  font-family: var(--blk-font-body);
  font-size: clamp(15px, 0.98vw, 17px);
  line-height: 1.7;
  color: var(--blk-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.blk-page *, .blk-page *::before, .blk-page *::after { box-sizing: border-box; }

/* ── TYPOGRAPHY ───────────────────────────────────────── */
.blk-page h1, .blk-page h2, .blk-page h3, .blk-page h4 {
  font-family: var(--blk-font-display);
  font-weight: 500;
  color: var(--blk-plum-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}
.blk-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; }
.blk-page h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; }
.blk-page h3 { font-size: 1.75rem; }
.blk-page h4 { font-size: 1.25rem; }
.blk-page p  { max-width: 65ch; margin-bottom: 1.5rem; color: var(--blk-ink); }
.blk-page a  {
  color: inherit;
  text-decoration-color: var(--blk-gold-400);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.25s var(--blk-ease), text-decoration-color 0.25s var(--blk-ease);
}
.blk-page a:hover { color: var(--blk-gold-600); }
.blk-page img { max-width: 100%; display: block; height: auto; }

/* ── CONTAINERS ───────────────────────────────────────── */
.blk-container       { width: 100%; max-width: var(--blk-container-normal); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.blk-container--narrow { max-width: var(--blk-container-narrow); }
.blk-container--wide   { max-width: var(--blk-container-wide); }

/* ── SECTION ──────────────────────────────────────────── */
.blk-section {
  padding-block: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

/* Adjust top padding for adjacent sections to prevent double spacing while keeping room to breathe */
.blk-section ~ .blk-section,
.block-slider-section ~ .blk-section,
.blk-hero ~ .blk-section,
.blk-heading ~ .blk-section,
.blk-section ~ .block-slider-card-wrapper,
.block-slider-section ~ .block-slider-card-wrapper {
  padding-top: clamp(1rem, 2.5vw, 2rem) !important;
}

/* If preceded by a spacer, collapse top padding to 0 to let the spacer control the distance */
.blk-spacer ~ .blk-section {
  padding-top: 0 !important;
}

/* ── FOCUS / ACCESSIBILITY ────────────────────────────── */
.blk-page :focus-visible {
  outline: 2px solid var(--blk-gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── BUTTON BASE ──────────────────────────────────────── */
.blk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--blk-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--blk-ease), box-shadow 0.25s var(--blk-ease), background 0.25s var(--blk-ease), color 0.25s var(--blk-ease);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.blk-btn:hover { transform: translateY(-3px); text-decoration: none !important; }

.blk-btn--gold {
  background: var(--blk-gold-600);
  color: var(--theme-surface, #111111) !important;
  padding: 14px 32px;
  border-radius: var(--blk-radius-xl);
  box-shadow: 0 4px 16px rgba(184,148,95,0.35);
}
.blk-btn--gold:hover {
  background: var(--blk-gold-500);
  color: var(--theme-surface, #111111) !important;
  box-shadow: 0 10px 28px rgba(184,148,95,0.5);
}

.blk-btn--outline {
  background: rgba(255,255,255,0.12);
  color: var(--blk-ivory) !important;
  padding: 14px 32px;
  border-radius: var(--blk-radius-xl);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  border: none;
}
.blk-btn--outline:hover {
  background: rgba(255,255,255,0.22);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7);
  color: var(--blk-ivory) !important;
}

.blk-btn--plum {
  background: var(--blk-plum-900);
  color: var(--blk-ivory) !important;
  padding: 16px 40px;
  border-radius: var(--blk-radius-xl);
  box-shadow: 0 4px 20px rgba(45,27,61,0.3);
}
.blk-btn--plum:hover {
  background: #1e0f2a;
  box-shadow: 0 10px 30px rgba(45,27,61,0.45);
  color: var(--blk-ivory) !important;
}

.blk-btn--large { padding: 18px 44px; font-size: 1.05rem; }

/* ── SECTION HEADER (reusable) ────────────────────────── */
.blk-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.blk-section-header h2 { margin-bottom: 0.6em; }
.blk-section-header p  { color: var(--blk-muted); font-size: 1.05rem; margin: 0 auto; max-width: 580px; }

/* ════════════════════════════════════════════════════════
   BLOCK: HERO
   ════════════════════════════════════════════════════════ */
.blk-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  overflow: hidden;
  color: var(--blk-ivory);
}
.blk-hero--light { color: var(--blk-ink); }

.blk-hero__bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.blk-hero__overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 2;
}
.blk-hero__ornament {
  position: absolute;
  bottom: -60px; right: -40px;
  width: 260px; height: 260px;
  opacity: 0.06;
  z-index: 3;
  animation: blk-float 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blk-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.blk-hero__content {
  position: relative; z-index: 4;
  max-width: 880px;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
  width: 100%;
}
.blk-hero__content--center { text-align: center; margin: 0 auto; }
.blk-hero__content--left   { text-align: left; }
.blk-hero__content--right  { text-align: right; }

.blk-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--blk-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blk-gold-500);
  margin-bottom: var(--blk-space-3);
}
.blk-hero__eyebrow::before,
.blk-hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--blk-gold-500);
  opacity: 0.5;
}

.blk-hero h1 {
  color: inherit;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  margin-bottom: var(--blk-space-3);
}
.blk-page .blk-hero__subtitle {
  font-size: 1.25rem;
  color: var(--blk-ivory);
  opacity: 0.95;
  max-width: 600px;
  margin-bottom: var(--blk-space-4);
  line-height: 1.6;
}
.blk-page .blk-hero--light .blk-hero__subtitle {
  color: var(--blk-ink);
  opacity: 0.85;
}
.blk-hero__content--center .blk-hero__subtitle { margin-inline: auto; }

.blk-page .blk-hero--light .blk-btn--outline {
  background: rgba(45,27,61,0.05);
  color: var(--blk-plum-900);
  box-shadow: inset 0 0 0 2px rgba(45,27,61,0.3);
  backdrop-filter: blur(8px);
  border: none;
}
.blk-page .blk-hero--light .blk-btn--outline:hover {
  background: rgba(45,27,61,0.1);
  box-shadow: inset 0 0 0 2px rgba(45,27,61,0.6);
  color: var(--blk-plum-900);
}

.blk-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--blk-space-2);
}
.blk-hero__content--center .blk-hero__buttons { justify-content: center; }
.blk-hero__content--right  .blk-hero__buttons { justify-content: flex-end; }

@media (max-width: 768px) {
  .blk-hero { min-height: 60vh; }
  .blk-hero__eyebrow::before,
  .blk-hero__eyebrow::after { width: 24px; }
}

/* ════════════════════════════════════════════════════════
   BLOCK: STATS
   ════════════════════════════════════════════════════════ */
.blk-stats {
  background: var(--blk-plum-900);
  color: var(--blk-ivory);
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.blk-stats::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5C15.6 5 5 15.6 5 30s10.6 25 25 25 25-10.6 25-25S44.4 5 30 5zm0 46c-11.6 0-21-9.4-21-21s9.4-21 21-21 21 9.4 21 21-9.4 21-21 21z' fill='%23C9A876' fill-opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
.blk-stats__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.blk-stats__item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: var(--blk-space-3) var(--blk-space-4);
  position: relative;
}
.blk-stats__item + .blk-stats__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; height: 60%;
  width: 1px;
  background: var(--blk-gold-500);
  opacity: 0.3;
}
.blk-stats__number {
  display: block;
  font-family: var(--blk-font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--blk-gold-500);
  line-height: 1;
  margin-bottom: var(--blk-space-1);
}
.blk-stats__suffix {
  font-size: 0.6em;
  font-weight: 400;
  opacity: 0.85;
}
.blk-stats__label {
  display: block;
  font-family: var(--blk-font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(248,244,238,0.75);
  margin-top: var(--blk-space-1);
}

@media (max-width: 768px) {
  .blk-stats__grid { flex-direction: column; }
  .blk-stats__item + .blk-stats__item::before {
    top: 0; left: 20%; width: 60%; height: 1px;
  }
}

/* ════════════════════════════════════════════════════════
   BLOCK: CARD GRID
   ════════════════════════════════════════════════════════ */
.blk-card-grid { background: var(--blk-cream); }

.blk-card-grid__grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: var(--blk-space-4);
}

.blk-card {
  display: flex;
  flex-direction: column;
  background: var(--blk-white);
  border-radius: var(--blk-radius-lg);
  overflow: hidden;
  box-shadow: var(--blk-shadow-sm);
  transition: transform 0.3s var(--blk-ease), box-shadow 0.3s var(--blk-ease);
}
.blk-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--blk-shadow-lg);
}
.blk-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--blk-gold-100);
}
.blk-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--blk-ease);
}
.blk-card:hover .blk-card__image img { transform: scale(1.05); }

.blk-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--blk-space-4);
}
.blk-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-gold-100);
  color: var(--blk-gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--blk-space-2);
  flex-shrink: 0;
}
.blk-card__title {
  font-family: var(--blk-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blk-plum-900);
  margin-bottom: var(--blk-space-1);
}
.blk-card__desc {
  font-size: 0.95rem;
  color: var(--blk-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--blk-space-3);
}
.blk-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blk-gold-600);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.3s var(--blk-ease);
}
.blk-card__link:hover { gap: 12px; color: var(--blk-gold-600); }
.blk-card__link i { font-size: 0.75rem; transition: transform 0.3s var(--blk-ease); }
.blk-card__link:hover i { transform: translateX(4px); }

@media (max-width: 1024px) { .blk-card-grid__grid { --cols: 2 !important; } }
@media (max-width: 640px)  { .blk-card-grid__grid { --cols: 1 !important; } }

/* ════════════════════════════════════════════════════════
   BLOCK: FEATURE LIST
   ════════════════════════════════════════════════════════ */
.blk-features { background: var(--blk-white); }

.blk-features__grid {
  display: grid;
  gap: var(--blk-space-3);
}
.blk-features__grid--two   { grid-template-columns: repeat(2, 1fr); }
.blk-features__grid--three { grid-template-columns: repeat(3, 1fr); }
.blk-features__grid--list  { grid-template-columns: 1fr; max-width: var(--blk-container-narrow); margin: 0 auto; }

.blk-feature {
  display: flex;
  gap: var(--blk-space-2);
  padding: var(--blk-space-3);
  border-radius: var(--blk-radius-lg);
  border: 1px solid var(--blk-line);
  background: var(--blk-white);
  transition: border-color 0.3s var(--blk-ease), box-shadow 0.3s var(--blk-ease), transform 0.3s var(--blk-ease);
}
.blk-feature:hover {
  border-color: var(--blk-gold-400);
  box-shadow: var(--blk-shadow-sm);
  transform: translateY(-2px);
}
.blk-feature__icon {
  width: 48px; height: 48px;
  border-radius: var(--blk-radius-md);
  background: var(--blk-gold-100);
  color: var(--blk-gold-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.blk-feature__title {
  font-family: var(--blk-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blk-plum-900);
  margin-bottom: 6px;
}
.blk-feature__desc {
  font-size: 0.9rem;
  color: var(--blk-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .blk-features__grid--two,
  .blk-features__grid--three { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   BLOCK: PROCESS STEPS
   ════════════════════════════════════════════════════════ */
.blk-process { background: var(--blk-white); }

/* Horizontal layout */
.blk-process__track {
  display: flex;
  gap: var(--blk-space-4);
  position: relative;
}
.blk-process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.blk-process__circle {
  width: 64px; height: 64px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-plum-900);
  color: var(--blk-gold-500);
  font-family: var(--blk-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--blk-space-2);
  position: relative;
  z-index: 2;
  transition: background 0.3s var(--blk-ease), color 0.3s var(--blk-ease);
  flex-shrink: 0;
}
.blk-process__step:hover .blk-process__circle {
  background: var(--blk-gold-600);
  color: var(--blk-white);
}
/* Connecting line (horizontal) */
.blk-process__step + .blk-process__step::before {
  content: '';
  position: absolute;
  top: 32px;
  right: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 0;
  border-top: 2px dashed var(--blk-gold-400);
  opacity: 0.5;
  z-index: 1;
  left: calc(-50% + 40px);
}
.blk-process__step-title {
  font-family: var(--blk-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blk-plum-900);
  margin-bottom: 6px;
}
.blk-process__step-desc {
  font-size: 0.875rem;
  color: var(--blk-muted);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* Vertical layout */
.blk-process__track--vertical {
  flex-direction: column;
  max-width: var(--blk-container-narrow);
  margin: 0 auto;
  gap: 0;
  padding-left: 40px;
  position: relative;
}
.blk-process__track--vertical::before {
  content: '';
  position: absolute;
  left: 31px; top: 32px; bottom: 32px;
  width: 0;
  border-left: 2px dashed var(--blk-gold-400);
  opacity: 0.4;
}
.blk-process__track--vertical .blk-process__step {
  flex-direction: row;
  text-align: left;
  align-items: flex-start;
  gap: var(--blk-space-3);
  padding: var(--blk-space-3) 0;
}
.blk-process__track--vertical .blk-process__step + .blk-process__step::before { display: none; }
.blk-process__track--vertical .blk-process__circle {
  margin-bottom: 0;
  margin-left: -40px;
}

@media (max-width: 768px) {
  .blk-process__track:not(.blk-process__track--vertical) {
    flex-direction: column;
    align-items: center;
    padding-left: 40px;
    position: relative;
  }
  .blk-process__track:not(.blk-process__track--vertical)::before {
    content: '';
    position: absolute;
    left: 31px; top: 32px; bottom: 32px;
    border-left: 2px dashed var(--blk-gold-400);
    opacity: 0.4;
  }
  .blk-process__track:not(.blk-process__track--vertical) .blk-process__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: var(--blk-space-3);
    width: 100%;
  }
  .blk-process__track:not(.blk-process__track--vertical) .blk-process__circle {
    margin-left: -40px;
  }
  .blk-process__track:not(.blk-process__track--vertical) .blk-process__step + .blk-process__step::before { display: none; }
  .blk-process__step-desc { max-width: none; }
}

/* ════════════════════════════════════════════════════════
   BLOCK: TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.blk-testimonials { background: var(--blk-cream); }

.blk-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--blk-space-4);
}
.blk-testimonial {
  display: flex;
  flex-direction: column;
  background: var(--blk-white);
  border-radius: var(--blk-radius-lg);
  padding: var(--blk-space-4);
  box-shadow: var(--blk-shadow-sm);
  transition: transform 0.3s var(--blk-ease), box-shadow 0.3s var(--blk-ease);
  position: relative;
}
.blk-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--blk-shadow-md);
}
.blk-testimonial__quote-mark {
  position: absolute;
  top: 16px; left: 24px;
  font-family: var(--blk-font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--blk-gold-200);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.blk-testimonial__stars {
  display: flex;
  gap: 3px;
  margin-bottom: var(--blk-space-2);
  position: relative; z-index: 1;
}
.blk-testimonial__stars i { color: var(--blk-gold-500); font-size: 0.875rem; }

.blk-testimonial__text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--blk-ink);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--blk-space-4);
  position: relative; z-index: 1;
}
.blk-testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--blk-space-2);
  margin-top: auto;
  position: relative; z-index: 1;
}
.blk-testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: var(--blk-radius-full);
  object-fit: cover;
  border: 2px solid var(--blk-gold-100);
}
.blk-testimonial__avatar-placeholder {
  width: 48px; height: 48px;
  border-radius: var(--blk-radius-full);
  background: linear-gradient(135deg, var(--blk-plum-700), var(--blk-plum-900));
  color: var(--blk-white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.blk-testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blk-plum-900);
}
.blk-testimonial__role {
  font-size: 0.8rem;
  color: var(--blk-muted);
}

@media (max-width: 1024px) { .blk-testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blk-testimonials__grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   BLOCK: FAQ
   ════════════════════════════════════════════════════════ */
.blk-faq__list {
  max-width: var(--blk-container-narrow);
  margin: 0 auto;
}
.blk-faq-item {
  border-bottom: 1px solid var(--blk-line);
}
.blk-faq-item:last-child { border-bottom: none; }

.blk-faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--blk-space-2);
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--blk-font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blk-plum-900);
  transition: color 0.2s var(--blk-ease);
}
.blk-faq-item__question:hover { color: var(--blk-plum-700); }

.blk-faq-item__icon {
  width: 32px; height: 32px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-gold-100);
  color: var(--blk-gold-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: transform 0.3s var(--blk-ease), background 0.3s var(--blk-ease);
}
.blk-faq-item.is-open .blk-faq-item__icon {
  transform: rotate(45deg);
  background: var(--blk-gold-500);
  color: var(--blk-white);
}

.blk-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--blk-ease), padding 0.3s var(--blk-ease);
}
.blk-faq-item.is-open .blk-faq-item__answer {
  max-height: 800px;
}
.blk-faq-item__answer-body {
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--blk-muted);
  line-height: 1.8;
}

/* ════════════════════════════════════════════════════════
   BLOCK: CTA BANNER
   ════════════════════════════════════════════════════════ */
.blk-cta {
  color: var(--blk-ivory);
  position: relative;
  overflow: hidden;
}
.blk-cta--light {
  color: var(--blk-ink) !important;
}
.blk-cta--light h2 {
  color: var(--blk-plum-900) !important;
}
.blk-page .blk-cta--light .blk-cta__desc {
  color: var(--blk-ink) !important;
  opacity: 0.85;
}
.blk-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: var(--blk-radius-full);
  background: radial-gradient(circle, rgba(201,168,118,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.blk-cta__inner {
  text-align: center;
  max-width: var(--blk-container-narrow);
  margin: 0 auto;
  position: relative; z-index: 1;
}
.blk-cta h2 {
  color: inherit;
  margin-bottom: var(--blk-space-2);
}
.blk-page .blk-cta__desc {
  font-size: 1.125rem;
  color: inherit;
  margin-bottom: var(--blk-space-4);
  max-width: 560px;
  margin-inline: auto;
}

/* CTA buton — metin her zaman görünür, hover premium */
.blk-cta .blk-btn {
  position: relative;
  overflow: hidden;
  min-width: 220px;
  padding: 18px 48px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  z-index: 1;
}
.blk-cta .blk-btn--gold {
  background: var(--blk-gold-500);
  color: #1a0e24 !important;
  box-shadow: 0 6px 24px rgba(201,168,118,0.45), 0 0 0 3px rgba(201,168,118,0.15);
}
.blk-cta .blk-btn--gold span,
.blk-cta .blk-btn--gold i {
  position: relative;
  z-index: 2;
  color: #1a0e24 !important;
}
.blk-cta .blk-btn--gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.blk-cta .blk-btn--gold:hover {
  background: #d4b98e;
  color: #1a0e24 !important;
  box-shadow: 0 12px 32px rgba(201,168,118,0.6), 0 0 0 4px rgba(201,168,118,0.2);
  transform: translateY(-4px);
}
.blk-cta .blk-btn--gold:hover::after { opacity: 0; }
.blk-cta .blk-btn--gold:hover span,
.blk-cta .blk-btn--gold:hover i { color: #1a0e24 !important; }

/* ════════════════════════════════════════════════════════
   BLOCK: RICH TEXT
   ════════════════════════════════════════════════════════ */
.blk-rich-text__body {
  color: var(--blk-ink);
  line-height: 1.8;
  font-size: 1.05rem;
}
.blk-rich-text__body h2 {
  margin-top: 2em;
}
.blk-rich-text__body h3 {
  margin-top: 1.5em;
}
.blk-rich-text__body blockquote {
  border-left: 4px solid var(--blk-gold-500);
  padding-left: 1.5rem;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--blk-plum-700);
}
.blk-rich-text__body ul {
  list-style: none;
  padding-left: 1.5em;
  margin: 1em 0;
}
.blk-rich-text__body ul li {
  position: relative;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}
.blk-rich-text__body ul li::before {
  content: '';
  position: absolute;
  left: -1em;
  top: 0.65em;
  width: 6px; height: 6px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-gold-500);
}
.blk-rich-text__body ol {
  padding-left: 1.5em;
  margin: 1em 0;
}
.blk-rich-text__body ol li { margin-bottom: 0.5em; }
.blk-rich-text__body ol li::marker { color: var(--blk-gold-600); font-weight: 600; }

.blk-rich-text__body a {
  color: var(--blk-gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blk-rich-text__body a:hover { color: var(--blk-plum-700); }

.blk-rich-text__body img {
  border-radius: var(--blk-radius-md);
  box-shadow: var(--blk-shadow-sm);
  margin: 1.5em 0;
}

/* Drop cap */
.blk-rich-text--dropcap > p:first-child::first-letter {
  font-family: var(--blk-font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--blk-gold-600);
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  margin-top: 6px;
}

/* ════════════════════════════════════════════════════════
   BLOCK: BEFORE / AFTER
   ════════════════════════════════════════════════════════ */
.blk-ba__slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--blk-radius-lg);
  box-shadow: var(--blk-shadow-md);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.blk-ba__after-img, .blk-ba__before-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.blk-ba__after-img { position: absolute; inset: 0; }
.blk-ba__before-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  width: 50%;
}
.blk-ba__before-wrap img {
  position: absolute; top: 0; left: 0;
  max-width: none;
}
.blk-ba__handle {
  position: absolute;
  inset: 0;
  width: 3px;
  background: var(--blk-gold-500);
  left: 50%;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.blk-ba__handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-white);
  border: 3px solid var(--blk-gold-500);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--blk-shadow-md);
  color: var(--blk-plum-900);
  font-size: 0.8rem;
  pointer-events: auto;
  cursor: ew-resize;
}

.blk-ba__label {
  position: absolute;
  z-index: 5;
  top: 16px;
  padding: 6px 14px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-plum-900);
  color: var(--blk-ivory);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
}
.blk-ba__label--before { left: 16px; }
.blk-ba__label--after  { right: 16px; }

.blk-ba__caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--blk-muted);
  font-style: italic;
  margin-top: var(--blk-space-2);
}

/* Side by side variant */
.blk-ba__side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--blk-space-3);
}
.blk-ba__side-item {
  position: relative;
  border-radius: var(--blk-radius-lg);
  overflow: hidden;
  box-shadow: var(--blk-shadow-md);
}
.blk-ba__side-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .blk-ba__side-by-side { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   BLOCK: CALLOUT
   ════════════════════════════════════════════════════════ */
.blk-callout {
  border-radius: var(--blk-radius-lg);
  padding: var(--blk-space-4);
  border-left: 4px solid;
  max-width: var(--blk-container-normal);
  margin: 0 auto;
}
.blk-callout--quote {
  background: var(--blk-cream);
  border-color: var(--blk-gold-500);
  text-align: center;
  border-left: none;
  border-top: none;
  padding: var(--blk-space-6) var(--blk-space-4);
  position: relative;
  overflow: hidden;
}
.blk-callout__quote-glyph {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--blk-font-display);
  font-size: 10rem;
  line-height: 1;
  color: var(--blk-gold-200);
  opacity: 0.25;
  pointer-events: none;
}
.blk-callout--quote .blk-callout__text {
  font-family: var(--blk-font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--blk-plum-900);
  line-height: 1.5;
  position: relative; z-index: 1;
  max-width: 700px;
  margin: 0 auto var(--blk-space-3);
}
.blk-callout__author {
  font-family: var(--blk-font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blk-gold-600);
  position: relative; z-index: 1;
}

.blk-callout--info    { background: var(--blk-info-bg); border-color: var(--blk-info-border); }
.blk-callout--warning { background: var(--blk-warning-bg); border-color: var(--blk-warning-border); }
.blk-callout--success { background: var(--blk-success-bg); border-color: var(--blk-success-border); }
.blk-callout--danger  { background: var(--blk-danger-bg); border-color: var(--blk-danger-border); }

.blk-callout__icon-text {
  display: flex;
  gap: var(--blk-space-2);
  align-items: flex-start;
}
.blk-callout__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  padding-top: 2px;
}
.blk-callout--info .blk-callout__icon    { color: var(--blk-info-border); }
.blk-callout--warning .blk-callout__icon { color: var(--blk-warning-border); }
.blk-callout--success .blk-callout__icon { color: var(--blk-success-border); }
.blk-callout--danger .blk-callout__icon  { color: var(--blk-danger-border); }

.blk-callout__text {
  font-size: 0.95rem;
  color: var(--blk-ink);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   BLOCK: IMAGE
   ════════════════════════════════════════════════════════ */
.blk-image { text-align: center; }
.blk-image__wrapper {
  display: inline-block;
  border-radius: var(--blk-radius-lg);
  overflow: hidden;
  box-shadow: var(--blk-shadow-md);
  transition: transform 0.5s var(--blk-ease);
}
.blk-image__wrapper:hover { transform: scale(1.01); }
.blk-image__wrapper img {
  display: block;
  max-height: 750px;
  object-fit: cover;
  width: 100%;
}
.blk-image__caption {
  font-size: 0.875rem;
  color: var(--blk-muted);
  font-style: italic;
  margin-top: var(--blk-space-2);
}

/* ════════════════════════════════════════════════════════
   BLOCK: GALLERY
   ════════════════════════════════════════════════════════ */
.blk-gallery__grid {
  display: grid;
  gap: var(--blk-space-2);
}
.blk-gallery-item {
  position: relative;
  border-radius: var(--blk-radius-lg);
  overflow: hidden;
  box-shadow: var(--blk-shadow-sm);
  transition: transform 0.3s var(--blk-ease), box-shadow 0.3s var(--blk-ease);
}
.blk-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--blk-shadow-md);
}
.blk-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--blk-ease);
}
.blk-gallery-item:hover img { transform: scale(1.08); }

.blk-gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(45,27,61,0.4);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s var(--blk-ease);
  pointer-events: none;
}
.blk-gallery-item:hover .blk-gallery-item__overlay { opacity: 1; }

.blk-gallery-item__overlay span {
  width: 48px; height: 48px;
  border-radius: var(--blk-radius-full);
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  color: var(--blk-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

/* ════════════════════════════════════════════════════════
   BLOCK: VIDEO
   ════════════════════════════════════════════════════════ */
.blk-video__frame {
  position: relative;
  border-radius: var(--blk-radius-lg);
  overflow: hidden;
  box-shadow: var(--blk-shadow-lg);
  background: var(--blk-plum-900);
}
.blk-video__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.blk-video__frame--16-9 { aspect-ratio: 16/9; }
.blk-video__frame--4-3  { aspect-ratio: 4/3; }

.blk-video__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--blk-space-8);
  border: 2px dashed var(--blk-line);
  border-radius: var(--blk-radius-lg);
  color: var(--blk-muted);
  background: var(--blk-cream);
}
.blk-video__empty i { font-size: 2.5rem; margin-bottom: var(--blk-space-2); opacity: 0.5; }

.blk-video__caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--blk-muted);
  font-style: italic;
  margin-top: var(--blk-space-2);
}

/* ════════════════════════════════════════════════════════
   BLOCK: TWO COLUMNS
   ════════════════════════════════════════════════════════ */
.blk-two-cols__grid {
  display: grid;
  gap: var(--blk-space-6);
  align-items: stretch; /* equal heights — both columns always fill the grid row */
}
.blk-two-cols__grid--50-50 { grid-template-columns: 1fr 1fr; }
.blk-two-cols__grid--30-70 { grid-template-columns: 0.3fr 0.7fr; }
.blk-two-cols__grid--70-30 { grid-template-columns: 0.7fr 0.3fr; }

/* Alignment classes now map to justify-content inside the flex column,
   NOT to align-items on the grid (which must stay stretch). */
.blk-two-cols__grid--align-center .blk-two-cols__col { justify-content: center; }
.blk-two-cols__grid--align-end    .blk-two-cols__col { justify-content: flex-end; }
.blk-two-cols__grid--align-start  .blk-two-cols__col { justify-content: flex-start; }

.blk-two-cols__col {
  display: flex;
  flex-direction: column;
  min-width: 0; /* prevents grid blowout from long content */
  color: var(--blk-ink);
  line-height: 1.8;
}
.blk-two-cols__col h2, .blk-two-cols__col h3 { color: var(--blk-plum-900); }

/* Override inline color styles pasted from external sources (e.g. pink from Google Docs / CKEditor defaults) */
.blk-two-cols__col h1[style*="color"],
.blk-two-cols__col h2[style*="color"],
.blk-two-cols__col h3[style*="color"],
.blk-two-cols__col h4[style*="color"],
.blk-rich-text__body h1[style*="color"],
.blk-rich-text__body h2[style*="color"],
.blk-rich-text__body h3[style*="color"],
.blk-rich-text__body h4[style*="color"] {
  color: var(--blk-plum-900) !important;
}

.blk-two-cols__col table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
.blk-two-cols__col th, .blk-two-cols__col td {
  padding: 12px 16px;
  border: 1px solid var(--blk-line);
  text-align: left;
  font-size: 0.9rem;
}
.blk-two-cols__col th {
  background: var(--blk-plum-900);
  color: var(--blk-ivory);
  font-weight: 600;
}
.blk-two-cols__col tr:nth-child(even) td { background: var(--blk-cream); }

@media (max-width: 768px) {
  .blk-two-cols__grid--50-50,
  .blk-two-cols__grid--30-70,
  .blk-two-cols__grid--70-30 { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   BLOCK: HEADING
   ════════════════════════════════════════════════════════ */
.blk-heading { padding-block: var(--blk-space-2); }
.blk-heading--center { text-align: center; }
.blk-heading--right  { text-align: right; }

/* ════════════════════════════════════════════════════════
   BLOCK: SPACER
   ════════════════════════════════════════════════════════ */
.blk-spacer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.blk-spacer__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--blk-container-normal);
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.blk-spacer__line-inner {
  width: 100%;
  height: 0;
  border-top: 1px solid var(--blk-line);
}
.blk-spacer__dot {
  position: relative; z-index: 1;
  width: 8px; height: 8px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-gold-500);
}

/* ════════════════════════════════════════════════════════
   BLOCK: TEAM
   ════════════════════════════════════════════════════════ */
.blk-team { background: var(--blk-white); }

.blk-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--blk-space-4);
}

.blk-team-card {
  background: var(--blk-white);
  border-radius: var(--blk-radius-lg);
  overflow: hidden;
  border: 1px solid var(--blk-line);
  box-shadow: var(--blk-shadow-sm);
  transition: transform 0.3s var(--blk-ease), box-shadow 0.3s var(--blk-ease);
}
.blk-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--blk-shadow-md);
}
.blk-team-card__photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--blk-cream);
}
.blk-team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--blk-ease);
}
.blk-team-card:hover .blk-team-card__photo img { transform: scale(1.05); }

.blk-team-card__info {
  padding: var(--blk-space-3);
  text-align: center;
}
.blk-team-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--blk-radius-full);
  background: var(--blk-gold-100);
  color: var(--blk-gold-600);
  margin-bottom: 8px;
}
.blk-team-card__name {
  font-family: var(--blk-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blk-plum-900);
  margin-bottom: 4px;
}
.blk-team-card__specialty {
  font-size: 0.85rem;
  color: var(--blk-muted);
}

@media (max-width: 1024px) { .blk-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blk-team__grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   BLOCK: CONTACT FORM
   ════════════════════════════════════════════════════════ */
.blk-contact-form__wrapper {
  background: var(--blk-white);
  border-radius: var(--blk-radius-xl);
  padding: var(--blk-space-6) var(--blk-space-4);
  box-shadow: var(--blk-shadow-lg);
  border: 1px solid var(--blk-line);
  max-width: var(--blk-container-normal);
  margin: 0 auto;
}
.blk-contact-form__header {
  text-align: center;
  margin-bottom: var(--blk-space-4);
}
.blk-contact-form__header h2 {
  margin-bottom: 0.5em;
}
.blk-contact-form__header p {
  color: var(--blk-muted);
  max-width: 500px;
  margin: 0 auto;
}
.blk-contact-form__rule {
  width: 48px; height: 2px;
  background: var(--blk-gold-500);
  margin: var(--blk-space-2) auto 0;
  border: none;
}

/* ════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
   ════════════════════════════════════════════════════════ */
.blk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--blk-ease), transform 0.6s var(--blk-ease);
}
.blk-reveal.blk-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.blk-reveal-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--blk-ease), transform 0.5s var(--blk-ease);
}
.blk-reveal-children.blk-visible > *:nth-child(1)  { transition-delay: 0ms; }
.blk-reveal-children.blk-visible > *:nth-child(2)  { transition-delay: 80ms; }
.blk-reveal-children.blk-visible > *:nth-child(3)  { transition-delay: 160ms; }
.blk-reveal-children.blk-visible > *:nth-child(4)  { transition-delay: 240ms; }
.blk-reveal-children.blk-visible > *:nth-child(5)  { transition-delay: 320ms; }
.blk-reveal-children.blk-visible > *:nth-child(6)  { transition-delay: 400ms; }
.blk-reveal-children.blk-visible > *:nth-child(n+7){ transition-delay: 480ms; }
.blk-reveal-children.blk-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .blk-reveal, .blk-reveal-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .blk-card:hover,
  .blk-testimonial:hover,
  .blk-feature:hover,
  .blk-team-card:hover,
  .blk-gallery-item:hover,
  .blk-btn:hover {
    transform: none !important;
  }
  .blk-hero__ornament { animation: none !important; }
  @keyframes blk-float { 0%, 100% { transform: none; } }
}

/* ════════════════════════════════════════════════════════
   PRINT STYLES
   ════════════════════════════════════════════════════════ */
@media print {
  .blk-hero { min-height: auto !important; background: none !important; color: #000 !important; }
  .blk-hero__overlay, .blk-hero__ornament { display: none !important; }
  .blk-cta, .blk-btn, .blk-contact-form__wrapper { display: none !important; }
  .blk-faq-item__answer { max-height: none !important; }
  .blk-page { background: #fff !important; }
  .blk-section { padding-block: 1.5rem !important; }
}

/* ════════════════════════════════════════════════════════
   BLOCK: TWO COLUMNS PORTRAIT SLIDER
   ════════════════════════════════════════════════════════ */
.two-cols-portrait-slider-container {
  width: 100%;
  position: relative;
  border-radius: var(--blk-radius-md, 12px);
  overflow: hidden; /* IMPORTANT: keeps pagination dots inside the container */
  box-shadow: var(--blk-shadow-md);
  aspect-ratio: 4/5;
  background: var(--blk-plum-900);
}
@media (max-width: 768px) {
  .two-cols-portrait-slider-container {
    aspect-ratio: 4/3; /* yatay düzen mobilde daha dengeli */
    max-height: 400px;
  }
}
.two-cols-portrait-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}
.two-cols-portrait-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none !important;
}
.two-cols-portrait-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.two-cols-portrait-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}
/* Pagination dots: anchored INSIDE the slider container */
.two-cols-portrait-swiper .swiper-pagination {
  position: absolute !important;
  bottom: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  z-index: 10;
}
.two-cols-portrait-swiper .swiper-pagination-bullet {
  background: var(--blk-white, #fff) !important;
  opacity: 0.55;
  width: 8px;
  height: 8px;
  transition: all 0.3s ease;
}
.two-cols-portrait-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--blk-gold-500, #C9A876) !important;
  width: 20px;
  border-radius: 4px;
}

/* ── NESTED BLOCK INSIDE GRID CELL ───────────────────── */
/* When a full block is rendered inside a grid cell,
   strip its outer section padding/margin so it sits flush. */
.blk-grid-block-content .blk-section {
  padding-block: 0;
  margin: 0;
}
.blk-grid-block-content .blk-container,
.blk-grid-block-content .blk-container--wide,
.blk-grid-block-content .blk-container--narrow {
  max-width: 100%;
  padding: 0;
}
