/* Oytel shared layout patterns.
   These are global, module-agnostic surface/grid rules.
   Component-specific rules belong in their registered component files. */

.oytel-section {
  padding-block: var(--oytel-section-space);
  background: var(--oytel-surface);
}

.oytel-section--compact {
  padding-top: 24px;
}

.oytel-section h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.035em;
}

.oytel-destination-grid,
.oytel-benefit-grid,
.oytel-route-grid {
  display: grid;
  gap: 20px;
}

.oytel-destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oytel-benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oytel-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oytel-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--oytel-border);
  border-radius: var(--oytel-radius-card);
  background: var(--oytel-surface);
  color: inherit;
  text-decoration: none;
}

.oytel-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--oytel-primary), #667b91);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
}

.oytel-card__body {
  padding: 20px;
}

.oytel-card__body h3 {
  margin: 0 0 8px;
}

.oytel-card__body p {
  margin: 0;
  color: var(--oytel-muted);
}

.oytel-card__action {
  display: inline-flex;
  margin-top: 16px;
  min-height: 40px;
  align-items: center;
  padding-inline: 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--oytel-primary);
  text-decoration: none;
  font-weight: 700;
}

.oytel-empty-state {
  padding: 28px;
  border: 1px dashed var(--oytel-border);
  border-radius: var(--oytel-radius-card);
  background: var(--oytel-canvas);
}

.oytel-empty-state h3 {
  margin: 0 0 8px;
}

.oytel-empty-state p {
  margin: 0;
  color: var(--oytel-muted);
}

@media (max-width: 900px) {
  .oytel-destination-grid,
  .oytel-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oytel-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .oytel-destination-grid,
  .oytel-route-grid,
  .oytel-benefit-grid {
    grid-template-columns: 1fr;
  }

  .oytel-section {
    padding-block: 52px;
  }

  .oytel-trust-strip {
    justify-content: flex-start;
    padding-inline: 24px;
    gap: 14px;
  }
}

