:root {
  --primary: #0284c7;
  --secondary: #f0f9ff;
  --accent: #10b981;
  --text: #0c1a27;
  --bg: #ffffff;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(14px, 4vw, 16px);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-weight: 700;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
}

.btn {
  border-radius: 6px;
  font-weight: 600;
  min-height: 44px;
}

.cta-button {
  background-color: var(--accent);
  color: #ffffff !important;
  text-decoration: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #059669;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Скриване на радио бутоните за достъпност */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Галерия без JS */
.gallery-container {
  width: 100%;
}

.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #f9fafb;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 {
  opacity: 1;
  z-index: 10;
}

.thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
}

.thumbnails label {
  cursor: pointer;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  flex: 1 1 0;
  aspect-ratio: 1 / 1;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease-in-out;
}

.thumbnails label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#img-1:checked ~ .thumbnails label[for="img-1"],
#img-2:checked ~ .thumbnails label[for="img-2"],
#img-3:checked ~ .thumbnails label[for="img-3"],
#img-4:checked ~ .thumbnails label[for="img-4"] {
  border-color: var(--primary);
}