/* Omega Pharma — Professional Visual System */
:root {
  --omega-navy: #102a43;
  --omega-teal: #13b8a6;
  --omega-blue: #2563eb;
  --omega-ink: #243b53;
  --omega-mist: #f3f8fa;
}

.omega-visual-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(19, 184, 166, 0.18);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,248,249,.92));
  box-shadow: 0 22px 60px rgba(16,42,67,.13);
}

.omega-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(16,42,67,.04), transparent 48%, rgba(19,184,166,.18));
  mix-blend-mode: multiply;
}

.omega-visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}

.omega-visual-frame:hover img { transform: scale(1.035); filter: saturate(1.06); }

.omega-visual-frame figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: .55rem .85rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(16,42,67,.72);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.omega-hero-frame { margin: -0.2rem -0.2rem .25rem; border-radius: 1.35rem; }
.omega-hero-frame img { aspect-ratio: 16 / 9; max-height: 260px; }

.omega-home-story {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid rgba(19,184,166,.15);
  border-radius: 2rem;
  background: linear-gradient(120deg, rgba(255,255,255,.94), rgba(236,248,250,.9));
  box-shadow: 0 28px 80px rgba(16,42,67,.08);
}

.omega-home-story::before {
  content: "";
  position: absolute;
  top: -7rem;
  right: -5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(19,184,166,.12);
  filter: blur(6px);
}

.omega-home-story .omega-story-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: .7rem; padding: .75rem; }
.omega-story-kicker { color: var(--omega-teal); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.omega-story-title { margin: 0; color: var(--omega-navy); font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; }
.omega-story-text { margin: 0; max-width: 36rem; color: #526b82; font-size: .98rem; line-height: 1.8; }
.omega-story-points { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .25rem; }
.omega-story-points span { padding: .45rem .7rem; border: 1px solid rgba(19,184,166,.18); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--omega-ink); font-size: .72rem; font-weight: 600; }
.omega-home-story .omega-visual-frame { min-height: 100%; }
.omega-home-story .omega-visual-frame img { min-height: 260px; aspect-ratio: 3 / 2; }

.omega-products-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 1rem;
  align-items: stretch;
  margin: 1.5rem 0 2rem;
}
.omega-products-banner .omega-visual-frame img { aspect-ratio: 3 / 2; min-height: 220px; }
.omega-products-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; min-height: 100%; }
.omega-products-gallery .omega-visual-frame { min-height: 100%; border-radius: 1.25rem; }
.omega-products-gallery .omega-visual-frame img { aspect-ratio: 4 / 3; min-height: 220px; }
.omega-products-banner-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1rem, 3vw, 1.75rem); border-radius: 1.5rem; background: linear-gradient(145deg, var(--omega-navy), #0b5965); color: #fff; box-shadow: 0 22px 60px rgba(16,42,67,.16); }
.omega-products-banner-copy .omega-story-kicker { color: #79e1d4; }
.omega-products-banner-copy .omega-story-title { color: #fff; }
.omega-products-banner-copy .omega-story-text { color: rgba(255,255,255,.78); }

.omega-category-visual { margin: .85rem 0 0; border-radius: 1rem; }
.omega-category-visual img { aspect-ratio: 4 / 3; max-height: 170px; }

@media (max-width: 768px) {
  .omega-home-story, .omega-products-banner { grid-template-columns: 1fr; }
  .omega-home-story .omega-visual-frame img { min-height: 210px; }
  .omega-products-banner .omega-visual-frame img { min-height: 190px; }
  .omega-products-gallery .omega-visual-frame img { min-height: 170px; }
  .omega-visual-frame figcaption { right: .7rem; bottom: .7rem; left: .7rem; font-size: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .omega-visual-frame img { transition: none; }
  .omega-visual-frame:hover img { transform: none; }
}
