:root {
  color-scheme: dark;
  --bg: #05080c;
  --panel: rgba(10, 16, 24, 0.78);
  --panel-strong: rgba(13, 20, 31, 0.94);
  --line: rgba(124, 153, 205, 0.18);
  --blue: #2f6df6;
  --blue-2: #5b8cff;
  --text: #f7fbff;
  --muted: #aeb8c9;
  --soft: #d8e2f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(47, 109, 246, 0.18), transparent 34rem),
    linear-gradient(180deg, #030507 0%, #07101a 48%, #030507 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(3, 7, 12, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 148px;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

.brand img {
  width: 116px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #edf3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover {
  color: white;
  opacity: 1;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(124, 165, 255, 0.62);
  border-radius: 8px;
  background: linear-gradient(180deg, #2f6df6 0%, #1748bf 100%);
  color: white;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(22, 72, 191, 0.26);
}

.btn.secondary {
  background: rgba(5, 10, 17, 0.38);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: white;
  font-size: 24px;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 10, 0.97) 0%, rgba(3, 6, 10, 0.75) 34%, rgba(3, 6, 10, 0.25) 68%, rgba(3, 6, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(3, 6, 10, 0.62), rgba(3, 6, 10, 0.98));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 690px;
  display: grid;
  align-content: center;
  padding: 74px 0 180px;
}

.eyebrow {
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 580px;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-item {
  width: 132px;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 7px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
  color: white;
  font-weight: 800;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-strip {
  position: relative;
  z-index: 3;
  margin-top: -116px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 12, 19, 0.88);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.service-card {
  min-height: 142px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  color: var(--blue-2);
  font-weight: 900;
}

.service-card h3,
.product-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.service-card p,
.product-card p,
.text-muted {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: 70px 0;
}

.section.compact {
  padding-top: 44px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
}

.section-title p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 16px;
}

.product-card {
  min-height: 292px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}

.product-card.large {
  grid-row: span 2;
  min-height: 392px;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% 20%;
  height: 60%;
  background: radial-gradient(circle, rgba(47,109,246,0.28), transparent 62%);
  pointer-events: none;
}

.mock-phone,
.mock-appliance,
.mock-earbuds {
  position: absolute;
  right: 26px;
  bottom: 0;
  width: min(45%, 230px);
  aspect-ratio: 0.72;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(145deg, #151a22, #3c424d);
  border: 2px solid rgba(255,255,255,0.16);
  box-shadow: -26px 26px 70px rgba(0,0,0,0.44);
}

.product-image {
  position: absolute;
  right: 22px;
  bottom: 0;
  z-index: 1;
  width: min(48%, 250px);
  max-height: 78%;
  object-fit: contain;
  filter: drop-shadow(-24px 28px 48px rgba(0,0,0,0.5));
}

.product-card > :not(.product-image) {
  position: relative;
  z-index: 2;
}

.mock-phone::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 86px;
  height: 86px;
  border-radius: 22px;
  background: #1c222b;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.mock-phone::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b0f15;
  box-shadow: 30px 0 0 #0b0f15, 15px 30px 0 #0b0f15;
}

.mock-earbuds {
  width: 170px;
  aspect-ratio: 1.1;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff, #cfd7e5);
}

.mock-appliance {
  width: 150px;
  aspect-ratio: 0.78;
  border-radius: 12px;
  background: linear-gradient(160deg, #222934, #05070a);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.media-panel,
.contact-panel,
.content-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.media-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
}

.media-panel .copy {
  padding: 30px;
}

.media-panel img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  color: var(--soft);
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 9px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
}

.contact-panel {
  padding: 30px;
}

.contact-list {
  display: grid;
  gap: 17px;
  margin: 24px 0;
  color: var(--soft);
}

.contact-list div {
  display: block;
  line-height: 1.5;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
}

.contact-list span,
.contact-list a {
  display: block;
  overflow-wrap: anywhere;
}

.page-hero {
  padding: 76px 0 52px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(3,6,10,0.94), rgba(3,6,10,0.65)),
    url("rcepstore-magaza.png") center/cover;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 66px);
}

.breadcrumbs {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.content-panel {
  padding: 34px;
}

.content-panel h2 {
  font-size: 30px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0 6px;
}

.showcase-item {
  min-height: 320px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.showcase-item img {
  position: absolute;
  left: 50%;
  top: 14px;
  width: min(78%, 210px);
  height: 145px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 34px rgba(0,0,0,0.46));
}

.showcase-item h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.feature {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.site-footer {
  padding: 44px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(2, 5, 9, 0.96);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer img {
  width: 138px;
  margin-bottom: 18px;
}

.footer-col h3 {
  margin-bottom: 14px;
  font-size: 14px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.copyright {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #7f8ba0;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    min-height: 74px;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #07101a;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    padding-bottom: 150px;
  }

  .service-grid,
  .product-grid,
  .two-col,
  .media-panel,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card.large {
    grid-row: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: 104px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .trust-row {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .trust-item {
    width: calc(50% - 9px);
  }

  .section-title {
    display: block;
  }

  .product-card,
  .content-panel,
  .contact-panel,
  .media-panel .copy {
    padding: 22px;
  }

  .mock-phone,
  .mock-appliance,
  .mock-earbuds,
  .product-image {
    opacity: 0.32;
  }
}
