* {
  box-sizing: border-box;
}

:root {
  --bg: #08131f;
  --bg-2: #0e1c2c;
  --card: rgba(255, 255, 255, 0.07);
  --text: #f2f7ff;
  --muted: rgba(242, 247, 255, 0.72);
  --accent: #60d0ff;
  --accent-2: #9a8cff;
  --border: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, #09101a 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero,
.page-header {
  padding: 24px clamp(20px, 4vw, 56px) 56px;
  background: radial-gradient(circle at top left, rgba(96, 208, 255, 0.16), transparent 28%),
              radial-gradient(circle at top right, rgba(154, 140, 255, 0.16), transparent 28%);
}

.topbar,
.hero-content,
.section,
.footer {
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 126px;
  height: 54px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0.98) 0%, rgba(9, 16, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-mark-obrexa {
  position: relative;
}

.brand-mark img {
  width: 110px;
  height: auto;
  display: block;
  object-fit: contain;
  transform: translateY(1px);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.brand-tag {
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-tag,
.eyebrow,
.contact-label,
.card-title,
.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 0;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 56px;
}

.hero-stack-home {
  display: grid;
  gap: 12px;
  height: 520px;
  grid-template-rows: 118px 1.15fr 118px;
}

.mail-order-card {
  min-height: 118px;
  height: auto;
}

.hero-panel-home {
  height: 100%;
  display: block;
}

.mail-order-image-card {
  overflow: hidden;
}

.mail-order-image-card img {
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-mini-card {
  padding: 28px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-mini-card .eyebrow {
  margin-bottom: 8px;
}

.hero-mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.12;
}

.hero-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
  max-width: 42ch;
}

.hero-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.category-grid-home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.category-home-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  min-height: 128px;
}

.category-home-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.2;
}

.category-home-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.88rem;
}

.hero-home {
  padding-bottom: 40px;
}

.hero-layout-home {
  align-items: stretch;
}

.hero-copy-home {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-panel img {
  width: 100%;
  height: 255px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
}

.hero-panel-overlay {
  position: relative;
  inset: auto;
  padding: 24px 30px 30px;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0) 0%, rgba(8, 19, 31, 0.92) 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-panel-overlay h2 {
  margin: 8px 0 0;
  max-width: 13ch;
  color: var(--text);
  line-height: 1.05;
}

.hero-copy,
.hero-visual,
.feature-card,
.contact-box,
.catalog-card,
.value-card,
.showcase-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.hero-copy {
  border-radius: 32px;
  padding: clamp(28px, 5vw, 58px);
}

.hero h1,
.section h1,
.section h2 {
  margin: 0;
  line-height: 1.06;
}

.hero h1,
.section h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  max-width: 12ch;
  margin-bottom: 18px;
}

.lead,
.two-column p,
.feature-card p,
.contact-box p,
.about-story p,
.showcase-overlay p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.nav-links a:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121d;
}

.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card {
  border-radius: 30px;
  padding: 28px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0) 0%, rgba(8, 19, 31, 0.9) 100%);
}

.hero-visual-overlay h2 {
  margin: 8px 0 0;
  max-width: 14ch;
  color: var(--text);
}

.card-title {
  margin-bottom: 20px;
  font-weight: 600;
}

.stat-grid,
.feature-grid,
.product-placeholder {
  display: grid;
  gap: 14px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.section {
  padding: 72px clamp(20px, 4vw, 56px);
}

.section-heading {
  margin-bottom: 28px;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  max-width: 16ch;
  margin-top: 8px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  border-radius: 24px;
  padding: 22px;
}

.value-card h3 {
  margin: 0 0 10px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase-section {
  padding-top: 0;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  min-height: 520px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0) 0%, rgba(8, 19, 31, 0.92) 100%);
}

.showcase-overlay h2 {
  color: var(--text);
  max-width: 14ch;
  margin: 8px 0 10px;
}

.about-hero-section {
  padding-top: 36px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.about-hero-copy,
.about-hero-panel,
.about-story-wide,
.about-values-grid,
.about-contact-grid {
  border-radius: 28px;
}

.about-hero-copy {
  padding: 30px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.about-hero-copy h1 {
  margin: 8px 0 14px;
  line-height: 1.06;
}

.about-hero-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.about-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  min-height: 360px;
}

.about-hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  background: linear-gradient(180deg, rgba(8, 19, 31, 0) 0%, rgba(8, 19, 31, 0.92) 100%);
}

.about-hero-overlay h2 {
  margin: 8px 0 0;
  line-height: 1.08;
  max-width: 12ch;
}

.about-story-wide {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-story-wide p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.muted {
  background: rgba(255, 255, 255, 0.02);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.series-grid-media {
  align-items: stretch;
}

.series-card {
  padding: 24px 24px 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.series-card-media {
  min-height: 0;
  padding: 16px;
}

.series-image {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}

.series-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.series-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.series-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.series-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.series-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.feature-card,
.placeholder-card,
.catalog-card {
  border-radius: 24px;
  padding: 24px;
}

.feature-card h3,
.placeholder-card {
  margin: 0;
}

.catalog-card {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
}

a.catalog-card {
  color: inherit;
}

.catalog-card img {
  width: 100%;
  height: 72%;
  object-fit: cover;
  object-position: center top;
  display: block;
  flex: 0 0 auto;
}

.catalog-body {
  padding: 16px 18px 18px;
  flex: 1;
}

.catalog-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 6px 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.catalog-body h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.35;
}

.catalog-body p {
  margin: 0;
  color: var(--muted);
}

.products-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.products-page .section {
  padding-left: 0;
  padding-right: 0;
}

.products-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 36px;
  padding-bottom: 12px;
}

.products-hero-copy,
.products-feature {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.products-hero-copy {
  padding: 30px 28px;
}

.products-hero-copy p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

.products-feature-strip {
  padding-top: 18px;
  padding-bottom: 18px;
}

.products-feature {
  padding: 24px 26px;
}

.products-feature h2 {
  max-width: none;
}

.products-catalog-section {
  padding-top: 34px;
}

.products-catalog-grid {
  gap: 22px;
}

.contact-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.contact-strip,
.value-grid,
.catalog-grid,
.feature-grid {
  margin-top: 10px;
}

.contact-inline {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-inline a,
.contact-box a {
  color: #dff1ff;
  font-weight: 600;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-grid {
  align-items: start;
}

.contact-box {
  border-radius: 28px;
  padding: 28px;
  display: grid;
  gap: 18px;
}

.about-values-grid {
  gap: 20px;
}

.about-contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.contact-label {
  display: block;
  margin-bottom: 6px;
}

.footer {
  padding: 20px 56px 44px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 18px 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-mark {
  width: 108px;
  height: 48px;
}

.footer-brand .brand-mark img {
  width: 94px;
}

.footer-contact {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: rgba(242, 247, 255, 0.82);
}

.footer-contact a,
.footer-contact span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.product-placeholder {
  grid-template-columns: repeat(2, 1fr);
}

.placeholder-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-content,
  .two-column,
  .feature-grid,
  .contact-box.contact-large,
  .product-placeholder,
  .catalog-grid,
  .about-story,
  .value-grid,
  .products-hero {
    grid-template-columns: 1fr;
    display: grid;
  }

  .contact-strip {
    display: grid;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel,
  .showcase-card {
    min-height: 380px;
  }

  .catalog-card img {
    height: 260px;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-header {
    padding-top: 18px;
  }

  .hero-copy,
  .hero-card,
  .feature-card,
  .contact-box,
  .placeholder-card {
    border-radius: 22px;
  }

  .section,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
