.tables-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.tables-hero__header h1 {
  margin-bottom: var(--space-3);
}

.tables-hero__eyebrow {
  font-size: var(--font-size-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.tables-hero__lead {
  max-width: 36rem;
}

.tables-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.tables-hero__media {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tables-hero__figure {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tables-hero__figure img {
  width: 100%;
  height: auto;
}

.tables-hero__figure figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  background: linear-gradient(90deg, rgba(5, 7, 11, 0.95), rgba(16, 19, 27, 0.95));
}

.tables-hero__meta {
  font-size: var(--font-size-xs);
}

.tables-hero__meta-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

.tables-hero__meta-row:first-child {
  border-top: none;
}

.tables-hero__meta-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.tables-hero__meta-value {
  text-align: right;
}

.tables-section-header {
  max-width: 44rem;
  margin-bottom: var(--space-6);
}

.tables-section-header--center {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tables-section-header .accent-bar {
  margin-bottom: var(--space-3);
}

.tables-design__grid,
.tables-modern__grid,
.tables-custom__grid,
.tables-expertise__grid,
.tables-ordering__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.tables-design__list,
.tables-modern__list,
.tables-themed__list,
.tables-custom__list {
  display: grid;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.tables-themed__layout,
.tables-tournament__layout,
.tables-showrooms__layout,
.tables-accessories__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}

.tables-themed__content,
.tables-tournament__content,
.tables-showrooms__content,
.tables-accessories__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tables-themed__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.tables-themed__cta,
.tables-tournament__cta,
.tables-showrooms__cta {
  margin-top: var(--space-4);
}

.tables-tournament__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.tables-tournament__columns ul {
  font-size: var(--font-size-sm);
  display: grid;
  gap: var(--space-2);
}

.tables-custom__highlight {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: var(--shadow-soft-gold);
}

.tables-expertise__grid ul {
  display: grid;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
}

.tables-showrooms__figure img,
.tables-accessories__figure img,
.tables-tournament__image img,
.tables-themed__figure img {
  width: 100%;
  height: auto;
}

.tables-showrooms__figure figcaption,
.tables-accessories__figure figcaption,
.tables-tournament__image figcaption,
.tables-themed__figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.tables-ordering__steps ol {
  display: grid;
  gap: var(--space-4);
  counter-reset: step-counter;
}

.tables-ordering__steps li {
  position: relative;
  padding-left: 2.5rem;
}

.tables-ordering__steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
}

.tables-ordering__steps h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.tables-ordering__steps p {
  font-size: var(--font-size-sm);
}

.tables-ordering__form-card {
  display: flex;
  flex-direction: column;
}

.tables-ordering__form {
  display: grid;
  gap: var(--space-3);
}

.tables-ordering__field-group {
  display: grid;
  gap: var(--space-2);
}

.tables-ordering__field-group label {
  font-size: var(--font-size-sm);
}

.tables-ordering__submit {
  justify-self: flex-start;
  margin-top: var(--space-2);
}

@media (max-width: 1024px) {
  .tables-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .tables-hero__media {
    order: -1;
  }

  .tables-themed__layout,
  .tables-tournament__layout,
  .tables-showrooms__layout,
  .tables-accessories__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .tables-section-header,
  .tables-section-header--center {
    text-align: left;
  }

  .tables-design__grid,
  .tables-modern__grid,
  .tables-custom__grid,
  .tables-expertise__grid,
  .tables-ordering__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tables-tournament__columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .tables-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
